/*
 * SchlemmerPizza v0.9.70 — Premium Customer UI/UX
 * Strictly scoped to public customer pages. Operator surfaces are untouched.
 */

.customer-app {
  --sp-cream: #fff7ea;
  --sp-paper: #fffdf8;
  --sp-paper-warm: #fff3df;
  --sp-tomato: #c93625;
  --sp-tomato-dark: #98271d;
  --sp-saffron: #f4a51c;
  --sp-basil: #2f7d4a;
  --sp-espresso: #25160f;
  --sp-text-soft: #6f594c;
  --sp-line: rgba(91, 52, 28, 0.14);
  --sp-line-strong: rgba(91, 52, 28, 0.24);
  --sp-radius-sm: 12px;
  --sp-radius-md: 18px;
  --sp-radius-lg: 26px;
  --sp-radius-xl: 34px;
  --sp-shadow-sm: 0 8px 24px rgba(58, 34, 20, 0.07);
  --sp-shadow-md: 0 18px 46px rgba(58, 34, 20, 0.11);
  --sp-shadow-lg: 0 28px 80px rgba(58, 34, 20, 0.15);
  --sp-ease: cubic-bezier(.22, 1, .36, 1);
  --sp-section-space: clamp(2rem, 4vw, 4.5rem);
  --sp-card-padding: clamp(1rem, 2vw, 1.4rem);
  --sp-title-xl: clamp(2.15rem, 5vw, 4.5rem);
  --sp-title-lg: clamp(1.75rem, 3vw, 2.7rem);
  --sp-title-md: clamp(1.25rem, 2vw, 1.65rem);
  --sp-body: clamp(.96rem, .25vw + .9rem, 1.06rem);
  --sp-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sp-font-display: Georgia, "Times New Roman", serif;
  color: var(--sp-espresso);
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 165, 28, .18), transparent 28rem),
    radial-gradient(circle at 100% 18%, rgba(47, 125, 74, .09), transparent 27rem),
    linear-gradient(180deg, #fffaf1 0%, #fff5e7 48%, #f9eddd 100%);
  font-family: var(--sp-font-body);
  font-size: var(--sp-body);
  line-height: 1.55;
  overflow-x: clip;
}

.customer-app::before {
  opacity: .08;
  filter: saturate(.9);
}

.customer-app *,
.customer-app *::before,
.customer-app *::after {
  box-sizing: border-box;
}

.customer-app img {
  max-width: 100%;
}

.customer-app a,
.customer-app button,
.customer-app input,
.customer-app select,
.customer-app textarea {
  -webkit-tap-highlight-color: transparent;
}

.customer-app :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(244, 165, 28, .72) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(201, 54, 37, .14) !important;
}

.customer-app :where(button, .btn, .chip, .floatingCart) {
  transition:
    transform .24s var(--sp-ease),
    box-shadow .24s var(--sp-ease),
    border-color .24s var(--sp-ease),
    background-color .24s var(--sp-ease),
    color .24s var(--sp-ease),
    opacity .24s var(--sp-ease);
}

.customer-app :where(button, .btn):active {
  transform: scale(.985);
}

.customer-app .shell {
  width: min(1260px, calc(100% - clamp(1.25rem, 4vw, 4rem)));
  padding-top: clamp(1rem, 2vw, 1.75rem);
  padding-bottom: clamp(6.5rem, 10vw, 8rem);
}

/* Customer-only navigation */
.customer-app .siteTopbar {
  min-height: 70px;
  padding: .58rem clamp(.85rem, 3vw, 2.5rem);
  background: rgba(255, 250, 241, .82);
  border-bottom: 1px solid rgba(91, 52, 28, .11);
  box-shadow: 0 8px 34px rgba(58, 34, 20, .055);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.customer-app .brand {
  min-width: 0;
  gap: .72rem;
}

.customer-app .brandLogoWrap {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.customer-app .brandLogoWrap::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -45%;
  width: 32%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  opacity: 0;
  pointer-events: none;
}

.customer-app .brand:hover .brandLogoWrap::after {
  opacity: .8;
  animation: sp-logo-sheen .9s var(--sp-ease) both;
}

.customer-app .headerLogo {
  height: clamp(2.25rem, 4vw, 2.9rem);
  width: auto;
  max-width: clamp(7.3rem, 13vw, 10rem);
  filter: drop-shadow(0 8px 15px rgba(67, 34, 17, .14));
}

.customer-app .brandText {
  min-width: 0;
}

.customer-app .brandText small {
  color: var(--sp-text-soft);
  font-size: clamp(.68rem, 1vw, .79rem);
  white-space: nowrap;
}


.customer-app .mainNav {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .24rem;
  border: 1px solid rgba(91, 52, 28, .08);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}

.customer-app .mainNav a {
  min-height: 44px;
  padding: .62rem .92rem;
  border-radius: 999px;
  color: #4e382b;
  font-size: .9rem;
  font-weight: 780;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.customer-app .mainNav a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.92);
}

.customer-app .mainNav a.active,
.customer-app .mainNav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, var(--sp-tomato), var(--sp-tomato-dark));
  box-shadow: 0 8px 20px rgba(152, 39, 29, .18);
}

.customer-app .customerNavToggle {
  display: none;
  min-width: 46px;
  min-height: 46px;
  padding: .6rem;
  border-radius: 14px;
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  color: var(--sp-espresso);
}

.customer-app .customerNavToggleLines {
  width: 20px;
  display: grid;
  gap: 4px;
}

.customer-app .customerNavToggleLines i {
  display: block;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s var(--sp-ease), opacity .22s var(--sp-ease);
}

.customer-app .customerNavToggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.customer-app .customerNavToggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.customer-app .customerNavToggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Shared customer surface language */
.customer-app .panel,
.customer-app .pageTitle,
.customer-app .loginCard,
.customer-app .paymentResult,
.customer-app .trackingPanel {
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,250,241,.91));
  box-shadow: var(--sp-shadow-sm);
}

.customer-app .pageTitle {
  margin: clamp(.5rem, 2vw, 1.3rem) 0 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  overflow: hidden;
  position: relative;
}

.customer-app .pageTitle::after {
  content: "";
  position: absolute;
  width: 14rem;
  aspect-ratio: 1;
  right: -5rem;
  bottom: -7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,165,28,.2), transparent 68%);
  pointer-events: none;
}

.customer-app .pageTitle h1,
.customer-app .paymentResult h1,
.customer-app .loginCard h1,
.customer-app .legalTitle h1 {
  margin: .15rem 0 .6rem;
  max-width: 18ch;
  font-family: var(--sp-font-display);
  font-size: var(--sp-title-lg);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.customer-app .pageTitle p,
.customer-app .loginCard > p,
.customer-app .paymentResult > p {
  max-width: 72ch;
  color: var(--sp-text-soft);
}

.customer-app .eyebrow,
.customer-app .cat {
  color: var(--sp-tomato);
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 900;
}

.customer-app .btn,
.customer-app button {
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--sp-font-body);
  font-weight: 820;
}

.customer-app .btn.primary,
.customer-app .primary {
  background: linear-gradient(135deg, var(--sp-tomato), var(--sp-tomato-dark));
  box-shadow: 0 12px 28px rgba(152,39,29,.2);
}

.customer-app .btn.primary:hover,
.customer-app .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(152,39,29,.26);
}

.customer-app .btn.secondary {
  background: rgba(255,255,255,.88);
  border-color: var(--sp-line-strong);
}

.customer-app .btn.secondary:hover,
.customer-app .btn.ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(201,54,37,.28);
  box-shadow: var(--sp-shadow-sm);
}

.customer-app .pill {
  border: 1px solid rgba(244,165,28,.24);
  background: #fff3d6;
  color: #65400c;
}

/* Campaign */
.customer-app .campaignBanner {
  margin: .35rem 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(201,54,37,.18);
  border-radius: var(--sp-radius-md);
  background:
    linear-gradient(110deg, rgba(201,54,37,.08), rgba(244,165,28,.11)),
    rgba(255,255,255,.84);
  box-shadow: var(--sp-shadow-sm);
  overflow: hidden;
  position: relative;
}

.customer-app .campaignBanner::after {
  content: "";
  position: absolute;
  inset: -100% auto -100% -35%;
  width: 25%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  pointer-events: none;
}

.customer-app .campaignBanner:hover::after {
  animation: sp-card-sheen 1.2s var(--sp-ease) both;
}

.customer-app .campaignBanner a {
  min-height: 42px;
  padding: .55rem .85rem;
  border-radius: 999px;
  color: #fff;
  background: var(--sp-tomato);
  text-decoration: none;
  font-weight: 850;
}

/* Hero */
.customer-app .heroPolished {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(22rem, .77fr);
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 0 0 clamp(1rem, 3vw, 1.7rem);
}

.customer-app .heroPolished .heroCopy,
.customer-app .heroShowcase {
  border-radius: var(--sp-radius-xl);
  border: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow-md);
  overflow: hidden;
}

.customer-app .heroPolished .heroCopy {
  padding: clamp(1.45rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,247,234,.8)),
    url('/assets/img/mandala-pizza-bg.svg') right -7rem bottom -8rem / 22rem no-repeat;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
}

.customer-app .heroPolished .heroCopy::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--sp-basil), #fff, var(--sp-tomato), var(--sp-saffron));
  opacity: .85;
}

.customer-app .heroPolished h1 {
  margin: .4rem 0 .85rem;
  max-width: 16ch;
  font-family: var(--sp-font-display);
  font-size: var(--sp-title-xl);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.customer-app .heroPolished .heroSubline {
  display: inline-block;
  margin-top: .55rem;
  max-width: 25ch;
  color: #4e372b;
  font-family: var(--sp-font-body);
  font-size: clamp(1rem, 1.65vw, 1.25rem);
  font-weight: 720;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.customer-app .heroDash {
  color: rgba(37,22,15,.35);
}

.customer-app .italyShimmer,
.customer-app .indiaShimmer {
  color: transparent;
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sp-brand-shimmer 11s linear infinite;
}

.customer-app .italyShimmer {
  background-image: linear-gradient(105deg, #238557 0%, #238557 18%, #f8ead9 34%, #c93625 51%, #f7e8d4 67%, #238557 86%, #238557 100%);
}

.customer-app .indiaShimmer {
  background-image: linear-gradient(105deg, #ec8d12 0%, #ec8d12 22%, #f8df93 38%, #c93625 57%, #f6ca4c 76%, #ec8d12 100%);
}

.customer-app .heroText {
  margin: 0;
  max-width: 63ch;
  color: var(--sp-text-soft);
  font-size: clamp(.98rem, 1.35vw, 1.1rem);
}

.customer-app .heroStatusCard {
  width: fit-content;
  max-width: 100%;
  margin: 1.05rem 0 .1rem;
  padding: .7rem .85rem;
  border-radius: 16px;
  border: 1px solid var(--sp-line);
  background: rgba(255,255,255,.72);
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: .7rem;
  align-items: center;
  box-shadow: 0 8px 24px rgba(58,34,20,.055);
}

.customer-app .heroStatusDot {
  width: .78rem;
  height: .78rem;
  border-radius: 50%;
  box-shadow: 0 0 0 6px currentColor;
  opacity: .9;
}

.customer-app .heroStatusCard.is-open { color: var(--sp-basil); }
.customer-app .heroStatusCard.is-preorder { color: #a66a08; }
.customer-app .heroStatusCard div { display: grid; color: var(--sp-espresso); }
.customer-app .heroStatusCard strong { font-size: .91rem; }
.customer-app .heroStatusCard small { color: var(--sp-text-soft); font-size: .78rem; }

.customer-app .heroActions {
  margin-top: 1.25rem;
  gap: .65rem;
}

.customer-app .heroActions .btn,
.customer-app .heroActions button {
  min-height: 48px;
  padding-inline: 1.1rem;
}

.customer-app .trustRow {
  margin-top: 1.05rem;
  gap: .45rem;
}

.customer-app .trustRow span {
  padding: .48rem .65rem;
  border: 1px solid rgba(91,52,28,.1);
  border-radius: 999px;
  color: #5d4437;
  background: rgba(255,255,255,.65);
  font-size: .78rem;
  font-weight: 760;
}

.customer-app .heroShowcase {
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(20rem, 1fr) auto;
  background: #2f1d13;
  transform: perspective(1000px) rotateX(var(--sp-tilt-x, 0deg)) rotateY(var(--sp-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .55s var(--sp-ease), box-shadow .35s var(--sp-ease);
}

.customer-app .heroShowcase.is-tilting {
  transition: box-shadow .25s var(--sp-ease);
  box-shadow: var(--sp-shadow-lg);
}

.customer-app .heroVisualFrame {
  min-height: 20rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.customer-app .heroVisualFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 42%, rgba(37,22,15,.78) 100%),
    linear-gradient(110deg, rgba(201,54,37,.08), rgba(244,165,28,.08));
  pointer-events: none;
}

.customer-app .heroFoodImage {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.01);
}

.customer-app .heroLogoPlate {
  position: absolute;
  z-index: 2;
  left: clamp(1rem, 3vw, 1.6rem);
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  min-height: 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 18px;
  background: rgba(255,250,241,.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.customer-app .heroLogoPlate img {
  width: min(18rem, 90%);
  max-height: 5.7rem;
  object-fit: contain;
}

.customer-app .heroMiniCards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: rgba(255,255,255,.13);
}

.customer-app .heroMiniCards article {
  min-width: 0;
  padding: .9rem .65rem;
  border: 0;
  border-radius: 0;
  background: rgba(37,22,15,.94);
  color: #fff6e8;
  text-align: center;
}

.customer-app .heroMiniCards strong {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.customer-app .heroMiniCards span {
  color: rgba(255,246,232,.7);
  font-size: .72rem;
}

/* Quick steps */
.customer-app .quickSteps {
  margin: 0 0 clamp(1rem, 2.5vw, 1.55rem) !important;
  gap: .8rem;
}

.customer-app .quickSteps article {
  min-height: 7.25rem;
  padding: 1rem 1.05rem !important;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-md) !important;
  background: rgba(255,253,248,.88);
  box-shadow: var(--sp-shadow-sm);
  overflow: hidden;
  position: relative;
}

.customer-app .quickSteps article::after {
  content: "";
  position: absolute;
  inset: -120% auto -120% -45%;
  width: 24%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  pointer-events: none;
}

.customer-app .quickSteps article:hover {
  transform: translateY(-2px);
  border-color: rgba(201,54,37,.2);
  box-shadow: var(--sp-shadow-md);
}

.customer-app .quickSteps article:hover::after {
  animation: sp-card-sheen 1.1s var(--sp-ease) both;
}

.customer-app .quickSteps article > span {
  color: #fff;
  background: linear-gradient(135deg, var(--sp-tomato), var(--sp-saffron));
}

.customer-app .quickSteps article strong {
  color: var(--sp-espresso);
  font-size: 1rem;
}

.customer-app .quickSteps article small {
  color: var(--sp-text-soft);
  line-height: 1.4;
}

/* Delivery zone */
.customer-app .zoneMapPanel {
  margin: 0 0 var(--sp-section-space) !important;
  padding: clamp(1rem, 3vw, 1.7rem);
  border-radius: var(--sp-radius-lg);
  background: rgba(255,253,248,.92);
  box-shadow: var(--sp-shadow-md);
}

.customer-app .zoneIntro {
  gap: 1rem;
  margin-bottom: 1rem;
}

.customer-app .zoneCopy h2,
.customer-app .menuHead h2 {
  margin: .15rem 0 .45rem;
  font-family: var(--sp-font-display);
  font-size: var(--sp-title-lg);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.customer-app .zoneCopy p,
.customer-app .menuHead p {
  color: var(--sp-text-soft);
}

.customer-app .zoneControls {
  gap: .55rem;
}

.customer-app #zoneSelectCompact,
.customer-app .mapToggle {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--sp-line-strong);
  background: var(--sp-paper);
  color: var(--sp-espresso);
}

.customer-app #zoneSelectCompact {
  max-width: min(100%, 23rem);
  padding: .7rem 2.4rem .7rem .85rem;
  font: inherit;
}

.customer-app .deliveryMap {
  min-height: clamp(17rem, 38vw, 27rem);
  border: 1px solid rgba(91,52,28,.13);
  border-radius: var(--sp-radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), var(--sp-shadow-sm);
}

.customer-app .zoneCompactList {
  gap: .55rem;
  margin-top: .8rem;
}

.customer-app .zoneCompactList button {
  min-height: 52px;
  padding: .6rem .8rem;
  border-radius: 14px;
  border: 1px solid var(--sp-line);
  background: rgba(255,255,255,.82);
}

.customer-app .zoneCompactList button:hover,
.customer-app .zoneCompactList button.is-selected {
  transform: translateY(-2px);
  border-color: rgba(201,54,37,.32);
  background: #fff;
  box-shadow: var(--sp-shadow-sm);
}

.customer-app .zoneCompactList button.is-selected {
  box-shadow: inset 0 0 0 2px rgba(201,54,37,.11), var(--sp-shadow-sm);
}

/* Menu navigation */
.customer-app .menuLayout {
  grid-template-columns: minmax(14rem, 16rem) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
  margin-top: 0 !important;
}

.customer-app .categoryRail {
  top: 82px;
  max-height: calc(100vh - 98px);
  padding: .85rem;
  gap: .65rem;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-lg);
  background: rgba(255,250,241,.84);
  box-shadow: var(--sp-shadow-sm);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  scrollbar-width: thin;
  scrollbar-color: rgba(201,54,37,.28) transparent;
}

.customer-app .menuRailHeader {
  padding: .2rem .2rem .55rem;
}

.customer-app .menuRailKicker,
.customer-app .searchLabel small,
.customer-app .categoryRailFooter span,
.customer-app .categoryRailFooter small {
  color: var(--sp-text-soft);
}

.customer-app .menuRailHeader strong {
  font-family: var(--sp-font-display) !important;
  font-size: 1.45rem !important;
  letter-spacing: -.035em;
}

.customer-app .menuRailTotal,
.customer-app .chipCount {
  background: rgba(111,89,76,.09);
  color: #5b463a;
}

.customer-app .menuSearchBlock {
  padding: .72rem;
  border: 1px solid rgba(91,52,28,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}

.customer-app .searchLabel::after {
  content: " · Taste / für Suche";
  color: rgba(111,89,76,.72);
  font-family: var(--sp-font-body);
  font-size: .7rem;
  font-weight: 620;
  letter-spacing: 0;
  text-transform: none;
}

.customer-app .menuSearchField {
  min-height: 48px;
  border: 1px solid var(--sp-line-strong);
  border-radius: 14px;
  background: var(--sp-paper);
  transition: border-color .2s var(--sp-ease), box-shadow .2s var(--sp-ease);
}

.customer-app .menuSearchField:focus-within {
  border-color: rgba(201,54,37,.55);
  box-shadow: 0 0 0 4px rgba(244,165,28,.17);
}

.customer-app .menuSearchField input {
  min-width: 0;
  font-size: 16px;
  min-height: 44px;
}

.customer-app .searchClear {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  color: var(--sp-text-soft);
  background: transparent;
  border: 0;
}

.customer-app .categoryChips {
  gap: .38rem;
}

.customer-app .categoryChips .chip {
  min-height: 44px;
  padding: .62rem .7rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #5a4134;
}

.customer-app .categoryChips .chip:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(91,52,28,.1);
  transform: translateX(2px);
}

.customer-app .categoryChips .chip.active {
  color: #fff;
  background: var(--sp-espresso);
  border-color: var(--sp-espresso);
  box-shadow: 0 9px 20px rgba(37,22,15,.15);
}

.customer-app .categoryChips .chip.is-current:not(.active) {
  color: var(--sp-tomato-dark);
  background: rgba(201,54,37,.07);
  border-color: rgba(201,54,37,.12);
}

.customer-app .categoryChips .chip.is-current .chipMarker {
  background: var(--sp-saffron);
}

.customer-app .categoryRailFooter {
  margin-top: .2rem;
  padding: .7rem;
  border-radius: 14px;
  background: rgba(255,255,255,.65);
}

.customer-app .menuMain {
  min-width: 0;
}

.customer-app .menuHead {
  margin-bottom: .9rem;
  padding: .25rem .15rem .65rem;
  scroll-margin-top: 90px;
}

.customer-app .menuHeadActions {
  align-items: center;
}

.customer-app .menuHeadPill {
  background: rgba(255,255,255,.8);
  border-color: var(--sp-line);
  color: var(--sp-text-soft);
}

.customer-app .cartButton {
  min-height: 46px;
  background: var(--sp-paper);
  border-color: var(--sp-line-strong);
  box-shadow: var(--sp-shadow-sm);
}

/* Product cards */
.customer-app .productGridPolished {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: clamp(.75rem, 1.7vw, 1.1rem);
  align-items: stretch;
}

.customer-app .productCard.polishedProduct {
  min-height: 13.2rem;
  padding: var(--sp-card-padding);
  gap: .82rem;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius-md);
  background:
    radial-gradient(circle at 100% 0%, rgba(244,165,28,.11), transparent 8rem),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,251,244,.94));
  box-shadow: var(--sp-shadow-sm);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.customer-app .productCard.polishedProduct::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sp-tomato), var(--sp-saffron), var(--sp-basil));
  opacity: .65;
}

.customer-app .productCard.polishedProduct::after {
  content: "";
  position: absolute;
  inset: -100% auto -100% -42%;
  width: 20%;
  z-index: 1;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  opacity: 0;
  pointer-events: none;
}

.customer-app .productCard.polishedProduct:hover {
  transform: translateY(-3px);
  border-color: rgba(201,54,37,.22);
  box-shadow: var(--sp-shadow-md);
}

.customer-app .productCard.polishedProduct:hover::after {
  opacity: 1;
  animation: sp-card-sheen 1.05s var(--sp-ease) both;
}

.customer-app .productCardVisual {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,54,37,.1), rgba(244,165,28,.2));
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}

.customer-app .productTop {
  align-items: center;
}

.customer-app .productTop .cat {
  min-width: 0;
  color: var(--sp-tomato-dark);
  font-size: .66rem;
}


.customer-app .productBody {
  display: grid;
  gap: .38rem;
  align-content: start;
}

.customer-app .productBody h3 {
  margin: 0;
  font-family: var(--sp-font-body) !important;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  font-weight: 850;
  line-height: 1.17;
  letter-spacing: -.025em;
  color: var(--sp-espresso);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.customer-app .productBody p {
  margin: 0;
  color: var(--sp-text-soft);
  font-size: .88rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.customer-app .cardBottom {
  margin-top: auto;
  padding-top: .2rem;
  align-items: center;
  flex-wrap: wrap;
}

.customer-app .cardBottom .price {
  color: var(--sp-tomato-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

.customer-app .cardBottom button {
  min-width: 7rem;
  min-height: 44px !important;
  padding: .65rem .85rem !important;
  border: 1px solid rgba(201,54,37,.2);
  color: var(--sp-tomato-dark);
  background: rgba(255,255,255,.84);
}

.customer-app .cardBottom button:disabled {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  white-space: normal;
}

.customer-app .cardBottom button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--sp-tomato), var(--sp-tomato-dark));
  border-color: transparent;
}

.customer-app .productCard.lunchProduct {
  background:
    radial-gradient(circle at 100% 0%, rgba(244,165,28,.22), transparent 9rem),
    linear-gradient(180deg, #fff8e7, #fffdf8);
}

.customer-app .menuEmptyState {
  padding: 2rem;
  border: 1px dashed rgba(91,52,28,.25);
  border-radius: var(--sp-radius-md);
  background: rgba(255,255,255,.7);
}

/* Modal */
.customer-app.modal-open {
  overflow: hidden;
}

.customer-app.cart-open .shell {
  width: min(calc(100% - 2rem), var(--page-max)) !important;
}

.customer-app .modalBackdrop {
  padding: clamp(.65rem, 2vw, 1.25rem);
  background: rgba(33,17,9,.56);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: sp-backdrop-in .2s ease both;
}

.customer-app .modalCard {
  width: min(48rem, 100%);
  max-height: min(92dvh, 56rem);
  padding: 0;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: var(--sp-radius-lg);
  background: var(--sp-paper);
  box-shadow: 0 35px 100px rgba(31,15,7,.3);
  overflow: hidden;
  animation: sp-modal-in .24s var(--sp-ease) both;
}

.customer-app .modalTop {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: clamp(1rem, 3vw, 1.45rem);
  border-bottom: 1px solid var(--sp-line);
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.customer-app .modalTop h2 {
  margin: .15rem 0 .35rem;
  max-width: 23ch;
  font-family: var(--sp-font-display) !important;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.customer-app .modalTop p:not(.cat) {
  margin: 0;
  color: var(--sp-text-soft);
  line-height: 1.45;
}

.customer-app .modalTop > button {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--sp-line);
  background: #fff;
  font-size: 1.55rem;
}

.customer-app .modalCard #addForm {
  max-height: calc(92dvh - 8.3rem);
  padding: 0 clamp(1rem, 3vw, 1.45rem) 1.2rem;
  overflow: auto;
  overscroll-behavior: contain;
}

.customer-app .optionGroup {
  margin-top: 0;
  padding: 1.05rem 0;
  border-top: 1px solid var(--sp-line);
}

.customer-app .optionGroup:first-of-type {
  border-top: 0;
}

.customer-app .optionGroup h3 {
  margin: 0 0 .65rem;
  color: var(--sp-espresso);
  font-family: var(--sp-font-body) !important;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.015em;
}

.customer-app .optionGrid {
  gap: .55rem;
}

.customer-app .optionGrid label,
.customer-app .variantLabel {
  min-height: 48px;
  padding: .68rem .75rem;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  cursor: pointer;
}

.customer-app .optionGrid label:hover,
.customer-app .variantLabel:hover {
  border-color: rgba(201,54,37,.32);
  background: #fff;
}

.customer-app .optionGrid label:has(input:checked),
.customer-app .variantLabel:has(input:checked) {
  border-color: rgba(201,54,37,.58);
  background: rgba(201,54,37,.055);
  box-shadow: inset 0 0 0 1px rgba(201,54,37,.13);
}

.customer-app .optionGrid input,
.customer-app .variantLabel input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--sp-tomato);
  flex: 0 0 auto;
}

.customer-app .optionGroup textarea,
.customer-app .optionGroup input[type="number"] {
  border: 1px solid var(--sp-line-strong);
  background: #fff;
}

.customer-app .modalCard #addForm > .btn.primary:last-child {
  position: sticky;
  z-index: 3;
  bottom: .25rem;
  width: 100%;
  min-height: 54px;
  margin-top: .4rem;
  box-shadow: 0 14px 32px rgba(152,39,29,.28), 0 0 0 8px var(--sp-paper);
}

/* Floating cart and drawer */
.customer-app .floatingCart {
  right: max(.8rem, env(safe-area-inset-right));
  bottom: max(.8rem, calc(env(safe-area-inset-bottom) + .4rem));
  width: auto;
  min-width: min(16.5rem, calc(100vw - 1.6rem));
  height: auto;
  min-height: 52px;
  padding: .46rem .58rem;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: .52rem;
  align-items: center;
  border: 1px solid rgba(255,255,255,.44);
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #ad3023, var(--sp-tomato), #d87520);
  box-shadow: 0 12px 30px rgba(112,40,18,.22);
}

.customer-app .floatingCart:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(112,40,18,.27);
}

.customer-app .floatingCart.isEmpty {
  min-width: 11.5rem;
  opacity: .84;
  background: linear-gradient(135deg, #6d5142, #8a6450);
}

.customer-app .floatingCartIcon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 11px;
  background: rgba(255,255,255,.15);
  font-size: 1.05rem;
}

.customer-app .floatingCartCopy {
  min-width: 0;
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.customer-app .floatingCartCopy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
}

.customer-app .floatingCartCopy small {
  color: rgba(255,255,255,.72);
  font-size: .62rem;
}

.customer-app .floatingCartTotal {
  white-space: nowrap;
  font-size: .88rem;
}

.customer-app .floatingCart > span {
  right: -.36rem;
  top: -.36rem;
  min-width: 1.55rem;
  height: 1.55rem;
  border: 2px solid #fff;
  background: var(--sp-espresso);
  font-size: .7rem;
}

.customer-app .cartDrawer {
  width: min(25.5rem, 100%);
  padding: .8rem;
  padding-bottom: max(1rem, calc(env(safe-area-inset-bottom) + .75rem));
  border-left: 1px solid rgba(91,52,28,.11);
  background:
    radial-gradient(circle at 100% 0%, rgba(244,165,28,.08), transparent 15rem),
    var(--sp-paper);
  box-shadow: -14px 0 44px rgba(39,20,10,.15);
  overscroll-behavior: contain;
}

.customer-app .cartDrawer.open::before {
  content: "";
  position: fixed;
  inset: 0 25.5rem 0 0;
  background: rgba(33,17,9,.09);
  pointer-events: none;
}

.customer-app .drawerHead {
  position: sticky;
  top: -.1rem;
  z-index: 4;
  margin: -.8rem -.8rem .65rem;
  padding: .78rem .82rem;
  border-bottom: 1px solid var(--sp-line);
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.customer-app .drawerHead h2 {
  margin: 0;
  font-family: var(--sp-font-display);
  font-size: 1.8rem;
  letter-spacing: -.04em;
}

.customer-app .drawerHead button {
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--sp-line);
  background: #fff;
  font-size: 1.5rem;
}

.customer-app .cartItem {
  margin: .65rem 0;
  padding: .85rem;
  border-radius: 16px;
  border-color: var(--sp-line);
  box-shadow: 0 6px 18px rgba(58,34,20,.045);
}

.customer-app .cartItem > strong {
  display: block;
  padding-right: .5rem;
  line-height: 1.3;
}

.customer-app .cartItem small,
.customer-app .cartItem div:not(.cartItemBottom) {
  color: var(--sp-text-soft);
}

.customer-app .cartItemBottom {
  gap: .7rem;
}

.customer-app .cartItemBottom button,
.customer-app .cartRemoveButton {
  min-height: 42px;
  color: var(--sp-tomato-dark);
  border-color: rgba(201,54,37,.18);
  background: rgba(201,54,37,.045);
}

.customer-app .cartTotal {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 1rem 0 .7rem;
  color: var(--sp-espresso);
  background: linear-gradient(180deg, rgba(255,253,248,0), var(--sp-paper) 24%);
}

/* Forms / checkout */
.customer-app .checkoutPage {
  width: min(100%, 64rem);
  max-width: none;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.65rem);
}

.customer-app.customer-checkout .pageTitle {
  width: min(100%, 64rem);
  margin-inline: auto;
}

 .customer-app .checkoutForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: .62rem;
  margin-top: .75rem;
}

.customer-app .checkoutForm > :where(.checkoutSection, textarea, button, .checkoutPreorderNotice, #loyaltyCheckoutCard, label:has(input[type="checkbox"])) {
  grid-column: 1 / -1;
}

.customer-app .checkoutSection {
  display: grid;
  gap: .62rem;
  padding: .72rem;
  border: 1px solid rgba(91,52,28,.1);
  border-radius: 15px;
  background: rgba(255,250,241,.7);
}

.customer-app .checkoutSection > header {
  display: flex;
  align-items: center;
  gap: .62rem;
  padding-bottom: .52rem;
  border-bottom: 1px solid rgba(91,52,28,.09);
}

.customer-app .checkoutSection > header > span {
  display: grid;
  place-items: center;
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg,var(--sp-tomato),#dc7420);
  font-size: .78rem;
  font-weight: 900;
}

.customer-app .checkoutSection > header > div {
  display: grid;
  min-width: 0;
  gap: .04rem;
}

.customer-app .checkoutSection > header strong {
  color: var(--sp-espresso);
  font-size: .92rem;
}

.customer-app .checkoutSection > header small {
  color: var(--sp-text-soft);
  font-size: .7rem;
}

.customer-app .checkoutFieldGrid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .62rem;
}

.customer-app .checkoutForm .deliveryFields {
  display: grid;
}

.customer-app .checkoutPaymentSection textarea,
.customer-app .checkoutPaymentSection .customerFieldLabel[for*="note"] {
  grid-column: 1 / -1;
}

.customer-app .checkoutAgeConfirm {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .78rem;
  line-height: 1.35;
}

.customer-app .customerFieldLabel {
  margin: .08rem 0 -.42rem;
  color: #4e382c;
  font-size: .72rem;
  font-weight: 820;
}

.customer-app .checkoutForm input,
.customer-app .checkoutForm select,
.customer-app .checkoutForm textarea,
.customer-app .loginCard input,
.customer-app .loginCard select,
.customer-app .loginCard textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .74rem;
  border: 1px solid var(--sp-line-strong);
  border-radius: 14px;
  color: var(--sp-espresso);
  background: rgba(255,255,255,.94);
  font: inherit;
  transition: border-color .2s var(--sp-ease), box-shadow .2s var(--sp-ease), background .2s var(--sp-ease);
}

.customer-app .checkoutForm textarea,
.customer-app .loginCard textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.customer-app .checkoutForm input:hover,
.customer-app .checkoutForm select:hover,
.customer-app .checkoutForm textarea:hover {
  border-color: rgba(201,54,37,.3);
}

.customer-app .checkoutForm input:focus,
.customer-app .checkoutForm select:focus,
.customer-app .checkoutForm textarea:focus {
  outline: 0;
  border-color: rgba(201,54,37,.62);
  box-shadow: 0 0 0 4px rgba(244,165,28,.15);
  background: #fff;
}

.customer-app .checkoutForm input:-webkit-autofill,
.customer-app .checkoutForm select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fffdf8 inset;
  -webkit-text-fill-color: var(--sp-espresso);
}

.customer-app .checkoutForm > button {
  min-height: 50px;
}

.customer-app .checkoutForm > button:not(.primary) {
  color: var(--sp-tomato-dark);
  background: rgba(201,54,37,.045);
  border-color: rgba(201,54,37,.16);
}

.customer-app .checkoutPreorderNotice {
  display: flex;
  align-items: flex-start;
  gap: .62rem;
  margin: 0;
  padding: .68rem .72rem;
  border: 1px solid rgba(244,165,28,.25);
  border-radius: 13px;
  background: #fff6df;
  font-size: .78rem;
  line-height: 1.38;
}

.customer-app .checkoutPreorderNotice p {
  margin: .12rem 0 0;
}

.customer-app .checkoutNoticeIcon {
  display: grid;
  place-items: center;
  flex: 0 0 1.9rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9px;
  background: rgba(244,165,28,.16);
}

.customer-app .checkoutJourney {
  border-radius: 14px;
  background: rgba(255,247,234,.76);
}

.customer-app .streetSuggestBox {
  grid-column: 1 / -1;
  margin-top: -.55rem;
  position: relative;
  z-index: 5;
}

.customer-app .streetSuggestBox button {
  min-height: 48px;
  border: 1px solid var(--sp-line);
  box-shadow: var(--sp-shadow-sm);
}

.customer-app .paymentRecoveryBanner,
.customer-app .cartCampaignNotice,
.customer-app #loyaltyCheckoutCard {
  border-radius: 16px;
  border-color: var(--sp-line);
  box-shadow: var(--sp-shadow-sm);
}

/* Compact checkout support cards */
.customer-app #loyaltyCheckoutCard {
  gap: .58rem;
  padding: .68rem .72rem;
  border-radius: 13px;
  box-shadow: none;
}

.customer-app #loyaltyCheckoutCard .loyaltyCheckoutIcon {
  flex-basis: 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  font-size: 1rem;
}

.customer-app #loyaltyCheckoutCard .loyaltyCheckoutCopy {
  gap: .2rem;
}

.customer-app #loyaltyCheckoutCard .loyaltyCheckoutCopy > strong {
  font-size: .88rem;
}

.customer-app #loyaltyCheckoutCard :where(p,small,.loyaltyProgressText) {
  font-size: .74rem;
  line-height: 1.35;
}

.customer-app #loyaltyCheckoutCard .loyaltyProgress {
  height: .42rem;
}

.customer-app .cartDrawer .cartItem {
  padding: .7rem;
  border-radius: 13px;
  font-size: .9rem;
}

.customer-app .cartDrawer .cartItem small,
.customer-app .cartDrawer .cartItem > div {
  font-size: .78rem;
}

.customer-app .cartDrawer .cartTotal {
  padding-block: .75rem;
  font-size: 1rem;
}

.customer-app .cartEmptyState {
  display: grid;
  gap: .25rem;
  padding: 1rem;
  border: 1px dashed var(--sp-line-strong);
  border-radius: 14px;
  color: var(--sp-text-soft);
  text-align: center;
}

/* Customer status, payment, feedback and legal */
.customer-app .paymentResult,
.customer-app .trackingPanel,
.customer-app .loginCard {
  width: min(100%, 46rem);
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 2.2rem);
}

.customer-app .paymentResult {
  margin-top: clamp(1rem, 4vw, 3rem);
}

.customer-app .paymentResult .btn {
  margin: .3rem .35rem .3rem 0;
}

.customer-app .successText {
  padding: .85rem;
  border-radius: 14px;
  color: #1f633a;
  background: rgba(47,125,74,.09);
  border: 1px solid rgba(47,125,74,.2);
}

.customer-app .dangerText {
  padding: .85rem;
  border-radius: 14px;
  color: #8c2119;
  background: rgba(201,54,37,.07);
  border: 1px solid rgba(201,54,37,.18);
}

.customer-app .trackingPanel {
  width: 100%;
}

.customer-app .trackingMap {
  min-height: clamp(18rem, 42vw, 34rem);
  border-radius: var(--sp-radius-md);
  overflow: hidden;
}

.customer-app .feedbackCard .checkoutForm {
  grid-template-columns: 1fr;
}

.customer-app .legalShell {
  width: min(65rem, calc(100% - clamp(1.25rem, 4vw, 4rem)));
}

.customer-app .legalPanel {
  padding: clamp(1.15rem, 3vw, 2.1rem);
}

.customer-app .legalPanel h2 {
  margin: 1.7rem 0 .45rem;
  color: var(--sp-espresso);
  font-family: var(--sp-font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -.025em;
}

.customer-app .legalPanel p,
.customer-app .legalPanel li {
  max-width: 78ch;
  color: #5f4c40;
}

.customer-app .legalPanel a {
  color: var(--sp-tomato-dark);
  text-underline-offset: .2em;
}

/* Footer */
.customer-app .legalFooter {
  margin-top: 0;
  padding: 1.25rem max(clamp(1rem, 4vw, 3rem), env(safe-area-inset-left));
  padding-bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 1rem));
  border-top: 1px solid rgba(91,52,28,.1);
  background: rgba(37,22,15,.96);
  color: #fff7ea;
}

.customer-app .legalFooter span {
  color: rgba(255,247,234,.66);
}

.customer-app .legalFooter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255,247,234,.82);
}

/* Reveal layer */
.customer-app .customer-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .55s var(--sp-ease), transform .55s var(--sp-ease);
}

.customer-app .customer-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.customer-app #customerUiLive {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Animations */
@keyframes sp-brand-shimmer {
  0%, 15% { background-position: 100% 50%; }
  55%, 100% { background-position: -100% 50%; }
}

@keyframes sp-logo-sheen {
  from { left: -45%; }
  to { left: 130%; }
}

@keyframes sp-card-sheen {
  from { left: -42%; }
  to { left: 130%; }
}

@keyframes sp-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sp-modal-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1120px) {
  .customer-app .heroPolished {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, .72fr);
  }

  .customer-app .menuLayout {
    grid-template-columns: minmax(13rem, 14.5rem) minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .customer-app .heroPolished {
    grid-template-columns: 1fr;
  }

  .customer-app .heroShowcase {
    grid-template-rows: minmax(18rem, 26rem) auto;
  }

  .customer-app .heroFoodImage,
  .customer-app .heroVisualFrame {
    min-height: 18rem;
  }

  .customer-app .menuLayout {
    grid-template-columns: 1fr;
  }

  .customer-app .categoryRail {
    position: sticky;
    z-index: 8;
    top: 72px;
    max-height: none;
    padding: .65rem;
    overflow: visible;
  }

  .customer-app .menuRailHeader,
  .customer-app .categoryRailFooter {
    display: none;
  }

  .customer-app .menuSearchBlock {
    margin-bottom: .55rem;
  }

  .customer-app .categoryChips {
    display: flex;
    flex-flow: row nowrap;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 .15rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .customer-app .categoryChips::-webkit-scrollbar { display: none; }

  .customer-app .categoryChips .chip {
    flex: 0 0 auto;
    min-width: max-content;
    scroll-snap-align: center;
  }

  .customer-app .categoryChips .chip:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  .customer-app .siteTopbar {
    min-height: 64px;
    flex-wrap: wrap;
  }

  .customer-app .brandText small {
    display: none;
  }

  .customer-app .customerNavToggle {
    display: inline-flex;
  }

  .customer-app .mainNav {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    margin-top: .45rem;
    padding: .45rem;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255,253,248,.96);
    box-shadow: var(--sp-shadow-md);
  }

  .customer-app .mainNav.is-open {
    display: flex;
  }

  .customer-app .mainNav a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 12px;
  }

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

  .customer-app .quickSteps article {
    min-height: 8rem;
  }

  .customer-app .zoneIntro {
    align-items: flex-start;
  }

  .customer-app .floatingCart {
    left: max(.75rem, env(safe-area-inset-left));
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.65rem, calc(env(safe-area-inset-bottom) + .45rem));
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .customer-app .shell,
  .customer-app .legalShell {
    width: min(100% - 1rem, 100%);
  }

  .customer-app .heroPolished .heroCopy {
    padding: 1.35rem 1.1rem;
    border-radius: 26px;
  }

  .customer-app .heroPolished h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10.6vw, 3.25rem);
  }

  .customer-app .heroDash {
    display: none;
  }

  .customer-app .italyShimmer,
  .customer-app .indiaShimmer {
    display: block;
  }

  .customer-app .heroActions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .customer-app .heroActions .btn,
  .customer-app .heroActions button {
    width: 100%;
  }

  .customer-app .trustRow {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .customer-app .trustRow span {
    text-align: center;
  }

  .customer-app .heroShowcase {
    grid-template-rows: minmax(13rem, 18rem) auto;
    border-radius: 26px;
  }

  .customer-app .heroFoodImage,
  .customer-app .heroVisualFrame {
    min-height: 13rem;
  }

  .customer-app .heroLogoPlate {
    padding: .55rem .75rem;
  }

  .customer-app .heroLogoPlate img {
    max-height: 4.4rem;
  }

  .customer-app .quickSteps {
    grid-template-columns: 1fr;
  }

  .customer-app .quickSteps article {
    min-height: 0;
  }

  .customer-app .zoneIntro,
  .customer-app .sectionHead.menuHead {
    display: grid;
  }

  .customer-app .zoneControls,
  .customer-app #zoneSelectCompact,
  .customer-app .mapToggle {
    width: 100%;
    max-width: none;
  }

  .customer-app .deliveryMap {
    min-height: 17rem;
  }

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

  .customer-app .productCard.polishedProduct {
    min-height: 13.5rem;
  }

  .customer-app .cardBottom {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-app .cardBottom button {
    width: 100%;
  }

  .customer-app .optionGrid {
    grid-template-columns: 1fr;
  }

  .customer-app .checkoutFieldGrid {
    grid-template-columns: 1fr;
  }

  .customer-app .checkoutPaymentSection textarea,
  .customer-app .checkoutPaymentSection .customerFieldLabel[for*="note"] {
    grid-column: auto;
  }

  .customer-app .legalFooter {
    display: grid;
    gap: .8rem;
  }

  .customer-app .legalFooter nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .customer-app .siteTopbar {
    padding-inline: max(.65rem, env(safe-area-inset-left));
  }

  .customer-app .headerLogo {
    max-width: 7.2rem;
    height: 2.2rem;
  }

  .customer-app .campaignBanner {
    grid-template-columns: auto minmax(0,1fr);
  }

  .customer-app .campaignBanner a {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }

  .customer-app .heroShowcase {
    display: grid;
  }

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

  .customer-app .heroMiniCards article {
    padding-inline: .35rem;
  }

  .customer-app .heroMiniCards span {
    font-size: .62rem;
  }

  .customer-app .heroStatusCard {
    width: 100%;
  }

  .customer-app .trustRow {
    grid-template-columns: 1fr;
  }

  .customer-app .categoryRail {
    top: 64px;
  }

  .customer-app .productGridPolished {
    grid-template-columns: 1fr;
  }

  .customer-app .productCard.polishedProduct {
    min-height: 0;
  }

  .customer-app .cardBottom {
    flex-direction: row;
    align-items: center;
  }

  .customer-app .cardBottom button {
    width: auto;
  }

  .customer-app .floatingCart {
    min-height: 52px;
    padding: .45rem .55rem;
    border-radius: 16px;
  }

  .customer-app .floatingCartIcon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .customer-app .cartDrawer.open::before {
    display: none;
  }

  .customer-app .modalBackdrop {
    place-items: end center;
    padding: 0;
  }

  .customer-app .modalCard {
    width: 100%;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }

  .customer-app .modalCard #addForm {
    max-height: calc(94dvh - 8rem);
    padding-bottom: max(1.2rem, calc(env(safe-area-inset-bottom) + .8rem));
  }
}

@media (max-width: 360px) {
  .customer-app .shell,
  .customer-app .legalShell {
    width: calc(100% - .75rem);
  }

  .customer-app .heroPolished .heroCopy,
  .customer-app .zoneMapPanel,
  .customer-app .panel,
  .customer-app .pageTitle {
    border-radius: 20px;
  }

  .customer-app .heroPolished h1 {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }

  .customer-app .heroSubline {
    font-size: .96rem;
  }

  .customer-app .heroMiniCards strong {
    font-size: 1rem;
  }

  .customer-app .floatingCartCopy small {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .customer-app .brand:hover .brandLogoWrap::after,
  .customer-app .campaignBanner:hover::after,
  .customer-app .quickSteps article:hover::after,
  .customer-app .productCard.polishedProduct:hover::after {
    animation: none;
    opacity: 0;
  }

  .customer-app .heroShowcase,
  .customer-app .productCard.polishedProduct,
  .customer-app .quickSteps article,
  .customer-app .btn,
  .customer-app button {
    transform: none !important;
  }

  .customer-app .categoryChips .chip,
  .customer-app .zoneCompactList button,
  .customer-app .cardBottom button,
  .customer-app .heroActions .btn,
  .customer-app .heroActions button {
    min-height: 48px !important;
  }
}

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

  .customer-app .customer-reveal {
    opacity: 1;
    transform: none;
  }

  .customer-app .italyShimmer,
  .customer-app .indiaShimmer {
    animation: none;
    background-position: 50% 50%;
  }
}

/* Product meta grouping added by the v0.9.70 renderer. */
.customer-app .productMeta {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
}
.customer-app .productMeta .cat { margin: 0; }

/* Final customer accessibility guard: legacy mobile rules use a smaller search height. */
.customer-app.customer-home #search {
  min-height: 44px !important;
  height: 44px;
}

/* v0.9.70 — resolve legacy customerHome !important rules without touching app logic. */
body.customerHome.customer-app .floatingCart {
  left: auto !important;
  right: max(.8rem, env(safe-area-inset-right)) !important;
  bottom: max(.8rem, calc(env(safe-area-inset-bottom) + .4rem)) !important;
  transform: none !important;
  width: auto !important;
  min-width: min(16.5rem, calc(100vw - 1.6rem)) !important;
  min-height: 52px !important;
  padding: .46rem .58rem !important;
  gap: .52rem !important;
  border-radius: 17px !important;
  box-shadow: 0 12px 30px rgba(112,40,18,.22) !important;
}

body.customerHome.customer-app .floatingCartIcon {
  width: 2.15rem !important;
  height: 2.15rem !important;
  border-radius: 11px !important;
  font-size: 1.05rem !important;
}

body.customerHome.customer-app .floatingCartCopy strong { font-size: .86rem !important; }
body.customerHome.customer-app .floatingCartCopy small { font-size: .62rem !important; }
body.customerHome.customer-app .floatingCartTotal { font-size: .88rem !important; }
body.customerHome.customer-app .floatingCart > span { display: grid !important; }
body.customerHome.customer-app .cartDrawer { width: min(25.5rem, 100%) !important; }
body.customerHome.customer-app .legalFooter { padding-bottom: 5rem !important; }

@media (max-width: 768px) {
  body.customerHome.customer-app .floatingCart {
    left: max(.55rem, env(safe-area-inset-left)) !important;
    right: max(.55rem, env(safe-area-inset-right)) !important;
    width: auto !important;
    min-width: 0 !important;
    bottom: max(.55rem, env(safe-area-inset-bottom)) !important;
  }

  body.customerHome.customer-app .cartDrawer {
    width: 100% !important;
    height: min(88dvh, 48rem) !important;
  }
}

/* v0.9.74 — approved product artwork without changing card dimensions. */
.customer-app .productCard.polishedProduct {
  isolation: isolate;
}
.customer-app .productCardArtwork {
  position: absolute;
  z-index: 0;
  right: clamp(-3.25rem, -3.5vw, -1.8rem);
  bottom: clamp(-3.3rem, -3vw, -2rem);
  width: clamp(8.5rem, 31%, 11.5rem);
  height: auto;
  max-height: 78%;
  object-fit: contain;
  opacity: .92;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 18px rgba(70,35,17,.13));
  transform: rotate(-4deg);
}
.customer-app .productCard.hasProductArtwork .productTop,
.customer-app .productCard.hasProductArtwork .productBody,
.customer-app .productCard.hasProductArtwork .cardBottom {
  position: relative;
  z-index: 2;
}
.customer-app .productCard.hasProductArtwork .productBody {
  padding-right: clamp(2.8rem, 15%, 4.6rem);
}
.customer-app .productCard.hasProductArtwork .cardBottom {
  padding-right: clamp(2.4rem, 12%, 3.5rem);
}
@media (max-width: 520px) {
  .customer-app .productCardArtwork { width: 7.8rem; right: -2.7rem; bottom: -2.6rem; opacity: .82; }
  .customer-app .productCard.hasProductArtwork .productBody { padding-right: 2.75rem; }
  .customer-app .productCard.hasProductArtwork .cardBottom { padding-right: 1.8rem; }
}
@media (max-width: 350px) {
  .customer-app .productCardArtwork { display: none; }
  .customer-app .productCard.hasProductArtwork .productBody,
  .customer-app .productCard.hasProductArtwork .cardBottom { padding-right: 0; }
}

/* Legal links: readable warm contrast in the customer design language. */
.customer-app .legalFooter nav a {
  color: var(--sp-espresso, #25160f) !important;
  background: var(--sp-paper-warm, #fff3df);
  border: 1px solid rgba(152,39,29,.24);
  border-radius: 999px;
  min-height: 44px;
  padding: .65rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
}
.customer-app .legalFooter nav a:hover,
.customer-app .legalFooter nav a:focus-visible {
  color: #fff !important;
  background: var(--sp-tomato-dark, #98271d);
  border-color: var(--sp-tomato-dark, #98271d);
}

/* Product artwork: full subject, slightly larger, no card cropping. */
body.customerHome.customer-app .productCard.polishedProduct.hasProductArtwork {
  position: relative;
  overflow: visible !important;
  isolation: isolate;
  z-index: 1;
}
body.customerHome.customer-app .productCard.polishedProduct.hasProductArtwork:hover {
  z-index: 3;
}
body.customerHome.customer-app .productCard.polishedProduct.hasProductArtwork::after {
  display: none !important;
}
body.customerHome.customer-app .productCardArtwork {
  position: absolute;
  right: .15rem;
  bottom: -.4rem;
  width: clamp(9.1rem, 34%, 11.75rem);
  height: clamp(9.1rem, 34%, 11.75rem);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  overflow: visible;
  opacity: .96;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 .75rem 1rem rgba(70,35,17,.15));
  transform: rotate(-2deg) translateZ(0);
}
body.customerHome.customer-app .productCard.hasProductArtwork .productTop,
body.customerHome.customer-app .productCard.hasProductArtwork .productBody,
body.customerHome.customer-app .productCard.hasProductArtwork .cardBottom {
  position: relative;
  z-index: 3;
}
body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
  padding-right: clamp(4rem, 25%, 5.75rem);
}
body.customerHome.customer-app .productCard.hasProductArtwork .cardBottom {
  padding-right: 0;
  z-index: 4;
}
body.customerHome.customer-app .productCard.hasProductArtwork .cardBottom button {
  position: relative;
  z-index: 5;
  box-shadow: 0 .4rem 1rem rgba(54,28,14,.08);
}

@media (max-width: 520px) {
  body.customerHome.customer-app .productCardArtwork {
    display: block;
    right: .1rem;
    bottom: -.25rem;
    width: 8.35rem;
    height: 8.35rem;
    opacity: .94;
  }
  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: 3.7rem;
  }
}

@media (max-width: 350px) {
  body.customerHome.customer-app .productCardArtwork {
    display: block;
    width: 6.7rem;
    height: 6.7rem;
    right: .05rem;
    bottom: -.1rem;
  }
  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: 2.8rem;
  }
}

/* v0.9.78 — globally published ProductCard theme tokens. */
.customer-app .productCard.polishedProduct {
  min-height: var(--pc-card-min-height, 211px);
  padding: var(--pc-card-padding, 18px);
  color: var(--pc-card-text, #25160f);
  border-color: var(--pc-card-border, #ead9c9);
  border-radius: var(--pc-card-radius, 18px);
  background: var(--pc-card-bg, #fffdf8);
  box-shadow: 0 10px 30px rgba(52, 27, 17, var(--pc-shadow-strength, .15));
}
.customer-app .productBody h3 {
  color: var(--pc-title-color, #25160f);
  font-size: var(--pc-title-size, 20px);
  font-weight: var(--pc-title-weight, 850);
  transform: translate(var(--pc-title-x, 0px), var(--pc-title-y, 0px));
}
.customer-app .productBody p {
  color: var(--pc-description-color, #705a4e);
  font-size: var(--pc-description-size, 14px);
  transform: translate(var(--pc-description-x, 0px), var(--pc-description-y, 0px));
}
.customer-app .cardBottom .price {
  color: var(--pc-price-color, #98271d);
  font-size: var(--pc-price-size, 17px);
  transform: translate(var(--pc-price-x, 0px), var(--pc-price-y, 0px));
}
.customer-app .cardBottom button {
  color: var(--pc-button-text, #98271d);
  background: var(--pc-button-bg, #fffaf2);
  transform: translate(var(--pc-button-x, 0px), var(--pc-button-y, 0px));
}
.customer-app .cardBottom button:hover,
.customer-app .cardBottom button:focus-visible {
  color: var(--pc-button-hover-text, #fff);
  background: var(--pc-button-hover-bg, #98271d);
}
body.customerHome.customer-app .productCardArtwork {
  right: var(--pc-artwork-right, 2px);
  bottom: var(--pc-artwork-bottom, -6px);
  width: var(--pc-artwork-size, 188px);
  height: var(--pc-artwork-size, 188px);
  opacity: var(--pc-artwork-opacity, .96);
  transform: rotate(var(--pc-artwork-rotation, -2deg)) translateZ(0);
}
body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
  padding-right: var(--pc-artwork-reserve, 92px);
}
@media (max-width: 520px) {
  body.customerHome.customer-app .productCardArtwork {
    width: min(var(--pc-artwork-size, 188px), 134px);
    height: min(var(--pc-artwork-size, 188px), 134px);
  }
  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: min(var(--pc-artwork-reserve, 92px), 64px);
  }
}

/* v0.9.79 — Smart Promo & Consent, fixed ProductCard grid. */
.smartConsentLayer[hidden] { display: none !important; }
.smartConsentLayer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  overflow: auto;
  background: rgba(24, 12, 8, .72);
  backdrop-filter: blur(12px);
}
body.has-smart-consent { overflow: hidden; }
.smartConsentDialog {
  position: relative;
  width: min(70rem, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(11rem, .62fr) minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.65rem);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 26px;
  background: #fffaf3;
  box-shadow: 0 30px 90px rgba(22, 10, 6, .35);
  outline: none;
}
.smartConsentClose {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid #e5d3c2;
  background: #fff;
  color: #3a2017;
  font-size: 1.35rem;
  cursor: pointer;
}
.smartConsentPromo,
.smartConsentPrivacy,
.smartConsentQr {
  min-width: 0;
  border-radius: 20px;
}
.smartConsentPromo {
  padding: clamp(1rem, 2vw, 1.4rem);
  color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(255,196,89,.33), transparent 35%), linear-gradient(145deg, #8f2018, #4e1711);
}
.smartConsentPromo h2 { margin: .35rem 0 .6rem; color: #fff; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.05; }
.smartConsentPromo p { color: rgba(255,255,255,.9); }
.smartConsentPromo .eyebrow { color: #ffd88b; }
.smartConsentBadge { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; background: #ffd77e; color: #3d180e; font-weight: 900; }
.smartConsentPromoActions,
.smartConsentActions { display: flex; gap: .55rem; flex-wrap: wrap; margin-top: 1rem; }
.smartConsentPromoActions .btn { flex: 1 1 10rem; text-align: center; }
.smartConsentQr {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ead9c9;
}
.smartConsentQr a { display: block; width: min(100%, 13rem); padding: .55rem; border-radius: 16px; background: #fff; }
.smartConsentQr img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.smartConsentQr span { color: #705a4e; font-size: .78rem; }
.smartConsentQr strong { margin-top: .25rem; color: #25160f; }
.smartConsentPrivacy { display: grid; align-content: space-between; gap: .8rem; padding: clamp(1rem, 2vw, 1.25rem); background: #f5ede4; }
.smartConsentPrivacy h3 { margin: .25rem 0 .4rem; color: #25160f; }
.smartConsentPrivacy p { margin: 0; color: #604b40; font-size: .9rem; line-height: 1.48; }
.smartConsentOptions { display: grid; gap: .55rem; }
.smartConsentOptions label { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; padding: .65rem; border: 1px solid #ddc9b8; border-radius: 13px; background: #fff; cursor: pointer; }
.smartConsentOptions input { margin-top: .2rem; width: 1.15rem; height: 1.15rem; accent-color: #98271d; }
.smartConsentOptions strong,
.smartConsentOptions small { display: block; }
.smartConsentOptions small { margin-top: .12rem; color: #705a4e; line-height: 1.35; }
.smartConsentActions .btn { flex: 1 1 9rem; }
.smartConsentLegal { font-size: .76rem !important; }
.legalFooter .legalConsentButton {
  appearance: none;
  border: 1px solid rgba(152,39,29,.22);
  border-radius: 999px;
  padding: .45rem .75rem;
  color: #5b2119;
  background: #fff5e8;
  font: inherit;
  cursor: pointer;
}
.legalFooter .legalConsentButton:hover,
.legalFooter .legalConsentButton:focus-visible { color: #fff; background: #98271d; }

body.customerHome.customer-app .productGridPolished,
.customer-app .themePreviewGrid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--pc-card-min-width, 240px)), 1fr)) !important;
  grid-auto-rows: var(--pc-card-height, 224px);
  align-items: stretch;
}
body.customerHome.customer-app .productCard.polishedProduct,
.customer-app .themePreviewGrid .productCard.polishedProduct {
  box-sizing: border-box;
  width: 100%;
  height: var(--pc-card-height, 224px) !important;
  min-height: var(--pc-card-height, 224px) !important;
  max-height: var(--pc-card-height, 224px) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: visible !important;
  contain: layout style !important;
}
body.customerHome.customer-app .productCard .productTop,
.customer-app .themePreviewGrid .productCard .productTop { min-width: 0; }
body.customerHome.customer-app .productCard .productBody,
.customer-app .themePreviewGrid .productCard .productBody {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
body.customerHome.customer-app .productCard .productBody h3,
.customer-app .themePreviewGrid .productCard .productBody h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--pc-title-lines, 2);
  line-clamp: var(--pc-title-lines, 2);
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.12;
  max-height: calc(var(--pc-title-size, 20px) * 1.12 * var(--pc-title-lines, 2));
  overflow-wrap: anywhere;
}
body.customerHome.customer-app .productCard .productBody p,
.customer-app .themePreviewGrid .productCard .productBody p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--pc-description-lines, 3);
  line-clamp: var(--pc-description-lines, 3);
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  max-height: calc(var(--pc-description-size, 14px) * 1.35 * var(--pc-description-lines, 3));
  overflow-wrap: anywhere;
  text-shadow:
    var(--pc-description-shadow-x, 0px)
    var(--pc-description-shadow-y, 1px)
    var(--pc-description-shadow-blur, 3px)
    color-mix(
      in srgb,
      var(--pc-description-shadow-color, #fffdf8) var(--pc-description-shadow-opacity, 72%),
      transparent
    ),
    0 0 calc(var(--pc-description-shadow-blur, 3px) * .45)
    color-mix(
      in srgb,
      var(--pc-description-shadow-color, #fffdf8) var(--pc-description-shadow-opacity, 72%),
      transparent
    );
  -webkit-text-stroke:
    var(--pc-description-outline-width, 0px)
    var(--pc-description-outline-color, #fffdf8);
  paint-order: stroke fill;
}
body.customerHome.customer-app .productCard .cardBottom,
.customer-app .themePreviewGrid .productCard .cardBottom {
  min-width: 0;
  align-self: end;
  margin-top: 0;
}
body.customerHome.customer-app .productCardArtwork {
  object-fit: contain !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .smartConsentDialog { grid-template-columns: minmax(0, 1fr) minmax(10rem, .55fr); }
  .smartConsentPrivacy { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .smartConsentLayer { place-items: start center; padding: .6rem; }
  .smartConsentDialog { grid-template-columns: 1fr; border-radius: 20px; padding: .75rem; }
  .smartConsentQr { grid-row: 2; }
  .smartConsentQr a { width: 10rem; }
  .smartConsentPromoActions .btn,
  .smartConsentActions .btn { flex-basis: 100%; }
  body.customerHome.customer-app .productGridPolished { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
  .smartConsentLayer, .smartConsentDialog { scroll-behavior: auto; }
}

/* v0.9.80 — Configurable description readability effects. */

/* ========================================================================
   v0.9.81 — Premium Smart Promo & Consent redesign
   Consent behavior stays separate from promo interactions. The QR asset is
   generated locally by the application; no external UI resource is loaded.
   ======================================================================== */
:root {
  --consent-ink: #281813;
  --consent-muted: #68544a;
  --consent-paper: #fffaf4;
  --consent-paper-soft: #f7eee4;
  --consent-border: rgba(112, 65, 41, .16);
  --consent-red: #972b1f;
  --consent-red-dark: #681914;
  --consent-orange: #d86a24;
  --consent-gold: #ffd678;
  --consent-focus: #2563eb;
  --consent-radius: 2rem;
  --consent-panel-radius: 1.6rem;
  --consent-light-text-shadow: 0 1px 0 rgba(255,255,255,.82);
  --consent-dark-text-shadow: 0 1px 2px rgba(31,7,5,.34);
  --consent-heading-shadow: 0 2px 2px rgba(31,7,5,.2), 0 .85rem 2.4rem rgba(31,7,5,.14);
}

.smartConsentLayer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  overflow: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 18% 12%, rgba(229,121,61,.16), transparent 32%),
    rgba(28,15,10,.74);
  -webkit-backdrop-filter: blur(15px) saturate(112%);
  backdrop-filter: blur(15px) saturate(112%);
}

body.has-smart-consent { overflow: hidden; }

.smartConsentDialog,
.smartConsentDialog *,
.smartConsentDialog *::before,
.smartConsentDialog *::after { box-sizing: border-box; }

.smartConsentDialog {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(22rem, .92fr);
  gap: 0;
  width: min(74rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: var(--consent-ink);
  background: linear-gradient(135deg, rgba(255,253,249,.99), rgba(250,241,231,.98));
  border: 1px solid rgba(255,255,255,.76);
  border-radius: var(--consent-radius);
  box-shadow: 0 2.5rem 6rem rgba(31,14,9,.32), 0 .5rem 1.5rem rgba(31,14,9,.13);
  outline: none;
  font-family: inherit;
  animation: smartConsentEnter 420ms cubic-bezier(.22,1,.36,1) both;
}

.smartConsentDialog::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 12;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: inherit;
  pointer-events: none;
}

.visuallyHidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.smartConsentClose {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  color: #3b2119;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(105,61,38,.2);
  border-radius: 999px;
  box-shadow: 0 .55rem 1.5rem rgba(48,22,14,.13), inset 0 1px 0 rgba(255,255,255,.95);
  font: inherit;
  font-size: 1.65rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.smartConsentClose span {
  display: block;
  transform: translateY(-.07em);
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentClose:hover {
  color: #fff;
  background: var(--consent-red);
  box-shadow: 0 .75rem 1.8rem rgba(112,29,20,.25);
  transform: translateY(-2px) rotate(4deg);
}

.smartConsentClose:active { transform: translateY(0) scale(.96); }

.smartConsentPromo {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: clamp(.8rem, 1.6vw, 1.2rem);
  color: #fff;
  background:
    radial-gradient(circle at 92% 7%, rgba(255,195,83,.28), transparent 29%),
    radial-gradient(circle at 12% 88%, rgba(236,80,41,.18), transparent 34%),
    linear-gradient(145deg, #a33a20 0%, #7b2018 42%, #4b1110 100%);
  overflow: hidden;
}

.smartConsentPromo::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255,255,255,.025), 0 0 0 7rem rgba(255,255,255,.017);
  pointer-events: none;
}

.smartConsentPromo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.04) 46%, transparent 70%);
  transform: translateX(-75%);
  animation: smartConsentShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.smartConsentPromoInner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: clamp(1.35rem, 2.7vw, 2.45rem);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--consent-panel-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1.5rem 3rem rgba(40,8,6,.14);
}

.smartConsentPromoHeader { max-width: 43rem; }

.smartConsentBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  margin-bottom: 1.15rem;
  padding: .53rem 1rem;
  color: #3d190b;
  background: linear-gradient(135deg, #ffe9a1, var(--consent-gold));
  border: 1px solid rgba(255,248,197,.76);
  border-radius: 999px;
  box-shadow: 0 .55rem 1.5rem rgba(42,12,6,.22), inset 0 1px 0 rgba(255,255,255,.82);
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  font-weight: 900;
  letter-spacing: -.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,.56);
}

.smartConsentDialog .eyebrow {
  margin: 0 0 .85rem;
  font-size: clamp(.72rem, .82vw, .82rem);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.smartConsentPromo .eyebrow {
  color: #ffe69a;
  text-shadow: var(--consent-dark-text-shadow);
}

.smartConsentPromo h2 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 3.25vw, 4.15rem);
  line-height: .99;
  font-weight: 950;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: var(--consent-heading-shadow);
}

.smartConsentPromoDescription {
  max-width: 39rem;
  margin: clamp(1.25rem, 2.1vw, 1.9rem) 0 0;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  font-weight: 580;
  text-shadow: var(--consent-dark-text-shadow);
}

.smartConsentPromoDate {
  display: inline-block;
  margin-left: .3rem;
  color: #ffe29a;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: var(--consent-dark-text-shadow);
}

.smartConsentPromoFooter {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 4rem);
}

.smartConsentPromoActions {
  display: flex;
  gap: .65rem;
  margin: 0;
}

.smartConsentPromoActions .btn { width: 100%; text-align: center; }

.smartConsentQr.smartConsentQrCard {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  justify-items: stretch;
  gap: 1rem;
  padding: .85rem;
  color: #321912;
  text-align: left;
  background: rgba(255,250,243,.96);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 2.5rem rgba(42,10,6,.22), inset 0 1px 0 rgba(255,255,255,.92);
}

.smartConsentQr .smartConsentQrLink {
  display: block;
  width: auto;
  padding: .4rem;
  background: #fff;
  border: 1px solid rgba(85,42,25,.1);
  border-radius: .95rem;
  box-shadow: 0 .5rem 1.5rem rgba(50,21,12,.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.smartConsentQr .smartConsentQrLink:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 .8rem 1.8rem rgba(50,21,12,.15);
}

.smartConsentQr .smartConsentQrLink img {
  display: block;
  width: clamp(6.6rem, 10vw, 8.7rem);
  height: clamp(6.6rem, 10vw, 8.7rem);
  aspect-ratio: 1;
}

.smartConsentQrCopy { min-width: 0; }

.smartConsentQrCopy strong {
  display: block;
  margin: 0 0 .3rem;
  color: #341811;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.25;
  font-weight: 900;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentQrCopy > span {
  display: block;
  color: #6c5146;
  font-size: clamp(.84rem, 1vw, .95rem);
  line-height: 1.42;
  font-weight: 540;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentQrTextLink {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: .55rem;
  color: #8f291e;
  font-size: .86rem;
  font-weight: 850;
  text-decoration: none;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentQrTextLink:hover { color: #c24a26; text-decoration: underline; text-underline-offset: .2em; }

.smartConsentPrivacy {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(2.6rem, 4vw, 4.25rem) clamp(1.5rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0, rgba(217,108,37,.08), transparent 29%),
    linear-gradient(180deg, rgba(255,252,247,.99), rgba(247,238,228,.97));
  border-radius: 0 var(--consent-radius) var(--consent-radius) 0;
}

.smartConsentPrivacyHeader { max-width: 38rem; }

.smartConsentPrivacy .eyebrow {
  color: #c43a28;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentPrivacy h3 {
  max-width: 20ch;
  margin: 0;
  color: #261813;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.04em;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.92), 0 .35rem 1rem rgba(71,38,23,.07);
}

.smartConsentPrivacyHeader > p:last-child {
  margin: 1rem 0 0;
  color: var(--consent-muted);
  font-size: clamp(.95rem, 1.08vw, 1.04rem);
  line-height: 1.55;
  font-weight: 490;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentOptions {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  border: 0;
}

.smartConsentOption {
  position: relative;
  display: grid;
  grid-template-columns: 1.45rem minmax(0,1fr);
  align-items: start;
  gap: .9rem;
  padding: 1rem;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(134,77,43,.2);
  border-radius: 1rem;
  box-shadow: 0 .6rem 1.5rem rgba(79,42,23,.055), inset 0 1px 0 rgba(255,255,255,.92);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.smartConsentOption:hover {
  border-color: rgba(159,51,34,.38);
  background: #fff;
  box-shadow: 0 .9rem 2rem rgba(79,42,23,.09), inset 0 1px 0 #fff;
  transform: translateY(-2px);
}

.smartConsentOption:has(input:checked) {
  border-color: rgba(157,46,30,.42);
  background: linear-gradient(135deg, rgba(255,248,240,.99), rgba(255,239,224,.94));
  box-shadow: 0 .85rem 2rem rgba(98,33,20,.09), inset 0 0 0 1px rgba(255,255,255,.68);
}

.smartConsentOption input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: .08rem 0 0;
  background: #fff;
  border: 1.5px solid #9f887c;
  border-radius: .36rem;
  box-shadow: inset 0 1px 2px rgba(60,31,19,.08);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.smartConsentOption input::before {
  content: "";
  width: .36rem;
  height: .65rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-.05rem) rotate(45deg) scale(0);
  transition: transform 150ms cubic-bezier(.34,1.56,.64,1);
}

.smartConsentOption input:checked {
  background: linear-gradient(135deg, #bc3e27, #812017);
  border-color: #8f271c;
  box-shadow: 0 .3rem .8rem rgba(124,29,20,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

.smartConsentOption input:checked::before { transform: translateY(-.05rem) rotate(45deg) scale(1); }
.smartConsentOption input:disabled { opacity: .72; cursor: not-allowed; }
.smartConsentOption span { min-width: 0; }

.smartConsentOption strong {
  display: block;
  color: #2b1b15;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 880;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentOption small {
  display: block;
  margin-top: .3rem;
  color: #705b51;
  font-size: .88rem;
  line-height: 1.42;
  font-weight: 480;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentDialog .btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: .8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: clamp(.93rem, 1vw, 1rem);
  line-height: 1.15;
  font-weight: 880;
  letter-spacing: -.015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.smartConsentDialog .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #a82e20, #d66724);
  border-color: rgba(117,27,18,.2);
  box-shadow: 0 .75rem 1.7rem rgba(135,38,22,.22), inset 0 1px 0 rgba(255,255,255,.18);
  text-shadow: 0 1px 2px rgba(54,10,6,.4);
}

.smartConsentDialog .btn.secondary {
  color: #2e1a14;
  background: rgba(255,255,255,.92);
  border-color: rgba(117,73,49,.22);
  box-shadow: 0 .55rem 1.35rem rgba(67,34,21,.07), inset 0 1px 0 #fff;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentDialog .btn:hover { transform: translateY(-2px); }
.smartConsentDialog .btn.primary:hover { background: linear-gradient(135deg, #bf3724, #e47a2a); box-shadow: 0 1rem 2.25rem rgba(135,38,22,.3), inset 0 1px 0 rgba(255,255,255,.22); }
.smartConsentDialog .btn.secondary:hover { color: #8f291e; border-color: rgba(153,49,31,.38); background: #fff; box-shadow: 0 .85rem 1.8rem rgba(67,34,21,.11); }
.smartConsentDialog .btn:active { transform: translateY(0) scale(.985); }

.smartConsentActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .75rem;
  margin-top: 1.4rem;
}

.smartConsentActions .btn { width: 100%; }

.smartConsentLegal {
  margin: auto 0 0;
  padding-top: 1.25rem;
  color: #705e55 !important;
  font-size: .78rem !important;
  line-height: 1.45 !important;
  font-weight: 480;
  text-shadow: var(--consent-light-text-shadow);
}

.smartConsentLegal a {
  color: #8f2b20;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-shadow: var(--consent-light-text-shadow);
}
.smartConsentLegal a:hover { color: #c24a26; }

.smartConsentDialog :is(button,a,input):focus-visible {
  outline: 3px solid var(--consent-focus);
  outline-offset: 3px;
}

.smartConsentOption:focus-within {
  border-color: var(--consent-focus);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14), 0 .9rem 2rem rgba(79,42,23,.09);
}

@media (max-width: 900px) {
  .smartConsentLayer { place-items: start center; }
  .smartConsentDialog {
    grid-template-columns: minmax(0,1fr);
    width: min(46rem, calc(100vw - 1rem));
    max-height: calc(100dvh - 1rem);
    border-radius: 1.6rem;
  }
  .smartConsentPromo { min-height: auto; padding: .7rem; }
  .smartConsentPromoInner { padding: clamp(1.35rem, 5vw, 2.25rem); }
  .smartConsentPromo h2 { max-width: 18ch; }
  .smartConsentPromoFooter { margin-top: 2rem; }
  .smartConsentPrivacy {
    grid-column: auto;
    padding: clamp(2.2rem, 6vw, 3rem) clamp(1.25rem, 5vw, 2.5rem) clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 0 0 1.6rem 1.6rem;
  }
  .smartConsentPrivacy h3 { max-width: 24ch; }
}

@media (max-width: 580px) {
  .smartConsentLayer { padding: .4rem; }
  .smartConsentDialog {
    width: calc(100vw - .8rem);
    max-height: calc(100dvh - .8rem);
    border-radius: 1.3rem;
  }
  .smartConsentClose { top: .7rem; right: .7rem; width: 2.65rem; height: 2.65rem; font-size: 1.45rem; }
  .smartConsentPromo { padding: .4rem; }
  .smartConsentPromoInner { padding: 1.4rem 1.1rem 1.15rem; border-radius: 1.05rem; }
  .smartConsentBadge { min-height: 2.3rem; margin-bottom: 1rem; padding: .42rem .8rem; }
  .smartConsentPromo h2 { max-width: 14ch; padding-right: 1.5rem; font-size: clamp(2rem, 11vw, 3rem); line-height: 1; }
  .smartConsentPromoDescription { font-size: .96rem; line-height: 1.48; }
  .smartConsentPromoDate { display: block; margin: .35rem 0 0; white-space: normal; }
  .smartConsentQr.smartConsentQrCard { grid-template-columns: 6.15rem minmax(0,1fr); gap: .8rem; padding: .7rem; }
  .smartConsentQr .smartConsentQrLink img { width: 5.35rem; height: 5.35rem; }
  .smartConsentPrivacy { padding: 2.1rem 1rem 1.25rem; border-radius: 0 0 1.3rem 1.3rem; }
  .smartConsentPrivacy h3 { font-size: 1.55rem; }
  .smartConsentPrivacyHeader > p:last-child { font-size: .92rem; }
  .smartConsentOption { gap: .75rem; padding: .9rem; }
  .smartConsentActions { grid-template-columns: minmax(0,1fr); }
  .smartConsentActions .primary { order: -1; }
  .smartConsentLegal { padding-top: 1rem; }
}

@media (max-width: 390px) {
  .smartConsentQr.smartConsentQrCard { grid-template-columns: minmax(0,1fr); justify-items: center; text-align: center; }
  .smartConsentQr .smartConsentQrLink img { width: 6.5rem; height: 6.5rem; }
  .smartConsentPromo h2 { font-size: 2rem; }
}

@media (min-width: 901px) and (max-height: 760px) {
  .smartConsentDialog { width: min(69rem, calc(100vw - 2rem)); }
  .smartConsentPromo { padding: .75rem; }
  .smartConsentPromoInner { padding: 1.5rem; }
  .smartConsentPromo h2 { font-size: clamp(2.25rem, 3vw, 3.35rem); }
  .smartConsentPromoFooter { margin-top: 1.5rem; }
  .smartConsentQr .smartConsentQrLink img { width: 6.25rem; height: 6.25rem; }
  .smartConsentPrivacy { padding-top: 2.5rem; padding-bottom: 1.25rem; }
}

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

@media (prefers-contrast: more) {
  .smartConsentDialog { border-color: #4b2c20; }
  .smartConsentOption { border-width: 2px; border-color: #725142; }
  .smartConsentDialog .btn { border-width: 2px; }
  .smartConsentPrivacyHeader > p:last-child,
  .smartConsentOption small,
  .smartConsentLegal { color: #44332c !important; }
}

@media (forced-colors: active) {
  .smartConsentDialog,
  .smartConsentPromo,
  .smartConsentPrivacy,
  .smartConsentOption,
  .smartConsentDialog .btn,
  .smartConsentClose { forced-color-adjust: auto; }
  .smartConsentOption input { appearance: auto; }
}

@keyframes smartConsentEnter {
  from { opacity: 0; transform: translateY(1rem) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes smartConsentShimmer {
  0%, 70%, 100% { transform: translateX(-75%); }
  82% { transform: translateX(75%); }
}

/* ========================================================================
   v0.9.83 — Mobile Commerce UX
   A dedicated compact touch layout. Desktop rules above remain untouched.
   ======================================================================== */
.mobileCartToast {
  position: fixed;
  z-index: 120;
  top: calc(env(safe-area-inset-top) + 4.25rem);
  left: max(.7rem, env(safe-area-inset-left));
  right: max(.7rem, env(safe-area-inset-right));
  display: none;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  padding: .72rem .78rem .72rem .9rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, rgba(48,83,43,.98), rgba(28,112,62,.98));
  box-shadow: 0 14px 36px rgba(30,55,31,.25);
  opacity: 0;
  transform: translateY(-140%);
  transition: opacity .2s ease, transform .28s var(--sp-ease);
  pointer-events: none;
}
.mobileCartToast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobileCartToastCopy {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 820;
}
.mobileCartToast a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .5rem .72rem;
  border-radius: 999px;
  color: #204b2b;
  background: #fff;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) and (max-width: 900px) {
  html,
  body.customer-app {
    max-width: 100%;
    overflow-x: clip;
  }

  body.customerHome.customer-app {
    --mobile-commerce-gutter: clamp(.68rem, 2.8vw, .95rem);
  }

  body.customerHome.customer-app .shell {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: var(--mobile-commerce-gutter) !important;
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)) !important;
  }

  /* Full-bleed sticky menu: the search and category rail now span the viewport. */
  body.customerHome.customer-app .categoryRail.polishedRail {
    box-sizing: border-box;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding:
      .52rem max(var(--mobile-commerce-gutter), env(safe-area-inset-right))
      .58rem max(var(--mobile-commerce-gutter), env(safe-area-inset-left)) !important;
    top: 3.55rem !important;
    border-inline: 0 !important;
    border-radius: 0 0 1rem 1rem !important;
    box-shadow: 0 .65rem 1.6rem rgba(58,34,20,.11) !important;
  }

  body.customerHome.customer-app .menuSearchBlock,
  body.customerHome.customer-app .menuSearchField,
  body.customerHome.customer-app .categoryChips {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.customerHome.customer-app .menuSearchField {
    min-height: 3rem !important;
    border-radius: .95rem !important;
  }

  body.customerHome.customer-app .menuSearchMeta {
    padding-inline: .2rem !important;
  }

  body.customerHome.customer-app .categoryChips {
    margin-inline: 0 !important;
    padding: .06rem 0 .2rem !important;
    scroll-padding-inline: .15rem;
  }

  body.customerHome.customer-app .categoryChips .chip {
    min-height: 2.45rem !important;
    padding: .48rem .68rem !important;
    font-size: .86rem !important;
  }

  /* The mobile rail already communicates the context; remove redundant heading space. */
  body.customerHome.customer-app .menuHead {
    display: none !important;
  }

  body.customerHome.customer-app #menu {
    gap: .65rem !important;
    scroll-margin-top: 8.2rem !important;
  }

  body.customerHome.customer-app .productGridPolished {
    grid-template-columns: minmax(0,1fr) !important;
    grid-auto-rows: auto !important;
    gap: .62rem !important;
  }

  /* Compact, consistent cards with a desktop-like artwork presence. */
  body.customerHome.customer-app .productCard.polishedProduct {
    --pc-mobile-card-height: clamp(12.7rem, 54vw, 13.75rem);
    box-sizing: border-box;
    width: 100% !important;
    height: var(--pc-mobile-card-height) !important;
    min-height: var(--pc-mobile-card-height) !important;
    max-height: var(--pc-mobile-card-height) !important;
    padding: .82rem .86rem !important;
    gap: .42rem !important;
    border-radius: 1.05rem !important;
    overflow: hidden !important;
  }

  body.customerHome.customer-app .productCard .productTop {
    min-height: 2.35rem;
    align-items: center;
    gap: .48rem;
  }

  body.customerHome.customer-app .productCard .productTop .cat {
    max-width: calc(100% - 3.5rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .64rem !important;
    line-height: 1.15 !important;
  }

  body.customerHome.customer-app .productCard .productBody {
    min-height: 0;
    padding-right: 0;
  }

  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: clamp(5.35rem, 28vw, 6.7rem) !important;
  }

  body.customerHome.customer-app .productCard .productBody h3 {
    margin: .08rem 0 .35rem !important;
    font-size: clamp(1.2rem, 5.5vw, 1.38rem) !important;
    line-height: 1.08 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body.customerHome.customer-app .productCard .productBody p {
    margin: 0 !important;
    font-size: .86rem !important;
    line-height: 1.34 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
  }

  body.customerHome.customer-app .productCardArtwork {
    display: block !important;
    right: .05rem !important;
    bottom: .04rem !important;
    width: clamp(9.7rem, 44vw, 11rem) !important;
    height: clamp(9.7rem, 44vw, 11rem) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: right bottom !important;
    opacity: .98 !important;
    filter: drop-shadow(0 .62rem .85rem rgba(70,35,17,.16)) !important;
  }

  /* v0.9.84 — Mobile ProductCard CTA alignment */
  /*
   * Deterministic mobile footer layout.
   * The global WYSIWYG theme may contain a horizontal button offset for the
   * desktop composition. On narrow screens that transform made the CTA appear
   * at different horizontal positions depending on title/artwork geometry.
   * Mobile therefore owns the horizontal alignment and only keeps the optional
   * vertical theme offset.
   */
  body.customerHome.customer-app .productCard .cardBottom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: minmax(2.75rem, auto) !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 2.75rem;
    margin-top: auto !important;
    padding: 0 !important;
    gap: .55rem !important;
    align-items: end !important;
    justify-content: stretch !important;
    overflow: visible !important;
  }

  body.customerHome.customer-app .productCard .cardBottom .price {
    position: relative;
    z-index: 5;
    grid-column: 1;
    grid-row: 1;
    min-width: 0 !important;
    justify-self: start !important;
    align-self: center !important;
    font-size: 1.08rem !important;
    white-space: nowrap;
  }

  body.customerHome.customer-app .productCard .cardBottom button,
  body.customerHome.customer-app .productCard .cardBottom .productCardCta {
    position: relative;
    inset-inline: auto 0 !important;
    z-index: 7;
    grid-column: 2;
    grid-row: 1;
    justify-self: end !important;
    align-self: end !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    min-width: clamp(7.15rem, 30vw, 9.7rem) !important;
    max-width: min(10.75rem, 48vw) !important;
    min-height: 2.55rem !important;
    margin: 0 !important;
    padding: .55rem .76rem !important;
    border-radius: 999px !important;
    font-size: .86rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(255,252,247,.98) !important;
    box-shadow: 0 .35rem .9rem rgba(54,28,14,.1) !important;
    transform: translateY(var(--pc-button-y, 0px)) !important;
  }

  /* Mobile cart is a compact navigation dock, never a blocking overlay. */
  body.customerHome.customer-app .floatingCart {
    left: auto !important;
    right: max(.68rem, env(safe-area-inset-right)) !important;
    bottom: max(.68rem, env(safe-area-inset-bottom)) !important;
    width: min(13.5rem, calc(100vw - 1.36rem)) !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: .38rem .48rem !important;
    grid-template-columns: auto minmax(0,1fr) auto !important;
    gap: .42rem !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 26px rgba(112,40,18,.24) !important;
  }

  body.customerHome.customer-app .floatingCart.isEmpty {
    display: none !important;
  }

  body.customerHome.customer-app .floatingCartIcon {
    width: 1.95rem !important;
    height: 1.95rem !important;
    border-radius: 10px !important;
    font-size: .95rem !important;
  }

  body.customerHome.customer-app .floatingCartCopy strong {
    font-size: .78rem !important;
  }

  body.customerHome.customer-app .floatingCartCopy small {
    display: none !important;
  }

  body.customerHome.customer-app .floatingCartTotal {
    font-size: .8rem !important;
  }

  body.customerHome.customer-app .floatingCart > span {
    min-width: 1.35rem !important;
    height: 1.35rem !important;
    font-size: .62rem !important;
  }

  body.customer-app.modal-open .floatingCart,
  body.customer-app.cart-open .floatingCart,
  body.customer-app.customer-checkout .floatingCart,
  body.customer-app.preorderGateActive .floatingCart,
  body.customer-app.has-smart-consent .floatingCart {
    display: none !important;
  }

  /* Product configuration becomes an uncluttered bottom sheet. */
  body.customer-app .modalBackdrop {
    place-items: end center !important;
    padding: 0 !important;
  }

  body.customer-app .modalCard {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - env(safe-area-inset-top)) !important;
    border-radius: 1.35rem 1.35rem 0 0 !important;
    border-bottom: 0 !important;
  }

  body.customer-app .modalTop {
    padding: .82rem .95rem !important;
  }

  body.customer-app .modalTop h2 {
    margin: .08rem 0 .2rem !important;
    font-size: 1.45rem !important;
  }

  body.customer-app .modalTop p:not(.cat) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: .86rem;
  }

  body.customer-app .modalTop > button {
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  body.customer-app .modalCard #addForm {
    max-height: calc(100dvh - 6.4rem - env(safe-area-inset-top)) !important;
    padding: 0 .9rem max(1rem, calc(env(safe-area-inset-bottom) + .7rem)) !important;
  }

  body.customer-app .optionGroup {
    padding: .78rem 0 !important;
  }

  body.customer-app .optionGrid,
  body.customer-app .variantLabel {
    gap: .45rem !important;
  }

  body.customer-app .optionGrid label,
  body.customer-app .variantLabel {
    min-height: 45px !important;
    padding: .58rem .65rem !important;
    border-radius: 12px !important;
  }

  body.customer-app .modalCard #addForm > .btn.primary:last-child {
    bottom: max(.18rem, env(safe-area-inset-bottom)) !important;
    min-height: 52px !important;
    margin-top: .3rem !important;
    box-shadow: 0 12px 28px rgba(152,39,29,.25), 0 0 0 6px var(--sp-paper) !important;
  }

  /* The checkout has its own page; no second floating cart is necessary. */
  body.customer-app.customer-checkout .shell {
    width: 100% !important;
    padding: .55rem var(--mobile-commerce-gutter, .78rem) calc(1.5rem + env(safe-area-inset-bottom)) !important;
  }

  body.customer-app.customer-checkout .pageTitle {
    margin: .25rem 0 .55rem !important;
    padding: 1rem !important;
    border-radius: 1.15rem !important;
  }

  body.customer-app.customer-checkout .pageTitle h1 {
    font-size: 1.75rem !important;
  }

  body.customer-app.customer-checkout .checkoutPage {
    padding: .78rem !important;
    border-radius: 1.15rem !important;
  }

  body.customer-app.customer-checkout .checkoutSection {
    padding: .68rem !important;
  }

  .mobileCartToast {
    display: grid;
  }
}

@media (max-width: 390px) {
  body.customerHome.customer-app .productCard.polishedProduct {
    --pc-mobile-card-height: 12.65rem;
  }
  body.customerHome.customer-app .productCardArtwork {
    width: 9.45rem !important;
    height: 9.45rem !important;
  }
  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: 5.2rem !important;
  }
  body.customerHome.customer-app .productCard .cardBottom button,
  body.customerHome.customer-app .productCard .cardBottom .productCardCta {
    min-width: clamp(6.9rem, 33vw, 8.9rem) !important;
    max-width: 48vw !important;
    padding-inline: .62rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobileCartToast { transition: none !important; }
}

/* ==========================================================
   v0.9.85 — deterministic mobile CTAs and responsive map polish
   ========================================================== */
@media (max-width: 768px), (pointer: coarse) and (max-width: 900px) {
  body.customerHome.customer-app .productCard.polishedProduct {
    position: relative !important;
    padding-bottom: 4.15rem !important;
  }

  body.customerHome.customer-app .productCard .cardBottom {
    position: absolute !important;
    inset-inline: .86rem !important;
    bottom: .78rem !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    width: auto !important;
    min-height: 2.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: .62rem !important;
    z-index: 12 !important;
  }

  body.customerHome.customer-app .productCard .cardBottom .price {
    justify-self: start !important;
    align-self: center !important;
    max-width: 100% !important;
  }

  body.customerHome.customer-app .productCard .cardBottom button,
  body.customerHome.customer-app .productCard .cardBottom .productCardCta {
    position: static !important;
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
    transform: none !important;
    min-width: clamp(7.25rem,31vw,10rem) !important;
    max-width: min(11rem,48vw) !important;
    z-index: 14 !important;
  }

  body.customerHome.customer-app .productCardArtwork {
    z-index: 2 !important;
  }

  body.customerHome.customer-app .productBody,
  body.customerHome.customer-app .productTop {
    position: relative;
    z-index: 5;
  }

  .customer-app .deliveryMap,
  .customer-app .trackingMap,
  .customer-app #fleetMap,
  .customer-app #driverMap {
    min-height: clamp(18rem,58vw,25rem);
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    contain: layout paint;
  }
}

/* General UI polish without changing application structure. */
.customer-app .deliveryMap,
.customer-app .trackingMap,
.customer-app #fleetMap,
.customer-app #driverMap {
  background: linear-gradient(135deg,#efe7dc,#faf7f2);
  box-shadow: inset 0 0 0 1px rgba(103,61,39,.12),0 .7rem 1.8rem rgba(56,29,16,.08);
}

.customer-app .menuSearchPanel {
  box-shadow: 0 .65rem 1.8rem rgba(68,34,18,.08);
}


/* ==========================================================
   v0.9.86 — deterministic ProductCard footer on every viewport
   ========================================================== */
body.customerHome.customer-app .productCard.polishedProduct,
.customer-app .themePreviewGrid .productCard.polishedProduct {
  position: relative !important;
  padding-bottom: calc(var(--pc-card-padding, 18px) + 3.15rem) !important;
}

body.customerHome.customer-app .productCard .cardBottom,
.customer-app .themePreviewGrid .productCard .cardBottom {
  position: absolute !important;
  left: var(--pc-card-padding, 18px) !important;
  right: var(--pc-card-padding, 18px) !important;
  bottom: var(--pc-card-padding, 18px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: .65rem !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 2.7rem !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 12 !important;
}

body.customerHome.customer-app .productCard .cardBottom .price,
.customer-app .themePreviewGrid .productCard .cardBottom .price {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

body.customerHome.customer-app .productCard .cardBottom button,
body.customerHome.customer-app .productCard .cardBottom .productCardCta,
.customer-app .themePreviewGrid .productCard .cardBottom button {
  position: relative !important;
  grid-column: 2 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
  z-index: 14 !important;
}

/* The product copy owns the remaining space and can never push the footer. */
body.customerHome.customer-app .productCard .productBody,
.customer-app .themePreviewGrid .productCard .productBody {
  min-height: 0 !important;
  overflow: hidden !important;
}

/* Slightly larger desktop artwork without changing the card box. */
@media (min-width: 901px) {
  body.customerHome.customer-app .productCardArtwork {
    width: clamp(10.25rem, 38%, 13rem) !important;
    height: clamp(10.25rem, 38%, 13rem) !important;
  }
}

/* Local maps: reserve a stable painted area while tiles are loading. */
.customer-app .leaflet-container {
  background:
    radial-gradient(circle at 50% 45%, rgba(126,157,113,.18), transparent 42%),
    #e9e5dc !important;
}
.customer-app .leaflet-tile {
  will-change: transform;
}
.customer-app .leaflet-tile-loaded {
  animation: spTileReveal .16s ease-out both;
}
@keyframes spTileReveal { from { opacity:.35 } to { opacity:1 } }
@media (prefers-reduced-motion: reduce) {
  .customer-app .leaflet-tile-loaded { animation:none; }
}
body.customerHome.customer-app .productCardArtworkPicture {
  position: static;
  display: contents;
}


/* ==========================================================
   v0.9.87 — globally larger AI product artwork
   One published theme value controls every ProductCard. Responsive caps keep
   the complete subject visible while the fixed footer remains unobstructed.
   ========================================================== */
body.customerHome.customer-app .productCardArtwork,
.customer-app .themePreviewGrid .productCardArtwork {
  width: min(var(--pc-artwork-size, 228px), 78%) !important;
  height: min(var(--pc-artwork-size, 228px), 88%) !important;
  max-width: none !important;
  max-height: none !important;
  right: var(--pc-artwork-right, -2px) !important;
  bottom: var(--pc-artwork-bottom, -8px) !important;
  object-fit: contain !important;
  object-position: right bottom !important;
  transform: rotate(var(--pc-artwork-rotation, -2deg)) translateZ(0) !important;
  transform-origin: right bottom;
}

body.customerHome.customer-app .productCard.hasProductArtwork .productBody,
.customer-app .themePreviewGrid .productCard.hasProductArtwork .productBody {
  padding-right: min(var(--pc-artwork-reserve, 112px), 42%) !important;
}

/* The footer always stays above the larger artwork. */
body.customerHome.customer-app .productCard .cardBottom,
.customer-app .themePreviewGrid .productCard .cardBottom {
  isolation: isolate;
  z-index: 20 !important;
}
body.customerHome.customer-app .productCard .cardBottom .productCardCta,
body.customerHome.customer-app .productCard .cardBottom button,
.customer-app .themePreviewGrid .productCard .cardBottom button {
  z-index: 22 !important;
}

@media (min-width: 901px) {
  body.customerHome.customer-app .productCardArtwork,
  .customer-app .themePreviewGrid .productCardArtwork {
    width: min(var(--pc-artwork-size, 228px), 82%) !important;
    height: min(var(--pc-artwork-size, 228px), 92%) !important;
  }
}

@media (max-width: 900px) {
  body.customerHome.customer-app .productCardArtwork {
    width: min(var(--pc-artwork-size, 228px), 58vw, 14.5rem) !important;
    height: min(var(--pc-artwork-size, 228px), 58vw, 14.5rem) !important;
  }
  body.customerHome.customer-app .productCard.hasProductArtwork .productBody {
    padding-right: min(var(--pc-artwork-reserve, 112px), 31vw, 7.4rem) !important;
  }
}

@media (max-width: 390px) {
  body.customerHome.customer-app .productCardArtwork {
    width: min(var(--pc-artwork-size, 228px), 55vw, 12.75rem) !important;
    height: min(var(--pc-artwork-size, 228px), 55vw, 12.75rem) !important;
  }
}

/* ==========================================================
   v0.9.88 — deterministic ProductCard layer stack and natural wrapping
   Artwork is a true background layer. Text keeps the full card width and
   wraps only at normal word boundaries; the fixed footer stays in front.
   ========================================================== */
body.customerHome.customer-app .productCard.polishedProduct,
.customer-app .themePreviewGrid .productCard.polishedProduct {
  isolation: isolate !important;
}

/* Background artwork layer — never participates in text layout. */
body.customerHome.customer-app .productCardArtworkPicture,
.customer-app .themePreviewGrid .productCardArtworkPicture {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  z-index: 0 !important;
  overflow: hidden !important;
  border-radius: inherit;
  pointer-events: none !important;
}
body.customerHome.customer-app .productCardArtwork,
.customer-app .themePreviewGrid .productCardArtwork {
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* A subtle local veil protects text without shrinking its available width. */
body.customerHome.customer-app .productCard.hasProductArtwork::before,
.customer-app .themePreviewGrid .productCard.hasProductArtwork::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 98%, transparent) 0%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 94%, transparent) 42%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 58%, transparent) 68%,
    transparent 86%
  );
}

/* Foreground content layers. */
body.customerHome.customer-app .productCard .productTop,
body.customerHome.customer-app .productCard .productBody,
.customer-app .themePreviewGrid .productCard .productTop,
.customer-app .themePreviewGrid .productCard .productBody {
  position: relative !important;
  z-index: 4 !important;
}

/* Artwork must never reserve horizontal space for text. */
body.customerHome.customer-app .productCard.hasProductArtwork .productBody,
.customer-app .themePreviewGrid .productCard.hasProductArtwork .productBody {
  width: 100% !important;
  max-width: 100% !important;
  padding-right: 0 !important;
}

body.customerHome.customer-app .productCard .productBody h3,
.customer-app .themePreviewGrid .productCard .productBody h3 {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}

body.customerHome.customer-app .productCard .productBody p,
.customer-app .themePreviewGrid .productCard .productBody p {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: pretty;
}

/* Footer and CTA are always the topmost interactive layer. */
body.customerHome.customer-app .productCard .cardBottom,
.customer-app .themePreviewGrid .productCard .cardBottom {
  position: absolute !important;
  z-index: 20 !important;
}
body.customerHome.customer-app .productCard .cardBottom .price,
body.customerHome.customer-app .productCard .cardBottom .productCardCta,
body.customerHome.customer-app .productCard .cardBottom button,
.customer-app .themePreviewGrid .productCard .cardBottom .price,
.customer-app .themePreviewGrid .productCard .cardBottom button {
  position: relative !important;
  z-index: 22 !important;
}

/* ==========================================================
   v0.9.96 — readable product cards for long real-world menu text
   Production cards grow with their content. Artwork remains decorative and
   a dense reading veil prevents text/image collisions on every viewport.
   ========================================================== */
body.customerHome.customer-app .productGrid,
body.customerHome.customer-app .productGridPolished {
  grid-auto-rows: auto !important;
  align-items: stretch !important;
}

body.customerHome.customer-app .productCard.polishedProduct {
  height: auto !important;
  min-height: max(var(--pc-card-height, 224px), 18rem) !important;
  max-height: none !important;
  padding-bottom: calc(var(--pc-card-padding, 18px) + 4.2rem) !important;
}

body.customerHome.customer-app .productCard.hasProductArtwork::before {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 100%, transparent) 0%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 98%, transparent) 48%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 89%, transparent) 72%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 38%, transparent) 100%
  ) !important;
}

body.customerHome.customer-app .productCardArtwork {
  opacity: min(var(--pc-artwork-opacity, .96), .82) !important;
  filter: saturate(.94) contrast(.96);
}

body.customerHome.customer-app .productCard .productBody {
  display: grid !important;
  align-content: start !important;
  gap: .38rem !important;
  overflow: visible !important;
}

body.customerHome.customer-app .productCard .productBody h3,
body.customerHome.customer-app .productCard .productBody p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

body.customerHome.customer-app .productCard .productBody h3 {
  color: var(--pc-title-color, #25160f) !important;
  line-height: 1.08 !important;
  text-shadow: 0 1px 0 color-mix(in srgb, var(--pc-card-bg, #fffaf4) 92%, transparent);
}

body.customerHome.customer-app .productCard .productBody p {
  box-sizing: border-box;
  padding: .16rem .32rem .2rem 0;
  border-radius: .35rem;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 97%, transparent) 0%,
    color-mix(in srgb, var(--pc-card-bg, #fffaf4) 91%, transparent) 78%,
    transparent 100%
  );
  color: var(--pc-description-color, #705a4e) !important;
  line-height: 1.42 !important;
}

body.customerHome.customer-app .productCard .cardBottom {
  left: var(--pc-card-padding, 18px) !important;
  right: var(--pc-card-padding, 18px) !important;
  bottom: var(--pc-card-padding, 18px) !important;
  width: auto !important;
  min-height: 3.25rem;
  padding-top: .45rem;
  background: linear-gradient(90deg,color-mix(in srgb,var(--pc-card-bg,#fffaf4) 98%,transparent) 0 70%,transparent);
}

@media (max-width: 640px) {
  body.customerHome.customer-app .productCard.polishedProduct {
    min-height: 16.5rem !important;
    padding-bottom: 5.1rem !important;
  }
  body.customerHome.customer-app .productCardArtwork {
    opacity: min(var(--pc-artwork-opacity, .96), .76) !important;
  }
  body.customerHome.customer-app .productCard .productBody p {
    background: linear-gradient(90deg,color-mix(in srgb,var(--pc-card-bg,#fffaf4) 98%,transparent) 0 82%,transparent);
  }
}
/* Filtered products must stay hidden regardless of theme display rules. */
body.customerHome.customer-app #productGrid .productCard[hidden] { display: none !important; }
