.coupon-highlight{
    display: flex;
    flex-direction: column;
    padding: 0px;
    width: 100%;
}

.coupon-highlight p{
    margin: 0px;
}

.coupon-code-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #fff;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-weight: 600;
}

.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
    transition: all 0.2s ease;
    color: #666;
}

.copy-button:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.copy-button.copied {
    color: #27ae60;
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.copy-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.copy-tooltip {
    position: relative;
    display: inline-block;
}

.copy-tooltip .tooltiptext {
    visibility: hidden;
    width: 80px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -40px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.copy-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.copy-tooltip .tooltiptext.copied::after{
    border-color: #27ae60 transparent transparent transparent;
}

.copy-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#product_list .coupon-highlight .coupon-highlight-text small,
#product_list .coupon-highlight .price-with-coupon{
    display: none;
}

#product_list .coupon-highlight{
    padding: 0px 0px 5px 0px;
}

#product_list .coupon-highlight .coupon-highlight-text{
    font-size: 14px;
}

#product_list .coupon-highlight .coupon-code-container{
    padding: 3px;
    gap: 0px;
}

#product_list .coupon-highlight .copy-button svg{
    width: 10px;
    height: 10px;
}

@media (max-width: 480px) {
    #product_list .coupon-highlight .coupon-highlight-text{
        font-size: 8px;
    }
}