/* =========================================================
   Shiny Hood — original design concept inspired by the general
   layout conventions of Indian saree e-commerce sites.
   Colours, type, copy, imagery and markup are all original.
   ========================================================= */

:root {
  --ink: #241a16;
  --ink-soft: #5b4c46;
  --maroon: #7a1f3d;
  --maroon-dark: #5c1730;
  --gold: #c9a24b;
  --forest: #2f4f3e;
  --ivory: #fbf6ee;
  --ivory-deep: #f4ece0;
  --line: #e6dbc9;
  --white: #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(36, 26, 22, 0.06);
  --shadow-md: 0 12px 28px rgba(36, 26, 22, 0.10);
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  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(--ivory-deep); max-width: none; }
.section--tint > * { max-width: 1240px; margin-left: auto; margin-right: auto; }

.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.section-head p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}
.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--maroon); color: var(--white); }
.btn--primary:hover { background: var(--maroon-dark); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); 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(--ink);
  color: var(--ivory-deep);
  overflow: hidden;
  white-space: nowrap;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.announce__track {
  display: inline-flex;
  gap: 64px;
  padding: 9px 32px;
  animation: scrollTrack 26s linear infinite;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.92);
  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;
}

.logo { display: flex; align-items: center; gap: 10px; margin-right: 8px; }
.logo__mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 19px;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
}
.logo--light .logo__text { color: var(--ivory); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  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: 2px; background: var(--maroon);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav > a:hover::after, .nav-item:hover > a::after { transform: scaleX(1); }
.nav-sale { color: var(--maroon); font-weight: 500; }
.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(--ivory-deep); color: var(--maroon); }

.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(--ivory-deep); }
.badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--maroon); 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; }

.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: 999px;
  font-family: inherit;
  font-size: 14px;
  background: var(--white);
}
.search-panel__inner input:focus { outline: 2px solid var(--maroon); }

/* ---------- Hero banner slider ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--maroon);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-slide h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-slide .eyebrow { color: var(--gold); }
.hero-slide__sub {
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  max-width: 42ch;
  margin-bottom: 30px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.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(--ink); }

.hero-slider {
  position: relative;
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}
.hero-slide {
  position: relative;
  width: 33.3333%;
  height: 520px;
  display: flex;
  align-items: center;
}
.hero-slide > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 0;
}
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,12,10,0.72) 0%, rgba(20,12,10,0.32) 48%, rgba(20,12,10,0.06) 75%);
  z-index: 1;
}
.hero-slide__copy {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background 0.15s ease;
}
.hero-slider__arrow:hover { background: rgba(255,255,255,0.3); }
.hero-slider__arrow--prev { left: 20px; }
.hero-slider__arrow--next { right: 20px; }

.hero-slider__dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 3;
}
.hero-slider__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-slider__dot.is-active { background: var(--white); transform: scale(1.2); }

.hero-stats {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 32px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--maroon);
}
.hero-stats span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.category-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card__art { height: 190px; overflow: hidden; }
.category-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.category-card:hover .category-card__art img { transform: scale(1.05); }
.category-card h3 { font-size: 19px; padding: 18px 18px 2px; }
.category-card span { display: block; padding: 0 18px 18px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 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: 24px;
}
.product-card {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__media {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--ivory-deep);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__link { position: absolute; inset: 0; z-index: 1; }

.tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 500;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  z-index: 2;
}
.tag--off { background: var(--maroon); color: var(--white); }
.tag--new { background: var(--ink); color: var(--white); }
.wish-btn {
  position: absolute; top: 10px; right: 10px;
  z-index: 2;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  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(--maroon); color: var(--white); }

.product-card__body { padding: 16px 18px 20px; }
.product-card__cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 4px; }
.product-card__body h3 { font-size: 17px; font-weight: 500; font-family: var(--font-body); line-height: 1.35; margin-bottom: 8px; }
.rating { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.rating span { color: var(--ink-soft); letter-spacing: normal; margin-left: 4px; }
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.price__now { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--maroon); }
.price__was { font-size: 13px; color: #a79a90; text-decoration: line-through; }

/* ---------- Heritage row ---------- */
.heritage-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.heritage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.heritage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.heritage-card__art { height: 100px; border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.heritage-card__art img { width: 100%; height: 100%; object-fit: cover; }
.heritage-card h3 { font-size: 19px; margin-bottom: 8px; }
.heritage-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Banner grid ---------- */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.banner-card {
  position: relative;
  z-index: 0;
  height: 320px;
  border-radius: 12px;
  padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  overflow: hidden;
  color: var(--white);
}
.banner-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.05) 60%);
  z-index: 0;
}
.banner-card > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 18%;
  z-index: 0;
  transition: transform 0.3s ease;
}
.banner-card:hover > img { transform: scale(1.05); }
.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.1em; opacity: 0.85; }
.banner-card h3 { font-size: 24px; color: var(--white); }

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px;
}
.review-card p { margin: 14px 0 20px; font-size: 15px; color: var(--ink); font-style: italic; }
.review-card__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ivory-deep);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.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(--ink);
  padding: 72px 32px;
}
.newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: var(--ivory);
}
.newsletter__inner h2 { color: var(--ivory); font-size: 30px; }
.newsletter__inner p { color: #cabfb6; margin: 12px 0 28px; font-size: 14.5px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #4a3f38;
  background: #2f2620;
  color: var(--ivory);
  font-family: inherit;
  font-size: 14px;
}
.newsletter__form input::placeholder { color: #8d8078; }
.newsletter__form input:focus { outline: 2px solid var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1c1512;
  color: #b9ab9f;
  padding: 64px 32px 0;
}
.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 #33291f;
}
.footer-col h4 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a, .footer-contact { display: block; font-size: 13.5px; margin-bottom: 12px; color: #b9ab9f; }
.footer-col a:hover { color: var(--gold); }
.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 #453a30;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  margin: 0;
}
.social-row a:hover { border-color: var(--gold); }

.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 #453a30;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.04em;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--maroon);
  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); }

/* ---------- 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: 460px; }
}

@media (max-width: 760px) {
  .header-inner { padding: 0 20px; gap: 14px; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px;
    gap: 4px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a, .nav-item { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-item > a { padding: 0; border: none; display: block; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; padding: 8px 0 0 12px;
  }
  .nav-item.open .dropdown { display: block; }
  .logo__text { font-size: 20px; }

  .hero-slide { height: 400px; }
  .hero-slide__sub { display: none; }
  .hero-slider__arrow { width: 36px; height: 36px; font-size: 18px; }
  .hero-stats { padding: 24px 20px; gap: 24px; }

  .section { padding: 56px 20px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .product-card__media { height: 220px; }
  .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; }
}

@media (max-width: 460px) {
  .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(--ivory-deep);
}
.breadcrumb__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb__inner a:hover { color: var(--maroon); }
.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: 10px;
  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: 6px;
  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(--maroon); }

.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(--forest);
  background: #e4ede8;
  padding: 3px 10px;
  border-radius: 999px;
}

.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(--maroon); outline-offset: 2px; }

.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: var(--white);
  transition: all 0.15s ease;
}
.pill.is-active { border-color: var(--maroon); background: var(--maroon); 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: 999px;
  overflow: hidden;
}
.qty-stepper button {
  width: 38px; height: 44px;
  font-size: 16px;
  color: var(--ink);
}
.qty-stepper button:hover { background: var(--ivory-deep); }
.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(--maroon); color: var(--white); border-color: var(--maroon); }

.pd-toast {
  font-size: 13px;
  color: var(--forest);
  background: #e4ede8;
  border-radius: 6px;
  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(--maroon); }
.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: #b3a89c;
}
.checkout-steps__item.is-done { color: var(--forest); }
.checkout-steps__item.is-active { color: var(--maroon); 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: 10px;
  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: 6px;
  background: var(--ivory);
}
.field input:focus, .field select:focus { outline: 2px solid var(--maroon); }
.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: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.payment-option.is-active { border-color: var(--maroon); background: #fbf1f4; }
.payment-option__title { font-size: 14px; font-weight: 500; }
.payment-option__sub { font-size: 12.5px; color: var(--ink-soft); }

.checkout-summary {
  background: var(--ivory-deep);
  border-radius: 10px;
  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: 6px; }
.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: 6px;
  font-family: inherit;
  font-size: 13px;
  background: var(--white);
}
.promo-row .btn { padding: 10px 16px; border-radius: 6px; }

.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(--forest); }
.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: 10px;
  padding: 16px 18px;
}
.cart-item img { width: 72px; height: 88px; object-fit: cover; border-radius: 6px; 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(--maroon); }
.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(--maroon);
  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(--maroon); }

/* =========================================================
   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: 14px;
  padding: 44px 40px;
  text-align: center;
}
.thankyou-check {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #e4ede8;
  color: var(--forest);
  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(--ivory-deep);
  color: var(--ink);
}
.flash-message--success { border-color: var(--forest); color: var(--forest); }
.flash-message--error { border-color: var(--maroon); color: var(--maroon); }
.flash-message--info { border-color: var(--gold); 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: 10px; 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; }
}
