: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;
  }
}