/*
Theme Name: The Dry Company
Theme URI: https://thedrycompany.co
Author: Built for The Dry Company
Author URI: https://thedrycompany.co
Description: Fresh Minimal WooCommerce theme for The Dry Company — bright, clean, photography-led. Off-white palette, one confident green, Manrope + Fraunces italic accents. Fully responsive and WooCommerce-ready.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thedrycompany
WC requires at least: 7.0
WC tested up to: 9.0
*/

:root{
  --bg:#FBFBF8; --alt:#F1F5EF; --surface:#FFFFFF;
  --green:#2E8B4E; --green-hover:#256E3E; --green-soft:#E7F1E9;
  --ink:#16261C; --muted:#5C6B60; --line:#E7E9E2; --soft:#F0F2EC;
  --footer:#122E1F; --star:#E0A43B;
  --shadow:0 18px 40px -24px rgba(20,40,28,.28);
  --shadow-sm:0 8px 20px -16px rgba(20,40,28,.5);
  --r:16px;
  --display:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:"Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:"Fraunces", Georgia, serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--body);color:var(--ink);background:var(--bg);line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3{font-family:var(--display);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:var(--ink);margin:0 0 .4em}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.eyebrow{font-weight:700;letter-spacing:.18em;text-transform:uppercase;font-size:.72rem;color:var(--green)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;border:none;cursor:pointer;font-family:var(--body);font-weight:700;padding:.82em 1.6em;border-radius:11px;font-size:.94rem;transition:transform .15s,background .15s,box-shadow .15s;text-align:center}
.btn-terra,.btn-green{background:var(--green);color:#fff}
.btn-terra:hover,.btn-green:hover{background:var(--green-hover);color:#fff;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--green);color:var(--green)}

/* Promo */
.promo{background:var(--footer);color:#e8f0e6;text-align:center;font-size:.8rem;font-weight:600;padding:.55rem 1rem;letter-spacing:.01em}
.promo b{color:#bfe0c4}

/* Header */
.site-header{background:var(--bg);position:sticky;top:0;z-index:50;border-bottom:1px solid var(--line)}
.nav{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;padding:.5rem 24px;max-width:1180px;margin:0 auto}
.logo{display:flex;align-items:center;justify-self:start}
.logo-img,.custom-logo{height:96px!important;width:auto!important;object-fit:contain}
.logo .mark{font-family:var(--display);font-size:1.4rem;font-weight:800;color:var(--green)}
.menu-wrap{justify-self:center}
.menu{display:flex;gap:1.5rem;font-weight:600;font-size:.92rem;list-style:none;margin:0;padding:0}
.menu a{padding:.3rem 0;position:relative;color:var(--ink)}
.menu a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--green);transition:width .2s}
.menu a:hover::after{width:100%}
.menu .sub-menu{display:none}
.icons-wrap{justify-self:end;display:flex;align-items:center;gap:.3rem}
.icons{display:flex;gap:.2rem;align-items:center}
.icobtn{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:transparent;border:none;cursor:pointer;color:var(--ink);position:relative;transition:background .15s}
.icobtn:hover{background:var(--green-soft)}
.cartcount{position:absolute;top:5px;right:5px;background:var(--green);color:#fff;font-size:.6rem;font-weight:800;min-width:16px;height:16px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.burger{display:none}

/* Trust strip */
.trust{background:var(--surface);border-bottom:1px solid var(--line);overflow:hidden}
.trust-track{display:flex;gap:2.6rem;padding:.7rem 0;white-space:nowrap;animation:slide 30s linear infinite;width:max-content}
.trust-track span{font-weight:700;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:.55rem}
.trust-track span::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--green)}
@keyframes slide{to{transform:translateX(-50%)}}

/* Hero */
.hero{position:relative;overflow:hidden;background:var(--bg)}
.slide{display:none;padding:3rem 0}
.slide.active{display:block;animation:fade .5s ease}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.slide .wrap{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:2.5rem;min-height:360px}
.hero-art{display:grid;place-items:center;position:relative}
.plate{width:min(420px,100%);aspect-ratio:1;background:radial-gradient(circle at 50% 42%, #fff 0%, var(--soft) 78%);border-radius:26px;display:grid;place-items:center;padding:18px}
.plate img{width:100%;height:100%;object-fit:contain;border-radius:14px}
.hero-copy h1{font-size:clamp(2.1rem,4.8vw,3.3rem)}
.hero-copy h1 em{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--green);letter-spacing:0}
.hero-copy .sub{font-size:1.05rem;color:var(--muted);max-width:34ch;margin:1rem 0 1.6rem}
.hero-points{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;margin:0 0 1.6rem;padding:0}
.hero-points li{font-weight:600;font-size:.9rem;color:var(--ink);display:flex;align-items:center;gap:.45rem}
.hero-points li::before{content:"✓";display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:.62rem;font-weight:800}
.hero-cta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.dots{display:flex;gap:.5rem;justify-content:center;padding:1.4rem 0 .2rem}
.dot{width:8px;height:8px;border-radius:50%;background:var(--line);border:none;cursor:pointer;padding:0}
.dot.active{background:var(--green);width:24px;border-radius:5px}

/* Sections */
.block{padding:3.6rem 0}
.alt{background:var(--alt)}
.sec-head{text-align:center;margin-bottom:2rem}
.sec-head h2{font-size:clamp(1.7rem,3vw,2.3rem)}
.sec-head p{color:var(--muted);margin-top:.5rem}
.pills{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}
.pill{background:var(--surface);border:1.5px solid var(--line);border-radius:999px;padding:.55rem 1.2rem;font-weight:600;font-size:.85rem;color:var(--ink);transition:.15s}
.pill:hover{background:var(--green);color:#fff;border-color:var(--green)}

/* Product rail + grid + cards */
.rail{display:flex;gap:1.2rem;overflow-x:auto;padding:.4rem 2px 1.4rem;scroll-snap-type:x mandatory}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;list-style:none;margin:0;padding:0}
.card,.woocommerce ul.products li.product{background:var(--surface)!important;border:1px solid var(--line);border-radius:var(--r);padding:1rem;display:flex;flex-direction:column;min-width:230px;scroll-snap-align:start;transition:transform .18s,box-shadow .18s;position:relative;text-align:center;margin:0!important;width:auto!important}
.card:hover,.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.save{position:absolute;top:1rem;left:1rem;background:var(--green);color:#fff;font-size:.68rem;font-weight:800;padding:.22rem .5rem;border-radius:7px;z-index:2}
.rate{position:absolute;top:1rem;right:1rem;background:var(--surface);border:1px solid var(--line);font-size:.7rem;font-weight:800;padding:.18rem .45rem;border-radius:7px;color:var(--ink);z-index:2}
.rate b{color:var(--star)}
.thumb{aspect-ratio:1;border-radius:12px;background:var(--soft);display:grid;place-items:center;margin-bottom:.9rem;overflow:hidden}
.thumb img{width:100%;height:100%;object-fit:cover;margin:0}
.cat{font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--green);margin-bottom:.25rem}
.card h3,.woocommerce ul.products li.product h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--display)!important;font-weight:800!important;font-size:1rem!important;color:var(--ink);margin:0 0 .2rem!important;padding:0!important}
.card .desc{font-size:.82rem;color:var(--muted);margin-bottom:.7rem;flex:1}
.pricing,.woocommerce ul.products li.product .price{display:flex;justify-content:center;align-items:baseline;gap:.45rem;margin-bottom:.85rem;color:var(--ink)!important;font-size:1.02rem!important;font-weight:800}
.pricing .now{font-weight:800;color:var(--ink);font-size:1.02rem}
.pricing .was,.woocommerce ul.products li.product .price del{color:var(--muted)!important;text-decoration:line-through;font-size:.82rem;font-weight:600;opacity:1}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.addbtn,.woocommerce ul.products li.product .button{width:100%!important;justify-content:center;background:transparent!important;color:var(--green)!important;border:1.6px solid var(--green)!important;border-radius:11px!important;font-weight:700!important;padding:.65em 1em!important;margin-top:auto!important;display:block;text-align:center;transition:background .15s,color .15s}
.addbtn:hover,.woocommerce ul.products li.product .button:hover{background:var(--green)!important;color:#fff!important}
.woocommerce ul.products li.product a img{border-radius:12px;margin-bottom:.9rem;background:var(--soft)}

/* Why choose */
.why{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;text-align:center}
.why .ic{width:74px;height:74px;border-radius:50%;margin:0 auto .8rem;display:grid;place-items:center;background:var(--green-soft)}
.why h3{font-family:var(--display);font-weight:800;font-size:1rem;margin-bottom:.3rem}
.why p{font-size:.85rem;color:var(--muted);margin:0}

/* Shop by category */
.stages{display:flex;gap:1.6rem;justify-content:center;flex-wrap:wrap}
.stage{text-align:center;width:150px}
.stage .circle{width:120px;height:120px;border-radius:50%;margin:0 auto .7rem;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);transition:.18s}
.stage:hover .circle{transform:translateY(-4px);border-color:var(--green)}
.stage .lbl{font-weight:800;font-size:.92rem;color:var(--ink)}
.stage .age{font-size:.76rem;color:var(--muted);margin-top:.1rem}

/* Process */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.step{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;position:relative}
.step .num{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--green-soft);font-size:2.6rem;line-height:1;position:absolute;top:.6rem;right:1rem}
.step .sic{width:46px;height:46px;border-radius:12px;background:var(--green);display:grid;place-items:center;color:#fff;margin-bottom:.9rem}
.step h3{font-family:var(--display);font-weight:800;font-size:1rem;margin-bottom:.3rem}
.step p{font-size:.85rem;color:var(--muted);margin:0}

/* Testimonials */
.tcards{display:flex;gap:1.2rem;overflow-x:auto;padding-bottom:1rem;scroll-snap-type:x mandatory}
.tcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;min-width:290px;max-width:330px;scroll-snap-align:start}
.thead{display:flex;align-items:center;gap:.7rem;margin-bottom:.6rem}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--green-soft);display:grid;place-items:center;font-weight:800;color:var(--green);font-family:var(--display);overflow:hidden;flex:none}
.avatar img{width:100%;height:100%;object-fit:cover}
.tname{font-weight:800;font-size:.95rem}
.stars{color:var(--star);font-size:.82rem}
.tprod{font-size:.72rem;font-weight:700;color:var(--green);text-transform:uppercase;letter-spacing:.06em;margin:.35rem 0}
.tcard .body{font-size:.9rem;color:var(--muted);margin:0}

/* Story */
.story{display:grid;grid-template-columns:1fr 1.1fr;gap:2.5rem;align-items:center}
.story-img{aspect-ratio:4/3;border-radius:20px;background:var(--soft);display:grid;place-items:center;overflow:hidden}
.story-img img{width:100%;height:100%;object-fit:cover}
.story h2{font-size:clamp(1.8rem,3vw,2.4rem)}
.story h2 em,.story .accent{font-family:var(--serif);font-style:italic;font-weight:500;color:var(--green)}
.story p{color:var(--muted);margin:0 0 .8rem}

/* Footer */
.site-footer{background:var(--footer);color:#cfe0d2;padding:3.4rem 0 1.6rem;margin-top:0}
.fgrid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:1.8rem}
.site-footer .mark{font-family:var(--display);font-size:1.4rem;font-weight:800;color:#fff}
.flogo-chip{display:inline-flex;background:#fff;border-radius:14px;padding:.5rem .8rem}
.flogo-chip img{height:60px;width:auto}
.site-footer .blurb{font-size:.86rem;opacity:.8;margin:.7rem 0 1rem;max-width:30ch}
.site-footer h4{font-family:var(--display);font-weight:800;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:#fff;margin-bottom:.8rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:.5rem}
.site-footer a{font-size:.88rem;opacity:.82}
.site-footer a:hover{opacity:1;color:#fff}
.social{display:flex;gap:.5rem;margin-top:.7rem}
.social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center;color:#fff}
.social a:hover{background:var(--green)}
.fbottom{border-top:1px solid rgba(255,255,255,.15);margin-top:2.2rem;padding-top:1.3rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;font-size:.78rem;opacity:.75}

/* WooCommerce pages */
.page-shell{max-width:1180px;margin:0 auto;padding:2.6rem 24px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:1.2rem}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.woocommerce-page .woocommerce a.button,.woocommerce a.button,.woocommerce button.button,.woocommerce #respond input#submit,.woocommerce .single_add_to_cart_button{background:var(--green)!important;color:#fff!important;border-radius:11px!important;font-weight:700!important}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce .single_add_to_cart_button:hover{background:var(--green-hover)!important}
.woocommerce span.onsale{background:var(--green)!important;border-radius:7px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)!important}
.entry-title,.woocommerce-products-header__title{font-family:var(--display)}

/* Responsive */
@media(max-width:1000px){
  .grid,.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:860px){
  .nav{grid-template-columns:auto 1fr auto}
  .menu-wrap{display:none}
  .burger{display:grid}
  .grid,.why,.steps,.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
  .fgrid{grid-template-columns:1fr 1fr}
  .slide .wrap{grid-template-columns:1fr;text-align:center;gap:1.6rem}
  .hero-art{order:-1}
  .plate{width:min(320px,80%)}
  .hero-points,.hero-cta{justify-content:center}
  .hero-copy .sub{margin-left:auto;margin-right:auto}
  .story{grid-template-columns:1fr;gap:1.6rem}
  .logo-img,.custom-logo{height:72px!important}
}
@media(max-width:540px){
  .wrap,.page-shell{padding-left:16px;padding-right:16px}
  .block{padding:2.6rem 0}
  .grid,.why,.woocommerce ul.products{grid-template-columns:1fr 1fr;gap:.8rem}
  .steps,.fgrid{grid-template-columns:1fr}
  .card,.woocommerce ul.products li.product{min-width:0;padding:.7rem}
  .card h3{font-size:.92rem!important}
  .hero-copy h1{font-size:1.9rem}
  .stage{width:44%}
  .icobtn{width:38px;height:38px}
  .promo{font-size:.72rem}
}
@media(prefers-reduced-motion:reduce){.trust-track,.slide.active{animation:none}}
