/* ============================================================
   Clawdelia storefront — styles
   Palette + header spec translated from the design bundle.
   Mobile-first; the desktop layout kicks in at >= 720px
   (matching the header breakpoint in the spec).
   ============================================================ */

:root {
  --bg:          #F2EDE3; /* warm cream — primary background        */
  --bg-soft:     #EAE2D2; /* section backgrounds                    */
  --ink:         #2A1813; /* dark chocolate — primary text          */
  --ink-soft:    #4A2F25; /* secondary headings / notes             */
  --muted:       #6B5145; /* body copy / subtext                    */
  --quiet:       #8A7060; /* eyebrow labels / meta                  */
  --accent:      #B89484; /* dusty tan accent                       */
  --gold:        #E8C46A; /* active nav underline, gradient start   */
  --blush:       #E68FA8; /* secondary accent, gradient end         */
  --line:        rgba(42,24,19,0.10);  /* hairline dividers         */
  --line-strong: rgba(42,24,19,0.22);  /* stronger borders          */

  --header-bg:   #1A0E09; /* near-black chocolate — header only     */
  --header-fg:   #F2EDE3; /* cream on dark                          */
  --header-line: rgba(232,196,106,0.10); /* gold at 10%             */

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

/* Responsive visibility helpers ---------------------------------- */
.desktop-only { display: none; }
.mobile-only  { display: revert; }

@media (min-width: 720px) {
  .desktop-only { display: revert; }
  .mobile-only  { display: none !important; }
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- wordmark (shared) --- */
.wordmark {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 1;
}
.wordmark .claw   { color: var(--gold); }
.wordmark .delia  { color: var(--blush); }

/* --- mobile header --- */
.header-mobile {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 8px 12px;
  min-height: 60px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--header-fg);
}
.header-mobile .wordmark { grid-column: 2; font-size: 20px; text-align: center; }
.header-mobile .icon-btn.bag { grid-column: 3; }

/* --- desktop header --- */
.header-desktop {
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  min-height: 76px;
}
.header-desktop.desktop-only { display: none; }
@media (min-width: 720px) {
  .header-desktop.desktop-only { display: flex; }
}
.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}
.nav-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--header-fg);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.78;
  transition: opacity 120ms ease;
  position: relative;
}
.nav-link:hover { opacity: 1; }
.nav-link.active {
  opacity: 1;
  border-bottom: 1px solid var(--gold);
}
.nav-link .chev { font-size: 9px; color: var(--quiet); }
.header-desktop .wordmark { font-size: 24px; }
.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* --- desktop shop dropdown --- */
.shop-dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 20;
  background: var(--bg);
  border: 1px solid rgba(42,24,19,0.12);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
  padding: 6px 0;
  min-width: 180px;
  animation: fadeIn 140ms ease;
}
.shop-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
}
.shop-dropdown button:hover { background: var(--bg-soft); }

/* ================================================================
   LAYOUT SHELL
   ================================================================ */
.content {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 44px;
}
@media (min-width: 720px) {
  .content { max-width: 1080px; }
}
.inner {
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .inner { max-width: 1080px; }
}

/* ================================================================
   HOME
   ================================================================ */

/* --- desktop hero band (desktop only; driven by media query so it
       reliably stays hidden on mobile regardless of source order) --- */
.hero {
  display: none;
  margin: 24px 40px 8px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(115deg, #1A0E09 0%, #3a1f16 60%, #5a2f28 100%);
  align-items: center;
  justify-content: space-between;
  padding: 44px 48px;
}
@media (min-width: 720px) {
  .hero { display: flex; }
}
.hero-copy { max-width: 52%; }
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  color: var(--bg);
  margin-top: 10px;
}
.hero-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(242,237,227,0.75);
  margin-top: 14px;
  max-width: 400px;
}
.hero-swatches {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.hero-swatches span {
  display: block;
  width: 30px;
  border-radius: 50% 50% 6px 6px;
}

/* --- shared buttons --- */
.btn-gold {
  background: var(--gold);
  color: #2A1813;
  border: 0;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.btn-pill-outline {
  padding: 10px 26px;
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  cursor: pointer;
}

/* --- section headings --- */
.section-head {
  padding: 16px 16px 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .section-head { max-width: 1080px; }
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--ink);
  margin-top: 3px;
}
.swipe-hint {
  font-size: 11px;
  color: var(--quiet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- product rows: swipe on mobile, grid on desktop --- */
.row-featured,
.row-best {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 16px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.row-featured > .card,
.row-best > .card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.row-featured > .card { flex: 0 0 190px; }
.row-best > .card     { flex: 0 0 150px; }

@media (min-width: 720px) {
  .row-featured {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    padding: 12px 40px 20px;
    max-width: 1080px;
    margin: 0 auto;
    overflow: visible;
  }
  .row-best {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 12px 40px 20px;
    max-width: 1080px;
    margin: 0 auto;
    overflow: visible;
  }
  .row-featured > .card,
  .row-best > .card { flex: none; }
}

.shop-all-wrap {
  padding: 20px 16px 40px;
  display: flex;
  justify-content: center;
}

/* ================================================================
   PRODUCT CARDS
   ================================================================ */
.card { display: flex; flex-direction: column; }

.card-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.card-thumb.featured { height: 230px; }
.card-thumb.regular  { height: 170px; }

.thumb-fill {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}
.card-thumb.featured .thumb-fill { gap: 5px; padding: 0 16px 16px; }
.card-thumb.regular  .thumb-fill { gap: 4px; padding: 0 12px 12px; }

.nail {
  border-radius: 50% 50% 3px 3px;
}
.card-thumb.featured .nail { width: 17px; }
.card-thumb.regular  .nail { width: 14px; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(42,24,19,0.85);
  color: var(--bg);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-name {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.3;
}
.card-thumb.featured + .card-name { font-size: 13px; margin-top: 9px; }
.card-price {
  font-size: 12px;
  color: var(--quiet);
  margin-top: 2px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
}
.card-cat {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================================================
   SHOP
   ================================================================ */
.shop-head { padding: 24px 16px 4px; }
.shop-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--ink);
}
.shop-sub {
  font-size: 12px;
  color: var(--quiet);
  margin-top: 4px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}
@media (min-width: 720px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   ABOUT
   ================================================================ */
.prose {
  padding: 32px 20px 48px;
  max-width: 680px;
  margin: 0 auto;
}
.prose h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 16px;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 10px;
}
.prose .lede {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.prose p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.prose p:last-child { margin-bottom: 0; }
.rule { height: 1px; background: var(--line); margin: 24px 0; border: 0; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: 32px 20px 48px;
  max-width: 560px;
  margin: 0 auto;
}
.contact h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 8px;
}
.contact .intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}
.contact-form textarea { resize: none; }
.contact-form button {
  width: 100%;
  padding: 15px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.contact-details .label {
  color: var(--quiet);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* ================================================================
   DRAWER (mobile)
   ================================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,24,19,0.45);
  z-index: 30;
  animation: fadeIn 180ms ease;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 80%;
  background: var(--bg);
  z-index: 31;
  box-shadow: 2px 0 24px rgba(0,0,0,0.2);
  animation: drawerIn 220ms cubic-bezier(0.2,0.8,0.2,1);
  display: flex;
  flex-direction: column;
  padding: 56px 0 24px;
  overflow-y: auto;
}
.drawer-brand {
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.drawer-brand span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.drawer-link {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-link .chev { color: var(--quiet); font-size: 12px; }
.drawer-sub {
  display: flex;
  flex-direction: column;
  padding-bottom: 6px;
}
.drawer-sub button {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 10px 24px 10px 40px;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes drawerIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }

/* ================================================================
   Shopify integration — product photos, Add to Bag, bag counter
   ================================================================ */
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.add-bag {
  margin-top: 8px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.add-bag:hover {
  background: var(--ink);
  color: var(--bg);
}

.icon-btn { position: relative; }
.bag-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  background: var(--gold);
  color: var(--header-bg);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

/* ================================================================
   Hero product photo + bag icon fixes
   ================================================================ */

/* the bag SVG's handle arc sits slightly above its viewBox — let it draw */
.icon-btn svg { overflow: visible; }

/* hero fades into a real product photo on the right */
.hero { position: relative; }
.hero-copy { position: relative; z-index: 1; }
.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.95) 62%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.95) 62%, #000 100%);
}

/* ================================================================
   Product detail page — mobile-first, splits to 2 columns at 720px
   ================================================================ */
.card[data-product] { cursor: pointer; }
.card[data-product]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px; }

.pdp-back {
  background: transparent;
  border: 0;
  color: var(--quiet);
  font-family: var(--sans);
  font-size: 13px;
  padding: 10px 0;
  margin: 4px 0 6px;
  cursor: pointer;
  min-height: 44px;
}

.pdp-grid { display: block; }
@media (min-width: 720px) {
  .pdp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

/* --- gallery --- */
.pdp-main {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}
.pdp-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.pdp-main-fill { width: 100%; aspect-ratio: 1 / 1; }

.pdp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.pdp-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active { border-color: var(--ink); }

/* --- info column --- */
.pdp-info { margin-top: 18px; }
@media (min-width: 720px) { .pdp-info { margin-top: 0; } }

.pdp-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}
.pdp-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  margin: 6px 0 4px;
}
@media (min-width: 720px) { .pdp-title { font-size: 32px; } }
.pdp-price {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.pdp-size-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 8px;
}
.pdp-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.size-pill {
  padding: 12px 16px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.size-pill.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.size-pill.soldout {
  color: var(--quiet);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.6;
}

.pdp-add {
  width: 100%;
  padding: 15px;
  min-height: 50px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.pdp-add:disabled {
  background: var(--bg-soft);
  color: var(--quiet);
  cursor: not-allowed;
}
.pdp-add.added { background: var(--gold); color: #2A1813; }
@media (min-width: 720px) { .pdp-add { max-width: 360px; } }

.pdp-hint {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}
.pdp-hint-link {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
}

.pdp-desc {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  overflow-wrap: break-word;
}
.pdp-desc img { max-width: 100%; height: auto; }

.pdp { padding: 0 16px; }
@media (min-width: 720px) { .pdp { padding: 0 40px; } }

/* ================================================================
   Cart drawer — slides in from the right; full-width on phones
   ================================================================ */
.cart-overlay { z-index: 55; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 56;
  width: min(420px, 100vw);
  background: var(--bg);
  box-shadow: -16px 0 48px rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  animation: cartIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cartIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.cart-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.cart-close {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--quiet);
  cursor: pointer;
}

.cart-lines {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 18px;
}
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}
.cart-thumb img, .cart-thumb-fill { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line-name { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.cart-line-size { font-size: 12px; color: var(--quiet); margin-top: 2px; }

.cart-line-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 8px;
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-num {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cart-line-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cart-remove {
  width: 40px;
  height: 40px;
  margin: -6px -10px 0 0;
  background: transparent;
  border: 0;
  font-size: 20px;
  color: var(--quiet);
  cursor: pointer;
}
.cart-line-price { font-size: 13px; color: var(--ink-soft); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.cart-footer {
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cart-note {
  font-size: 11.5px;
  color: var(--quiet);
  margin: 4px 0 14px;
}
.cart-checkout {
  width: 100%;
  padding: 15px;
  min-height: 50px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cart-checkout:disabled { opacity: 0.6; cursor: wait; }

/* ================================================================
   Footer + about closing line
   ================================================================ */
.about-close {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  margin-top: 28px;
}

.site-footer {
  background: var(--header-bg);
  border-top: 1px solid var(--header-line);
  margin-top: 40px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 16px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-wordmark { font-size: 20px; }

.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--header-fg);
  opacity: 0.85;
  transition: opacity 120ms ease, color 120ms ease;
}
.footer-social a:hover { opacity: 1; color: var(--gold); }

.footer-nav {
  display: flex;
  gap: 26px;
}
.footer-nav button {
  background: transparent;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--header-fg);
  opacity: 0.78;
  cursor: pointer;
}
.footer-nav button:hover { opacity: 1; }

.footer-copy {
  font-size: 11.5px;
  color: rgba(242,237,227,0.45);
}

/* ================================================================
   Rainbow lettering for Custom-type items
   ================================================================ */
.rainbow-text {
  background: linear-gradient(90deg,
    #D9536B 0%, #DE7F45 20%, #C9A23F 40%,
    #4F9D6B 60%, #4E7FC9 80%, #8E62C9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8E62C9; /* fallback if background-clip:text is unsupported */
}

/* contact form additions */
.contact-form select {
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  background: #fff;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}
.form-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.form-note a { color: var(--ink-soft); }
