:root {
  --ink: #18241f;
  --ink-soft: #35443c;
  --forest: #173b31;
  --forest-light: #245847;
  --wine: #7c3442;
  --gold: #b88a39;
  --gold-soft: #eed9aa;
  --paper: #fcfaf5;
  --blush: #f8f0ed;
  --white: #fff;
  --muted: #6d7168;
  --line: #e4dfd4;
  --success: #e6f0eb;
  --shadow: 0 24px 64px rgba(24, 36, 31, 0.12);
  --shadow-soft: 0 12px 30px rgba(24, 36, 31, 0.07);
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

p,
h1,
h2,
h3,
dl {
  margin-top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.announcement {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 9px 18px;
  color: var(--paper);
  background: var(--forest);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 15px max(calc((100% - var(--container)) / 2), 28px);
  background: rgba(252, 250, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(142px, 14vw, 172px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--forest);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.bag-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 0 15px 0 19px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  transition: border-color 180ms ease, transform 180ms ease;
}

.bag-button:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.bag-button strong {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  font-size: 13px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin-bottom: 20px;
  font-size: 96px;
  line-height: 0.94;
}

h2 {
  margin-bottom: 14px;
  font-size: 52px;
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button::after {
  position: absolute;
  top: 0;
  left: -110%;
  width: 64%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 470ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  left: 142%;
}

.button.primary {
  color: var(--paper);
  background: var(--forest);
}

.button.primary:hover {
  background: var(--forest-light);
}

.button.light {
  color: var(--ink);
  background: rgba(252, 250, 245, 0.88);
  border-color: rgba(252, 250, 245, 0.65);
}

.button.outline {
  color: var(--forest);
  background: transparent;
  border-color: var(--forest);
}

.button.wide {
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(540px, calc(100svh - 170px), 720px);
  align-items: center;
  overflow: hidden;
  color: var(--paper);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 39, 33, 0.92) 0%, rgba(23, 39, 33, 0.72) 36%, rgba(23, 39, 33, 0.12) 68%),
    url("assets/resin-bloom-bundle.png") center right / cover no-repeat;
  transform: scale(1.03);
  animation: backdropDrift 16s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(610px, calc(100% - 48px));
  margin-left: max(calc((100% - var(--container)) / 2), 28px);
  padding-bottom: 46px;
}

.hero h1 {
  color: var(--paper);
}

.hero-text {
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(252, 250, 245, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booth-hero {
  position: relative;
  display: flex;
  min-height: 560px;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(23, 39, 33, 0.92), rgba(23, 39, 33, 0.34)),
    url("assets/resin-bloom-bundle.png") center / cover no-repeat;
}

.booth-hero-copy {
  width: min(700px, calc(100% - 56px));
  margin-left: max(calc((100% - var(--container)) / 2), 28px);
}

.booth-hero h1 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 86px;
}

.booth-hero p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(252, 250, 245, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.booth-promo {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
  gap: 14px;
  margin: -50px auto 72px;
}

.booth-promo article {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.booth-promo span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.booth-promo strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.booth-promo p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-picks {
  position: absolute;
  right: max(calc((100% - var(--container)) / 2), 28px);
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-picks article {
  display: flex;
  width: 148px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  color: var(--ink);
  background: rgba(252, 250, 245, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  font-size: 12px;
  font-weight: 650;
  animation: pickFloat 5.5s ease-in-out infinite;
}

.hero-picks article:nth-child(2) {
  animation-delay: -1.4s;
}

.hero-picks article:nth-child(3) {
  animation-delay: -2.8s;
}

.hero-picks img {
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}

.category-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-band a {
  display: grid;
  gap: 7px;
  min-height: 134px;
  align-content: center;
  padding: 22px 30px;
  border-right: 1px solid var(--line);
  transition: background 200ms ease;
}

.category-band a:last-child {
  border-right: 0;
}

.category-band a:hover {
  background: var(--blush);
}

.category-band span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
}

.category-band strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.category-band small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.drop-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  margin: 42px auto 0;
  color: var(--paper);
  background: var(--forest);
  border: 1px solid rgba(252, 250, 245, 0.18);
}

.drop-stats article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  align-content: center;
  padding: 24px 30px;
  border-right: 1px solid rgba(252, 250, 245, 0.18);
}

.drop-stats article:last-child {
  border-right: 0;
}

.drop-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
}

.drop-stats span {
  color: rgba(252, 250, 245, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  max-width: var(--container);
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 76px 0 26px;
}

.section-head h2 {
  margin-bottom: 0;
}

.text-link {
  padding-bottom: 7px;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  font-size: 14px;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.home-grid {
  padding-bottom: 82px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--forest);
  background: rgba(252, 250, 245, 0.94);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.save-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.save-button:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.save-button.saved {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine);
}

.save-button.floating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(252, 250, 245, 0.94);
  box-shadow: 0 10px 22px rgba(24, 36, 31, 0.12);
}

.save-button.floating.saved {
  background: rgba(124, 52, 66, 0.94);
}

.save-button.panel-save {
  min-height: 52px;
  padding: 0 20px;
}

.save-button.wide {
  width: 100%;
}

.product-card-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  padding: 6px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.product-content {
  display: grid;
  gap: 9px;
  padding: 17px;
}

.product-type {
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-content h3 {
  margin: 0;
  font-size: 18px;
}

.product-content p {
  min-height: 62px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 7px;
}

.product-action strong {
  color: var(--wine);
  font-size: 19px;
}

.product-price-stack {
  display: grid;
  gap: 5px;
}

.stock-chip {
  width: max-content;
  max-width: 120px;
  padding: 5px 7px;
  color: var(--forest);
  background: var(--success);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.stock-chip.low-stock {
  color: var(--wine);
  background: var(--gold-soft);
}

.stock-chip.sold-out {
  color: var(--muted);
  background: var(--line);
}

.product-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.add-button,
.view-button,
.details-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid var(--forest);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.add-button {
  color: var(--forest);
  background: transparent;
}

.view-button {
  color: var(--paper);
  background: var(--forest);
}

.details-button {
  color: var(--forest);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.add-button:hover {
  color: var(--white);
  background: var(--forest);
}

.view-button:hover {
  color: var(--forest);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.details-button:hover {
  color: var(--paper);
  background: var(--wine);
  border-color: var(--wine);
}

.add-button:disabled,
.button:disabled {
  color: var(--muted);
  background: var(--line);
  border-color: var(--line);
  cursor: not-allowed;
  transform: none;
}

.button:disabled::after {
  display: none;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  max-width: var(--container);
  gap: 48px;
  align-items: center;
  margin: 64px auto 18px;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 12px;
}

.detail-gallery-item,
.quick-gallery-item {
  overflow: hidden;
  margin: 0;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.detail-gallery-item.main {
  grid-row: span 2;
}

.detail-gallery-item img,
.quick-gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-gallery-item figcaption,
.quick-gallery-item figcaption {
  padding: 8px 10px;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-detail-copy {
  display: grid;
  gap: 18px;
}

.product-detail-copy h1 {
  margin-bottom: 0;
  color: var(--forest);
  font-size: 66px;
}

.product-detail-copy > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.detail-price {
  color: var(--wine);
  font-size: 28px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--container);
  align-items: center;
  gap: 62px;
  margin: 0 auto 86px;
  padding: 52px;
  background: var(--blush);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.feature-copy p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.lookbook-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, 255px);
  max-width: var(--container);
  gap: 20px;
  margin: 0 auto 86px;
}

.look-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest);
  border-radius: 8px;
}

.look-card.large {
  grid-row: 1 / 3;
}

.look-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(23, 39, 33, 0.04), rgba(23, 39, 33, 0.88));
}

.look-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.look-card:hover img {
  transform: scale(1.045);
}

.look-card div {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  z-index: 2;
}

.look-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--forest);
  background: rgba(252, 250, 245, 0.9);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.look-card h3 {
  max-width: 470px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
  gap: 0;
  margin: 0 auto 86px;
  border: 1px solid var(--line);
}

.service-strip article {
  padding: 33px 36px;
  border-right: 1px solid var(--line);
}

.service-strip article:last-child {
  border-right: 0;
}

.service-strip strong {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.service-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.page-banner {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: end;
  padding: 64px max(calc((100% - var(--container)) / 2), 28px);
  color: var(--paper);
  background-size: cover;
  background-position: center;
}

.page-banner::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(23, 39, 33, 0.86), rgba(23, 39, 33, 0.18));
}

.page-banner > div {
  position: relative;
  max-width: 690px;
}

.page-banner h1 {
  margin-bottom: 16px;
  font-size: 78px;
}

.page-banner p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(252, 250, 245, 0.87);
  font-size: 17px;
  line-height: 1.65;
}

.shop-banner {
  background-image: url("assets/pink-glam-bundle.png");
}

.about-banner {
  background-image: url("assets/gold-bow-casing.png");
}

.contact-banner {
  background-image: url("assets/resin-bloom-bundle.png");
}

.tracking-banner {
  background-image: url("assets/koi-pond-resin-casing-studio.png");
}

.care-banner {
  background-image: url("assets/pearl-butterfly-epoxy-casing-studio.png");
}

.saved-banner {
  background-image: url("assets/resin-bloom-bundle.png");
}

.shop-toolbar {
  display: flex;
  max-width: var(--container);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 42px 0 28px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-tabs button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.sort-field select,
.search-field input {
  width: min(290px, 100%);
  min-height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.sort-field select {
  width: 178px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.search-field input:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(184, 138, 57, 0.38);
  outline-offset: 0;
  border-color: var(--gold);
}

.catalog-grid {
  padding-bottom: 84px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  color: var(--muted);
  background: var(--blush);
  text-align: center;
}

.checkout-section {
  padding-bottom: 88px;
  background: var(--blush);
  border-top: 1px solid var(--line);
}

.checkout-head {
  padding-top: 70px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  max-width: var(--container);
  gap: 25px;
  margin: 0 auto;
}

.checkout-panel,
.order-summary,
.contact-form,
.contact-details,
.tracking-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-panel {
  padding: clamp(24px, 4vw, 42px);
}

.checkout-panel h3,
.order-summary h3 {
  margin-bottom: 25px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

label.full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
}

textarea {
  min-height: 106px;
  resize: vertical;
}

.shipping-options {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.shipping-options legend {
  padding: 0 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.shipping-options label {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
}

.shipping-options label span {
  display: grid;
  gap: 3px;
}

.shipping-options label small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.shipping-options input {
  width: auto;
  min-height: auto;
}

.order-summary {
  position: sticky;
  top: 103px;
  align-self: start;
  padding: 30px;
}

.summary-items,
.cart-items {
  display: grid;
  gap: 14px;
}

.line-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}

.line-item img {
  width: 52px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.line-item h3 {
  margin: 0;
  font-size: 14px;
}

.line-item p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.line-options {
  display: inline-block;
  margin-top: 3px;
  color: var(--ink-soft);
}

.line-price {
  color: var(--wine);
  font-size: 14px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}

.qty-control button {
  width: 30px;
  height: 31px;
  padding: 0;
  background: var(--paper);
  border: 0;
  cursor: pointer;
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.totals {
  display: grid;
  gap: 13px;
  margin: 25px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 700;
}

.totals .total {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 21px;
}

.voucher-field {
  margin-top: 20px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.voucher-field input {
  min-height: 44px;
  background: var(--white);
  text-transform: uppercase;
}

.voucher-field small {
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.voucher-field small.error {
  color: var(--wine);
}

.order-result {
  margin-top: 22px;
  padding: 16px;
  color: var(--forest);
  background: var(--success);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.55;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.order-actions .button {
  min-height: 42px;
  padding: 0 16px;
  background: var(--white);
}

.summary-actions {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.summary-actions .text-link {
  width: max-content;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.92fr 0.88fr;
  max-width: var(--container);
  align-items: center;
  gap: 72px;
  margin: 0 auto;
  padding: 84px 0;
}

.story-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.story-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
  margin: 0 auto 84px;
  border: 1px solid var(--line);
}

.values article {
  padding: 38px 34px;
  border-right: 1px solid var(--line);
}

.values article:last-child {
  border-right: 0;
}

.values span {
  display: block;
  margin-bottom: 23px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.values p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.image-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--container);
  gap: 20px;
  margin: 0 auto 90px;
}

.image-duo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  max-width: var(--container);
  gap: 24px;
  margin: 70px auto 90px;
}

.contact-details,
.contact-form,
.tracking-panel {
  padding: clamp(28px, 4vw, 48px);
}

.contact-details > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.contact-details dl {
  display: grid;
  gap: 19px;
  margin: 36px 0 0;
}

.contact-details dt {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 19px;
}

.tracking-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  max-width: var(--container);
  gap: 24px;
  margin: 70px auto 90px;
}

.tracking-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.tracking-panel h2 {
  margin-bottom: 6px;
  font-size: 38px;
}

.tracking-output[hidden] {
  display: none;
}

.tracking-result {
  display: grid;
  gap: 24px;
}

.tracking-result > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.tracking-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.tracking-meta h2 {
  margin-bottom: 0;
}

.tracking-meta strong {
  color: var(--wine);
  font-size: 22px;
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.status-step {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
}

.status-step.done {
  color: var(--paper);
  background: var(--forest);
  border-color: var(--forest);
}

.status-step.current {
  color: var(--forest);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.tracking-items {
  display: grid;
  gap: 10px;
}

.tracking-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.tracking-item strong,
.tracking-item span {
  font-size: 14px;
}

.tracking-item span {
  color: var(--wine);
  font-weight: 700;
}

.tracking-item small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.5;
}

.tracking-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tracking-detail-grid,
.success-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.tracking-detail-grid span,
.success-detail-grid span {
  display: grid;
  gap: 5px;
  min-height: 58px;
  align-content: center;
  padding: 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
}

.tracking-detail-grid small,
.success-detail-grid small {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.success-hero {
  position: relative;
  display: flex;
  min-height: 390px;
  align-items: end;
  overflow: hidden;
  padding: 72px max(calc((100% - var(--container)) / 2), 28px);
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(23, 39, 33, 0.9), rgba(23, 39, 33, 0.28)),
    url("assets/gold-blush-core-chain.png") center / cover no-repeat;
}

.success-hero > div {
  position: relative;
  max-width: 760px;
}

.success-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 72px;
}

.success-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: rgba(252, 250, 245, 0.84);
  font-size: 17px;
  line-height: 1.7;
}

.success-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
  max-width: var(--container);
  gap: 24px;
  margin: -44px auto 94px;
}

.success-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.success-main-card {
  display: grid;
  gap: 21px;
  align-content: start;
  padding: clamp(28px, 4vw, 48px);
}

.success-summary-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
}

.success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--paper);
  background: var(--forest);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.success-main-card h2 {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--forest);
  font-size: 48px;
}

.success-copy {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.success-reference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.success-reference span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.success-reference strong {
  color: var(--wine);
  font-size: 20px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.success-actions .button {
  min-height: 46px;
}

.success-summary-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.success-summary-top h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
}

.success-summary-top strong {
  color: var(--wine);
  font-size: 20px;
}

.success-product-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.success-product-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.success-totals {
  display: grid;
  gap: 11px;
  margin: 4px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.success-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.success-totals dt {
  color: var(--muted);
}

.success-totals dd {
  margin: 0;
  font-weight: 750;
}

.success-totals div:last-child {
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.saved-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: var(--container);
  gap: 14px;
  margin: 34px auto 0;
}

.saved-stats article {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 8px;
}

.saved-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.saved-stats span {
  color: rgba(252, 250, 245, 0.72);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  margin: 72px auto 84px;
  border: 1px solid var(--line);
}

.care-grid article {
  min-height: 238px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.care-grid article:last-child {
  border-right: 0;
}

.care-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
}

.care-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.policy-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
  max-width: var(--container);
  gap: 46px;
  align-items: center;
  margin: 0 auto 90px;
  padding: 46px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 8px;
}

.policy-band h2 {
  margin-bottom: 0;
  color: var(--paper);
}

.policy-band p:not(.eyebrow) {
  margin: 0;
  color: rgba(252, 250, 245, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.admin-hero {
  display: flex;
  max-width: var(--container);
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 74px auto 26px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.admin-hero h1 {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 68px;
}

.admin-hero p:not(.eyebrow) {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.admin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-hero-actions .button {
  min-height: 46px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--container);
  gap: 14px;
  margin: 0 auto 24px;
}

.admin-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.28fr);
  max-width: var(--container);
  gap: 14px;
  margin: 0 auto 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-tools input,
.admin-tools select {
  min-height: 46px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.admin-tools select {
  padding: 0 38px 0 13px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.admin-stats article {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 8px;
}

.admin-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
}

.admin-stats span {
  color: rgba(252, 250, 245, 0.72);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.admin-orders {
  display: grid;
  max-width: var(--container);
  gap: 12px;
  margin: 0 auto 90px;
}

.admin-stock {
  display: grid;
  gap: 16px;
  max-width: var(--container);
  margin: 0 auto 24px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stock-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.admin-stock-head h2 {
  margin-bottom: 0;
  font-size: 34px;
}

.stock-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stock-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(5, minmax(74px, 0.22fr));
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.stock-row:last-child {
  border-bottom: 0;
}

.stock-header {
  color: var(--paper);
  background: var(--forest);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stock-row strong,
.stock-row small {
  display: block;
}

.stock-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-transform: capitalize;
}

.stock-row em {
  display: inline-flex;
  width: max-content;
  padding: 6px 8px;
  color: var(--forest);
  background: var(--success);
  border-radius: 4px;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.stock-row em.stock-alert {
  color: var(--wine);
  background: var(--gold-soft);
}

.admin-order {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(155px, 0.28fr) minmax(230px, 0.58fr) auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-order h3 {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.admin-order p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-order .admin-order-detail {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 12px;
}

.admin-order-meta {
  display: grid;
  gap: 5px;
  text-align: right;
}

.admin-order-meta strong {
  color: var(--wine);
  font-size: 18px;
}

.admin-order-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-status-field {
  min-width: 155px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.admin-status-field select {
  min-height: 42px;
  padding: 0 38px 0 13px;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.admin-fulfilment-fields {
  display: grid;
  gap: 10px;
}

.admin-fulfilment-fields label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.admin-fulfilment-fields input {
  min-height: 40px;
  padding: 0 12px;
  background: var(--paper);
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-order-actions .button {
  min-height: 40px;
  padding: 0 15px;
  background: var(--white);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  width: min(445px, 100vw);
  max-width: 100vw;
  flex-direction: column;
  gap: 22px;
  padding: 29px 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform 260ms ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.cart-header .eyebrow {
  margin-bottom: 5px;
}

.cart-header h2 {
  margin: 0;
  font-size: 35px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.cart-items {
  flex: 1;
  align-content: start;
  overflow-y: auto;
}

.bag-empty {
  padding: 25px;
  color: var(--muted);
  background: var(--paper);
  text-align: center;
  line-height: 1.6;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  background: rgba(23, 39, 33, 0.42);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.scrim.open {
  visibility: visible;
  opacity: 1;
}

.quick-view {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  visibility: hidden;
  place-items: center;
  padding: 24px;
  background: rgba(23, 39, 33, 0.58);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.quick-view.open {
  visibility: visible;
  opacity: 1;
}

.quick-view-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  width: min(940px, 100%);
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: var(--paper);
  border: 1px solid rgba(252, 250, 245, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(0.98);
  transition: transform 240ms ease;
}

.quick-view.open .quick-view-panel {
  transform: none;
}

.quick-view-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 10px;
  align-self: start;
  padding: 12px;
  background: var(--blush);
}

.quick-gallery-item.main {
  grid-row: span 2;
}

.quick-view-copy {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 36px;
}

.quick-view-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.quick-view-top h2 {
  margin-bottom: 0;
  font-size: 38px;
}

.quick-view-price {
  color: var(--wine);
  font-size: 26px;
}

.quick-view-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quick-view-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-view-details span {
  display: grid;
  gap: 5px;
  padding: 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 750;
  text-transform: capitalize;
}

.quick-view-details small {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.customizer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.customizer label {
  min-width: 0;
}

.customizer select,
.customizer input:not([type="checkbox"]) {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-line input {
  width: auto;
  min-height: auto;
}

.quick-view-actions {
  display: grid;
  gap: 10px;
}

.quick-view-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 6px;
}

.quick-view-related > span {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.mini-chip {
  min-height: 34px;
  padding: 0 11px;
  color: var(--forest);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.mini-chip:hover {
  border-color: var(--gold);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  max-width: var(--container);
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.footer-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.footer-brand span,
.site-footer p {
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 27px;
  font-size: 14px;
  font-weight: 650;
}

.site-footer p {
  justify-self: end;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes backdropDrift {
  from {
    transform: scale(1.03) translateX(0);
  }
  to {
    transform: scale(1.07) translateX(-1.2%);
  }
}

@keyframes pickFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 1325px) {
  .section-head,
  .product-grid,
  .booth-promo,
  .product-detail-shell,
  .drop-stats,
  .collection-feature,
  .lookbook-grid,
  .service-strip,
  .shop-toolbar,
  .checkout-layout,
  .story-grid,
  .values,
  .image-duo,
  .contact-layout,
  .tracking-layout,
  .success-layout,
  .saved-stats,
  .care-grid,
  .policy-band,
  .admin-hero,
  .admin-tools,
  .admin-stats,
  .admin-stock,
  .admin-orders,
  .site-footer {
    margin-right: 28px;
    margin-left: 28px;
  }

  .category-band {
    margin-right: 28px;
    margin-left: 28px;
  }
}

@media (max-width: 1030px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 13px 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .bag-button {
    grid-column: 3;
    grid-row: 1;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(23, 39, 33, 0.92), rgba(23, 39, 33, 0.48)),
      url("assets/resin-bloom-bundle.png") center / cover no-repeat;
  }

  h1 {
    font-size: 76px;
  }

  h2 {
    font-size: 44px;
  }

  .page-banner h1 {
    font-size: 64px;
  }

  .success-hero h1 {
    font-size: 58px;
  }

  .success-layout {
    margin-top: -34px;
  }

  .hero-picks {
    display: none;
  }

  .category-band,
  .drop-stats,
  .product-grid,
  .booth-promo,
  .care-grid,
  .admin-stats,
  .admin-tools,
  .saved-stats,
  .values,
  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-band a:nth-child(2),
  .drop-stats article:nth-child(2),
  .care-grid article:nth-child(2),
  .service-strip article:nth-child(2),
  .values article:nth-child(2) {
    border-right: 0;
  }

  .category-band a:nth-child(-n + 2),
  .drop-stats article:nth-child(-n + 2),
  .care-grid article:nth-child(-n + 2),
  .values article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .collection-feature,
  .product-detail-shell,
  .lookbook-grid,
  .story-grid,
  .contact-layout,
  .tracking-layout,
  .success-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .booth-hero h1 {
    font-size: 68px;
  }

  .booth-promo {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .lookbook-grid {
    grid-template-rows: none;
  }

  .look-card,
  .look-card.large {
    grid-row: auto;
    min-height: 310px;
  }

  .order-summary {
    position: static;
  }

  .policy-band,
  .admin-order {
    grid-template-columns: 1fr;
  }

  .stock-row {
    grid-template-columns: minmax(180px, 1fr) repeat(5, minmax(62px, 0.2fr));
    overflow-x: auto;
  }

  .admin-order-meta {
    text-align: left;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 650px) {
  .site-header {
    min-height: 70px;
    gap: 11px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-logo {
    width: 132px;
    max-height: 48px;
  }

  .bag-button span {
    display: none;
  }

  .bag-button {
    min-height: 43px;
    padding: 0 8px;
  }

  .hero {
    min-height: 515px;
  }

  .booth-hero {
    min-height: 480px;
    background:
      linear-gradient(90deg, rgba(23, 39, 33, 0.94), rgba(23, 39, 33, 0.46)),
      url("assets/resin-bloom-bundle.png") center / cover no-repeat;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

  .page-banner h1 {
    font-size: 48px;
  }

  .hero-content {
    width: auto;
    margin-right: 19px;
    margin-left: 19px;
    padding-bottom: 0;
  }

  .booth-hero-copy {
    width: auto;
    margin-right: 19px;
    margin-left: 19px;
  }

  .booth-hero h1 {
    font-size: 46px;
  }

  .booth-promo {
    gap: 10px;
    margin-top: -28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .category-band,
  .drop-stats,
  .product-grid,
  .care-grid,
  .admin-stats,
  .admin-tools,
  .saved-stats,
  .values,
  .service-strip,
  .image-duo {
    grid-template-columns: 1fr;
  }

  .section-head,
  .product-grid,
  .booth-promo,
  .product-detail-shell,
  .drop-stats,
  .collection-feature,
  .lookbook-grid,
  .service-strip,
  .shop-toolbar,
  .checkout-layout,
  .story-grid,
  .values,
  .image-duo,
  .contact-layout,
  .tracking-layout,
  .success-layout,
  .saved-stats,
  .care-grid,
  .policy-band,
  .admin-hero,
  .admin-tools,
  .admin-stats,
  .admin-stock,
  .admin-orders,
  .site-footer,
  .category-band {
    margin-right: 18px;
    margin-left: 18px;
  }

  .site-footer {
    align-items: start;
    gap: 18px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 12px 16px;
    line-height: 1.4;
  }

  .footer-brand,
  .site-footer nav,
  .site-footer p {
    min-width: 0;
    max-width: 100%;
  }

  .section-head {
    display: block;
    padding-top: 56px;
  }

  .section-head .text-link {
    display: inline-block;
    margin-top: 18px;
  }

  .category-band a,
  .category-band a:nth-child(-n + 2),
  .drop-stats article,
  .drop-stats article:nth-child(-n + 2),
  .care-grid article,
  .service-strip article,
  .values article,
  .values article:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-band a:last-child,
  .drop-stats article:last-child,
  .care-grid article:last-child,
  .service-strip article:last-child,
  .values article:last-child {
    border-bottom: 0;
  }

  .collection-feature {
    gap: 28px;
    padding: 22px;
  }

  .product-detail-shell {
    margin-top: 32px;
    gap: 28px;
  }

  .product-detail-copy h1,
  .admin-hero h1 {
    font-size: 42px;
  }

  .policy-band {
    gap: 20px;
    padding: 28px;
  }

  .admin-hero {
    display: grid;
  }

  .admin-hero-actions,
  .admin-stock-head {
    align-items: stretch;
    flex-direction: column;
  }

  .stock-table {
    gap: 10px;
    border: 0;
  }

  .stock-header {
    display: none;
  }

  .stock-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .stock-row span:first-child {
    grid-column: 1 / -1;
  }

  .page-banner {
    min-height: 350px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .success-hero {
    min-height: 345px;
    padding: 50px 20px;
  }

  .success-hero h1 {
    font-size: 42px;
  }

  .success-layout {
    margin-top: -24px;
  }

  .success-main-card,
  .success-summary-card {
    padding: 22px;
  }

  .success-main-card h2 {
    font-size: 34px;
  }

  .success-reference,
  .success-summary-top {
    display: grid;
  }

  .success-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-tools {
    align-items: stretch;
    justify-content: flex-start;
  }

  .sort-field,
  .result-count {
    width: 100%;
  }

  .sort-field select {
    flex: 1;
    width: auto;
  }

  .search-field input {
    width: 100%;
  }

  .product-action {
    align-items: stretch;
    flex-direction: column;
  }

  .product-buttons {
    justify-content: stretch;
  }

  .product-buttons button,
  .product-buttons .details-button {
    flex: 1;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkout-panel,
  .order-summary,
  .contact-details,
  .contact-form,
  .tracking-panel {
    padding: 22px;
  }

  .line-item {
    grid-template-columns: 52px 1fr;
  }

  .qty-control {
    grid-column: 2;
    width: max-content;
  }

  .image-duo img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .quick-view {
    padding: 12px;
  }

  .quick-view-panel {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 24px);
  }

  .product-detail-gallery,
  .quick-view-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-item.main,
  .quick-gallery-item.main {
    grid-row: auto;
  }

  .quick-view-copy {
    padding: 24px;
  }

  .quick-view-top h2 {
    font-size: 30px;
  }

  .quick-view-details {
    grid-template-columns: 1fr;
  }

  .customizer,
  .status-steps,
  .tracking-detail-grid,
  .success-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
