/* Product Page Banner */
.arvobd-single-banner {
    background: linear-gradient(135deg, #CA258C, #A81FBA);
    margin-bottom: 25px;
    border-radius: 8px;
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(202, 37, 140, 0.3);
    overflow: hidden;
    position: relative;
    animation: slideInDown 0.6s ease-out forwards;
}
.arvobd-single-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}
.arvobd-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
}
.arvobd-occasion {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.arvobd-discount {
    font-weight: 800;
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Product Grid Badge */
.arvobd-grid-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: linear-gradient(135deg, #FF416C, #FF4B2B) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    z-index: 99 !important;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4) !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    line-height: 1 !important;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Add position relative to list items if missing in theme */
ul.products li.product,
.woocommerce ul.products li.product {
    position: relative !important;
}

/* Price Adjustments */
.arvobd-price-wrapper del {
    color: #999 !important;
    opacity: 0.7;
    margin-right: 8px;
    font-size: inherit;
}
.arvobd-price-wrapper ins {
    text-decoration: none;
    color: #CA258C !important;
    font-weight: 700;
    font-size: inherit;
}

/* Popup Overlay */
.arvobd-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.arvobd-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Box */
.arvobd-popup-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.5);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: var(--desktop-width, 35%);
    max-width: 90%;
    font-family: var(--popup-font, sans-serif);
}
.arvobd-popup-overlay.show .arvobd-popup-box {
    transform: translateY(0) scale(1);
}

.arvobd-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    color: #333;
    font-size: 24px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.arvobd-popup-close:hover {
    background: #CA258C;
    color: #fff;
}

.arvobd-popup-content {
    font-size: 18px;
    color: #222;
    line-height: 1.6;
}

/* Responsive Popup Sizes */
@media (max-width: 1024px) {
    .arvobd-popup-box {
        width: var(--tablet-width, 60%);
    }
}
@media (max-width: 768px) {
    .arvobd-popup-box {
        width: var(--mobile-width, 90%);
        padding: 30px 20px;
    }
    .arvobd-banner-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }
    100% {
        transform: rotate(45deg) translateY(100%);
    }
}
