/* ==========================================================================
   HouseHub.pk — marketplace design layer (modelled on idealancy.pk / homazing.pk)
   Loaded by mu-plugins/househub-customizations.php
   ========================================================================== */
:root {
  --hh-accent: #f5891f;
  --hh-accent-dark: #d9740f;
  --hh-dark: #111827;
  --hh-ink: #1f2937;
  --hh-body: #374151;
  --hh-muted: #6b7280;
  --hh-line: #e5e7eb;
  --hh-soft: #fff4e8;
  --hh-sand: #f7f3ec;
  --hh-red: #e11d48;
  --hh-green: #16a34a;
  --hh-radius: 10px;
  --hh-shadow: 0 8px 24px rgba(17, 24, 39, .08);
  --hh-sans: "Inter", "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hh-head: "Poppins", "Inter", "Segoe UI", system-ui, sans-serif;
}
body { color: var(--hh-body); font-family: var(--hh-sans); -webkit-font-smoothing: antialiased; }
body.hh-noscroll { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--hh-head); color: var(--hh-ink); letter-spacing: -.01em; }
.hh-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.home .content-wrapper { margin-top: 0 !important; padding-top: 0 !important; }
.home .entry-content > * { margin-top: 0; margin-bottom: 0; }
.hh-header svg, .hh-usp svg, .hh-more svg, .hh-mheader svg, .hh-bottombar svg, .hh-drawer svg, .hh-trustrow svg, .hh-btn svg, .hh-cta svg, .hh-feature svg { width: 1.2em; height: 1.2em; flex: none; }
.home .entry-content > .hh-marquee { margin-top: 22px; }

/* ---------- reveal animation ---------- */
.hh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hh-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- desktop header (sticky: top strip + main row scroll away, nav row stays) ---------- */
.hh-header { background: #fff; border: 0; position: sticky; top: -118px; z-index: 900; transition: box-shadow .2s; }
.hh-header.is-stuck { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
.hh-topstrip { background: var(--hh-dark); color: #d1d5db; font-size: 12.5px; }
.hh-topstrip__row { display: flex; justify-content: space-between; align-items: center; height: 34px; gap: 20px; }
.hh-topstrip__left { display: flex; align-items: center; gap: 8px; color: #fbbf77; font-weight: 500; }
.hh-topstrip__left svg { width: 18px; height: 18px; }
.hh-topstrip__right { display: flex; gap: 18px; }
.hh-topstrip__right a { color: #d1d5db; text-decoration: none; }
.hh-topstrip__right a:hover { color: #fff; }
.hh-topstrip__wa { font-weight: 600; color: #4ade80 !important; }
.hh-header__main { border-bottom: 1px solid var(--hh-line); }
.hh-header__row { display: flex; align-items: center; gap: 28px; }
.hh-header__main .hh-header__row { height: 84px; }
.hh-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.hh-logo__img { max-height: 46px; width: auto; }
.hh-search { flex: 1; display: flex; max-width: 640px; margin: 0 auto; border: 2px solid var(--hh-accent); border-radius: 999px; overflow: hidden; background: #fff; }
.hh-search input[type="search"] { flex: 1; border: 0; padding: 0 20px; height: 44px; font-size: 14px; outline: none; background: transparent; min-width: 0; }
.hh-search button { border: 0; background: var(--hh-accent); color: #fff; padding: 0 22px; font-weight: 600; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.hh-search button:hover { background: var(--hh-accent-dark); }
.hh-search button svg { width: 18px; height: 18px; }
.hh-header__actions { display: flex; gap: 22px; flex: none; }
.hh-action { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--hh-ink); line-height: 1.1; }
.hh-action > svg { width: 26px; height: 26px; color: var(--hh-ink); }
.hh-action small { display: block; font-size: 11px; color: var(--hh-muted); }
.hh-action strong { font-size: 13.5px; font-weight: 600; }
.hh-cart__icon { position: relative; display: inline-flex; }
.hh-cart__icon svg { width: 28px; height: 28px; }
.hh-cart__count { position: absolute; top: -8px; right: -10px; background: var(--hh-accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.hh-cart__total { color: var(--hh-accent); }
.hh-header__nav { border-bottom: 1px solid var(--hh-line); background: #fff; }
.hh-header__nav .hh-header__row { height: 50px; }
.hh-catmenu { position: relative; flex: none; width: 260px; height: 50px; }
.hh-catmenu__toggle { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; background: var(--hh-dark); color: #fff !important; font-weight: 600; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none !important; }
.hh-catmenu__toggle svg:last-child { margin-left: auto; width: 16px; height: 16px; }
.hh-catmenu__list { position: absolute; top: 100%; left: 0; width: 100%; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: 1px solid var(--hh-line); border-top: 0; box-shadow: var(--hh-shadow); z-index: 60; display: none; }
.hh-catmenu:hover .hh-catmenu__list, .hh-catmenu.is-open .hh-catmenu__list { display: block; }
.hh-catmenu__list li a { display: flex; align-items: center; gap: 12px; padding: 8px 16px; font-size: 13.5px; color: var(--hh-ink); text-decoration: none; }
.hh-catmenu__list li a:hover { background: var(--hh-soft); color: var(--hh-accent-dark); }
.hh-catmenu__list img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hh-catmenu__list em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--hh-muted); }
.hh-catmenu__all a { border-top: 1px solid var(--hh-line); font-weight: 600; margin-top: 4px; }
.hh-catmenu__all svg { width: 16px; height: 16px; margin-left: auto; }
.hh-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hh-nav__list a { display: block; padding: 8px 14px; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--hh-ink); text-decoration: none; border-radius: 6px; }
.hh-nav__list a:hover, .hh-nav__list .current-menu-item > a { color: var(--hh-accent-dark); background: var(--hh-soft); }
.hh-nav .dropdown-symbol { display: none; }
.hh-header__call { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hh-muted); }
.hh-header__call svg { width: 18px; height: 18px; color: var(--hh-accent); }
.hh-header__call strong { color: var(--hh-ink); }

/* ---------- mobile header / drawer / bottom bar ---------- */
.hh-mheader { display: none; background: #fff; border-bottom: 1px solid var(--hh-line); position: sticky; top: 0; z-index: 900; padding: 8px 14px 10px; }
.hh-mheader__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 46px; }
.hh-mheader__btn { position: relative; width: 42px; height: 42px; border: 0; background: transparent; color: var(--hh-ink); display: grid; place-items: center; text-decoration: none; }
.hh-mheader__btn svg { width: 26px; height: 26px; }
.hh-mheader__cart .hh-cart__count { top: 2px; right: 0; }
.hh-mheader__logo .hh-logo__img { max-height: 36px; width: auto; }
.hh-search--m { max-width: none; margin: 4px 0 0; }
.hh-search--m input[type="search"] { height: 40px; padding: 0 16px; }
.hh-search--m button { padding: 0 16px; }
.hh-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.hh-drawer.is-open { visibility: visible; }
.hh-drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 24, 39, .55); opacity: 0; transition: opacity .25s; }
.hh-drawer.is-open .hh-drawer__backdrop { opacity: 1; }
.hh-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(84vw, 360px); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); padding: 0 0 90px; }
.hh-drawer.is-open .hh-drawer__panel { transform: none; }
.hh-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--hh-line); }
.hh-drawer__head .hh-logo__img { max-height: 32px; width: auto; }
.hh-drawer__close { border: 0; background: var(--hh-sand); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.hh-drawer__menu { list-style: none; margin: 0; padding: 8px 0; }
.hh-drawer__menu a { display: block; padding: 12px 20px; font-weight: 600; color: var(--hh-ink); text-decoration: none; font-size: 15px; }
.hh-drawer h4 { margin: 10px 20px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--hh-muted); }
.hh-drawer__cats { list-style: none; margin: 0; padding: 0 8px; }
.hh-drawer__cats a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; color: var(--hh-ink); text-decoration: none; font-size: 14px; border-radius: 8px; }
.hh-drawer__cats a:hover { background: var(--hh-soft); }
.hh-drawer__cats img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.hh-drawer__contact { padding: 14px 20px; display: grid; gap: 10px; border-top: 1px solid var(--hh-line); margin-top: 10px; }
.hh-drawer__contact a { display: flex; align-items: center; gap: 8px; color: var(--hh-ink); text-decoration: none; font-size: 14px; }
.hh-drawer__contact .hh-btn { justify-content: center; }
.hh-bottombar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff; border-top: 1px solid var(--hh-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5, 1fr); }
.hh-bottombar a, .hh-bottombar button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--hh-muted); text-decoration: none; background: transparent; border: 0; padding: 4px 0; position: relative; cursor: pointer; }
.hh-bottombar svg { width: 22px; height: 22px; }
.hh-bottombar .is-active, .hh-bottombar a:hover { color: var(--hh-accent-dark); }
.hh-bottombar__wa { color: #16a34a !important; }
.hh-bottombar__cart .hh-cart__count { top: -2px; right: calc(50% - 22px); }
@media (max-width: 1024px) {
  .hh-header { display: none; }
  .hh-mheader { display: block; }
  .hh-bottombar { display: grid; }
  body { padding-bottom: 66px; }
  #ht-ctc-chat { bottom: 78px !important; }
}

/* ---------- section scaffolding ---------- */
.hh-section { padding: 34px 0 0; }
.hh-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--hh-line); position: relative; }
.hh-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--hh-accent); }
.hh-head h2 { font-size: 22px; margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.hh-head p { margin: 2px 0 0; color: var(--hh-muted); font-size: 13px; }
.hh-more { white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--hh-accent-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hh-more:hover { color: var(--hh-accent); }
.hh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none !important; transition: background .2s, transform .2s; border: 0; cursor: pointer; }
.hh-btn--accent { background: var(--hh-accent); color: #fff !important; }
.hh-btn--accent:hover { background: var(--hh-accent-dark); }
.hh-btn--dark { background: var(--hh-dark); color: #fff !important; }
.hh-btn--light { background: #fff; color: var(--hh-ink) !important; }
.hh-btn--whatsapp { background: #25d366; color: #fff !important; }
.hh-btn--whatsapp:hover { background: #1fb457; }

/* ---------- hero ---------- */
.hh-hero { padding-top: 16px; }
.hh-hero__grid { display: grid; grid-template-columns: 1fr 340px; gap: 16px; }
.hh-hero__grid--full { grid-template-columns: 1fr; }
.hh-slider { position: relative; border-radius: var(--hh-radius); overflow: hidden; aspect-ratio: 1600 / 560; background: var(--hh-sand); }
.hh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hh-slide.is-active { opacity: 1; }
.hh-slide__link, .hh-promo { display: block; }
.hh-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-slider__prev, .hh-slider__next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--hh-ink); display: grid; place-items: center; cursor: pointer; z-index: 3; }
.hh-slider__prev { left: 14px; } .hh-slider__next { right: 14px; }
.hh-slider__prev svg, .hh-slider__next svg { width: 18px; height: 18px; }
.hh-slider__dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.hh-slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; padding: 0; }
.hh-slider__dots button.is-active { background: var(--hh-accent); width: 22px; border-radius: 6px; }
.hh-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hh-promo { position: relative; border-radius: var(--hh-radius); overflow: hidden; text-decoration: none !important; transition: transform .3s, box-shadow .3s; }
.hh-promo:hover { transform: translateY(-3px); box-shadow: var(--hh-shadow); }
.hh-promo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hh-promo:hover img { transform: scale(1.04); }

/* ---------- USP pills + marquee ---------- */
.hh-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.hh-usp > div { display: flex; align-items: center; gap: 12px; background: var(--hh-soft); border-radius: 8px; padding: 12px 16px; font-size: 13px; color: var(--hh-body); }
.hh-usp svg { width: 26px; height: 26px; color: var(--hh-accent-dark); flex: none; }
.hh-usp strong { display: block; color: var(--hh-ink); font-size: 13.5px; }
.hh-marquee { margin-top: 22px; background: var(--hh-dark); color: #fff; overflow: hidden; white-space: nowrap; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.hh-marquee__track { display: inline-flex; gap: 48px; padding: 10px 0; animation: hh-marquee 28s linear infinite; }
.hh-marquee__track span { display: inline-flex; align-items: center; gap: 10px; }
.hh-marquee__track span::before { content: "✦"; color: var(--hh-accent); }
.hh-marquee:hover .hh-marquee__track { animation-play-state: paused; }
@keyframes hh-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- category strip (circular thumbs on pastel discs) ---------- */
.hh-cats { display: grid; grid-template-columns: repeat(10, 1fr); gap: 14px; }
.hh-cat { text-align: center; text-decoration: none !important; color: var(--hh-ink); font-size: 13px; font-weight: 600; }
.hh-cat img, .hh-cat__blank { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto 8px; padding: 7px; background: var(--hh-sand); border: 1px solid var(--hh-line); transition: transform .3s, box-shadow .3s; }
.hh-cat:nth-child(6n+1) img { background: #fde8d3; } .hh-cat:nth-child(6n+2) img { background: #dbeafe; } .hh-cat:nth-child(6n+3) img { background: #dcfce7; }
.hh-cat:nth-child(6n+4) img { background: #fce7f3; } .hh-cat:nth-child(6n+5) img { background: #ede9fe; } .hh-cat:nth-child(6n+6) img { background: #fef9c3; }
.hh-cat:hover img { transform: translateY(-4px) scale(1.03); box-shadow: var(--hh-shadow); }

/* ---------- deals: spotlight + countdown ---------- */
.hh-deals .hh-head h2 { color: var(--hh-red); }
.hh-countdown { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; font-size: 12px; color: var(--hh-muted); text-transform: none; letter-spacing: 0; vertical-align: middle; }
.hh-countdown span { display: inline-grid; place-items: center; min-width: 32px; height: 28px; background: var(--hh-dark); color: #fff; border-radius: 5px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.hh-countdown i { font-style: normal; font-weight: 700; color: var(--hh-ink); }
.hh-dealgrid { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.hh-spot { position: relative; background: linear-gradient(180deg, #fff7ed, #fff); border: 2px solid var(--hh-accent); border-radius: var(--hh-radius); padding: 14px; text-align: center; }
.hh-spot__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--hh-red); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.hh-spot img { width: 100%; max-width: 200px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; margin: 12px auto; }
.hh-spot h3 { font-size: 14.5px; margin: 0 0 6px; font-weight: 600; font-family: var(--hh-sans); line-height: 1.4; }
.hh-spot h3 a { color: var(--hh-ink); text-decoration: none; }
.hh-spot .star-rating { display: inline-block; margin: 0 2px 6px 0; vertical-align: middle; }
.hh-spot__price { font-size: 22px; font-weight: 700; color: var(--hh-accent-dark); }
.hh-spot__price del { color: #9ca3af; font-weight: 400; font-size: 14px; margin-right: 6px; }
.hh-spot__price ins { text-decoration: none; background: none; }
.hh-spot__save { display: inline-block; background: var(--hh-red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-left: 6px; vertical-align: middle; }
.hh-stock { height: 8px; background: #fde2c8; border-radius: 999px; overflow: hidden; margin: 12px 0 4px; }
.hh-stock div { height: 100%; background: linear-gradient(90deg, var(--hh-accent), var(--hh-red)); border-radius: 999px; }
.hh-spot small { display: block; color: var(--hh-muted); font-size: 12px; margin-bottom: 12px; }
.hh-spot .hh-btn { width: 100%; }
.hh-dealgrid .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(4, 1fr); }

/* ---------- product cards (Botiga loop + WC grid blocks) ---------- */
.wc-block-grid .wc-block-grid__products { gap: 14px; margin: 0; }
ul.products li.product, .wc-block-grid__product { background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius); padding: 10px 10px 14px; text-align: left; transition: box-shadow .25s, transform .25s, border-color .25s; position: relative; overflow: hidden; }
ul.products li.product:hover, .wc-block-grid__product:hover { box-shadow: var(--hh-shadow); transform: translateY(-3px); border-color: #fcd9b6; }
.loop-image-wrap { border-radius: 8px; overflow: hidden; background: #f9fafb; position: relative; }
.loop-image-wrap img { transition: transform .5s, opacity .4s; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; display: block; }
ul.products li.product:hover .loop-image-wrap img:not(.hh-hover-img), .wc-block-grid__product:hover .loop-image-wrap img:not(.hh-hover-img) { transform: scale(1.05); }
.hh-hover-img { position: absolute; inset: 0; opacity: 0; }
ul.products li.product:hover .hh-hover-img, .wc-block-grid__product:hover .hh-hover-img { opacity: 1; }
.botiga-wc-loop-product__title, .wc-block-grid__product .wc-block-grid__product-title, .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title { font-family: var(--hh-sans) !important; font-size: 13.5px !important; font-weight: 500; color: var(--hh-ink); line-height: 1.4; margin: 10px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; }
ul.products li.product .price, .wc-block-grid__product-price { font-weight: 700; color: var(--hh-accent-dark); font-size: 15px; margin: 0; }
ul.products li.product .price del, .wc-block-grid__product-price del { color: #9ca3af; font-weight: 400; font-size: 12.5px; margin-left: 6px; }
ul.products li.product .price ins, .wc-block-grid__product-price ins { text-decoration: none; }
.wc-block-grid__product-price .wc-block-grid__product-price__value { display: inline; }
.onsale { background: var(--hh-accent) !important; color: #fff !important; font-weight: 700; font-size: 11.5px; border-radius: 4px; padding: 4px 8px; line-height: 1; top: 10px; left: 10px; min-height: 0; min-width: 0; z-index: 2; }
.wc-block-grid__product .wc-block-grid__product-onsale { display: none; }
.hh-ribbon { position: absolute; top: 14px; right: -30px; transform: rotate(38deg); width: 110px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: 4px 0; z-index: 3; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.hh-ribbon--hot { background: var(--hh-red); }
.hh-ribbon--best { background: #ca8a04; }
.hh-ribbon--new { background: #2563eb; }
.star-rating, .wc-block-grid__product-rating { color: #f59e0b; margin: 4px 0 2px; font-size: 12px; }
.wc-block-grid__product-rating .star-rating { margin: 0; display: inline-block; vertical-align: middle; }
.hh-rcount { font-size: 11.5px; color: var(--hh-muted); margin-left: 5px; vertical-align: middle; }
/* slide-up add to cart */
.loop-button-wrap, .wc-block-grid__product-add-to-cart { position: absolute; left: 10px; right: 10px; bottom: 14px; transform: translateY(120%); opacity: 0; transition: transform .25s ease, opacity .25s ease; z-index: 4; }
ul.products li.product:hover .loop-button-wrap, .wc-block-grid__product:hover .wc-block-grid__product-add-to-cart, ul.products li.product:focus-within .loop-button-wrap, .wc-block-grid__product:focus-within .wc-block-grid__product-add-to-cart { transform: none; opacity: 1; }
.loop-button-wrap .button, .wc-block-grid__product .add_to_cart_button, .wc-block-grid__product .wp-block-button__link { display: block; width: 100%; text-align: center; border-radius: 6px; font-weight: 600; font-size: 13px; text-transform: none; padding: 10px 12px; background: var(--hh-dark) !important; color: #fff !important; }
.loop-button-wrap .button:hover, .wc-block-grid__product .add_to_cart_button:hover, .wc-block-grid__product .wp-block-button__link:hover { background: var(--hh-accent) !important; }
.wc-block-grid__product .wp-block-button { margin: 0; }
.button-layout3 .loop-button-wrap { padding: 0; }
ul.products li.product .loop-button-wrap .added_to_cart { display: none; }

/* ---------- promo strip ---------- */
.hh-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.hh-strip .hh-promo { aspect-ratio: 520 / 240; }

/* ---------- "shop the look" gallery ---------- */
.hh-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.hh-gallery a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; }
.hh-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hh-gallery a:hover img { transform: scale(1.06); }
.hh-gallery a::after { content: "Shop"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; background: rgba(17, 24, 39, .45); opacity: 0; transition: opacity .3s; }
.hh-gallery a:hover::after { opacity: 1; }

/* ---------- features / SEO text / subscribe ---------- */
.hh-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.hh-feature { border: 1px solid var(--hh-line); border-radius: var(--hh-radius); padding: 22px; display: flex; gap: 14px; align-items: flex-start; }
.hh-feature svg { width: 32px; height: 32px; color: var(--hh-accent); flex: none; }
.hh-feature strong { display: block; color: var(--hh-ink); margin-bottom: 4px; font-size: 15px; }
.hh-feature span { font-size: 13px; color: var(--hh-muted); line-height: 1.55; }
.hh-seo { background: var(--hh-sand); border-radius: var(--hh-radius); padding: 28px 32px; margin-top: 34px; font-size: 14px; line-height: 1.7; color: var(--hh-body); }
.hh-seo h2 { font-size: 20px; margin: 0 0 8px; text-transform: none; }
.hh-seo p { margin: 0 0 10px; }
.hh-subscribe { margin-top: 34px; background: linear-gradient(135deg, #fff1e2, #ffe0bd); border-radius: var(--hh-radius); padding: 30px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hh-subscribe h2 { margin: 0 0 4px; font-size: 22px; }
.hh-subscribe p { margin: 0; color: var(--hh-body); font-size: 14px; }
.hh-subscribe form { display: flex; gap: 8px; flex: 1; max-width: 480px; }
.hh-subscribe input { flex: 1; height: 46px; border: 1px solid #f3c48f; border-radius: 6px; padding: 0 14px; font-size: 14px; min-width: 0; }
.hh-subscribe .hh-btn { height: 46px; padding: 0 20px; }

/* ---------- testimonials ---------- */
.hh-testimonials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hh-quote { background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius); padding: 20px; font-size: 13.5px; }
.hh-quote__stars { color: #f59e0b; letter-spacing: 1px; margin-bottom: 8px; }
.hh-quote p { margin: 0 0 12px; color: var(--hh-body); line-height: 1.6; }
.hh-quote footer { font-size: 12.5px; color: var(--hh-muted); }
.hh-quote footer strong { color: var(--hh-ink); display: block; }

/* ---------- CTA band ---------- */
.hh-cta { background: var(--hh-dark); color: #fff; margin-top: 40px; }
.hh-cta.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.hh-cta__grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px 0; flex-wrap: wrap; }
.hh-cta h2 { color: #fff; font-size: 24px; margin: 0 0 4px; }
.hh-cta p { margin: 0; color: #9ca3af; font-size: 14px; }
.hh-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer-widgets .widget-title { font-family: var(--hh-head); font-size: 16px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.footer-widgets .widget ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets .widget li { margin: 0 0 8px; font-size: 14px; }
.footer-widgets .widget p { line-height: 1.7; font-size: 14px; }
.site-footer .footer-credits { font-size: 13px; }
.hh-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.hh-pay span { background: #fff; color: var(--hh-ink); font-size: 11px; font-weight: 700; padding: 5px 9px; border-radius: 4px; }

/* ---------- shop / archive ---------- */
.woocommerce-page-header, .page-header { padding: 26px 0 6px; }
.woocommerce-products-header__title { font-size: 28px; }
.woocommerce-result-count { font-size: 13px; }

/* ---------- product page ---------- */
.hh-trustrow { list-style: none; margin: 14px 0 6px; padding: 12px 0; border-top: 1px dashed var(--hh-line); border-bottom: 1px dashed var(--hh-line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 13px; color: var(--hh-body); }
.hh-trustrow li { display: flex; align-items: center; gap: 8px; }
.hh-trustrow svg { color: var(--hh-accent-dark); flex: none; }
.hh-wa-order { width: 100%; margin-top: 12px; }
.hh-advance-pill { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; background: linear-gradient(90deg, #fff4e8, #fde8d3); border: 1px dashed var(--hh-accent); border-radius: 8px; padding: 10px 14px; font-size: 13.5px; color: #7c2d12; margin: 10px 0 4px !important; }
.hh-advance-pill svg { width: 18px; height: 18px; color: var(--hh-accent-dark); }
.hh-advance-pill strong { color: var(--hh-accent-dark); }
.hh-advance-pill span { flex-basis: 100%; font-size: 11.5px; color: var(--hh-muted); }
.hh-trustrow__promo, .hh-trustrow__promo svg { color: var(--hh-accent-dark) !important; font-weight: 500; }
.hh-usp__promo { background: linear-gradient(90deg, #fff1e0, #ffe3c2) !important; border: 1px dashed var(--hh-accent); }
.cart_totals .fee th, .woocommerce-checkout-review-order .fee th { font-weight: 600; }
.single-product .summary .hh-rcount { display: none; }
/* tags are used internally (Hot/Best Seller ribbons, homepage rows) but never shown to shoppers */
.product_meta .tagged_as, .wc-block-grid__product .tagged_as { display: none !important; }
.single-product form.cart .single_add_to_cart_button { flex: 1; }
.hh-recent { margin-top: 40px; }
.hh-recent h2 { font-size: 22px; margin-bottom: 16px; }
.hh-stickycart { display: none; position: fixed; left: 0; right: 0; bottom: 66px; z-index: 940; background: #fff; border-top: 1px solid var(--hh-line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); padding: 8px 14px; align-items: center; gap: 12px; transform: translateY(120%); transition: transform .3s; }
.hh-stickycart.is-visible { transform: none; }
.hh-stickycart img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.hh-stickycart__info { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; }
.hh-stickycart__info strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-stickycart__info span { color: var(--hh-accent-dark); font-weight: 700; }
.hh-stickycart .hh-btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 1024px) { .hh-stickycart { display: flex; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .hh-cats { grid-template-columns: repeat(5, 1fr); } .hh-dealgrid { grid-template-columns: 260px 1fr; } .hh-dealgrid .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .hh-hero__grid { grid-template-columns: 1fr; }
  .hh-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .hh-usp, .hh-features, .hh-testimonials { grid-template-columns: repeat(2, 1fr); }
  .hh-strip { grid-template-columns: 1fr; }
  .hh-gallery { grid-template-columns: repeat(3, 1fr); }
  .hh-dealgrid { grid-template-columns: 1fr; }
  .hh-dealgrid .wc-block-grid .wc-block-grid__products { grid-template-columns: repeat(4, 1fr); }
  .hh-spot { display: grid; grid-template-columns: 140px 1fr; gap: 0 16px; text-align: left; align-items: center; }
  .hh-spot img { margin: 0; grid-row: 1 / 6; }
  .hh-spot .hh-btn { width: auto; justify-self: start; }
  .hh-spot__badge { left: 16px; transform: none; }
  .hh-slider__prev, .hh-slider__next { display: none; }
}
@media (max-width: 768px) {
  /* horizontal, swipeable rows */
  .hh-cats { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hh-cats::-webkit-scrollbar { display: none; }
  .hh-cat { flex: 0 0 92px; scroll-snap-align: start; font-size: 12px; }
  .hh-grid .wc-block-grid .wc-block-grid__products, .hh-dealgrid .wc-block-grid .wc-block-grid__products { display: flex !important; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; }
  .hh-grid .wc-block-grid__products::-webkit-scrollbar { display: none; }
  .hh-grid .wc-block-grid__product, .hh-dealgrid .wc-block-grid__product { flex: 0 0 46% !important; max-width: 46% !important; scroll-snap-align: start; }
  .loop-button-wrap, .wc-block-grid__product-add-to-cart { position: static; transform: none; opacity: 1; margin-top: 8px; }
  .hh-ribbon { top: 10px; right: -34px; font-size: 9px; }
}
@media (max-width: 640px) {
  .hh-features, .hh-testimonials { grid-template-columns: 1fr; }
  .hh-usp { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hh-usp > div { padding: 10px 12px; font-size: 12px; gap: 8px; }
  .hh-usp svg { width: 22px; height: 22px; }
  .hh-hero__side { grid-template-columns: 1fr; }
  .hh-head h2 { font-size: 17px; }
  .hh-countdown { display: none; }
  .hh-seo, .hh-subscribe { padding: 20px; }
  .hh-gallery { grid-template-columns: repeat(2, 1fr); }
  .hh-spot { grid-template-columns: 110px 1fr; }
  .hh-trustrow { grid-template-columns: 1fr; }
  .hh-hero { padding-top: 10px; }
}
