/* Design 3 live storefront — phone mockup + desktop showcase */

body.storefront-page:has(.storefront-d3-live) {
  margin: 0;
  background: transparent;
}

body.storefront-page.storefront-d3-theme-light:has(.storefront-d3-live) {
  background: linear-gradient(135deg, #e8eaee, #f3f4f6 55%, #eceef2);
}

body.storefront-page.storefront-d3-theme-dark:has(.storefront-d3-live) {
  background: #111111;
}

.storefront-d3-live {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
}

.storefront-d3-live .preview-stage {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 18px;
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.storefront-d3-live .phone {
  width: min(410px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.storefront-d3-live .phone-inner {
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
}

.storefront-d3-live .top-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-right: 50px;
}

.storefront-d3-location-tag {
  display: block;
  font-size: 0.73rem;
  font-weight: 500;
  opacity: 0.72;
  color: inherit;
  line-height: 1.2;
}

.storefront-d3-live .phone-inner button.storefront-d3-theme-switch,
.storefront-d3-live .phone-inner button.storefront-d3-location {
  min-height: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit;
  font-weight: inherit;
  box-shadow: none;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
}

.storefront-d3-live .phone-inner button.storefront-d3-theme-switch--float {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  width: auto;
  height: auto;
  padding: 4px;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(18, 18, 20, 0.82) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  line-height: 0;
}

.storefront-d3-live .phone-inner button.storefront-d3-theme-switch--float:hover,
.storefront-d3-live .phone-inner button.storefront-d3-theme-switch--float:focus-visible {
  background: rgba(28, 28, 32, 0.92) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.storefront-d3-live .phone-inner button.storefront-d3-theme-switch:not(.storefront-d3-theme-switch--float):hover,
.storefront-d3-live .phone-inner button.storefront-d3-theme-switch:not(.storefront-d3-theme-switch--float):focus-visible,
.storefront-d3-live .phone-inner button.storefront-d3-location:hover,
.storefront-d3-live .phone-inner button.storefront-d3-location:focus-visible {
  background: transparent !important;
  box-shadow: none;
}

.storefront-d3-live .phone-inner button.storefront-d3-logo-btn:hover,
.storefront-d3-live .phone-inner button.storefront-d3-logo-btn:focus-visible {
  background: transparent !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

html[data-storefront-theme="light"] .storefront-d3-live .phone-inner button.storefront-d3-logo-btn:hover,
html[data-storefront-theme="light"] .storefront-d3-live .phone-inner button.storefront-d3-logo-btn:focus-visible,
.storefront-d3-live.theme-light .phone-inner button.storefront-d3-logo-btn:hover,
.storefront-d3-live.theme-light .phone-inner button.storefront-d3-logo-btn:focus-visible {
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.1);
}

.storefront-d3-theme-switch {
  flex-shrink: 0;
  cursor: pointer;
  line-height: 0;
}

.storefront-d3-theme-switch-track {
  display: block;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.storefront-d3-theme-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffb48a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

html[data-storefront-theme="light"] .storefront-d3-theme-switch-track,
.storefront-d3-live.theme-light .storefront-d3-theme-switch-track {
  background: #ff5a1f;
  border-color: #ff5a1f;
}

html[data-storefront-theme="light"] .storefront-d3-theme-switch-thumb,
.storefront-d3-live.theme-light .storefront-d3-theme-switch-thumb {
  transform: translateX(16px);
  background: #fff;
}

html[data-storefront-theme="light"] .storefront-d3-live .phone-inner button.storefront-d3-theme-switch--float,
.storefront-d3-live.theme-light .phone-inner button.storefront-d3-theme-switch--float {
  background: #e5e7eb !important;
  border-color: rgba(17, 17, 17, 0.1) !important;
  box-shadow: 0 10px 28px rgba(17, 17, 17, 0.1);
}

.storefront-d3-live .storefront-d3-location {
  width: 100%;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 2px;
}

.storefront-d3-live .location strong,
.storefront-d3-live .storefront-d3-location strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
  line-height: 1.2;
  font-weight: 600;
}

.storefront-d3-live .status,
.storefront-d3-live .top-row-actions,
.storefront-d3-live .storefront-d3-chat-btn,
.storefront-d3-live .phone .round-btn {
  display: none !important;
}

.storefront-d3-showcase-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.storefront-d3-theme-pill {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: #ea580c;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.storefront-d3-live .showcase h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  max-width: 520px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.storefront-d3-live .bottom-nav .nav-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.storefront-d3-live .service-panel a,
.storefront-d3-live .service-panel .storefront-d3-showcase-install {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  align-content: stretch;
  min-height: 132px;
}

.service-blend-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 90, 31, 0.38), rgba(255, 154, 90, 0.1));
  border: 1px solid rgba(255, 122, 69, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.service-blend-icon svg {
  width: 22px;
  height: 22px;
  color: #ff9f76;
}

.service-blend-icon--pasuyo {
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.35), rgba(59, 130, 246, 0.12));
  border-color: rgba(96, 165, 250, 0.3);
}

.service-blend-icon--pasuyo svg { color: #93c5fd; }

.service-blend-icon--pabili {
  background: linear-gradient(145deg, rgba(255, 90, 31, 0.42), rgba(249, 115, 22, 0.14));
  border-color: rgba(255, 122, 69, 0.32);
}

.service-blend-icon--pabili svg { color: #ffb48a; }

.service-blend-icon--stores {
  background: linear-gradient(145deg, rgba(167, 139, 250, 0.35), rgba(139, 92, 246, 0.12));
  border-color: rgba(167, 139, 250, 0.3);
}

.service-blend-icon--stores svg { color: #c4b5fd; }

.service-blend-icon--install {
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.35), rgba(16, 185, 129, 0.12));
  border-color: rgba(52, 211, 153, 0.3);
}

.service-blend-icon--install svg { color: #6ee7b7; }

.storefront-d3-live .section-head {
  min-width: 0;
}

.storefront-d3-live .section-head a {
  flex-shrink: 0;
  white-space: nowrap;
}

.storefront-d3-live .showcase {
  display: block;
  min-width: 0;
}

.storefront-d3-live #storefrontOffers.card-row,
.storefront-d3-live #storefrontPopular.card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(100%, 230px);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.storefront-d3-live #storefrontOffers:not(.card-row) .storefront-d3-empty,
.storefront-d3-live #storefrontPopular:not(.card-row) .storefront-d3-empty,
.storefront-d3-live .storefront-d3-nearby .storefront-d3-empty {
  width: 100%;
}

.storefront-d3-live .phone-inner .storefront-d3-logo-btn {
  position: relative;
  display: block;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50% !important;
  overflow: visible;
  cursor: pointer;
  flex: 0 0 auto;
  line-height: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  background: transparent !important;
}

.storefront-d3-live .phone-inner .storefront-d3-app-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover;
}

html[data-storefront-theme="light"] .storefront-d3-live .phone-inner .storefront-d3-logo-btn,
.storefront-d3-live.theme-light .phone-inner .storefront-d3-logo-btn {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.1);
}

.storefront-d3-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 400;
  outline: none;
  min-width: 0;
}

.storefront-d3-search input::placeholder {
  color: #8a94a6;
  opacity: 1;
}

.storefront-d3-status {
  margin: 0 0 8px;
  font-size: 0.82rem;
  min-height: 1.1em;
}

.storefront-d3-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.15);
  color: #fecaca;
  font-size: 0.88rem;
}

.storefront-d3-offers {
  min-height: 156px;
}

.storefront-d3-live .storefront-d3-offers.storefront-ad-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 2px 0;
}

.storefront-d3-live .storefront-d3-offers.storefront-ad-track::-webkit-scrollbar {
  display: none;
}

.storefront-d3-live .storefront-ad-card {
  flex: 0 0 82%;
  width: 82%;
  max-width: 248px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 156px;
  min-height: 156px;
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.storefront-d3-offers.card-row .deal-banner {
  min-width: 100%;
  scroll-snap-align: start;
}

.storefront-d3-popular .food-card,
.storefront-d3-nearby .list-card {
  scroll-snap-align: start;
}

.storefront-d3-popular,
.storefront-d3-offers:not(.storefront-ad-track) {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.storefront-d3-popular::-webkit-scrollbar,
.storefront-d3-offers:not(.storefront-ad-track)::-webkit-scrollbar {
  display: none;
}

.storefront-d3-empty {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #a3a3a3;
  font-size: 0.88rem;
}

.storefront-d3-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  z-index: 2;
  line-height: 1;
  box-shadow: 0 0 0 2px #111111;
  pointer-events: none;
}

.storefront-d3-logo-btn .storefront-d3-badge {
  top: -6px;
  right: -6px;
}

html[data-storefront-theme="light"] .storefront-d3-live .storefront-d3-logo-btn .storefront-d3-badge,
.storefront-d3-live.theme-light .storefront-d3-logo-btn .storefront-d3-badge {
  box-shadow: 0 0 0 2px #f3f4f6;
}

.storefront-d3-badge.inline {
  position: static;
  display: inline-grid;
  margin-left: 6px;
  vertical-align: middle;
}

.storefront-d3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ff5a1f;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.storefront-d3-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: inherit;
}

.storefront-d3-success {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.storefront-d3-success-card {
  max-width: 360px;
  padding: 24px;
  border-radius: 20px;
  background: #1c1c1f;
  color: #fff;
  display: grid;
  gap: 12px;
}

/* Desktop showcase extras */
.storefront-d3-showcase-install {
  min-height: 122px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
  cursor: pointer;
  display: grid;
  align-content: space-between;
  font: inherit;
}

.storefront-d3-showcase-install b {
  font-size: 0.98rem;
  font-weight: 600;
}

.storefront-d3-showcase-install > span:not(.service-blend-icon) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 400;
}

.storefront-d3-showcase-auth {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.storefront-d3-showcase-signin {
  width: 100%;
}

.storefront-d3-live .showcase .storefront-pwa-install {
  margin-top: 18px;
  position: static;
  transform: none;
  width: 100%;
}

.storefront-d3-showcase-gallery {
  display: none;
  margin-top: 16px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 128px;
}

.showcase-gallery-tile {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  text-decoration: none;
}

.showcase-gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-gallery-tile::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.68));
  pointer-events: none;
}

.showcase-gallery-tile span {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.showcase-gallery-tile--wide {
  grid-column: span 2;
}

.storefront-d3-auth,
.storefront-d3-menu {
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
}

.storefront-d3-auth::backdrop,
.storefront-d3-menu::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.storefront-d3-auth-card,
.storefront-d3-menu-card {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(480px, 100%);
  padding: 24px 20px 32px;
  border-radius: 24px 24px 0 0;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.18);
}

.storefront-d3-auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.storefront-d3-auth h2 {
  margin: 0 0 4px;
  color: #111827;
}

.storefront-d3-auth-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 0;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.storefront-d3-google-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.storefront-d3-auth-google {
  background: #ffffff;
  border: 1px solid #dadce0;
  color: #3c4043 !important;
}

.storefront-d3-auth-google:hover {
  background: #f8f9fa;
  color: #202124 !important;
}

.storefront-d3-auth-facebook {
  background: #1877f2;
  color: #fff !important;
}

.storefront-d3-auth-divider {
  display: grid;
  place-items: center;
  margin: 16px 0;
  color: #6b7280;
  font-size: 0.82rem;
}

.storefront-d3-auth-divider span {
  padding: 0 10px;
  background: #ffffff;
  color: #6b7280;
  z-index: 1;
}

.storefront-d3-auth-divider::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  height: 1px;
  background: #e5e7eb;
}

.storefront-d3-auth label {
  display: block;
  margin: 10px 0 4px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
}

.storefront-d3-auth input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
}

.storefront-d3-auth .storefront-d3-btn {
  width: 100%;
  margin-top: 14px;
}

.storefront-d3-auth-message {
  min-height: 1.2em;
  margin: 8px 0 0;
  color: #b91c1c;
  font-size: 0.85rem;
}

.storefront-d3-menu-name {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #111827;
}

.storefront-d3-menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #111827;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}

.storefront-d3-menu-logout {
  color: #b91c1c;
}

/* Light theme */
html[data-storefront-theme="light"] .storefront-d3-live,
.storefront-d3-live.theme-light {
  --ink: #121826;
  --muted: #6b7280;
  --d3-light-bg: #eceef2;
  --d3-light-surface: #f7f8fa;
  --d3-light-surface-soft: #f3f4f6;
  background: linear-gradient(135deg, #e8eaee, #f3f4f6 55%, #eceef2);
  color: var(--ink);
}

html[data-storefront-theme="light"] .storefront-d3-live .showcase h1,
html[data-storefront-theme="light"] .storefront-d3-live .showcase p,
.storefront-d3-live.theme-light,
.storefront-d3-live.theme-light .showcase p,
.storefront-d3-live.theme-light .showcase h1 {
  color: var(--ink);
}

html[data-storefront-theme="light"] .storefront-d3-live .showcase .chip.active,
.storefront-d3-live.theme-light .showcase .chip.active {
  background: #ff5a1f;
  color: #fff;
}

html[data-storefront-theme="dark"] .storefront-d3-live.black-orange,
.storefront-d3-live.theme-dark.black-orange,
.storefront-d3-live.black-orange:not(.theme-light) {
  background: linear-gradient(135deg, #171717, #2c150d 55%, #fff2ea);
  color: #fff;
}

html[data-storefront-theme="dark"] .storefront-d3-live .showcase h1,
html[data-storefront-theme="dark"] .storefront-d3-live .showcase p,
.storefront-d3-live.theme-dark .showcase h1,
.storefront-d3-live.theme-dark .showcase p,
.storefront-d3-live.black-orange:not(.theme-light) .showcase h1,
.storefront-d3-live.black-orange:not(.theme-light) .showcase p {
  color: #fff;
}

html[data-storefront-theme="dark"] .storefront-d3-live .showcase .service-panel a,
html[data-storefront-theme="dark"] .storefront-d3-live .storefront-d3-showcase-install,
.storefront-d3-live.theme-dark .showcase .service-panel a,
.storefront-d3-live.theme-dark .storefront-d3-showcase-install {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-storefront-theme="dark"] .storefront-d3-live .showcase .service-panel span:not(.service-blend-icon),
html[data-storefront-theme="dark"] .storefront-d3-live .storefront-d3-showcase-install > span:not(.service-blend-icon),
.storefront-d3-live.theme-dark .showcase .service-panel span:not(.service-blend-icon),
.storefront-d3-live.theme-dark .storefront-d3-showcase-install > span:not(.service-blend-icon) {
  color: rgba(255, 255, 255, 0.72);
}

html[data-storefront-theme="dark"] .storefront-d3-theme-pill,
.storefront-d3-live.theme-dark .storefront-d3-theme-pill,
.storefront-d3-live:not(.theme-light) .storefront-d3-theme-pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffb48a;
}

html[data-storefront-theme="light"] .storefront-d3-theme-pill,
.storefront-d3-live.theme-light .storefront-d3-theme-pill {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(17, 17, 17, 0.06);
  color: #ea580c;
}

/* Light theme — phone app + showcase */
html[data-storefront-theme="light"] .storefront-d3-live.black-orange .phone,
.storefront-d3-live.theme-light.black-orange .phone {
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .phone-inner,
.storefront-d3-live.theme-light.black-orange .phone-inner {
  background: linear-gradient(180deg, #e8eaee 0%, #f3f4f6 180px);
  color: var(--ink);
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .section-head h2,
.storefront-d3-live.theme-light.black-orange .section-head h2 {
  color: var(--ink);
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .search-pill,
html[data-storefront-theme="light"] .storefront-d3-live.black-orange .food-card,
html[data-storefront-theme="light"] .storefront-d3-live.black-orange .list-card,
html[data-storefront-theme="light"] .storefront-d3-live.black-orange .bottom-nav,
.storefront-d3-live.theme-light.black-orange .search-pill,
.storefront-d3-live.theme-light.black-orange .food-card,
.storefront-d3-live.theme-light.black-orange .list-card,
.storefront-d3-live.theme-light.black-orange .bottom-nav {
  background: var(--d3-light-surface);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .search-pill,
.storefront-d3-live.theme-light.black-orange .search-pill {
  color: #8a94a6;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .chip,
.storefront-d3-live.theme-light.black-orange .chip {
  background: #e5e7eb;
  color: #4b5563;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .chip.active,
.storefront-d3-live.theme-light.black-orange .chip.active {
  background: #ff5a1f;
  color: #fff;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .section-head a,
.storefront-d3-live.theme-light.black-orange .section-head a {
  color: #8a94a6;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .section-head a:hover,
.storefront-d3-live.theme-light.black-orange .section-head a:hover {
  color: #ff5a1f;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .price,
.storefront-d3-live.theme-light.black-orange .price {
  color: #ff5a1f;
  font-weight: 700;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .meta,
html[data-storefront-theme="light"] .storefront-d3-live.black-orange .muted,
.storefront-d3-live.theme-light.black-orange .meta,
.storefront-d3-live.theme-light.black-orange .muted {
  color: var(--muted);
}

html[data-storefront-theme="light"] .storefront-d3-live .storefront-ad-card,
.storefront-d3-live.theme-light .storefront-ad-card {
  background: var(--d3-light-surface);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .bottom-nav a,
.storefront-d3-live.theme-light.black-orange .bottom-nav a {
  color: #8a94a6;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .bottom-nav .active,
.storefront-d3-live.theme-light.black-orange .bottom-nav .active {
  color: #ff5a1f;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .bottom-nav .active .nav-icon,
.storefront-d3-live.theme-light.black-orange .bottom-nav .active .nav-icon {
  background: #ff5a1f;
  color: #fff;
}

html[data-storefront-theme="light"] .storefront-d3-live.black-orange .storefront-d3-empty,
.storefront-d3-live.theme-light.black-orange .storefront-d3-empty {
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
}

.storefront-d3-live.theme-light .storefront-d3-alert {
  background: rgba(220, 38, 38, 0.2);
  color: #fecaca;
}

.storefront-d3-live.theme-light .storefront-d3-auth-google,
html[data-storefront-theme="light"] .storefront-d3-auth-google,
html[data-storefront-theme="dark"] .storefront-d3-auth-google {
  background: #ffffff;
  border: 1px solid #dadce0;
  color: #3c4043 !important;
}

html[data-storefront-theme="light"] .storefront-d3-live .showcase .service-panel a,
html[data-storefront-theme="light"] .storefront-d3-live .storefront-d3-showcase-install,
.storefront-d3-live.theme-light .showcase .service-panel a,
.storefront-d3-live.theme-light .storefront-d3-showcase-install {
  background: var(--d3-light-surface);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-storefront-theme="light"] .storefront-d3-live .showcase .service-panel span:not(.service-blend-icon),
html[data-storefront-theme="light"] .storefront-d3-live .storefront-d3-showcase-install > span:not(.service-blend-icon),
.storefront-d3-live.theme-light .showcase .service-panel span:not(.service-blend-icon),
.storefront-d3-live.theme-light .storefront-d3-showcase-install > span:not(.service-blend-icon) {
  color: var(--muted);
}

@media (min-width: 921px) {
  .storefront-d3-live .preview-stage {
    grid-template-columns: minmax(330px, 430px) minmax(320px, 1fr);
  }

  .storefront-d3-live .showcase {
    order: 0;
  }

  .storefront-d3-live .phone {
    margin: 0;
  }

  .storefront-d3-showcase-gallery {
    display: grid;
  }
}

@media (max-width: 920px) {
  .storefront-d3-live .preview-stage {
    grid-template-columns: 1fr;
  }

  .storefront-d3-live .showcase {
    order: -1;
  }
}

/* Mobile: full-screen phone, hide showcase */
@media (max-width: 520px) {
  .storefront-d3-live .preview-stage {
    padding: 0;
  }

  .storefront-d3-live .showcase {
    display: none !important;
  }

  .storefront-d3-live .phone {
    width: 100%;
    border: 0;
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
  }

  .storefront-d3-live .phone-inner {
    min-height: 100vh;
    border-radius: 0;
  }

  .storefront-d3-live .phone-inner button.storefront-d3-theme-switch--float {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
  }

  .storefront-d3-live .top-row {
    padding-right: 52px;
  }

  .storefront-d3-live .phone .bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(448px, calc(100% - 24px));
    z-index: 40;
    margin-top: 0;
  }

  .storefront-d3-live .phone-inner {
    padding-bottom: 88px;
  }

  .storefront-d3-live .phone .storefront-pwa-install-slot--phone {
    margin: 12px 0 4px;
    padding: 0 2px;
  }
}
