html {
    scroll-padding-top: 112px;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.faq-tabs-container {
    border: 1px solid #1877F2;
    border-radius: 9999px;
    display: inline-flex;
    overflow: hidden;
    padding: 2px;
    background: white;
    flex-wrap: wrap;
    justify-content: center;
}
.faq-tab {
    padding: 8px 32px;
    border-radius: 9999px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.faq-tab.active {
    background-color: #1877F2;
    color: white;
}
.faq-tab.inactive {
    background-color: transparent;
    color: #666;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.slider-track {
    display: flex;
    transition: transform 0.2s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    width: 100%;
}
.slide img {
    width: 100%;
    height: auto;
    display: block;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background 0.2s;
}
.nav-btn:hover { background: #fff; }

.badge-base {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 10px;
    font-weight: bold;
    background: white;
}

/* Notes section animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notes-section {
    animation: fadeInUp 0.6s ease-out;
}

/* ==========================================
   MINIMAL PRICING SKELETON LOADER
   ========================================== */
.pricing-skeleton {
    position: relative;
    overflow: hidden;
    pointer-events: none; /* Prevents clicking while loading */
}

/* The solid professional grey base */
.pricing-skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f3f4f6; /* Tailwind gray-100 */
    z-index: 1;
}

/* The subtle moving shimmer effect */
.pricing-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: pricing-shimmer 1.5s infinite;
    z-index: 2;
}

@keyframes pricing-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================
   DRAWER BACKDROP TRANSITION FIX
   ========================================== */
#cart-backdrop,
#mobile-menu-backdrop {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ==========================================
   DRAWER FOUC & VISIBILITY FIX
   ========================================== */
#cart-drawer,
#mobile-menu-drawer {
    transform: translateX(100%) !important;
    transition: transform 0.3s ease-in-out !important;
    will-change: transform;
}

#cart-drawer.open,
#mobile-menu-drawer.open {
    transform: translateX(0) !important;
}

/* ==========================================
   DISABLED ADD-TO-CART STATE
   ========================================== */
button[data-boss-add-to-cart]:disabled,
button[data-boss-add-to-cart][disabled] {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================
   PRODUCT A+ CAROUSEL MEDIA
   ========================================== */
/* Product A+ artwork is image-only.  Removing inline baseline space and
   preserving the exact rendered image height prevents thin light seams at
   the bottom of a slide on fractional-pixel viewports. */
#boss-custom-slider,
#boss-custom-track,
#boss-custom-track > .min-w-full {
    font-size: 0;
    line-height: 0;
}

#boss-custom-track {
    align-items: flex-start;
}

#boss-custom-track > .min-w-full {
    flex: 0 0 100%;
}

#boss-custom-track img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    vertical-align: top;
}

/* The artwork reset above intentionally removes inline text spacing. Restore
   the explicit icon metrics for the carousel controls so their chevrons never
   inherit a zero font size and appear as empty circles. */
#boss-custom-slider > button {
    font-size: 1rem;
    line-height: 1;
}

#boss-custom-slider > button i {
    font-size: 1rem;
    line-height: 1;
}

/* ==========================================
   IOS FAQ TAP / ACCORDION PERFORMANCE
   ========================================== */
/* Chrome on iOS uses WebKit too. The dedicated FAQ page animates a potentially
   large grid from 0fr to 1fr, which can make WebKit delay painting the answer.
   Keep the existing animation everywhere else, but make iOS taps and expansion
   immediate. */
@supports (-webkit-touch-callout: none) {
    .faq-item > summary {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .faq-item > .faq-answer {
        transition: none !important;
    }
}
