:root {
  --ink: #2f2926;
  --muted: #766d66;
  --paper: #fbf7f1;
  --cream: #fffdf8;
  --sage: #8aa593;
  --sage-dark: #53685b;
  --blush: #eeb5be;
  --gold: #d3a94d;
  --blue: #95bfd0;
  --line: rgba(47, 41, 38, 0.14);
  --shadow: 0 18px 44px rgba(47, 41, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

.language-select { display: inline-flex; align-items: center; }
.language-select select { min-width: 64px; height: 42px; padding: 0 24px 0 10px; border: 1px solid var(--ink, #302925); border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 247, 241, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.88;
}

.brand-stack {
  display: grid;
  gap: 0;
}

.brand-logo {
  width: clamp(110px, 9vw, 140px);
  height: auto;
}

.brand-tagline {
  width: fit-content;
  margin-top: 3px;
  padding: 5px 9px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
  border: 1px solid rgba(47, 41, 38, 0.18);
  border-radius: 999px;
  background: #f5ede4;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.basket-link {
  gap: 8px;
  white-space: nowrap;
}

.basket-link b {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
}

.basket-link small {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  font-size: 11px;
}

.select {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  padding: 0 10px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 17px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 650;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.light {
  border-color: rgba(255, 253, 248, 0.9);
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.button.disabled { pointer-events: none; opacity: .48; }

.checkout-page { padding: 42px clamp(18px, 4vw, 64px) 72px; }
.checkout-heading { max-width: 850px; margin-bottom: 30px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr); gap: 28px; align-items: start; }
.checkout-form,
.checkout-summary { border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; }
.checkout-form { padding: 24px; }
.checkout-summary { position: sticky; top: 100px; display: grid; gap: 16px; padding: 24px; }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.checkout-summary .checkout-grand-total strong { font-size: 24px; }
.checkout-payment-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.checkout-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 9px; padding: 13px; border: 1px solid var(--line); border-radius: 6px; background: #f7f4ef; font-size: 11px; line-height: 1.45; }
.checkout-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--sage-dark); }
.checkout-consent a { color: var(--sage-dark); font-weight: 750; }
.product-actions .button.added { background: #3c7a53; border-color: #3c7a53; color: #fff; }
.cart-ready-product-price { color: var(--muted); }
.order-confirmation-page { width: min(940px, calc(100% - 32px)); margin: 54px auto 90px; }
.order-confirmation { display: grid; gap: 22px; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; }
.order-confirmation h1 { margin: 0; }
.order-status-list { display: grid; gap: 12px; }
.order-status { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; border-radius: 7px; background: #eaf4ed; color: #315f43; }
.order-status i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #3c7a53; color: #fff; font-style: normal; font-weight: 800; }
.order-status span { display: block; margin-top: 3px; font-size: 11px; }
.order-confirmation-details { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-confirmation-details div { display: flex; justify-content: space-between; gap: 18px; }
.test-mode-note { padding: 12px 14px; border-left: 4px solid #d3a94d; background: #fff4ce; color: var(--muted); font-size: 11px; line-height: 1.5; }
.checkout-step { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.checkout-destination-step { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.checkout-contact-fields { margin-bottom: 4px; }
.checkout-step > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 750; }
.checkout-step div { display: grid; gap: 2px; }
.checkout-step small { color: var(--muted); }
.checkout-field { display: grid; gap: 7px; margin-bottom: 14px; }
.checkout-field > span { font-size: 11px; font-weight: 750; }
.checkout-field input,
.checkout-field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font: inherit; }
.phone-input { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1fr); gap: 7px; }
.phone-input select { font-size: 11px; }
.phone-help { min-height: 16px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.phone-help.valid { color: #315f43; }
.checkout-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.checkout-methods button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.checkout-methods button.active { border-color: #4d765d; box-shadow: 0 0 0 2px rgba(77,118,93,.18); background: #eef5f0; }
.checkout-methods span { display: grid; gap: 4px; }
.checkout-methods small { color: var(--muted); }
.checkout-field-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 10px; }
.locker-picker,
.address-fields { padding: 16px; border-radius: 7px; background: #f2f6f2; }
.locker-picker { position: relative; border: 1px solid #d8e3da; background: #f7faf7; }
.locker-picker-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 9px; font-size: 11px; font-weight: 750; }
.locker-picker-label span { color: #8b574d; font-size: 9px; font-weight: 650; text-transform: uppercase; }
.locker-trigger { display: grid; width: 100%; grid-template-columns: 34px minmax(0, 1fr) 24px; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; border: 1px solid #779181; border-radius: 7px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.locker-trigger:hover,
.locker-trigger:focus-visible { border-color: #315f43; box-shadow: 0 0 0 3px rgba(60,122,83,.13); outline: none; }
.locker-trigger-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e5efe8; color: #315f43; font-size: 18px; }
.locker-trigger-copy { display: grid; gap: 3px; min-width: 0; }
.locker-trigger-copy strong,
.locker-trigger-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.locker-trigger-copy small { color: var(--muted); font-size: 10px; font-weight: 500; }
.locker-trigger-chevron { color: #315f43; font-size: 20px; text-align: center; transition: transform .18s ease; }
.locker-picker.open .locker-trigger-chevron { transform: rotate(180deg); }
.locker-picker.has-selection .locker-trigger { border-color: #4d765d; background: #eef5f0; }
.locker-picker.has-selection .locker-trigger-icon { background: #3c7a53; color: #fff; }
.locker-picker.needs-attention { border-color: #b56555; box-shadow: 0 0 0 3px rgba(181,101,85,.12); }
.locker-picker.needs-attention .locker-trigger { border-color: #b56555; }
.locker-panel { position: absolute; z-index: 20; right: 16px; left: 16px; top: calc(100% - 8px); overflow: hidden; border: 1px solid #b9c9bd; border-radius: 7px; background: #fff; box-shadow: 0 16px 34px rgba(45,39,35,.16); }
.locker-search { display: block; padding: 12px; border-bottom: 1px solid var(--line); background: #f7faf7; }
.locker-search input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font: inherit; }
.locker-search input:focus { border-color: #4d765d; box-shadow: 0 0 0 2px rgba(77,118,93,.13); outline: none; }
.locker-options { max-height: 280px; overflow-y: auto; padding: 6px; }
.locker-options button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.locker-options button:hover,
.locker-options button:focus-visible { background: #f1f5f1; outline: none; }
.locker-options button.selected { background: #e8f1ea; color: #315f43; }
.locker-options button span { display: grid; gap: 3px; }
.locker-options button small { color: var(--muted); font-size: 9px; }
.locker-options button i { visibility: hidden; color: #3c7a53; font-style: normal; font-weight: 800; }
.locker-options button.selected i { visibility: visible; }
.locker-native-select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: -1px; padding: 0 !important; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 !important; }
.locker-feedback { margin: 8px 0 0; color: #8b574d; font-size: 9px; }
.locker-picker.has-selection .locker-feedback { color: #315f43; }
.locker-empty { margin: 0; padding: 18px 12px; color: var(--muted); text-align: center; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.delivery-estimate { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 14px; border-radius: 7px; background: #eaf4ed; color: #315f43; }
.delivery-estimate i { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #3c7a53; color: white; font-style: normal; font-weight: 800; }
.delivery-estimate div { display: grid; gap: 3px; }
.delivery-estimate span { font-size: 10px; }
@media (max-width: 850px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 580px) {
  .checkout-methods,
  .checkout-field-grid { grid-template-columns: 1fr; }
  .phone-input { grid-template-columns: minmax(116px, .75fr) minmax(0, 1fr); }
}

.basket-feedback {
  min-height: 18px;
  margin: -5px 0 0;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 650;
}

.basket-feedback.error { color: #a34435; }

.box-ready-status {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f5f2ed;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.box-ready-status.ready {
  border-color: #8eaa9b;
  background: #eaf1ed;
  color: var(--sage-dark);
}

.summary-reset {
  padding: 5px;
  border: 0;
  background: transparent;
  color: #9a4639;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

.atelier-stock {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(236, 244, 238, 0.94);
  color: #315b45;
  font-size: 8px;
  font-weight: 750;
}

.atelier-stock.unavailable {
  background: rgba(247, 232, 228, 0.95);
  color: #944838;
}

.message-card-workspace {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.message-card-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.message-card-face {
  aspect-ratio: 85 / 55;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.message-card-front {
  display: grid;
  place-items: center;
  background: url("assets/atelier/luflo-card-watercolour.png") center / cover;
}

.message-card-back {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
}

.message-card-back p {
  margin: auto 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.message-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
}

.message-card-meta a { color: var(--sage-dark); font-weight: 700; }

.final-box-dialog {
  width: min(92vw, 580px);
  max-height: 88vh;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(47, 41, 38, 0.28);
}

.final-box-dialog::backdrop { background: rgba(34, 29, 27, 0.52); }
.final-box-dialog h2 { margin: 5px 0 18px; }
.final-space-notice {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid #d3a94d;
  background: #fff4ce;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.final-space-notice span { color: var(--muted); }
.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.final-review-visual {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.final-review-visual img { width: 120px; aspect-ratio: 1; border-radius: 7px; object-fit: cover; }
.final-review-visual span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.final-box-dialog ul { display: grid; gap: 6px; margin: 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.final-box-dialog li,
.final-review-total { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; }
.final-review-total { padding: 15px 0; }
.final-review-total strong { font-size: 19px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; }

.gift-summary-price,
.cart-total,
.cart-box-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.gift-summary-price span,
.cart-total span,
.cart-box-total span { color: var(--muted); font-size: 12px; }
.gift-summary-price strong { font-size: 19px; }
.cart-total strong { font-size: 22px; }
.cart-box-total { margin-top: 14px; }
.cart-box-total strong { font-size: 17px; }

.saved-boxes {
  display: grid;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.saved-boxes[hidden] { display: none; }

.saved-boxes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.saved-boxes-heading span {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font-size: 10px;
}

.saved-box-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
}

.saved-box-row > img {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  object-fit: cover;
}

.saved-box-row strong,
.saved-box-row span { display: block; }
.saved-box-row strong { font-size: 11px; }
.saved-box-row span { margin-top: 2px; color: var(--muted); font-size: 9px; }

.saved-box-actions { display: flex; gap: 5px; }
.saved-box-actions button {
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--sage-dark);
  font: inherit;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.cart-page {
  min-height: calc(100vh - 80px);
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.cart-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.cart-heading h1 { margin: 6px 0 12px; }

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: start;
  gap: 28px;
}

.cart-items { display: grid; gap: 18px; }

.cart-box {
  display: grid;
  grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.cart-box-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  object-fit: cover;
  background: #f7f4ef;
}

.cart-box-content { min-width: 0; }

.cart-box-heading,
.cart-count,
.cart-finishes p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.cart-box-heading span {
  color: var(--muted);
  font-size: 11px;
}

.cart-box-heading h2 {
  margin: 3px 0 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 21px;
}

.cart-remove,
.cart-edit-link {
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.cart-finishes {
  margin: 17px 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cart-finishes p { margin: 5px 0; font-size: 12px; }
.cart-finishes span { color: var(--muted); }
.cart-box h3 { margin: 0 0 9px; font-size: 14px; }

.cart-products {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-products li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.cart-products img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: contain;
  background: #f8f6f2;
}

.cart-products small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.cart-products li > strong { text-align: right; }

.cart-personal {
  margin-top: 16px;
  padding: 12px;
  border-left: 3px solid var(--sage);
  background: #f3f5f1;
  font-size: 12px;
}

.cart-personal p { margin: 5px 0 0; color: var(--muted); }
.cart-personal blockquote { margin: 9px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; }
.cart-edit-link { display: inline-block; margin-top: 16px; }

.cart-review {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.cart-review p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.cart-count { padding-bottom: 13px; border-bottom: 1px solid var(--line); }

.cart-empty {
  padding: 42px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
}

.cart-empty h2 { margin: 0 0 8px; }
.cart-empty p { margin: 0 0 20px; color: var(--muted); }

@media (max-width: 760px) {
  .cart-layout,
  .cart-box { grid-template-columns: 1fr; }
  .cart-review { position: static; }
  .cart-box-visual { max-height: 360px; }
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: clamp(34px, 6vw, 82px);
  overflow: hidden;
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 41, 38, 0.72), rgba(47, 41, 38, 0.18) 58%, rgba(47, 41, 38, 0.08)),
    url("assets/hero/spring-flowers.png") center / cover;
  transform: scale(1.06);
  animation: heroBloom 18s ease-in-out infinite alternate;
}

@keyframes heroBloom {
  0% { transform: scale(1.06) translateX(0); }
  100% { transform: scale(1.13) translateX(-1.5%); }
}

.bloom-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.flower,
.petal {
  position: absolute;
  display: block;
  border-radius: 999px;
  opacity: 0.72;
}

.flower {
  width: clamp(96px, 16vw, 220px);
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 253, 248, 0.96) 0 13%, transparent 14%),
    radial-gradient(ellipse at 50% 10%, rgba(244, 167, 185, 0.84) 0 22%, transparent 23%),
    radial-gradient(ellipse at 90% 50%, rgba(240, 200, 111, 0.72) 0 22%, transparent 23%),
    radial-gradient(ellipse at 50% 90%, rgba(238, 181, 190, 0.74) 0 22%, transparent 23%),
    radial-gradient(ellipse at 10% 50%, rgba(255, 253, 248, 0.82) 0 22%, transparent 23%);
  filter: blur(0.2px);
  transform: scale(0.24) rotate(-18deg);
  animation: bloom 11s ease-in-out infinite alternate;
}

.f1 { right: 9%; top: 13%; animation-delay: -1s; }
.f2 { right: 24%; top: 52%; width: clamp(76px, 12vw, 170px); animation-delay: -4s; }
.f3 { right: 42%; top: 22%; width: clamp(66px, 10vw, 140px); animation-delay: -7s; }
.f4 { right: 4%; bottom: 8%; width: clamp(110px, 17vw, 230px); animation-delay: -2.5s; }

.petal {
  width: 34px;
  height: 54px;
  background: rgba(255, 253, 248, 0.76);
  border-radius: 60% 40% 60% 40%;
  animation: floatPetal 14s ease-in-out infinite;
}

.p1 { left: 55%; top: 18%; animation-delay: -2s; }
.p2 { left: 72%; top: 64%; animation-delay: -6s; background: rgba(238, 181, 190, 0.62); }
.p3 { left: 88%; top: 38%; animation-delay: -9s; }

@keyframes bloom {
  0% { transform: scale(0.24) rotate(-18deg); opacity: 0.28; }
  55% { transform: scale(0.82) rotate(5deg); opacity: 0.62; }
  100% { transform: scale(1.05) rotate(14deg); opacity: 0.8; }
}

@keyframes floatPetal {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-28px, 42px, 0) rotate(34deg); }
  100% { transform: translate3d(18px, 96px, 0) rotate(88deg); }
}

.bloom-video {
  display: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(50px, 8vw, 102px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
}

h3 {
  font-size: 26px;
  line-height: 1.1;
}

.hero-text {
  max-width: 590px;
  margin: 22px 0 28px;
  font-size: clamp(17px, 2vw, 21px);
}

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

.section {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 70px);
}

.section.alt {
  background: var(--cream);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.journal-grid,
.guide-grid,
.product-grid,
.policy-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.journal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--cream);
}

.empty-state p {
  color: var(--muted);
}

.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journal-card,
.guide-tile,
.product-card,
.policy-card,
.faq-item,
.atelier-panel,
.newsletter-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.journal-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-card:nth-child(2) {
  background: #f3e7ea;
}

.journal-card:nth-child(3) {
  background: #eef4ef;
}

.journal-card p,
.guide-tile p,
.product-card p,
.policy-card p,
.faq-item p,
.atelier-panel p {
  color: var(--muted);
}

.guide-tile {
  min-height: 150px;
  padding: 22px;
  background: linear-gradient(145deg, var(--cream), #f7efe7);
}

.guide-tile strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 600;
}

.product-card {
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.product-card h3 {
  font-size: 23px;
}

.product-media {
  aspect-ratio: 1 / 1;
  background: #f5eee6;
  overflow: hidden;
}

.product-media img {
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 15px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.product-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.product-rating strong {
  color: var(--ink);
}

.rating-stars {
  color: var(--gold);
  letter-spacing: 0.06em;
}

.seller-feedback {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(211, 169, 77, 0.26);
  border-radius: 8px;
  background: #fffaf0;
}

.seller-feedback h3 {
  margin: 4px 0 8px;
  font-size: 25px;
}

.seller-feedback p {
  margin: 0;
  color: var(--muted);
}

.feedback-quotes {
  display: grid;
  gap: 8px;
}

.feedback-quotes p {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 14px;
}

.muted-rating {
  color: var(--sage-dark);
  font-weight: 650;
}

.price {
  font-weight: 750;
  white-space: nowrap;
}

.button.small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 14px;
}

.product-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.atelier {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.atelier-panel {
  padding: 34px;
}

.atelier-image {
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(47, 41, 38, 0.08), rgba(47, 41, 38, 0.08)),
    url("assets/products/5 bath bombs kraft.png") center / cover;
}

.delivery-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.delivery-table th,
.delivery-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.delivery-table th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.delivery-table tr:last-child td {
  border-bottom: 0;
}

.policy-card,
.faq-item {
  padding: 22px;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 30px;
  background: #f0e8d8;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  min-height: 42px;
  width: min(320px, 45vw);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--cream);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding: 42px clamp(18px, 5vw, 70px);
  color: var(--cream);
  background: var(--ink);
}

.footer p {
  color: rgba(255, 253, 248, 0.72);
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(420px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin-top: 0;
  color: var(--muted);
}

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

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .section-heading,
  .atelier,
  .newsletter-panel {
    grid-template-columns: 1fr;
  }

  .journal-grid,
  .product-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding: 28px 18px;
  }

  .journal-grid,
  .guide-grid,
  .product-grid,
  .policy-grid,
  .faq-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .delivery-table,
  .delivery-table tbody,
  .delivery-table tr,
  .delivery-table td {
    display: block;
    width: 100%;
  }

  .delivery-table thead {
    display: none;
  }

  .delivery-table td {
    border-bottom: 0;
  }

  .delivery-table tr {
    border-bottom: 1px solid var(--line);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* Second prototype pass: editorial-first homepage */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.editorial-card {
  min-height: 330px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.editorial-card.large {
  grid-row: span 2;
  min-height: 560px;
}

.editorial-image {
  min-height: 220px;
  background-image: url("assets/journal/journal-scenes.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.editorial-card.large .editorial-image {
  min-height: 350px;
}

.scene-note {
  background-image: url("assets/journal/unknown-taste-gift.png");
  background-position: center;
}

.scene-door {
  background-image: url("assets/journal/small-thoughtful-gifts.png");
  background-position: 50% center;
}

.scene-bath {
  background-image: url("assets/journal/home-spa-ritual.png");
  background-position: center;
}

.editorial-copy {
  padding: 24px;
}

.editorial-copy p {
  color: var(--muted);
}

.slim {
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.choice-strip,
.delivery-banner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
}

.choice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-tags a,
.delivery-banner span,
.text-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 650;
}

.visual-tags a {
  position: relative;
  min-height: 86px;
  min-width: 138px;
  overflow: hidden;
  align-items: end;
  border-radius: 8px;
  color: var(--cream);
  background:
    linear-gradient(rgba(47, 41, 38, 0.18), rgba(47, 41, 38, 0.62)),
    url("assets/journal/journal-scenes.png") center / cover;
}

.visual-tags a[data-filter="all"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.18), rgba(47, 41, 38, 0.62)),
    url("assets/journal/unknown-taste-gift.png") center / cover;
}

.visual-tags a[data-filter="thank-you"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-thank-you.png") center / cover;
}

.visual-tags a[data-filter="self-care"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-self-care.png") center / cover;
}

.visual-tags a[data-filter="for-teacher"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-teacher.png") center / cover;
}

.visual-tags a[data-filter="under-20"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-under-20.png") center / cover;
}

.visual-tags a[data-filter="for-team"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-team.png") center / cover;
}

.visual-tags a[data-filter="mothers-day"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-mothers-day.png") center / cover;
}

.visual-tags a[data-filter="christmas"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-christmas.png") center / cover;
}

.visual-tags a[href="#atelier"] {
  background:
    linear-gradient(rgba(47, 41, 38, 0.14), rgba(47, 41, 38, 0.62)),
    url("assets/tags/tag-personalized.png") center / cover;
}

.visual-tags a span {
  position: relative;
  z-index: 1;
}

.visual-tags a.active {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.product-media {
  display: block;
}

.card-option {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.card-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--sage-dark);
}

textarea,
input,
select {
  font: inherit;
}

.message-box {
  margin-top: 10px;
}

.message-box textarea,
.contact-form textarea,
.contact-form input,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}

.message-box textarea {
  min-height: 92px;
  padding: 10px;
  resize: vertical;
}

.text-link {
  width: fit-content;
  margin-top: 14px;
}

.corporate-hero {
  position: relative;
  min-height: 540px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(47, 41, 38, 0.72), rgba(47, 41, 38, 0.18)),
    url("assets/mood/corporate-office.png") center / cover;
  color: var(--cream);
  overflow: hidden;
}

.corporate-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.corporate-copy p {
  color: rgba(255, 253, 248, 0.82);
}

.delivery-banner {
  grid-template-columns: 1fr auto auto;
  background: #e9f0ea;
}

.delivery-banner span {
  justify-self: end;
}

.delivery-fairy {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  background: url("assets/illustrations/delivery-fairy.png") center / contain no-repeat;
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.accordion summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
}

.accordion p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  gap: 34px;
  align-items: start;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.contact-form input,
.contact-form select {
  min-height: 44px;
  padding: 0 12px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-row a,
.social-row span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-weight: 750;
  text-transform: uppercase;
}

.social-row svg,
.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-row span {
  color: var(--muted);
  opacity: 0.68;
}

.footer-whatsapp {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 50%;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer {
  grid-template-columns: 1.1fr 0.8fr 0.9fr 1.1fr;
}

.footer a {
  color: rgba(255, 253, 248, 0.82);
}

.delivery-contact-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid #d5aa4f;
  background: #fffdf8;
  color: var(--muted);
}

.delivery-contact-note a {
  color: var(--ink);
  font-weight: 700;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.review-disclosure {
  padding: 0;
  overflow: hidden;
}

.review-disclosure > summary {
  padding: 22px;
  cursor: pointer;
  list-style: none;
}

.review-disclosure > summary::-webkit-details-marker {
  display: none;
}

.review-disclosure > summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 27px;
  font-weight: 500;
}

.review-disclosure[open] > summary::after {
  content: '−';
}

.review-disclosure-content {
  padding: 0 22px 22px;
  border-top: 1px solid var(--line);
}

.page-hero {
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 70px) 32px;
  background: var(--cream);
}

.page-hero h1,
.detail-copy h1 {
  color: var(--ink);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.legal-nav a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.legal-page {
  max-width: 920px;
  margin: 0 auto;
}

.legal-page h2 {
  margin-top: 34px;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-page li + li {
  margin-top: 8px;
}

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}

.atelier-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 24px;
  align-items: end;
  padding: clamp(44px, 7vw, 92px) clamp(18px, 6vw, 78px);
  background:
    linear-gradient(90deg, rgba(251, 247, 241, 0.98), rgba(251, 247, 241, 0.68)),
    url("assets/products/5 bath bombs kraft.png") right center / contain no-repeat;
}

.atelier-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 96px);
}

.atelier-hero-card,
.builder-panel,
.atelier-sidebar,
.atelier-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.atelier-hero-card {
  padding: 22px;
  box-shadow: var(--shadow);
}

.atelier-builder {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.35fr) minmax(260px, 0.72fr);
  gap: 18px;
  align-items: start;
}

.atelier-sidebar,
.atelier-preview {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.atelier-preview.gift-summary {
  display: grid;
  gap: 20px;
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.product-inspector-empty p {
  color: var(--muted);
  line-height: 1.55;
}

.product-inspector-content img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  border-radius: 8px;
  object-fit: contain;
  background: #fffdf8;
}

.product-inspector-content[hidden],
.product-inspector-empty[hidden] {
  display: none;
}

.product-inspector-category {
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-inspector-content h2 {
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.05;
}

.product-inspector-content .product-benefits-title {
  margin: 14px 0 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.product-benefits {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-benefits li {
  position: relative;
  padding-left: 19px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.product-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: 800;
}

.product-inspector-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.product-inspector-meta strong {
  color: var(--ink);
}

.gift-path-guide {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.gift-path-guide h3 {
  font-size: 25px;
}

.gift-path-guide .atelier-step {
  grid-template-columns: 26px 1fr;
  padding: 9px;
}

.gift-path-guide .atelier-step > span {
  width: 24px;
  height: 24px;
  font-size: 12px;
}

.gift-path-guide .atelier-step strong {
  font-size: 13px;
}

.gift-path-guide .atelier-step p {
  font-size: 11px;
  line-height: 1.35;
}

.atelier-sidebar h2,
.atelier-preview h3 {
  font-size: 30px;
}

.atelier-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7efe7;
}

.atelier-step span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
}

.atelier-step p,
.atelier-preview p,
.box-card p,
.occasion-card span {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.atelier-main {
  display: grid;
  gap: 18px;
}

.builder-panel {
  padding: 18px;
}

.builder-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.builder-heading h3 {
  font-size: 28px;
}

.builder-heading > span {
  border-radius: 999px;
  padding: 5px 9px;
  background: #eef4ef;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 750;
}

.occasion-grid,
.box-grid,
.fill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.item-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.item-category-tabs button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.item-category-tabs button.active {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  color: #fff;
}

.atelier-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.atelier-items-panel.show-all {
  display: grid;
  gap: 22px;
}

.atelier-items-panel.show-all .atelier-item-grid::before {
  content: attr(data-category-label);
  grid-column: 1 / -1;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 700;
}

.atelier-item-note {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  padding: 10px 12px;
  border-left: 3px solid var(--sage-dark);
  background: rgba(232, 239, 234, 0.65);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

[data-category-panel][hidden],
.atelier-category-empty[hidden] {
  display: none;
}

.atelier-item-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  text-align: center;
  cursor: pointer;
  width: 100%;
}

.atelier-item-wrap {
  position: relative;
  min-width: 0;
}

.atelier-item-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fbfaf7;
}

.atelier-item-card strong,
.atelier-item-card span {
  display: block;
}

.atelier-item-card strong {
  margin-top: 9px;
}

.atelier-item-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.atelier-item-card.selected {
  border-color: rgba(211, 169, 77, 0.85);
  box-shadow: 0 0 0 2px rgba(211, 169, 77, 0.18);
}

.atelier-item-card.selected::after {
  display: none;
}

.atelier-item-remove {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 9px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(47, 41, 38, 0.2);
}

.atelier-item-remove:hover {
  background: #b6533d;
}

.atelier-item-remove[hidden] {
  display: none;
}

.atelier-item-card:disabled {
  cursor: not-allowed;
  filter: grayscale(0.75);
  opacity: 0.42;
}

.box-capacity-status {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border-left: 4px solid var(--sage-dark);
  background: #eef4ef;
}

.box-capacity-status span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.box-capacity-status.over-capacity {
  border-left-color: #b6533d;
  background: #fff0eb;
}

.gift-cloud {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: min(330px, calc(100vw - 28px));
  max-height: min(440px, calc(100vh - 28px));
  overflow: auto;
  padding: 13px;
  border: 1px solid rgba(47, 41, 38, 0.16);
  border-radius: 22px 22px 22px 7px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 15px 38px rgba(47, 41, 38, 0.18);
  pointer-events: none;
  backdrop-filter: blur(9px);
}

.gift-cloud[hidden] { display: none; }

.gift-cloud-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
}

.gift-cloud-box img {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  object-fit: contain;
  background: #fff;
}

.gift-cloud-box span,
.gift-cloud-box strong { display: block; }
.gift-cloud-box span { color: var(--muted); font-size: 11px; }
.gift-cloud-box strong { margin-top: 2px; font-size: 14px; }

.gift-cloud-items {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  overflow: hidden;
}

.gift-cloud-items > p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 12px;
}

.gift-cloud-item {
  flex: 0 0 54px;
  min-width: 0;
}

.gift-cloud-item img {
  display: block;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: contain;
  background: #fbfaf7;
}

.gift-cloud-item b {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-cloud-capacity {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.gift-cloud-capacity > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.gift-cloud-capacity i {
  display: block;
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 3px;
  background: #e4e8e3;
}

.gift-cloud-capacity i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage-dark);
}

.gift-cloud-capacity.over-capacity i b { background: #b6533d; }

.gift-summary-toggle {
  display: none;
}

.gift-summary-content {
  display: grid;
  gap: 13px;
}

.gift-summary-box {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.gift-summary-box > p {
  grid-column: 1 / -1;
}

.gift-summary-box img {
  width: 72px;
  height: 72px;
  border-radius: 7px;
  object-fit: contain;
  background: #fffdf8;
}

.gift-summary-box span,
.gift-summary-box strong {
  display: block;
}

.gift-summary-box span {
  color: var(--muted);
  font-size: 11px;
}

.gift-summary-box strong {
  margin-top: 3px;
  font-size: 15px;
}

.packaging-combination {
  display: grid;
  gap: 7px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.packaging-combination[hidden] {
  display: none;
}

.packaging-combination-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
}

.packaging-combination-heading strong {
  font-size: 12px;
}

.packaging-combination-heading span,
.packaging-combination small {
  color: var(--muted);
}

.packaging-combination-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.packaging-ribbon-preview {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  width: 34%;
  height: 34%;
  padding: 3px;
  border: 1px solid rgba(47, 41, 38, 0.15);
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 3px 10px rgba(47, 41, 38, 0.2);
}

.packaging-combination-visual.small img,
.packaging-combination-visual.kraft > img:not(.packaging-ribbon-preview),
.packaging-combination-visual.pink > img:not(.packaging-ribbon-preview) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.packaging-combination-visual.kraft > img:not(.packaging-ribbon-preview),
.packaging-combination-visual.pink > img:not(.packaging-ribbon-preview) {
  object-fit: cover;
}

.packaging-combination-inner {
  position: absolute;
  inset: 12px 16px;
  overflow: hidden;
  border: 10px solid #d7a66e;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(47, 41, 38, 0.14);
}

.packaging-combination-visual.pink .packaging-combination-inner {
  border-color: #e7b8c6;
}

.packaging-tissue-layer,
.packaging-filler-layer,
.packaging-ribbon-layer {
  position: absolute;
  display: block;
}

.packaging-tissue-layer {
  inset: 0;
  background: #f4f0e8 var(--tissue-image) center / cover;
}

.packaging-filler-layer {
  inset: 21% 15% 13%;
  border-radius: 45% 55% 48% 52%;
  background: #f3f1eb var(--filler-image) center / cover;
  box-shadow: 0 2px 8px rgba(47, 41, 38, 0.2);
  transform: rotate(-2deg);
}

.packaging-ribbon-layer {
  z-index: 2;
  top: -8px;
  bottom: -8px;
  left: calc(50% - 7px);
  width: 14px;
  border: 1px solid rgba(47, 41, 38, 0.08);
  box-shadow: 0 1px 4px rgba(47, 41, 38, 0.2);
}

.packaging-combination > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.packaging-caption-ribbon {
  flex: 0 0 28px;
  width: 28px;
  height: 10px;
  border: 1px solid rgba(47, 41, 38, 0.14);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(47, 41, 38, 0.12);
}

.packaging-combination small {
  font-size: 10px;
  line-height: 1.35;
}

.gift-summary-capacity > div,
.gift-summary-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.gift-summary-capacity i {
  display: block;
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 4px;
  background: #e1e8e2;
}

.gift-summary-capacity i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage-dark);
}

.gift-summary-capacity.over-capacity i b {
  background: #b6533d;
}

.gift-summary-suggestion {
  padding: 10px 11px;
  border-left: 3px solid var(--gold);
  background: #fff4ce;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.gift-summary-suggestion[hidden] {
  display: none;
}

.gift-summary-products {
  display: grid;
  gap: 8px;
  max-height: 310px;
  overflow: auto;
  padding-right: 2px;
}

.gift-summary-products > p {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 7px;
  text-align: center;
}

.gift-summary-product {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
}

.gift-summary-product > img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  background: #fbfaf7;
}

.gift-summary-product strong,
.gift-summary-product span {
  display: block;
}

.gift-summary-product strong {
  font-size: 12px;
  line-height: 1.25;
}

.gift-summary-product span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.gift-quantity {
  display: grid;
  grid-template-columns: 26px 24px 26px;
  align-items: center;
}

.gift-quantity button {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  cursor: pointer;
}

.gift-quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.gift-quantity b {
  text-align: center;
  font-size: 12px;
}

.gift-summary-finishes {
  display: grid;
  gap: 7px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
}

.gift-summary-section-title button,
.gift-summary-finish {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sage-dark);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.gift-summary-finish {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 0;
  border-bottom: 1px solid rgba(47, 41, 38, 0.08);
  text-align: left;
}

.gift-summary-finish span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-summary-finish strong {
  flex: 0 0 auto;
}

.atelier-category-empty {
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.box-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.occasion-card,
.budget-row button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 13px;
  cursor: pointer;
}

.occasion-card {
  display: grid;
  gap: 5px;
}

.occasion-card.active,
.budget-row button.active,
.box-card.active {
  border-color: rgba(211, 169, 77, 0.66);
  background: #fff4ce;
}

.budget-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.box-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.box-card.active::after {
  content: "\2713";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage-dark);
  color: #fff;
  font-size: 20px;
  font-weight: 750;
}

.box-choice {
  display: grid;
  align-content: start;
  min-width: 0;
}

.box-choice.active {
  order: initial;
}

.box-card > div {
  padding: 12px 12px 0;
}

.box-card img,
.box-choice.active .box-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.box-card img,
.fill-item img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #f5eee6;
}

.box-card img {
  object-fit: contain;
  background: #fffdf8;
}

.finish-panel {
  display: grid;
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.finish-panel[hidden],
.packaging-stage[hidden],
.finish-group.locked {
  display: none;
}

.packaging-stage {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.packaging-stage .finish-panel {
  margin: 0;
  padding: 0;
  border-top: 0;
}

.finish-group.completed legend {
  cursor: pointer;
}

.finish-group.completed legend::after {
  content: "\2713  " attr(data-selected);
  float: right;
  margin-left: 12px;
  color: var(--sage-dark);
  font-size: 13px;
}

.finish-group.collapsed > div {
  display: none;
}

.finish-panel .colour-disclaimer {
  margin: 2px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
}

.box-choice .colour-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.box-choice .material-options.two-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.builder-panel > .colour-disclaimer {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
}

.finish-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.finish-group[hidden] {
  display: none;
}

.finish-group legend {
  margin-bottom: 10px;
  font-weight: 750;
}

.colour-options,
.material-options {
  display: grid;
  gap: 10px;
}

.colour-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.material-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.colour-option,
.material-option {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.colour-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  text-align: left;
}

.packaging-stage .colour-option {
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  gap: 8px;
  text-align: center;
}

.packaging-stage .colour-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.packaging-stage .colour-option strong {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.material-option {
  overflow: hidden;
  padding: 0 0 9px;
  text-align: center;
}

.colour-option.active,
.material-option.active {
  border-color: rgba(211, 169, 77, 0.85);
  box-shadow: 0 0 0 2px rgba(211, 169, 77, 0.18);
}

.colour-dot {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(47, 41, 38, 0.18);
  border-radius: 50%;
}

.ribbon-orange { background: #ee9414; }
.ribbon-yellow { background: #e8bd20; }
.ribbon-mint { background: #d5e7e1; }
.ribbon-blue { background: #60a9d4; }
.ribbon-pink { background: #ef9fba; }
.ribbon-white { background: #fff; }
.ribbon-black { background: #171717; }
.ribbon-brown { background: #70402d; }
.ribbon-red { background: #c91f2b; }

.material-option img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  margin-bottom: 8px;
  object-fit: cover;
}

.tissue-options .material-option img {
  transform: scale(1.16);
  transform-origin: center;
}

.material-option strong {
  position: relative;
  z-index: 1;
  display: block;
  background: #fffdf8;
}


.material-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.colour-disclaimer {
  margin-top: -8px;
  padding-bottom: 2px;
}

@media (max-width: 620px) {
  .colour-options,
  .material-options,
  .packaging-stage .colour-options {
    grid-template-columns: 1fr;
  }

  .material-option {
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    padding: 0 12px 0 0;
    text-align: left;
  }

  .material-option img {
    aspect-ratio: 1 / 1;
    margin: 0 12px 0 0;
  }
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.slot-row span {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(47, 41, 38, 0.22);
  border-radius: 50%;
  background: var(--cream);
}

.slot-row .filled,
.fill-item.selected::after {
  background: var(--sage);
}

.fill-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.fill-item span {
  color: var(--muted);
  font-size: 13px;
}

.fill-item.selected {
  border-color: rgba(83, 104, 91, 0.42);
  background: #eef4ef;
}

.fill-item.selected::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.fill-item.disabled {
  opacity: 0.48;
}

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

.personal-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
  font-weight: 650;
}

.option-price { margin-left: auto; color: var(--sage-dark); }

.personal-card-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.personal-card-panel[hidden] { display: none; }
.message-help-toggle { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.message-help-toggle input { margin-top: 3px; }
.message-help-toggle span { display: grid; gap: 3px; }
.message-help-toggle small { color: var(--muted); font-size: 10px; font-weight: 400; }

.message-help-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2f6f2;
}

.message-help-fields[hidden] { display: none; }
.message-help-fields label { display: grid; gap: 6px; }
.message-help-fields label span { font-size: 11px; font-weight: 750; }
.message-help-fields input,
.message-help-fields select { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font: inherit; }
.message-help-fields p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 10px; }
.message-contact { grid-column: span 2; }
.message-help-confirmation { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 6px; background: #f2f1ed; color: var(--muted); font-size: 11px; line-height: 1.4; }
.message-help-confirmation i { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #d9ddd9; color: #fff; font-style: normal; font-weight: 800; }
.message-help-confirmation.complete { background: #eaf4ed; color: #315f43; }
.message-help-confirmation.complete i { background: #3c7a53; }

@media (max-width: 700px) {
  .message-help-fields { grid-template-columns: 1fr; }
  .message-help-fields p { grid-column: auto; }
  .message-contact,
  .message-help-confirmation { grid-column: auto; }
}

.atelier-message {
  width: 100%;
  min-height: 110px;
  margin-top: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}

.preview-price {
  margin: 8px 0 16px;
  font-weight: 750;
}

.preview-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  background: #eef4ef;
}

.preview-box span,
.preview-box strong {
  display: block;
}

.atelier-preview ul {
  margin: 14px 0;
  padding-left: 20px;
  color: var(--muted);
}

.journal-hero {
  min-height: 520px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.68) 48%, rgba(255, 253, 248, 0.18)),
    url("assets/journal/journal-scenes.png") right center / cover;
}

.corporate-page-hero {
  min-height: 560px;
  display: grid;
  align-content: end;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(47, 41, 38, 0.76), rgba(47, 41, 38, 0.22)),
    url("assets/mood/corporate-office.png") center / cover;
}

.corporate-page-hero h1,
.corporate-page-hero .lead {
  color: var(--cream);
}

.article-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-index a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--paper);
  font-weight: 650;
}

.journal-articles {
  display: grid;
  gap: 0;
}

.journal-article {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  min-height: 660px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.journal-article:nth-child(even) {
  background: var(--paper);
}

.article-media {
  min-height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.article-soaps {
  background-image: url("assets/journal/handmade-soap-special.png");
}

.article-felted {
  background-image: url("assets/journal/felted-soap-wool.png");
}

.article-small-gifts {
  background-image: url("assets/journal/small-thoughtful-gifts.png");
  background-position: center;
}

.article-unknown-taste {
  background-image: url("assets/journal/unknown-taste-gift.png");
  background-position: center;
}

.article-handmade-special {
  background-image: url("assets/journal/handmade-soap-special.png");
  background-position: center;
}

.article-scent-mood {
  background-image: url("assets/journal/soap-scent-mood.png");
  background-position: center;
}

.article-home-spa {
  background-image: url("assets/journal/home-spa-ritual.png");
  background-position: center;
}

.article-felted-wool {
  background-image: url("assets/journal/felted-soap-wool.png");
  background-position: center;
}

.article-body {
  max-width: 820px;
  padding: clamp(42px, 7vw, 86px);
}

.article-body h2 {
  margin-bottom: 14px;
}

.subtitle {
  margin: 0 0 24px;
  color: var(--sage-dark);
  font-size: 20px;
  font-weight: 650;
}

.article-body p {
  color: var(--muted);
  font-size: 17px;
}

.article-products {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink) !important;
  font-weight: 650;
}

.journal-library {
  padding-top: 34px;
}

.journal-tools {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 22px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

.search-box input {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
}

.journal-tools p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.journal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.journal-entry[hidden] {
  display: none;
}

.journal-entry:has(details[open]) {
  grid-column: 1 / -1;
}

.journal-entry:has(details[open]) summary {
  min-height: 0;
  grid-template-columns: 180px 1fr auto;
  grid-template-rows: auto;
}

.journal-entry:has(details[open]) .entry-thumb {
  width: 180px;
  height: 180px;
  grid-column: 1;
  grid-row: 1;
  border-radius: 8px 0 0 0;
}

.journal-entry:has(details[open]) .entry-summary {
  grid-column: 2;
  grid-row: 1;
  padding: 24px 26px;
}

.journal-entry:has(details[open]) summary::after {
  grid-column: 3;
  grid-row: 1;
}

.journal-entry details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  overflow: hidden;
  height: 100%;
}

.journal-entry summary {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 150px auto;
  gap: 0;
  align-items: stretch;
  min-height: 360px;
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.journal-entry summary::-webkit-details-marker {
  display: none;
}

.journal-entry summary::after {
  content: "+";
  justify-self: end;
  align-self: start;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 18px 20px 0 0;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}

.journal-entry details[open] summary::after {
  content: "-";
}

.entry-thumb {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  grid-column: 1 / span 2;
  grid-row: 1;
}

.entry-summary {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 20px 54px 22px 20px;
  grid-column: 1 / span 2;
  grid-row: 2;
}

.entry-summary strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1;
  font-weight: 600;
}

.entry-summary em {
  color: var(--muted);
  font-style: normal;
}

.entry-body {
  max-width: 100%;
  padding: 0 22px 24px;
}

.entry-body p {
  color: var(--muted);
  font-size: 16px;
}

.mini-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mini-products a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.mini-products img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
}

.match-score {
  width: fit-content;
  margin-top: 8px;
  border: 1px solid rgba(83, 104, 91, 0.26);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--sage-dark);
  background: #e9f0ea;
  font-size: 12px;
  font-weight: 750;
}

.seo-note {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(251, 247, 241, 0.72);
  font-size: 13px;
}

.seo-note strong {
  color: var(--ink);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding: clamp(34px, 6vw, 84px) clamp(18px, 5vw, 70px);
}

.detail-media {
  position: sticky;
  top: 94px;
  min-width: 0;
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 0 3px;
  transform: translateY(-50%);
  border: 1px solid rgba(47, 41, 38, 0.22);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  box-shadow: 0 5px 18px rgba(47, 41, 38, 0.2);
  font: 600 35px/1 Georgia, serif;
  cursor: pointer;
  z-index: 2;
}

.gallery-arrow-prev { left: 14px; }
.gallery-arrow-next { right: 14px; }
.gallery-arrow:is(:hover, :focus-visible) { background: #fff; transform: translateY(-50%) scale(1.06); }

.detail-main-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.detail-thumbnail {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  cursor: pointer;
}

.detail-thumbnail img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.detail-thumbnail:is(:hover, :focus-visible),
.detail-thumbnail.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.detail-copy h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.detail-price {
  margin: 14px 0;
  font-size: 24px;
  font-weight: 750;
}

.purchase-panel {
  position: relative;
  margin: 22px 0 24px;
  padding: 18px;
  border: 1px solid rgba(47, 41, 38, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 34px rgba(47, 41, 38, 0.12);
  backdrop-filter: blur(14px);
}

.purchase-label {
  margin: 0;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.purchase-price {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.purchase-button {
  min-height: 52px;
  min-width: 180px;
  font-size: 16px;
}

.detail-box {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.story-box {
  background: #f3e7ea;
}

.story-box p {
  color: var(--ink);
  font-size: 18px;
}

.benefit-box {
  background: #e9f0ea;
}

.benefit-box ul,
.detail-box ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.benefit-box li,
.detail-box li {
  margin: 8px 0;
  color: var(--muted);
}

.benefit-box li:first-child {
  color: var(--ink);
  font-weight: 750;
}

.detail-box h3 {
  margin-bottom: 8px;
}

.box-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.safety-list {
  margin: 12px 0 16px;
  padding: 12px 14px 12px 30px;
  border: 1px solid rgba(83, 104, 91, 0.22);
  border-radius: 8px;
  background: #eef4ef;
  color: var(--sage-dark);
  font-size: 14px;
}

.safety-list li {
  margin: 6px 0;
}

.review-box {
  background: #fffaf0;
}

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

.verified-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(211, 169, 77, 0.36);
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff4ce;
  color: #7a5b12;
  font-size: 12px;
  font-weight: 800;
}

.review-empty {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(211, 169, 77, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.review-empty p {
  margin: 0;
}

.review-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.review-item {
  padding: 14px;
  border: 1px solid rgba(211, 169, 77, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.review-item h4 {
  margin: 2px 0 6px;
  font-size: 16px;
}

.review-item p {
  margin: 0;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  color: var(--muted);
  font-size: 13px;
}

.review-meta strong {
  color: var(--ink);
}

.review-stars {
  margin: 5px 0 2px;
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.review-source {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef4ef;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 750;
}

.review-form {
  display: grid;
  gap: 12px;
}

.review-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.review-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px;
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

.review-policy,
.review-thanks {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.inci-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.inci-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 247, 241, 0.72);
}

.inci-item summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 750;
}

.inci-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1050px) {
  .editorial-grid,
  .choice-strip,
  .delivery-banner,
  .contact-layout,
  .atelier-hero,
  .atelier-builder,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .delivery-banner span {
    justify-self: start;
  }

  .delivery-fairy {
    width: 72px;
    height: 72px;
  }

  .detail-media {
    position: static;
  }

  .purchase-panel {
    position: static;
  }

  .atelier-sidebar,
  .atelier-preview {
    position: static;
  }

  .journal-article {
    grid-template-columns: 1fr;
  }

  .article-media {
    min-height: 360px;
  }

  .journal-tools {
    grid-template-columns: 1fr;
  }

  .journal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-fields {
    grid-template-columns: 1fr;
  }

  .seller-feedback {
    grid-template-columns: 1fr;
  }

  .occasion-grid,
  .box-grid,
  .fill-grid,
  .personal-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .box-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 600px) {
  .box-grid {
    grid-template-columns: 1fr;
  }

  .packaging-stage .colour-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .atelier-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-list {
    grid-template-columns: 1fr;
  }

  .journal-entry:has(details[open]) summary {
    grid-template-columns: 1fr auto;
    grid-template-rows: 150px auto;
  }

  .journal-entry:has(details[open]) .entry-thumb {
    width: 100%;
    height: 150px;
    grid-column: 1 / span 2;
  }

  .journal-entry:has(details[open]) .entry-summary {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .gift-cloud {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: 190px;
    border-radius: 14px;
    transform: none !important;
  }

  .gift-cloud-item:nth-child(n + 5) { display: none; }

  .box-capacity-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .box-capacity-status span { text-align: left; }

  body {
    padding-bottom: 76px;
  }

  .atelier-preview.gift-summary {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 10px;
    left: 10px;
    top: auto;
    padding: 0;
    box-shadow: 0 12px 34px rgba(47, 41, 38, 0.2);
    overflow: visible;
  }

  .gift-path-guide { display: none; }

  .gift-summary-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 15px;
    border: 0;
    border-radius: 8px;
    background: var(--sage-dark);
    color: #fff;
    font: inherit;
    cursor: pointer;
  }

  .gift-summary-toggle strong {
    font-size: 12px;
  }

  .gift-summary-content {
    display: none;
    max-height: min(66vh, 570px);
    overflow: auto;
    padding: 15px;
  }

  .gift-summary.mobile-open .gift-summary-content {
    display: grid;
  }

  .gift-summary.mobile-open .gift-summary-toggle {
    border-radius: 8px 8px 0 0;
  }

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

  .editorial-card.large {
    min-height: 0;
  }

  .editorial-card.large .editorial-image {
    min-height: 260px;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}
.turnstile-slot{min-height:65px;margin:4px 0 12px}.turnstile-slot:empty{display:none}
