/* ═══════════════════════════════════════════════════════════
   HudHud Global Theme Styles  ·  v5.0  ·  global.css
   Applies to every page sitewide.
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    --hh-orange:        #F5A623;
    --hh-orange-dark:   #E09015;
    --hh-orange-light:  #FFF8ED;
    --hh-orange-glow:   rgba(245,166,35,.35);
    --hh-black:         #111111;
    --hh-text:          #1A1A1A;
    --hh-muted:         #666666;
    --hh-light:         #999999;
    --hh-border:        #EBEBEB;
    --hh-bg:            #ffffff;
    --hh-bg-off:        #F8F8F8;
    --hh-radius-xs:     6px;
    --hh-radius-sm:     10px;
    --hh-radius-md:     16px;
    --hh-radius-lg:     22px;
    --hh-shadow-xs:     0 1px 4px rgba(0,0,0,.06);
    --hh-shadow-sm:     0 2px 12px rgba(0,0,0,.07);
    --hh-shadow-md:     0 6px 24px rgba(0,0,0,.10);
    --hh-shadow-lg:     0 12px 40px rgba(0,0,0,.14);
    --hh-shadow-glow:   0 4px 20px rgba(245,166,35,.35);
    --ease-spring:      cubic-bezier(.34,1.56,.64,1);
    --ease-out:         cubic-bezier(.22,1,.36,1);
    --ease-smooth:      cubic-bezier(.4,0,.2,1);
    --hh-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Base typography ─────────────────────────────────────── */
body.hudhud-theme {
    font-family: var(--hh-font) !important;
    color: var(--hh-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
}
body.hudhud-theme h1, body.hudhud-theme h2,
body.hudhud-theme h3, body.hudhud-theme h4 {
    font-family: var(--hh-font) !important;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--hh-black);
}
body.hudhud-theme p { line-height: 1.7; }
body.hudhud-theme a { transition: color .15s; }

/* ── Scroll-reveal system (used on all pages) ────────────── */
.hh-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.hh-reveal.hh-visible    { opacity: 1; transform: none; }
.hh-reveal-up            { opacity: 0; transform: translateY(28px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.hh-reveal-up.hh-visible { opacity: 1; transform: none; }
.hh-reveal-delay-1  { transition-delay: .06s; }
.hh-reveal-delay-2  { transition-delay: .12s; }
.hh-reveal-delay-3  { transition-delay: .18s; }
.hh-reveal-delay-4  { transition-delay: .24s; }
.hh-reveal-delay-5  { transition-delay: .30s; }
.hh-reveal-delay-6  { transition-delay: .36s; }

/* ── Global buttons ──────────────────────────────────────── */
.hh-btn, .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: var(--hh-font) !important;
    font-weight: 700 !important;
    letter-spacing: -.01em !important;
    border-radius: var(--hh-radius-sm) !important;
    transition: background .18s var(--ease-smooth),
                transform .14s var(--ease-spring),
                box-shadow .18s !important;
    cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--hh-shadow-sm) !important;
}
.woocommerce a.button:active,
.woocommerce button.button:active { transform: scale(.97) !important; }

/* Primary (orange) button */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce button.button.alt.single_add_to_cart_button {
    background: var(--hh-orange) !important;
    color: #fff !important;
    border: none !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button.alt.single_add_to_cart_button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
    background: var(--hh-orange-dark) !important;
    box-shadow: var(--hh-shadow-glow) !important;
}

/* ── WooCommerce — notices ───────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: var(--hh-font) !important;
    border-radius: var(--hh-radius-sm) !important;
    border-top: none !important;
    box-shadow: var(--hh-shadow-xs) !important;
    font-size: 14px !important;
    margin: 0 0 20px !important;
    padding: 16px 20px 16px 56px !important;
    animation: hh-notice-in .3s var(--ease-out) both;
}
@keyframes hh-notice-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
}
.woocommerce-message {
    background: #F0FAF0 !important;
    border-left: 4px solid #34C759 !important;
    color: #1A4A1A !important;
}
.woocommerce-message::before { color: #34C759 !important; }
.woocommerce-info {
    background: var(--hh-orange-light) !important;
    border-left: 4px solid var(--hh-orange) !important;
    color: #5A3A00 !important;
}
.woocommerce-info::before { color: var(--hh-orange) !important; }
.woocommerce-error {
    background: #FFF0F0 !important;
    border-left: 4px solid #FF3B30 !important;
    color: #5A1A1A !important;
}

/* ── WooCommerce — forms ─────────────────────────────────── */
.woocommerce form .form-row label {
    font-family: var(--hh-font) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #555 !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
    font-family: var(--hh-font) !important;
    font-size: 14px !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 13px 16px !important;
    background: #fff !important;
    color: var(--hh-text) !important;
    transition: border-color .18s, box-shadow .18s !important;
    outline: none !important;
    box-shadow: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--hh-orange) !important;
    box-shadow: 0 0 0 3px rgba(245,166,35,.12) !important;
}

/* ── Shop page ───────────────────────────────────────────── */
.hudhud-shop .site-main,
.hudhud-shop #primary {
    padding-top: 0 !important;
}
.hh-shop-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 18px;
    font-family: var(--hh-font);
    gap: 12px;
    flex-wrap: wrap;
}
.hh-shop-bar .woocommerce-result-count {
    font-size: 13px !important;
    color: var(--hh-muted) !important;
    font-family: var(--hh-font) !important;
    margin: 0 !important;
}
.hh-shop-bar .woocommerce-ordering select {
    font-family: var(--hh-font) !important;
    font-size: 13px !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 8px 36px 8px 14px !important;
    background: #fff !important;
    color: var(--hh-text) !important;
    cursor: pointer;
    transition: border-color .18s !important;
}
.hh-shop-bar .woocommerce-ordering select:focus {
    border-color: var(--hh-orange) !important;
    outline: none !important;
}

/* Product grid card */
.hudhud-shop ul.products li.product,
.woocommerce ul.products li.product {
    background: #fff !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-md) !important;
    overflow: hidden !important;
    transition: box-shadow .22s, transform .22s var(--ease-spring), border-color .22s !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.hudhud-shop ul.products li.product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--hh-shadow-md) !important;
    border-color: rgba(245,166,35,.35) !important;
}
.woocommerce ul.products li.product a img {
    transition: transform .4s var(--ease-out) !important;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.06) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--hh-black) !important;
    font-family: var(--hh-font) !important;
    letter-spacing: -.02em !important;
    line-height: 1.35 !important;
    padding: 10px 14px 4px !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product .price {
    font-family: var(--hh-font) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    color: var(--hh-black) !important;
    padding: 0 14px 4px !important;
}
.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    color: var(--hh-black) !important;
}
.woocommerce ul.products li.product .price del {
    color: var(--hh-light) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .added_to_cart {
    margin: 8px 14px 14px !important;
    border-radius: var(--hh-radius-sm) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 9px 18px !important;
    width: calc(100% - 28px) !important;
    box-sizing: border-box !important;
    text-align: center !important;
    background: var(--hh-orange) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--hh-font) !important;
}
.woocommerce ul.products li.product a.button:hover { background: var(--hh-orange-dark) !important; }

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    background: var(--hh-orange) !important;
    color: #fff !important;
    font-family: var(--hh-font) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    letter-spacing: .04em !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1 !important;
    padding: 4px 8px !important;
    top: 12px !important; left: 12px !important;
}

/* ── Single product ──────────────────────────────────────── */
.hudhud-product .product_title,
.woocommerce div.product .product_title {
    font-family: var(--hh-font) !important;
    font-weight: 900 !important;
    font-size: 28px !important;
    letter-spacing: -.04em !important;
    color: var(--hh-black) !important;
    margin-bottom: 12px !important;
}
.woocommerce div.product .price {
    font-family: var(--hh-font) !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    color: var(--hh-black) !important;
    letter-spacing: -.04em !important;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    color: var(--hh-black) !important;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    color: var(--hh-light) !important;
    font-size: 18px !important;
}
/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid var(--hh-border) !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    position: relative;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--hh-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hh-muted) !important;
    padding: 12px 20px !important;
    display: block;
    transition: color .18s !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hh-black) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
    content: '';
    position: absolute; bottom: -2px; left: 0; right: 0;
    height: 2px; background: var(--hh-orange); border-radius: 2px 2px 0 0;
}
/* Product reviews */
.woocommerce #reviews #comments ol.commentlist li .comment_container {
    border-radius: var(--hh-radius-sm) !important;
    border: 1.5px solid var(--hh-border) !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    transition: box-shadow .2s !important;
}
.woocommerce #reviews #comments ol.commentlist li .comment_container:hover {
    box-shadow: var(--hh-shadow-xs) !important;
}
.star-rating { color: var(--hh-orange) !important; }
.star-rating span::before { color: var(--hh-orange) !important; }

/* ── Cart page ───────────────────────────────────────────── */
.hudhud-cart .woocommerce-cart-form table.shop_table {
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-md) !important;
    overflow: hidden !important;
    font-family: var(--hh-font) !important;
}
.woocommerce-cart table.shop_table th {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    color: var(--hh-muted) !important;
    padding: 14px 16px !important;
    background: var(--hh-bg-off) !important;
    border-bottom: 1.5px solid var(--hh-border) !important;
}
.woocommerce-cart table.shop_table td {
    font-family: var(--hh-font) !important;
    padding: 18px 16px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    border-color: var(--hh-border) !important;
}
.woocommerce-cart .cart_totals {
    background: var(--hh-bg-off) !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-md) !important;
    padding: 28px !important;
    font-family: var(--hh-font) !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 18px !important;
    font-weight: 900 !important;
    margin-bottom: 18px !important;
    letter-spacing: -.03em !important;
}
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 10px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--hh-border) !important;
    font-size: 14px !important;
}
.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    font-size: 17px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}
/* Proceed to checkout button */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    border-radius: var(--hh-radius-sm) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 16px 28px !important;
    text-align: center !important;
    box-shadow: var(--hh-shadow-glow) !important;
    letter-spacing: -.01em !important;
}

/* Quantity input */
.woocommerce .quantity .qty {
    font-family: var(--hh-font) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-sm) !important;
    padding: 8px 12px !important;
    text-align: center !important;
    transition: border-color .18s !important;
    color: var(--hh-black) !important;
    background: #fff !important;
}
.woocommerce .quantity .qty:focus {
    border-color: var(--hh-orange) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245,166,35,.12) !important;
}

/* ── Checkout page ───────────────────────────────────────── */
.hudhud-checkout .woocommerce-checkout {
    font-family: var(--hh-font) !important;
}
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
    color: var(--hh-black) !important;
    border-bottom: 2px solid var(--hh-border) !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}
.woocommerce-checkout #order_review {
    background: var(--hh-bg-off) !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-md) !important;
    padding: 28px !important;
}
.woocommerce #payment {
    background: var(--hh-bg-off) !important;
    border-radius: var(--hh-radius-md) !important;
    border: 1.5px solid var(--hh-border) !important;
}
.woocommerce #payment ul.payment_methods {
    border-bottom: 1.5px solid var(--hh-border) !important;
    padding: 18px !important;
}
.woocommerce #payment ul.payment_methods li label {
    font-family: var(--hh-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
}
.woocommerce #payment div.payment_box {
    background: #fff !important;
    border-radius: var(--hh-radius-xs) !important;
}
.woocommerce #payment div.payment_box::before {
    border-bottom-color: #fff !important;
}
.woocommerce #payment div.place-order { padding: 20px !important; }
/* Checkout charity reminder box */
.hh-checkout-charity {
    background: linear-gradient(135deg, var(--hh-orange-light), #fff);
    border: 1.5px solid rgba(245,166,35,.3);
    border-radius: var(--hh-radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--hh-font);
    font-size: 13.5px;
    color: #5A3A00;
    font-weight: 500;
    line-height: 1.5;
}
.hh-checkout-charity__icon { font-size: 24px; flex-shrink: 0; }

/* ── Account page ────────────────────────────────────────── */
.woocommerce-account .woocommerce {
    font-family: var(--hh-font) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--hh-bg-off) !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-md) !important;
    overflow: hidden !important;
    padding: 8px 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--hh-muted) !important;
    font-family: var(--hh-font) !important;
    text-decoration: none !important;
    transition: background .15s, color .15s !important;
    border-left: 3px solid transparent;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--hh-orange-light) !important;
    color: var(--hh-orange) !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--hh-orange-light) !important;
    color: var(--hh-orange) !important;
    border-left-color: var(--hh-orange) !important;
    font-weight: 700 !important;
}

/* ── Breadcrumbs global ──────────────────────────────────── */
.woocommerce-breadcrumb {
    font-family: var(--hh-font) !important;
    font-size: 12.5px !important;
    color: #999 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}
.woocommerce-breadcrumb a {
    color: #999 !important;
    text-decoration: none !important;
}
.woocommerce-breadcrumb a:hover { color: var(--hh-orange) !important; }

/* ── Pagination ──────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    display: flex !important;
    gap: 6px !important;
    justify-content: center !important;
    margin-top: 32px !important;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    font-family: var(--hh-font) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: 1.5px solid var(--hh-border) !important;
    border-radius: var(--hh-radius-xs) !important;
    padding: 8px 14px !important;
    min-width: 38px !important;
    text-align: center !important;
    transition: border-color .18s, background .18s, color .18s !important;
    color: var(--hh-text) !important;
    background: #fff !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: var(--hh-orange) !important;
    color: var(--hh-orange) !important;
    background: var(--hh-orange-light) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--hh-orange) !important;
    border-color: var(--hh-orange) !important;
    color: #fff !important;
}

/* ── Inner page layout ───────────────────────────────────── */
.hudhud-theme:not(.hudhud-home) #page > #content {
    max-width: 1260px;
    margin: 0 auto;
    padding: 32px 28px 56px;
    width: 100%;
    box-sizing: border-box;
}
/* But don't constrain checkout/cart (they have their own layout) */
.hudhud-checkout #page > #content,
.hudhud-cart #page > #content {
    max-width: 100% !important;
    padding: 0 !important;
}
.woocommerce-cart #primary,
.woocommerce-checkout #primary {
    padding: 32px 28px 56px !important;
    max-width: 1260px !important;
    margin: 0 auto !important;
}

/* ── Preloader improvements ──────────────────────────────── */
#hh-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    transition: opacity .5s ease, visibility .5s ease;
}
#hh-preloader.hh-preloader-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.hh-preloader-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: hh-logo-pulse 1.4s ease-in-out infinite;
}
@keyframes hh-logo-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .7; transform: scale(.94); }
}
.hh-preloader-bar {
    width: 120px;
    height: 3px;
    background: #F0F0F0;
    border-radius: 2px;
    overflow: hidden;
}
.hh-preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, #F5A623, #E09015);
    border-radius: 2px;
    animation: hh-bar-fill 1.6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes hh-bar-fill {
    0%   { width: 0%; }
    70%  { width: 80%; }
    100% { width: 100%; }
}

/* ── Scroll-to-top button ────────────────────────────────── */
#hh-scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--hh-orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245,166,35,.4);
    opacity: 0;
    transform: translateY(20px) scale(.8);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-spring),
                background .18s, box-shadow .18s;
    pointer-events: none;
}
#hh-scroll-top.hh-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
#hh-scroll-top:hover {
    background: var(--hh-orange-dark);
    box-shadow: 0 6px 22px rgba(245,166,35,.5);
    transform: translateY(-3px) scale(1.05);
}
#hh-scroll-top:active { transform: scale(.94); }

/* ── Category strip (on shop/archive pages) ──────────────── */
.hh-category-strip {
    background: #fff;
    border-bottom: 1px solid var(--hh-border);
    margin-bottom: 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.hh-category-strip__inner {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hh-category-strip__inner::-webkit-scrollbar { display: none; }
.hh-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--hh-font);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    color: #2A2A2A;
    background: transparent;
    transition: background .18s, color .18s, transform .14s var(--ease-spring) !important;
}
.hh-category-pill:hover {
    background: var(--hh-orange-light);
    color: var(--hh-orange);
    transform: translateY(-1px);
}
.hh-category-pill.active {
    background: var(--hh-orange);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245,166,35,.3);
}

/* ── Global micro-interactions ───────────────────────────── */
/* Smooth image loading */
img { transition: opacity .3s ease; }
img.lazyload, img.lazyloading { opacity: 0; }
img.lazyloaded { opacity: 1; }

/* Focus ring — accessible + pretty */
*:focus-visible {
    outline: 2.5px solid var(--hh-orange) !important;
    outline-offset: 3px !important;
    border-radius: 4px;
}
*:focus:not(:focus-visible) { outline: none !important; }

/* Selection highlight */
::selection { background: rgba(245,166,35,.22); color: var(--hh-black); }

/* ── Page body animations ────────────────────────────────── */
.site-main {
    animation: hh-page-in .35s var(--ease-out) both;
}
@keyframes hh-page-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* ── Footer improvements ─────────────────────────────────── */
.site-footer, #colophon {
    font-family: var(--hh-font) !important;
    background: #0F0800 !important;
    color: rgba(255,255,255,.6) !important;
    border-top: none !important;
}
.site-footer a, #colophon a {
    color: rgba(255,255,255,.7) !important;
    transition: color .18s !important;
}
.site-footer a:hover, #colophon a:hover { color: var(--hh-orange) !important; }
.site-footer h3, .site-footer h4, .site-footer .widget-title,
#colophon h3, #colophon h4, #colophon .widget-title {
    color: #fff !important;
    font-family: var(--hh-font) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: .02em !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
}
.site-footer ul, #colophon ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.site-footer ul li, #colophon ul li { margin-bottom: 8px !important; }

/* Charity footer note */
.hh-footer-charity-note {
    background: rgba(245,166,35,.08);
    border-top: 1px solid rgba(245,166,35,.2);
    padding: 16px 28px;
    text-align: center;
    font-family: var(--hh-font);
    font-size: 12.5px;
    color: rgba(255,255,255,.5);
}
.hh-footer-charity-note strong { color: var(--hh-orange); }

/* ── Price everywhere ────────────────────────────────────── */
.woocommerce .price,
.woocommerce .woocommerce-Price-amount {
    font-family: var(--hh-font) !important;
    font-weight: 800 !important;
    color: var(--hh-black) !important;
    letter-spacing: -.02em !important;
}

/* ── Tooltips ────────────────────────────────────────────── */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%; transform: translateX(-50%) scale(.92);
    background: #1A1A1A; color: #fff;
    font-size: 12px; font-family: var(--hh-font); font-weight: 500;
    padding: 6px 12px; border-radius: 6px;
    white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity .18s, transform .18s var(--ease-spring);
    z-index: 9999;
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hudhud-theme:not(.hudhud-home) #page > #content { padding: 20px 16px 40px; }
    .woocommerce-cart #primary,
    .woocommerce-checkout #primary { padding: 20px 16px 40px !important; }
    #hh-scroll-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .hh-reveal, .hh-reveal-up, .site-main { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
    .hh-preloader-logo, .hh-preloader-bar-fill { animation: none !important; }
    * { transition-duration: .01ms !important; }
}
