/* ═══════════════════════════════════════════════
   SPLASH SCREEN — simple overlay, fades out
   ═══════════════════════════════════════════════ */

.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(48, 34, 18, .6), transparent 68%),
    #0e0b08;
  transition: opacity .55s ease;
}

.splash.done {
  opacity: 0;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: splash-in .55s cubic-bezier(.22, .68, 0, 1.08) both;
}

@keyframes splash-in {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* Logo mark */
.splash-mark {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #2c2315, #0e0d0a);
  box-shadow:
    inset 0 0 0 1px rgba(240, 217, 154, .22),
    0 0 60px rgba(199, 150, 57, .12),
    0 20px 40px rgba(0, 0, 0, .45);
  animation: mark-glow 2s ease-in-out infinite alternate;
  position: relative;
}

/* Orbiting half-ring inside the mark */
.splash-mark::before {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  border: 2.5px solid #f0d99a;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: splash-orbit 1.8s linear infinite;
}

@keyframes splash-orbit {
  to { transform: rotate(360deg); }
}

@keyframes mark-glow {
  from { box-shadow: inset 0 0 0 1px rgba(240, 217, 154, .2), 0 0 40px rgba(199, 150, 57, .08), 0 20px 40px rgba(0, 0, 0, .45); }
  to   { box-shadow: inset 0 0 0 1px rgba(240, 217, 154, .35), 0 0 80px rgba(199, 150, 57, .2), 0 20px 40px rgba(0, 0, 0, .45); }
}

.splash-mark span {
  position: relative;
  z-index: 1;
  color: #f0d99a;
  font-size: 40px;
  font-weight: 900;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Brand name */
.splash-name {
  margin: 22px 0 0;
  color: #fff8ef;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Subtitle */
.splash-sub {
  margin: 8px 0 0;
  color: rgba(240, 217, 154, .55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Progress bar */
.splash-bar {
  width: 160px;
  height: 3px;
  margin-top: 32px;
  border-radius: 3px;
  background: rgba(199, 150, 57, .14);
  overflow: hidden;
}

.splash-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #c79639, #f0d99a);
  animation: bar-fill 1.8s ease-out .3s forwards;
}

@keyframes bar-fill {
  to { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .splash { transition: none; }
  .splash-content { animation: none; opacity: 1; transform: none; }
  .splash-mark { animation: none; }
  .splash-mark::before { animation: none; }
  .splash-bar-fill { animation: none; width: 100%; }
}

/* ══════════════════════════════════════════════ */

.hero, .content, .bottom-nav {
  transition: opacity 1.25s ease, transform 1.25s ease, filter 1.25s ease;
}





* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: #d7d1c5;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

.app {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin-inline: auto;
  overflow-x: clip;
  background: var(--bg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.hero {
  position: relative;
  min-height: 472px;
  padding: 26px 22px 112px;
  color: white;
  background:
    linear-gradient(90deg, rgba(17, 15, 12, .94), rgba(17, 15, 12, .62)),
    url("assets/generated-catalog-v2/hero/index-mix-bag-hero-v5.opt.jpg") center 38% / cover;
  border-bottom-left-radius: 46px;
  border-bottom-right-radius: 46px;
}

.topbar, .brand-lockup, .hero-stats, .section-title, .sheet-head, .total-row, .live-price {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  margin-bottom: 44px;
}

.ghost-icon, .cart-trigger, .circle-close {
  border: 0;
  background: transparent;
  color: inherit;
}

.ghost-icon {
  width: 46px;
  height: 46px;
  display: grid;
  align-content: center;
  gap: 9px;
  padding: 0 7px;
}

.ghost-icon span {
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.ghost-icon span:last-child { width: 64%; }

.cart-trigger {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.cart-trigger b {
  position: absolute;
  inset-inline-end: 1px;
  inset-block-start: 1px;
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-2);
  color: #16130e;
  font-size: 12px;
}

.brand-block { max-width: 330px; }
.brand-lockup { gap: 14px; margin-bottom: 18px; }

.logo-mark {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, #2c2315, #0e0d0a);
  box-shadow: inset 0 0 0 1px rgba(240, 217, 154, .28), 0 18px 35px rgba(0, 0, 0, .32);
  animation: logoIn .7s ease both;
}

.logo-mark::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid var(--gold-2);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-35deg);
}

.logo-mark span {
  position: relative;
  color: var(--gold-2);
  font-size: 28px;
  font-weight: 900;
}

.brand-lockup p, .section-title p, .sheet-head p {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin: 0;
  font-size: 45px;
  line-height: .92;
  letter-spacing: 0;
}

.brand-copy {
  margin: 0;
  max-width: 285px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 1.55;
  animation: fadeUp .65s ease .08s both;
}

.hero-stats { justify-content: space-between; gap: 8px; margin-top: 28px; }
.hero-stats div { min-width: 0; padding: 11px 12px; border-radius: 15px; background: rgba(255, 255, 255, .92); color: var(--ink); animation: fadeUp .65s ease both; }
.hero-stats div:nth-child(2) { animation-delay: .08s; }
.hero-stats div:nth-child(3) { animation-delay: .16s; }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { font-size: 16px; }
.hero-stats span { color: var(--muted); font-size: 11px; font-weight: 800; }

.content { padding: 28px 18px 106px; }

.offer-row span {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-panel {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px rgba(199, 150, 57, .08);
}

.search-panel svg { color: var(--muted); }
.search-panel input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-panel input::placeholder { color: #918878; }

.search-hint {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.section-title {
  justify-content: space-between;
  gap: 18px;
  margin: 24px 2px 14px;
}

.section-title p, .sheet-head p { color: var(--muted); }
.section-title h2, .sheet-head h2 { margin: 0; font-size: 22px; line-height: 1.05; letter-spacing: 0; }
.section-title button { border: 0; background: transparent; color: var(--red); font-weight: 850; }
.section-title span { color: var(--muted); font-size: 13px; font-weight: 800; }

/* Sticky catalog navigator */
.catalog-filter-panel {
  position: sticky;
  top: 10px;
  z-index: 6;
  margin: 18px -8px 0;
  padding: 14px 12px 8px;
  border: 1px solid rgba(222, 214, 199, .92);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(250, 248, 242, .9)),
    var(--surface);
  box-shadow: 0 16px 30px rgba(31, 27, 19, .16);
  backdrop-filter: blur(18px);
}

.filter-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 3px 10px;
}

.filter-panel-head p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.filter-panel-head h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1;
}

.filter-panel-head button {
  padding: 8px 10px;
  border: 1px solid rgba(165, 72, 56, .18);
  border-radius: 999px;
  background: rgba(165, 72, 56, .06);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

/* ── Compact filter chips (categories) ── */
.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 7px;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(31, 27, 19, .06);
  transition: all .22s ease;
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: rgba(199, 150, 57, .35);
  background: #fffcf5;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31, 27, 19, .1);
}

.filter-chip.active {
  border-color: var(--gold);
  background: linear-gradient(135deg, #1a1610, #2a2318);
  color: var(--gold-2);
  box-shadow: 0 6px 20px rgba(199, 150, 57, .18), inset 0 0 0 1px rgba(240, 217, 154, .12);
}

.filter-chip-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(199, 150, 57, .12);
  transition: background .22s ease;
}

.filter-chip.active .filter-chip-icon {
  background: rgba(240, 217, 154, .18);
}

.filter-chip-icon svg {
  width: 15px;
  height: 15px;
}

/* ── Smart picks (merged types + tags) ── */
.smart-picks-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1), opacity .28s ease;
  opacity: 0;
  margin: 0;
}

.smart-picks-wrap.visible {
  grid-template-rows: 1fr;
  opacity: 1;
}

.smart-picks {
  overflow: hidden;
}

.smart-picks-inner {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 6px 2px 10px;
  scrollbar-width: none;
}

.smart-picks-inner::-webkit-scrollbar { display: none; }

.smart-pick {
  flex: 0 0 auto;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid rgba(222, 214, 199, .7);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
  box-shadow: 0 3px 8px rgba(31, 27, 19, .05);
  transition: all .2s ease;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.smart-pick:hover {
  border-color: rgba(199, 150, 57, .3);
  background: #fffdf5;
  transform: translateY(-1px);
}

.smart-pick.active {
  border-color: var(--gold);
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 14px rgba(23, 22, 18, .16);
}

.smart-pick .pick-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .6;
}

.smart-pick.active .pick-dot {
  background: var(--gold-2);
  opacity: 1;
}

.smart-pick-more {
  color: var(--gold);
  border-style: dashed;
  border-color: rgba(199, 150, 57, .4);
  background: rgba(199, 150, 57, .06);
}

.smart-pick-more:hover {
  background: rgba(199, 150, 57, .12);
}

/* ── Filter breadcrumb ── */
.filter-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 0;
  overflow: hidden;
  padding: 0 4px;
  transition: min-height .28s ease, opacity .24s ease, margin .28s ease;
  opacity: 0;
  margin-bottom: 0;
}

.filter-breadcrumb.visible {
  min-height: 30px;
  opacity: 1;
  margin-bottom: 2px;
}

.breadcrumb-label {
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.breadcrumb-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(199, 150, 57, .1);
  color: #8a6d2f;
  font-size: 11px;
  font-weight: 850;
}

.breadcrumb-tag svg {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 12px;
  font-weight: 900;
}

.offer-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0 24px;
}

.offer-row > * {
  min-height: 118px;
  padding: 15px;
  border-radius: 23px;
  color: white;
  background:
    linear-gradient(180deg, rgba(18, 16, 13, .28), rgba(18, 16, 13, .78)),
    url("assets/generated-catalog-v2/hero/party_platter.opt.jpg") center / cover;
  box-shadow: 0 16px 26px rgba(31, 27, 19, .14);
}

.offer-row > *:last-child {
  background:
    linear-gradient(180deg, rgba(18, 16, 13, .18), rgba(18, 16, 13, .76)),
    url("assets/generated-catalog-v2/hero/coffee_lovers_box.opt.jpg") center / cover;
}

.offer-link {
  text-decoration: none;
  display: block;
}

.coffee-link:hover,
.coffee-link:focus-visible {
  transform: translateY(-2px);
  outline: 1px solid rgba(255, 255, 255, .5);
}

.offer-row strong, .offer-row small { display: block; }
.offer-row strong { margin-top: 26px; font-size: 20px; line-height: 1.05; }
.offer-row small { margin-top: 5px; color: rgba(255, 255, 255, .75); font-weight: 750; }

.deals-row {
  position: relative;
  overflow: hidden;
  margin: 0 -18px 24px;
  padding: 28px 0 18px;
}

.deals-row::before,
.deals-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  pointer-events: none;
}

.deals-row::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.deals-row::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.deals-track {
  width: max-content;
  display: flex;
  gap: 16px;
  padding-inline: 18px;
  animation: deal-marquee 24s linear infinite;
}

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

.deal-card {
  position: relative;
  width: 218px;
  min-height: 282px;
  overflow: hidden;
  padding: 106px 18px 18px;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, .28), transparent 34%),
    linear-gradient(160deg, #d5372b 0%, #a51f1b 52%, #741110 100%);
  color: white;
  text-align: center;
  box-shadow: 0 24px 38px rgba(127, 31, 22, .34);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.deal-card:active { transform: scale(.98); }

.deal-card:hover,
.deal-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 46px rgba(127, 31, 22, .38);
  outline: 0;
}

.deal-card:hover .floating-product,
.deal-card:focus-visible .floating-product {
  animation-duration: 2.4s;
}

.deal-card::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -46px;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  animation: vector-orbit 8s ease-in-out infinite;
}

.deal-card.coffee {
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, .2), transparent 34%),
    linear-gradient(160deg, #5b3824, #2e1d14 52%, #15100c);
  box-shadow: 0 24px 38px rgba(59, 38, 25, .3);
}

.deal-card.gold {
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, .32), transparent 34%),
    linear-gradient(160deg, #e0a633, #b87516 54%, #7c4d0d);
  box-shadow: 0 24px 38px rgba(138, 93, 18, .27);
}

.deal-card.green {
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, .24), transparent 34%),
    linear-gradient(160deg, #678f4d, #365f31 52%, #1e351b);
  box-shadow: 0 24px 38px rgba(33, 53, 29, .28);
}

.deal-vector,
.deal-spark,
.product-shadow {
  position: absolute;
  pointer-events: none;
}

.deal-vector {
  z-index: 0;
  border: 2px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  transform: rotate(-18deg);
}

.deal-vector-a {
  top: 34px;
  left: -28px;
  width: 86px;
  height: 58px;
  animation: vector-slide-a 7s ease-in-out infinite;
}

.deal-vector-b {
  right: -34px;
  bottom: 70px;
  width: 96px;
  height: 64px;
  border-radius: 50%;
  animation: vector-slide-b 8.5s ease-in-out infinite;
}

.deal-spark {
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 24px 14px 0 rgba(255, 255, 255, .22);
  transform: rotate(15deg);
}

.deal-spark-a {
  top: 22px;
  right: 34px;
  animation: spark-drift 4.8s ease-in-out infinite;
}

.deal-spark-b {
  left: 30px;
  bottom: 28px;
  animation: spark-drift 5.8s ease-in-out infinite reverse;
}

.floating-product {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border: 5px solid rgba(255, 255, 255, .34);
  border-radius: 38px;
  background: rgba(255, 255, 255, .94);
  color: #8a1b17;
  box-shadow: 0 18px 24px rgba(0, 0, 0, .18);
  transform: translateX(-50%);
  animation: product-float 3.2s ease-in-out infinite;
}

.product-shadow {
  top: 112px;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  filter: blur(7px);
  transform: translateX(-50%);
  animation: shadow-pulse 3.2s ease-in-out infinite;
}

.deal-card.coffee .floating-product { color: #3b2619; }
.deal-card.gold .floating-product { color: #8a5d12; }
.deal-card.green .floating-product { color: #38552e; }

.floating-product svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.8;
}

.deal-card .deal-label,
.deal-card strong,
.deal-card small,
.deal-card b,
.deal-card .deal-cta {
  position: relative;
  z-index: 2;
  display: block;
}

.deal-card .deal-label {
  width: max-content;
  margin-inline: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .84);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deal-card strong {
  margin-top: 14px;
  max-width: 174px;
  margin-inline: auto;
  font-size: 25px;
  line-height: 1.02;
}

.deal-card small {
  min-height: 34px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-weight: 750;
  line-height: 1.25;
}

.deal-card b {
  margin-top: 13px;
  font-size: 22px;
}

.deal-cta {
  width: max-content;
  margin-top: 14px;
  margin-inline: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffbf2f;
  color: #16130e;
  box-shadow: 0 9px 18px rgba(0, 0, 0, .22);
  font-size: 12px;
  font-weight: 950;
}

.deal-card.red .deal-cta {
  background: white;
  color: #8e1815;
}

@keyframes deal-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes product-float {
  0%, 100% { transform: translate(-50%, 0) rotate(-2deg); }
  50% { transform: translate(-50%, -10px) rotate(3deg); }
}

@keyframes shadow-pulse {
  0%, 100% { opacity: .62; transform: translateX(-50%) scaleX(.9); }
  50% { opacity: .3; transform: translateX(-50%) scaleX(1.14); }
}

@keyframes vector-slide-a {
  0%, 100% { transform: translate(0, 0) rotate(-18deg); }
  50% { transform: translate(18px, 18px) rotate(9deg); }
}

@keyframes vector-slide-b {
  0%, 100% { transform: translate(0, 0) rotate(16deg); }
  50% { transform: translate(-22px, -12px) rotate(-8deg); }
}

@keyframes vector-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, -12px) scale(1.08); }
}

@keyframes spark-drift {
  0%, 100% { opacity: .42; transform: translate(0, 0) rotate(15deg); }
  50% { opacity: .8; transform: translate(10px, -8px) rotate(35deg); }
}




.products {
  display: grid;
  gap: 10px;
  padding-top: 10px;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 13px;
  min-height: 132px;
  padding: 12px;
  border: 1px solid rgba(222, 214, 199, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(31, 27, 19, .08);
  transform: translateY(18px);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease, box-shadow .2s ease;
}

.product.in-view {
  transform: translateY(0);
  opacity: 1;
}

.product:active {
  box-shadow: 0 8px 18px rgba(31, 27, 19, .12);
}

.product.featured {
  border-color: rgba(199, 150, 57, .55);
  background: #fffdf8;
}

.product-img {
  position: relative;
  z-index: 1;
  width: 86px;
  height: 86px;
  align-self: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(222, 214, 199, .95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .2)),
    var(--fallback-image) var(--fallback-position, center) / cover no-repeat,
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), transparent 32%),
    linear-gradient(145deg, #d2b779, var(--tone-a, #7c5930) 52%, var(--tone-b, #271b13));
  box-shadow: 0 8px 16px rgba(31, 27, 19, .12), inset 0 -30px 48px rgba(0, 0, 0, .18);
  transition: transform .35s ease, border-radius .35s ease;
}

.product-img img,
.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product:active .product-img {
  transform: scale(.96) rotate(-2deg);
  border-radius: 18px;
}

.product-img::after {
  content: attr(data-label);
  position: relative;
  z-index: 2;
  display: grid;
  place-items: end start;
  width: 100%;
  height: 100%;
  padding: 12px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .36));
  color: white;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-img.no-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .18)),
    var(--fallback-image) var(--fallback-position, center) / cover no-repeat;
}

.product-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 11px;
  padding: 0;
}

.badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f1eadb;
  color: #6c5630;
  font-size: 11px;
  font-weight: 850;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.meta-line span,
.meta-line button {
  padding: 4px 7px;
  border: 0;
  border-radius: 999px;
  background: #f4f0e6;
  color: #6d6456;
  font-size: 10px;
  font-weight: 900;
}

.meta-line button:active {
  transform: scale(.96);
}

.product h3 {
  margin: 6px 0 5px;
  font-size: 17px;
  line-height: 1.1;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px -12px -12px;
  padding: 10px 12px;
  background: #1a2e24;
  border-radius: 0 0 17px 17px;
}

.price small, .price strong { display: block; }
.price small { color: rgba(255, 255, 255, .62); font-size: 11px; font-weight: 800; }
.price strong { font-size: 19px; color: white; }

.out-of-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px 6px 8px;
  border-radius: 999px;
  background: #f4ecd8;
  border: 1.5px solid rgba(180, 130, 60, .28);
  color: #8a5e22;
  font-size: 12px;
  font-weight: 850;
}

.out-of-stock-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: #b8742a;
}


.add {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  transition: transform .18s ease, background .18s ease;
}

.add:active { transform: scale(.92); }

.empty {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-strong);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.catalog-pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0 4px;
}

.catalog-pagination.visible {
  display: flex;
}

.page-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(222, 214, 199, .95);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 27, 19, .08);
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}

.page-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-btn:active:not(:disabled) {
  transform: scale(.94);
  background: var(--yellow);
}

.page-btn:disabled {
  opacity: .38;
  box-shadow: none;
}

.page-status {
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1a2e24;
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 16px 16px 94px;
  background: rgba(16, 14, 11, .48);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.sheet.open { opacity: 1; pointer-events: auto; }

.sheet-card {
  width: min(100%, 430px);
  max-height: 86vh;
  overflow: auto;
  padding: 21px;
  border-radius: 30px 30px 22px 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(18px);
  transition: transform .18s ease;
}

.sheet.open .sheet-card { transform: translateY(0); }
.sheet-head { justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.circle-close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }

.amount-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 6px;
  border-radius: 18px;
  background: #e6decd;
}

.amount-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.amount-tabs button.active { background: var(--surface-strong); color: var(--ink); box-shadow: 0 8px 18px rgba(31, 27, 19, .11); }
.amount-area { margin: 18px 0; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }

.preset-grid button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  font-weight: 850;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.field span, .location-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.field input, .location-form input, .location-form select, .location-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--ink);
  outline: 0;
}

.field input, .location-form input, .location-form select { height: 50px; padding: 0 14px; }
.location-form textarea { padding: 12px 14px; resize: vertical; }
.location-form { display: grid; gap: 13px; }
.location-form .sheet-head { margin-bottom: 4px; }

.live-price, .total-row {
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.live-price span, .total-row span { color: var(--muted); font-weight: 850; }
.live-price strong, .total-row strong { font-size: 22px; }

.primary-button, .whatsapp {
  width: 100%;
  min-height: 55px;
  display: grid;
  place-items: center;
  margin-top: 18px;
  border: 0;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.whatsapp { background: #18864b; }

.order-list {
  display: grid;
  gap: 10px;
}

.order-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.order-line h3 { margin: 0 0 5px; font-size: 15px; }
.order-line p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.remove-line { border: 0; background: transparent; color: var(--red); font-weight: 900; }

.product-detail {
  padding: 0;
  overflow: hidden;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 268px;
  display: grid;
  align-items: end;
  padding: 18px;
  color: white;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72)),
    var(--fallback-image) var(--fallback-position, center) / cover no-repeat,
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), transparent 34%),
    linear-gradient(145deg, #caa86d, #67401f 52%, #19110c);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .72));
}

.detail-hero .badge {
  position: relative;
  z-index: 2;
}

.detail-body {
  padding: 20px;
}

.detail-body h2 {
  margin: 8px 0;
  font-size: 28px;
  line-height: 1;
}

.detail-body p {
  color: var(--muted);
  line-height: 1.45;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 10px;
  margin-top: 16px;
}

.detail-actions button {
  min-height: 52px;
  border: 0;
  border-radius: 17px;
  font-weight: 900;
}

.detail-actions button:first-child {
  background: var(--ink);
  color: white;
}

.detail-actions button:first-child:disabled {
  background: #d9d0bf;
  color: #756b5d;
  cursor: default;
}

.detail-actions button:last-child {
  background: #eee6d6;
  color: var(--ink);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(.88) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 7;
  width: min(calc(100% - 28px), 402px);
  height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(222, 214, 199, .9);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(31, 27, 19, .22);
  transform: translateX(-50%);
}

.bottom-nav--five {
  grid-template-columns: repeat(5, 1fr);
  width: min(calc(100% - 16px), 460px);
  gap: 4px;
  padding: 7px;
}

.bottom-nav--five button,
.bottom-nav--five .bottom-nav-link {
  font-size: 10px;
}

.bottom-nav--five svg {
  width: 20px;
  height: 20px;
}

.bottom-nav button,
.bottom-nav-link {
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.bottom-nav button:hover,
.bottom-nav button:focus-visible,
.bottom-nav-link:hover,
.bottom-nav-link:focus-visible {
  background: var(--ink);
  color: white;
  outline: 0;
}

.nav-active,
.nav-active:hover,
.nav-active:focus-visible {
  background: var(--ink);
  color: white;
  outline: 0;
  box-shadow: 0 4px 12px rgba(24, 37, 31, .28);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
}


@media (min-width: 760px) {
  body { padding: 34px; }
  .app { min-height: 900px; border-radius: 34px; }
}

@media (max-width: 360px) {
  .hero { padding-inline: 16px; }
  h1 { font-size: 39px; }
  .product { grid-template-columns: 1fr; }
  .product h3 { font-size: 18px; }
  .offer-row { grid-template-columns: 1fr; }
  .deal-card { width: 198px; }
}

/* Selected redesign: bold contemporary mobile commerce */
:root {
  --bg: #f5f0e3;
  --surface: #fffaf0;
  --surface-strong: #fffdf7;
  --ink: #18251f;
  --ink-soft: #304039;
  --muted: #746f64;
  --line: rgba(24, 37, 31, .13);
  --blue: #2454d7;
  --blue-dark: #17378e;
  --red: #f04436;
  --orange: #ef8451;
  --yellow: #f4cb52;
  --green: #93bd45;
  --shadow: 0 18px 42px rgba(40, 46, 40, .17);
}

body {
  background: #d9d4ca;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", sans-serif;
}

.app {
  background:
    radial-gradient(circle at 104% 10%, rgba(244, 203, 82, .2), transparent 20%),
    radial-gradient(circle at -10% 54%, rgba(147, 189, 69, .12), transparent 18%),
    var(--bg);
}

.splash {
  background:
    radial-gradient(circle at 80% 15%, rgba(244, 203, 82, .95) 0 8%, transparent 8.4%),
    radial-gradient(circle at 15% 88%, rgba(240, 68, 54, .92) 0 12%, transparent 12.4%),
    var(--blue);
}

.splash-mark {
  border-radius: 32px 32px 10px 32px;
  background: var(--yellow);
  box-shadow: 12px 12px 0 rgba(23, 55, 142, .55);
  animation: splash-pop .7s cubic-bezier(.2, .8, .2, 1) both;
}

.splash-mark::before {
  border-color: var(--ink);
  border-right-color: transparent;
}

.splash-mark span {
  color: var(--ink);
  font-family: "Outfit", sans-serif;
}

.splash-name {
  color: white;
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.splash-sub { color: rgba(255, 255, 255, .72); }
.splash-bar { background: rgba(255, 255, 255, .2); }
.splash-bar-fill { background: var(--yellow); }

@keyframes splash-pop {
  from { opacity: 0; transform: translateY(16px) rotate(-8deg) scale(.86); }
  to { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

.site-header {
  padding: 18px 16px 0;
}

.topbar {
  justify-content: space-between;
  margin: 0;
}

.brand-sign,
.topbar-actions,
.fulfillment-bar {
  display: flex;
  align-items: center;
}

.brand-sign {
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-sign-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px 15px 5px 15px;
  background: var(--blue);
  color: white;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  box-shadow: 5px 5px 0 rgba(36, 84, 215, .15);
}

.brand-sign b,
.brand-sign small {
  display: block;
}

.brand-sign b {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  letter-spacing: -.6px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-sign small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.topbar-actions { gap: 8px; }

.round-action {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 247, .86);
  color: var(--ink);
}

.round-action svg { width: 19px; height: 19px; stroke-width: 2.3; }
.cart-trigger { width: 42px; height: 42px; }

.cart-trigger b {
  right: -3px;
  top: -3px;
  min-width: 18px;
  height: 18px;
  background: var(--red);
  color: white;
  font-size: 10px;
}

.fulfillment-bar {
  width: 100%;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 11px;
  border: 1px solid rgba(24, 37, 31, .1);
  border-radius: 15px;
  background: rgba(255, 253, 247, .7);
  color: var(--ink);
  text-align: left;
}

.fulfillment-bar > svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
}

.fulfillment-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(147, 189, 69, .24);
  color: #527322;
}

.fulfillment-icon svg { width: 17px; height: 17px; }
.fulfillment-bar small,
.fulfillment-bar b { display: block; }
.fulfillment-bar small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.fulfillment-bar b { margin-top: 2px; font-size: 12px; }

.content { padding: 16px 16px 104px; }

.showcase-grid {
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  grid-template-rows: 154px 74px;
  gap: 10px;
  margin-top: 2px;
}

.showcase {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 22px;
  color: var(--ink);
  text-decoration: none;
  isolation: isolate;
}

.showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.showcase-label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .24);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.showcase-mix {
  grid-row: span 2;
  padding: 15px 15px 15px 10px;
  background:
    linear-gradient(145deg, rgba(24, 15, 10, .22), transparent 48%),
    radial-gradient(ellipse 76% 68% at 84% 31%, rgba(46, 21, 11, .32), transparent 68%),
    radial-gradient(circle at 72% 24%, rgba(255, 219, 145, .15), transparent 30%),
    radial-gradient(ellipse 72% 44% at 18% 86%, rgba(205, 119, 47, .2), transparent 70%),
    radial-gradient(ellipse 112% 54% at 50% 111%, rgba(106, 43, 20, .58), transparent 68%),
    linear-gradient(160deg, #a04a2d 0%, #73301f 51%, #2f1811 100%);
  color: white;
}

.showcase-mix::before,
.showcase-coffee::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(9, 6, 4, .14), transparent 40%, rgba(8, 4, 3, .52) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .02), transparent 24%, rgba(0, 0, 0, .24) 100%);
  mix-blend-mode: normal;
  opacity: .64;
}

.showcase-mix::after {
  left: 0;
  right: 0;
  top: auto;
  bottom: -18px;
  z-index: 0;
  width: auto;
  height: 88px;
  border-radius: 0 0 22px 22px;
  background:
    radial-gradient(ellipse 62% 42% at 72% 18%, rgba(19, 11, 8, .46), transparent 72%),
    linear-gradient(180deg, rgba(72, 24, 14, 0), rgba(76, 29, 16, .58) 36%, rgba(28, 14, 10, .76));
  animation: none;
}

.showcase-mix h1 {
  position: relative;
  z-index: 3;
  margin: 15px 0 7px;
  font-family: "Outfit", sans-serif;
  font-size: 29px;
  letter-spacing: -1.8px;
  line-height: .93;
  text-transform: uppercase;
}

.showcase-mix p {
  position: relative;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.showcase-mix img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  border-radius: 0;
  filter: none;
  transform: none;
}

.showcase-cta {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
}

.showcase-cta b {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}

.showcase-coffee {
  padding: 13px 13px 13px 8px;
  background: var(--yellow);
}

.showcase-coffee::after {
  right: -28px;
  bottom: -30px;
  width: 92px;
  height: 92px;
}

.showcase-coffee h2 {
  position: relative;
  z-index: 3;
  margin: 18px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  letter-spacing: -0.8px;
  line-height: 1.1;
  text-transform: uppercase;
}

.showcase-coffee img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: right center;
  transform: none;
}

.showcase-arrow {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  font-size: 19px;
  font-weight: 800;
}

.showcase-gift {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  background: var(--red);
  color: white;
}

.showcase-gift::after {
  right: -8px;
  top: -20px;
  width: 58px;
  height: 58px;
}

.showcase-gift span {
  max-width: 90px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  letter-spacing: -.7px;
  line-height: 1;
  text-transform: uppercase;
}

.showcase-gift b {
  margin-top: 7px;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-filter-panel {
  position: static;
  margin: 32px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.filter-panel-head {
  align-items: end;
  padding: 0 2px 13px;
}

.filter-panel-head p,
.section-title p {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.filter-panel-head h2,
.section-title h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  letter-spacing: -1.7px;
  line-height: .98;
  text-transform: uppercase;
}

.filter-panel-head button {
  padding: 7px 11px;
  border: 1px solid rgba(240, 68, 54, .22);
  background: rgba(240, 68, 54, .07);
  color: var(--red);
  font-size: 10px;
}

.filter-chips {
  gap: 7px;
  margin-inline: -16px;
  padding: 2px 16px 7px;
}

.filter-chip {
  gap: 6px;
  height: 39px;
  padding: 0 12px 0 8px;
  border-color: rgba(24, 37, 31, .11);
  background: rgba(255, 253, 247, .9);
  color: var(--ink);
  font-size: 12px;
  box-shadow: none;
}

.filter-chip:nth-child(4n + 2) .filter-chip-icon { background: rgba(147, 189, 69, .26); color: #567526; }
.filter-chip:nth-child(4n + 3) .filter-chip-icon { background: rgba(244, 203, 82, .32); color: #916e07; }
.filter-chip:nth-child(4n + 4) .filter-chip-icon { background: rgba(240, 68, 54, .18); color: #be352b; }

.filter-chip:hover { transform: none; box-shadow: none; }

.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: none;
}

.filter-chip-icon {
  width: 25px;
  height: 25px;
  border-radius: 9px;
  background: rgba(36, 84, 215, .16);
  color: var(--blue);
}

.filter-chip.active .filter-chip-icon {
  background: rgba(255, 255, 255, .16);
  color: white;
}

.smart-picks-inner {
  gap: 6px;
  margin-inline: -16px;
  padding: 6px 16px 9px;
}

.smart-pick {
  height: 31px;
  padding: 0 10px;
  border-color: rgba(24, 37, 31, .1);
  background: rgba(255, 253, 247, .7);
  color: var(--ink-soft);
  font-size: 10px;
  box-shadow: none;
  backdrop-filter: none;
}

.smart-pick.active {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
  box-shadow: none;
}

.smart-pick .pick-dot { background: var(--red); }
.filter-breadcrumb { padding-inline: 2px; }
.breadcrumb-label { font-size: 9px; }
.breadcrumb-tag { background: rgba(244, 203, 82, .32); color: #775b10; font-size: 10px; }

.section-title {
  align-items: end;
  margin: 30px 2px 12px;
}

.section-title span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.deals-row {
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 2px 16px 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.deals-row::-webkit-scrollbar { display: none; }
.deals-row::before,
.deals-row::after { display: none; }

.deal-card {
  position: relative;
  isolation: isolate;
  flex: 0 0 176px;
  width: 176px;
  min-height: 176px;
  padding: 13px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--red);
  color: white;
  text-align: left;
  box-shadow: none;
  transition: transform .2s ease;
}

.deal-card::after {
  display: none;
}

.deal-card:active { transform: scale(.97); }
.deal-card:hover,
.deal-card:focus-visible { transform: translateY(-2px); box-shadow: none; }
.deal-card.coffee { background: #584032; box-shadow: none; }
.deal-card.gold { background: var(--orange); box-shadow: none; }
.deal-card.green { background: #668c35; box-shadow: none; }

.deal-card .deal-label {
  position: relative;
  z-index: 2;
  width: max-content;
  margin: 0;
  padding: 4px 6px;
  background: rgba(255, 255, 255, .18);
  color: white;
  font-size: 8px;
}

.deal-card strong {
  position: relative;
  z-index: 2;
  max-width: 128px;
  margin: 13px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  letter-spacing: -1.2px;
  line-height: .96;
  text-transform: uppercase;
}

.deal-card small {
  position: relative;
  z-index: 2;
  max-width: 130px;
  min-height: 0;
  margin-top: 7px;
  color: rgba(255, 255, 255, .76);
  font-size: 10px;
  line-height: 1.25;
}

.deal-card b {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  font-size: 13px;
}

.deal-cta {
  position: relative;
  z-index: 3;
  display: flex !important;
  align-items: center;
  gap: 4px;
  width: max-content;
  margin: 10px 0 0;
  padding: 0;
  background: transparent !important;
  color: white !important;
  box-shadow: none;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.deal-cta i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  font-size: 12px;
  font-style: normal;
}

.deal-icon {
  display: none;
}

.deal-icon svg { width: 31px; height: 31px; stroke-width: 1.8; }

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

.product {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  border: 0;
  border-radius: 19px;
  background: rgba(255, 253, 247, .92);
  box-shadow: 0 8px 18px rgba(49, 58, 51, .07);
}

.product:nth-child(4n + 2) { background: rgba(244, 203, 82, .18); }
.product:nth-child(4n + 3) { background: rgba(147, 189, 69, .17); }
.product:nth-child(4n + 4) { background: rgba(239, 132, 81, .14); }
.product.featured { border: 0; background: rgba(36, 84, 215, .09); }

.product-img {
  width: 100%;
  height: 136px;
  align-self: stretch;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}

.product-img::after { display: none; }

.product-img img,
.detail-hero img { object-fit: cover; }

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0;
  justify-content: space-between;
  padding: 9px 2px 2px;
}

.badge {
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(36, 84, 215, .1);
  color: var(--blue);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product h3 {
  min-height: 31px;
  margin: 7px 0 4px;
  font-size: 13px;
  line-height: 1.15;
}

.product-desc {
  display: -webkit-box;
  min-height: 29px;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product .meta-line { display: none; }

.buy-row {
  gap: 5px;
  margin: 6px -12px -12px;
  padding: 8px 12px;
}

.price small {
  font-size: 8px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.price strong {
  font-size: 14px;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: none;
}

.add svg { width: 17px; height: 17px; }

.empty { grid-column: 1 / -1; }

.bottom-nav {
  bottom: 10px;
  width: min(calc(100% - 24px), 406px);
  height: 67px;
  gap: 2px;
  padding: 7px;
  border: 1px solid rgba(24, 37, 31, .1);
  border-radius: 24px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 13px 32px rgba(24, 37, 31, .18);
}

.bottom-nav button,
.bottom-nav .bottom-nav-link {
  gap: 2px;
  border-radius: 17px;
  font-size: 9px;
  letter-spacing: .02em;
}

.bottom-nav button:hover,
.bottom-nav button:focus-visible,
.bottom-nav .bottom-nav-link:hover,
.bottom-nav .bottom-nav-link:focus-visible {
  background: rgba(24, 37, 31, .08);
  color: var(--ink);
}

.bottom-nav .nav-active,
.bottom-nav .nav-active:hover,
.bottom-nav .nav-active:focus-visible {
  background: var(--ink);
  color: white;
}

.bottom-nav svg { width: 19px; height: 19px; }

.bottom-nav button[data-open-cart] {
  position: relative;
}

.nav-cart-count {
  position: absolute;
  top: 6px;
  right: 18px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid rgba(255, 253, 247, .96);
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.sheet { background: rgba(24, 37, 31, .5); }

.sheet-card {
  border-radius: 25px 25px 18px 18px;
  background: var(--surface);
}

.sheet-head h2,
.detail-body h2 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -1.1px;
  text-transform: uppercase;
}

.circle-close,
.primary-button { background: var(--ink); }
.whatsapp { background: #1b9258; }

.amount-tabs { background: rgba(24, 37, 31, .08); }
.preset-grid button { background: var(--surface-strong); }

/* Generated catalog photography: one shared studio system */
.filter-chips {
  align-items: stretch;
  gap: 8px;
}

.filter-chip {
  width: 72px;
  height: 101px;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 6px 10px;
  border-radius: 20px;
  font-size: 10px;
  line-height: 1;
  text-align: center;
}

.filter-chip-icon,
.filter-chip:nth-child(4n + 2) .filter-chip-icon,
.filter-chip:nth-child(4n + 3) .filter-chip-icon,
.filter-chip:nth-child(4n + 4) .filter-chip-icon {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 15px;
  background: #f3ead8;
  color: inherit;
}

.filter-chip-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.filter-chip.active .filter-chip-icon {
  background: #f3ead8;
  box-shadow: 0 4px 11px rgba(0, 0, 0, .17);
}

.product-img {
  background: #f3ead8;
}

.product-img img {
  object-fit: cover;
}

/* Reference-driven hero bags and art-directed product cards */
/* Default (base): works for 390px–430px phones (iPhone 14, 15, Pixel 7+, Galaxy S series) */
.showcase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 254px 78px;
  gap: 10px;
}

/* Category aisle: image-led tiles with a closer crop */
.filter-chips {
  gap: 9px;
  padding-block: 3px 5px;
}

.filter-chip {
  position: relative;
  width: 76px;
  height: 108px;
  flex: 0 0 76px;
  justify-content: flex-end;
  gap: 0;
  padding: 0 5px 10px;
  overflow: hidden;
  border: 1px solid rgba(19, 41, 30, .07);
  border-radius: 22px;
  background: #efe5d3;
  color: #18251d;
  box-shadow: 0 5px 14px rgba(38, 36, 24, .08);
}

.filter-chip-icon,
.filter-chip:nth-child(4n + 2) .filter-chip-icon,
.filter-chip:nth-child(4n + 3) .filter-chip-icon,
.filter-chip:nth-child(4n + 4) .filter-chip-icon {
  position: absolute;
  inset: 0 0 23px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.filter-chip-icon::after {
  position: absolute;
  inset: auto 0 0;
  height: 31px;
  content: "";
  background: linear-gradient(180deg, rgba(239, 229, 211, 0), #efe5d3 82%);
}

.filter-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.11);
  transition: transform .28s ease;
}

.filter-chip:hover .filter-chip-icon img,
.filter-chip.active .filter-chip-icon img {
  transform: scale(1.18);
}

.filter-chip.active {
  border-color: #263d2a;
  background: #263d2a;
  color: #fffaf0;
  box-shadow: 0 8px 16px rgba(28, 58, 35, .2);
}

.filter-chip.active .filter-chip-icon {
  background: transparent;
  box-shadow: none;
}

.filter-chip.active .filter-chip-icon::after {
  background: linear-gradient(180deg, rgba(38, 61, 42, 0), #263d2a 82%);
}

#catalog-list {
  scroll-margin-top: 14px;
}

.app.catalog-browsing-active .deals-title,
.app.catalog-browsing-active .deals-row {
  display: none;
}

.app.catalog-browsing-active .product-title {
  margin-top: 18px;
}

.showcase-mix {
  grid-row: auto;
}

.showcase-mix h1 {
  margin-top: 16px;
  font-size: 25px;
}

.showcase-mix p {
  font-size: 10px;
}

.showcase-mix img {
  top: auto;
  left: auto;
  right: -10%;
  bottom: 0;
  width: 110%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: right bottom;
  filter: none;
  transform: none;
}

.showcase-cta {
  bottom: 15px;
}

.showcase-coffee {
  padding: 15px 15px 15px 10px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(18, 17, 15, .2), transparent 48%),
    radial-gradient(ellipse 74% 68% at 83% 31%, rgba(48, 8, 5, .36), transparent 68%),
    radial-gradient(circle at 75% 25%, rgba(255, 219, 143, .17), transparent 30%),
    radial-gradient(ellipse 70% 44% at 16% 86%, rgba(179, 78, 35, .2), transparent 70%),
    radial-gradient(ellipse 108% 53% at 50% 112%, rgba(133, 34, 18, .6), transparent 68%),
    linear-gradient(160deg, #b33425 0%, #812018 51%, #2d120e 100%);
  color: white;
}

.showcase-coffee h2 {
  margin-top: 17px;
  font-size: 18px;
}

.showcase-coffee img {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: right center;
  filter: none;
  transform: none;
}

.showcase-coffee::after {
  left: 0;
  right: 0;
  top: auto;
  bottom: -18px;
  z-index: 0;
  width: auto;
  height: 88px;
  border-radius: 0 0 22px 22px;
  background:
    radial-gradient(ellipse 62% 42% at 69% 18%, rgba(21, 8, 5, .5), transparent 72%),
    linear-gradient(180deg, rgba(72, 15, 10, 0), rgba(82, 20, 12, .62) 36%, rgba(23, 10, 8, .78));
  animation: none;
}

.showcase-arrow {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 15px;
}

.showcase-gift {
  grid-column: 1 / -1;
  padding: 14px;
  background: #162a48;
}

.showcase-gift span,
.showcase-gift b {
  position: relative;
  z-index: 2;
}

.showcase-gift span {
  max-width: 150px;
  font-size: 17px;
  line-height: .94;
}

.showcase-gift b {
  margin-top: 5px;
  color: rgba(255, 255, 255, .78);
}

.showcase-gift img {
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(120px, 42%, 168px);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.showcase-gift::after {
  z-index: 1;
  right: clamp(60px, 30%, 106px);
  top: 0;
  width: clamp(60px, 24%, 92px);
  height: 100%;
  border-radius: 0;
  background: linear-gradient(90deg, #162a48, transparent);
}

.product {
  overflow: hidden;
}

.product-img {
  height: 151px;
  background: transparent;
}

.product-img img {
  transform: scale(1.01);
}

/* ══════════════════════════════════════════════════
   RESPONSIVE: Compact mini phones (≤ 360px)
   Galaxy A-series mini, iPhone SE 1st/2nd gen,
   older budget Androids — viewport 320–360px wide
   ══════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .site-header,
  .content { padding-inline: 12px; }

  .filter-chips,
  .smart-picks-inner,
  .deals-row {
    margin-inline: -12px;
    padding-inline: 12px;
  }

  /* Showcase: shrink rows so the grid fits a 320–360px tall viewport */
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 220px 72px;
    gap: 8px;
  }

  .showcase-mix h1 {
    font-size: 20px;
    letter-spacing: -1.2px;
    margin-top: 12px;
  }

  .showcase-coffee h2 {
    font-size: 15px;
    margin-top: 12px;
  }

  .showcase-gift span {
    font-size: 14px;
    max-width: 110px;
  }

  .showcase-gift b {
    font-size: 9px;
  }

  .showcase-gift img {
    width: clamp(90px, 38%, 130px);
  }

  .showcase-gift::after {
    right: clamp(50px, 26%, 80px);
    width: clamp(50px, 20%, 70px);
  }

  .showcase, .showcase-grid { border-radius: 18px; }

  /* Deal cards: slightly narrower on tiny phones */
  .deal-card {
    flex: 0 0 158px;
    width: 158px;
    min-height: 162px;
  }

  .deal-card strong { font-size: 17px; max-width: 110px; }
  .deal-card small  { font-size: 9px; }

  /* Products grid */
  .product { min-height: 248px; }
  .product-img { height: 118px; }
  .product h3 { font-size: 12px; min-height: 28px; }
  .product-desc { font-size: 9px; }
  .price strong { font-size: 12px; }
  .add { width: 30px; height: 30px; }

  /* Category tiles */
  .filter-chip { width: 68px; height: 98px; flex: 0 0 68px; font-size: 9px; }

  /* Bottom nav on tiny phone */
  .bottom-nav {
    width: calc(100% - 16px);
    height: 62px;
    gap: 1px;
    padding: 6px;
    border-radius: 20px;
  }

  .bottom-nav button,
  .bottom-nav .bottom-nav-link {
    font-size: 8px;
    border-radius: 14px;
  }

  .bottom-nav svg { width: 17px; height: 17px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE: Standard small phones (361px – 390px)
   iPhone 12 mini, iPhone 13 mini, iPhone SE 3rd gen,
   Galaxy S22, many mid-range Androids
   ══════════════════════════════════════════════════ */
@media (min-width: 361px) and (max-width: 390px) {
  .showcase-grid {
    grid-template-rows: 238px 76px;
  }

  .showcase-mix h1 {
    font-size: 22px;
    letter-spacing: -1.4px;
  }

  .showcase-coffee h2 {
    font-size: 16px;
  }

  .showcase-gift span {
    font-size: 15px;
  }

  .deal-card {
    flex: 0 0 168px;
    width: 168px;
    min-height: 168px;
  }

  .product { min-height: 260px; }
  .product-img { height: 128px; }
  .product h3 { font-size: 12.5px; }
  .price strong { font-size: 13px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE: Standard large phones (391px – 430px)
   iPhone 14, 15, Pixel 7/8, Galaxy S23/24
   This is the primary target — base styles already
   tuned here; only minor tweaks needed.
   ══════════════════════════════════════════════════ */
@media (min-width: 391px) and (max-width: 430px) {
  .showcase-grid {
    grid-template-rows: 258px 80px;
  }

  .showcase-mix h1 {
    font-size: 26px;
  }

  .showcase-coffee h2 {
    font-size: 19px;
  }

  .product-img { height: 144px; }
}

/* ═══════════════════════════════════════════════════
   KURDISH LANGUAGE SUPPORT — i18n & RTL
   ═══════════════════════════════════════════════════ */

/* Kurdish font for Arabic script (Sorani) */
:root[lang="ckb"],
:root[lang="ckb"] body {
  font-family: "Vazirmatn", "Segoe UI", system-ui, sans-serif;
}

:root[lang="ckb"] body {
  font-size-adjust: .52;
  text-align: start;
}

:root[lang="ckb"] button,
:root[lang="ckb"] input,
:root[lang="ckb"] select,
:root[lang="ckb"] textarea {
  font-family: "Vazirmatn", "Segoe UI", system-ui, sans-serif;
}

:root[lang="ckb"] .splash-name,
:root[lang="ckb"] .brand-sign b,
:root[lang="ckb"] .showcase-mix h1,
:root[lang="ckb"] .showcase-coffee h2,
:root[lang="ckb"] .showcase-gift span,
:root[lang="ckb"] .filter-panel-head h2,
:root[lang="ckb"] .section-title h2,
:root[lang="ckb"] .deal-card strong,
:root[lang="ckb"] .sheet-head h2,
:root[lang="ckb"] .detail-body h2 {
  font-family: "Vazirmatn", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  line-height: 1.12;
  text-transform: none;
}

:root[lang="ckb"] .splash-sub,
:root[lang="ckb"] .brand-sign small,
:root[lang="ckb"] .fulfillment-bar small,
:root[lang="ckb"] .showcase-label,
:root[lang="ckb"] .filter-panel-head p,
:root[lang="ckb"] .section-title p,
:root[lang="ckb"] .section-title span,
:root[lang="ckb"] .badge,
:root[lang="ckb"] .deal-label,
:root[lang="ckb"] .deal-cta,
:root[lang="ckb"] .price small {
  letter-spacing: 0;
  text-transform: none;
}

:root[lang="ckb"] .brand-sign small {
  font-size: 10px;
  line-height: 1.25;
}

:root[lang="ckb"] .fulfillment-bar {
  justify-content: flex-start;
  text-align: right;
}

:root[lang="ckb"] .fulfillment-bar > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

:root[lang="ckb"] .fulfillment-bar b {
  font-size: 13px;
  line-height: 1.35;
}

:root[lang="ckb"] .showcase-mix {
  padding-left: 2px;
}

:root[lang="ckb"] .showcase-mix,
:root[lang="ckb"] .showcase-coffee,
:root[lang="ckb"] .showcase-gift,
:root[lang="ckb"] .deal-card,
:root[lang="ckb"] .product,
:root[lang="ckb"] .sheet-card {
  text-align: right;
}

:root[lang="ckb"] .showcase-mix h1 {
  position: relative;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  margin: 15px 0 7px;
  margin-left: 0;
  margin-right: auto;
  max-width: 90px;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .48);
  transform: translateX(-30px);
}

:root[lang="ckb"] .showcase-mix p {
  max-width: 112px;
  font-size: 11px;
  line-height: 1.45;
  margin-left: 0;
  margin-right: auto;
  text-align: right;
  transform: translateX(-30px);
}

:root[lang="ckb"] .showcase-coffee h2 {
  position: absolute;
  top: 52px;
  right: auto;
  left: 4px;
  max-width: 104px;
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .48);
  z-index: 3;
}

:root[lang="ckb"] .showcase-gift span {
  max-width: 162px;
  font-size: 18px;
}

:root[lang="ckb"] .showcase-gift b,
:root[lang="ckb"] .deal-card small,
:root[lang="ckb"] .product-desc {
  line-height: 1.45;
}

:root[lang="ckb"] .filter-panel-head,
:root[lang="ckb"] .section-title,
:root[lang="ckb"] .sheet-head,
:root[lang="ckb"] .buy-row,
:root[lang="ckb"] .live-price,
:root[lang="ckb"] .total-row,
:root[lang="ckb"] .order-line {
  direction: rtl;
}

:root[lang="ckb"] .filter-panel-head h2,
:root[lang="ckb"] .section-title h2 {
  font-size: 25px;
}

:root[lang="ckb"] .filter-chip {
  padding-inline: 6px;
  font-size: 11px;
  line-height: 1.22;
}

:root[lang="ckb"] .smart-pick {
  font-size: 11px;
  line-height: 1.2;
}

:root[lang="ckb"] .deal-card strong {
  max-width: 134px;
  font-size: 20px;
}

:root[lang="ckb"] .deals-row {
  direction: ltr;
}

:root[lang="ckb"] .deal-card {
  direction: rtl;
}

:root[lang="ckb"] .deal-card small {
  max-width: 136px;
  font-size: 11px;
}

:root[lang="ckb"] .product h3 {
  min-height: 38px;
  font-size: 14px;
  line-height: 1.25;
}

:root[lang="ckb"] .product-desc {
  min-height: 34px;
  font-size: 11px;
}

:root[lang="ckb"] .price {
  direction: rtl;
}

:root[lang="ckb"] .price strong,
:root[lang="ckb"] .live-price strong,
:root[lang="ckb"] .total-row strong {
  direction: ltr;
  unicode-bidi: isolate;
}

:root[lang="ckb"] .amount-tabs,
:root[lang="ckb"] .preset-grid,
:root[lang="ckb"] .detail-actions {
  direction: rtl;
}

:root[lang="ckb"] .field,
:root[lang="ckb"] .location-form label,
:root[lang="ckb"] .search-panel {
  text-align: right;
}

:root[lang="ckb"] input,
:root[lang="ckb"] select,
:root[lang="ckb"] textarea {
  direction: rtl;
  text-align: right;
}

/* ── Language toggle button ── */
.lang-toggle {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

:root[lang="ckb"] .lang-toggle {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

/* ── RTL directional overrides ── */

/* Cart badge: stays at top-end corner in both directions */
[dir="rtl"] .cart-trigger b {
  right: auto;
  left: -3px;
}

/* Deals row fade gradients flip for RTL */
[dir="rtl"] .deals-row::before {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

[dir="rtl"] .deals-row::after {
  right: auto;
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

/* Showcase gift card image & gradient flip */
[dir="rtl"] .showcase-gift img {
  right: auto;
  left: 0;
}

[dir="rtl"] .showcase-gift::after {
  right: auto;
  left: clamp(60px, 30%, 106px);
  background: linear-gradient(270deg, #162a48, transparent);
}

/* Brand sign mark radius flips naturally in RTL,
   but the decorative skew corner needs inverting */
[dir="rtl"] .brand-sign-mark {
  border-radius: 15px 15px 15px 5px;
}

/* Fulfillment bar chevron should face left in RTL */
[dir="rtl"] .fulfillment-bar > svg {
  transform: scaleX(-1);
}

/* Nav cart badge count flip */
[dir="rtl"] .nav-cart-count {
  right: auto;
  left: 18px;
}

/* Deal cards text alignment */
[dir="rtl"] .deal-card {
  text-align: right;
}

/* Showcase mix, coffee card content flips */
[dir="rtl"] .showcase-mix img {
  left: auto;
  right: -10%;
  transform: none;
  object-position: right bottom;
}

[dir="rtl"] .showcase-coffee img {
  right: 0;
  left: 0;
  transform: none;
  object-position: left center;
}

[dir="rtl"] .showcase-mix::after {
  right: 0;
  left: 0;
}

[dir="rtl"] .showcase-coffee::after {
  right: 0;
  left: 0;
}

[dir="rtl"] .showcase-arrow {
  right: auto;
  left: 10px;
}

[dir="rtl"] .showcase-cta {
  left: auto;
  right: 15px;
}

[dir="rtl"] .page-btn svg {
  transform: scaleX(-1);
}

/* Fulfillment bar text alignment */
[dir="rtl"] .fulfillment-bar {
  text-align: right;
}

/* Smooth transition when flipping direction */
html {
  transition: none;
}
