:root{--navy:#172e70;--navy-deep:#102151;--blue:#2948a3;--red:#bf303b;--cream:#faf8f3;--paper:#fff;--ink:#1c2433;--muted:#727b89;--line:#e9e7e1;--gold:#d9ae61;--green:#187852;--shadow:0 18px 50px rgba(24,37,67,.11);font-family:"DM Sans",sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);font-size:15px}.announcement{height:34px;background:var(--navy-deep);color:#fff;display:flex;justify-content:center;align-items:center;gap:9px;font-size:10px;letter-spacing:.14em;text-transform:uppercase}.announcement span{font-weight:800}.announcement i{color:var(--gold);font-style:normal}.site-header{height:82px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,6vw,92px);position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;border:1px solid #d8deef;border-radius:50%;display:grid;place-items:center;color:var(--navy);font-family:"Playfair Display",serif;font-weight:800;font-size:15px}.brand-copy{display:grid;gap:3px}.brand-copy strong{color:var(--navy);letter-spacing:.055em;font-size:12px}.brand-copy small{font-size:9px;color:var(--muted);letter-spacing:.15em}.main-nav{display:flex;gap:34px}.main-nav a{font-size:12px;font-weight:700;text-decoration:none;color:#525c6c}.main-nav a:hover{color:var(--red)}.cart-open{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--line);border-radius:99px;background:#fff;font:700 12px "DM Sans";color:var(--ink);cursor:pointer}.cart-open b{background:var(--navy);color:#fff;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:11px}.hero{min-height:515px;background:linear-gradient(110deg,#f8f5ee 0%,#f8f5ee 51%,#eceff7 51%,#eceff7 100%);display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:55px clamp(24px,10vw,150px);overflow:hidden}.hero-copy{max-width:560px;position:relative;z-index:1}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.18em;color:var(--red);margin:0 0 13px;text-transform:uppercase}.hero-copy>.eyebrow{display:flex;align-items:center;gap:9px}.hero-copy>.eyebrow span{height:1px;width:25px;background:var(--red)}h1,h2,p{margin-top:0}.hero h1{font:700 clamp(40px,5vw,66px)/1.08 "Playfair Display",serif;letter-spacing:-.035em;margin:0;color:var(--navy-deep)}.hero h1 em{color:var(--red);font-style:normal}.hero-intro{color:var(--muted);max-width:440px;line-height:1.8;font-size:14px;margin:20px 0 23px}.primary-link{display:inline-flex;align-items:center;gap:30px;background:var(--navy);border-radius:4px;color:#fff;text-decoration:none;padding:14px 18px;font-size:12px;font-weight:700;box-shadow:0 8px 20px rgba(23,46,112,.17)}.primary-link span{font-size:18px}.hero-proof{margin-top:27px;color:#777f8c;font-size:10px;letter-spacing:.04em}.hero-proof span{color:var(--gold);font-size:16px;margin-right:5px}.hero-art{height:360px;max-width:450px;width:100%;justify-self:center;position:relative;display:grid;place-items:center}.hero-art:before{content:"";position:absolute;width:275px;height:275px;border-radius:50%;background:linear-gradient(140deg,#263e88,#14275e);box-shadow:0 25px 65px rgba(20,39,94,.22)}.hero-art:after{content:"";position:absolute;width:225px;height:225px;border:1px solid rgba(255,255,255,.3);border-radius:50%}.art-orbit{position:absolute;border:1px solid rgba(37,61,128,.15);border-radius:50%}.orbit-one{width:335px;height:335px}.orbit-two{width:390px;height:390px}.art-seal{position:relative;z-index:1;color:#fff;text-align:center;display:grid;justify-items:center;gap:8px}.art-seal>span{color:var(--gold);font-size:20px}.art-seal strong{font:700 24px/1.1 "Playfair Display",serif;letter-spacing:.12em}.art-seal small{font-size:8px;letter-spacing:.2em;color:#d3d9ed}.art-caption{position:absolute;right:0;bottom:18px;background:#fff;padding:14px 18px;box-shadow:var(--shadow);display:grid;gap:4px;z-index:2}.art-caption small{font-size:8px;letter-spacing:.15em;color:var(--red);font-weight:800}.art-caption strong{font:700 18px "Playfair Display",serif;color:var(--navy)}.art-spark{position:absolute;color:var(--gold);font-size:18px}.spark-one{left:10%;top:23%}.spark-two{right:11%;top:25%;font-size:11px}.shop-section{padding:84px clamp(20px,8vw,120px) 96px;background:#fff}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.section-heading h2,.promise h2,.drawer-head h2,.modal-head h2{font:700 clamp(28px,3vw,38px)/1.15 "Playfair Display",serif;color:var(--navy-deep);margin:0 0 9px}.section-sub{font-size:12px;color:var(--muted);margin:0}.shop-controls{width:min(340px,100%)}.search-box{height:44px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:0 13px;border-radius:4px;background:var(--cream)}.search-box span{font-size:24px;color:var(--navy)}.search-box input{border:0;outline:0;background:transparent;width:100%;font:12px "DM Sans"}.category-list{display:flex;gap:8px;overflow:auto;padding:29px 0 21px;scrollbar-width:thin}.category-chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:9px 14px;white-space:nowrap;color:#606978;font:700 10px "DM Sans";cursor:pointer}.category-chip:hover,.category-chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}.catalog-status{color:var(--muted);font-size:12px;padding:26px 0}.catalog-status:empty{display:none}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{border:1px solid var(--line);border-radius:5px;background:#fff;overflow:hidden;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d7dcec}.product-image{height:160px;background:linear-gradient(145deg,#f4f2ee,#e8ebf2);position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{font:700 38px "Playfair Display",serif;color:#bfc5d4}.product-category{position:absolute;top:11px;left:11px;padding:6px 8px;background:rgba(255,255,255,.9);font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--navy)}.product-body{padding:14px}.product-body h3{font:700 17px "Playfair Display",serif;color:var(--navy-deep);margin:0 0 5px}.product-meta{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:10px}.product-price{margin-top:14px;display:flex;justify-content:space-between;align-items:center}.product-price strong{color:var(--red);font:700 14px "DM Sans"}.add-button{height:34px;width:36px;border:0;background:var(--navy);color:#fff;border-radius:3px;font-size:20px;cursor:pointer}.add-button:hover{background:var(--red)}.product-stock{font-size:9px;color:var(--green);margin-top:8px}.product-stock.low{color:#ae6a16}.no-products{grid-column:1/-1;text-align:center;padding:60px 20px;color:var(--muted)}.promise{background:#f2f1ed;display:flex;align-items:center;gap:24px;padding:38px clamp(20px,8vw,120px)}.promise-star{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--gold);font-size:24px;flex:none}.promise h2{font-size:25px;margin-bottom:5px}.promise p:not(.eyebrow){font-size:11px;line-height:1.7;color:var(--muted);margin:0;max-width:500px}.promise-phone{margin-left:auto;display:grid;gap:4px;text-decoration:none;color:var(--muted);font-size:10px}.promise-phone strong{color:var(--navy);font-size:15px}.site-footer{background:var(--navy-deep);color:#fff;padding:27px clamp(20px,8vw,120px);display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-brand{display:grid;gap:5px}.footer-brand strong{font-size:11px;letter-spacing:.1em}.footer-brand span,.site-footer small,.site-footer>div:nth-child(2){font-size:9px;color:#c6cce0}.site-footer a{color:#fff;text-decoration:none;font-weight:700;margin-left:8px}.drawer-backdrop,.modal-backdrop{position:fixed;inset:0;background:rgba(12,20,42,.48);z-index:20;opacity:0;visibility:hidden;transition:.2s}.drawer-backdrop.open,.modal-backdrop.open{opacity:1;visibility:visible}.cart-drawer{position:fixed;z-index:21;right:0;top:0;height:100dvh;width:min(440px,100%);background:#fff;display:flex;flex-direction:column;transform:translateX(102%);transition:transform .25s ease;box-shadow:-15px 0 45px rgba(0,0,0,.13)}.cart-drawer.open{transform:translateX(0)}.drawer-head,.modal-head{display:flex;align-items:center;justify-content:space-between;padding:23px 24px 17px;border-bottom:1px solid var(--line)}.drawer-head h2,.modal-head h2{font-size:27px}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:22px;cursor:pointer}.cart-lines{padding:8px 24px;overflow:auto;flex:1}.empty-cart{color:var(--muted);text-align:center;padding:55px 15px;line-height:1.7}.cart-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-line strong{display:block;color:var(--navy);font:700 15px "Playfair Display",serif}.cart-line small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.line-controls{display:flex;align-items:center;gap:8px;margin-top:11px}.line-controls button{width:25px;height:25px;border:1px solid var(--line);background:#fff;border-radius:50%;cursor:pointer}.line-controls input{width:48px;border:1px solid var(--line);border-radius:3px;padding:5px;text-align:center;font:11px "DM Sans"}.line-total{font-weight:700;color:var(--red);font-size:12px}.drawer-foot{padding:18px 24px 24px;border-top:1px solid var(--line)}.basket-total,.checkout-total{display:flex;justify-content:space-between;align-items:center;font-size:12px}.basket-total strong,.checkout-total strong{font-size:18px;color:var(--navy)}.drawer-foot>p{font-size:10px;color:var(--muted);line-height:1.6;margin:10px 0 15px}.checkout-button{width:100%;border:0;border-radius:3px;background:var(--navy);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;font:700 12px "DM Sans";cursor:pointer}.checkout-button:hover{background:var(--red)}.checkout-button:disabled{opacity:.45;cursor:not-allowed}.checkout-button span{font-size:17px}.modal-backdrop{display:grid;place-items:center;padding:16px;z-index:30}.checkout-modal{width:min(520px,100%);max-height:min(92dvh,800px);overflow:auto;background:#fff;border-radius:6px;box-shadow:var(--shadow);transform:translateY(12px);transition:transform .2s}.modal-backdrop.open .checkout-modal{transform:translateY(0)}#checkoutForm{padding:19px 24px 24px}.checkout-modal form>label{display:grid;gap:7px;font-size:10px;font-weight:800;color:#535e70;margin-bottom:14px}.checkout-modal input:not([type=radio]),.checkout-modal textarea{width:100%;border:1px solid var(--line);border-radius:3px;padding:11px 12px;font:12px "DM Sans";outline:none;resize:vertical}.checkout-modal input:focus,.checkout-modal textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2948a315}.optional{font-weight:400;color:var(--muted)}fieldset{border:0;padding:0;margin:6px 0 18px}legend{font-size:10px;font-weight:800;color:#535e70;margin-bottom:10px}.payment-choice{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);margin-top:7px;border-radius:3px;cursor:pointer}.payment-choice:has(input:checked){border-color:var(--blue);background:#f6f8fd}.payment-choice input{margin-top:2px;accent-color:var(--navy)}.payment-choice span{display:grid;gap:4px}.payment-choice strong{font-size:11px}.payment-choice small{font-size:9px;color:var(--muted)}.checkout-total{padding:12px 0 17px;border-top:1px dashed var(--line)}.form-error{color:#b42318;font-size:11px;min-height:15px}.privacy-note{text-align:center;color:var(--muted);font-size:9px;margin:12px 0 0}.toast{position:fixed;z-index:50;bottom:18px;left:50%;transform:translate(-50%,20px);padding:12px 17px;border-radius:3px;background:var(--navy-deep);color:#fff;font-size:11px;box-shadow:var(--shadow);opacity:0;visibility:hidden;transition:.2s;max-width:calc(100% - 24px)}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media(max-width:900px){.hero{padding-inline:7vw}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-section{padding-inline:6vw}}
@media(max-width:650px){.site-header{height:70px;padding-inline:16px}.main-nav{display:none}.brand-mark{width:37px;height:37px}.brand-copy strong{font-size:10px}.brand-copy small{font-size:8px}.cart-open{padding:7px 9px;gap:7px;font-size:10px}.hero{grid-template-columns:1fr;padding:54px 24px 35px;background:linear-gradient(160deg,#f8f5ee 0 62%,#eceff7 62%)}.hero h1{font-size:47px}.hero-intro{font-size:13px}.hero-art{height:265px;margin-top:15px}.hero-art:before{width:190px;height:190px}.hero-art:after{width:157px;height:157px}.orbit-one{width:230px;height:230px}.orbit-two{width:270px;height:270px}.art-seal strong{font-size:20px}.art-caption{right:0;bottom:4px}.section-heading{align-items:stretch;flex-direction:column}.shop-controls{width:100%}.shop-section{padding:56px 18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:125px}.product-body{padding:11px}.product-body h3{font-size:15px}.product-price strong{font-size:12px}.promise{align-items:flex-start;gap:13px;padding:28px 19px;flex-wrap:wrap}.promise-star{width:40px;height:40px;font-size:18px}.promise>div:nth-child(2){flex:1}.promise h2{font-size:22px}.promise-phone{margin:5px 0 0 53px;width:100%}.site-footer{padding:24px 20px;gap:14px}.site-footer>div:nth-child(2){width:100%}.site-footer small{width:100%}}
/* Shorter hero */
.hero {
  min-height: 350px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-art {
  height: 285px;
}

.hero-art:before {
  width: 220px;
  height: 220px;
}

.hero-art:after {
  width: 180px;
  height: 180px;
}

.orbit-one {
  width: 275px;
  height: 275px;
}

.orbit-two {
  width: 320px;
  height: 320px;
}

/* Right-to-left moving product strip */
.product-ticker {
  height: 104px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  background: #fff7f7;
  border-top: 1px solid #f0d5d8;
  border-bottom: 1px solid #f0d5d8;
}

.ticker-label {
  height: 100%;
  min-width: 118px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  background: #a8253a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  z-index: 1;
}

.ticker-window {
  overflow: hidden;
  flex: 1;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: productTickerMove 38s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker-product {
  width: 220px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-right: 1px solid #f0d5d8;
}

.ticker-thumb {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f9e8ea;
  color: #a8253a;
  font: 700 18px "Playfair Display", serif;
}

.ticker-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticker-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.ticker-info strong {
  overflow: hidden;
  color: var(--navy-deep);
  font: 700 12px "Playfair Display", serif;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-info span {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

@keyframes productTickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .hero-art {
    height: 230px;
  }

  .hero-art:before {
    width: 175px;
    height: 175px;
  }

  .hero-art:after {
    width: 145px;
    height: 145px;
  }

  .orbit-one {
    width: 215px;
    height: 215px;
  }

  .orbit-two {
    width: 250px;
    height: 250px;
  }

  .product-ticker {
    height: 88px;
    gap: 0;
  }

  .ticker-label {
    min-width: 85px;
    padding: 0 8px;
    font-size: 8px;
  }

  .ticker-product {
    width: 190px;
    height: 62px;
    padding: 6px 12px;
  }

  .ticker-thumb {
    width: 43px;
    height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* Compact layout: show the product ads as soon as the page opens */
.product-ticker {
  height: 78px;
  gap: 0;
}

.ticker-label {
  min-width: 105px;
  padding: 0 10px;
  font-size: 8px;
}

.ticker-product {
  width: 195px;
  height: 60px;
  padding: 6px 12px;
}

.ticker-thumb {
  width: 44px;
  height: 44px;
}

.hero {
  min-height: 300px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero-art {
  height: 245px;
}

@media (max-width: 650px) {
  .product-ticker {
    height: 68px;
  }

  .ticker-label {
    min-width: 82px;
    font-size: 7px;
  }

  .ticker-product {
    width: 175px;
    height: 54px;
    gap: 9px;
    padding: 5px 9px;
  }

  .ticker-thumb {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 0;
    padding: 28px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-intro {
    margin: 12px 0 16px;
    font-size: 12px;
  }

  .hero-proof {
    margin-top: 16px;
  }

  .hero-art {
    display: none;
  }
}
.market-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(18px, 6vw, 90px);
  background: #fff;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.market-search {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #cfd5e2;
  border-radius: 5px;
  color: var(--navy);
}

.market-search span {
  font-size: 25px;
}

.market-search input {
  width: 100%;
  border: 0;
  outline: 0;
  font: 13px "DM Sans", sans-serif;
}

.delivery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
}

.delivery-note strong {
  display: block;
  margin-top: 3px;
  color: var(--navy);
  font-size: 12px;
}

.delivery-icon {
  color: var(--red);
  font-size: 25px;
}

.market-nav {
  min-height: 54px;
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding: 0 clamp(18px, 6vw, 90px);
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.market-nav-title {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.market-nav-links {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.category-filter {
  border: 0;
  background: transparent;
  color: #455064;
  padding: 0 14px;
  white-space: nowrap;
  font: 700 10px "DM Sans", sans-serif;
  cursor: pointer;
}

.category-filter:hover,
.category-filter.active {
  color: var(--red);
}

.market-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  gap: 22px;
  max-width: 1580px;
  margin: 0 auto;
  padding: 24px clamp(18px, 6vw, 90px) 60px;
}

.category-sidebar {
  align-self: start;
  padding: 18px 14px;
  background: #f5f5f6;
  border-radius: 4px;
}

.category-sidebar h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font: 700 15px "Playfair Display", serif;
}

.category-sidebar-list {
  display: grid;
}

.category-sidebar-list .category-filter {
  min-height: 38px;
  padding: 8px 5px;
  border-bottom: 1px solid #e2e3e7;
  text-align: left;
}

.sidebar-help {
  display: grid;
  gap: 7px;
  margin-top: 22px;
  padding: 13px 10px;
  background: #fff;
  font-size: 10px;
}

.sidebar-help strong {
  color: var(--navy);
}

.sidebar-help a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.market-heading {
  margin-bottom: 19px;
}

.market-heading h1 {
  margin: 0 0 5px;
  color: var(--navy-deep);
  font: 700 29px "Playfair Display", serif;
}

.market-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.market-products .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  border-radius: 7px;
}

.product-image {
  height: 165px;
  background: #fff;
}

.product-body {
  padding: 13px;
}

.product-body h3 {
  min-height: 38px;
}

.product-price .add-button {
  width: auto;
  height: 36px;
  padding: 0 13px;
  border-radius: 4px;
  font-size: 12px;
}

.product-price .add-button::after {
  content: " ADD";
  font: 700 9px "DM Sans", sans-serif;
}

@media (max-width: 1050px) {
  .market-header {
    grid-template-columns: auto minmax(180px, 1fr) auto;
    gap: 14px;
  }

  .delivery-note {
    display: none;
  }

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

@media (max-width: 700px) {
  .market-header {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .market-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 9px;
  }

  .market-nav {
    padding: 0;
    gap: 8px;
  }

  .market-nav-title {
    padding: 0 12px;
    font-size: 8px;
  }

  .market-nav-links {
    gap: 0;
  }

  .market-nav-links .category-filter {
    padding: 0 10px;
    font-size: 9px;
  }

  .market-layout {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 12px 40px;
  }

  .category-sidebar {
    padding: 10px;
  }

  .category-sidebar h2,
  .sidebar-help {
    display: none;
  }

  .category-sidebar-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
  }

  .category-sidebar-list .category-filter {
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fff;
    font-size: 9px;
  }

  .category-sidebar-list .category-filter.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }

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

  .product-image {
    height: 125px;
  }

  .product-body {
    padding: 10px;
  }

  .product-price .add-button {
    padding: 0 9px;
  }
}
/* Remove the category sidebar and expand the product area */
.category-sidebar {
  display: none;
}

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

.market-products {
  min-width: 0;
}
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e5e8ef;
  border-radius: 15px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(23, 46, 112, .1);
}

.product-image {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.product-image img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.product-category {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 3px;
  background: #eef2fb;
  color: var(--navy);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 15px 15px;
}

.product-body h3 {
  min-height: 40px;
  margin: 0 0 4px;
  color: #171d2a;
  font: 500 15px/1.45 "DM Sans", sans-serif;
}

.product-unit {
  color: var(--muted);
  font-size: 10px;
}

.product-price {
  margin-top: 9px;
}

.product-price strong {
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
}

.product-stock {
  margin: 7px 0 14px;
  color: #28734f;
  font-size: 10px;
  font-weight: 700;
}

.product-stock.out {
  color: #b42318;
}

.add-button {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  font: 700 12px "DM Sans", sans-serif;
  cursor: pointer;
  transition: background .15s ease;
}

.add-button:hover {
  background: var(--red);
}

.add-button:disabled {
  background: #aeb5c4;
  cursor: not-allowed;
}

.add-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 650px) {
  .product-image {
    height: 145px;
  }

  .product-body {
    padding: 10px;
  }

  .product-body h3 {
    font-size: 13px;
  }

  .product-price strong {
    font-size: 15px;
  }

  .add-button {
    min-height: 40px;
    font-size: 10px;
  }
}
.cart-line-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.remove-cart-item {
  border: 0;
  background: transparent;
  color: #b42318;
  font: 600 10px "DM Sans", sans-serif;
  cursor: pointer;
  padding: 5px 0;
}

.remove-cart-item:hover {
  color: #7f1d1d;
  text-decoration: underline;
}
.pos-location-row {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.pos-location-row label {
  color: var(--n500);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.mpesa-pending-note {
  padding: 10px;
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 11px;
  line-height: 1.5;
}

.mpesa-order-total {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
  padding: 12px;
  border-radius: 8px;
  background: var(--n50);
}

.mpesa-order-total strong {
  color: var(--m700);
}

/* M-Pesa order modal */
#mpesaStepBackdrop .checkout-modal {
  width: min(460px, calc(100vw - 32px));
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #e4e8ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(13, 30, 70, 0.24);
}

#mpesaStepBackdrop .modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid #edf0f4;
}

#mpesaStepBackdrop .modal-head h2 {
  margin: 0;
  color: var(--navy-deep);
  font: 700 27px/1.2 "Playfair Display", serif;
}

#mpesaStepBackdrop .mpesa-step-body {
  padding: 22px 24px 24px;
}

#mpesaStepBackdrop .mpesa-step-body > p {
  margin: 0 0 18px;
  color: #697386;
  font-size: 13px;
  line-height: 1.65;
}

#mpesaStepBackdrop .mpesa-step-body > label {
  display: grid;
  gap: 8px;
  margin: 0 0 17px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

#mpesaStepBackdrop #mpesaCustomerPhone {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d7dce5;
  border-radius: 8px;
  background: #fff;
  color: #1c2433;
  font: 14px "DM Sans", sans-serif;
}

#mpesaStepBackdrop #mpesaCustomerPhone:focus {
  outline: none;
  border-color: #18804f;
  box-shadow: 0 0 0 3px rgba(24, 128, 79, 0.12);
}

#mpesaStepBackdrop .checkout-total {
  margin: 18px 0;
  padding: 15px 0;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
}

#mpesaStepBackdrop .checkout-total span {
  color: #596579;
  font-size: 13px;
}

#mpesaStepBackdrop .checkout-total strong {
  color: var(--navy);
  font-size: 20px;
}

#mpesaStepBackdrop #continueMpesaOrder {
  min-height: 48px;
  border-radius: 8px;
  background: #16834f;
  color: #fff;
  font-weight: 700;
}

#mpesaStepBackdrop #continueMpesaOrder:hover {
  background: #116b40;
}

#mpesaStepBackdrop #continueMpesaOrder:focus-visible,
#mpesaStepBackdrop #backToCheckout:focus-visible {
  outline: 3px solid rgba(22, 131, 79, 0.25);
  outline-offset: 2px;
}

#mpesaStepBackdrop #backToCheckout {
  display: block;
  margin: 14px auto 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 600 12px "DM Sans", sans-serif;
  cursor: pointer;
}

#mpesaStepBackdrop #backToCheckout:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  #mpesaStepBackdrop .modal-head,
  #mpesaStepBackdrop .mpesa-step-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  #mpesaStepBackdrop .modal-head h2 {
    font-size: 23px;
  }
}
.floating-cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy, #193579);
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 45, 107, 0.3);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-cart:hover {
  transform: translateY(-3px);
  background: var(--navy-deep, #10265f);
}

.floating-cart[hidden] {
  display: none;
}

.floating-cart svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #d92f3a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.floating-cart.cart-pop {
  animation: floatingCartPop 350ms ease;
}

@keyframes floatingCartPop {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

@media (max-width: 600px) {
  .floating-cart {
    right: 16px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cart.cart-pop {
    animation: none;
  }
}
/* Checkout: pickup and delivery options */
.fulfillment-choice {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #dce3f2;
  border-radius: 14px;
  background: #f8faff;
}

.fulfillment-choice legend {
  padding: 0 6px;
  color: #152d6b;
  font-size: 14px;
  font-weight: 800;
}

.fulfillment-choice .payment-choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e1e6f0;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
}

.fulfillment-choice .payment-choice:has(input:checked) {
  border-color: #24458f;
  background: #f0f4ff;
  box-shadow: 0 0 0 2px rgba(36, 69, 143, 0.08);
}

.fulfillment-choice .payment-choice input {
  margin: 3px 0 0;
  accent-color: #193579;
}

.fulfillment-choice .payment-choice span {
  display: grid;
  gap: 4px;
}

.fulfillment-choice .payment-choice strong {
  color: #152d6b;
  font-size: 14px;
}

.fulfillment-choice .payment-choice small {
  color: #68748c;
  font-size: 12px;
  line-height: 1.5;
}

.fulfillment-panel {
  display: grid;
  gap: 14px;
  margin: 14px 0;
}

.fulfillment-panel[hidden] {
  display: none !important;
}

.delivery-hint {
  margin: -5px 0 0;
  color: #68748c;
  font-size: 12px;
  line-height: 1.5;
}

/* Pickup location and map */
.shop-location-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dce3f2;
  border-radius: 14px;
  background: #f8faff;
}

.shop-location-card > strong {
  color: #152d6b;
  font-size: 15px;
}

.shop-location-card > p {
  margin: -6px 0 0;
  color: #56627a;
  font-size: 13px;
}

.shop-location-card iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 10px;
  background: #e9edf5;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.location-actions button,
.location-actions a,
#chooseDeliveryOnMap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #cbd5e8;
  border-radius: 9px;
  background: #fff;
  color: #193579;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease,
    transform 160ms ease;
}

.location-actions button:hover,
.location-actions a:hover,
#chooseDeliveryOnMap:hover {
  border-color: #193579;
  background: #edf2ff;
  transform: translateY(-1px);
}

#chooseDeliveryOnMap {
  justify-self: start;
}

/* Make new checkout fields match the existing form */
#deliveryLocation,
#deliveryMapUrl,
#pickupMethod,
#deliveryAddress {
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .fulfillment-choice {
    padding: 13px;
  }

  .shop-location-card {
    padding: 13px;
  }

  .shop-location-card iframe {
    height: 190px;
  }

  .location-actions > * {
    flex: 1 1 130px;
  }
}
/* Pickup method question and dropdown */
#pickupOptions > label {
  display: grid;
  gap: 9px;
  color: #152d6b;
  font-size: 14px;
  font-weight: 700;
}

#pickupMethod {
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 14px;
  appearance: none;
  border: 1px solid #cbd5e8;
  border-radius: 10px;
  outline: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #193579 50%),
    linear-gradient(135deg, #193579 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 20px,
    calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  color: #24334f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#pickupMethod:hover {
  border-color: #193579;
}

#pickupMethod:focus {
  border-color: #193579;
  box-shadow: 0 0 0 3px rgba(25, 53, 121, 0.14);
}

#pickupMethod option {
  padding: 10px;
  color: #24334f;
  background: #fff;
}
/* Delivery area label and dropdown */
#deliveryOptions > label {
  display: grid;
  gap: 9px;
  color: #152d6b;
  font-size: 14px;
  font-weight: 700;
}

#deliveryLocation {
  width: 100%;
  min-height: 48px;
  padding: 0 44px 0 14px;
  appearance: none;
  border: 1px solid #cbd5e8;
  border-radius: 10px;
  outline: none;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #193579 50%),
    linear-gradient(135deg, #193579 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 20px,
    calc(100% - 13px) 20px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  color: #24334f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#deliveryLocation:hover {
  border-color: #193579;
}

#deliveryLocation:focus {
  border-color: #193579;
  box-shadow: 0 0 0 3px rgba(25, 53, 121, 0.14);
}

#deliveryLocation option {
  padding: 10px;
  color: #24334f;
  background: #fff;
}
/* Order receipt modal */
.order-receipt-modal {
  width: min(500px, calc(100vw - 28px));
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.order-receipt-modal .modal-head {
  flex: 0 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid #e7ebf3;
}

#orderReceiptContent {
  display: grid;
  gap: 12px;
  padding: 20px 24px;
  overflow-y: auto;
  color: #34415a;
  font-size: 14px;
  line-height: 1.5;
}

.receipt-brand {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #cbd3e3;
  text-align: center;
}

.receipt-brand strong {
  color: #152d6b;
  font-size: 17px;
  font-weight: 800;
}

.receipt-brand span {
  color: #66718a;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.receipt-reference {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f3f6fc;
}

.receipt-reference span {
  color: #68748c;
}

.receipt-reference strong {
  color: #152d6b;
  text-align: right;
  overflow-wrap: anywhere;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf0f5;
}

.receipt-line > :last-child {
  text-align: right;
}

.receipt-items {
  display: grid;
  gap: 8px;
  padding: 10px 0;
}

.receipt-items .receipt-line {
  margin: 0;
}

.receipt-line.receipt-total {
  padding: 12px 0;
  border-top: 1px solid #dce3f0;
  border-bottom: 1px solid #dce3f0;
  color: #152d6b;
  font-size: 16px;
}

.receipt-payment {
  padding: 12px 14px;
  border: 1px solid #dce6f8;
  border-radius: 10px;
  background: #f5f8ff;
  color: #193579;
}

.receipt-actions {
  flex: 0 0 auto;
  padding: 16px 24px 20px;
  border-top: 1px solid #e7ebf3;
  background: #fff;
}

.receipt-actions > p {
  margin: 0 0 13px;
  color: #53617b;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.receipt-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.receipt-action-buttons #saveOrderReceipt,
.receipt-action-buttons #shareOrderReceipt,
.receipt-action-buttons #printOrderReceipt {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  margin: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.receipt-action-buttons #saveOrderReceipt,
.receipt-action-buttons #shareOrderReceipt {
  border: 1px solid #193579;
  background: #193579;
  color: #fff;
}

.receipt-action-buttons #saveOrderReceipt:hover,
.receipt-action-buttons #shareOrderReceipt:hover {
  background: #10265f;
}

.receipt-action-buttons #printOrderReceipt {
  grid-column: 1 / -1;
  border: 1px solid #cbd5e8;
  background: #fff;
  color: #193579;
}

.receipt-action-buttons #printOrderReceipt:hover {
  background: #f3f6fc;
}

@media (max-width: 520px) {
  .order-receipt-modal .modal-head {
    padding: 17px 18px;
  }

  #orderReceiptContent {
    padding: 16px 18px;
  }

  .receipt-actions {
    padding: 14px 18px 18px;
  }
}
.delivery-map-picker {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.delivery-map {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border: 1px solid #dce3ef;
  border-radius: 14px;
  background: #eef2f8;
  z-index: 0;
}

.delivery-map-results {
  display: grid;
  gap: 6px;
}

.delivery-map-result {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  background: #fff;
  color: #172d67;
  text-align: left;
  cursor: pointer;
}

.delivery-map-result:hover {
  border-color: #263f83;
  background: #f4f7fc;
}

.delivery-map-result small {
  display: block;
  margin-top: 3px;
  color: #667085;
}

@media (max-width: 600px) {
  .delivery-map {
    height: 250px;
  }
}
.delivery-map {
  width: 100%;
  height: 300px;
  margin-top: 12px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  background: #eef2f8;
  z-index: 0;
}

.delivery-map-results {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.delivery-map-result {
  padding: 10px 12px;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  background: #fff;
  color: #152d6b;
  text-align: left;
  cursor: pointer;
}

.delivery-map-result small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

@media (max-width: 600px) {
  .delivery-map {
    height: 250px;
  }
}.delivery-location-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dce3ef;
  border-radius: 16px;
  background: #fff;
}

.delivery-location-card h3,
.delivery-location-card p {
  margin: 0;
}

.delivery-location-card h3 {
  color: #152d6b;
  font-size: 18px;
}

.delivery-location-card > p {
  color: #667085;
  line-height: 1.5;
}

.delivery-field {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.delivery-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  font: inherit;
}

.delivery-field input:focus {
  outline: 3px solid #152d6b22;
  border-color: #152d6b;
}

.current-location-button {
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid #152d6b;
  border-radius: 10px;
  background: #152d6b;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.current-location-button:hover {
  background: #203d85;
}

.current-location-button:disabled {
  opacity: .6;
  cursor: wait;
}

.delivery-map-results {
  display: grid;
  gap: 8px;
}

.delivery-map-result {
  padding: 11px 13px;
  border: 1px solid #dce3ef;
  border-radius: 10px;
  background: #f8faff;
  color: #152d6b;
  text-align: left;
  cursor: pointer;
}

.delivery-map-result small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.delivery-map {
  width: 100%;
  height: 300px;
  border: 1px solid #dce3ef;
  border-radius: 12px;
  z-index: 0;
}

@media (max-width: 600px) {
  .delivery-map {
    height: 250px;
  }
}
.checkout-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px 8px;
}

.checkout-progress-step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7d879b;
  font-size: 12px;
  font-weight: 700;
}

.checkout-progress-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #d8deea;
  border-radius: 50%;
  background: #fff;
}

.checkout-progress-step.is-active {
  color: #152d6b;
}

.checkout-progress-step.is-active > span,
.checkout-progress-step.is-complete > span {
  border-color: #152d6b;
  background: #152d6b;
  color: #fff;
}

.checkout-progress-line {
  height: 1px;
  flex: 1;
  background: #d8deea;
}

.checkout-step-panel {
  padding: 18px 24px 24px;
}

.checkout-step-panel[hidden] {
  display: none !important;
}

.checkout-step-panel h3 {
  margin: 4px 0 6px;
  color: #152d6b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 5vw, 26px);
}

.checkout-step-description {
  margin: 0 0 20px;
  color: #667085;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.checkout-step-actions .checkout-button {
  width: auto;
  flex: 1;
}

.checkout-cost-summary {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid #e4e8f0;
  border-radius: 14px;
  background: #f8faff;
}

.payment-status {
  min-height: 1.4em;
  color: #152d6b;
  font-size: 14px;
  font-weight: 600;
}

.toast {
  position: fixed;
  z-index: 20000;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(420px, calc(100vw - 32px));
  padding: 16px 20px;
  border: 1px solid #d8deea;
  border-radius: 16px;
  background: #152d6b;
  color: #fff;
  box-shadow: 0 18px 55px #10182855;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 12px));
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 600px) {
  .checkout-modal.checkout-wizard {
    width: min(100%, 520px);
    max-height: min(92dvh, 900px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .checkout-progress {
    padding: 14px 18px 4px;
  }

  .checkout-step-panel {
    padding: 16px 18px 20px;
  }

  .checkout-progress-step small {
    font-size: 10px;
  }

  .checkout-step-actions {
    align-items: stretch;
  }

  .checkout-step-actions .checkout-button {
    min-height: 48px;
  }
}.checkout-step-actions > .text-button {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d6deef;
  border-radius: 12px;
  background: #fff;
  color: #152d6b;
  font: 700 14px "DM Sans", Arial, sans-serif;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}

.checkout-step-actions > .text-button:hover {
  border-color: #152d6b;
  background: #f3f6ff;
  box-shadow: 0 4px 12px #152d6b18;
}

.checkout-step-actions > .text-button:active {
  transform: translateY(1px);
}

.checkout-step-actions > .text-button:focus-visible {
  outline: 3px solid #152d6b55;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .checkout-step-actions > .text-button {
    min-height: 44px;
    padding: 0 11px;
    font-size: 12px;
  }
}

/* Fresh market feel: reveal products in small, accessible batches. */
.product-card {
  animation: product-arrive .48s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(var(--card-index, 0) * 45ms);
  will-change: transform, opacity;
}

.product-image img {
  transition: transform .45s cubic-bezier(.2,.75,.25,1), filter .35s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.product-category {
  box-shadow: 0 4px 14px rgba(23, 46, 112, .09);
}

@keyframes product-arrive {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.catalog-status:not(:empty) {
  padding: 12px 15px;
  border-radius: 10px;
  background: #f5f7fc;
  color: #58647a;
}

@media (prefers-reduced-motion: reduce) {
  .product-card { animation: none; will-change: auto; }
  .product-image img, .load-more-products { transition: none; }
}
/* Scroll loading indicator */
.product-scroll-sentinel { height:68px;display:flex;justify-content:center;align-items:center;gap:7px;color:#9da5b4; }
.product-scroll-sentinel[hidden] { display:none; }
.product-scroll-sentinel span { width:7px;height:7px;border-radius:50%;background:#ca9b67;animation:sentinel-pulse 1s ease-in-out infinite; }
.product-scroll-sentinel span:nth-child(2) { animation-delay:.15s; }
.product-scroll-sentinel span:nth-child(3) { animation-delay:.3s; }
@keyframes sentinel-pulse { 0%,80%,100% { opacity:.35;transform:translateY(0); } 40% { opacity:1;transform:translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .product-scroll-sentinel span { animation:none; } }
/* Screenshot-aligned catalogue grid: category tag, image, details, cart action. */
.market-products .product-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px; }
.product-grid > .product-card { width:auto;margin:0; }
.product-card { min-height:100%;border:1px solid #e1e5ef;border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(23,46,112,.06); }
.product-card:hover { transform:translateY(-3px);box-shadow:0 16px 34px rgba(23,46,112,.11); }
.product-image { height:235px;background:#fff; }
.product-image img { padding:8px;object-fit:contain; }
.product-category { position:absolute;top:12px;left:12px;padding:6px 10px;border-radius:4px;background:#eef2fb;color:#263f83;font-size:9px;font-weight:800;letter-spacing:.08em; }
.product-body { display:flex;flex:1;flex-direction:column;padding:12px 16px 16px; }
.product-body h3 { min-height:38px;margin:0 0 6px;color:#202635;font:600 16px/1.35 "DM Sans",sans-serif; }
.product-unit { color:#89909d;font-size:11px; }
.product-price { margin-top:12px; }
.product-price strong { color:#1d3778;font:800 20px "DM Sans",sans-serif; }
.product-stock { min-height:17px;margin:7px 0 15px;color:#288057;font-size:11px;font-weight:700; }
.product-stock.out { color:#c33236; }
.add-button { min-height:52px;margin-top:auto;border-radius:17px;background:#1c3478;font-size:12px; }
.add-button:hover { background:#c52f38; }
.add-button:disabled { background:#aeb5c4; }
@media(max-width:1050px) {
  .market-products .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .product-image { height:215px; }
}
@media(max-width:700px) {
  .market-products .product-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  .product-image { height:clamp(130px,38vw,190px); }
  .product-body { padding:10px; }
  .product-body h3 { min-height:36px;font-size:14px; }
  .product-price strong { font-size:16px; }
  .add-button { min-height:43px;border-radius:13px;font-size:10px; }
  .product-category { top:8px;left:8px;padding:5px 7px;font-size:8px; }
}
/* Brighter Nyama Haven product details */
.product-card { position:relative;border-color:#dbe3f5;overflow:hidden; }
.product-card::before { content:"";position:absolute;z-index:3;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#1744b7 0%,#3978f6 63%,#e2424b 100%);opacity:.9; }
.product-image { background:radial-gradient(ellipse at 50% 55%,#fff 20%,#f3f6ff 100%); }
.image-placeholder { color:#b9c7e8; }
.product-category { border-left:3px solid #e23b46;background:#edf2ff;color:#153b99; }
.product-brandline { display:flex;align-items:center;gap:7px;margin:0 0 6px;color:#5870a8;font-size:8px;font-weight:800;letter-spacing:.14em; }
.product-brandline span { width:7px;height:7px;border-radius:50%;background:#e33c48;box-shadow:0 0 0 3px #e33c4817; }
.product-body h3 { margin-bottom:5px; }
.product-description { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0 0 10px;color:#69758d;font-size:10px;line-height:1.5; }
.product-detail-chips { display:flex;flex-wrap:wrap;gap:6px;margin-top:8px; }
.detail-chip { display:inline-flex;align-items:center;gap:5px;min-height:25px;padding:4px 8px;border:1px solid #e6ebf6;border-radius:99px;background:#f7f9ff;color:#52617e;font-size:9px;font-weight:700; }
.detail-chip .unit-icon { color:#315fc0;font-size:11px;font-style:normal; }
.detail-chip.stock-chip { border-color:#d8efe1;background:#eff9f2;color:#23734e; }
.detail-chip.stock-chip i { width:6px;height:6px;border-radius:50%;background:#2b9a63; }
.detail-chip.stock-chip.out { border-color:#f4d7d7;background:#fff2f2;color:#bd3039; }
.detail-chip.stock-chip.out i { background:#d83d45; }
.product-price { display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:12px;padding:10px 11px;border:1px solid #e4ebfc;border-radius:10px;background:linear-gradient(105deg,#f2f6ff,#fbfcff); }
.product-price strong { color:#1745b3;font-size:19px;letter-spacing:-.02em; }
.product-price span { color:#d33a43;font-size:9px;font-weight:800; }
.add-button { position:relative;min-height:48px;gap:9px;background:linear-gradient(105deg,#173a99,#2864dc);box-shadow:0 7px 16px #1c4ec329;transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.add-button:hover { transform:translateY(-2px);background:linear-gradient(105deg,#c32f3b,#e44a4e);box-shadow:0 9px 19px #c3323633; }
.add-button:disabled { transform:none;box-shadow:none; }
.add-arrow { display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#ffffff24;font-size:17px;line-height:1; }
@media(max-width:700px) {
  .product-brandline { font-size:7px; }
  .detail-chip { padding:4px 7px;font-size:8px; }
  .product-price { padding:8px 9px; }
}
@media(prefers-reduced-motion:reduce) {
  .add-button { transition:none; }
}
/* Extra motion and tactile feedback, without changing the approved card layout. */
.product-card { transition:transform .24s cubic-bezier(.2,.75,.25,1),box-shadow .24s ease,border-color .24s ease; }
.product-card:hover { border-color:#b9caf1; }
.product-card:hover::before { background:linear-gradient(90deg,#1552e8 0%,#4189ff 56%,#f04452 100%); }
.product-image { position:relative;overflow:hidden; }
.product-image::after { content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,transparent 28%,#fff8 48%,transparent 67%);transform:translateX(-130%);transition:transform .75s ease; }
.product-card:hover .product-image::after { transform:translateX(130%); }
.product-category { transition:transform .22s ease,box-shadow .22s ease; }
.product-card:hover .product-category { transform:translateY(-1px);box-shadow:0 5px 15px #214a9b24; }
.product-brandline span { animation:brand-beat 2.6s ease-in-out infinite; }
.product-price { transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease; }
.product-card:hover .product-price { border-color:#cddcff;box-shadow:0 5px 16px #2864dc14;transform:translateY(-1px); }
.add-button { overflow:hidden; }
.add-button::before { content:"";position:absolute;top:-40%;bottom:-40%;left:-55%;width:32%;transform:skewX(-20deg);background:linear-gradient(90deg,transparent,#ffffff55,transparent);transition:left .55s ease; }
.add-button:hover::before { left:130%; }
.add-button:active { transform:scale(.975); }
.add-button.added { background:linear-gradient(105deg,#168452,#22a06b);box-shadow:0 7px 18px #16845235; }
.add-button.added::after { content:"✓ Added to basket";position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;background:linear-gradient(105deg,#168452,#22a06b);color:#fff;font:800 11px "DM Sans",sans-serif;animation:added-pop .32s cubic-bezier(.2,.75,.25,1); }
@keyframes brand-beat { 0%,100% { box-shadow:0 0 0 3px #e33c4817; } 50% { box-shadow:0 0 0 5px #e33c4829; } }
@keyframes added-pop { 0% { transform:scale(.86);opacity:.5; } 75% { transform:scale(1.04); } 100% { transform:scale(1);opacity:1; } }
@media(prefers-reduced-motion:reduce) {
  .product-card,.product-image::after,.product-category,.product-price,.add-button { transition:none; }
  .product-brandline span,.add-button.added::after { animation:none; }
}
/* More welcoming storefront header, category bar, and featured strip */
.announcement { position:relative;overflow:hidden;background:linear-gradient(100deg,#10245f 0%,#1c3989 52%,#10245f 100%); }
.announcement::before { content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background:linear-gradient(90deg,#e33d47 0 10%,#f1c66f 10% 16%,transparent 45%);opacity:.95; }
.announcement span { color:#fff; }
.announcement i { color:#f2c96f; }
.market-header { position:sticky;top:0;z-index:25;min-height:84px;gap:22px;background:rgba(255,255,255,.96);box-shadow:0 6px 22px rgba(23,46,112,.045);backdrop-filter:blur(12px); }
.brand { gap:12px; }
.brand-mark { border:0;background:linear-gradient(145deg,#2859c7,#142d70);color:#fff;box-shadow:0 0 0 3px #e23b4618,0 5px 13px #1f4eae35;transition:transform .22s ease,box-shadow .22s ease; }
.brand:hover .brand-mark { transform:rotate(-7deg) scale(1.04);box-shadow:0 0 0 4px #e23b4625,0 8px 18px #1f4eae3d; }
.brand-copy strong { color:#16377f; }
.brand-copy small { color:#8a93a6; }
.market-search { height:48px;border:1px solid #d9e2f5;border-radius:999px;background:#f8faff;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease; }
.market-search:focus-within { border-color:#4b78dc;background:#fff;box-shadow:0 0 0 4px #2f61c218,0 8px 20px #214eaa0c; }
.market-search span { display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eaf0ff;color:#214da8;font-size:19px; }
.market-search input { background:transparent;color:#1d2d53; }
.market-search input::placeholder { color:#929bb0; }
.delivery-note { padding:8px 11px;border:1px solid #e6ebf5;border-radius:14px;background:#fbfcff; }
.delivery-icon { display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#fff0ef;color:#d33a43;font-size:19px; }
.delivery-note strong { color:#19429b; }
.cart-open { min-height:44px;padding:6px 8px 6px 14px;border:0;border-radius:999px;background:linear-gradient(110deg,#173a91,#285bcc);color:#fff;box-shadow:0 7px 16px #1c4ec326;transition:transform .18s ease,box-shadow .18s ease; }
.cart-open:hover { transform:translateY(-2px);box-shadow:0 10px 20px #1c4ec33b; }
.cart-open svg { width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.cart-open b { width:27px;height:27px;background:#fff;color:#18419b; }
.market-nav { min-height:58px;gap:14px;background:linear-gradient(90deg,#fff,#f9faff 68%,#fff);box-shadow:0 3px 12px #1a36740a; }
.market-nav-title { min-width:112px;border-radius:0 0 12px 0;background:linear-gradient(135deg,#d33440,#b81f35);box-shadow:0 5px 12px #b8253826; }
.market-nav-links { align-items:center;gap:7px; }
.market-nav-links .category-filter { min-height:35px;padding:0 15px;border:1px solid transparent;border-radius:999px;color:#59647b;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease; }
.market-nav-links .category-filter:hover { transform:translateY(-1px);background:#fff0ef;color:#c22e3b; }
.market-nav-links .category-filter.active { border-color:#dce6ff;background:#eaf0ff;color:#173f9a;box-shadow:inset 0 -2px #df3945; }
.product-ticker { position:relative;height:90px;background:linear-gradient(100deg,#fff8f7,#f8faff 50%,#fff9f3);border-top:1px solid #f0dce0;border-bottom:1px solid #e6e9f2; }
.ticker-label { min-width:165px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;padding:0 22px;background:linear-gradient(145deg,#173d9b,#275dcc);color:#fff;box-shadow:8px 0 20px #183d9418; }
.ticker-label span { color:#fff;font-size:10px;font-weight:800;letter-spacing:.14em; }
.ticker-label small { color:#d8e3ff;font-size:7px;font-weight:600;letter-spacing:.13em; }
.ticker-product { width:225px;height:66px;margin:0 5px;padding:7px 11px;border:1px solid #e7eaf2;border-radius:13px;background:#fff;box-shadow:0 4px 11px #152e7010;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.ticker-product:hover { transform:translateY(-2px);border-color:#cbd8f5;box-shadow:0 8px 17px #152e7018; }
.ticker-thumb { width:48px;height:48px;border:1px solid #e7ecf8;border-radius:10px;background:linear-gradient(145deg,#edf2ff,#fff0ef);color:#2452ad; }
.ticker-thumb img { transition:transform .25s ease; }
.ticker-product:hover .ticker-thumb img { transform:scale(1.08); }
.ticker-info strong { color:#183a83;font-family:"DM Sans",sans-serif;font-size:11px; }
.ticker-info span { color:#c4323e;font-size:10px; }
@media(max-width:1050px) {
  .market-header { gap:12px; }
  .market-nav { gap:8px; }
}
@media(max-width:700px) {
  .market-header { position:relative;top:auto;min-height:0; }
  .market-search { border-radius:14px; }
  .delivery-note { display:none; }
  .market-nav { min-height:48px; }
  .market-nav-title { min-width:auto;padding:0 12px;border-radius:0 0 9px 0; }
  .market-nav-links .category-filter { min-height:31px;padding:0 11px;font-size:9px; }
  .product-ticker { height:74px; }
  .ticker-label { min-width:110px;padding:0 11px; }
  .ticker-label span { font-size:8px; }
  .ticker-label small { font-size:6px; }
  .ticker-product { width:190px;height:56px;padding:5px 8px; }
  .ticker-thumb { width:40px;height:40px; }
}
@media(prefers-reduced-motion:reduce) {
  .brand-mark,.cart-open,.market-nav-links .category-filter,.ticker-product,.ticker-thumb img { transition:none; }
}/* Finishing touches for a warmer, more polished storefront. */
body { background:radial-gradient(ellipse at 50% 420px,#edf3ff 0,transparent 620px),#f7f8fb; }
main { position:relative; }
.market-heading { position:relative;isolation:isolate;margin-bottom:24px;padding:27px 30px 25px;border:1px solid #e5eaf5;border-radius:20px;background:linear-gradient(112deg,#fff 0%,#fff 62%,#f4f7ff 100%);box-shadow:0 12px 32px #152e700b;overflow:hidden; }
.market-heading::after { content:"";position:absolute;z-index:-1;right:-34px;top:-80px;width:210px;height:210px;border:1px solid #dce6fb;border-radius:50%;box-shadow:0 0 0 18px #f5f7fc,0 0 0 38px #f9faff; }
.market-heading .eyebrow { display:inline-flex;align-items:center;gap:8px;margin-bottom:9px;padding:7px 11px;border:1px solid #f3dfe2;border-radius:999px;background:#fff7f6;color:#bd303c;font-size:9px;letter-spacing:.15em; }
.market-heading .eyebrow::before { content:"";width:7px;height:7px;border-radius:50%;background:#df3d49;box-shadow:0 0 0 4px #df3d491a; }
.market-heading h1 { position:relative;width:max-content;max-width:100%;margin:0;color:#142d70;font-size:clamp(29px,3.3vw,42px);letter-spacing:-.035em; }
.market-heading h1::after { content:"";display:block;width:62px;height:4px;margin-top:9px;border-radius:99px;background:linear-gradient(90deg,#2458c8 0 70%,#e33d49 70%); }
.market-heading p:last-child { max-width:570px;margin:11px 0 0;color:#69758d;font-size:13px;line-height:1.65; }
.catalog-status:not(:empty) { display:flex;align-items:center;gap:9px;margin:0 0 17px;padding:10px 14px;border:1px solid #e4eaf5;border-radius:12px;background:#fff;color:#53617a;box-shadow:0 5px 16px #152e7008; }
.catalog-status:not(:empty)::before { content:"";width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#269767;box-shadow:0 0 0 4px #26976718; }
.site-footer { position:relative;margin-top:38px;padding:32px clamp(20px,6vw,72px);border:0;border-radius:22px 22px 0 0;background:linear-gradient(115deg,#10245f,#1c3e93 62%,#173277);color:#fff;box-shadow:0 -10px 32px #18377212; }
.site-footer::before { content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:22px 22px 0 0;background:linear-gradient(90deg,#e33d49 0 16%,#f2c96f 16% 22%,#fff0 55%); }
.site-footer .footer-brand strong { color:#fff;letter-spacing:.1em; }
.site-footer .footer-brand span,.site-footer>div:nth-child(2),.site-footer small { color:#d7e1ff; }
.site-footer a { color:#fff;text-decoration:none;font-weight:800; }
.site-footer a:hover { color:#f4cc70; }
@media(max-width:700px) {
  .market-heading { margin-bottom:17px;padding:20px 18px;border-radius:16px; }
  .market-heading::after { right:-112px;top:-68px; }
  .market-heading h1 { font-size:30px; }
  .market-heading p:last-child { font-size:12px; }
  .catalog-status:not(:empty) { margin-bottom:12px;padding:9px 11px; }
  .site-footer { margin-top:25px;padding:27px 20px;border-radius:18px 18px 0 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* Richer product-card details: product photography, freshness cues, and price hierarchy. */
.product-card { border-color:#d9e2f4;background:linear-gradient(180deg,#fff 0%,#fff 68%,#fbfcff 100%);box-shadow:0 9px 25px #17366f0d,0 2px 5px #17366f08; }
.product-card::after { content:"";position:absolute;right:-30px;top:205px;width:75px;height:75px;border:1px solid #e9eef9;border-radius:50%;pointer-events:none;transition:transform .35s ease,border-color .35s ease; }
.product-card:hover::after { transform:scale(1.35);border-color:#dce6fb; }
.product-image { isolation:isolate;background:radial-gradient(ellipse at 50% 48%,#fff 8%,#f6f8fd 61%,#eaf0fc 100%); }
.product-image::before { content:"KMC  ·  FRESH SELECTION";position:absolute;z-index:2;left:13px;bottom:13px;padding:7px 10px;border:1px solid #ffffff9c;border-radius:6px;background:#112b67d9;color:#fff;font-size:8px;font-weight:800;letter-spacing:.12em;box-shadow:0 4px 12px #10245f30;backdrop-filter:blur(7px); }
.product-image img { transition:transform .38s cubic-bezier(.2,.75,.25,1),filter .3s ease; }
.product-card:hover .product-image img { transform:scale(1.045);filter:saturate(1.06); }
.product-category { padding:7px 10px;border:1px solid #fff;border-left:3px solid #e23b46;border-radius:7px;box-shadow:0 4px 12px #17366f1a; }
.product-body { position:relative;z-index:1;padding-top:14px; }
.product-brandline { width:max-content;max-width:100%;margin-bottom:8px;padding:5px 8px;border:1px solid #e8edfa;border-radius:99px;background:#f7f9ff;color:#5470ad;letter-spacing:.11em; }
.product-brandline span { flex:0 0 auto; }
.product-body h3 { min-height:42px;color:#172e69;letter-spacing:-.015em; }
.product-description { padding-left:9px;border-left:2px solid #e5b9bd; }
.product-detail-chips { gap:7px;margin-top:10px; }
.detail-chip { min-height:27px;padding:5px 9px;border-color:#e4eaf6;background:#f8faff;box-shadow:0 2px 5px #1b397008; }
.detail-chip .unit-icon { display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#e8efff;font-size:10px; }
.detail-chip.stock-chip { background:linear-gradient(105deg,#eff9f2,#f8fcf8); }
.detail-chip.stock-chip i { box-shadow:0 0 0 3px #25935a18;animation:stock-glow 2.4s ease-in-out infinite; }
.detail-chip.stock-chip.out i { box-shadow:0 0 0 3px #d83d4518;animation:none; }
.product-price { position:relative;align-items:center;margin-top:14px;padding:20px 12px 10px;border-color:#dbe5fa;border-radius:12px;background:linear-gradient(110deg,#f0f5ff,#fbfcff 72%); }
.product-price::before { content:"TODAY'S PRICE";position:absolute;left:12px;top:6px;color:#8190ae;font-size:7px;font-weight:800;letter-spacing:.14em; }
.product-price strong { color:#143d9d;font-size:21px; }
.product-price span { align-self:flex-end;padding:4px 7px;border:1px solid #f1d8db;border-radius:99px;background:#fff5f5;color:#bd303c;font-size:8px;letter-spacing:.03em; }
.add-button { min-height:50px;margin-top:12px;border:1px solid #3159b5;border-radius:13px;background:linear-gradient(110deg,#163982,#2864dc);box-shadow:0 8px 17px #1d4ba932,inset 0 1px #ffffff30;font-weight:800;letter-spacing:.045em; }
.add-button svg { transition:transform .2s ease; }
.add-button:hover svg { transform:translateY(-1px) rotate(-6deg); }
.add-button:disabled { border-color:#aeb5c4;background:#aeb5c4; }
@keyframes stock-glow { 0%,100% { box-shadow:0 0 0 3px #25935a18; } 50% { box-shadow:0 0 0 5px #25935a0c; } }
@media(max-width:700px) {
  .product-image::before { left:8px;bottom:8px;padding:6px 7px;font-size:6px;letter-spacing:.09em; }
  .product-body { padding-top:11px; }
  .product-body h3 { min-height:38px; }
  .product-price { margin-top:11px;padding:19px 9px 8px; }
  .product-price::before { left:9px;top:5px;font-size:6px; }
  .product-price strong { font-size:16px; }
  .product-price span { padding:3px 5px;font-size:7px; }
  .detail-chip { gap:4px;min-height:24px;padding:4px 6px;font-size:7px; }
  .add-button { min-height:43px;margin-top:10px;letter-spacing:.02em; }
}
@media(prefers-reduced-motion:reduce) {
  .product-card::after,.product-image img,.add-button svg { transition:none; }
  .detail-chip.stock-chip i { animation:none; }
}
/* Keep the animated product ticker full width without the removed label tile. */
.product-ticker { padding-inline:clamp(10px,3vw,36px); }
.product-ticker .ticker-window { width:100%;min-width:0; }
@media(max-width:700px) { .product-ticker { padding-inline:8px; } }
/* Touch-device scroll tuning: keep the approved look, avoid repeated compositing. */
@media (hover:none), (pointer:coarse) {
  .product-card { animation:none;will-change:auto; }
  .product-card:hover { transform:none; }
  .product-card:hover::before { background:linear-gradient(90deg,#1744b7 0%,#3978f6 63%,#e2424b 100%); }
  .product-card::after { display:none; }
  .product-card:hover .product-image::after { transform:translateX(-130%); }
  .product-card:hover .product-image img { transform:none;filter:none; }
  .product-card:hover .product-category,.product-card:hover .product-price { transform:none; }
  .product-brandline span,.detail-chip.stock-chip i { animation:none; }
  .product-image img,.product-card,.product-category,.product-price,.add-button { transition:none; }
  .ticker-track { transform:translateZ(0);backface-visibility:hidden;will-change:transform; }
}

/* Keep order tracking beside the cart at all storefront widths. */
.market-header { grid-template-columns:auto minmax(220px,1fr) auto auto auto; }
.track-order-open {
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:7px 13px;border:1px solid #d8deef;border-radius:999px;
  color:var(--navy);background:#fff;font:800 11px "DM Sans",sans-serif;
  text-decoration:none;white-space:nowrap;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.track-order-open:hover { color:#fff;background:var(--navy);transform:translateY(-1px); }
@media(max-width:1050px) {
  .market-header { grid-template-columns:auto minmax(180px,1fr) auto auto; }
}
@media(max-width:700px) {
  .market-header { grid-template-columns:minmax(0,1fr) auto auto; }
  .market-search { grid-column:1/-1;grid-row:2; }
  .track-order-open { min-height:40px;padding:6px 8px;font-size:9px; }
  .cart-open { gap:5px;padding-inline:6px; }
}
@media(max-width:380px) {
  .market-header .brand-copy small { display:none; }
  .market-header .brand-copy strong { font-size:8px;letter-spacing:.015em; }
  .market-header .brand { gap:7px; }
  .cart-open span { display:none; }
}
