/* ============================================================
   Nirog24 — royal navy & gold styling
   A deep navy primary with warm gold accents, carried across the
   customer site, the admin portal and the driver portal alike —
   they all read off the same --navy/--gold tokens below.
   Display face: Poppins  (buttons, prices, UI labels)
   Royal face:   Playfair Display (brand wordmark, big headings)
   Body face:    Inter    (everything else)
   ============================================================ */

:root {
  /* Royal palette */
  --navy: #14233F;
  --navy-dark: #0A1220;
  --navy-bg: #E7EAF3;
  --gold: #B8860B;
  --gold-dark: #8C6508;
  --gold-light: #D4AF37;
  --gold-bg: #FBF1D9;

  /* Legacy token names — kept so every existing component (customer
     site, admin portal, driver portal) automatically picks up the
     royal palette without needing every rule rewritten by hand. */
  --teal: var(--navy);
  --teal-dark: var(--navy-dark);
  --teal-bg: var(--navy-bg);
  --purple: var(--gold);
  --purple-bg: var(--gold-bg);
  --royal-indigo: var(--navy);
  --royal-indigo-dark: var(--navy-dark);

  --amber: #854F0B;
  --amber-bg: #FAEEDA;
  --green: #3B6D11;
  --green-bg: #EAF3DE;
  --gray-bg: #F3EFE3;
  --ink: #1B2233;
  --ink-soft: #6B6A63;
  --line: #E5E1D2;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 1px 2px rgba(20,35,63,0.05), 0 6px 16px rgba(20,35,63,0.08);
  --shadow-lift: 0 4px 8px rgba(20,35,63,0.07), 0 14px 28px rgba(20,35,63,0.12);
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-royal: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
img { max-width: 100%; }

/* ---------- Phone shell ---------- */
.app-shell {
  max-width: 420px;
  margin: 0 auto;
  height: 100vh;
  height: 100dvh; /* accounts for mobile browser chrome (address bar) so nav never sits under it */
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 48px rgba(0,0,0,0.16);
  overflow: hidden; /* keeps the scrollable middle from pushing header/nav out of view */
}
@media (min-width: 480px) {
  body { padding: 28px 0; }
  .app-shell {
    height: calc(100vh - 56px); height: calc(100dvh - 56px); border-radius: 32px;
    border: 1px solid rgba(212,175,55,0.35);
  }
}
/* Proper width scaling — a phone shell on phones, a real layout on
   tablets/desktops instead of a tiny mockup floating in empty space */
@media (min-width: 768px) {
  .app-shell { max-width: 680px; }
}
@media (min-width: 1100px) {
  .app-shell { max-width: 960px; }
}

.status-bar {
  height: 24px;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
}

/* ---------- Top app bar ---------- */
.app-bar {
  flex-shrink: 0;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  padding: 16px 18px 18px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.brand-row .brand-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.brand-row .brand-name {
  font-family: var(--font-royal);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.app-bar .location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 4px;
  gap: 6px;
  font-size: 12px;
  opacity: 0.92;
}
.app-bar .location strong { font-size: 14px; font-family: var(--font-display); font-weight: 600; }
.app-bar .eta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.search-box {
  margin-top: 14px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 12px 14px;
  gap: 10px;
  box-shadow: var(--shadow);
}
.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
}
.search-box .icon { color: var(--ink-soft); font-size: 15px; }

.voice-search-btn {
  background: none; border: none; font-size: 16px; cursor: pointer; padding: 4px 6px; flex-shrink: 0;
  color: var(--ink-soft); border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.voice-search-btn.listening { color: var(--purple); background: var(--purple-bg); animation: pulse-dot-anim 1.2s infinite; }

.search-suggestions {
  display: none; background: #fff; border-radius: var(--radius-sm); margin-top: 10px;
  overflow-y: auto; max-height: 280px; box-shadow: var(--shadow-lift);
}
.search-suggestion-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); cursor: pointer;
}
.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover, .search-suggestion-item:active { background: var(--gray-bg); }
.search-suggestion-thumb { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.search-suggestion-info { flex: 1; min-width: 0; }
.search-suggestion-name { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggestion-brand { font-size: 10.5px; color: var(--ink-soft); }
.search-suggestion-price { font-size: 12px; font-weight: 700; color: var(--teal); white-space: nowrap; }

/* ---------- Content area ---------- */
.app-content {
  flex: 1;
  padding: 18px 16px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.section-title {
  font-family: var(--font-royal);
  font-size: 19px;
  font-weight: 700;
  margin: 6px 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--gold-light);
  color: var(--ink);
  letter-spacing: 0;
}
.section-title .sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-soft);
  display: block;
  margin-top: 3px;
  letter-spacing: 0;
}

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 10px;
  margin-bottom: 26px;
}
@media (min-width: 768px) {
  .cat-grid { grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }
}
@media (min-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(8, 1fr); }
}
.cat-card {
  text-align: center;
  transition: transform .15s ease;
}
.cat-card:active { transform: scale(0.94); }
.cat-card .cat-thumb {
  display: block;
  width: 58px;
  height: 58px;
  margin: 0 auto 7px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--purple-bg);
  border: 1px solid #E9D19A;
  box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .cat-card .cat-thumb { width: 68px; height: 68px; }
}
.cat-card .cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card .label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 27px;
}

/* ---------- Hero slider (home page, admin-managed) ---------- */
.hero-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  background: var(--gray-bg);
}
.hero-slider-track {
  display: flex;
  transition: transform .5s cubic-bezier(.65,0,.35,1);
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px 8px;
  background: rgba(10,18,32,0.35);
  border-radius: 20px;
  backdrop-filter: blur(2px);
}
.hero-slider-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.55); border: none; padding: 0; cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.hero-slider-dot.active { background: var(--gold-light); width: 18px; border-radius: 5px; }
@media (min-width: 768px) {
  .hero-slide { aspect-ratio: 21 / 8; }
}
@media (min-width: 1100px) {
  .hero-slider { margin-bottom: 26px; }
  .hero-slide { aspect-ratio: 24 / 7; }
  .hero-slider-dot { width: 8px; height: 8px; }
  .hero-slider-dot.active { width: 22px; }
}

/* ---------- Promo banner ---------- */
.promo-banner {
  background: linear-gradient(135deg, var(--green-bg) 0%, #F1F5E4 100%);
  border: 1px solid #D8E7BE;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  animation: fade-up .5s cubic-bezier(.22,1,.36,1) both;
}
.promo-banner::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  animation: banner-shine 3.2s ease-in-out .6s infinite;
}
.promo-banner .title { color: var(--green); font-weight: 700; font-size: 14.5px; font-family: var(--font-display); }
.promo-banner .desc { color: #55712A; font-size: 11.5px; margin-top: 3px; }
.promo-banner .badge {
  background: var(--green);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  font-family: var(--font-display);
  padding: 8px 14px;
  border-radius: 12px;
  animation: badge-pulse 2.4s ease-in-out 1s infinite;
}

/* Campaign banner theme variants */
.promo-banner-purple { background: linear-gradient(135deg, var(--purple-bg) 0%, #FDF8EA 100%); border-color: #E9D19A; }
.promo-banner-purple .title { color: var(--purple); }
.promo-banner-purple .desc { color: var(--gold-dark); }
.promo-banner-purple .badge { background: var(--purple); }
.promo-banner-amber { background: linear-gradient(135deg, var(--amber-bg) 0%, #FFF7E0 100%); border-color: #F0D48A; }
.promo-banner-amber .title { color: var(--amber); }
.promo-banner-amber .desc { color: #8A5A12; }
.promo-banner-amber .badge { background: var(--amber); }
.promo-banner-teal { background: linear-gradient(135deg, var(--teal-bg) 0%, #E8FAF4 100%); border-color: #B7E5D6; }
.promo-banner-teal .title { color: var(--teal); }
.promo-banner-teal .desc { color: #0D5A47; }
.promo-banner-teal .badge { background: var(--teal); }

/* ---------- Lab test entry banner ---------- */
.labtest-banner {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 24px;
  color: #fff;
}
.labtest-banner-icon { font-size: 28px; flex-shrink: 0; }
.labtest-banner-text { flex: 1; }
.labtest-banner-title { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; }
.labtest-banner-sub { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.labtest-banner-arrow { font-size: 18px; opacity: 0.7; }

/* ---------- Lab test browsing page ---------- */
.labtest-hero {
  text-align: center; padding: 20px 12px; background: var(--purple-bg);
  border-radius: var(--radius); margin-bottom: 20px;
}
.labtest-hero-icon { font-size: 36px; }
.labtest-hero-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-top: 6px; }
.labtest-hero-sub { font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.labtest-option {
  display: flex; align-items: flex-start; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 10px; cursor: pointer;
}
.labtest-option:has(.labtest-checkbox:checked) { border-color: var(--purple); background: var(--purple-bg); }
.labtest-checkbox { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); flex-shrink: 0; }
.labtest-option-body { flex: 1; }
.labtest-option-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.labtest-option-desc { font-size: 11.5px; color: var(--ink-soft); margin-top: 3px; }
.labtest-option-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 10.5px; color: var(--ink-soft); margin-top: 6px; }
.labtest-option-price { font-family: var(--font-display); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* ---------- Entrance & scroll-reveal animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0.7); }
  70%  { transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes banner-shine {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.section-title { animation: fade-up .5s cubic-bezier(.22,1,.36,1) both; }
.cat-grid .cat-card {
  opacity: 0;
  animation: pop-in .5s cubic-bezier(.34,1.56,.64,1) both;
}
.cat-grid .cat-card:nth-child(1) { animation-delay: .05s; }
.cat-grid .cat-card:nth-child(2) { animation-delay: .10s; }
.cat-grid .cat-card:nth-child(3) { animation-delay: .15s; }
.cat-grid .cat-card:nth-child(4) { animation-delay: .20s; }
.cat-grid .cat-card:nth-child(5) { animation-delay: .25s; }
.cat-grid .cat-card:nth-child(6) { animation-delay: .30s; }
.cat-grid .cat-card:nth-child(7) { animation-delay: .35s; }
.cat-grid .cat-card:nth-child(8) { animation-delay: .40s; }
.cat-grid .cat-card:nth-child(n+9) { animation-delay: .45s; }

/* Scroll-triggered reveal for content further down the page (product
   grids etc) — JS toggles .in-view when the element enters the viewport */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal .product-card { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in-view .product-card { opacity: 1; transform: translateY(0); }
.reveal.in-view .product-card:nth-child(1) { transition-delay: .05s; }
.reveal.in-view .product-card:nth-child(2) { transition-delay: .10s; }
.reveal.in-view .product-card:nth-child(3) { transition-delay: .15s; }
.reveal.in-view .product-card:nth-child(4) { transition-delay: .20s; }
.reveal.in-view .product-card:nth-child(5) { transition-delay: .25s; }
.reveal.in-view .product-card:nth-child(6) { transition-delay: .30s; }
.reveal.in-view .product-card:nth-child(n+7) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  .promo-banner, .section-title, .cat-grid .cat-card, .reveal, .reveal .product-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .promo-banner::after, .promo-banner .badge { animation: none !important; }
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:active { transform: scale(0.98); box-shadow: var(--shadow); }

/* Fixed, consistent thumbnail — never stretches, never varies card-to-card */
.product-card .thumb {
  width: 100%;
  height: 128px;
  background: var(--teal-bg);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  margin-bottom: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card .thumb img,
.cart-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-card .rx-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-bg);
  border-radius: 6px;
  padding: 2px 6px;
  align-self: flex-start;
  margin-bottom: 5px;
}
/* Name is clamped to exactly 2 lines so every card in a row lines up,
   regardless of how long the product name is */
.product-card .name {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.32;
  height: 33px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .brand { font-size: 10.5px; color: var(--ink-soft); margin: 3px 0 7px; }
.product-card .price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.product-card .price { font-weight: 700; font-size: 14.5px; color: var(--ink); font-family: var(--font-display); }
.product-card .mrp { font-size: 11px; color: var(--ink-soft); text-decoration: line-through; }
.product-card .off { font-size: 10.5px; color: var(--green); font-weight: 700; margin-top: 2px; }
/* Spacer pushes the CTA to the bottom of every card so buttons align
   across a row even when descriptions differ in length */
.product-card .add-btn,
.product-card .qty-stepper { margin-top: auto; }
.product-card .add-btn {
  padding-top: 10px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: background .15s ease;
}
.product-card .add-btn:active { background: var(--teal-dark); }
.product-card .qty-stepper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--teal-bg);
  border-radius: var(--radius-xs);
  padding: 4px;
}
.product-card .qty-stepper button {
  background: var(--teal);
  color: #fff;
  border: none;
  width: 26px; height: 26px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.product-card .qty-stepper span { font-weight: 700; font-size: 13px; }

/* ---------- Product detail page ---------- */
.pd-breadcrumb {
  font-size: 11.5px; color: var(--ink-soft); margin-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
}
.pd-breadcrumb a { color: var(--ink-soft); transition: color .15s ease; }
.pd-breadcrumb a:hover { color: var(--teal); }
.pd-breadcrumb .sep { color: #C9C6B9; }
.pd-breadcrumb .current {
  color: var(--ink); font-weight: 600;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.pd-layout { display: block; }
.pd-media { margin-bottom: 6px; }

.product-hero {
  background: var(--teal-bg);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.pd-trust-row {
  display: flex; justify-content: space-between; gap: 8px;
  margin-bottom: 20px; padding: 12px 6px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.pd-trust-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; font-size: 10.5px; font-weight: 600; color: var(--ink-soft);
}
.pd-trust-item .ico { font-size: 18px; }

.pd-rx-badge { display: inline-block; margin-bottom: 8px; }
.pd-brand { color: var(--teal); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.pd-name { font-family: var(--font-royal); font-size: 23px; font-weight: 600; margin: 5px 0 8px; letter-spacing: -0.01em; }
.pd-dosage { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }

.pd-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; margin-bottom: 14px; padding: 5px 11px; border-radius: 20px; }
.pd-stock-in { color: var(--green); background: var(--green-bg); }
.pd-stock-low { color: var(--amber); background: var(--amber-bg); }
.pd-stock-out { color: #A23B2A; background: #FCE9E6; }

.pd-price-card { background: var(--gray-bg); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px; }
.pd-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pd-price { font-family: var(--font-display); font-size: 25px; font-weight: 700; }
.pd-mrp { font-size: 14px; color: var(--ink-soft); text-decoration: line-through; }
.pd-off { background: var(--green-bg); color: var(--green); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 8px; }
.pd-tax-note { font-size: 11px; color: var(--ink-soft); margin-top: 6px; }

.pd-desc-card { margin-bottom: 18px; }
.pd-section-heading { font-family: var(--font-display); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.pd-desc { font-size: 13px; line-height: 1.65; color: var(--ink); background: var(--gray-bg); padding: 16px; border-radius: var(--radius-sm); }
.rx-notice {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--amber-bg); color: var(--amber);
  border-radius: var(--radius-sm); padding: 13px; font-size: 12px; margin-bottom: 18px;
}

.pd-actions { margin-bottom: 22px; }
.pd-actions .btn-secondary { margin-top: 10px; }
.pd-qty-stepper {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--teal-bg); border-radius: var(--radius-sm); padding: 6px 8px;
}
.pd-qty-stepper .qty-value { font-weight: 700; font-size: 13.5px; font-family: var(--font-display); }
.pd-qty-stepper button {
  background: var(--teal); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 9px;
  font-weight: 700; font-size: 17px; cursor: pointer;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  background: #fff;
  transition: border-color .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal);
}
.btn-primary {
  display: block;
  width: 100%;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, transform .1s ease;
}
.btn-primary:active { background: var(--teal-dark); transform: scale(0.99); }
.btn-primary:disabled { background: #C9C6B9; cursor: not-allowed; }
.btn-secondary {
  display: block;
  width: 100%;
  background: var(--purple-bg);
  color: var(--purple);
  border: 1px solid #E9D19A;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  text-align: center;
}
.form-footer { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 18px; }
.form-footer a { color: var(--teal); font-weight: 700; }
.alert {
  padding: 13px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px;
}
.alert-error { background: #FCE9E6; color: #A23B2A; border: 1px solid #F5C7BE; }
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid #D8E7BE; }

/* ---------- Auth: password/OTP tabs ---------- */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; background: var(--gray-bg); padding: 4px; border-radius: var(--radius-sm); }
.auth-tab {
  flex: 1; text-align: center; padding: 10px; border: none; background: transparent;
  border-radius: calc(var(--radius-sm) - 2px); font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--ink-soft); cursor: pointer; transition: background .15s ease, color .15s ease;
}
.auth-tab.active { background: #fff; color: var(--teal); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.otp-hint { font-size: 12px; color: var(--ink-soft); margin: -8px 0 16px; }
.otp-resend-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; margin: -4px 0 18px; }
.otp-resend-row a { color: var(--teal); font-weight: 700; cursor: pointer; }
.otp-resend-row a.disabled { color: var(--ink-soft); pointer-events: none; }
.otp-change-number { text-align: center; font-size: 12.5px; margin-top: 4px; }
.otp-change-number a { color: var(--ink-soft); text-decoration: underline; cursor: pointer; }

/* ---------- Cart ---------- */
.cart-item {
  display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cart-item .thumb {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: var(--teal-bg); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0;
  overflow: hidden;
}
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .name { font-size: 13.5px; font-weight: 600; }
.cart-item .brand { font-size: 11px; color: var(--ink-soft); margin: 3px 0 8px; }
.cart-item .row { display: flex; align-items: center; justify-content: space-between; }
.summary-box {
  background: var(--gray-bg); border-radius: var(--radius); padding: 18px; margin: 18px 0; font-size: 13px;
}
.summary-box .line { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-soft); }
.summary-box .line.total { color: var(--ink); font-weight: 700; font-family: var(--font-display); font-size: 15px; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.summary-box .line .free { color: var(--green); font-weight: 700; }

/* ---------- Payment options ---------- */
.pay-option {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 10px; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pay-option.selected { border-color: var(--purple); background: var(--purple-bg); }
.pay-option .icon { font-size: 20px; }
.pay-option .label { font-size: 13.5px; font-weight: 600; flex: 1; }
.pay-option input { accent-color: var(--purple); width: 17px; height: 17px; }

/* ---------- Order status timeline ---------- */
.status-track { display: flex; margin: 22px 0; }
.status-step { flex: 1; text-align: center; position: relative; }
.status-step .dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gray-bg); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; margin: 0 auto 8px; position: relative; z-index: 2;
  border: 2px solid var(--line);
}
.status-step.done .dot { background: var(--teal); color: #fff; border-color: var(--teal); }
.status-step.active .dot { background: var(--purple); color: #fff; border-color: var(--purple); animation: pulse 1.6s infinite; }
.status-step .label { font-size: 10.5px; color: var(--ink-soft); font-weight: 600; }
.status-step.done .label, .status-step.active .label { color: var(--ink); }
.status-step:not(:last-child)::after {
  content: ''; position: absolute; top: 16px; left: 55%; width: 90%; height: 2px;
  background: var(--line); z-index: 1;
}
.status-step.done:not(:last-child)::after { background: var(--teal); }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(184,134,11,.4);} 70%{ box-shadow: 0 0 0 8px rgba(184,134,11,0);} 100%{ box-shadow: 0 0 0 0 rgba(184,134,11,0);} }

.eta-card {
  background: var(--amber-bg); border-radius: var(--radius); padding: 18px;
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.eta-card .num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--amber); }
.eta-card .txt { font-size: 12.5px; color: #633806; }
.store-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--teal-bg);
  color: var(--teal); border-radius: 20px; padding: 5px 12px; font-size: 11.5px; font-weight: 700;
}

/* ---------- Bottom nav ---------- */
/* A normal flex child of the fixed-height .app-shell (not
   position:absolute/fixed) — this is what keeps it permanently visible
   without needing to scroll, while still respecting the shell's width,
   rounded corners, and centering at every breakpoint. */
.bottom-nav {
  flex-shrink: 0;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 9px 0 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom)); /* iPhone home-indicator area */
  box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; color: var(--ink-soft); position: relative;
  padding: 4px 10px;
  transition: color .15s ease;
}
.nav-item.active { color: var(--teal); }
.nav-item .icon { font-size: 19px; }
.nav-item .badge {
  position: absolute; top: -2px; right: 0;
  background: var(--purple); color: #fff; font-size: 9px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

/* ---------- Misc ---------- */
.empty-state { text-align: center; padding: 64px 20px; color: var(--ink-soft); }
.empty-state .emoji { font-size: 48px; display: block; margin-bottom: 14px; }
.back-row {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px; padding: 15px 16px;
  border-bottom: 1px solid var(--line); font-weight: 600; font-family: var(--font-display); font-size: 15px;
}
.back-row a { font-size: 18px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 2px; }
.chip {
  white-space: nowrap; background: var(--gray-bg); border-radius: 20px; padding: 8px 15px;
  font-size: 12px; font-weight: 600; color: var(--ink-soft);
  transition: background .15s ease, color .15s ease;
}
.chip.active { background: var(--teal); color: #fff; }
.qty-inline { display: flex; align-items: center; gap: 10px; }
.qty-inline button {
  background: var(--teal-bg); color: var(--teal); border: none; width: 30px; height: 30px;
  border-radius: var(--radius-xs); font-weight: 700; font-size: 16px; cursor: pointer;
}
.remove-link { font-size: 11px; color: #A23B2A; font-weight: 600; cursor: pointer; }

/* ---------- Geolocation card (checkout) ---------- */
.location-card {
  display: flex; align-items: center; gap: 12px;
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px;
  border: 1.5px solid var(--line); transition: background .25s ease, border-color .25s ease;
}
.location-card.locating { background: var(--purple-bg); border-color: #E9D19A; }
.location-card.located { background: var(--green-bg); border-color: #D8E7BE; }
.location-card.denied { background: #FCE9E6; border-color: #F5C7BE; }
.location-card-icon { position: relative; font-size: 22px; width: 34px; text-align: center; flex-shrink: 0; }
.location-card-title { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.location-card-sub { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.location-retry-btn {
  background: var(--teal); color: #fff; border: none; border-radius: var(--radius-xs);
  padding: 8px 14px; font-size: 12px; font-weight: 700; cursor: pointer; flex-shrink: 0;
}
.pulse-dot {
  position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--purple); animation: pulse-dot-anim 1.4s infinite;
}
.location-card.located .pulse-dot { background: var(--green); animation: none; }
@keyframes pulse-dot-anim {
  0% { box-shadow: 0 0 0 0 rgba(184,134,11,.5); } 70% { box-shadow: 0 0 0 8px rgba(184,134,11,0); } 100% { box-shadow: 0 0 0 0 rgba(184,134,11,0); }
}

/* ---------- Arrival banner ---------- */
.arrival-banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #FFF7E0 0%, var(--amber-bg) 100%);
  border: 1.5px solid #F0D48A; border-radius: var(--radius);
  padding: 16px; margin-bottom: 18px;
  animation: arrival-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes arrival-pop { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.arrival-banner-icon { font-size: 32px; animation: door-shake 1.6s ease-in-out infinite; }
@keyframes door-shake { 0%,100% { transform: rotate(0deg); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.arrival-banner-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: #633806; }
.arrival-banner-sub { font-size: 12px; color: #7A4A0C; margin-top: 2px; }

/* ---------- Delivery OTP card ---------- */
.otp-card {
  background: linear-gradient(135deg, var(--purple-bg) 0%, #FDF8EA 100%);
  border: 1.5px solid #E9D19A; border-radius: var(--radius); padding: 18px;
  text-align: center; margin-bottom: 18px;
}
.otp-card-label { font-size: 12px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .03em; }
.otp-card-code {
  font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--royal-indigo);
  letter-spacing: 0.15em; margin: 6px 0;
}
.otp-card-sub { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Live tracking map ---------- */
.tracking-map {
  width: 100%; height: 240px; border-radius: var(--radius); margin-bottom: 18px;
  border: 1.5px solid var(--line); overflow: hidden;
}
.map-pin { font-size: 20px; text-align: center; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.map-pin-driver {
  animation: driver-bounce 1s ease-in-out infinite;
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 50%; border: 2.5px solid #fff;
  box-shadow: 0 3px 10px rgba(184,134,11,.4);
  font-size: 18px;
}
.map-pin-driver-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--purple); opacity: .5;
  animation: driver-ring-pulse 1.6s ease-out infinite;
}
@keyframes driver-ring-pulse { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes driver-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- Delivery progress bar ---------- */
.progress-wrap { margin-bottom: 18px; }
.progress-track { width: 100%; height: 8px; background: var(--gray-bg); border-radius: 20px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, var(--purple), var(--gold-light));
  transition: width .6s cubic-bezier(.22,1,.36,1);
}
.progress-label { font-size: 11px; color: var(--ink-soft); margin-top: 6px; text-align: right; font-weight: 600; }

.driver-mini-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--purple-bg); border: 1px solid #E9D19A; border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 16px;
}
.driver-mini-avatar { font-size: 26px; }
.driver-mini-info { flex: 1; }
.driver-mini-name { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.driver-mini-sub { font-size: 11px; color: var(--ink-soft); }
.driver-mini-call {
  background: var(--purple); color: #fff; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}

/* ---------- Toast / snackbar ---------- */
.toast-container {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: 90%; max-width: 380px; pointer-events: none;
}
.toast {
  background: var(--navy-dark); color: #fff; font-size: 13px; font-weight: 600;
  padding: 12px 18px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-error { background: #A23B2A; }
.toast-success { background: var(--teal-dark); }

/* ---------- Modal sheet (cancel order, etc.) ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,15,45,0.5);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: 300;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-sheet {
  background: #fff; width: 100%; max-width: 420px; border-radius: 24px 24px 0 0;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.modal-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Search filters ---------- */
.filter-toggle-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gray-bg); border: 1px solid var(--line); border-radius: 20px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 16px; cursor: pointer; position: relative;
}
.filter-active-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }

/* ---------- Product quick-view ---------- */
.product-card .thumb { position: relative; }
.quick-view-btn {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); z-index: 2;
}
.quickview-sheet { max-width: 420px; position: relative; max-height: 85vh; overflow-y: auto; }
.quickview-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gray-bg); border: none; font-size: 13px; cursor: pointer; z-index: 2;
}
.quickview-body { padding-top: 4px; }
.quickview-loading { text-align: center; padding: 40px 0; color: var(--ink-soft); font-size: 13px; }
.quickview-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: var(--teal-bg); margin-bottom: 14px;
}
.quickview-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Infinite scroll: load-more sentinel ---------- */
.load-more-sentinel { display: flex; justify-content: center; padding: 18px 0 6px; min-height: 20px; }
.load-more-spinner { display: none; align-items: center; gap: 5px; }
.load-more-spinner span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  animation: load-more-bounce 1s infinite ease-in-out;
}
.load-more-spinner span:nth-child(2) { animation-delay: .15s; }
.load-more-spinner span:nth-child(3) { animation-delay: .3s; }
@keyframes load-more-bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.load-more-end { font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ============================================================
   Desktop site view (>=1100px)
   Below this breakpoint the site keeps its phone-app-shell look
   (unchanged). At and above it, the same markup is restyled into
   a normal full-width website: sticky header with logo/search/
   cart/account, wide multi-column grids, and a real footer —
   the phone frame, fake status bar and bottom tab bar are dropped.
   ============================================================ */
.header-actions { display: none; }
.site-footer { display: none; }

@media (min-width: 1100px) {
  body { background: var(--gray-bg); padding: 0; }

  .app-shell {
    max-width: none;
    width: 100%;
    height: auto;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
  }

  .status-bar { display: none; }

  /* ---- Sticky desktop header ---- */
  .app-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto minmax(340px, 640px) auto auto;
    align-items: center;
    column-gap: 32px;
    padding: 14px 40px;
  }
  .brand-row { margin-bottom: 0; }
  .brand-row .brand-logo { width: 36px; height: 36px; }
  .brand-row .brand-name { font-size: 19px; }

  .search-wrap { position: relative; }
  .search-box { margin-top: 0; }
  .search-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; }

  .app-bar .location {
    flex-direction: column;
    align-items: flex-end;
    row-gap: 2px;
    text-align: right;
    white-space: nowrap;
  }
  .app-bar .eta-pill { margin-left: 0; }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
  }
  .header-action-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff;
    opacity: 0.9;
    font-size: 10.5px;
    font-weight: 600;
    transition: opacity .15s ease;
  }
  .header-action-link:hover { opacity: 1; }
  .header-action-link .icon { font-size: 19px; }
  .header-action-badge {
    position: absolute; top: -4px; right: -8px;
    background: var(--purple); color: #fff; font-size: 9px; font-weight: 700;
    min-width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--teal-dark);
  }

  /* ---- Content area becomes a normal, centered page column ---- */
  .app-content {
    overflow-y: visible;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 40px 0;
  }

  #deals-grid, .product-grid { gap: 20px; }
  .product-grid { grid-template-columns: repeat(5, 1fr); }
  .cat-grid { grid-template-columns: repeat(9, 1fr); gap: 20px 16px; }

  /* ---- Bottom tab bar is replaced by the header actions above ---- */
  .bottom-nav { display: none; }

  /* ---- Real footer ---- */
  .site-footer {
    display: block;
    margin: 48px -40px 0;
    padding: 40px 40px 0;
    border-top: 1px solid var(--line);
    background: #fff;
  }
  .site-footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .site-footer-col a {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 10px;
    transition: color .15s ease;
  }
  .site-footer-col a:hover { color: var(--teal); }
  .site-footer-col p { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.5; }
  .site-footer-heading {
    font-family: var(--font-display); font-weight: 700; font-size: 13px;
    margin-bottom: 14px; color: var(--ink);
  }
  .site-footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .site-footer-logo img { width: 30px; height: 30px; object-fit: contain; }
  .site-footer-logo span { font-family: var(--font-royal); font-weight: 700; font-size: 18px; }
  .site-footer-bottom {
    max-width: 1320px; margin: 0 auto;
    border-top: 1px solid var(--line);
    padding: 16px 0; font-size: 12px; color: var(--ink-soft);
  }
}

@media (min-width: 1400px) {
  .product-grid { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Product detail page — desktop two-column layout ---------- */
@media (min-width: 1100px) {
  .pd-breadcrumb { font-size: 12.5px; margin-bottom: 20px; }
  .pd-breadcrumb .current { max-width: 480px; }

  .pd-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 44px;
    align-items: start;
  }
  .pd-media { position: sticky; top: 96px; margin-bottom: 0; }
  .product-hero { height: 380px; margin-bottom: 18px; }
  .pd-trust-row { margin-bottom: 0; }

  .pd-name { font-size: 26px; }
  .pd-price { font-size: 30px; }

  .pd-actions { display: flex; gap: 14px; align-items: stretch; margin-bottom: 28px; }
  .pd-actions .btn-primary,
  .pd-actions #cart-action,
  .pd-actions .btn-secondary { flex: 1; margin-top: 0; }
  .pd-actions #cart-action .pd-qty-stepper { height: 100%; }
  .pd-actions .btn-secondary { display: flex; align-items: center; justify-content: center; }
}
