/* Shoppaton Store — beige & white storefront (matches the Next.js design) */
:root {
  --sp-cream: #fbf8f2;
  --sp-beige: #f1e9dc;
  --sp-beige-dark: #e5d8c4;
  --sp-sand: #d8c7ac;
  --sp-espresso: #2e2418;
  --sp-cocoa: #55432f;
  --sp-taupe: #8a7a66;
  --sp-terracotta: #b96a45;
  --sp-terracotta-dark: #9c5535;
  --sp-sage: #a9b6a0;
  --sp-display: "Fraunces", Georgia, serif;
  --sp-sans: "Manrope", system-ui, sans-serif;
  --sp-shadow-soft: 0 8px 30px rgb(46 36 24 / 0.08);
  --sp-shadow-lift: 0 16px 40px rgb(46 36 24 / 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sp-body {
  margin: 0;
  background: var(--sp-cream);
  color: var(--sp-espresso);
  font-family: var(--sp-sans);
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.sp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.sp-container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .sp-container { padding: 0 1.5rem; } }
.sp-main { flex: 1; padding-bottom: 4.5rem; }
@media (min-width: 768px) { .sp-main { padding-bottom: 0; } }
.sp-page { padding-top: 2rem; padding-bottom: 3rem; }
.sp-narrow { max-width: 48rem; }
.sp-section { padding: 3rem 0; }
.sp-section-white { background: #fff; padding: 3rem 0; }
.sp-mt-4 { margin-top: 1rem; }
.sp-mt-8 { margin-top: 2rem; }
.sp-muted { color: var(--sp-taupe); font-size: 0.9rem; }
.sp-max-prose { max-width: 36rem; }
.sp-display { font-family: var(--sp-display); font-weight: 600; letter-spacing: -0.01em; }
.sp-h2 { font-size: 1.5rem; margin: 0 0 1.25rem; }
.sp-h3 { font-size: 1.125rem; margin: 0 0 0.75rem; }
.sp-eyebrow, .sp-eyebrow-cream {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--sp-terracotta); margin: 0 0 0.75rem;
}
.sp-eyebrow-cream { color: var(--sp-cream); }

/* Buttons */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; padding: 0.85rem 2rem; font-size: 0.875rem; font-weight: 700;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.sp-btn-block { width: 100%; }
.sp-btn-lg { padding: 1rem 2rem; }
.sp-btn-espresso { background: var(--sp-espresso); color: var(--sp-cream); }
.sp-btn-espresso:hover { background: var(--sp-cocoa); }
.sp-btn-terracotta { background: var(--sp-terracotta); color: #fff; }
.sp-btn-terracotta:hover { background: var(--sp-terracotta-dark); }
.sp-btn-outline-espresso { border: 1px solid rgb(46 36 24 / 0.3); color: var(--sp-espresso); }
.sp-btn-outline-espresso:hover { border-color: var(--sp-espresso); }
.sp-btn-outline-cream { border: 1px solid rgb(216 199 172 / 0.5); color: var(--sp-cream); }
.sp-btn-outline-cream:hover { background: var(--sp-cream); color: var(--sp-espresso); }
.sp-btn:disabled { opacity: .6; cursor: wait; }
.sp-link-btn { display: block; width: 100%; text-align: center; margin-top: .75rem; font-size: .8rem; color: var(--sp-taupe); }

/* Header */
.sp-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid rgb(229 216 196 / 0.6);
  background: rgb(251 248 242 / 0.9);
  backdrop-filter: blur(12px);
}
.sp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.sp-logo { display: flex; align-items: center; gap: .65rem; }
.sp-logo-text { display: flex; flex-direction: column; line-height: 1; }
.sp-logo-name { font-family: var(--sp-display); font-size: 1.125rem; font-weight: 600; letter-spacing: .18em; color: var(--sp-espresso); }
.sp-logo-sub { font-size: .6rem; font-weight: 600; letter-spacing: .42em; color: var(--sp-taupe); }
.sp-logo-light .sp-logo-name { color: var(--sp-cream); }
.sp-logo-light .sp-logo-sub { color: var(--sp-sand); }
.sp-desktop-nav { display: none; gap: 2rem; }
.sp-desktop-nav a { font-size: .875rem; font-weight: 600; color: var(--sp-cocoa); }
.sp-desktop-nav a:hover { color: var(--sp-terracotta); }
@media (min-width: 768px) { .sp-desktop-nav { display: flex; } }
.sp-header-icons { display: flex; align-items: center; gap: .15rem; }
.sp-icon-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; color: var(--sp-espresso);
}
.sp-icon-btn:hover { background: var(--sp-beige); }
.sp-cart-count {
  position: absolute; top: .15rem; right: .1rem;
  min-width: 1rem; height: 1rem; padding: 0 .25rem;
  border-radius: 999px; background: var(--sp-terracotta); color: #fff;
  font-size: .6rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.sp-cart-count[hidden] { display: none; }

/* Hero */
.sp-hero {
  overflow: hidden;
  background: radial-gradient(ellipse at center right, #c9ab8c 0%, #b4957b 70%);
}
.sp-hero-grid {
  display: grid; align-items: center; gap: 2rem; padding-top: 3rem;
}
@media (min-width: 768px) {
  .sp-hero-grid { grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 0; }
}
.sp-hero-copy { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .sp-hero-copy { padding: 5rem 0; } }
.sp-hero-title { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; margin: 0; color: var(--sp-espresso); }
.sp-hero-sub { max-width: 28rem; margin: 0; color: var(--sp-cocoa); line-height: 1.6; }
.sp-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.sp-hero-media { position: relative; width: 100%; max-width: 32rem; margin: 0 auto; }
@media (min-width: 768px) { .sp-hero-media { align-self: end; } }
.sp-hero-media img {
  width: 100%; object-fit: contain; transform: scale(1.06);
  mask-image: radial-gradient(ellipse at center, black 58%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 58%, transparent 92%);
}
@media (min-width: 768px) {
  .sp-hero-media img { transform-origin: bottom; transform: scale(1.15); }
}
.sp-fade-up { animation: sp-fade-up .5s ease both; }
@keyframes sp-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Categories / cards */
.sp-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.sp-section-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.sp-section-link { font-size: .875rem; font-weight: 600; color: var(--sp-terracotta); white-space: nowrap; }
.sp-section-link:hover { text-decoration: underline; }
.sp-category-row {
  display: flex; gap: 1rem; overflow-x: auto; margin: 0 -1rem; padding: 0 1rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.sp-category-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .sp-category-row { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
}
@media (min-width: 1024px) { .sp-category-row { grid-template-columns: repeat(5, 1fr); } }
.sp-category-tile { width: 9rem; flex-shrink: 0; }
@media (min-width: 640px) { .sp-category-tile { width: auto; } }
.sp-category-media {
  aspect-ratio: 1; overflow: hidden; border-radius: 1rem; background: var(--sp-beige); box-shadow: var(--sp-shadow-soft);
}
.sp-category-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sp-category-tile:hover img { transform: scale(1.05); }
.sp-category-tile p { margin: .5rem 0 0; text-align: center; font-size: .875rem; font-weight: 600; }

.sp-grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .sp-grid-products { grid-template-columns: repeat(4, 1fr); } }
.sp-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 1rem;
  background: #fff; box-shadow: var(--sp-shadow-soft); transition: transform .2s, box-shadow .2s;
}
.sp-card:hover { transform: translateY(-2px); box-shadow: var(--sp-shadow-lift); }
.sp-card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--sp-beige); }
.sp-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sp-card:hover .sp-card-media img { transform: scale(1.05); }
.sp-badge {
  position: absolute; left: .75rem; top: .75rem; border-radius: 999px;
  padding: .25rem .65rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff;
}
.sp-badge-terracotta { background: var(--sp-terracotta); }
.sp-badge-espresso { background: var(--sp-espresso); color: var(--sp-cream); }
.sp-card-body { display: flex; flex-direction: column; gap: .25rem; padding: .875rem; flex: 1; }
.sp-card-tag { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--sp-taupe); }
.sp-card-body h3 { margin: 0; font-size: .875rem; font-weight: 600; line-height: 1.3; }
.sp-card-price { margin: auto 0 0; padding-top: .25rem; display: flex; align-items: baseline; gap: .5rem; }
.sp-card-price strong { font-size: .875rem; }
.sp-card-price s { font-size: .75rem; color: var(--sp-taupe); }

/* Marquee */
.sp-marquee-section { padding: 2rem 0; overflow: hidden; }
.sp-marquee-title {
  text-align: center; font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .3em; color: var(--sp-taupe); margin: 0 0 1rem;
}
.sp-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.sp-marquee-track { display: flex; width: max-content; animation: sp-marquee 36s linear infinite; }
.sp-marquee-item {
  flex-shrink: 0; padding: .75rem 1.75rem; margin: 0 .5rem;
  border-radius: 999px; background: #fff; box-shadow: var(--sp-shadow-soft);
  font-family: var(--sp-display); font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.sp-marquee-item:hover { color: var(--sp-terracotta); }
@keyframes sp-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Value / story */
.sp-value-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .sp-value-grid { grid-template-columns: repeat(3, 1fr); } }
.sp-value-card { border-radius: 1rem; background: var(--sp-beige); padding: 1.5rem; }
.sp-value-card svg { color: var(--sp-terracotta); margin-bottom: .75rem; }
.sp-value-card h3 { margin: 0 0 .35rem; font-size: 1.125rem; }
.sp-value-card p { margin: 0; font-size: .875rem; line-height: 1.6; color: var(--sp-cocoa); }
.sp-story-band { background: var(--sp-espresso); color: var(--sp-cream); padding: 3.5rem 1rem; text-align: center; }
.sp-story-inner { max-width: 40rem; margin: 0 auto; }
.sp-story-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 1.875rem); }
.sp-story-band p { margin: 1rem auto 0; max-width: 32rem; line-height: 1.7; color: var(--sp-sand); }
.sp-story-band .sp-btn { margin-top: 1.5rem; }

/* Shop / chips */
.sp-shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.sp-shop-head h1 { margin: 0 0 .35rem; font-size: clamp(1.875rem, 4vw, 2.5rem); }
.sp-sort-form select {
  height: 2.75rem; border-radius: .75rem; border: 1px solid var(--sp-beige-dark);
  background: #fff; padding: 0 1rem; font-size: .875rem;
}
.sp-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.sp-chip {
  display: inline-flex; border-radius: 999px; background: var(--sp-beige);
  padding: .4rem .9rem; font-size: .75rem; font-weight: 600; color: var(--sp-cocoa);
}
.sp-chip:hover, .sp-chip-active { background: var(--sp-espresso); color: var(--sp-cream); }
.sp-brand-pill {
  display: inline-flex; border-radius: 999px; background: var(--sp-beige);
  padding: .25rem .75rem; letter-spacing: .12em; color: var(--sp-cocoa); margin-left: .5rem;
}
.sp-brand-pill:hover { color: var(--sp-terracotta); }

/* Product */
.sp-product-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .sp-product-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.sp-gallery-main {
  aspect-ratio: 1; overflow: hidden; border-radius: 1.25rem; background: var(--sp-beige);
}
.sp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.sp-gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.sp-gallery-thumb {
  width: 4.5rem; height: 4.5rem; flex-shrink: 0; border-radius: .75rem; overflow: hidden;
  border: 2px solid transparent; padding: 0; background: var(--sp-beige);
}
.sp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-gallery-thumb-active { border-color: var(--sp-terracotta); }
.sp-product-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .25em; color: var(--sp-terracotta); margin: 0;
}
.sp-product-title { margin: .5rem 0 0; font-size: clamp(1.875rem, 4vw, 2.5rem); line-height: 1.15; }
.sp-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem; margin-top: 1rem; }
.sp-price-main { font-size: 1.5rem; font-weight: 700; }
.sp-product-price s { font-size: 1.125rem; color: var(--sp-taupe); }
.sp-save-pill {
  border-radius: 999px; background: rgb(185 106 69 / 0.1); color: var(--sp-terracotta);
  padding: .25rem .65rem; font-size: .75rem; font-weight: 700;
}
.sp-stock-line { margin: .5rem 0 0; font-size: .75rem; font-weight: 600; }
.sp-stock-in { color: var(--sp-sage); }
.sp-stock-out { color: var(--sp-terracotta); }
.sp-product-desc { margin: 1rem 0 0; line-height: 1.7; color: var(--sp-cocoa); }
.sp-desktop-atc { display: none; margin-top: 1.5rem; }
@media (min-width: 768px) { .sp-desktop-atc { display: block; } }
.sp-atc, .sp-sticky-atc { display: flex; gap: .75rem; align-items: center; }
.sp-qty {
  display: flex; align-items: center; gap: .75rem; border-radius: 999px;
  background: var(--sp-beige); padding: .65rem 1rem; font-weight: 700;
}
.sp-qty button { width: 1.5rem; font-size: 1.1rem; color: var(--sp-espresso); }
.sp-sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 3.75rem; z-index: 35;
  background: rgb(255 255 255 / 0.95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--sp-beige-dark); padding: .75rem 1rem;
  padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) { .sp-sticky-atc { display: none; } }

.sp-tabs { margin-top: 2rem; }
.sp-tablist {
  display: flex; gap: .25rem; border-radius: 999px; background: var(--sp-beige); padding: .25rem;
}
.sp-tablist button {
  flex: 1; border-radius: 999px; padding: .55rem .75rem; font-size: .75rem; font-weight: 700; color: var(--sp-taupe);
}
@media (min-width: 640px) { .sp-tablist button { font-size: .875rem; } }
.sp-tablist button[aria-selected="true"] { background: #fff; color: var(--sp-espresso); box-shadow: var(--sp-shadow-soft); }
.sp-tabpanel { padding: 1rem .25rem; font-size: .875rem; line-height: 1.7; color: var(--sp-cocoa); }
.sp-ingredients-title {
  margin: 0 0 .75rem; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--sp-taupe);
}
.sp-ingredients-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.sp-ingredients-list li {
  border-radius: 999px; border: 1px solid rgb(229 216 196 / 0.7); background: rgb(241 233 220 / 0.6);
  padding: .35rem .75rem; font-size: .75rem; font-weight: 500; color: var(--sp-cocoa);
}
.sp-ingredients-note { margin: .75rem 0 0; font-size: .7rem; color: var(--sp-taupe); line-height: 1.5; }

/* Breadcrumbs */
.sp-breadcrumbs { margin-bottom: 1.25rem; }
.sp-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--sp-taupe); }
.sp-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; opacity: .5; }
.sp-breadcrumbs a:hover { color: var(--sp-terracotta); }
.sp-breadcrumbs [aria-current] { color: var(--sp-espresso); font-weight: 600; }

/* Search / forms */
.sp-search-form {
  display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0;
  border-radius: 1rem; background: #fff; border: 1px solid var(--sp-beige-dark); padding: .5rem .75rem .5rem 1rem;
  box-shadow: var(--sp-shadow-soft);
}
.sp-search-form input { flex: 1; border: 0; outline: none; min-width: 0; height: 2.75rem; background: transparent; }
.sp-search-form svg { color: var(--sp-taupe); flex-shrink: 0; }
.sp-field-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .sp-field-grid { grid-template-columns: 1fr 1fr; } }
.sp-field-grid input, .sp-track-form input, .sp-auth-form input {
  height: 3rem; width: 100%; border-radius: .75rem; border: 1px solid var(--sp-beige-dark);
  background: #fff; padding: 0 1rem; font-size: .875rem; outline: none;
}
.sp-field-grid input:focus, .sp-track-form input:focus, .sp-auth-form input:focus { border-color: var(--sp-terracotta); }
.sp-col-span-2 { grid-column: 1 / -1; }
.sp-form-error {
  margin: .75rem 0 0; border-radius: .75rem; background: rgb(185 106 69 / 0.1);
  padding: .75rem; font-size: .75rem; font-weight: 600; color: var(--sp-terracotta-dark);
}
.sp-form-error[hidden] { display: none; }

/* Checkout */
.sp-checkout-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .sp-checkout-grid { grid-template-columns: 1fr 24rem; } }
.sp-checkout-sections { display: flex; flex-direction: column; gap: 2rem; }
.sp-rate-list { display: flex; flex-direction: column; gap: .5rem; }
.sp-rate {
  display: flex; align-items: center; gap: .75rem; border-radius: .75rem;
  border: 1px solid var(--sp-beige-dark); background: #fff; padding: 1rem; cursor: pointer;
}
.sp-rate:has(input:checked) { border-color: var(--sp-terracotta); background: rgb(185 106 69 / 0.05); }
.sp-rate input { accent-color: var(--sp-terracotta); }
.sp-rate-icon { font-size: 1.25rem; }
.sp-rate-info { flex: 1; }
.sp-rate-label { display: block; font-size: .875rem; font-weight: 600; }
.sp-rate-eta { display: block; font-size: .75rem; color: var(--sp-taupe); }
.sp-rate-price { font-size: .875rem; font-weight: 700; }
.sp-summary {
  height: fit-content; border-radius: 1rem; background: #fff; padding: 1.25rem; box-shadow: var(--sp-shadow-soft);
}
@media (min-width: 1024px) { .sp-summary { position: sticky; top: 5rem; } }
.sp-summary-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.sp-summary-items li { display: flex; align-items: center; gap: .75rem; }
.sp-summary-items img { width: 3rem; height: 3rem; border-radius: .5rem; object-fit: cover; background: var(--sp-beige); }
.sp-summary-items .sp-sum-name { flex: 1; font-size: .75rem; font-weight: 600; line-height: 1.3; }
.sp-summary-items .sp-sum-price { font-size: .75rem; font-weight: 700; }
.sp-summary-totals { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--sp-beige); font-size: .875rem; }
.sp-summary-totals > div { display: flex; justify-content: space-between; margin-bottom: .4rem; }
.sp-summary-totals dt { color: var(--sp-taupe); margin: 0; }
.sp-summary-totals dd { margin: 0; font-weight: 600; }
.sp-summary-total { border-top: 1px solid var(--sp-beige); padding-top: .5rem; margin-top: .5rem; }
.sp-summary-total dt { color: var(--sp-espresso); font-weight: 700; }
.sp-summary-total dd { font-size: 1.125rem; font-weight: 700; }
.sp-summary-note { margin: .75rem 0 0; text-align: center; font-size: .7rem; color: var(--sp-taupe); }

/* Orders / account */
.sp-success-banner {
  display: flex; gap: 1rem; align-items: flex-start; border-radius: 1rem;
  background: rgb(169 182 160 / 0.25); padding: 1.25rem; margin-bottom: 1.5rem;
}
.sp-success-banner svg { color: #6f8a62; flex-shrink: 0; margin-top: .15rem; }
.sp-success-banner h1 { margin: 0 0 .35rem; }
.sp-success-banner p { margin: 0; color: var(--sp-cocoa); font-size: .9rem; line-height: 1.5; }
.sp-order-card { border-radius: 1rem; background: #fff; padding: 1.25rem; box-shadow: var(--sp-shadow-soft); }
.sp-order-meta { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-bottom: 1.25rem; }
.sp-order-meta span { display: block; font-size: .7rem; color: var(--sp-taupe); text-transform: uppercase; letter-spacing: .08em; }
.sp-order-meta strong { font-size: .9rem; }
.sp-status { text-transform: capitalize; }
.sp-status-paid, .sp-status-shipped, .sp-status-delivered { color: #6f8a62; }
.sp-status-pending { color: var(--sp-taupe); }
.sp-status-cancelled { color: var(--sp-terracotta); }
.sp-order-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.sp-order-items li { display: flex; align-items: center; gap: .75rem; }
.sp-order-items img { width: 3rem; height: 3rem; border-radius: .5rem; object-fit: cover; background: var(--sp-beige); }
.sp-order-item-name { flex: 1; font-size: .85rem; font-weight: 600; }
.sp-order-item-price { font-size: .85rem; font-weight: 700; }
.sp-order-address { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--sp-beige); }
.sp-order-address p { margin: .35rem 0 0; color: var(--sp-cocoa); line-height: 1.6; font-size: .9rem; }
.sp-order-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.sp-track-form { display: grid; gap: .75rem; margin: 1.5rem 0; }
.sp-account-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.sp-account-head h1 { margin: 0 0 .25rem; }
.sp-account-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.sp-stat { border-radius: 1rem; background: #fff; padding: 1.25rem; box-shadow: var(--sp-shadow-soft); }
.sp-stat span { display: block; font-size: .75rem; color: var(--sp-taupe); margin-bottom: .35rem; }
.sp-stat strong { font-size: 1.5rem; }
.sp-account-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sp-account-orders a {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center;
  border-radius: .75rem; background: #fff; padding: 1rem; box-shadow: var(--sp-shadow-soft);
}
@media (min-width: 640px) { .sp-account-orders a { grid-template-columns: 1fr auto auto auto; } }
.sp-order-num { font-weight: 700; }
.sp-auth { display: flex; justify-content: center; }
.sp-auth-card {
  width: 100%; max-width: 26rem; border-radius: 1.25rem; background: #fff;
  padding: 2rem; box-shadow: var(--sp-shadow-soft);
}
.sp-auth-card h1 { margin: 0 0 .5rem; font-size: 1.75rem; }
.sp-auth-form { display: grid; gap: .75rem; margin-top: 1.25rem; }
.sp-auth-switch { margin: 1.25rem 0 0; text-align: center; font-size: .875rem; color: var(--sp-taupe); }
.sp-auth-switch a { color: var(--sp-terracotta); font-weight: 600; }

/* Contact / legal */
.sp-contact-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .sp-contact-grid { grid-template-columns: 1fr 1fr; } }
.sp-contact-card { border-radius: 1rem; padding: 1.5rem; box-shadow: var(--sp-shadow-soft); transition: box-shadow .2s; }
.sp-contact-card:hover { box-shadow: var(--sp-shadow-lift); }
.sp-contact-card h2 { margin: 0; font-size: 1.125rem; }
.sp-contact-card p { margin: .35rem 0 0; font-size: .875rem; opacity: .9; line-height: 1.5; }
.sp-contact-wa { background: #25D366; color: #fff; }
.sp-contact-call { background: var(--sp-espresso); color: var(--sp-cream); }
.sp-contact-mail { background: var(--sp-beige); grid-column: 1 / -1; }
.sp-contact-mail p { color: var(--sp-cocoa); opacity: 1; }
.sp-prose { margin-top: 2rem; color: var(--sp-cocoa); line-height: 1.7; }
.sp-prose section { margin-bottom: 2rem; }
.sp-prose h2 { font-family: var(--sp-display); font-size: 1.25rem; color: var(--sp-espresso); margin: 0 0 .5rem; }
.sp-prose p { margin: 0 0 .75rem; }
.sp-prose a { color: var(--sp-terracotta); }
.sp-prose a:hover { text-decoration: underline; }
.sp-prose ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.sp-prose li { margin-bottom: .4rem; }

/* Footer */
.sp-footer {
  margin-top: 4rem; border-top: 1px solid rgb(229 216 196 / 0.6);
  background: var(--sp-beige); padding-bottom: 6rem;
}
@media (min-width: 768px) { .sp-footer { padding-bottom: 0; } }
.sp-footer-grid {
  display: grid; gap: 2.5rem; padding: 3rem 1rem;
}
@media (min-width: 640px) { .sp-footer-grid { grid-template-columns: 1fr 1fr; padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .sp-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.sp-footer-brand p { margin: 1rem 0; font-size: .875rem; line-height: 1.6; color: var(--sp-cocoa); max-width: 18rem; }
.sp-socials { display: flex; gap: .75rem; }
.sp-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px; background: #fff; color: var(--sp-cocoa);
}
.sp-socials a:hover { color: var(--sp-terracotta); }
.sp-footer h3 {
  margin: 0 0 .75rem; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--sp-taupe);
}
.sp-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.sp-footer ul a { font-size: .875rem; color: var(--sp-cocoa); }
.sp-footer ul a:hover { color: var(--sp-terracotta); }
.sp-address { font-style: normal; font-size: .875rem; color: var(--sp-cocoa); }
.sp-address p { margin: 0 0 .5rem; }
.sp-address a:hover { color: var(--sp-terracotta); }
.sp-footer-legal {
  border-top: 1px solid rgb(229 216 196 / 0.6); padding: 1.25rem; text-align: center;
  font-size: .75rem; color: var(--sp-taupe);
}
.sp-footer-legal p { margin: 0 0 .35rem; }
.sp-footer-legal a:hover { color: var(--sp-terracotta); }

/* Bottom nav */
.sp-bottom-nav {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: flex; border-top: 1px solid rgb(229 216 196 / 0.6);
  background: rgb(255 255 255 / 0.95); backdrop-filter: blur(12px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 768px) { .sp-bottom-nav { display: none; } }
.sp-bottom-nav a, .sp-bottom-nav button {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .65rem 0; font-size: .65rem; font-weight: 600; color: var(--sp-taupe);
}
.sp-bottom-nav a.sp-nav-active, .sp-bottom-nav a:hover { color: var(--sp-terracotta); }
.sp-bn-cart { position: relative; display: inline-flex; }

/* Support FAB */
.sp-support { position: fixed; right: 1rem; bottom: 5.5rem; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
@media (min-width: 768px) { .sp-support { bottom: 1.5rem; } }
.sp-support-fab {
  width: 3.5rem; height: 3.5rem; border-radius: 999px; background: var(--sp-terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sp-shadow-lift);
}
.sp-support-menu {
  display: flex; flex-direction: column; gap: .35rem; background: #fff; border-radius: 1rem;
  padding: .5rem; box-shadow: var(--sp-shadow-lift); min-width: 14rem;
}
.sp-support-menu[hidden] { display: none; }
.sp-support-menu a {
  display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; border-radius: .75rem;
  font-size: .875rem; font-weight: 600; color: var(--sp-espresso);
}
.sp-support-menu a:hover { background: var(--sp-beige); }

/* Cart drawer */
.sp-drawer-backdrop {
  position: fixed; inset: 0; z-index: 50; background: rgb(46 36 24 / 0.35);
}
.sp-drawer-backdrop[hidden] { display: none; }
.sp-drawer {
  position: fixed; top: 0; right: 0; z-index: 55; width: min(100%, 24rem); height: 100%;
  background: #fff; display: flex; flex-direction: column; box-shadow: var(--sp-shadow-lift);
  transform: translateX(0); animation: sp-drawer-in .25s ease;
}
.sp-drawer[hidden] { display: none; }
@keyframes sp-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.sp-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--sp-beige);
}
.sp-drawer-head h2 { margin: 0; font-family: var(--sp-display); font-size: 1.25rem; }
.sp-drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.sp-drawer-item { display: flex; gap: .75rem; align-items: center; }
.sp-drawer-item img { width: 4rem; height: 4rem; border-radius: .65rem; object-fit: cover; background: var(--sp-beige); }
.sp-drawer-item-info { flex: 1; min-width: 0; }
.sp-drawer-item-info h3 { margin: 0; font-size: .85rem; font-weight: 600; }
.sp-drawer-item-info p { margin: .25rem 0 0; font-size: .8rem; font-weight: 700; }
.sp-drawer-item-actions { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.sp-drawer-item-actions button { font-size: .75rem; color: var(--sp-taupe); }
.sp-drawer-item-actions button:hover { color: var(--sp-terracotta); }
.sp-drawer-foot { padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--sp-beige); }
.sp-drawer-subtotal { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: .9rem; }
.sp-drawer-empty { text-align: center; padding: 3rem 1rem; color: var(--sp-taupe); }

/* Cookie banner */
.sp-cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 5rem; z-index: 60;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  border-radius: 1rem; background: var(--sp-espresso); color: var(--sp-cream);
  padding: 1rem 1.25rem; box-shadow: var(--sp-shadow-lift);
}
@media (min-width: 768px) { .sp-cookie-banner { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 28rem; } }
.sp-cookie-banner[hidden] { display: none; }
.sp-cookie-banner p { margin: 0; font-size: .8rem; line-height: 1.5; flex: 1; min-width: 12rem; }
.sp-cookie-banner a { color: var(--sp-sand); text-decoration: underline; }

.sp-empty-state { text-align: center; padding: 4rem 1rem; color: var(--sp-taupe); }
.sp-empty-state h1 { margin: 0 0 .75rem; color: var(--sp-espresso); }
.sp-empty-state .sp-btn { margin-top: 1rem; }

@media print {
  body.receipt-print * { visibility: hidden; }
  body.receipt-print #receipt-80mm,
  body.receipt-print #receipt-80mm * { visibility: visible; }
  body.receipt-print #receipt-80mm {
    position: absolute; left: 0; top: 0; width: 80mm;
    font-family: "Courier New", monospace; font-size: 12px; color: #000;
  }
}
