:root {
  --paper: #fffaf2;
  --surface: #f6eddf;
  --surface-strong: #ead8bf;
  --ink: #312519;
  --muted: #725f4b;
  --line: #dfcfb8;
  --gold: #b8812a;
  --gold-dark: #80591d;
  --rose: #d68682;
  --sage: #82977b;
  --olive: #526a52;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(49, 37, 25, .14);
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

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

.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;
}

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

button {
  cursor: pointer;
}

.announcement {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1cfc7;
  color: #4f3328;
  font-size: 13px;
  letter-spacing: .02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  height: 100%;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #3e3125;
  font-size: 14px;
  letter-spacing: .02em;
}

.nav-direct-link {
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-dark);
}

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(860px, 92vw);
  transform: translateX(-50%) translateY(8px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.nav-item:hover .mega,
.nav-item.active .mega {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega h3 {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mega a {
  display: block;
  padding: 6px 0;
  font-size: 15px;
}

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

.link-button,
.icon-button,
.primary-button,
.secondary-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.link-button {
  padding: 0 10px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon-button {
  position: relative;
  width: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 0;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}

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

.primary-button:disabled,
.quick-add:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.secondary-button {
  border: 1px solid var(--ink);
  background: transparent;
}

.icon-search,
.icon-heart,
.icon-bag,
.icon-close,
.icon-bars {
  position: relative;
  display: inline-block;
  width: 21px;
  height: 21px;
}

.icon-search::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  left: 2px;
  top: 2px;
}

.icon-search::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  left: 12px;
  top: 14px;
}

.icon-heart::before,
.icon-heart::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 16px;
  background: currentColor;
  border-radius: 10px 10px 0 0;
  top: 3px;
}

.icon-heart::before {
  left: 4px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.icon-heart::after {
  left: 6px;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}

.icon-bag::before {
  content: "";
  position: absolute;
  inset: 7px 3px 2px;
  border: 2px solid currentColor;
}

.icon-bag::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 3px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.icon-close::before,
.icon-close::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  width: 16px;
  height: 2px;
  background: currentColor;
}

.icon-close::before {
  transform: rotate(45deg);
}

.icon-close::after {
  transform: rotate(-45deg);
}

.icon-bars,
.icon-bars::before,
.icon-bars::after {
  height: 2px;
  background: currentColor;
}

.icon-bars {
  width: 20px;
}

.icon-bars::before,
.icon-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
}

.icon-bars::before {
  top: 4px;
}

.icon-bars::after {
  bottom: 4px;
}

.count-pill {
  position: absolute;
  right: 1px;
  top: 2px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: var(--white);
  font-size: 10px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 34px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(49, 37, 25, .08), rgba(49, 37, 25, .34)),
    var(--hero-image, url("/assets/hero-gift.svg")) center / cover no-repeat;
  z-index: -2;
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 76px;
  color: var(--white);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--white);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 400;
  line-height: .95;
}

.hero p {
  margin: 0 0 24px;
  font-size: 18px;
}

.text-link {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0 0 5px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.section {
  padding: 58px 28px;
}

.section.compact {
  padding-top: 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1480px;
  margin: 0 auto 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
}

.section-heading p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1480px;
  margin: 0 auto;
}

.category-tile {
  position: relative;
  min-height: 250px;
  background: var(--surface);
  overflow: hidden;
}

.category-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1.14;
  object-fit: cover;
  transition: transform .25s ease;
}

.category-tile:hover img {
  transform: scale(1.025);
}

.tile-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding-bottom: 4px;
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .3);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 580px;
}

.split-visual {
  background: var(--split-image, url("/assets/halo-collection.svg")) center / cover no-repeat;
}

.split-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  text-align: center;
  background: var(--sage);
  color: var(--white);
}

.split-copy h2,
.store-copy h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 400;
}

.split-copy p,
.store-copy p {
  max-width: 460px;
  margin: 0 0 22px;
}

.product-row,
.product-grid {
  max-width: 1480px;
  margin: 0 auto;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}

.product-card {
  position: relative;
  min-width: 0;
  scroll-snap-align: start;
}

.product-media {
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.product-media img,
.product-card-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-card:hover .product-media img,
.product-card:hover .product-card-video {
  transform: scale(1.025);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(255, 250, 242, .9);
  color: var(--gold-dark);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wishlist-btn {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  color: var(--ink);
  background: rgba(255, 250, 242, .74);
}

.wishlist-btn.active {
  color: var(--rose);
}

.quick-add {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-info {
  padding: 12px 0 0;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  font-weight: 700;
}

.product-meta {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.price {
  white-space: nowrap;
}

.compare {
  color: var(--muted);
  margin-left: 6px;
  text-decoration: line-through;
}

.store-band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  min-height: 520px;
  background: var(--surface);
}

.store-image {
  background: var(--store-image, url("/assets/store-front.svg")) center / cover no-repeat;
}

.store-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  background: var(--paper);
}

.service-item h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.service-item p {
  margin: 0;
  color: var(--muted);
}

.collection-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 30px;
  max-width: 1480px;
  margin: 0 auto;
}

.collection-layout.no-filters {
  grid-template-columns: 1fr;
}

.filters {
  position: sticky;
  top: calc(var(--header-height) + 54px);
  align-self: start;
  border-top: 1px solid var(--line);
}

.filter-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.filter-group h3 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.filter-option {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  color: var(--muted);
}

.collection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.collection-bar select {
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 42px;
  max-width: 1480px;
  margin: 0 auto;
  padding: 42px 28px 70px;
}

.product-media-stack {
  display: grid;
  gap: 14px;
}

.product-media-stack img,
.product-detail-video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface);
}

.product-detail-video {
  background: #111111;
}

.detail-aside {
  position: sticky;
  top: calc(var(--header-height) + 54px);
  align-self: start;
}

.detail-aside h1 {
  margin: 8px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400;
}

.detail-price {
  margin: 0 0 20px;
  font-size: 18px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 20px;
}

.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
}

.option-pill {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.option-pill.selected {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.price-breaks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 18px;
}

.price-breaks span,
.stock-note {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.rich-details {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.rich-details p {
  margin: 0;
}

.accordion {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.accordion summary {
  cursor: pointer;
  font-weight: 700;
}

.reviews {
  margin-top: 28px;
  padding: 20px;
  background: var(--surface);
}

.stars {
  color: var(--gold-dark);
  letter-spacing: .12em;
}

.checkout-page,
.stores-page,
.policy-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 28px 80px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.form-card,
.summary-card,
.store-card,
.policy-card {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-section {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.checkout-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-form label,
.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.required-star {
  color: #c92828;
  font-weight: 800;
  margin-right: 4px;
}

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

#paypalButtons {
  min-height: 42px;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.upload-card input,
.search-form input,
.inline-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
}

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

.feedback-page,
.service-chat-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 28px 80px;
}

.feedback-hero {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(49, 37, 25, .12), rgba(49, 37, 25, .55)),
    var(--feedback-image, url("/assets/store-front.svg")) center / cover no-repeat;
}

.feedback-hero h1,
.service-chat-page h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
}

.feedback-hero p {
  max-width: 560px;
}

.feedback-form,
.chat-shell {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feedback-form label,
.chat-form label {
  display: grid;
  gap: 7px;
}

.feedback-form input,
.feedback-form textarea,
.chat-form input,
.chat-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
}

.chat-thread {
  display: grid;
  gap: 10px;
  min-height: 280px;
  max-height: 460px;
  overflow: auto;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.chat-bubble {
  width: min(78%, 560px);
  padding: 12px 14px;
  background: var(--surface-strong);
}

.chat-bubble.customer {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
}

.chat-bubble p {
  margin: 0 0 6px;
}

.chat-bubble span {
  font-size: 12px;
  opacity: .72;
}

.chat-form {
  display: grid;
  gap: 10px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(49, 37, 25, .34);
}

.panel {
  position: fixed;
  z-index: 80;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.drawer {
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100vh;
  transform: translateX(105%);
  transition: transform .22s ease;
}

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

.drawer-head {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.drawer-body {
  height: calc(100vh - 68px - 154px);
  overflow: auto;
  padding: 18px;
}

.wishlist-drawer .drawer-body {
  height: calc(100vh - 68px);
}

.drawer-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-item img {
  width: 86px;
  height: 108px;
  object-fit: cover;
  background: var(--surface);
}

.drawer-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.drawer-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-row button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.qty-row .text-link {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.cart-summary {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.total-line {
  font-weight: 700;
}

.search-panel {
  top: 50%;
  left: 50%;
  width: min(720px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 28px));
  transform: translate(-50%, -46%) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.search-panel.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 18px;
}

.search-form button,
.inline-form button {
  min-height: 44px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 18px;
}

.search-results {
  max-height: 450px;
  overflow: auto;
  padding: 0 18px 18px;
}

.empty-state {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, .34);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  transform: translate(-50%, 20px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  background: #2e241a;
  color: var(--paper);
  padding: 54px 28px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(220px, .9fr));
  gap: 36px;
  max-width: 1480px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand .brand-logo {
  height: 66px;
}

.site-footer p {
  color: #d8c9b5;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #efe4d4;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 1480px;
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 242, .18);
  color: #d8c9b5;
  font-size: 13px;
}

.paypal-mark {
  width: 118px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
}

.mobile-only {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: min(360px, 100vw);
  background: var(--paper);
  transform: translateX(-105%);
  transition: transform .22s ease;
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.mobile-nav-group summary {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-weight: 700;
}

.mobile-nav-group a {
  padding-left: 34px;
  color: var(--muted);
}

.mobile-nav-link {
  font-weight: 700;
}

.admin-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background: #f5ecdf;
}

.admin-body.login-mode {
  display: block;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f5ecdf;
}

.admin-login[hidden] {
  display: none;
}

.admin-login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.admin-login-card .brand {
  justify-self: start;
}

.admin-login-card h1 {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
}

.admin-login-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.admin-login-card input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 12px;
  font: inherit;
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  background: #2e241a;
  color: var(--paper);
}

.admin-sidebar .brand {
  margin-bottom: 36px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav a,
.admin-store-link {
  padding: 12px 10px;
  color: #efe4d4;
}

.admin-sidebar nav a.active {
  background: rgba(255, 250, 242, .12);
}

.admin-store-link {
  margin-top: auto;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.admin-main {
  min-width: 0;
  padding: 30px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-topbar h1,
.admin-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.admin-topbar h1 {
  font-size: 46px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

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

.stat-card,
.admin-form,
.table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
}

.stat-card {
  padding: 24px;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

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

.admin-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.admin-subhead {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.admin-subhead h3 {
  margin: 0;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rich-editor {
  display: grid;
  gap: 10px;
}

.rich-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rich-toolbar input[type="color"] {
  width: 42px;
  min-height: 34px;
  padding: 2px;
}

.content-form {
  max-width: 760px;
}

.images-form {
  max-width: none;
}

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

.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.check-row input {
  width: auto;
  min-height: 0;
}

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

.nail-shape-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.nail-shape-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.nail-shape-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nail-shape-chip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  width: min(100%, 520px);
  padding: 7px 9px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12px;
}

.nail-shape-chip label {
  margin-top: 6px;
}

.nail-shape-chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

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

.upload-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.upload-card img,
.upload-card video {
  width: 112px;
  height: 140px;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}

.upload-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.gallery-preview {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.gallery-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.gallery-preview-head strong {
  color: var(--ink);
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.gallery-preview-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.gallery-preview-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}

.gallery-preview-item div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.gallery-preview-item strong {
  font-size: 12px;
}

.gallery-preview-item span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-preview-empty {
  color: var(--muted);
  font-size: 13px;
}

.upload-card strong,
.image-manager-card strong {
  color: var(--ink);
}

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

.image-manager-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.image-manager-card img {
  width: 170px;
  height: 190px;
  object-fit: cover;
  background: var(--paper);
  border: 1px solid var(--line);
}

.image-manager-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.image-manager-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
}

.image-manager-card label {
  margin-top: 10px;
}

.table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

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

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.order-tools {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.order-tools label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.order-status-filters,
.order-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.order-item-row,
.product-admin-cell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 220px;
}

.order-item-row img,
.product-admin-cell img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface);
}

.order-item-row strong,
.product-admin-cell strong {
  display: block;
  overflow-wrap: anywhere;
}

.order-item-row span,
.product-admin-cell span {
  color: var(--muted);
  font-size: 12px;
}

.address-block {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.address-block strong {
  color: var(--ink);
}

.small-button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 10px;
}

.danger-button {
  color: #9d342b;
}

.admin-pill {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
}

@media (max-width: 1080px) {
  .main-nav,
  .header-actions .link-button {
    display: none;
  }

  .mobile-only {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    justify-self: center;
  }

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

  .split-feature,
  .store-band,
  .product-detail,
  .checkout-grid,
  .collection-layout {
    grid-template-columns: 1fr;
  }

  .filters,
  .detail-aside {
    position: static;
  }

  .service-strip,
  .stores-grid,
  .footer-grid,
  .stat-grid,
  .admin-layout {
    grid-template-columns: 1fr 1fr;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 680px) {
  .announcement {
    padding: 0 12px;
    text-align: center;
    font-size: 12px;
  }

  .header-inner {
    padding: 0 12px;
    gap: 8px;
  }

  .brand-logo {
    height: 48px;
  }

  .footer-brand .brand-logo {
    height: 58px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin-bottom: 42px;
  }

  .section,
  .product-detail,
  .checkout-page,
  .stores-page,
  .policy-page,
  .feedback-page,
  .service-chat-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-heading {
    display: block;
  }

  .tile-grid,
  .product-row,
  .product-grid,
  .service-strip,
    .stores-grid,
    .footer-grid,
    .stat-grid,
    .admin-layout,
    .image-manager-grid,
    .gallery-preview-grid,
    .image-manager-card,
    .checkout-field-row,
    .form-row,
    .admin-sidebar nav {
    grid-template-columns: 1fr;
  }

  .split-copy,
  .store-copy {
    padding: 42px 20px;
  }

  .split-visual,
  .store-image {
    min-height: 360px;
  }

  .footer-bottom,
  .collection-bar,
  .admin-topbar {
    display: block;
  }

  .admin-main {
    padding: 18px;
  }

  .admin-topbar .primary-button {
    margin-top: 16px;
  }
}
