/* ==========================================================================
   TinyHug — main stylesheet
   Palette (overridable via Customizer -> Brand Colors):
   green #4f7043 · deep #3b5e30 · deeper #2e4526 · peach #f5d5c7
   cream #f7efc9 · mint #edf4e7 · ink #2f3d27 · sale #c85c4a
   ========================================================================== */
:root{
	--th-green:#4f7043;--th-green-dark:#3b5e30;--th-green-deep:#2e4526;
	--th-peach:#f5d5c7;--th-cream:#f7efc9;--th-mint:#edf4e7;
	--th-ink:#2f3d27;--th-sale:#c85c4a;
	--th-white:#ffffff;--th-paper:#fbfaf5;--th-line:#e7e3d5;--th-muted:#7d8672;
	--th-radius:18px;--th-radius-sm:12px;--th-radius-lg:28px;
	--th-shadow:0 10px 30px -12px rgba(46,69,38,.28);
	--th-shadow-sm:0 4px 14px -6px rgba(46,69,38,.22);
	--th-font:'Nunito Sans',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
	--th-head:'Baloo 2',var(--th-font);
	--th-maxw:1200px;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:var(--th-font);color:var(--th-ink);background:var(--th-paper);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--th-head);color:var(--th-green-deep);line-height:1.15;margin:0 0 .4em;font-weight:700}
a{color:var(--th-green-dark);text-decoration:none}
a:hover{color:var(--th-green-deep)}
img{max-width:100%;height:auto;display:block}
p{margin:0 0 1em}
.th-container{max-width:var(--th-maxw);margin:0 auto;padding:0 20px;width:100%}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:8px;top:8px;background:#fff;padding:10px 16px;border-radius:8px;z-index:9999}

/* Buttons -------------------------------------------------------------- */
.th-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font-family:var(--th-head);font-weight:600;font-size:16px;padding:.72em 1.5em;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:.18s ease;line-height:1;text-align:center}
.th-btn-lg{padding:.95em 2em;font-size:18px}
.th-btn-block{display:flex;width:100%}
.th-btn-primary{background:var(--th-green);color:#fff;box-shadow:var(--th-shadow-sm)}
.th-btn-primary:hover{background:var(--th-green-deep);color:#fff;transform:translateY(-2px)}
.th-btn-outline{background:transparent;color:var(--th-green-dark);border-color:var(--th-green)}
.th-btn-outline:hover{background:var(--th-green);color:#fff}
.th-btn-cream{background:var(--th-cream);color:var(--th-green-deep)}
.th-btn-cream:hover{background:#fff;color:var(--th-green-deep);transform:translateY(-2px)}

/* Icons & stars -------------------------------------------------------- */
.th-icon{flex:none;vertical-align:middle}
.th-stars{display:inline-flex;gap:1px;color:#e7c14b;font-size:16px;line-height:1}
.th-star{color:#d9d4c2}
.th-star.is-on{color:#f0b429}

/* Announcement --------------------------------------------------------- */
.th-announcement{background:var(--th-green-deep);color:var(--th-cream);font-family:var(--th-head);font-weight:600;font-size:14px;overflow:hidden;white-space:nowrap}
.th-marquee{display:inline-flex;gap:48px;padding:9px 0;animation:th-marquee 26s linear infinite}
.th-marquee span{display:inline-flex;align-items:center;gap:8px}
.th-marquee .th-icon{color:var(--th-peach)}
@keyframes th-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Header --------------------------------------------------------------- */
.site-header{position:sticky;top:0;z-index:200;background:rgba(251,250,245,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--th-line)}
.th-header-inner{display:flex;align-items:center;gap:20px;min-height:88px}
.site-branding{display:flex;align-items:center}
.custom-logo{max-height:74px;width:auto}
.site-title{font-family:var(--th-head);font-weight:800;font-size:26px;margin:0}
.site-title a{color:var(--th-green-deep)}
.th-main-nav{margin-left:8px}
.th-menu{display:flex;gap:26px;list-style:none;margin:0;padding:0}
.th-menu a{font-family:var(--th-head);font-weight:600;color:var(--th-green-deep);padding:6px 0;position:relative}
.th-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:2px;background:var(--th-peach);transition:right .22s}
.th-menu a:hover:after{right:0}
.th-menu .sub-menu{display:none}
.th-header-actions{margin-left:auto;display:flex;align-items:center;gap:6px}
.th-icon-btn{position:relative;background:transparent;border:0;color:var(--th-green-deep);width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:.15s}
.th-icon-btn:hover{background:var(--th-mint)}
.th-cart-count{position:absolute;top:4px;right:2px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--th-sale);color:#fff;font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;font-family:var(--th-head)}
.th-nav-toggle{display:none;flex-direction:column;gap:5px;background:transparent;border:0;cursor:pointer;padding:8px}
.th-nav-toggle span{width:24px;height:2.5px;background:var(--th-green-deep);border-radius:2px;transition:transform .25s,opacity .25s}
.th-nav-close{display:none}
.th-search-bar{border-top:1px solid var(--th-line);background:#fff;padding:16px 0}
.th-search-form{display:flex;align-items:center;gap:10px;position:relative}
.th-search-form .th-icon{color:var(--th-muted)}
.th-search-field{flex:1;border:2px solid var(--th-line);border-radius:999px;padding:12px 18px;font:inherit;background:var(--th-paper)}
.th-search-field:focus{outline:none;border-color:var(--th-green)}

/* Hero ----------------------------------------------------------------- */
.th-hero{background:linear-gradient(160deg,var(--th-mint) 0%,var(--th-peach) 120%);position:relative;overflow:hidden}
.th-hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center;padding:64px 20px 72px}
.th-eyebrow{display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--th-green-dark);font-family:var(--th-head);font-weight:600;font-size:14px;padding:7px 15px;border-radius:999px;box-shadow:var(--th-shadow-sm);margin-bottom:18px}
.th-eyebrow .th-icon{color:var(--th-sale)}
.th-hero-title{font-size:clamp(34px,5vw,58px);font-weight:800;letter-spacing:-.5px}
.th-hero-sub{font-size:19px;color:#4a5540;max-width:30em}
.th-hero-cta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:24px 0 18px}
.th-hero-rating{font-size:14px;color:#4a5540;display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.th-hero-rating b{color:var(--th-green-deep)}
.th-hero-usps{list-style:none;display:flex;gap:20px;flex-wrap:wrap;padding:0;margin:0;font-family:var(--th-head);font-weight:600;color:var(--th-green-deep)}
.th-hero-usps li{display:inline-flex;align-items:center;gap:7px}
.th-hero-usps .th-icon{color:var(--th-green)}
.th-hero-media{position:relative}
.th-hero-media img{border-radius:var(--th-radius-lg);box-shadow:var(--th-shadow);width:100%;object-fit:cover;aspect-ratio:4/3;background:#fff}
.th-hero-placeholder{border-radius:var(--th-radius-lg);background:#fff;aspect-ratio:4/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--th-peach);box-shadow:var(--th-shadow);text-align:center;padding:24px}
.th-hero-placeholder span{color:var(--th-muted);font-size:14px;max-width:20em}
.th-hero-badge{position:absolute;right:-8px;top:-14px;background:var(--th-sale);color:#fff;border-radius:50%;width:104px;height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:var(--th-shadow);transform:rotate(9deg);font-family:var(--th-head)}
.th-hero-badge b{font-size:15px;line-height:1.1;padding:0 8px}
.th-hero-badge small{font-size:11px;opacity:.9}

/* Press ---------------------------------------------------------------- */
.th-press{background:#fff;border-bottom:1px solid var(--th-line);padding:22px 0}
.th-press-label{text-align:center;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;color:var(--th-muted);margin:0 0 12px}
.th-press-track{display:flex;gap:52px;overflow:hidden;justify-content:center;flex-wrap:wrap}
.th-press-logo{font-family:var(--th-head);font-weight:700;font-size:22px;color:#b7bfa8;letter-spacing:.03em;opacity:.9}

/* Sections ------------------------------------------------------------- */
.th-section{padding:70px 0}
.th-section-head{text-align:center;max-width:640px;margin:0 auto 42px}
.th-kicker{display:inline-block;font-family:var(--th-head);font-weight:600;color:var(--th-sale);letter-spacing:.05em;text-transform:uppercase;font-size:13px;margin-bottom:8px}
.th-section-title{font-size:clamp(28px,3.6vw,40px)}
.th-section-sub{color:#5a6350;font-size:17px}
.th-section-cta{text-align:center;margin-top:38px}
.th-bestsellers{background:var(--th-paper)}

/* Product grid & cards ------------------------------------------------- */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.th-product-card{position:relative;background:#fff;border:1px solid var(--th-line);border-radius:var(--th-radius);overflow:hidden;transition:.2s;display:flex;flex-direction:column}
.th-product-card:hover{box-shadow:var(--th-shadow);transform:translateY(-4px)}
.th-card-media{position:relative;background:var(--th-mint);aspect-ratio:1/1;overflow:hidden}
.th-card-media img{width:100%;height:100%;object-fit:cover;transition:.4s}
.th-product-card:hover .th-card-media img{transform:scale(1.06)}
.th-badge{position:absolute;z-index:3;font-family:var(--th-head);font-weight:700;font-size:13px;padding:5px 11px;border-radius:999px}
.th-badge-sale{top:12px;left:12px;background:var(--th-sale);color:#fff;box-shadow:var(--th-shadow-sm)}
.th-card-quickadd{position:absolute;left:12px;right:12px;bottom:12px;transform:translateY(140%);opacity:0;transition:.24s}
.th-product-card:hover .th-card-quickadd{transform:none;opacity:1}
.th-quickadd-btn,.th-card-quickadd .button{width:100%;display:flex;background:var(--th-green);color:#fff;border-radius:999px;font-family:var(--th-head);font-weight:600;padding:.7em 1em;border:0;justify-content:center;cursor:pointer}
.th-quickadd-btn:hover,.th-card-quickadd .button:hover{background:var(--th-green-deep);color:#fff}
.th-card-quickadd .added{display:none}
.th-card-body{padding:16px 16px 20px;display:flex;flex-direction:column;gap:7px;flex:1}
.th-card-title{font-size:17px;font-weight:600;margin:0;color:var(--th-green-deep);font-family:var(--th-head)}
.th-card-rating{display:flex;align-items:center;gap:6px}
.th-card-rcount{font-size:12px;color:var(--th-muted)}
.th-card-price{margin-top:auto;font-family:var(--th-head);font-weight:700;color:var(--th-green-deep);font-size:18px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.th-card-price del{color:var(--th-muted);font-weight:400;font-size:15px}
.th-card-price ins{text-decoration:none;color:var(--th-sale)}
.th-card-save{background:var(--th-cream);color:var(--th-green-deep);font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px}

/* Placeholder grid (no WC) -------------------------------------------- */
.th-placeholder-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.th-placeholder-card{background:#fff;border:1px solid var(--th-line);border-radius:var(--th-radius);padding:16px}
.th-ph-img{aspect-ratio:1/1;background:var(--th-mint);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--th-peach);margin-bottom:14px}
.th-ph-line{display:block;height:12px;border-radius:6px;background:var(--th-line);margin:8px 0}
.th-ph-line.short{width:55%}
.th-notice{grid-column:1/-1;text-align:center;color:var(--th-muted);font-size:14px;margin-top:8px}

/* Spotlight ------------------------------------------------------------ */
.th-spotlight{background:var(--th-mint)}
.th-spotlight-inner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.th-spotlight-media{position:relative}
.th-spotlight-ph{aspect-ratio:1/1;border-radius:var(--th-radius-lg);background:linear-gradient(150deg,var(--th-peach),var(--th-cream));display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:var(--th-shadow)}
.th-spotlight-tag{position:absolute;top:16px;left:16px;background:#fff;color:var(--th-green-dark);font-family:var(--th-head);font-weight:700;padding:6px 14px;border-radius:999px;box-shadow:var(--th-shadow-sm)}
.th-feature-list{list-style:none;padding:0;margin:22px 0 28px;display:flex;flex-direction:column;gap:14px}
.th-feature-list li{display:flex;align-items:center;gap:12px;font-weight:600;color:var(--th-green-deep)}
.th-feature-list .th-icon{flex:none;background:#fff;color:var(--th-green);padding:8px;border-radius:50%;width:38px;height:38px;box-shadow:var(--th-shadow-sm)}

/* Testimonials --------------------------------------------------------- */
.th-testimonials{background:var(--th-paper)}
.th-review-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.th-review{margin:0;background:#fff;border:1px solid var(--th-line);border-radius:var(--th-radius);padding:24px 22px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--th-shadow-sm)}
.th-review-title{font-family:var(--th-head);font-weight:700;color:var(--th-green-deep);font-size:17px}
.th-review blockquote{margin:0;color:#4a5540;font-size:15px}
.th-review cite{font-style:normal;font-weight:700;color:var(--th-green-deep);font-size:14px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}
.th-verified{display:inline-flex;align-items:center;gap:4px;font-weight:600;color:var(--th-green);font-size:12px}
.th-verified .th-icon{color:var(--th-green)}

/* Guarantee ------------------------------------------------------------ */
.th-guarantee{background:linear-gradient(160deg,var(--th-green) 0%,var(--th-green-deep) 100%);color:#fff}
.th-guarantee-inner{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.th-guarantee h2{color:#fff}
.th-guarantee p{color:rgba(255,255,255,.9);max-width:44em}
.th-guarantee-seal{flex:none;width:150px;height:150px;border-radius:50%;background:rgba(255,255,255,.12);border:2px dashed var(--th-cream);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--th-cream)}
.th-guarantee-seal b{font-family:var(--th-head);font-size:34px;line-height:1}
.th-guarantee-seal small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;text-align:center;line-height:1.3;max-width:120px;padding:0 6px}

/* Trust strip ---------------------------------------------------------- */
.th-trust-strip{background:var(--th-cream)}
.th-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;padding:38px 20px}
.th-trust-item{text-align:center}
.th-trust-item .th-icon{color:var(--th-green);margin-bottom:8px}
.th-trust-item h4{margin:0 0 4px;font-size:16px}
.th-trust-item p{margin:0;font-size:13px;color:#5a6350}

/* Footer --------------------------------------------------------------- */
.site-footer{background:var(--th-green-deep);color:rgba(255,255,255,.82)}
.th-footer-top{display:grid;grid-template-columns:1.3fr 2fr;gap:40px;padding:56px 20px 40px}
.site-footer .site-title a,.site-footer .site-title{color:#fff}
.th-footer-tag{margin:14px 0 18px;max-width:26em;color:rgba(255,255,255,.72)}
.th-pay-icons{display:flex;gap:8px;flex-wrap:wrap}
.th-pay-icons span{background:rgba(255,255,255,.12);border-radius:6px;padding:5px 10px;font-size:12px;font-weight:700;letter-spacing:.02em}
.th-footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.site-footer .widget-title{color:#fff;font-size:16px;margin:0 0 14px}
.th-footer-menu,.site-footer .menu,.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:9px}
.site-footer a{color:rgba(255,255,255,.78)}
.site-footer a:hover{color:var(--th-cream)}
.th-footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding:18px 20px;font-size:13px;color:rgba(255,255,255,.6)}

/* Cart drawer ---------------------------------------------------------- */
.th-drawer-overlay{position:fixed;inset:0;background:rgba(46,69,38,.42);z-index:900;opacity:0;transition:.25s}
.th-drawer-overlay.is-open{opacity:1}
.th-cart-drawer{position:fixed;top:0;right:0;height:100%;width:400px;max-width:92vw;background:var(--th-paper);z-index:950;box-shadow:-16px 0 40px -18px rgba(0,0,0,.4);transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column}
.th-cart-drawer.is-open{transform:none}
.th-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--th-line)}
.th-drawer-head h3{margin:0;font-size:20px}
.th-drawer-close{background:transparent;border:0;color:var(--th-green-deep);cursor:pointer;padding:6px;border-radius:50%}
.th-drawer-close:hover{background:var(--th-mint)}
.th-drawer-body{flex:1;overflow-y:auto;display:flex;flex-direction:column}
.th-ship-progress{padding:16px 20px;background:var(--th-mint);font-size:14px}
.th-ship-progress p{margin:0 0 8px;color:var(--th-green-deep)}
.th-ship-progress .is-unlocked{font-weight:700}
.th-progress-track{height:8px;border-radius:999px;background:#fff;overflow:hidden}
.th-progress-track span{display:block;height:100%;background:var(--th-green);transition:width .4s}
.th-drawer-items{list-style:none;margin:0;padding:8px 20px;display:flex;flex-direction:column;gap:14px}
.th-drawer-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:start;padding-bottom:14px;border-bottom:1px solid var(--th-line)}
.th-di-thumb img{width:64px;height:64px;object-fit:cover;border-radius:12px}
.th-di-name{font-weight:600;color:var(--th-green-deep);font-size:14px;display:block;margin-bottom:8px}
.th-qty{display:inline-flex;align-items:center;border:1px solid var(--th-line);border-radius:999px;overflow:hidden;background:#fff}
.th-qty-btn{background:transparent;border:0;width:28px;height:28px;cursor:pointer;color:var(--th-green-deep);font-size:16px;line-height:1}
.th-qty-btn:hover{background:var(--th-mint)}
.th-qty-n{min-width:26px;text-align:center;font-weight:700;font-size:14px}
.th-di-right{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.th-di-price{font-family:var(--th-head);font-weight:700;color:var(--th-green-deep);font-size:14px}
.th-di-remove{background:transparent;border:0;color:var(--th-muted);cursor:pointer;font-size:18px;line-height:1}
.th-di-remove:hover{color:var(--th-sale)}
.th-ship-protect{display:flex;align-items:center;gap:12px;margin:6px 20px 0;padding:14px;background:#fff;border:1px solid var(--th-line);border-radius:14px;cursor:pointer}
.th-ship-protect input{width:20px;height:20px;accent-color:var(--th-green)}
.th-sp-body{display:flex;flex-direction:column;flex:1}
.th-sp-body b{font-size:14px;color:var(--th-green-deep)}
.th-sp-body small{color:var(--th-muted);font-size:12px}
.th-sp-price{font-family:var(--th-head);font-weight:700;color:var(--th-green-deep)}
.th-drawer-foot{margin-top:auto;padding:18px 20px;border-top:1px solid var(--th-line);background:#fff}
.th-drawer-subtotal{display:flex;justify-content:space-between;align-items:center;font-size:16px;margin-bottom:14px}
.th-drawer-subtotal b{font-family:var(--th-head);font-size:20px;color:var(--th-green-deep)}
.th-drawer-view-cart{display:block;text-align:center;margin-top:12px;font-size:14px;color:var(--th-muted);text-decoration:underline}
.th-drawer-empty{padding:60px 20px;text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;color:var(--th-muted)}

/* Single product & countdown ------------------------------------------ */
.th-woo,.th-content-layout,.th-single,.th-404{padding-top:40px;padding-bottom:60px}
.th-content-layout{display:grid;grid-template-columns:1fr 300px;gap:40px}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.woocommerce div.product .product_title{font-size:32px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--th-green-deep);font-family:var(--th-head);font-weight:700;font-size:26px}
.woocommerce div.product p.price del{color:var(--th-muted);font-weight:400;font-size:18px}
.woocommerce div.product p.price ins{text-decoration:none;color:var(--th-sale)}
.woocommerce div.product form.cart{margin-top:18px}
.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce .button{background:var(--th-green);color:#fff;border-radius:999px;font-family:var(--th-head);font-weight:600;padding:.75em 1.6em;border:0;transition:.18s}
.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce .button:hover{background:var(--th-green-deep);color:#fff}
.woocommerce div.product form.cart .button.single_add_to_cart_button{width:100%;padding:1em;font-size:18px}
.th-countdown{display:flex;align-items:center;gap:14px;background:var(--th-cream);border-radius:14px;padding:12px 16px;margin:18px 0;font-family:var(--th-head)}
.th-countdown-label{font-weight:600;color:var(--th-green-deep)}
.th-countdown-clock{display:inline-flex;gap:4px;font-weight:800;color:var(--th-sale);font-size:20px;letter-spacing:.02em}
.th-countdown-clock b{background:#fff;border-radius:8px;padding:4px 8px;min-width:38px;text-align:center;display:inline-block}
.th-assurances{list-style:none;margin:18px 0 0;padding:16px;border:1px dashed var(--th-line);border-radius:14px;display:flex;flex-direction:column;gap:10px}
.th-assurances li{display:flex;align-items:center;gap:10px;font-weight:600;color:var(--th-green-deep);font-size:14px}
.th-assurances .th-icon{color:var(--th-green)}
.woocommerce span.onsale{background:var(--th-sale);border-radius:999px;font-family:var(--th-head)}

/* Misc content --------------------------------------------------------- */
.th-page-head{margin-bottom:28px}
.th-page-title{font-size:34px}
.th-post-card{background:#fff;border:1px solid var(--th-line);border-radius:var(--th-radius);overflow:hidden;margin-bottom:26px}
.th-post-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}
.th-post-body{padding:22px}
.th-sidebar .widget{background:#fff;border:1px solid var(--th-line);border-radius:var(--th-radius);padding:20px;margin-bottom:20px}
.widget-title{font-size:17px;margin:0 0 12px}
.th-404{text-align:center;padding:90px 20px}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--th-green)!important;border-radius:12px}
.woocommerce ul.products li.product .price{color:var(--th-green-deep)}
.th-review-grid,.th-trust-grid,ul.products,.th-footer-cols{}

/* Responsive ----------------------------------------------------------- */
@media(max-width:1024px){
	ul.products,.th-placeholder-grid,.th-review-grid{grid-template-columns:repeat(2,1fr)}
	.th-trust-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
	.th-nav-toggle{display:flex}
	/* backdrop-filter on the header makes it the containing block for fixed
	   children, which clipped the slide-in menu/overlay. Disable on mobile. */
	.site-header{backdrop-filter:none;-webkit-backdrop-filter:none}
	/* Slide-in menu from the LEFT */
	.th-main-nav{position:fixed;inset:0 auto 0 0;width:288px;max-width:84vw;background:#fff;transform:translateX(-100%);visibility:hidden;transition:transform .3s cubic-bezier(.4,0,.2,1),visibility .3s;z-index:960;padding:70px 22px 28px;box-shadow:16px 0 44px -18px rgba(0,0,0,.32);overflow-y:auto;-webkit-overflow-scrolling:touch}
	.th-main-nav.is-open{transform:none;visibility:visible}
	.th-nav-close{display:flex;position:absolute;top:14px;right:14px;align-items:center;justify-content:center;width:40px;height:40px;background:var(--th-mint);border:0;border-radius:50%;color:var(--th-green-deep);cursor:pointer}
	.th-menu{flex-direction:column;gap:0}
	.th-menu a{padding:13px 2px;border-bottom:1px solid var(--th-line);display:block;font-size:16px}
	.th-menu a:after{display:none}
	.th-menu .sub-menu{display:block;list-style:none;margin:0;padding:0 0 0 14px}
	.th-menu .sub-menu a{font-weight:500;font-size:15px;color:var(--th-muted)}
	.th-nav-overlay{position:fixed;inset:0;background:rgba(46,69,38,.42);z-index:940;opacity:0;transition:opacity .28s}
	.th-nav-overlay.is-open{opacity:1}
	body.th-nav-open .site-header{z-index:960}
	body.th-nav-open .th-nav-toggle{opacity:0;pointer-events:none}
	.th-hero-inner,.th-spotlight-inner,.th-content-layout{grid-template-columns:1fr}
	.woocommerce div.product{grid-template-columns:1fr}
	.th-footer-top{grid-template-columns:1fr}
	.th-hero-media{order:-1}
}
@media(max-width:560px){
	ul.products,.th-placeholder-grid,.th-review-grid,.th-trust-grid,.th-footer-cols{grid-template-columns:1fr}
	.th-section{padding:48px 0}
	.th-hero-inner{padding:40px 20px 48px}
	.th-guarantee-inner{flex-direction:column;text-align:center}
}

/* ==========================================================================
   v1.1 — live-site fixes & new features
   ========================================================================== */

/* Prevent the "zoomed / horizontal scroll" feel on mobile */
html,body{overflow-x:hidden;max-width:100%}

/* WooCommerce ships float-based widths (li.product 22%, gallery/summary 48%)
   that fight our grid/flex and collapse the cards. Neutralise them. */
.woocommerce ul.products li.product,
ul.products li.product{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product{display:block}
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary,
.woocommerce div.product .entry-summary{width:100%!important;float:none!important;margin:0!important;clear:none!important}
.woocommerce div.product .woocommerce-product-gallery__image img{border-radius:var(--th-radius)}

/* Shop grid: comfortable cards even with only a few products */
ul.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}

/* Card price: keep range / del-ins inline instead of stacking on 3 lines */
.th-card-price{display:block;line-height:1.5}
.th-card-price del{margin-right:5px}
.th-card-price ins{margin-right:4px}
.th-card-price .th-card-save{display:inline-block;vertical-align:middle;margin-left:6px}
.th-card-price .amount{white-space:nowrap}

/* Brand strip -> auto-scrolling marquee */
.th-press .th-container{overflow:hidden}
.th-press-track{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:52px;width:max-content;animation:th-press-scroll 22s linear infinite}
.th-press-track:hover{animation-play-state:paused}
.th-press-logo{flex:none}
@keyframes th-press-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Sticky add-to-cart bar (single product) */
.th-sticky-atc{position:fixed;left:0;right:0;bottom:0;z-index:840;background:#fff;border-top:1px solid var(--th-line);box-shadow:0 -8px 24px -14px rgba(46,69,38,.35);transform:translateY(110%);transition:transform .28s cubic-bezier(.4,0,.2,1);padding:10px 0}
.th-sticky-atc.is-visible{transform:none}
.th-sticky-atc-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.th-sticky-atc-info{display:flex;align-items:center;gap:12px;min-width:0}
.th-sticky-atc-info img{width:48px;height:48px;object-fit:cover;border-radius:10px;flex:none}
.th-sticky-atc-name{display:block;font-family:var(--th-head);font-weight:700;color:var(--th-green-deep);font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46vw}
.th-sticky-atc-price{font-weight:700;color:var(--th-green-deep)}
.th-sticky-atc-price del{color:var(--th-muted);font-weight:400;margin-right:4px}
.th-sticky-atc-price ins{text-decoration:none;color:var(--th-sale)}
.th-sticky-atc-btn{flex:none;padding:.8em 1.8em}

/* Mobile bottom navigation bar */
.th-bottom-nav{display:none}
.th-bottom-nav a,.th-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:1;background:transparent;border:0;color:var(--th-green-deep);font-family:var(--th-head);font-weight:600;font-size:11px;cursor:pointer;padding:6px 0;position:relative;text-decoration:none}
.th-bottom-nav .th-icon{color:var(--th-green-deep)}
.th-bottom-nav .th-bn-count{position:absolute;top:2px;right:calc(50% - 20px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--th-sale);color:#fff;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center}

/* ---- Responsive overrides (after base media queries) ---- */
@media(max-width:860px){
	.th-header-inner{position:relative;justify-content:space-between}
	.site-branding{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0}
	.site-branding .custom-logo{max-height:56px}
	.th-header-actions{gap:0;margin-left:0}
	.th-nav-toggle{margin-right:auto}
	.th-icon-btn{width:38px;height:38px}
	.th-cart-count{top:2px;right:0}
	body{padding-bottom:62px}
	.th-bottom-nav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:850;background:#fff;border-top:1px solid var(--th-line);box-shadow:0 -6px 20px -12px rgba(46,69,38,.3);padding:2px 4px}
	.th-sticky-atc{bottom:60px}
	.th-sticky-atc-btn{padding:.72em 1.3em;font-size:15px}
	.th-sticky-atc-name{max-width:38vw}
}
@media(max-width:560px){
	.th-hero-title{font-size:30px}
	.th-section-title{font-size:26px}
}

/* ==========================================================================
   v1.1.1 — product thumbnails + mobile product layout
   ========================================================================== */

/* Professional gallery thumbnail row (override WooCommerce's floated 22% thumbs) */
.woocommerce div.product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px;margin:14px 0 0;padding:0;list-style:none;overflow:visible}
.woocommerce div.product .flex-control-thumbs li{float:none!important;width:auto!important;margin:0!important;list-style:none}
.woocommerce div.product .flex-control-thumbs img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:2px solid var(--th-line);opacity:.65;cursor:pointer;transition:.15s ease}
.woocommerce div.product .flex-control-thumbs img:hover{opacity:1;border-color:var(--th-peach)}
.woocommerce div.product .flex-control-thumbs img.flex-active{opacity:1;border-color:var(--th-green)}

/* Give the main gallery image a soft frame */
.woocommerce div.product .woocommerce-product-gallery{background:transparent}
.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0}
.woocommerce div.product .flex-viewport{border-radius:var(--th-radius);overflow:hidden;background:var(--th-mint)}

/* ---- Mobile: product must stack to a single column ---- */
@media(max-width:860px){
	.woocommerce div.product{grid-template-columns:1fr!important;gap:22px}
	.woocommerce div.product .woocommerce-product-gallery,
	.woocommerce div.product .summary,
	.woocommerce div.product .entry-summary{width:100%!important}
	.woocommerce div.product .flex-control-thumbs{grid-template-columns:repeat(auto-fill,minmax(56px,1fr))}
	.woocommerce div.product .product_title{font-size:26px}
	.single-product .th-woo,.single-product .th-container{padding-left:16px;padding-right:16px}
}

/* ==========================================================================
   v1.1.2 — full-width tabs + sticky gallery (desktop only)
   ========================================================================== */

/* Gallery + summary share a two-column row; tabs/related sit full width below */
.th-product-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:start}
.woocommerce div.product .th-product-top .woocommerce-product-gallery,
.woocommerce div.product .th-product-top .summary,
.woocommerce div.product .th-product-top .entry-summary{width:100%!important;float:none!important;margin:0!important}

/* Tabs, up-sells and related now span the full content width */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .up-sells,
.woocommerce div.product .related,
.woocommerce div.product .woocommerce-product-gallery + .woocommerce-tabs{width:100%;margin-top:48px;clear:both}
.woocommerce div.product .related.products ul.products,
.woocommerce div.product .up-sells ul.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}

/* Sticky gallery — DESKTOP ONLY (disabled at <=860px) */
@media(min-width:861px){
	.th-product-top .woocommerce-product-gallery{position:sticky!important;top:96px!important;align-self:start}
}
@media(max-width:860px){
	.th-product-top{grid-template-columns:1fr;gap:22px}
	.th-product-top .woocommerce-product-gallery{position:static!important;top:auto!important}
}

/* ==========================================================================
   v1.1.4 — legal links + builder homepage
   ========================================================================== */
.th-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.th-legal-links{display:flex;gap:18px;flex-wrap:wrap}
.th-legal-links a{color:rgba(255,255,255,.72);font-size:13px}
.th-legal-links a:hover{color:var(--th-cream)}
/* When the homepage is built with a page builder, don't impose section spacing */
.th-home-builder{padding:0}
@media(max-width:560px){.th-footer-bottom{justify-content:center;text-align:center}}

/* ==========================================================================
   v1.2.5 — product feature card: stack the 4 coloured circles on mobile
   (the Elementor block is a horizontal flex row that squished on phones)
   ========================================================================== */
@media(max-width:767px){
	.single-product div[style*="border-radius: 24px"][style*="display: flex"]{flex-direction:column!important;align-items:stretch!important;gap:16px!important}
	.single-product div[style*="border-radius: 24px"][style*="display: flex"] > div{width:100%!important;max-width:100%!important;padding-right:0!important;margin:0!important}
}
