/* INTWB PDP Engine: global fixes for every product description.
   Fix things here once instead of inside each product's pasted HTML. */

/* ---------- "Swipe to explore" cue: one look for every template ---------- */

body.single-product .woocommerce-Tabs-panel :is(.slider-hint, .iw-slider-hint, .abx-slider-hint) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: #b45309 !important;
    -webkit-text-fill-color: #b45309 !important;
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
}

body.single-product .woocommerce-Tabs-panel :is(.slider-hint, .iw-slider-hint, .abx-slider-hint)::after {
    content: "\2192";
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0;
    animation: intwb-pdpe-nudge 1.6s ease-in-out infinite;
}

/* Hidden where the cards below it don't actually scroll (set by pdp-fixes.js). */
body.single-product .woocommerce-Tabs-panel [data-pdpe-hint="static"] {
    display: none !important;
}

@keyframes intwb-pdpe-nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    body.single-product .woocommerce-Tabs-panel :is(.slider-hint, .iw-slider-hint, .abx-slider-hint)::after {
        animation: none;
    }
}
