/* =========================================================
   Shiny Hood — storefront theme
   Peacock teal + antique copper on a cool stone ground.
   ========================================================= */

:root {
  --ink: #14201f;
  --ink-soft: #4d5b59;
  --primary: #0e4b50;
  --primary-dark: #093538;
  --accent: #b8733f;
  --accent-light: #e3ad7c;
  --success: #2e7d5b;
  --danger: #b23a2e;
  --bg: #f5f4f0;
  --bg-soft: #eaebe5;
  --line: #d9dcd3;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(20, 32, 31, 0.06);
  --shadow-md: 0 12px 28px rgba(20, 32, 31, 0.10);
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 130px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 32px;
}
.section--tint { background: var(--bg-soft); max-width: none; }
.section--tint > * { max-width: 1176px; margin-left: auto; margin-right: auto; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.15;
}
.section-head h2::before {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: var(--accent);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 42ch;
  text-align: right;
}
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { box-shadow: 0 6px 16px rgba(20, 32, 31, 0.12); }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--accent); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); padding: 14px 22px; }
.btn--light { background: var(--white); color: var(--ink); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.announce__track {
  display: inline-flex;
  gap: 56px;
  padding: 8px 32px;
  animation: scrollTrack 32s linear infinite;
}
.announce__track span::before {
  content: '◆';
  color: var(--primary-dark);
  font-size: 8px;
  margin-right: 14px;
  vertical-align: 2px;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Desktop: two rows — search | logo | actions on top, centred nav below.
   Scoped away from the minimal checkout header, which stays single-row. */
@media (min-width: 1081px) {
  .site-header:not(.site-header--minimal) .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: var(--header-h) 46px;
    grid-template-areas: "left logo actions" "nav nav nav";
    height: auto;
    gap: 0 28px;
  }
  .site-header:not(.site-header--minimal) .header-left { grid-area: left; }
  .site-header:not(.site-header--minimal) .logo { grid-area: logo; margin: 0; }
  .site-header:not(.site-header--minimal) .header-actions { grid-area: actions; justify-self: end; }
  .site-header:not(.site-header--minimal) .main-nav {
    grid-area: nav;
    justify-content: center;
    border-top: 1px solid var(--line);
  }
}

.header-left { display: flex; align-items: center; }
.search-trigger {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--white);
  min-width: 200px;
  transition: border-color 0.15s ease;
}
.search-trigger:hover { border-color: var(--primary); color: var(--primary); }

.logo { display: flex; align-items: center; gap: 12px; margin-right: 8px; }
.logo__mark {
  width: 34px; height: 34px;
  border: 1.5px solid var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: -5px;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.logo--light .logo__mark { color: var(--accent-light); border-color: var(--accent-light); outline-color: var(--accent-light); }
.logo--light .logo__text { color: var(--bg); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex: 1;
}
.main-nav > a, .nav-item > a {
  padding: 8px 0;
  position: relative;
  color: var(--ink);
}
.main-nav > a::after, .nav-item > a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.2s ease;
}
.main-nav > a:hover::after, .nav-item:hover > a::after { transform: scaleX(1); }
.nav-sale { color: var(--accent); font-weight: 600; }
.chev { font-style: normal; font-size: 11px; margin-left: 2px; }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%; left: -14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  min-width: 200px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all 0.18s ease;
  text-transform: none;
  letter-spacing: normal;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 20px; font-size: 13.5px; }
.dropdown a:hover { background: var(--bg-soft); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
}
.icon-btn:hover { background: var(--bg-soft); }
.badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent); color: var(--white);
  font-size: 10px; line-height: 1;
  min-width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  width: 24px;
}
.hamburger span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-only { display: none; }

.search-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.25s ease;
  border-top: 1px solid transparent;
}
.search-panel.open { max-height: 90px; border-top-color: var(--line); }
.search-panel__inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 32px;
  display: flex; gap: 10px;
}
.search-panel__inner input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
}
.search-panel__inner input:focus { outline: 2px solid var(--primary); }

/* ---------- Hero banner slider ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-slide h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-slide .eyebrow { color: var(--accent-light); }
.hero-slide__sub {
  color: rgba(255,255,255,0.8);
  font-size: 15.5px;
  max-width: 40ch;
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn--primary { background: var(--accent); }
.hero__cta .btn--primary:hover { background: var(--accent-light); color: var(--primary-dark); }
.hero__cta .btn--ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.hero__cta .btn--ghost:hover { background: var(--white); color: var(--primary); }

/* Split hero: teal copy panel on the left, photo on the right */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}
.hero-slider__track {
  display: flex;
  width: 300%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-slide {
  position: relative;
  width: 33.3333%;
  height: 540px;
  display: grid;
  grid-template-columns: 44% 56%;
  grid-template-rows: minmax(0, 1fr);
}
.hero-slide > img {
  grid-column: 2;
  grid-row: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  min-height: 0;
}
.hero-slide::after {
  /* thin copper frame line where panel meets photo */
  content: '';
  position: absolute;
  top: 36px; bottom: 36px; left: 44%;
  width: 3px;
  background: var(--accent);
  z-index: 2;
}
.hero-slide__copy {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: 0 56px 40px max(32px, calc((100vw - 1240px) / 2 + 32px));
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-slider__arrow {
  position: absolute;
  bottom: 34px;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-slider__arrow:hover { background: var(--white); color: var(--primary); }
.hero-slider__arrow--prev { left: calc(44% - 142px); }
.hero-slider__arrow--next { left: calc(44% - 94px); }

.hero-slider__dots {
  position: absolute;
  bottom: 52px;
  left: max(32px, calc((100vw - 1240px) / 2 + 32px));
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-slider__dot {
  width: 22px; height: 3px;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-slider__dot.is-active { background: var(--accent-light); width: 44px; }

.hero-stats {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: 0 0 0 100vmax var(--white);
  clip-path: inset(0 -100vmax);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.hero-stats > div {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.hero-stats > div:first-child { border-left: none; }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--primary);
}
.hero-stats span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary-dark);
}
.category-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,30,32,0.78), rgba(7,30,32,0) 55%);
  pointer-events: none;
}
.category-card__art { height: 340px; overflow: hidden; }
.category-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover .category-card__art img { transform: scale(1.06); }
.category-card h3,
.category-card span {
  position: absolute; left: 22px; right: 22px;
  z-index: 1;
  color: var(--white);
}
.category-card h3 { bottom: 42px; font-size: 22px; font-weight: 500; }
.category-card span {
  bottom: 20px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

/* ---------- Swatch filter ---------- */
.swatch-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--white);
  outline: 1px solid var(--line);
  transition: transform 0.15s ease;
}
.swatch:hover { transform: scale(1.15); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 22px;
}
.product-card {
  position: relative;
  background: transparent;
}
.product-card__media {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__media::after {
  content: 'View & enquire';
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 11px;
  background: rgba(14, 75, 80, 0.92);
  color: var(--white);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.product-card:hover .product-card__media::after { transform: translateY(0); }
.product-card__link { position: absolute; inset: 0; z-index: 1; }

.tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10.5px; font-weight: 600;
  padding: 5px 9px;
  border-radius: var(--radius);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.tag--off { background: var(--accent); color: var(--white); }
.tag--new { background: var(--primary); color: var(--white); }
.wish-btn {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wish-btn:hover { transform: scale(1.08); }
.wish-btn.active { background: var(--accent); color: var(--white); }

.product-card__body { padding: 14px 2px 0; }
.product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.product-card__body h3 { font-size: 15.5px; font-weight: 500; font-family: var(--font-body); line-height: 1.4; margin-bottom: 6px; }
.rating { font-size: 12px; color: var(--accent); letter-spacing: 1px; }
.rating span { color: var(--ink-soft); letter-spacing: normal; margin-left: 4px; }
.price { margin-top: 8px; display: flex; align-items: baseline; gap: 10px; }
.price__now { font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--primary); }
.price__was { font-size: 13px; color: #8f9a98; text-decoration: line-through; }

/* ---------- Heritage row ---------- */
.heritage-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  counter-reset: weave;
}
.heritage-card {
  counter-increment: weave;
  border-top: 2px solid var(--primary);
  padding-top: 18px;
}
.heritage-card__art { height: 140px; border-radius: var(--radius); margin-bottom: 16px; overflow: hidden; }
.heritage-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.heritage-card:hover .heritage-card__art img { transform: scale(1.06); }
.heritage-card h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.heritage-card h3::before {
  content: counter(weave, decimal-leading-zero);
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 4px;
}
.heritage-card p { font-size: 13.5px; color: var(--ink-soft); }
.heritage-card__art--icon {
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease;
}
.heritage-card:hover .heritage-card__art--icon { background: var(--primary); color: var(--accent-light); }

/* ---------- How it works ---------- */
.process {
  background: var(--primary);
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 80px 32px;
  color: #cfe0de;
}
.process__inner {
  max-width: 1176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 56px;
  align-items: start;
}
.process__head h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.2; }
.process__head .eyebrow { color: var(--accent-light); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: none;
}
.process__steps li {
  position: relative;
  padding: 24px 20px 26px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.process__steps li:hover { background: rgba(255,255,255,0.08); border-color: var(--accent-light); }
.process__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 18px;
}
.process__steps h3 { color: var(--white); font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.process__steps p { font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1080px) {
  .process__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .process { padding: 56px 20px; }
  .process__steps { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 460px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* ---------- Visit / contact strip ---------- */
.visit-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
}
.visit-strip h3 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.visit-strip__label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.visit-strip p { font-size: 13.5px; color: var(--ink-soft); }
.visit-strip a:not(.btn) { color: var(--primary); font-weight: 500; }
@media (max-width: 900px) {
  .visit-strip { grid-template-columns: 1fr 1fr; padding: 24px; }
}
@media (max-width: 560px) {
  .visit-strip { grid-template-columns: 1fr; }
}

/* ---------- Banner grid ---------- */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.banner-card {
  position: relative;
  z-index: 0;
  height: 380px;
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 12px;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}
.banner-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7,30,32,0.8), rgba(7,30,32,0.05) 65%);
  z-index: 0;
}
.banner-card::before {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 1;
  pointer-events: none;
}
.banner-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 18%;
  z-index: 0;
  transition: transform 0.5s ease;
}
.banner-card:hover > img { transform: scale(1.06); }
.banner-card > * { position: relative; z-index: 1; }
.banner-card .btn { width: fit-content; }
.banner-card__eyebrow { text-transform: uppercase; font-size: 11px; letter-spacing: 0.2em; color: var(--accent-light); }
.banner-card h3 { font-size: 26px; font-weight: 500; color: var(--white); }

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  position: relative;
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 30px 28px 26px;
}
.review-card::before {
  content: '\201C';
  position: absolute; top: 6px; right: 22px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--bg-soft);
}
.review-card p { margin: 14px 0 22px; font-size: 14.5px; color: var(--ink); }
.review-card__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.review-card__who div { display: flex; flex-direction: column; font-size: 12.5px; }
.review-card__who strong { font-size: 14px; }
.review-card__who span { color: var(--ink-soft); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--primary);
  padding: 76px 32px;
}
.newsletter__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  color: var(--bg);
}
.newsletter__inner h2 { color: var(--white); font-size: 32px; font-weight: 500; }
.newsletter__inner p { color: #b9cfcd; margin: 12px 0 28px; font-size: 14.5px; }
.newsletter__form { display: flex; gap: 0; }
.newsletter__form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius) 0 0 var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  border-right: none;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
}
.newsletter__form input::placeholder { color: #9fb7b5; }
.newsletter__form input:focus { outline: 2px solid var(--accent-light); outline-offset: -2px; }
.newsletter__form .btn { border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent); }
.newsletter__form .btn:hover { background: var(--accent-light); color: var(--primary-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: #0b2527;
  color: #a9bcba;
  padding: 64px 32px 0;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1d3d3f;
}
.footer-col h4 {
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col a, .footer-contact { display: block; font-size: 13.5px; margin-bottom: 12px; color: #a9bcba; }
.footer-col a:hover { color: var(--white); }
.footer-col--brand p { font-size: 13.5px; margin: 14px 0 20px; max-width: 30ch; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 32px; height: 32px;
  border: 1px solid #2a4c4e;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  margin: 0;
}
.social-row a:hover { border-color: var(--accent-light); color: var(--accent-light); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.payment-row { display: flex; gap: 10px; }
.payment-row span {
  border: 1px solid #2a4c4e;
  border-radius: var(--radius);
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 90px;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(20, 32, 31, 0.25);
  z-index: 91;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .heritage-row { grid-template-columns: repeat(3, 1fr); }
  .banner-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-slide { height: 480px; grid-template-columns: 50% 50%; }
  .hero-slide::after { left: 50%; }
  .hero-slide__copy { padding: 0 36px 40px 28px; }
  .hero-slider__dots { left: 28px; }
  .hero-slider__arrow--prev { left: calc(50% - 130px); }
  .hero-slider__arrow--next { left: calc(50% - 82px); }
  .search-trigger { min-width: 0; border: none; background: none; padding: 8px; }
  .search-trigger__label { display: none; }
}

/* Header: the full desktop nav doesn't fit below ~1080px, so switch to the
   hamburger drawer there. The drawer is position:absolute under the header
   (not position:fixed) because .site-header's backdrop-filter makes it the
   containing block for fixed children. script.js sizes it to the viewport. */
@media (max-width: 1080px) {
  .header-inner { padding: 0 20px; gap: 14px; }
  .hamburger { display: flex; flex-shrink: 0; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: var(--nav-drawer-h, calc(100vh - var(--header-h)));
    background: var(--bg);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 32px;
    gap: 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .main-nav > a, .nav-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a::after, .nav-item > a::after { display: none; }
  .nav-item > a { padding: 0; display: flex; justify-content: space-between; align-items: center; }
  .chev { transition: transform 0.2s ease; }
  .nav-item.open .chev { transform: rotate(180deg); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; background: none;
    display: none; min-width: 0; padding: 8px 0 0 12px;
  }
  .dropdown a { padding: 9px 0; }
  .nav-item.open .dropdown { display: block; }
  .nav-mobile-only { display: block; color: var(--primary); }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .logo { gap: 8px; margin-right: 0; }
  .logo__mark { width: 30px; height: 30px; font-size: 14px; }
  .logo__text { font-size: 17px; letter-spacing: 0.12em; }
  .search-panel__inner { padding: 14px 20px; }
  .search-panel__inner .btn { padding: 12px 16px; }

  .hero-slide { height: auto; grid-template-columns: 1fr; grid-template-rows: 240px auto; }
  .hero-slide > img { grid-column: 1; grid-row: 1; min-height: 0; }
  .hero-slide__copy { grid-column: 1; grid-row: 2; padding: 30px 20px 70px; }
  .hero-slide::after { top: 237px; bottom: auto; left: 0; right: 0; width: auto; height: 3px; }
  .hero-slide__sub { font-size: 14px; margin-bottom: 24px; }
  .hero-slider__arrow { display: none; }
  .hero-slider__dots { left: 20px; bottom: 30px; }
  .hero-stats { padding: 22px 20px; grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero-stats > div:nth-child(3) { border-left: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head p { text-align: left; }

  .section { padding: 56px 20px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card__media { height: 230px; }
  .category-card__art { height: 240px; }
  .category-card h3 { font-size: 18px; left: 16px; bottom: 38px; }
  .category-card span { left: 16px; }
  .heritage-row { grid-template-columns: 1fr 1fr; }
  .banner-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter__form { flex-direction: column; gap: 10px; }
  .newsletter__form input { border-radius: var(--radius); border-right: 1px solid rgba(255,255,255,0.25); }
  .newsletter__form .btn { border-radius: var(--radius); }
}

@media (max-width: 460px) {
  .header-inner { padding: 0 14px; gap: 10px; }
  .header-actions { gap: 0; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn--wishlist { display: none; }
  .logo__text { font-size: 14px; letter-spacing: 0.08em; }
  .logo__mark { display: none; }

  .category-grid, .product-grid, .heritage-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Breadcrumb
   ========================================================= */
.breadcrumb {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.breadcrumb__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb__inner a:hover { color: var(--primary); }
.breadcrumb__inner span { margin: 0 6px; }
.breadcrumb__current { color: var(--ink); }

/* =========================================================
   Product detail page
   ========================================================= */
.product-detail {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.pd-gallery__main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.pd-gallery__main img { width: 100%; height: 560px; object-fit: cover; }
.pd-gallery__tag { top: 16px; left: 16px; font-size: 12px; padding: 6px 12px; }

.pd-gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb {
  width: 76px; height: 92px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover { opacity: 1; }
.pd-thumb.is-active { opacity: 1; border-color: var(--primary); }

.pd-info h1 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 6px 0 12px;
  line-height: 1.15;
}
.pd-info .rating { font-size: 13px; }
.pd-info .rating span { font-size: 13px; }

.pd-price { margin: 18px 0; gap: 12px; flex-wrap: wrap; }
.pd-price .price__now { font-size: 26px; }
.pd-price__save {
  font-size: 12.5px;
  color: var(--success);
  background: #e1efe7;
  padding: 3px 10px;
  border-radius: var(--radius);
}

.pd-desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 52ch;
  margin-bottom: 26px;
}

.pd-option { margin-bottom: 22px; }
.pd-option__label { display: block; font-size: 13.5px; margin-bottom: 10px; }
.pd-swatches { justify-content: flex-start; margin-top: 0; }
.pd-swatches .swatch { width: 26px; height: 26px; }
.swatch.is-selected { outline: 2px solid var(--primary); outline-offset: 2px; }

.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--white);
  transition: all 0.15s ease;
}
.pill.is-active { border-color: var(--primary); background: var(--primary); color: var(--white); }

.pd-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 10px;
}
.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-stepper button {
  width: 38px; height: 44px;
  font-size: 16px;
  color: var(--ink);
}
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper input {
  width: 34px;
  text-align: center;
  border: none;
  font-family: inherit;
  font-size: 14px;
  background: transparent;
}
.pd-add { padding: 14px 28px; }
.pd-wish {
  position: static;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 18px;
}
.pd-wish.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.pd-toast {
  font-size: 13px;
  color: var(--success);
  background: #e1efe7;
  border-radius: var(--radius);
  padding: 8px 14px;
  display: inline-block;
  margin-bottom: 18px;
}

.pd-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.pd-trust strong { display: block; font-size: 13.5px; margin-bottom: 3px; }
.pd-trust span { font-size: 12px; color: var(--ink-soft); }

.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
}
.accordion__head span { font-size: 18px; color: var(--primary); }
.accordion__body { padding: 0 2px 18px; }
.accordion__body p { font-size: 13.5px; color: var(--ink-soft); }

.product-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================================
   Checkout & thank-you shared header
   ========================================================= */
.site-header--minimal .header-inner { justify-content: space-between; }
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9aa5a3;
}
.checkout-steps__item.is-done { color: var(--success); }
.checkout-steps__item.is-active { color: var(--primary); font-weight: 600; }
.checkout-steps__sep { color: var(--line); }
.secure-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* =========================================================
   Checkout page
   ========================================================= */
.checkout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 32px 100px;
}
.checkout-form {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.checkout-main { display: flex; flex-direction: column; gap: 8px; }
.checkout-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 22px;
}
.checkout-block h2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-soft); }
.field--wide { grid-column: 1 / -1; }
.field input, .field select {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.field input:focus, .field select:focus { outline: 2px solid var(--primary); }
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
}

.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.payment-option.is-active { border-color: var(--primary); background: #e8f1f1; }
.payment-option__title { font-size: 14px; font-weight: 500; }
.payment-option__sub { font-size: 12.5px; color: var(--ink-soft); }

.checkout-summary {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.checkout-summary h2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}
.summary-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }
.summary-item { display: flex; align-items: center; gap: 12px; }
.summary-item img { width: 56px; height: 68px; object-fit: cover; border-radius: var(--radius); }
.summary-item__body { flex: 1; }
.summary-item__title { font-size: 13.5px; margin-bottom: 3px; }
.summary-item__meta { font-size: 12px; color: var(--ink-soft); }
.summary-item__price { font-size: 13.5px; font-weight: 500; }

.promo-row { display: flex; gap: 8px; margin-bottom: 20px; }
.promo-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  background: var(--white);
}
.promo-row .btn { padding: 10px 16px; border-radius: var(--radius); }

.summary-totals {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.summary-totals > div { display: flex; justify-content: space-between; }
.summary-free { color: var(--success); }
.summary-totals__grand {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.summary-submit { width: 100%; padding: 15px; text-align: center; display: block; }
.summary-note { font-size: 11.5px; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* =========================================================
   Cart page (no static mockup for this one — built with the
   same component language as the checkout summary card)
   ========================================================= */
.cart-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 32px 100px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: flex-start;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.cart-item img { width: 72px; height: 88px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__title { display: block; font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cart-item__title:hover { color: var(--primary); }
.cart-item__meta { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.cart-item__price {
  font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--primary);
  min-width: 84px; text-align: right;
}
.cart-remove {
  background: none; border: none; font-size: 20px; line-height: 1; color: var(--ink-soft);
  cursor: pointer; padding: 6px; flex-shrink: 0;
}
.cart-remove:hover { color: var(--primary); }

/* =========================================================
   Thank-you page
   ========================================================= */
.thankyou {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 32px 90px;
}
.thankyou-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: center;
}
.thankyou-check {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e1efe7;
  color: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.thankyou-card .eyebrow { text-align: center; }
.thankyou-card h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.thankyou-sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 32px; }

.thankyou-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  text-align: left;
}
.thankyou-meta span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 4px; }
.thankyou-meta strong { font-size: 14px; }

.thankyou-items { text-align: left; margin-bottom: 20px; }
.thankyou-totals { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 30px; }
.thankyou-totals .summary-totals__grand { border-top: none; padding-top: 0; }

.thankyou-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer--slim { padding-top: 28px; }
.site-footer--slim .footer-bottom { border-top: none; }

/* =========================================================
   Responsive — detail / checkout / thank-you
   ========================================================= */
@media (max-width: 1080px) {
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
  .pd-gallery__main img { height: 420px; }
  .checkout-form { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .pd-trust, .thankyou-meta { grid-template-columns: 1fr; }
  .checkout-steps { display: none; }
  .product-grid--4 { grid-template-columns: 1fr 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-item__price { text-align: left; }
}

@media (max-width: 460px) {
  .product-grid--4 { grid-template-columns: 1fr; }
  .thankyou-card { padding: 32px 22px; }
}

/* =========================================================
   Django messages (flash notices) — not in the static mockup,
   added for the real backend without disturbing its look.
   ========================================================= */
.flash-messages {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flash-message {
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 13.5px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
}
.flash-message--success { border-color: var(--success); color: var(--success); }
.flash-message--error { border-color: var(--danger); color: var(--danger); }
.flash-message--info { border-color: var(--accent); color: var(--ink-soft); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-soft); }

/* =========================================================
   Auth pages (login / register) — not in the static mockup,
   built with the same field/card language as checkout.
   ========================================================= */
.auth-wrap { max-width: 440px; margin: 0 auto; padding: 60px 24px 100px; }
.auth-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.auth-box h1 { font-size: 26px; text-align: center; margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

@media (max-width: 760px) {
  .flash-messages { padding: 16px 20px 0; }
}

/* =========================================================
   Account — order history + order detail
   ========================================================= */
.account-wrap { max-width: 960px; margin: 0 auto; padding: 36px 32px 100px; }
.account-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
  padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.account-head .eyebrow { margin-bottom: 8px; }
.account-head h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.15; word-break: break-word; }
.account-head__sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.account-section-title { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 16px; }

.order-cards { display: flex; flex-direction: column; gap: 14px; }
.order-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.order-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.order-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-card__number { font-weight: 500; }
.order-card__date { font-size: 12.5px; color: var(--ink-soft); }
.order-card__items { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.order-card__items img { width: 44px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.order-card__names {
  font-size: 13px; color: var(--ink-soft); margin-left: 6px; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.order-card__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-soft);
}
.order-card__bottom strong { color: var(--ink); font-size: 15px; font-weight: 600; }

.order-status {
  display: inline-block; flex-shrink: 0; padding: 4px 12px; border-radius: var(--radius);
  font-size: 12px; font-weight: 500; background: var(--bg-soft); color: var(--ink-soft);
}
.order-status--paid, .order-status--processing { background: #f7eadb; color: #8a4f1e; }
.order-status--shipped { background: #e1efe7; color: var(--success); }
.order-status--delivered { background: var(--success); color: var(--white); }
.order-status--cancelled { background: #f8e5e2; color: var(--danger); }

.account-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; font-size: 13px; color: var(--ink-soft); }
.account-pager .btn { padding: 10px 18px; }

.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 14px; padding: 0; }
.order-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.order-progress li::before {
  content: ''; position: absolute; top: 7px; right: 50%; width: 100%; height: 2px; background: var(--line);
}
.order-progress li:first-child::before { display: none; }
.order-progress li.is-done::before { background: var(--success); }
.order-progress__dot {
  position: relative; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
}
.order-progress li.is-done .order-progress__dot { background: var(--success); border-color: var(--success); }
.order-progress li.is-current .order-progress__dot { box-shadow: 0 0 0 4px rgba(46, 125, 91, 0.18); }
.order-progress__label { font-size: 12.5px; color: var(--ink-soft); }
.order-progress li.is-done .order-progress__label { color: var(--ink); }
.order-eta { text-align: center; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 32px; }
.order-eta strong { color: var(--ink); font-weight: 500; }

.order-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; margin-bottom: 28px; }
.order-detail-side { display: flex; flex-direction: column; gap: 20px; }
.order-detail-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font-size: 14px; }
.order-detail-card h2 { font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.order-detail-card a.summary-item__title:hover { color: var(--primary); }
.order-detail-muted { color: var(--ink-soft); font-size: 13px; margin-top: 6px; }

@media (max-width: 760px) {
  .account-wrap { padding: 28px 20px 80px; }
  .account-head { flex-wrap: wrap; }
  .order-card { padding: 16px; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-progress__label { font-size: 11px; }
}

.link-underline { font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; color: var(--ink-soft); }
.link-underline:hover { color: var(--primary); }

/* =========================================================
   WhatsApp enquiry (no cart / online payment on this store)
   ========================================================= */
.header-enquire {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: 8px;
  padding: 9px 16px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.15s ease;
}
.header-enquire:hover { background: var(--accent); }

.btn--whatsapp { background: #1f9d55; color: var(--white); }
.btn--whatsapp:hover { background: #17864a; }

.pd-price { align-items: baseline; }
.pd-price__from {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); align-self: center;
}
.pd-option__hint { color: var(--ink-soft); font-size: 12px; }
.enquiry-note {
  width: 100%;
  font-family: inherit; font-size: 14px; color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  resize: vertical;
}
.enquiry-note:focus { outline: 2px solid var(--primary); outline-offset: -1px; }
.qty-stepper input { width: 52px; }
.enquiry-help { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0 26px; max-width: 52ch; }
.enquiry-help a { color: var(--primary); font-weight: 500; }

@media (max-width: 460px) {
  .header-enquire { padding: 8px 10px; margin-left: 4px; }
  .header-enquire span { display: none; }
  .pd-add { flex: 1; }
}

/* =========================================================
   Top info bar (above the sticky header)
   ========================================================= */
.topbar {
  background: var(--primary-dark);
  color: #c7d8d6;
  font-size: 12.5px;
  border-bottom: 2px solid var(--accent);
}
.topbar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item + .topbar__item { padding-left: 22px; border-left: 1px solid rgba(255,255,255,0.15); }
.topbar__item svg { color: var(--accent-light); flex-shrink: 0; }
.topbar__wa { color: var(--white); font-weight: 600; }
.topbar__wa svg { color: #25d366; }
.topbar__label { font-weight: 400; color: #c7d8d6; margin-right: 2px; }
.topbar a:hover { color: var(--accent-light); }
.topbar__social { gap: 8px; }
.topbar__follow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; margin-right: 6px; }
.topbar__social a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.topbar__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }

@media (max-width: 1080px) {
  .topbar__mail { display: none; }
}
@media (max-width: 760px) {
  .topbar__inner { padding: 6px 20px; }
  .topbar__hours, .topbar__follow, .topbar__label { display: none; }
}

/* Rich text from the admin editor (product details accordion) */
.rich-text { font-size: 13.5px; color: var(--ink-soft); }
.rich-text p { margin-bottom: 8px; }
.rich-text ul, .rich-text ol { padding-left: 18px; margin: 6px 0 8px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 4px; }
.rich-text li::marker { color: var(--accent); }
.rich-text a { color: var(--primary); text-decoration: underline; }

/* =========================================================
   UPI QR payment page + footer credit
   ========================================================= */
.qr-pay__code {
  display: block;
  width: 240px; max-width: 100%;
  margin: 0 auto 28px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.qr-pay__form { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-top: 8px; }
.qr-pay__step { font-size: 14px; color: var(--ink); font-weight: 500; }
.qr-pay__form .field input[type="file"] { padding: 8px 0; border: none; }

.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--accent-light); }
