
:root {
  --bg:#f0f8fd;
  --panel:#ffffff;
  --panel2:#e8f5fc;
  --red:#087fc1;
  --red-dark:#075c91;
  --white:#ffffff;
  --ink:#142b3d;
  --muted:#627788;
  --line:#d4e5ee;
  --green:#16834c;
  --green-dark:#096238;
  --radius:20px;
  --shadow:0 12px 35px rgba(13,76,113,.08);
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font:16px/1.55 system-ui,-apple-system,
       BlinkMacSystemFont,"Segoe UI",sans-serif;
  padding-bottom:20px;
}

button,
input,
select,
textarea {
  font:inherit;
}

button {
  cursor:pointer;
}

button:disabled {
  opacity:.5;
  cursor:not-allowed;
}

a {
  color:inherit;
  text-decoration:none;
}

img {
  max-width:100%;
}

[hidden] {
  display:none!important;
}

h1,h2,h3 {
  line-height:1.15;
}

h1,h2 {
  letter-spacing:-.035em;
}

h2 {
  font-size:clamp(28px,3.6vw,46px);
  margin:0 0 18px;
}

h3 {
  margin:14px 0;
}

p {
  line-height:1.7;
}

.eyebrow {
  color:var(--red);
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:0 0 15px;
}

/* =====================================
   HEADER
===================================== */

.site-header {
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  padding:13px max(22px,calc((100vw - 1240px)/2));
  background:rgba(255,255,255,.97);
  border-bottom:2px solid var(--red);
  box-shadow:0 3px 18px rgba(9,77,113,.06);
  backdrop-filter:blur(12px);
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:950;
  font-size:24px;
  letter-spacing:.02em;
  line-height:1;
  min-width:0;
}

.brand-flame {
  font-size:33px;
  color:var(--red);
}

.brand-name b {
  color:var(--red);
}

.brand small {
  display:block;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  color:#688091;
  margin-top:8px;
}

.header-actions {
  display:flex;
  align-items:center;
  gap:12px;
}

.back-discover {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  padding:10px 15px;
  border:1px solid #a9cbdc;
  border-radius:10px;
  font-weight:800;
  font-size:13px;
  white-space:nowrap;
  color:#24516d;
}

.back-discover:hover {
  background:#eaf5fc;
}

.cart-toggle {
  border:1px solid var(--red);
  background:#e9f6fd;
  color:#075c91;
  padding:10px 15px;
  border-radius:10px;
  font-weight:850;
  white-space:nowrap;
}

.cart-toggle span {
  display:inline-block;
  background:var(--red);
  color:white;
  border-radius:20px;
  padding:2px 8px;
  margin-left:5px;
}

/* =====================================
   PAGE SHELL
===================================== */

.shell {
  max-width:1240px;
  margin:auto;
  padding:22px 20px 85px;
  min-height:70vh;
}

.view {
  display:none;
}

.view.active {
  display:block;
}

/* =====================================
   ORDER PROGRESS
===================================== */

.flow {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
  max-width:1000px;
  margin:0 auto 25px;
}

.flow span {
  padding:9px 5px;
  text-align:center;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:#71899a;
  font-size:12px;
  font-weight:700;
}

.flow span.current {
  background:var(--red);
  border-color:var(--red);
  color:white;
}

/* =====================================
   BUTTONS
===================================== */

.btn {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  border:0;
  border-radius:10px;
  padding:13px 22px;
  min-height:48px;
  font-weight:850;
  text-align:center;
  transition:background .2s,transform .2s;
}

.btn:hover:not(:disabled) {
  transform:translateY(-2px);
}

.primary {
  background:var(--red);
  color:white;
}

.primary:hover {
  background:var(--red-dark);
}

.secondary {
  background:#e8f5fc;
  color:var(--red-dark);
  border:1px solid var(--red);
}

.outline {
  background:transparent;
  color:var(--red-dark);
  border:1px solid #8bb7cf;
}

.outline:hover {
  background:#e7f4fc;
}

.wide {
  width:100%;
}

/* =====================================
   HERO
===================================== */

.hero {
  display:grid;
  grid-template-columns:46% 54%;
  min-height:530px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
}

.hero-copy {
  padding:clamp(30px,5vw,65px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero h1 {
  font-size:clamp(42px,5vw,72px);
  line-height:1.04;
  margin:0 0 20px;
  font-weight:1000;
}

.hero h1 em {
  color:var(--red);
  font-style:normal;
}

.hero h3 {
  font-size:20px;
  margin:0 0 10px;
}

.hero-copy>p:not(.eyebrow) {
  color:#587082;
  max-width:450px;
}

.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.demo-note {
  color:#738c9e;
  font-size:11px;
  margin-top:25px;
}

.hero-visual {
  background:#d9f0fb;
  min-height:450px;
}

.hero-visual img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* =====================================
   FEATURE STRIP
===================================== */

.feature-strip {
  display:flex;
  justify-content:space-around;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  padding:27px 15px;
  border-bottom:1px solid var(--line);
  color:#416a81;
  font-size:12px;
  font-weight:900;
  letter-spacing:.07em;
}

/* =====================================
   STORY
===================================== */

.story-section {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(25px,5vw,70px);
  align-items:center;
  padding:85px 0;
}

.story-visual {
  min-height:400px;
  border-radius:20px;
  overflow:hidden;
  background:#dceef7;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.story-visual img {
  display:block;
  width:100%;
  height:100%;
  min-height:400px;
  object-fit:cover;
}

.story-copy h2 {
  font-size:clamp(32px,4vw,54px);
  font-weight:1000;
}

.story-copy h2 em {
  color:var(--red);
  font-style:normal;
}

.story-copy p:not(.eyebrow) {
  color:#5c7587;
  margin-bottom:18px;
}

.story-copy .btn {
  margin-top:14px;
}

/* =====================================
   FAVORITE CATEGORIES
===================================== */

.favorites-section {
  padding:65px 0 85px;
  border-top:1px solid var(--line);
}

.section-title {
  text-align:center;
  max-width:700px;
  margin:0 auto 35px;
}

.section-title h2 {
  font-weight:1000;
}

.section-title>p:not(.eyebrow) {
  color:#61798a;
}

.favorite-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.favorite-card {
  display:flex;
  flex-direction:column;
  text-align:left;
  background:#ffffff;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:17px;
  padding:0;
  overflow:hidden;
  transition:transform .2s,border-color .2s;
  box-shadow:var(--shadow);
}

.favorite-card:hover {
  transform:translateY(-5px);
  border-color:var(--red);
}

.favorite-card img {
  display:block;
  width:100%;
  height:205px;
  object-fit:cover;
  background:#e6f3fa;
}

.favorite-card div {
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:19px;
}

.favorite-card strong {
  font-size:20px;
  font-weight:900;
}

.favorite-card span {
  color:var(--red);
  font-size:13px;
  font-weight:850;
}

.center-actions {
  text-align:center;
  margin-top:35px;
}

/* =====================================
   WEEKLY SPECIALS
===================================== */

.weekly-specials {
  padding:65px 0 85px;
  border-top:1px solid var(--line);
}

.weekly-specials .products {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.deal-badge {
  display:inline-block;
  width:max-content;
  max-width:100%;
  background:#e0f5e9;
  color:#096238;
  padding:5px 10px;
  border-radius:20px;
  font-size:11px;
  font-weight:900;
}

.old-price {
  color:#8b9ca7;
  text-decoration:line-through;
  font-size:13px;
  font-weight:650;
}

.sale-price {
  color:var(--green);
  font-weight:950;
  font-size:20px;
}

.merchant-name {
  color:var(--red-dark);
  font-size:12px;
  font-weight:850;
}

.product-rewards {
  font-size:12px;
  font-weight:800;
  color:var(--green-dark);
}

/* =====================================
   REWARDS PROMOTION
===================================== */

.home-rewards {
  display:grid;
  grid-template-columns:1.5fr .5fr;
  align-items:center;
  gap:20px;
  padding:clamp(30px,5vw,65px);
  border-radius:22px;
  background:linear-gradient(
    110deg,
    #07547f,
    #087fc1 65%,
    #12a1b2
  );
  overflow:hidden;
  color:white;
}

.home-rewards .eyebrow {
  color:#bdeaff;
}

.home-rewards h2 {
  font-size:clamp(34px,4.6vw,62px);
  font-weight:1000;
}

.home-rewards h2 em {
  color:#c7ffe1;
  font-style:normal;
}

.home-rewards p:not(.eyebrow) {
  color:#e2f4ff;
  max-width:520px;
}

.home-rewards .primary {
  background:#fff;
  color:#075c91;
  margin-top:10px;
}

.home-rewards .primary:hover {
  background:#e4f5ff;
}

.rewards-symbol {
  text-align:center;
  color:#ffffff30;
  font-size:clamp(130px,22vw,280px);
  line-height:1;
}

/* =====================================
   CONNECT
===================================== */

.home-connect {
  padding:90px 20px;
  text-align:center;
  max-width:800px;
  margin:auto;
}

.home-connect h2 {
  font-weight:1000;
}

.home-connect>p:not(.eyebrow) {
  color:#62798a;
}

.actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:20px 0;
}

.centered {
  justify-content:center;
}

/* =====================================
   ORDERING PANELS
===================================== */

.panel {
  max-width:1000px;
  margin:0 auto;
  padding:clamp(24px,4vw,45px);
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.panel>p:not(.eyebrow) {
  color:#657d8e;
}

.panel h2 {
  font-weight:950;
}

.choice-row {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0;
}

.chip {
  background:#e8f5fc;
  color:#1c526f;
  border:1px solid #a8cddd;
  border-radius:9px;
  padding:10px 25px;
}

.chip.chosen {
  background:var(--red);
  color:white;
  border-color:var(--red);
  font-weight:850;
}

label {
  display:block;
  font-weight:750;
  margin:14px 0 7px;
}

input:not([type=checkbox]):not([type=radio]),
select,
textarea {
  width:100%;
  border:1px solid #b6d0df;
  border-radius:10px;
  background:#fff;
  color:#171717;
  padding:12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline:3px solid #087fc144;
  outline-offset:2px;
}

/* =====================================
   MENU
===================================== */

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin:15px 0 25px;
}

.section-head p:not(.eyebrow) {
  color:#687f8e;
}

.menu-search {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:260px;
  padding:0 12px;
  border-radius:10px;
  background:white;
  color:#333;
  border:1px solid var(--line);
}

.menu-search input {
  border:0!important;
  outline:0!important;
  background:transparent!important;
}

.menu-layout {
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  gap:20px;
}

.categories {
  display:grid;
  align-content:start;
  gap:8px;
  padding:13px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
}

.categories button {
  border:1px solid var(--line);
  border-radius:10px;
  padding:11px;
  background:#eaf5fc;
  color:#285b76;
  text-align:left;
}

.categories button.active {
  background:var(--red);
  border-color:var(--red);
  color:white;
}

.products {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.product {
  display:grid;
  grid-template-columns:minmax(0,1fr) 42%;
  min-height:195px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:15px;
  background:#fff;
  color:#171717;
  text-align:left;
  box-shadow:0 5px 18px rgba(15,77,112,.05);
}

.product:hover {
  outline:2px solid var(--red);
}

.product .meta {
  display:flex;
  flex-direction:column;
  gap:7px;
  padding:17px;
  min-width:0;
}

.product small {
  color:var(--red-dark);
  font-weight:900;
}

.product strong {
  font-size:18px;
  line-height:1.25;
}

.product p {
  color:#647987;
  font-size:13px;
  margin:0;
}

.product .price {
  color:var(--green);
  font-weight:900;
  margin-top:auto;
}

.product .customize-label {
  color:var(--red-dark);
  font-size:12px;
  font-weight:850;
}

.product img {
  width:100%;
  height:100%;
  min-height:195px;
  object-fit:cover;
  background:#e8f3fa;
}

/* =====================================
   CUSTOMIZATION
===================================== */

.text-button {
  border:0;
  background:none;
  color:var(--red);
  padding:5px 0 20px;
}

.customize-layout {
  display:grid;
  grid-template-columns:40% minmax(0,1fr);
  gap:30px;
}

.item-visual img {
  display:block;
  width:100%;
  height:360px;
  object-fit:contain;
  background:#e7f3fa;
  border-radius:16px;
}

.big-price {
  color:var(--green);
  font-size:27px;
  font-weight:950;
}

.deal-pricing {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  margin:16px 0 22px;
}

#itemOriginalPrice {
  color:#8a9eab;
  text-decoration:line-through;
  font-weight:700;
}

#itemSavings {
  display:inline-block;
  color:var(--green-dark);
  background:#dff5e8;
  border-radius:20px;
  padding:5px 10px;
  font-size:12px;
  font-weight:900;
}

.extra {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:11px 0;
  margin:0;
  border-bottom:1px solid var(--line);
}

.extra span {
  display:flex;
  align-items:center;
  gap:8px;
}

.extra input {
  accent-color:var(--green);
}

.quantity {
  display:flex;
  align-items:center;
  gap:14px;
  margin:22px 0;
}

.quantity span {
  margin-right:auto;
}

.quantity button {
  width:40px;
  height:40px;
  border-radius:9px;
  border:1px solid #a9c8d9;
  background:#e7f3fa;
  color:#135a81;
  font-size:24px;
}

.item-rewards {
  color:var(--green-dark);
  background:#e8f9ef;
  padding:13px 16px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
}

/* =====================================
   CHECKOUT
===================================== */

.checkout-panel {
  max-width:1100px;
  background:#fff;
  color:#181818;
  border:1px solid var(--line);
}

.checkout-panel>.eyebrow {
  color:var(--red);
}

.checkout-panel>p:not(.eyebrow) {
  color:#566e7f;
}

.checkout-panel h2 {
  color:#142b3d;
}

.cart-row {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:17px 0;
  border-bottom:1px solid #d9e6ed;
}

.cart-row small {
  display:block;
  color:#687d8a;
}

.cart-row button {
  margin-top:10px;
  padding:7px 12px;
  background:var(--red);
  border:0;
  border-radius:8px;
  color:white;
}

.order-totals {
  margin-top:20px;
  padding:10px 20px;
  background:#f0f8fd;
  border:1px solid var(--line);
  border-radius:14px;
}

.total {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  font-size:18px;
}

.total+.total {
  border-top:1px solid var(--line);
}

.total:last-child {
  font-size:23px;
  font-weight:900;
}

.total strong {
  color:var(--red-dark);
}

.savings-total strong {
  color:var(--green);
}

.fulfillment {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  border:1px solid #b9d7e6;
  border-radius:12px;
  padding:12px 18px;
  margin:16px 0;
}

.fulfillment legend {
  font-weight:850;
}

.fulfillment label {
  display:flex;
  align-items:center;
  gap:8px;
}

.fulfillment input {
  accent-color:var(--red);
}

.rewards-earned {
  display:flex;
  align-items:center;
  gap:20px;
  padding:20px;
  border:2px solid var(--green);
  border-radius:17px;
  background:#eaf9f0;
  margin:22px 0;
}

.rewards-medal {
  font-size:50px;
  flex-shrink:0;
}

.rewards-earned h3 {
  margin:0;
  color:var(--green-dark);
  font-size:clamp(21px,2.5vw,30px);
}

.rewards-earned p {
  color:#29483b;
  margin:6px 0;
}

.rewards-earned strong {
  display:inline-block;
  background:var(--green);
  color:#fff;
  border-radius:20px;
  padding:3px 11px;
}

.rewards-earned small {
  color:#557363;
}

.rewards-choice {
  border:2px solid #a6d8b9;
  border-radius:16px;
  padding:18px;
  margin:0 0 22px;
  min-width:0;
}

.rewards-choice legend {
  padding:0 8px;
  font-size:19px;
  font-weight:950;
}

.required {
  color:#bb2933;
  margin-right:8px;
}

.rewards-choice p {
  color:#566e7f;
}

.rewards-options {
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:12px;
}

.reward-option {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 22px;
  margin:0;
  border:2px solid #b2c9d4;
  border-radius:30px;
  background:#fff;
  color:#222;
  font-size:19px;
  cursor:pointer;
}

.reward-option.yes {
  border-color:#16813d;
}

.reward-option.no {
  border-color:#bd2029;
}

.reward-option.yes:has(input:checked) {
  background:#147e3b;
  color:white;
}

.reward-option.no:has(input:checked) {
  background:#bc1b24;
  color:white;
}

.reward-option input {
  width:20px;
  height:20px;
}

.rewards-error {
  color:#a10e17!important;
  font-weight:850;
}

.demo-warning {
  padding:14px;
  border-left:4px solid #d89b1a;
  border-radius:8px;
  background:#fff6e1;
  color:#614921!important;
}

.checkout-panel .outline {
  background:#e7f3fa;
  border-color:#a6cadc;
  color:#155d83;
}

.checkout-panel .primary {
  background:var(--red);
}

/* =====================================
   TRACKING
===================================== */

.success-mark {
  font-size:65px;
  color:var(--green)!important;
}

.tracking-steps {
  display:grid;
  gap:12px;
  margin:25px 0;
}

.tracking-steps>div {
  padding:13px;
  background:#eaf5fc;
  border:1px solid var(--line);
  border-radius:10px;
}

.tracking-steps .done {
  color:var(--green-dark);
}

/* =====================================
   REWARDS PAGE
===================================== */

.rewards-page {
  background:linear-gradient(
    135deg,
    #ffffff,
    #e8f7ff
  );
  border-color:#a8d8ef;
}

.rewards-dashboard {
  margin:30px 0;
}

.rewards-balance {
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:28px;
  background:linear-gradient(
    120deg,
    #075c91,
    #0d93be
  );
  border-radius:18px;
  color:white;
}

.rewards-balance span {
  font-size:14px;
  font-weight:750;
}

.rewards-balance strong {
  font-size:clamp(48px,7vw,78px);
  font-weight:1000;
  line-height:1;
}

.rewards-dashboard h3 {
  margin:30px 0 15px;
}

#rewardsHistory {
  display:grid;
  gap:10px;
}

.reward-history-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:15px;
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
}

.reward-history-item strong {
  color:var(--green);
}

/* =====================================
   BOTTOM NAVIGATION
===================================== */

.bottom-nav {
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  z-index:50;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  width:min(600px,calc(100% - 24px));
  padding:7px;
  background:rgba(255,255,255,.97);
  border:1px solid #c7e0ed;
  border-radius:20px;
  box-shadow:0 10px 35px rgba(7,65,98,.17);
  backdrop-filter:blur(14px);
}

.bottom-nav button,
.bottom-nav a {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:3px;
  min-width:0;
  padding:9px 4px;
  border:0;
  border-radius:13px;
  background:transparent;
  color:#648093;
  text-align:center;
  font-weight:750;
}

.bottom-nav button span,
.bottom-nav a span {
  font-size:23px;
  line-height:1;
}

.bottom-nav small {
  font-size:10px;
}

.bottom-nav button.active {
  color:var(--red);
  background:#eaf6fd;
}

.bottom-nav .order-nav {
  background:var(--red);
  color:white;
  transform:translateY(-8px);
  box-shadow:0 6px 18px rgba(8,127,193,.25);
}

.bottom-nav .order-nav:hover {
  background:var(--red-dark);
}

/* =====================================
   FOOTER
===================================== */

footer {
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 25px;
  padding:30px 20px 115px;
  border-top:1px solid var(--line);
  color:#71899a;
  text-align:center;
  font-size:12px;
}

footer a {
  color:var(--red-dark);
  font-weight:850;
}

/* =====================================
   RESPONSIVE DESKTOP / TABLET
===================================== */

@media (max-width:1050px) {
  .hero {
    grid-template-columns:48% 52%;
  }

  .hero-copy {
    padding:35px;
  }

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

  .menu-layout {
    grid-template-columns:180px minmax(0,1fr);
  }

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

  .product {
    grid-template-columns:minmax(0,1fr) 38%;
  }
}

@media (max-width:800px) {
  .site-header {
    padding:12px 16px;
  }

  .hero {
    grid-template-columns:1fr;
  }

  .hero-visual {
    min-height:320px;
    max-height:420px;
  }

  .hero-copy {
    padding:40px 30px;
  }

  .story-section {
    grid-template-columns:1fr;
    padding:60px 0;
  }

  .story-visual,
  .story-visual img {
    min-height:320px;
  }

  .home-rewards {
    grid-template-columns:1fr;
  }

  .rewards-symbol {
    display:none;
  }

  .section-head {
    flex-direction:column;
    align-items:stretch;
  }

  .menu-search {
    width:100%;
    min-width:0;
  }

  .menu-layout {
    grid-template-columns:1fr;
  }

  .categories {
    display:flex;
    overflow-x:auto;
    gap:8px;
    padding:10px;
    scrollbar-width:thin;
  }

  .categories button {
    flex:0 0 auto;
    white-space:nowrap;
  }

  .customize-layout {
    grid-template-columns:1fr;
  }

  .item-visual img {
    height:300px;
  }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width:600px) {
  body {
    font-size:15px;
  }

  .site-header {
    gap:10px;
    padding:11px 12px;
  }

  .brand {
    font-size:19px;
    gap:6px;
  }

  .brand-flame {
    font-size:27px;
  }

  .brand small {
    font-size:7px;
    letter-spacing:.06em;
  }

  .header-actions {
    gap:6px;
  }

  .back-discover {
    padding:9px;
    font-size:11px;
  }

  .cart-toggle {
    padding:9px;
    font-size:12px;
  }

  .shell {
    padding:14px 12px 85px;
  }

  .flow {
    gap:4px;
    margin-bottom:18px;
  }

  .flow span {
    padding:8px 2px;
    font-size:9px;
    border-radius:6px;
  }

  .hero {
    border-radius:18px;
  }

  .hero-copy {
    padding:32px 22px;
  }

  .hero h1 {
    font-size:clamp(36px,9vw,50px);
  }

  .hero h3 {
    font-size:17px;
  }

  .hero-actions {
    flex-direction:column;
  }

  .hero-actions .btn {
    width:100%;
  }

  .hero-visual {
    min-height:240px;
    max-height:320px;
  }

  .feature-strip {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    text-align:center;
    font-size:10px;
  }

  .story-section {
    gap:25px;
    padding:45px 0;
  }

  .story-visual,
  .story-visual img {
    min-height:260px;
  }

  .favorites-section,
  .weekly-specials {
    padding:45px 0 55px;
  }

  .favorite-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .favorite-card img {
    height:135px;
  }

  .favorite-card div {
    padding:12px;
  }

  .favorite-card strong {
    font-size:15px;
  }

  .favorite-card span {
    font-size:11px;
  }

  .products,
  .weekly-specials .products {
    grid-template-columns:1fr;
    gap:12px;
  }

  .product {
    min-height:165px;
    grid-template-columns:minmax(0,1fr) 40%;
  }

  .product .meta {
    padding:13px;
    gap:5px;
  }

  .product strong {
    font-size:16px;
  }

  .product p {
    font-size:12px;
  }

  .product img {
    min-height:165px;
  }

  .home-rewards {
    padding:30px 24px;
  }

  .home-connect {
    padding:55px 12px;
  }

  .panel {
    padding:22px 17px;
    border-radius:17px;
  }

  .customize-layout {
    gap:20px;
  }

  .item-visual img {
    height:250px;
  }

  .cart-row {
    gap:10px;
    font-size:13px;
  }

  .cart-row>div:first-child {
    min-width:0;
  }

  .cart-row>div:last-child {
    flex-shrink:0;
    text-align:right;
  }

  .total {
    font-size:16px;
  }

  .total:last-child {
    font-size:20px;
  }

  .rewards-earned {
    padding:15px;
    gap:12px;
  }

  .rewards-medal {
    font-size:36px;
  }

  .rewards-options {
    justify-content:flex-start;
  }

  .reward-option {
    font-size:16px;
    padding:10px 16px;
  }

  .actions {
    flex-direction:column;
  }

  .actions .btn {
    width:100%;
  }

  .bottom-nav {
    bottom:8px;
    width:calc(100% - 16px);
    border-radius:17px;
  }

  .bottom-nav button,
  .bottom-nav a {
    padding:9px 2px;
  }

  .bottom-nav button span,
  .bottom-nav a span {
    font-size:21px;
  }

  .bottom-nav small {
    font-size:9px;
  }
}

@media (max-width:380px) {
  .brand {
    font-size:16px;
  }

  .brand small {
    font-size:6px;
  }

  .back-discover {
    font-size:10px;
    padding:7px;
  }

  .cart-toggle {
    font-size:11px;
    padding:7px;
  }

  .flow span {
    font-size:8px;
  }

  .favorite-card img {
    height:115px;
  }
}

/* ==========================================
   QRESTA DEEP COLOR UPDATE
   Strong blue / navy / green theme
========================================== */

:root {
  --bg:#071b2e;
  --panel:#102c45;
  --panel2:#153a55;

  --red:#087fc1;
  --red-dark:#055a91;

  --ink:#f5faff;
  --muted:#b1c6d5;
  --line:#31516b;

  --green:#21b96b;
  --green-dark:#087c45;

  --shadow:0 14px 36px rgba(0,0,0,.22);
}

body {
  background:var(--bg);
  color:var(--ink);
}

/* HEADER */

.site-header {
  background:#09243b;
  border-bottom:2px solid #0c93d2;
}

.brand,
.brand-name {
  color:#fff;
}

.brand-name b,
.brand-flame {
  color:#38b6f3;
}

.brand small {
  color:#a8c8dc;
}

.back-discover {
  background:#153c59;
  border-color:#39627f;
  color:#fff;
}

.back-discover:hover {
  background:#205273;
}

.cart-toggle {
  background:#087fc1;
  color:#fff;
  border-color:#087fc1;
}

.cart-toggle span {
  background:#fff;
  color:#075c91;
}

/* PROGRESS BAR */

.flow span {
  background:#13344e;
  color:#bed3e2;
  border-color:#355a75;
}

.flow span.current {
  background:#087fc1;
  border-color:#087fc1;
  color:#fff;
}

/* HERO */

.hero {
  background:#0d2a43;
  border-color:#31516b;
}

.hero h1,
.hero h3 {
  color:#fff;
}

.hero h1 em {
  color:#38b6f3;
}

.hero-copy>p:not(.eyebrow) {
  color:#c4d9e7;
}

.eyebrow {
  color:#48c0f4;
}

.demo-note {
  color:#a5bfd0;
}

/* FEATURES */

.feature-strip {
  color:#d3e7f5;
  border-color:#31516b;
}

/* STORY */

.story-copy h2 {
  color:#fff;
}

.story-copy h2 em {
  color:#39baf1;
}

.story-copy p:not(.eyebrow) {
  color:#b8cfde;
}

/* SECTION HEADINGS */

.section-title h2,
.section-head h2 {
  color:#fff;
}

.section-title>p:not(.eyebrow),
.section-head p:not(.eyebrow) {
  color:#b8cfde;
}

/* CATEGORY CARDS */

.favorite-card {
  background:#12334e;
  border-color:#345b78;
  color:#fff;
}

.favorite-card strong {
  color:#fff;
}

.favorite-card span {
  color:#4fc4ff;
}

.favorite-card:hover {
  border-color:#37b8f4;
}

/* WEEKLY SPECIALS */

.weekly-specials {
  padding:30px 0 55px;
  border-top:0;
  border-bottom:1px solid #31516b;
  margin-bottom:35px;
}

.weekly-specials .section-title h2 {
  color:#fff;
}

.weekly-specials .products {
  grid-template-columns:repeat(2,minmax(0,1fr));
}

/* PRODUCT CARDS */

.product {
  background:#12334e;
  border-color:#345b78;
  color:#fff;
}

.product:hover {
  outline-color:#39baf1;
}

.product strong {
  color:#fff;
}

.product p {
  color:#b9d0df;
}

.product small,
.merchant-name {
  color:#72cfff;
}

.product .price,
.sale-price {
  color:#52e398;
}

.product .customize-label {
  color:#66caff;
}

.product-rewards {
  color:#6ce5a4;
}

.old-price {
  color:#b5c3cd;
}

.deal-badge {
  background:#14613e;
  color:#fff;
}

/* MENU CATEGORIES */

.categories {
  background:#102c45;
  border-color:#31516b;
}

.categories button {
  background:#1b415d;
  color:#e0eff8;
  border-color:#3a6481;
}

.categories button.active {
  background:#087fc1;
  color:#fff;
  border-color:#087fc1;
}

/* SEARCH */

.menu-search {
  background:#12334e;
  color:#fff;
  border-color:#42647d;
}

.menu-search input {
  color:#fff!important;
}

.menu-search input::placeholder {
  color:#a8c2d3;
}

/* PANELS */

.panel {
  background:#102c45;
  color:#fff;
  border-color:#31516b;
}

.panel h2,
.panel h3 {
  color:#fff;
}

.panel>p:not(.eyebrow) {
  color:#bdd1df;
}

/* CUSTOMIZATION */

.text-button {
  color:#5bc5fa;
}

.big-price {
  color:#52e398;
}

#itemOriginalPrice {
  color:#b5c4cf;
}

#itemSavings {
  background:#176342;
  color:#fff;
}

.extra {
  border-color:#31516b;
}

.quantity button {
  background:#204761;
  color:#fff;
  border-color:#426d88;
}

.item-rewards {
  background:#164c38;
  color:#7df3af;
}

/* BUTTONS */

.btn.primary {
  background:#087fc1;
  color:#fff;
}

.btn.primary:hover {
  background:#0699df;
}

.btn.outline {
  border-color:#5b95b8;
  color:#e1f4ff;
}

.btn.outline:hover {
  background:#19435e;
}

.chip {
  background:#1b415d;
  color:#e0eff8;
  border-color:#426b86;
}

.chip.chosen {
  background:#087fc1;
  border-color:#087fc1;
}

/* REWARDS PROMOTION */

.home-rewards {
  background:linear-gradient(
    115deg,
    #034c7b,
    #087fc1 60%,
    #087c55
  );
}

/* CONNECT */

.home-connect h2 {
  color:#fff;
}

.home-connect>p:not(.eyebrow) {
  color:#bfd4e1;
}

/* REWARDS PAGE */

.rewards-page {
  background:#102c45;
  border-color:#31516b;
}

.rewards-balance {
  background:linear-gradient(
    120deg,
    #075a91,
    #087c55
  );
}

/* BOTTOM NAVIGATION */

.bottom-nav {
  background:#0c2b44;
  border-color:#315b78;
}

.bottom-nav button,
.bottom-nav a {
  color:#bed6e6;
}

.bottom-nav button.active {
  background:#164967;
  color:#5fc9ff;
}

.bottom-nav .order-nav {
  background:#087fc1;
  color:#fff;
}

/* FOOTER */

footer {
  background:#071b2e;
  color:#a8c0d0;
  border-color:#31516b;
}

footer a {
  color:#55c4ff;
}

/* MOBILE */

@media(max-width:600px) {
  .weekly-specials .products {
    grid-template-columns:1fr;
  }

  .weekly-specials {
    padding:20px 0 35px;
  }
}

/* ==========================================
   QRESTA DEALS — SIX BUTTON NAVIGATION
   Discover | Home | Rewards | Shop | Deals | Connect
========================================== */

.bottom-nav {
  grid-template-columns:repeat(6,minmax(0,1fr));
  width:min(680px,calc(100% - 24px));
  gap:3px;
}

.bottom-nav button,
.bottom-nav a {
  min-width:0;
  padding:10px 4px;
  transition:background .2s,color .2s;
}

.bottom-nav button:hover,
.bottom-nav a:hover {
  background:#164967;
  color:#5fc9ff;
}

.bottom-nav .order-nav:hover {
  background:#0699df;
  color:#fff;
}

/* TABLET */
@media (max-width:600px) {

  .bottom-nav {
    width:calc(100% - 12px);
    bottom:8px;
    padding:6px 3px;
    gap:0;
    border-radius:16px;
  }

  .bottom-nav button,
  .bottom-nav a {
    padding:9px 1px;
    gap:4px;
    border-radius:10px;
  }

  .bottom-nav button span,
  .bottom-nav a span {
    font-size:19px;
  }

  .bottom-nav small {
    font-size:9px;
    letter-spacing:-.2px;
  }

  .bottom-nav .order-nav {
    transform:translateY(-6px);
  }
}

/* SMALL PHONES */
@media (max-width:380px) {

  .bottom-nav button span,
  .bottom-nav a span {
    font-size:17px;
  }

  .bottom-nav small {
    font-size:8px;
  }

  .bottom-nav button,
  .bottom-nav a {
    padding:8px 0;
  }
}
