
:root{
  --bg:#f7f4ee;
  --bg-alt:#efe7da;
  --surface:#fffdf8;
  --text:#2b241b;
  --muted:#6c6257;
  --line:#e6dccf;
  --primary:#4d6b33;
  --primary-deep:#365020;
  --accent:#c17a2c;
  --accent-soft:#fff3e2;
  --danger:#a6412f;
  --shadow:0 18px 45px rgba(59,41,19,.10);
  --radius:20px;
  --container:min(1180px, calc(100% - 2rem));
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,sans-serif;color:var(--text);background:linear-gradient(180deg,#f9f7f2 0,#fff 240px,#f3eee5 100%)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.container{width:var(--container);margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,250,242,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(230,220,207,.85)}
.topbar{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.7rem 0;font-size:.92rem;color:var(--muted)}
.topbar-left,.topbar-right,.header-socials,.footer-socials,.hero-actions,.cta-row,.policy-inline{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}
.topbar a:hover,.main-nav a:hover,.footer-grid a:hover{color:var(--accent)}
.header-social,.footer-social{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px rgba(0,0,0,.05);flex:0 0 38px;overflow:hidden}
.header-social svg,.footer-social svg{width:16px;height:16px;display:block;fill:currentColor}
.nav-wrap{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;position:relative}
.branding{display:flex;align-items:center;gap:.9rem}
.brand-mark{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;display:grid;place-items:center;font-weight:800;box-shadow:var(--shadow)}
.brand-text strong{display:block;font-size:1.05rem}
.brand-text span{display:block;font-size:.88rem;color:var(--muted)}
.main-nav{display:flex;align-items:center;gap:.35rem}
.main-nav a{padding:.8rem 1rem;border-radius:999px;font-weight:700;color:var(--muted)}
.main-nav a.active,.main-nav a:hover{background:var(--accent-soft);color:var(--accent)}
.cart-pill{background:linear-gradient(135deg,var(--primary),var(--primary-deep));color:#fff!important}
.cart-pill span{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .35rem;margin-left:.45rem;background:rgba(255,255,255,.18);border-radius:999px;font-size:.76rem}
.nav-toggle{display:none;border:0;background:#fff;border-radius:14px;width:48px;height:48px;box-shadow:var(--shadow)}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--text);margin:4px auto}
.flash{padding:.95rem 0;font-weight:700}
.flash-success{background:#ebf6e7;color:#29522a}
.flash-error{background:#fff0ee;color:#9b3424}
.flash-info{background:#eef5ff;color:#215294}
.hero{padding:2.5rem 0 1.5rem}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:1.7rem;align-items:center}
.eyebrow{display:inline-flex;padding:.45rem .8rem;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-weight:800;letter-spacing:.02em;margin-bottom:1rem}
.hero h1,.headline,h1,h2,h3{margin:0 0 .75rem}
.hero h1,.headline{font-family:"Playfair Display",serif;font-size:clamp(2.4rem,5vw,4.6rem);line-height:.96;letter-spacing:-.03em}
.hero p,.muted{color:var(--muted);line-height:1.75}
.hero p{font-size:1.06rem;max-width:62ch}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;padding:.92rem 1.2rem;border-radius:16px;border:1px solid transparent;font-weight:800;cursor:pointer}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-deep));color:#fff;box-shadow:var(--shadow)}
.btn-secondary{background:#fff;border-color:var(--line)}
.btn-soft{background:var(--accent-soft);color:var(--accent)}
.hero-mosaic{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.hero-mosaic img,.hero-card{border-radius:28px;overflow:hidden;box-shadow:var(--shadow);background:#fff;border:1px solid rgba(230,220,207,.8)}
.hero-card{padding:1rem}
.hero-tall{grid-row:span 2;min-height:520px}
.hero-wide{grid-column:span 2;min-height:220px}
.hero-mosaic img{width:100%;height:100%;object-fit:cover}
.stats,.dashboard-cards,.card-grid,.feature-grid,.footer-grid,.summary-mini{display:grid;gap:1rem}
.stats{grid-template-columns:repeat(3,1fr);margin-top:1.6rem}
.stat,.product-card,.content-card,.auth-card,.summary-card,.cart-item,.order-item,.detail-panel,.detail-image{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}
.stat,.content-card,.summary-card,.detail-panel,.detail-image,.auth-card{padding:1.2rem}
.stat strong{display:block;font-size:1.55rem}
.section{padding:2.35rem 0}
.section-head{display:flex;justify-content:space-between;gap:1rem;align-items:end;margin-bottom:1.2rem}
.card-grid{grid-template-columns:repeat(4,1fr)}
.product-card{overflow:hidden}
.product-card .thumb-wrap{position:relative;aspect-ratio:1/1;background:linear-gradient(180deg,#fff8ec 0,#f3f1eb 100%)}
.product-card img{width:100%;height:100%;object-fit:cover}
.badge{position:absolute;left:.9rem;top:.9rem;display:inline-flex;padding:.45rem .7rem;border-radius:999px;background:rgba(255,255,255,.92);font-size:.8rem;font-weight:800;color:var(--accent);box-shadow:var(--shadow)}
.product-body{padding:1rem}
.meta-row{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:.8rem 0}
.price{font-size:1.22rem;font-weight:800;color:var(--primary)}
.category-chip{display:inline-flex;padding:.35rem .7rem;border-radius:999px;background:#eef5e7;color:var(--primary);font-size:.78rem;font-weight:700}
.content-card h3{font-size:1.08rem}
.banner-card{padding:.8rem}
.banner-card img{border-radius:18px}
.page-hero{padding:1.8rem 0 1rem}
.filters{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem}
.filter-chip{padding:.72rem 1rem;background:#fff;border-radius:999px;border:1px solid var(--line);font-weight:700;color:var(--muted)}
.filter-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}
.product-layout,.two-col,.cart-layout,.checkout-layout,.dashboard-layout{display:grid;gap:1.5rem}
.product-layout,.two-col{grid-template-columns:1fr 1fr}
.cart-layout,.checkout-layout,.dashboard-layout{grid-template-columns:1.08fr .92fr}
.align-center{align-items:center}
.detail-panel h1{font-family:"Playfair Display",serif;font-size:clamp(2rem,4vw,3.2rem)}
.detail-copy{color:var(--muted);line-height:1.8}
.form-row{display:grid;gap:1rem}
.form-row.two{grid-template-columns:repeat(2,1fr)}
.input,select,textarea{width:100%;border-radius:16px;border:1px solid var(--line);padding:.95rem 1rem;background:#fff;color:var(--text)}
textarea{min-height:120px;resize:vertical}
.small{font-size:.9rem;color:var(--muted)}
.summary-line{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px dashed var(--line)}
.summary-line:last-child{border-bottom:0}
.summary-total{font-size:1.23rem;font-weight:800}
.auth-wrap{min-height:calc(100vh - 260px);display:grid;place-items:center;padding:2rem 0}
.auth-card{width:min(680px,100%)}
.notice{padding:1rem;border-radius:18px;background:#f8fbf6;border:1px solid var(--line);color:var(--muted)}
.checkout-methods{display:grid;gap:.8rem}
.method-card{border:1px solid var(--line);border-radius:18px;padding:1rem;background:#fff;cursor:pointer}
.method-card.active{border-color:var(--primary);box-shadow:0 0 0 3px rgba(77,107,51,.08)}
.hidden{display:none!important}
.table-list{display:grid;gap:1rem}
.cart-item{display:grid;grid-template-columns:100px 1fr auto;gap:1rem;align-items:center;padding:1rem}
.cart-item img{width:100px;height:100px;object-fit:cover;border-radius:18px;background:#f7f4ee}
.quantity-control{display:inline-flex;gap:.5rem;align-items:center}
.quantity-control button{width:36px;height:36px;border-radius:12px;border:1px solid var(--line);background:#fff;cursor:pointer}
.site-footer{padding:2rem 0 1rem;margin-top:2rem;background:#1f241c;color:#edf2e8}
.footer-grid{grid-template-columns:1.3fr 1fr 1fr 1fr}
.footer-logo{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem}
.footer-logo .brand-mark{width:46px;height:46px}
.footer-grid h3{font-size:1rem;margin-bottom:.85rem}
.footer-grid ul{margin:0;padding:0;list-style:none;display:grid;gap:.6rem;color:#d6dfce}
.footer-socials{margin-top:1rem}
.footer-social{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#edf2e8}
.footer-social:hover,.header-social:hover{transform:translateY(-2px)}
.copyright{padding-top:1rem;border-top:1px solid rgba(255,255,255,.12);margin-top:1.4rem;color:#b7c5ad;font-size:.92rem}
.order-meta{display:flex;gap:.7rem;flex-wrap:wrap;font-size:.92rem;color:var(--muted)}
.success-box{background:#fff;border:1px solid var(--line);border-radius:28px;padding:2rem;box-shadow:var(--shadow)}
.policy-card h3{margin-top:1.4rem}
.policy-card p,.policy-card li{color:var(--muted);line-height:1.8}
.policy-card ul{padding-left:1.2rem}
.consent-check{display:flex;align-items:flex-start;gap:.8rem;padding:.9rem 1rem;border:1px solid var(--line);border-radius:16px;background:#fff}
.consent-check input{width:18px;height:18px;margin-top:.15rem}
.cookie-banner{position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:9999}
.cookie-banner__content{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:center;background:rgba(31,36,28,.97);color:#ecf2e8;border-radius:22px;padding:1rem 1.1rem;box-shadow:0 18px 50px rgba(0,0,0,.22)}
.cookie-banner__content p{margin:.35rem 0 0;color:#d6dfce}
.cookie-banner__content a{color:#fff;text-decoration:underline}
.cookie-banner__actions{display:flex;gap:.75rem;flex-wrap:wrap}
.search-box{display:flex;gap:.7rem}
.search-box input{flex:1}
.brand-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;align-items:center}
.brand-strip img{margin:auto;max-height:56px;width:auto;filter:saturate(.9)}
@media (max-width:1040px){
  .card-grid{grid-template-columns:repeat(3,1fr)}
  .feature-grid,.dashboard-cards,.footer-grid,.brand-strip{grid-template-columns:repeat(2,1fr)}
  .hero-grid,.product-layout,.two-col,.cart-layout,.checkout-layout,.dashboard-layout{grid-template-columns:1fr}
}
@media (max-width:760px){
  .topbar{display:none}
  .nav-toggle{display:block}
  .main-nav{position:absolute;top:calc(100% + 8px);right:1rem;left:1rem;display:none;flex-direction:column;background:#fff;padding:1rem;border-radius:22px;box-shadow:var(--shadow);border:1px solid var(--line)}
  .main-nav.open{display:flex}
  .main-nav a{width:100%}
  .card-grid,.feature-grid,.dashboard-cards,.footer-grid,.stats,.form-row.two,.hero-mosaic,.brand-strip{grid-template-columns:1fr}
  .hero-tall,.hero-wide{grid-column:auto;grid-row:auto;min-height:280px}
  .cart-item{grid-template-columns:80px 1fr}
  .cart-item>:last-child{grid-column:span 2}
  .cookie-banner__content{grid-template-columns:1fr}
}
