:root{
  --cream:#FFFFFF;
  --oatmeal:#F2F2F0;
  --terracotta:#B5512E;
  --sage:#6B7F5C;
  --cocoa:#111111;
  --line:#E2E2E0;
}

*{margin:0;padding:0;box-sizing:border-box;}

body{
  font-family:'Work Sans', sans-serif;
  background:var(--cream);
  color:var(--cocoa);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}
button{font-family:inherit;cursor:pointer;}

.wrap{max-width:1240px;margin:0 auto;padding:0 32px;}

.img-placeholder{
  width:100%; height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--oatmeal);
  color:var(--cocoa);
}
.img-placeholder svg{ width:46%; height:46%; opacity:.85; }

/* ===== Announcement bar ===== */
.announce{
  background:var(--cocoa);
  color:var(--cream);
  text-align:center;
  font-family:'Space Mono', monospace;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:10px 20px;
}

/* ===== Header ===== */
header{
  border-bottom:1px solid var(--line);
  background:var(--cream);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 32px;
  max-width:1240px;
  margin:0 auto;
}
.logo{
  font-family:'Fraunces', serif;
  font-size:26px;
  font-weight:600;
  letter-spacing:.01em;
  display:flex;
  align-items:center;
}
.logo span{ color:var(--terracotta); font-style:italic; }
.logo img{ height:40px; width:auto; display:block; }
.nav-links{
  display:flex;
  gap:36px;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
}
.nav-links a{
  position:relative;
  padding-bottom:4px;
  transition:color .2s;
}
.nav-links a:hover{ color:var(--terracotta); }
.nav-links a.active{ color:var(--terracotta); }
.nav-icons{ display:flex; gap:20px; align-items:center; }
.nav-icons a{ font-size:18px; }
.logout-form{ display:flex; margin:0; }
.logout-form button{
  background:none;
  border:none;
  padding:0;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  font-family:inherit;
}
.cart-count{
  font-family:'Space Mono', monospace;
  font-size:10px;
  background:var(--terracotta);
  color:var(--cream);
  border-radius:50%;
  width:16px; height:16px;
  display:inline-flex; align-items:center; justify-content:center;
  position:relative; top:-8px; left:-6px;
}

/* ===== Breadcrumb ===== */
.breadcrumb{
  max-width:1240px;
  margin:0 auto;
  padding:24px 32px 0;
  font-size:13px;
  color:#888888;
  display:flex;
  align-items:center;
  gap:8px;
}
.breadcrumb a:hover{ color:var(--terracotta); }
.breadcrumb .current{ color:var(--cocoa); }

/* ===== Hero ===== */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:60px;
  padding:80px 32px 100px;
  max-width:1240px;
  margin:0 auto;
}
.hero-eyebrow{
  font-family:'Space Mono', monospace;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--sage);
  margin-bottom:18px;
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-eyebrow::before{
  content:'';
  display:inline-block;
  width:28px; height:1px;
  background:var(--sage);
}
.hero h1{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(40px, 6vw, 68px);
  line-height:1.08;
  letter-spacing:-.01em;
  margin-bottom:24px;
  position:relative;
  width:fit-content;
}
.hero h1 em{
  font-style:italic;
  font-weight:300;
  color:var(--terracotta);
  position:relative;
  display:inline-block;
}
.stitch-underline{
  position:absolute;
  bottom:-6px; left:0;
  width:100%;
  height:14px;
  pointer-events:none;
}
.stitch-underline path{
  fill:none;
  stroke:var(--terracotta);
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-dasharray:6 7;
  stroke-dashoffset:340;
  animation:stitch 1.6s ease-out .4s forwards;
}
@keyframes stitch{ to{ stroke-dashoffset:0; } }

.hero p{
  font-size:17px;
  color:#555555;
  max-width:440px;
  margin-bottom:36px;
}
.hero-ctas{ display:flex; gap:16px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:15px 32px;
  border-radius:100px;
  font-size:14px;
  font-weight:600;
  letter-spacing:.02em;
  cursor:pointer;
  transition:all .2s ease;
  border:1px solid transparent;
}
.btn-primary{ background:var(--cocoa); color:var(--cream); }
.btn-primary:hover{ background:var(--terracotta); }
.btn-secondary{ background:transparent; color:var(--cocoa); border-color:var(--cocoa); }
.btn-secondary:hover{ border-color:var(--terracotta); color:var(--terracotta); }

.hero-visual{
  position:relative;
  aspect-ratio:1/1.05;
  border-radius:24px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1px solid var(--line);
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute;
  bottom:24px; left:24px;
  background:var(--cream);
  border-radius:16px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  gap:12px;
  box-shadow:0 10px 30px rgba(61,53,46,.12);
}
.hero-badge-dot{
  width:36px; height:36px;
  border-radius:50%;
  background:var(--sage);
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  color:var(--cream); font-size:16px;
}
.hero-badge-text strong{ font-size:13px; display:block; }
.hero-badge-text span{ font-size:12px; color:#888888; }

/* ===== Marquee strip ===== */
.marquee-strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--oatmeal);
  overflow:hidden;
  padding:16px 0;
}
.marquee-track{
  display:flex;
  gap:48px;
  white-space:nowrap;
  animation:scroll 28s linear infinite;
  width:max-content;
}
.marquee-track span{
  font-family:'Space Mono', monospace;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--cocoa);
  display:flex; align-items:center; gap:48px;
}
.marquee-track span::after{ content:'✦'; color:var(--terracotta); margin-left:48px; }
@keyframes scroll{ to{ transform:translateX(-50%); } }

/* ===== Section / category / product-grid ===== */
section{ padding:90px 32px; max-width:1240px; margin:0 auto; }
body.is-pdp section{ padding:0 32px 90px; }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:48px;
  gap:24px;
  flex-wrap:wrap;
}
body.is-pdp .section-head{ margin-bottom:40px; }
.section-head .label{
  font-family:'Space Mono', monospace;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.15em;
  color:var(--sage);
  margin-bottom:12px;
}
.section-head h2{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(28px, 4vw, 40px);
}
body.is-pdp .section-head h2{ font-size:clamp(26px, 4vw, 34px); }
.section-head .view-all{
  font-size:14px;
  font-weight:600;
  border-bottom:1px solid var(--cocoa);
  padding-bottom:3px;
  white-space:nowrap;
}
.section-head .view-all:hover{ color:var(--terracotta); border-color:var(--terracotta); }

.cat-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  grid-template-rows:repeat(2, 220px);
  gap:20px;
}
.cat-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1px solid var(--line);
  display:flex;
  align-items:flex-end;
  padding:24px;
}
.cat-card:first-child{ grid-row:span 2; }
.cat-card img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.cat-card::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(61,53,46,.55), transparent 55%);
}
.cat-card-label{
  position:relative; z-index:1;
  color:var(--cream);
}
.cat-card-label .count{
  font-family:'Space Mono', monospace;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.1em;
  opacity:.85;
  margin-bottom:4px;
  display:block;
}
.cat-card-label h3{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:24px;
}

/* ===== Product grid ===== */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
}
.product-card{ cursor:pointer; position:relative; }
.product-image{
  position:relative;
  aspect-ratio:1/1.1;
  border-radius:16px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1px solid var(--line);
  margin-bottom:16px;
}
.product-image img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.product-card:hover .product-image img{ transform:scale(1.05); }
.product-tag{
  position:absolute; top:12px; left:12px;
  background:var(--cream);
  font-family:'Space Mono', monospace;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:6px 12px;
  border-radius:100px;
}
.product-tag.sold{ background:var(--terracotta); color:var(--cream); }
.quick-add{
  position:absolute; bottom:12px; left:12px; right:12px;
  background:var(--cocoa);
  color:var(--cream);
  text-align:center;
  font-size:13px;
  font-weight:600;
  padding:12px;
  border-radius:10px;
  opacity:0;
  transform:translateY(8px);
  transition:all .25s ease;
  border:none;
  width:100%;
}
.product-card:hover .quick-add{ opacity:1; transform:translateY(0); }
.product-info .pname{
  font-size:15px;
  font-weight:500;
  margin-bottom:4px;
}
.product-info .pmeta{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.product-info .pcat{
  font-size:12px;
  color:#777777;
}
.product-info .pprice{
  font-family:'Space Mono', monospace;
  font-size:14px;
  font-weight:700;
}
.pprice .was{
  text-decoration:line-through;
  color:#BBBBBB;
  font-weight:400;
  margin-right:6px;
  font-size:12px;
}

/* ===== Story / Values band ===== */
.story-band{
  background:var(--cocoa);
  color:var(--cream);
}
.story-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.story-inner img{ border-radius:18px; aspect-ratio:4/3; object-fit:cover; width:100%; }
.story-text .label{ color:var(--terracotta); }
.story-text h2{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(28px, 4vw, 42px);
  margin-bottom:20px;
  line-height:1.15;
}
.story-text p{
  color:#CCCCCC;
  margin-bottom:28px;
  max-width:460px;
}
.stat-row{
  display:flex;
  gap:48px;
  margin-top:36px;
}
.stat strong{
  font-family:'Fraunces', serif;
  font-size:32px;
  display:block;
  color:var(--terracotta);
}
.stat span{ font-size:13px; color:#999999; }

/* ===== Newsletter ===== */
.newsletter{
  background:var(--oatmeal);
  border-radius:24px;
  padding:64px;
  text-align:center;
  max-width:1240px;
  margin:0 auto 90px;
}
.newsletter .label{ justify-content:center; display:flex; }
.newsletter .label::before{ display:none; }
.newsletter h2{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(28px,4vw,38px);
  margin-bottom:14px;
}
.newsletter p{
  color:#666666;
  margin-bottom:32px;
}
.newsletter-form{
  display:flex;
  gap:12px;
  max-width:440px;
  margin:0 auto;
}
.newsletter-form input{
  flex:1;
  padding:15px 22px;
  border-radius:100px;
  border:1px solid var(--line);
  background:var(--cream);
  font-family:inherit;
  font-size:14px;
  outline:none;
}
.newsletter-form input:focus{ border-color:var(--terracotta); }

/* ===== PDP Layout ===== */
.pdp{
  max-width:1240px;
  margin:0 auto;
  padding:32px 32px 100px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}

/* --- Gallery --- */
.gallery{ display:flex; flex-direction:column; gap:16px; }
.gallery-main{
  aspect-ratio:1/1;
  border-radius:18px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1px solid var(--line);
  position:relative;
}
.gallery-main img{ width:100%; height:100%; object-fit:cover; }
.gallery-main .product-tag{
  position:absolute; top:16px; left:16px;
  background:var(--cream);
  font-family:'Space Mono', monospace;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:6px 12px;
  border-radius:100px;
  z-index:2;
  border:1px solid var(--line);
}
.gallery-zoom{
  position:absolute; bottom:16px; right:16px;
  width:38px; height:38px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
  z-index:2;
}
.gallery-thumbs{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
}
.gallery-thumb{
  aspect-ratio:1/1;
  border-radius:10px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1.5px solid var(--line);
  cursor:pointer;
  transition:border-color .2s;
  padding:0;
}
.gallery-thumb img{ width:100%; height:100%; object-fit:cover; }
.gallery-thumb.active{ border-color:var(--cocoa); }
.gallery-thumb:hover{ border-color:var(--terracotta); }

/* --- Product info --- */
.product-detail{ display:flex; flex-direction:column; }
.pd-category{
  font-family:'Space Mono', monospace;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--sage);
  margin-bottom:14px;
}
.pd-title{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:38px;
  line-height:1.12;
  margin-bottom:14px;
}
.pd-rating{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
  font-size:13px;
  color:#666666;
}
.stars{ color:var(--terracotta); letter-spacing:1px; font-size:14px; }
.pd-rating a{ text-decoration:underline; }
.pd-rating a:hover{ color:var(--terracotta); }

.pd-price{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:28px;
  font-family:'Space Mono', monospace;
}
.pd-price .now{ font-size:26px; font-weight:700; }
.pd-price .was{ font-size:16px; color:#BBBBBB; text-decoration:line-through; }
.pd-price .save{
  font-family:'Work Sans', sans-serif;
  font-size:12px;
  font-weight:600;
  background:var(--terracotta);
  color:var(--cream);
  padding:4px 10px;
  border-radius:100px;
}

.pd-desc{
  font-size:15px;
  color:#555555;
  margin-bottom:32px;
  max-width:480px;
}

/* --- Color variants --- */
.variant-block{ margin-bottom:28px; }
.variant-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}
.variant-label span:first-child{
  font-size:13px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.variant-label .selected-name{
  font-size:13px;
  color:#777777;
  font-family:'Space Mono', monospace;
}
.color-swatches{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.swatch{
  width:44px; height:44px;
  border-radius:50%;
  cursor:pointer;
  position:relative;
  border:2px solid transparent;
  padding:3px;
  transition:border-color .2s, transform .15s;
  background:none;
}
.swatch:hover{ transform:translateY(-2px); }
.swatch.selected{ border-color:var(--cocoa); }
.swatch-color{
  width:100%; height:100%;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.12);
}
.swatch.selected::after{
  content:'✓';
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-shadow:0 0 2px rgba(0,0,0,.5);
}
.swatch.out-of-stock{ opacity:.35; cursor:not-allowed; }
.swatch.out-of-stock::before{
  content:'';
  position:absolute;
  top:50%; left:4px; right:4px;
  height:1.5px;
  background:#999;
  transform:rotate(-45deg);
  z-index:2;
}

/* --- Size variants --- */
.size-options{ display:flex; gap:10px; flex-wrap:wrap; }
.size-pill{
  padding:10px 20px;
  border:1px solid var(--line);
  border-radius:100px;
  font-size:13px;
  font-weight:500;
  background:var(--cream);
  transition:all .2s;
}
.size-pill:hover{ border-color:var(--cocoa); }
.size-pill.selected{
  background:var(--cocoa);
  color:var(--cream);
  border-color:var(--cocoa);
}
.size-pill.disabled{
  color:#BBBBBB;
  text-decoration:line-through;
  cursor:not-allowed;
}

/* --- Quantity + Add to cart --- */
.purchase-row{
  display:flex;
  gap:14px;
  margin-top:8px;
  margin-bottom:18px;
}
.qty-control{
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:100px;
  overflow:hidden;
}
.qty-control button{
  width:44px; height:54px;
  background:none;
  border:none;
  font-size:16px;
  color:var(--cocoa);
}
.qty-control button:hover{ background:var(--oatmeal); }
.qty-control .qty-val{
  width:36px;
  text-align:center;
  font-family:'Space Mono', monospace;
  font-size:14px;
}

/* PDP purchase buttons are a taller, flex-fill variant of the shared .btn */
.pdp .btn{
  gap:8px;
  padding:0 32px;
  height:54px;
  flex:1;
}
.btn-icon{
  width:54px; height:54px; flex:none;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--cream);
  font-size:18px;
  display:flex; align-items:center; justify-content:center;
}
.btn-icon:hover{ border-color:var(--terracotta); color:var(--terracotta); }

.btn-buynow{
  width:100%;
  height:54px;
  border-radius:100px;
  border:1.5px solid var(--cocoa);
  background:var(--cream);
  font-size:14px;
  font-weight:600;
  margin-bottom:32px;
}
.btn-buynow:hover{ background:var(--oatmeal); }

/* --- Pincode check --- */
.pincode-check{ margin-bottom:24px; }
.pincode-check-row{ display:flex; gap:10px; }
.pincode-check-row input{ flex:1; }
.pincode-check-row .btn{ flex:none; height:auto; padding:0 24px; }
.pincode-result{ margin-top:8px; font-size:13px; }

/* --- Trust badges --- */
.trust-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:24px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:28px;
}
.trust-item{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:center;
  text-align:center;
}
.trust-item .icon{ font-size:20px; }
.trust-item span{ font-size:12px; color:#666666; }

/* --- Accordion --- */
.accordion{ border-top:1px solid var(--line); }
.acc-item{ border-bottom:1px solid var(--line); }
.acc-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 2px;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
  background:none;
  border:none;
  width:100%;
  text-align:left;
}
.acc-head .plus{
  font-size:18px;
  font-weight:300;
  transition:transform .2s;
}
.acc-item.open .acc-head .plus{ transform:rotate(45deg); }
.acc-body{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  font-size:14px;
  color:#666666;
}
.acc-item.open .acc-body{ max-height:600px; padding-bottom:18px; }
.acc-body ul{ padding-left:18px; }
.acc-body li{ margin-bottom:6px; }
.acc-body p{ margin-bottom:10px; }

/* ===== Shop listing + filters ===== */
.shop-layout{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:48px;
  align-items:start;
}
.shop-sidebar{
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  position:sticky;
  top:24px;
}
.filter-group{ margin-bottom:28px; }
.filter-group:last-child{ margin-bottom:0; }
.filter-group h4{
  font-family:'Space Mono', monospace;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--sage);
  margin-bottom:14px;
}
.filter-list{ display:flex; flex-direction:column; gap:10px; }
.filter-checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  cursor:pointer;
}
.filter-swatches{ display:flex; flex-wrap:wrap; gap:10px; }
.filter-swatch{
  width:28px; height:28px;
  border-radius:50%;
  border:2px solid transparent;
  cursor:pointer;
  padding:2px;
}
.filter-swatch.active{ border-color:var(--cocoa); }
.filter-swatch-color{ width:100%; height:100%; border-radius:50%; border:1px solid rgba(0,0,0,.12); }
.price-inputs{ display:flex; align-items:center; gap:8px; }
.price-inputs input{
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid var(--line);
  font-family:inherit;
  font-size:13px;
}
.filter-apply{ margin-top:18px; width:100%; }
.filter-clear{
  display:inline-block;
  margin-top:12px;
  font-size:13px;
  color:#777777;
  text-decoration:underline;
}
.filter-clear:hover{ color:var(--terracotta); }
.shop-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:28px;
  font-size:13px;
  color:#777777;
}
.pagination-nav{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:48px;
}
.pagination-nav a, .pagination-nav span{
  min-width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  border-radius:8px;
  border:1px solid var(--line);
  font-size:13px;
}
.pagination-nav a:hover{ border-color:var(--terracotta); color:var(--terracotta); }
.pagination-nav .active{ background:var(--cocoa); color:var(--cream); border-color:var(--cocoa); }
.empty-state{
  text-align:center;
  padding:80px 20px;
  color:#777777;
}

/* ===== Legal / simple content pages ===== */
.legal-page{ max-width:820px; }
.legal-page h1{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(30px, 4vw, 42px);
  margin-bottom:32px;
}
.legal-page .legal-body{ font-size:15px; color:#444444; }
.legal-page .legal-body h2{
  font-family:'Fraunces', serif;
  font-size:22px;
  font-weight:500;
  margin:32px 0 14px;
}
.legal-page .legal-body p{ margin-bottom:16px; }
.legal-page .legal-body ul, .legal-page .legal-body ol{ margin:0 0 16px 20px; }
.legal-page .legal-body li{ margin-bottom:8px; }

/* ===== Auth / forms (Breeze restyle) ===== */
.auth-card{
  max-width:440px;
  margin:64px auto;
  border:1px solid var(--line);
  border-radius:20px;
  padding:48px;
}
.auth-card h1{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:30px;
  margin-bottom:28px;
}
.form-group{ margin-bottom:20px; }
.form-group label{
  display:block;
  font-size:13px;
  font-weight:600;
  margin-bottom:8px;
}
.form-group input, .form-group textarea, .form-group select{
  width:100%;
  padding:13px 16px;
  border-radius:10px;
  border:1px solid var(--line);
  font-family:inherit;
  font-size:14px;
  outline:none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{ border-color:var(--terracotta); }
.form-error{ color:var(--terracotta); font-size:12px; margin-top:6px; }
.form-status{ color:var(--sage); font-size:13px; margin-bottom:16px; }
.auth-links{ margin-top:20px; font-size:13px; color:#777777; }
.auth-links a{ text-decoration:underline; }
.auth-links a:hover{ color:var(--terracotta); }

/* ===== Cart / checkout / account ===== */
.cart-table{ width:100%; border-collapse:collapse; margin-bottom:32px; }
.cart-table th{
  text-align:left;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#777777;
  padding-bottom:16px;
  border-bottom:1px solid var(--line);
}
.cart-table td{
  padding:20px 0;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}
.cart-item-info{ display:flex; align-items:center; gap:16px; }
.cart-item-thumb{
  width:72px; height:72px;
  border-radius:10px;
  overflow:hidden;
  background:var(--oatmeal);
  border:1px solid var(--line);
  flex-shrink:0;
}
.cart-item-thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-summary{
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:14px;
  font-size:14px;
}
.summary-row.total{
  font-weight:700;
  font-size:16px;
  padding-top:14px;
  border-top:1px solid var(--line);
  margin-top:14px;
}
.order-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:24px;
  margin-bottom:20px;
}
.order-card-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
  flex-wrap:wrap;
  gap:10px;
}
.order-status{
  font-family:'Space Mono', monospace;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding:6px 12px;
  border-radius:100px;
  background:var(--oatmeal);
}
.tracking-link{
  display:inline-block;
  margin-top:12px;
  font-size:13px;
  font-weight:600;
  border-bottom:1px solid var(--cocoa);
}
.tracking-link:hover{ color:var(--terracotta); border-color:var(--terracotta); }

/* ===== Contact page ===== */
.contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}
.contact-info h2{
  font-family:'Fraunces', serif;
  font-weight:500;
  font-size:clamp(28px,4vw,36px);
  margin-bottom:20px;
}
.contact-info p{ color:#555555; margin-bottom:24px; max-width:400px; }

/* ===== Footer ===== */
footer{
  border-top:1px solid var(--line);
  padding:64px 32px 32px;
}
.footer-grid{
  max-width:1240px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:48px;
  padding-bottom:48px;
}
.footer-logo{
  font-family:'Fraunces', serif;
  font-size:24px;
  font-weight:600;
  margin-bottom:14px;
}
.footer-logo span{ color:var(--terracotta); font-style:italic; }
.footer-logo img{ height:36px; width:auto; display:block; }
.footer-grid p{ color:#777777; font-size:14px; max-width:280px; }
.footer-col h4{
  font-family:'Space Mono', monospace;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:18px;
  color:var(--sage);
}
.footer-col ul{ list-style:none; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; color:#555555; }
.footer-col a:hover{ color:var(--terracotta); }
.footer-bottom{
  max-width:1240px;
  margin:0 auto;
  border-top:1px solid var(--line);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#777777;
  flex-wrap:wrap;
  gap:12px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; padding-top:50px; }
  .nav-links{ display:none; }
  .cat-grid{ grid-template-columns:1fr 1fr; grid-template-rows:repeat(3,180px); }
  .cat-card:first-child{ grid-row:span 1; grid-column:span 2; }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .story-inner{ grid-template-columns:1fr; gap:36px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .newsletter{ padding:48px 28px; }
  .newsletter-form{ flex-direction:column; }
  .pdp{ grid-template-columns:1fr; gap:36px; padding-top:20px; }
  .trust-row{ grid-template-columns:1fr; gap:14px; }
  .pd-title{ font-size:30px; }
  .shop-layout{ grid-template-columns:1fr; }
  .shop-sidebar{ position:static; }
  .contact-layout{ grid-template-columns:1fr; gap:36px; }
}
