/* Custom Header */
html, body {
    overflow-x: hidden;
    width: 100%;
}
.ad-custom-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.ad-header-top {
    background: var(--woo-ad-header-bg, #000);
    color: #fff;
    padding: 10px 0;
}
.ad-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ad-header-logo img {
    min-width: var(--woo-ad-logo-desktop-width, 123px);
    max-width: var(--woo-ad-logo-desktop-width, 140px);
    min-height: var(--woo-ad-logo-desktop-height, 123px);
    max-height: var(--woo-ad-logo-desktop-height, 140px);
    width: auto;
    object-fit: contain;
}
.ad-header-logo h2 {
    margin: 0;
    font-size: 26px;
    color: #fff;
    font-weight: bold;
}
.ad-header-logo a {
    text-decoration: none;
    color: inherit;
}
.ad-header-search {
    flex: 1;
    max-width: 100%;
    margin: 0;
}
.ad-header-search form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 4px;
    padding: 0 15px;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
}
.ad-header-search input[type="search"] {
    flex: 1;
    border: none;
    padding: 0 10px;
    height: 100%;
    outline: none;
    color: #333;
    font-size: 15px;
    background: transparent;
}
.ad-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ad-header-separator {
    color: #555;
    margin: 0 10px;
    font-size: 14px;
}
.ad-header-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.ad-header-action-link:hover {
    color: #f59e0b;
}
.ad-header-cart {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.ad-custom-bag {
    position: relative;
    width: 28px;
    height: 28px;
    border: 2px solid var(--woo-ad-primary, #f59e0b);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    margin-top: 6px; 
    animation: adCartBlink 1.5s infinite;
}
.ad-custom-bag::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    border: 2px solid var(--woo-ad-primary, #f59e0b);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    animation: adCartHandleBlink 1.5s infinite;
}
.ad-custom-bag .cart-count {
    font-size: 13px;
    font-weight: bold;
    color: var(--woo-ad-primary, #f59e0b);
    animation: adCartTextBlink 1.5s infinite;
}

@keyframes adCartBlink {
    0%, 100% {
        border-color: #000;
        box-shadow: 0 0 0 0 rgba(0,0,0,0.4);
    }
    50% {
        border-color: #fff;
        box-shadow: 0 0 0 6px rgba(255,255,255,0);
    }
}
@keyframes adCartHandleBlink {
    0%, 100% { border-color: #000; border-bottom: none; }
    50% { border-color: #fff; border-bottom: none; }
}
@keyframes adCartTextBlink {
    0%, 100% { color: #000; }
    50% { color: #fff; }
}

.ad-header-bottom {
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.ad-header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.ad-header-nav {
    display: flex;
    align-items: center;
}
.ad-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.ad-header-menu li {
    position: relative;
}
.ad-header-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 0;
    display: block;
}
.ad-header-menu li.menu-item-has-children > a:after {
    content: " ▾";
    font-size: 14px;
    color: #999;
}
.ad-header-menu li:hover > a {
    color: #f59e0b;
}
/* Sub-menu Styles */
.ad-header-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 999;
    padding: 10px 0;
    border-radius: 4px;
    list-style: none;
    margin: 0;
}
.ad-header-menu li:hover > .sub-menu {
    display: block;
}
.ad-header-menu .sub-menu li {
    width: 100%;
}
.ad-header-menu .sub-menu li a {
    padding: 10px 20px;
    display: block;
    color: #333;
    font-weight: 400;
}
.ad-header-menu .sub-menu li a:hover {
    background: #f8f9fa;
    color: #f59e0b;
}
.ad-header-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}
.ad-header-cart-total a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}
.ad-mobile-menu-toggle {
    display: none;
    cursor: pointer;
}
.desktop-only {
    display: flex !important;
}
.mobile-only {
    display: none !important;
}

.ad-mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
    .ad-mobile-menu-toggle {
        display: block;
    }
    .ad-header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .ad-header-logo {
        flex: 1;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .ad-header-logo img {
        min-width: var(--woo-ad-logo-mobile-width, 123px);
        max-width: var(--woo-ad-logo-mobile-width, 130px);
        min-height: var(--woo-ad-logo-mobile-height, 123px);
        max-height: var(--woo-ad-logo-mobile-height, 130px);
        object-fit: contain;
    }
    .ad-header-bottom {
        display: block; /* Ensure it is block so child nav isn't hidden */
        background: none;
        border: none;
        padding: 0;
    }
    .ad-header-bottom-inner {
        padding: 0;
        display: block;
    }
    .ad-header-cart-total.desktop-only {
        display: none !important;
    }

    .ad-header-search-mobile {
        padding: 5px 10px;
        background: var(--woo-ad-header-bg, #000);
        width: 100%;
        box-sizing: border-box;
    }
    .ad-header-search-mobile form {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 4px;
        padding: 0 15px;
        height: 40px;
        width: 100%;
        box-sizing: border-box;
    }
    .ad-header-search-mobile input[type="search"] {
        flex: 1;
        border: none;
        padding: 0 10px;
        height: 100%;
        outline: none;
        color: #333;
        font-size: 14px;
        background: transparent;
    }

    .ad-header-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        z-index: 10001;
        display: flex !important;
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.4s, box-shadow 0.4s ease;
        box-shadow: 0 0 0 rgba(0,0,0,0);
        overflow-y: auto;
        visibility: hidden;
    }
    .ad-header-nav.active {
        transform: translateX(0);
        visibility: visible;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    }
    
    .ad-mobile-menu-header {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
    }
    .ad-mobile-menu-header:before {
        content: "Navigation";
        font-weight: 700;
        font-size: 13px;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .ad-mobile-menu-close {
        font-size: 28px;
        cursor: pointer;
        color: #333;
        line-height: 1;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ad-header-menu {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    .ad-header-menu li {
        width: 100%;
        border-bottom: 1px solid #f2f2f2;
    }
    .ad-header-menu li a {
        padding: 16px 20px;
        color: #222;
        font-weight: 600;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        transition: background 0.2s;
    }
    .ad-header-menu li a:active {
        background: #f9f9f9;
    }
    .ad-header-menu li a:after {
        display: none !important;
    }
    
    .ad-menu-toggle-arrow {
        padding: 15px;
        margin: -15px;
        font-size: 18px;
        color: #999;
        transition: transform 0.3s ease;
    }
    .ad-menu-toggle-arrow.open {
        transform: rotate(180deg);
    }

    .ad-header-menu .sub-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        display: none;
        min-width: unset;
        background: #fcfcfc;
        border-radius: 0;
        width: 100%;
    }
    .ad-header-menu .sub-menu li a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
        font-weight: 400;
        border-bottom: none;
    }
}

/* AJAX Search Suggestions */
.ad-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10002;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}
.ad-search-results.active {
    display: block;
}
.ad-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.ad-search-result-item:hover {
    background: #f8f9fa;
}
.ad-search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}
.ad-search-result-info {
    flex: 1;
}
.ad-search-result-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
}
.ad-search-result-price {
    font-size: 12px;
    color: var(--woo-ad-primary, #f59e0b);
    font-weight: bold;
}
.ad-header-search, .ad-header-search-mobile {
    position: relative;
}

/* Slide-out Cart Extras */
.woo-ad-slide-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10005;
    display: none;
}
.woo-ad-slide-cart-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 10006;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}
#woo-ad-slide-cart.open .woo-ad-slide-cart-drawer {
    right: 0;
}
.woo-ad-slide-cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.woo-ad-slide-cart-header h3 {
    margin: 0;
    font-size: 18px;
}
.woo-ad-slide-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
.woo-ad-slide-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}
.woo-ad-slide-cart-body .widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.woo-ad-slide-cart-body ul.cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.woo-ad-slide-cart-body ul.cart_list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
    position: relative !important;
    min-height: auto !important;
}
.woo-ad-slide-cart-body ul.cart_list li:last-child {
    border-bottom: none !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body ul.cart_list li img,
#woo-ad-slide-cart .widget_shopping_cart_content img {
    position: static !important;
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body ul.cart_list li > a:not(.remove) {
    display: block !important;
    flex: 1 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body ul.cart_list li .quantity {
    display: block !important;
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 5px !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body ul.cart_list li .remove {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ef4444 !important;
    font-size: 20px !important;
    text-decoration: none !important;
    background: none !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    padding: 0 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .total {
    margin-top: auto;
    padding: 20px 0;
    border-top: 2px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .total strong {
    font-size: 16px !important;
    text-transform: uppercase !important;
    color: #111 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .total .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--woo-ad-primary, #ea580c) !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .buttons a, #woo-ad-slide-cart .woo-ad-slide-cart-body .buttons .button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 10px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .buttons a:not(.checkout), #woo-ad-slide-cart .woo-ad-slide-cart-body .buttons .button:not(.checkout) {
    background: #f3f4f6 !important;
    color: #111 !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .buttons a.checkout, #woo-ad-slide-cart .woo-ad-slide-cart-body .buttons .button.checkout {
    background: var(--woo-ad-primary, #ea580c) !important;
    color: #fff !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .buttons a:hover, #woo-ad-slide-cart .woo-ad-slide-cart-body .buttons .button:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}
#woo-ad-slide-cart .woo-ad-slide-cart-body .empty {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.woo-ad-template-wrapper {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background: #fdfbf7;
    padding-bottom: 60px;
}
.woo-ad-template-wrapper * {
    box-sizing: border-box;
}
.ad-title, .ad-section-title, .offer-header, .ad-feat-title, .ad-faq-q {
    font-family: Georgia, "Times New Roman", serif;
}
.ad-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.ad-section {
    padding: 40px 0;
    border-top: 1px solid #e5e0d8;
}
.ad-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    position: relative;
    color: #222;
}
.ad-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFF0F0;
    color: #d32f2f;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    border: 1px solid #ffcdd2;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}
.urgency-timer {
    background: #d32f2f;
    color: #fff;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
    animation: pulse-timer 2s infinite;
}
@keyframes pulse-timer {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}
.ad-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.qty-label {
    font-weight: bold;
    color: #444;
}
.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
.ad-qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 15px;
    font-size: 18px;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
}
.ad-qty-btn:hover {
    background: #e0e0e0;
}
.ad-qty-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 8px 0;
    font-size: 16px;
    -moz-appearance: textfield;
}
.ad-qty-input::-webkit-outer-spin-button,
.ad-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.ad-dynamic-total {
    font-weight: bold;
    color: #ea580c;
    font-size: 18px;
}

/* Scarcity Bar */
.ad-scarcity-bar {
    margin-bottom: 25px;
}
.scarcity-text {
    font-size: 14px;
    font-weight: bold;
    color: #d97706;
    margin-bottom: 8px;
}
.scarcity-progress {
    background: #FFF0F0;
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.scarcity-fill {
    background: linear-gradient(90deg, #ef4444, #f97316);
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Comparison Table */
.ad-comp-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #eee;
}
.comp-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.comp-row:last-child {
    border-bottom: none;
}
.comp-header {
    background: #fdfbf7;
    font-weight: bold;
    font-size: 16px;
}
.comp-col {
    flex: 1;
    padding: 15px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.comp-col:first-child {
    flex: 2;
    text-align: left;
    font-weight: 500;
    justify-content: flex-start;
}
.brand-col {
    background: #fff8f1;
    color: #ea580c;
    font-weight: bold;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}
.comp-icon {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    display: inline-block;
    flex-shrink: 0;
}
.comp-col svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0;
}
.comp-icon.check { color: #22c55e; }
.comp-icon.cross { color: #ef4444; }

/* Guarantee Box */
.ad-guarantee-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f0fdf4;
    border: 2px dashed #22c55e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.guarantee-icon {
    font-size: 40px;
}
.guarantee-content h4 {
    margin: 0 0 5px;
    color: #166534;
    font-size: 18px;
    font-weight: bold;
}
.guarantee-content p {
    margin: 0;
    color: #15803d;
    font-size: 14px;
}

/* Sticky Bar */
.ad-sticky-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    gap: 15px;
}
.ad-sticky-bar.visible {
    bottom: 0;
}
.sticky-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}
.sticky-info img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.sticky-title {
    font-weight: bold;
    font-size: 15px;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-price {
    color: #ea580c;
    font-weight: bold;
    font-size: 16px;
}
.sticky-btn, .sticky-btn-buy-now {
    padding: 12px 30px;
    font-size: 16px;
    margin: 0;
    flex: none;
    white-space: nowrap;
    width: auto !important;
    max-width: max-content;
}
.sticky-btn-buy-now {
    background: #16a34a;
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}
.sticky-btn-buy-now:hover {
    background: #15803d;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}
.ad-section-title span {
    background: #fdfbf7;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}
.ad-section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e0d8;
    z-index: 0;
}

/* Hero */
.ad-hero {
    padding: 40px 0;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.ad-hero-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}
.ad-hero-image-wrapper {
    flex: 1;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}
.ad-sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #b91c1c;
    color: #fff;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: rotate(-3deg);
}
.ad-main-image-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}
.ad-main-image-slider::-webkit-scrollbar {
    display: none;
}
.ad-main-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.ad-main-slide img {
    width: 100%;
    height: auto;
    display: block;
}
.ad-gallery-slider {
    margin-top: 15px;
    position: relative;
}
.ad-gallery-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}
.ad-gallery-track::-webkit-scrollbar {
    display: none;
}
.ad-gallery-thumb {
    flex: 0 0 calc(25% - 9px);
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    scroll-snap-align: start;
    transition: all 0.2s ease;
    opacity: 0.6;
}
.ad-gallery-thumb.active, .ad-gallery-thumb:hover {
    border-color: #ea580c;
    opacity: 1;
}
.ad-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    display: block;
}
.ad-hero-content {
    flex: 1;
}
.ad-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #111;
    line-height: 1.2;
}
.ad-subtitle {
    font-size: 18px;
    color: #555;
    font-style: italic;
    margin-bottom: 15px;
}
.ad-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.stars {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
}
.rating-text {
    font-size: 14px;
    color: #666;
}
.ad-delivery-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: ad-pulse-green 2s infinite;
}
@keyframes ad-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.ad-delivery-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.ad-delivery-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ad-delivery-text {
    line-height: 1.4;
}
.ad-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}
.ad-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}
.ad-bullets svg {
    width: 20px;
    height: 20px;
    color: #ea580c;
    flex-shrink: 0;
}
.ad-price {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
}
.ad-price del {
    color: #999;
    font-size: 20px;
    font-weight: normal;
    margin-right: 10px;
}
.ad-price ins {
    text-decoration: none;
    color: #ea580c;
}
.ad-ctas {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.ad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    cursor: pointer;
    border: none;
}
.ad-btn-primary {
    background: linear-gradient(to bottom, #f97316, #ea580c);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}
@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(154, 52, 18, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(154, 52, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(154, 52, 18, 0); }
}
.ad-btn-primary:hover {
    background: linear-gradient(to bottom, #ea580c, #c2410c);
    transform: translateY(-2px);
}
.ad-btn-secondary {
    background: linear-gradient(to bottom, #9a3412, #7c2d12);
    color: #fff !important;
    animation: pulse-btn 2s infinite;
}
.ad-btn-secondary:hover {
    background: linear-gradient(to bottom, #7c2d12, #431407);
    transform: translateY(-2px);
}
.ad-trust-badges {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    justify-content: center;
}
.badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
}
.badge svg {
    width: 16px;
    height: 16px;
    color: #555;
}

/* Testimonials */
.ad-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.ad-testi-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.ad-testi-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.ad-testi-content {
    flex: 1;
}
.ad-testi-text {
    font-style: italic;
    margin: 10px 0;
    font-size: 15px;
    color: #444;
}
.ad-testi-name {
    font-weight: bold;
    font-size: 14px;
    color: #777;
    margin: 0;
}

/* Features */
.ad-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.ad-feat-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ad-feat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    object-fit: contain;
}
.ad-feat-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px;
}
.ad-feat-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Before / After */
.ad-ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.ad-ba-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ad-ba-img {
    width: 100%;
    height: auto;
    display: block;
}
.ad-ba-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* Gallery */
.ad-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.ad-gal-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.ad-gal-item:hover {
    transform: translateY(-5px);
}
.ad-gal-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* How to use */
.ad-how-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.ad-how-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    background: #fdfbf7;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #e5e0d8;
}
.step-num {
    background: #ea580c;
    color: #fff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}
.step-text {
    font-weight: 500;
    font-size: 15px;
}

/* Bottom (FAQ & Offer) */
.ad-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}
.ad-faq-item {
    margin-bottom: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border: 1px solid #eee;
    overflow: hidden;
}
.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #222;
    background: #fff;
    transition: background 0.2s;
}
.accordion-header:hover {
    background: #fafafa;
}
.accordion-icon {
    font-size: 20px;
    color: #ea580c;
    font-weight: normal;
}
.accordion-content {
    display: none;
    padding: 0 20px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}
.accordion-content p {
    margin: 0;
}

.ad-offer-box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #ea580c;
    text-align: center;
}
.offer-header {
    background: #ea580c;
    color: #fff;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
}
.offer-body {
    padding: 30px 20px;
}
.offer-discount {
    color: #b91c1c;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
}
.offer-price {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
}
.offer-price del {
    color: #999;
    font-size: 20px;
    font-weight: normal;
}
.offer-price ins {
    text-decoration: none;
    color: #111;
}
.ad-btn-large {
    width: 100%;
    font-size: 22px;
    padding: 18px;
}

/* Sales Popup */
.ad-sales-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    z-index: 9999;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 300px;
    border-left: 4px solid #16a34a;
}
.ad-sales-popup.active {
    transform: translateY(0);
    opacity: 1;
}
.ad-sales-popup-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.ad-sales-popup-content p {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.3;
}
.ad-sales-popup-content p span {
    font-weight: bold;
}
.ad-sales-time {
    font-size: 11px;
    color: #888;
}

/* Policy Links Section */
.ad-policy-section {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
}
.ad-policy-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.ad-policy-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.ad-policy-link:hover {
    color: #ea580c;
}
.ad-policy-link svg {
    color: #9ca3af;
}
.ad-policy-link:hover svg {
    color: #ea580c;
}

@media (max-width: 768px) {
    .ad-policy-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .ad-policy-link {
        width: 100%;
        justify-content: center;
        padding: 10px;
        background: #f9fafb;
        border-radius: 8px;
        border: 1px solid #eee;
    }
}

/* Reviews Section */
.ad-reviews-section {
    background: #f9fafb;
}
.ad-reviews-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ad-reviews-summary {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}
.ad-rating-big {
    font-size: 48px;
    font-weight: bold;
    color: #111;
    line-height: 1;
}
.ad-stars {
    color: #fbbf24;
    font-size: 24px;
    margin: 10px 0;
}
.ad-review-count {
    color: #6b7280;
    margin-bottom: 15px;
}
.ad-write-review-btn {
    padding: 10px 20px;
    font-size: 14px;
}
.ad-review-form-container {
    background: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.ad-review-form .form-group {
    margin-bottom: 15px;
}
.ad-review-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #374151;
}
.ad-review-form input[type="text"],
.ad-review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-rating-input input {
    display: none;
}
.star-rating-input label {
    font-size: 30px;
    color: #d1d5db;
    cursor: pointer;
    margin: 0 2px;
}
.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #fbbf24;
}
.ad-review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.ad-review-item:last-child {
    border-bottom: none;
}
.ad-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.ad-review-avatar {
    width: 40px;
    height: 40px;
    background: #ea580c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
}
.ad-review-meta {
    flex: 1;
}
.ad-review-author {
    font-weight: bold;
    color: #111;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ad-verified-badge {
    font-size: 11px;
    background: #dcfce7;
    color: #166534;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: normal;
}
.ad-review-stars {
    color: #fbbf24;
    font-size: 14px;
}
.ad-review-date {
    color: #9ca3af;
    font-size: 13px;
}
.ad-review-body p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 15px 0;
}
.ad-review-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.ad-review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s;
}
.ad-review-images img:hover {
    transform: scale(1.05);
}
.ad-review-reply {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #ea580c;
}
.ad-reply-header {
    margin-bottom: 8px;
}
.ad-reply-badge {
    background: #ea580c;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.ad-reply-body {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

/* Lightbox Styles */
.ad-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.ad-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
}
.ad-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.ad-lightbox-close:hover,
.ad-lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Related Products Grid */
.ad-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.ad-related-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.ad-related-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ad-related-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.ad-related-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f9f9f9;
}
.ad-related-img-wrap {
    position: relative;
}
.ad-related-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}
.ad-related-rating {
    font-size: 14px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}
.ad-related-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ad-related-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #1a1a1a;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ad-related-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--woo-ad-primary, #ff6b00);
    margin-top: auto;
}
.ad-related-actions {
    padding: 0 15px 15px;
}
.ad-related-buy-btn {
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .ad-hero {
        padding: 5px 0 20px;
    }
    .ad-title {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 5px;
    }
    .ad-subtitle {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 10px;
    }
    .ad-bullets li {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 8px;
    }
    .ad-price {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .ad-hero-grid {
        flex-direction: column;
        gap: 15px;
    }
    .ad-ctas {
        flex-direction: column;
    }
    .ad-trust-badges {
        flex-wrap: wrap;
    }
    .ad-ba-grid {
        grid-template-columns: 1fr;
    }
    .ad-how-grid {
        flex-direction: column;
    }
    .ad-bottom-grid {
        grid-template-columns: 1fr;
    }
    .ad-sticky-bar {
        padding: 10px;
        gap: 10px;
    }
    .sticky-info img {
        display: none;
    }
    .sticky-title {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .sticky-price {
        font-size: 14px;
    }
    .sticky-btn, .sticky-btn-buy-now {
        padding: 10px 15px;
        font-size: 14px;
    }
    .ad-sales-popup {
        bottom: 80px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    .ad-related-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 5px 20px 25px 5px !important;
        margin: 0 -20px 0 0 !important;
        list-style: none;
    }
    .ad-related-grid::-webkit-scrollbar {
        display: none;
    }
    .ad-related-card {
        flex: 0 0 calc(75% - 15px) !important;
        scroll-snap-align: start;
        min-width: 200px;
    }
    .ad-related-card img {
        height: 140px;
    }
    .ad-related-info {
        padding: 12px;
    }
    .ad-related-title {
        font-size: 13px;
        margin-bottom: 5px;
    }
    .ad-related-price {
        font-size: 14px;
    }
}

/* Volume Discounts */
.ad-volume-discounts {
    margin: 20px 0;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
}
.ad-volume-title {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
}
.ad-volume-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ad-volume-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}
.ad-volume-option:hover {
    border-color: #d1d5db;
}
.ad-volume-option.selected {
    border-color: #ea580c;
    background: #fff7ed;
}
.ad-volume-option input[type="radio"] {
    margin-right: 15px;
    accent-color: #ea580c;
}
.ad-volume-qty {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}
.ad-volume-price, .ad-volume-discount {
    font-weight: bold;
}
.ad-volume-discount {
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
}

/* AI Chatbot Widget */
#woo-ad-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 80px;
    z-index: 9999;
}
.woo-ad-chatbot-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s, background 0.2s;
    font-size: 14px;
}
.woo-ad-chatbot-btn:hover {
    transform: scale(1.05);
    background: #333;
}
#woo-ad-chatbot-window {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #eeeff2;
}
.woo-ad-chatbot-header {
    background: #000;
    color: #fff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}
.woo-ad-chatbot-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.woo-ad-chatbot-header button:hover {
    opacity: 0.8;
}
#woo-ad-chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9fa;
}
.woo-ad-chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.4;
    word-wrap: break-word;
}
.woo-ad-chatbot-msg.bot-msg {
    background: #fff;
    border: 1px solid #eeeff2;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    color: #111;
}
.woo-ad-chatbot-msg.user-msg {
    background: #000;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}
.woo-ad-chatbot-input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #eeeff2;
    gap: 8px;
}
.woo-ad-chatbot-input-area input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    outline: none;
    box-shadow: none;
}
.woo-ad-chatbot-input-area input:focus {
    border-color: #000;
}
.woo-ad-chatbot-input-area button {
    background: #000;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}
.woo-ad-chatbot-input-area button:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    #woo-ad-chatbot-container {
        right: 15px;
        bottom: 85px; /* Higher to avoid overlap with tab bar */
        z-index: 2147483647;
    }
    #woo-ad-chatbot-window {
        width: 90vw;
        max-height: 70vh;
        right: 0;
        bottom: 60px;
        border-radius: 12px;
        position: fixed;
        right: 5vw;
        bottom: 140px;
    }
    #woo-ad-chatbot-messages {
        height: 35vh;
    }
}

/* WhatsApp Button */
.woo-ad-whatsapp-btn {
    position: fixed;
    background: #25D366;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: transform 0.3s;
}
.woo-ad-whatsapp-pos-bottom-right { bottom: 20px; right: 20px; }
.woo-ad-whatsapp-pos-bottom-left { bottom: 20px; left: 20px; }
.woo-ad-whatsapp-pos-top-right { top: 20px; right: 20px; }
.woo-ad-whatsapp-pos-top-left { top: 20px; left: 20px; }
.woo-ad-whatsapp-pos-center-right { top: 50%; right: 20px; transform: translateY(-50%); }
.woo-ad-whatsapp-pos-center-left { top: 50%; left: 20px; transform: translateY(-50%); }

.woo-ad-whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
}
.woo-ad-whatsapp-pos-center-right:hover, .woo-ad-whatsapp-pos-center-left:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Exit Intent Popup */
.woo-ad-exit-intent-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.woo-ad-exit-intent-modal {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.woo-ad-exit-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none;
    font-size: 24px; cursor: pointer;
    color: #666;
}
.woo-ad-exit-intent-modal h2 {
    margin: 0 0 15px;
    color: #ea580c;
    font-size: 28px;
}
.woo-ad-exit-coupon {
    background: #f3f4f6;
    border: 2px dashed #9ca3af;
    padding: 15px;
    font-size: 24px;
    letter-spacing: 2px;
    margin: 20px 0;
    border-radius: 8px;
}

@media (max-width: 480px) {
    .woo-ad-slide-cart-drawer { width: 100%; right: -100%; }
}
