/* =====================================================
   VERDÉ — Modern fashion e-commerce template
   ===================================================== */

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

:root {
  /* Palette */
  --bg: #F5F1E8;
  --bg-2: #EDE8DC;
  --paper: #FBF8F1;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #7A7A7A;
  --ink-mute: #B5B0A3;
  --line: #DCD7C8;
  --line-2: #C9C3B1;
  --sage: #7B8B6F;
  --sage-soft: #E1E5D5;
  --peach: #E8B59E;
  --peach-soft: #F8E5D8;
  --red: #B94F3A;
  --green: #5C7C4F;
  --shadow-sm: 0 1px 2px rgba(26,26,26,0.06);
  --shadow-md: 0 4px 16px rgba(26,26,26,0.06);
  --shadow-lg: 0 16px 40px rgba(26,26,26,0.08);
  --radius: 4px;
  --radius-lg: 8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}

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

.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; }

/* =====================================================
   Layout helpers
   ===================================================== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 32px; width: 100%; }
.container-md { max-width: 980px; margin: 0 auto; padding: 0 32px; width: 100%; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.row { display: flex; gap: 32px; }
.grow { flex: 1; }
.center { text-align: center; }

@media (max-width: 700px) {
  .container, .container-sm, .container-md { padding: 0 20px; }
  .section { padding: 56px 0; }
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4, h5 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 26px); }
h4 { font-size: 18px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 16px;
}
.eyebrow.sage { color: var(--sage); }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }

/* =====================================================
   Announcement bar
   ===================================================== */
.announce {
  background: var(--ink); color: var(--paper);
  text-align: center; padding: 10px 16px;
  font-size: 12px; letter-spacing: 0.06em;
}
.announce a { text-decoration: underline; margin-left: 4px; }

/* =====================================================
   Header / Nav
   ===================================================== */
header.site {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 18px 32px;
  max-width: 1320px; margin: 0 auto;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color .15s; letter-spacing: 0.02em; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 500; letter-spacing: 0.18em;
  text-align: center;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  color: var(--ink-2); transition: color .15s;
  position: relative;
}
.icon-btn:hover { color: var(--ink); }
.icon-btn .count {
  position: absolute; top: 4px; right: 2px;
  background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 600;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .nav-row { grid-template-columns: auto 1fr auto; padding: 14px 20px; }
  .nav-left { gap: 14px; }
  .nav-left .nav-link { display: none; }
  .nav-left .nav-link.menu { display: inline-flex; }
  .brand { font-size: 22px; text-align: left; }
  .nav-right { gap: 8px; }
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  transition: all .2s; white-space: nowrap; border: 1px solid transparent;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-light:hover { background: var(--bg-2); }
.btn-sage { background: var(--sage); color: var(--paper); }
.btn-sage:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-text { padding: 0; text-decoration: underline; text-transform: none; letter-spacing: 0; font-weight: 500; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }

/* =====================================================
   Forms
   ===================================================== */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-2); margin-bottom: 8px; font-weight: 500;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 14px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit; font-size: 14px;
  transition: border-color .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--ink);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13px; color: var(--ink-2); padding: 6px 0; }
.checkbox input { margin-top: 3px; accent-color: var(--ink); }
.help-text { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.error-text { font-size: 12px; color: var(--red); margin-top: 6px; }

/* =====================================================
   Hero (home page)
   ===================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 76vh;
  display: flex; align-items: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(123,139,111,0.22), transparent 50%),
    linear-gradient(135deg, #C8B89A 0%, #A89578 50%, #7B6B52 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 120px 32px;
  max-width: 720px;
  color: var(--paper);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; }
.hero p { font-size: 17px; max-width: 460px; margin-bottom: 32px; opacity: 0.88; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.4; mix-blend-mode: overlay;
  pointer-events: none;
}

/* =====================================================
   Section heads
   ===================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.section-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.section-head .link { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* =====================================================
   Category cards (home)
   ===================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/5; cursor: pointer;
  transition: transform .4s;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card .bg {
  position: absolute; inset: 0;
  transition: transform .8s ease;
}
.cat-card:hover .bg { transform: scale(1.06); }
.cat-card .bg.a { background: linear-gradient(180deg, #C8B89A, #7B6B52); }
.cat-card .bg.b { background: linear-gradient(180deg, #B8A8A0, #6B5550); }
.cat-card .bg.c { background: linear-gradient(180deg, #95A088, #5B6B52); }
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.5));
}
.cat-card .label {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  z-index: 2; color: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
}
.cat-card .label h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 28px; }
.cat-card .label .arrow {
  width: 36px; height: 36px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: transform .2s;
}
.cat-card:hover .label .arrow { transform: translateX(4px); }
@media (max-width: 800px) { .cat-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Product card
   ===================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; } }

.product-card { position: relative; cursor: pointer; }
.product-card .img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border-radius: var(--radius); margin-bottom: 14px;
  background: var(--bg-2);
}
.product-card .img {
  position: absolute; inset: 0;
  transition: opacity .3s, transform .6s;
}
.product-card .img.alt { opacity: 0; }
.product-card:hover .img.main { opacity: 0; }
.product-card:hover .img.alt { opacity: 1; }
.product-card:hover .img { transform: scale(1.04); }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--paper); color: var(--ink);
  padding: 4px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag.sage { background: var(--sage); color: var(--paper); }
.tag.red { background: var(--red); color: var(--paper); }

.product-card .heart {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; cursor: pointer;
}
.product-card:hover .heart { opacity: 1; }
.heart:hover { background: var(--ink); color: var(--paper); }
.heart.active { color: var(--red); opacity: 1; }

.product-card .quick-add {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  background: var(--paper); color: var(--ink);
  padding: 10px; border-radius: var(--radius);
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
  text-align: center; opacity: 0; transform: translateY(8px);
  transition: all .2s;
}
.product-card:hover .quick-add { opacity: 1; transform: translateY(0); }

.product-card .meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-card .name { font-size: 14px; font-weight: 500; line-height: 1.3; }
.product-card .cat { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.product-card .price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.product-card .price .strike { color: var(--ink-3); text-decoration: line-through; margin-right: 6px; font-weight: 400; }

/* Product image gradients (placeholders) */
.pi-1 { background: linear-gradient(135deg, #D4C8AE, #8B7E68); }
.pi-2 { background: linear-gradient(135deg, #B8A89A, #5C5048); }
.pi-3 { background: linear-gradient(135deg, #C9B5A0, #6F5E4D); }
.pi-4 { background: linear-gradient(135deg, #A8B098, #5A6248); }
.pi-5 { background: linear-gradient(135deg, #D8C8B8, #9C8870); }
.pi-6 { background: linear-gradient(135deg, #B8AAA0, #6B5C50); }
.pi-7 { background: linear-gradient(135deg, #E8D8B8, #B89860); }
.pi-8 { background: linear-gradient(135deg, #98A088, #4A5440); }
.pi-9 { background: linear-gradient(135deg, #C8B8A8, #786858); }
.pi-10 { background: linear-gradient(135deg, #B0A498, #4F4640); }
.pi-11 { background: linear-gradient(135deg, #D0C0A8, #806C58); }
.pi-12 { background: linear-gradient(135deg, #98886F, #3E3528); }

.pi-noise::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: 0.45;
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
  background: var(--ink); color: var(--paper);
  padding: 16px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-block; animation: scroll 36s linear infinite;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 22px; letter-spacing: 0.04em;
}
.marquee-track .star { display: inline-block; margin: 0 24px; opacity: 0.6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   Editorial split (home)
   ===================================================== */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.editorial.flip { direction: rtl; }
.editorial.flip > * { direction: ltr; }
.editorial-img { aspect-ratio: 4/5; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.editorial-text h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin-bottom: 18px; }
.editorial-text p { color: var(--ink-2); margin-bottom: 16px; max-width: 500px; }
@media (max-width: 800px) { .editorial { grid-template-columns: 1fr; } }

/* =====================================================
   Newsletter
   ===================================================== */
.newsletter { background: var(--sage-soft); padding: 80px 0; }
.newsletter .form-row { max-width: 520px; margin: 24px auto 0; }
.newsletter .text-center { text-align: center; }

/* =====================================================
   Footer
   ===================================================== */
footer.site {
  background: var(--ink); color: var(--paper);
  padding: 80px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}
.footer-grid .brand-col p { color: rgba(251,248,241,0.6); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; padding: 5px 0; color: rgba(251,248,241,0.7); font-size: 13px; transition: color .15s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(251,248,241,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(251,248,241,0.5);
}
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; }
.footer-bottom .pay span {
  padding: 4px 8px; background: rgba(251,248,241,0.08); border-radius: 4px; font-size: 10px; letter-spacing: 0.04em;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* =====================================================
   Breadcrumbs
   ===================================================== */
.breadcrumbs { padding: 20px 0; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span.sep { margin: 0 10px; }

/* =====================================================
   Page heading
   ===================================================== */
.page-head { padding: 32px 0 24px; }
.page-head h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(36px, 5vw, 56px); }
.page-head p { color: var(--ink-2); margin-top: 12px; max-width: 580px; }

/* =====================================================
   Shop layout (filters + grid)
   ===================================================== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 92px; align-self: start; }
.filter-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; font-weight: 600; }
.filter-block .opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.filter-block .opt input { accent-color: var(--ink); }
.filter-block .opt .count { color: var(--ink-3); margin-left: auto; font-size: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line); cursor: pointer; transition: transform .15s;
}
.swatch:hover { transform: scale(1.15); }
.swatch.active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line); margin-bottom: 24px;
  flex-wrap: wrap; gap: 12px;
}
.toolbar .count { font-size: 13px; color: var(--ink-3); }
.toolbar select {
  padding: 8px 36px 8px 12px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 13px; appearance: none;
}
.pagination { display: flex; gap: 4px; justify-content: center; padding: 48px 0; }
.pagination a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-2); border: 1px solid transparent;
  transition: all .15s;
}
.pagination a:hover { border-color: var(--line-2); }
.pagination a.active { background: var(--ink); color: var(--paper); }

/* =====================================================
   Product detail page
   ===================================================== */
.pdp { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; padding: 32px 0 80px; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 32px; } }
.pdp-gallery { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp-thumb {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  border: 1px solid transparent; transition: border-color .15s;
}
.pdp-thumb.active { border-color: var(--ink); }
.pdp-main { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 700px) {
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; overflow-x: auto; }
  .pdp-thumb { width: 80px; flex-shrink: 0; }
}

.pdp-info h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.pdp-info .cat { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 20px; }
.pdp-price { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.pdp-price .strike { color: var(--ink-3); text-decoration: line-through; font-weight: 400; margin-right: 10px; }
.pdp-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 24px; }
.stars { color: var(--peach); letter-spacing: 2px; font-size: 14px; }
.pdp-desc { color: var(--ink-2); line-height: 1.6; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }

.pdp-options { margin-bottom: 24px; }
.pdp-option { margin-bottom: 18px; }
.pdp-option-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.pdp-option-head strong { font-weight: 500; }
.pdp-option-head a { font-size: 12px; text-decoration: underline; color: var(--ink-3); }
.size-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.size-btn {
  padding: 12px 4px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font-size: 13px; font-weight: 500;
  text-align: center; cursor: pointer; transition: all .15s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-btn.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius);
}
.qty button { width: 40px; height: 44px; font-size: 16px; }
.qty input { width: 50px; height: 44px; border: none; text-align: center; background: none; font: inherit; font-size: 14px; }

.pdp-cta { display: flex; gap: 8px; margin-bottom: 28px; }
.pdp-cta .btn-block { flex: 1; }

.pdp-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); padding: 18px 0; border-top: 1px solid var(--line); }
.pdp-meta-item { display: flex; align-items: center; gap: 6px; }
.pdp-accordion details { border-top: 1px solid var(--line); }
.pdp-accordion details:last-child { border-bottom: 1px solid var(--line); }
.pdp-accordion summary { cursor: pointer; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after { content: "+"; font-size: 18px; }
.pdp-accordion details[open] summary::after { content: "−"; }
.pdp-accordion details > div { padding: 0 0 20px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }

/* =====================================================
   Cart
   ===================================================== */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding: 32px 0 80px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-list { border-top: 1px solid var(--line); }
.cart-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.cart-item .img-wrap { width: 90px; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; position: relative; }
.cart-item .info h4 { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-item .info .vari { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.cart-item .info .qty { transform: scale(.9); transform-origin: left; }
.cart-item .right { text-align: right; }
.cart-item .right .price { font-weight: 500; margin-bottom: 12px; }
.cart-item .right button { font-size: 12px; color: var(--ink-3); text-decoration: underline; }
.cart-item .right button:hover { color: var(--ink); }

.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; position: sticky; top: 92px; align-self: start;
}
.summary h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total { padding: 16px 0 0; margin-top: 12px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.summary-row .muted { color: var(--ink-3); }
.summary .promo { display: flex; gap: 6px; margin: 16px 0; }
.summary .promo .form-input { padding: 10px 12px; font-size: 13px; }
.summary .btn-block { margin-top: 12px; }
.summary .secure { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; display: flex; align-items: center; gap: 6px; justify-content: center; }

.empty-state { padding: 80px 0; text-align: center; }
.empty-state h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin-bottom: 12px; }
.empty-state p { color: var(--ink-2); margin-bottom: 24px; }

/* =====================================================
   Checkout
   ===================================================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 56px; padding: 24px 0 80px; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-step { padding: 24px 0; border-top: 1px solid var(--line); }
.checkout-step:last-child { border-bottom: 1px solid var(--line); }
.checkout-step h3 { font-size: 18px; font-weight: 500; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.checkout-step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500;
}
.checkout-step p { color: var(--ink-3); font-size: 13px; margin-bottom: 18px; padding-left: 40px; }
.checkout-step .step-body { padding-left: 40px; }
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s;
}
.pay-opt:hover { border-color: var(--ink); }
.pay-opt input { accent-color: var(--ink); }
.pay-opt .label { flex: 1; font-size: 14px; font-weight: 500; }
.pay-opt .icons { display: flex; gap: 4px; }
.pay-opt .icons span {
  padding: 3px 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  background: var(--bg-2); border-radius: 4px; color: var(--ink-2);
}

.checkout-summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; position: sticky; top: 92px; align-self: start;
}
.mini-item { display: flex; gap: 12px; padding: 10px 0; align-items: center; }
.mini-item .img-wrap {
  width: 60px; aspect-ratio: 1; border-radius: var(--radius); position: relative; 
  flex-shrink: 0;
}
.mini-item .img-wrap .badge {
  position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.mini-item .info { flex: 1; min-width: 0; }
.mini-item .name { font-size: 13px; font-weight: 500; }
.mini-item .vari { font-size: 11.5px; color: var(--ink-3); }
.mini-item .price { font-size: 13.5px; font-weight: 500; }

/* =====================================================
   Auth pages (login / register)
   ===================================================== */
.auth-layout { max-width: 440px; margin: 60px auto; padding: 0 32px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 36px; }
.auth-card h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 36px; margin-bottom: 6px; text-align: center; }
.auth-card .sub { color: var(--ink-2); margin-bottom: 28px; text-align: center; font-size: 14px; }
.auth-card .divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--ink-3); font-size: 12px; }
.auth-card .divider::before, .auth-card .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card .social { display: flex; gap: 8px; }
.auth-card .social .btn { flex: 1; gap: 8px; }
.auth-card .footer-link { text-align: center; margin-top: 22px; font-size: 13px; color: var(--ink-2); }
.auth-card .footer-link a { text-decoration: underline; }
.auth-card .row-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* =====================================================
   Account
   ===================================================== */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 32px 0 80px; }
@media (max-width: 800px) { .account-layout { grid-template-columns: 1fr; } }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 14px; color: var(--ink-2); transition: all .15s;
  display: flex; align-items: center; gap: 10px;
}
.account-nav a:hover { background: var(--bg-2); }
.account-nav a.active { background: var(--ink); color: var(--paper); }
.account-block {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 16px;
}
.account-block h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin-bottom: 16px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 24px; font-size: 14px; }
.kv dt { color: var(--ink-3); font-weight: 500; }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th, .orders-table td { padding: 14px 12px; font-size: 13.5px; text-align: left; border-bottom: 1px solid var(--line); }
.orders-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; }
.pill {
  padding: 3px 10px; border-radius: 100px; font-size: 11.5px; font-weight: 500;
  display: inline-block;
}
.pill.green { background: var(--sage-soft); color: var(--green); }
.pill.amber { background: var(--peach-soft); color: #8B5A3C; }
.pill.red { background: #FCE0DA; color: var(--red); }

/* =====================================================
   Wishlist
   ===================================================== */
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
@media (max-width: 1100px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Order success
   ===================================================== */
.order-success { text-align: center; padding: 80px 32px; max-width: 640px; margin: 0 auto; }
.order-success .icon-circle {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--sage); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.order-success h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 48px; margin-bottom: 12px; }
.order-success p { color: var(--ink-2); margin-bottom: 24px; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: left; margin: 24px 0; }
.order-card .row-flex { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }

/* =====================================================
   404
   ===================================================== */
.notfound { text-align: center; padding: 100px 32px; flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.notfound .big { font-family: 'Cormorant Garamond', serif; font-size: clamp(120px, 20vw, 240px); line-height: 1; font-style: italic; color: var(--sage); }
.notfound h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin: 8px 0 12px; }
.notfound p { color: var(--ink-2); margin-bottom: 24px; max-width: 480px; }

/* =====================================================
   About
   ===================================================== */
.about-hero { padding: 80px 0; text-align: center; }
.about-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(48px, 7vw, 96px); }
.about-hero h1 em { font-style: italic; }
.about-hero p { font-size: 18px; color: var(--ink-2); max-width: 560px; margin: 20px auto 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.value-card .num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 400; color: var(--sage); line-height: 1; margin-bottom: 12px; font-style: italic; }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .values-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card .img-wrap { aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; position: relative; }
.team-card .name { font-weight: 500; font-size: 15px; }
.team-card .role { font-size: 13px; color: var(--ink-3); }
@media (max-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Contact
   ===================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info-block { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-info-block:last-child { border-bottom: 1px solid var(--line); }
.contact-info-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.contact-info-block p, .contact-info-block a { color: var(--ink-2); font-size: 14px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =====================================================
   Blog
   ===================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card .img-wrap { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; position: relative; }
.post-card .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 8px; }
.post-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; margin-bottom: 8px; }
.post-card p { color: var(--ink-2); font-size: 14px; }
.post-card .read-more { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 12px; display: inline-block; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.post-hero { padding: 60px 0 40px; text-align: center; max-width: 760px; margin: 0 auto; }
.post-hero .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 18px; }
.post-hero h1 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.post-hero .author { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; font-size: 13px; color: var(--ink-2); }
.post-hero .author .ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--peach)); }
.post-img { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px; position: relative; }
.post-body { max-width: 700px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.post-body p { margin-bottom: 18px; }
.post-body h2 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 32px; margin: 32px 0 16px; color: var(--ink); }
.post-body h3 { margin: 28px 0 12px; color: var(--ink); }
.post-body blockquote {
  border-left: 3px solid var(--sage); padding: 8px 0 8px 24px; margin: 24px 0;
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; color: var(--ink); line-height: 1.4;
}
.post-body .post-img-inline { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; margin: 32px 0; position: relative; }

/* =====================================================
   IMAGES — real photography wired into the placeholders
   -----------------------------------------------------
   All photos are from Unsplash and used under the free
   Unsplash License (commercial use allowed, no permission
   needed). Per-file photographer credits + source links
   are listed in CREDITS.md at the project root.
   Files live in assets/images/. Replace any file there
   (keep the same name) to swap an image, no HTML edits.
   ===================================================== */

/* Shared cover behaviour for every image placeholder */
.cat-card .bg,
.product-card .img,
.pdp-main, .pdp-thumb,
.team-card .img-wrap,
.post-card .img-wrap,
.editorial-img,
.post-img, .post-img-inline,
.cart-item .img-wrap, .mini-item .img-wrap,
[class*="pi-"] {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Real photos replace the old grain overlay — keep just a whisper of it */
.pi-noise::after { opacity: 0.06; }

/* ---- Product photos: default meaning of pi-1 … pi-12 ----
   Used in shop, product, cart, checkout, wishlist grids and
   the PDP gallery. main/alt hover swap shows two garments.   */
.pi-1  { background: #ece7dd url("../assets/images/product-1.jpg")  center/cover no-repeat; }
.pi-2  { background: #ece7dd url("../assets/images/product-2.jpg")  center/cover no-repeat; }
.pi-3  { background: #ece7dd url("../assets/images/product-3.jpg")  center/cover no-repeat; }
.pi-4  { background: #ece7dd url("../assets/images/product-4.jpg")  center/cover no-repeat; }
.pi-5  { background: #ece7dd url("../assets/images/product-5.jpg")  center/cover no-repeat; }
.pi-6  { background: #ece7dd url("../assets/images/product-6.jpg")  center/cover no-repeat; }
.pi-7  { background: #ece7dd url("../assets/images/product-7.jpg")  center/cover no-repeat; }
.pi-8  { background: #ece7dd url("../assets/images/product-8.jpg")  center/cover no-repeat; }
.pi-9  { background: #ece7dd url("../assets/images/product-9.jpg")  center/cover no-repeat; }
.pi-10 { background: #ece7dd url("../assets/images/product-10.jpg") center/cover no-repeat; }
.pi-11 { background: #ece7dd url("../assets/images/product-11.jpg") center/cover no-repeat; }
.pi-12 { background: #ece7dd url("../assets/images/product-12.jpg") center/cover no-repeat; }

/* ---- Category cards (home): Dresses / Knitwear / Tailoring ---- */
.cat-card .bg.a { background: url("../assets/images/cat-dresses.jpg")   center/cover no-repeat; }
.cat-card .bg.b { background: url("../assets/images/product-4.jpg")     center/cover no-repeat; }
.cat-card .bg.c { background: url("../assets/images/cat-tailoring.jpg") center/cover no-repeat; }

/* ---- Team portraits (about page) ---- */
.team-card .img-wrap.pi-1 { background-image: url("../assets/images/team-1.jpg"); }
.team-card .img-wrap.pi-2 { background-image: url("../assets/images/team-2.jpg"); }
.team-card .img-wrap.pi-3 { background-image: url("../assets/images/team-3.jpg"); }
.team-card .img-wrap.pi-4 { background-image: url("../assets/images/team-4.jpg"); }

/* ---- Journal / blog cards ---- */
.post-card .img-wrap.pi-2  { background-image: url("../assets/images/blog-2.jpg"); }
.post-card .img-wrap.pi-3  { background-image: url("../assets/images/blog-3.jpg"); }
.post-card .img-wrap.pi-5  { background-image: url("../assets/images/blog-5.jpg"); }
.post-card .img-wrap.pi-7  { background-image: url("../assets/images/blog-7.jpg"); }
.post-card .img-wrap.pi-9  { background-image: url("../assets/images/blog-9.jpg"); }
.post-card .img-wrap.pi-11 { background-image: url("../assets/images/blog-11.jpg"); }

/* ---- Editorial bands & article imagery ---- */
.editorial-img.pi-7        { background-image: url("../assets/images/editorial.jpg"); }
.post-img.pi-7             { background-image: url("../assets/images/post-hero.jpg"); background-position: center; }
.post-img-inline.pi-3      { background-image: url("../assets/images/blog-11.jpg"); background-position: center; }

/* ---- Blog author avatar ---- */
.post-hero .author .ava { background: url("../assets/images/team-1.jpg") center/cover no-repeat; }

/* ---- Home hero: photo + warm overlay so the white headline stays legible ---- */
.hero {
  background:
    linear-gradient(90deg, rgba(56,48,36,0.74) 0%, rgba(56,48,36,0.42) 55%, rgba(56,48,36,0.12) 100%),
    url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero::after { opacity: 0.12; }
