/* ==========================================================================
   Store: header, hero slider, shop, category, flower, cart, confirmation.
   Mobile first; wider layouts start at 760px and 960px.
   ========================================================================== */

/* ---------- Boot screen ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--bg);
  color: var(--ink);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.boot.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot svg {
  color: var(--brand-mark-bg);
  filter: drop-shadow(0 4px 14px rgba(201, 59, 110, 0.22));
  animation: bootPulse 1.8s ease-in-out infinite;
}

@keyframes bootPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.boot b {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.boot-bar {
  width: 130px;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.boot-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--brand-mark-bg);
  border-radius: 999px;
  animation: slide 1.1s ease-in-out infinite;
}

@keyframes slide {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(300%);
  }
}

/* ---------- Header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--top);
  color: var(--top-ink);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--top-line);
  padding-top: var(--safe-t);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.top.scrolled {
  box-shadow: 0 10px 28px rgba(157, 75, 110, 0.08);
}

/* Mobile: brand + actions only in the row */
.top-row {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 0 14px;
  padding-inline: 14px 4px;
  min-height: 54px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--top-ink);
}

.brand-mark {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-mark-bg);
  color: var(--brand-mark-ink);
  border: 1px solid var(--brand-mark-border);
  box-shadow: var(--brand-mark-shadow);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08);
}

.brand-name {
  font-size: 1rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top .icon-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.top .pill-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#searchBtn,
#themeBtn,
#langBtn,
.cart-btn {
  min-width: 44px;
  min-height: 44px;
}

.top .icon-btn.on-dark {
  color: var(--top-ink);
}

.top .pill-btn.on-dark {
  color: var(--top-ink);
  border-color: var(--line);
  background: var(--surface-glass);
}

@media (hover: hover) and (pointer: fine) {
  .top .icon-btn.on-dark:hover {
    background: var(--surface-2);
  }

  .top .pill-btn.on-dark:hover {
    background: var(--surface-2);
    border-color: var(--btn);
  }
}

.top .icon-btn:active,
.top .pill-btn:active {
  transform: scale(0.92);
}

.cart-btn .count {
  position: absolute;
  top: 3px;
  inset-inline-end: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 0.6875rem/20px var(--font);
  text-align: center;
  box-shadow: 0 2px 6px rgba(157, 75, 110, 0.3);
}

/* Mobile search overlay — hidden by default, drops below nav as an absolute panel */
.search-overlay {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 10;
  background: var(--top);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--top-line);
  box-shadow: var(--shadow);
}

.search-overlay.open {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 12px;
  padding-inline: 12px 8px;
  animation: searchSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes searchSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  padding-inline: 42px 44px;
  font-size: 1rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search input::placeholder {
  color: var(--muted);
}

.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

.search input:focus,
.search input:focus-visible {
  outline: none;
}

.search:focus-within input {
  background: var(--surface);
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(157, 75, 110, 0.16);
}

.search-ic {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: grid;
}

.search-clear {
  position: absolute;
  inset-inline-end: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.search-clear::after {
  content: "";
  position: absolute;
  inset: -6px;
}

.search-clear:active {
  transform: translateY(-50%) scale(0.9);
}

@media (hover: hover) and (pointer: fine) {
  .search-clear:hover {
    background: var(--surface-2);
    color: var(--ink);
  }
}

/* Collapse chevron — sits beside the search pill on mobile */
.search-close {
  flex: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.search-close svg {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .search-close:hover {
    background: var(--surface-2);
    color: var(--ink);
  }
}

.search-close:active {
  transform: scale(0.92);
}

/* Desktop: search-overlay participates in the 3-column grid via display:contents */
@media (min-width: 860px) {
  .top-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding-inline: 20px 12px;
  }

  .brand {
    font-size: 1.125rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  /* Dissolve the overlay wrapper so .search becomes the grid's middle column */
  .search-overlay {
    all: unset;
    display: contents !important;
  }

  .search {
    position: relative;
    min-width: 0;
  }

  .search input {
    height: 42px;
    padding-inline: 44px 44px;
    font-size: 1rem;
  }

  .search-ic {
    inset-inline-start: 14px;
  }

  .search-clear {
    inset-inline-end: 8px;
  }

  /* Hide mobile-only controls */
  .search-close,
  #searchBtn {
    display: none !important;
  }

  .top-actions {
    gap: 4px;
  }
}

body[data-route="sent"] .search-overlay,
body[data-route="error"] .search-overlay {
  display: none !important;
}

body[data-route="sent"] #searchBtn,
body[data-route="error"] #searchBtn {
  display: none;
}

body[data-route="error"] .foot {
  display: none;
}



/* ---------- View transitions ---------- */
.view {
  outline: none;
  min-height: 60vh;
}

.view.enter {
  animation: viewIn 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Scroll reveal (added by JavaScript only, so content is never hidden without it) ---------- */
.rv {
  opacity: 0;
  transform: translateY(20px);
}

.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}

/* ---------- Hero slider ---------- */
/* ---------- Hero: Centralized Clean Typography with Stacked Card Deck ---------- */
.hero {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
  contain: paint;
  padding: clamp(24px, 5.5vw, 42px) 16px clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-in {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.85rem, 6.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto 12px;
  text-wrap: balance;
}

[dir="rtl"] .hero h1 {
  letter-spacing: 0;
}

.hero .lead {
  font-size: clamp(0.9375rem, 2.6vw, 1.0625rem);
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
  line-height: 1.55;
  max-width: 38ch;
  margin: 0 auto 20px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-cta .btn {
  min-height: 48px;
  padding: 0 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 0.12s var(--ease-out), filter 0.15s ease, box-shadow 0.15s ease;
}

.hero-cta .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px -2px rgba(157, 75, 110, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-cta .btn-primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 6px 20px -2px rgba(157, 75, 110, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-cta .btn:active {
  transform: scale(0.96);
}

/* Stacked card deck */
.hero-deck-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-deck {
  width: min(285px, 76vw);
  aspect-ratio: 4 / 4.75;
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hero-deck:active .deck-card.card-0 {
  transform: scale(0.985) translateY(2px);
  transition: transform 0.12s ease-out;
}

.hero-deck:active .deck-card.card-1 {
  transform: translate3d(18px, 6px, 0) scale(0.95) rotate(5deg);
}

[dir="rtl"] .hero-deck:active .deck-card.card-1 {
  transform: translate3d(-18px, 6px, 0) scale(0.95) rotate(-5deg);
}

.deck-card {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-2);
  transform-origin: center bottom;
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  border: 1px solid rgba(44, 27, 36, 0.08);
}

.deck-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.04) 100%);
}

:root[data-theme="dark"] .deck-card {
  border-color: rgba(255, 255, 255, 0.14);
}

:root[data-theme="dark"] .deck-card::after {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.25) 100%);
}

.deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border-radius: inherit;
}

.deck-tag {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(18, 10, 15, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

/* Card 0: Front active card */
.deck-card.card-0 {
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 4px 8px -2px rgba(44, 27, 36, 0.05), 0 16px 36px -6px rgba(44, 27, 36, 0.14), 0 32px 64px -12px rgba(44, 27, 36, 0.08);
  pointer-events: auto;
}

/* Card 1: Second card peeking behind */
.deck-card.card-1 {
  transform: translate3d(14px, 4px, 0) scale(0.94) rotate(4deg);
  opacity: 0.9;
  z-index: 4;
  box-shadow: 0 4px 10px -2px rgba(44, 27, 36, 0.04), 0 10px 24px -4px rgba(44, 27, 36, 0.1);
  pointer-events: none;
  filter: brightness(0.96);
}

[dir="rtl"] .deck-card.card-1 {
  transform: translate3d(-14px, 4px, 0) scale(0.94) rotate(-4deg);
}

/* Card 2: Third card peeking deeper behind on opposite side */
.deck-card.card-2 {
  transform: translate3d(-12px, 8px, 0) scale(0.88) rotate(-3.5deg);
  opacity: 0.72;
  z-index: 3;
  box-shadow: 0 2px 6px -1px rgba(44, 27, 36, 0.03), 0 6px 16px -3px rgba(44, 27, 36, 0.06);
  pointer-events: none;
  filter: brightness(0.92);
}

[dir="rtl"] .deck-card.card-2 {
  transform: translate3d(12px, 8px, 0) scale(0.88) rotate(3.5deg);
}

/* Card Back: 4th or more cards hidden in the stack */
.deck-card.card-back {
  transform: translate3d(0, 14px, 0) scale(0.82) rotate(0deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 760px) {
  .hero {
    padding: 44px 24px 32px;
  }

  .hero-deck {
    width: 320px;
  }
}

/* ---------- Desktop Hero Layout (Split 2-Column Showcase) ---------- */
@media (min-width: 860px) {
  .hero {
    padding: clamp(48px, 5.5vw, 68px) 32px clamp(40px, 4.5vw, 56px);
    text-align: start;
    align-items: stretch;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-end: 6%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(157, 75, 110, 0.07) 0%, rgba(157, 75, 110, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
  }

  :root[data-theme="dark"] .hero::before {
    background: radial-gradient(circle, rgba(200, 100, 145, 0.1) 0%, rgba(200, 100, 145, 0) 70%);
  }

  .hero-in {
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 390px);
    align-items: center;
    justify-content: space-between;
    gap: clamp(36px, 5vw, 72px);
    text-align: start;
    position: relative;
    z-index: 1;
  }

  .hero-copy {
    align-items: flex-start;
    text-align: start;
    max-width: 580px;
    margin: 0;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 3.4vw, 3.4rem);
    line-height: 1.16;
    letter-spacing: -0.028em;
    margin: 0 0 16px;
    text-align: start;
  }

  [dir="rtl"] .hero h1 {
    letter-spacing: 0;
  }

  .hero .lead {
    font-size: clamp(1.0625rem, 1.2vw, 1.1875rem);
    line-height: 1.62;
    max-width: 44ch;
    margin: 0 0 28px;
    text-align: start;
  }

  .hero-cta {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .hero-cta .btn {
    min-height: 50px;
    padding: 0 32px;
    font-size: 1rem;
  }

  .hero-deck-wrap {
    max-width: none;
    margin: 0;
    justify-content: center;
    align-items: center;
  }

  .hero-deck {
    width: min(390px, 100%);
    aspect-ratio: 4 / 4.8;
    cursor: grab;
  }

  .hero-deck:active {
    cursor: grabbing;
  }
}

@media (min-width: 1120px) {
  .hero-in {
    grid-template-columns: minmax(0, 1.2fr) 410px;
    gap: 80px;
  }

  .hero-deck {
    width: 410px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-deck:hover .deck-card.card-0 {
    transform: translate3d(0, -6px, 0) scale(1.01);
    box-shadow: 0 8px 16px -2px rgba(44, 27, 36, 0.06), 0 24px 48px -6px rgba(44, 27, 36, 0.16), 0 40px 80px -12px rgba(44, 27, 36, 0.1);
  }

  .hero-deck:hover .deck-card.card-1 {
    transform: translate3d(18px, 6px, 0) scale(0.95) rotate(5deg);
  }

  [dir="rtl"] .hero-deck:hover .deck-card.card-1 {
    transform: translate3d(-18px, 6px, 0) scale(0.95) rotate(-5deg);
  }

  .hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 8px 24px -2px rgba(157, 75, 110, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

/* ---------- Page scaffolding ---------- */
.page {
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 12px 16px calc(96px + var(--safe-b));
}

.page.narrow {
  max-width: 640px;
}

.page-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 18px;
}

.page-head-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-order-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface));
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(157, 75, 110, 0.1);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  animation: pill-appear 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-order-total:hover {
  background: color-mix(in srgb, var(--accent) 24%, var(--surface));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(157, 75, 110, 0.18);
  color: var(--accent);
}

.badge-order-total:active {
  transform: scale(0.97);
}

.badge-order-total:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.badge-order-total .ic {
  flex-shrink: 0;
}

.page-head-sub {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

.page-head-sep {
  opacity: 0.45;
}

.page-head h1,
.block-head h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
}

.h-sm {
  font-size: 1.125rem;
}

.block {
  margin-bottom: 40px;
  scroll-margin-top: 150px;
}

.block-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.block-head h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.625rem);
}

.block-head.row {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  width: fit-content;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
}

.back .ic {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}

.back:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 15%, transparent);
}

.back:active {
  transform: scale(0.97);
}

.back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ---------- Live Market Proof Bar: infinite one-line continuous scrolling marquee ---------- */
.market-ticker {
  position: relative;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: hidden;
  margin: 4px 0 16px;
  padding: 8px 0;
  background: transparent;
  user-select: none;
  -webkit-user-select: none;
  direction: ltr;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  width: max-content;
  direction: ltr;
  margin: 0;
  padding: 0;
  will-change: transform;
  animation: tickerScroll 32s linear infinite;
}

@media (hover: hover) {
  .market-ticker:hover .ticker-track {
    animation-play-state: paused;
  }
}

@keyframes tickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
  padding-right: 18px;
}

.datum-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 0.8125rem;
  line-height: 1;
  color: var(--muted);
  font-weight: 500;
}

[dir="rtl"] .datum-item {
  direction: rtl;
}

[dir="ltr"] .datum-item {
  direction: ltr;
}

.datum-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.datum-item b {
  color: var(--ink);
  font-weight: 700;
}

.datum-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.datum-ic .ic {
  width: 15px;
  height: 15px;
  stroke-width: 2px;
}

.datum-dot.live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: datumPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  flex-shrink: 0;
}

@keyframes datumPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

.datum-sep {
  color: var(--line-strong);
  opacity: 0.5;
  font-size: 0.875rem;
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}

@media (min-width: 760px) {
  .market-ticker {
    margin: 8px 0 24px;
    padding: 10px 0;
  }

  .datum-item {
    font-size: 0.875rem;
    gap: 8px;
  }

  .datum-ic .ic {
    width: 16px;
    height: 16px;
  }
}

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

  .market-ticker {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .market-ticker::-webkit-scrollbar {
    display: none;
  }
}

/* ---------- Filter chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  margin: 0 -16px 18px;
  padding: 2px 16px 6px;
  scrollbar-width: none;
}

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

.chip {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(157, 75, 110, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
  }
}

.chip:active {
  transform: scale(0.95);
  transition: transform 0.12s var(--ease-spring);
}

.chip[aria-pressed="true"] {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-ink);
  box-shadow: 0 4px 14px rgba(157, 75, 110, 0.28);
}

.chip-n {
  font-size: 0.75rem;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 760px) {
  .chips {
    margin-inline: 0;
    padding-inline: 0;
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 399px) {
  .cat-grid {
    gap: 12px;
  }
}

.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease;
}

.cat-card:active {
  transform: scale(0.98);
}

.cat-media {
  height: auto;
  aspect-ratio: 4 / 3;
}

.cat-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.cat-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.3;
  text-transform: capitalize;
}

.cat-body .alt {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.35;
}

.cat-meta {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 6px;
}

.cat-count {
  white-space: nowrap;
  flex-shrink: 0;
}

.f-media img,
.cat-media img {
  transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 760px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .cat-body {
    padding: 12px 14px 14px;
    gap: 3px;
  }

  .cat-body h3 {
    font-size: 1.0625rem;
  }

  .cat-meta {
    padding-top: 8px;
  }
}

@media (min-width: 1000px) {
  .cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Recent orders: swipeable carousel on phones, grid on larger screens ---------- */
.carousel {
  position: relative;
}

.car-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  margin-inline: -16px;
  padding: 2px 16px 10px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.car-track::-webkit-scrollbar {
  display: none;
}

.car-track>.ro {
  flex: 0 0 min(84%, 340px);
  scroll-snap-align: start;
}

.car-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.car-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--line-strong);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.car-dot::after {
  content: "";
  position: absolute;
  inset: -18px -4px;
}

.car-dot.on {
  width: 22px;
  background: var(--accent);
}

.ro {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ro-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ro-lines {
  flex: 1;
  color: var(--muted);
  font-size: 0.9375rem;
}

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

@media (min-width: 760px) {
  .car-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .car-track>.ro {
    flex: none;
  }

  .car-dots {
    display: none;
  }
}

/* ---------- Flower cards ---------- */
.f-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 399px) {
  .f-grid {
    gap: 12px;
  }
}

.f-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.f-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease-out), box-shadow 0.25s ease;
}

.f-card:active {
  transform: scale(0.98);
}

.f-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.f-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.f-body h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.3;
}

.f-body .alt {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  line-height: 1.35;
}

.f-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.f-count {
  white-space: nowrap;
  flex-shrink: 0;
}

.dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-shrink: 1;
}

.dots .sw {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.more {
  font-size: 0.75rem;
  margin-inline-start: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.is-out .f-media .media {
  filter: grayscale(0.8);
  opacity: 0.8;
}

.f-list .f-card {
  flex-direction: row;
  align-items: stretch;
}

.f-list .f-media {
  width: 116px;
  aspect-ratio: 1;
  flex: none;
}

.f-list .f-body {
  flex: 1;
  justify-content: center;
}

@media (min-width: 760px) {
  .f-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1000px) {
  .f-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (hover: hover) and (pointer: fine) {

  .cat-card:hover,
  .f-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
    box-shadow: 0 4px 10px rgba(157, 75, 110, 0.06), 0 18px 36px rgba(157, 75, 110, 0.14);
  }

  .cat-card:hover img,
  .f-card:hover .f-media img {
    transform: scale(1.05);
  }
}

.cat-card:focus-visible,
.f-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r);
}

/* ---------- Flower page ---------- */
.f-layout {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.f-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.g-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface-2);
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.g-track::-webkit-scrollbar {
  display: none;
}

.g-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
}

.g-slide-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: inherit;
  touch-action: pan-x pan-y;
}

div.g-slide-btn {
  cursor: default;
}

.g-slide-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.g-slide .media {
  width: 100%;
  height: 100%;
}

.g-slide .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .g-slide-btn:hover .media img {
    transform: scale(1.02);
  }
}

.g-zoom {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(30, 16, 24, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.g-zoom:hover {
  transform: scale(1.08);
  background: rgba(30, 16, 24, 0.88);
}

.g-zoom:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.g-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(30, 16, 24, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.g-arrow.prev {
  inset-inline-start: 12px;
}

.g-arrow.next {
  inset-inline-end: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .g-main:hover .g-arrow {
    opacity: 1;
  }

  .g-arrow:hover {
    background: rgba(30, 16, 24, 0.88);
    transform: translateY(-50%) scale(1.08);
  }
}

.g-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.g-counter-wrap {
  position: absolute;
  inset-inline: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.g-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 48px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(20, 10, 16, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.g-counter:hover {
  background: rgba(20, 10, 16, 0.88);
  transform: scale(1.04);
}

.g-counter:active {
  transform: scale(0.96);
}

.g-counter:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.g-counter-sep {
  opacity: 0.55;
  font-weight: 400;
  font-size: 0.6875rem;
  margin: 0 1px;
}

.pack-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease;
}

.pack-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pack-card-head .ic {
  color: var(--accent);
  flex-shrink: 0;
}

.pack-card-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pack-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 0;
  min-width: 0;
}

.pack-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.pack-stat-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

.pack-stat-sep {
  width: 1px;
  height: 28px;
  background: var(--line);
  flex-shrink: 0;
}

.hint {
  margin-top: 4px;
}

/* ---------- Color section (flower detail) ---------- */
.color-section {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 641px) {
  .color-section {
    padding: 18px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
}

.color-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.color-swatches-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 12px;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 4px 0 8px;
  box-sizing: border-box;
}

.csw {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  border: 2px solid var(--line);
  padding: 2.5px;
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.18s ease,
    box-shadow 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.csw::before {
  content: "";
  position: absolute;
  inset: -4px;
  /* Expands hit target to 46×46px without altering visual size (WCAG 2.5.5) */
  border-radius: 50%;
}

.csw .csw-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) and (pointer: fine) {
  .csw:hover {
    transform: scale(1.08);
    border-color: var(--accent);
  }

  .csw.on:hover {
    transform: scale(1.1);
  }
}

.csw:active {
  transform: scale(0.92);
  transition: transform 0.1s ease;
}

.csw.on {
  border-color: var(--accent);
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--accent) 30%, transparent), 0 3px 10px rgba(157, 75, 110, 0.22);
  transform: scale(1.08);
  animation: csw-spring 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes csw-spring {
  0% {
    transform: scale(0.92);
  }

  60% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1.08);
  }
}

.csw.oos {
  opacity: 0.45;
}

.csw.oos::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #ff5252;
  transform: rotate(-45deg);
  border-radius: 1px;
}

.csw-badge {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  border-radius: 9px;
  background: var(--btn);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--surface);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: badge-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badge-pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Active Color Card */
.color-active-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 8%, transparent);
}

.color-active-card.has-qty {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 85%, var(--surface));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 12%, transparent);
}

.color-active-card:has(output.bump) {
  animation: cac-bump 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cac-bump {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.cac-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.cac-title-row {
  display: flex;
  align-items: baseline;
  gap: 6px 10px;
  flex-wrap: wrap;
}

.cac-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.cac-alt {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.25;
}

.cac-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  margin-top: 2px;
}

.cac-stock.in {
  color: var(--wa);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cac-stock.out {
  color: var(--danger);
  font-weight: 600;
}

.cac-yield {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 15%, var(--surface));
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  animation: pill-appear 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pill-appear {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cac-action {
  flex: 0 0 auto;
  margin-inline-start: auto;
  display: flex;
  align-items: center;
}

.cac-action .stepper {
  background: var(--surface);
  border: 1.5px solid color-mix(in srgb, var(--ink) 14%, var(--line));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Stepper button sizing & touch press states */
.stepper .step {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  border: 1.5px solid var(--line-strong);
  transition: transform 120ms var(--ease-out), box-shadow 0.18s ease, background-color 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.stepper .step:disabled {
  opacity: 1;
  border-color: color-mix(in srgb, var(--ink) 30%, var(--line));
  color: color-mix(in srgb, var(--ink) 40%, transparent);
  background: var(--surface);
}

.stepper .step:active:not(:disabled) {
  transform: scale(0.90);
  background-color: color-mix(in srgb, var(--ink) 12%, var(--surface));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent);
}

.stepper .step-add:active:not(:disabled) {
  transform: scale(0.90);
  filter: brightness(0.9);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn) 40%, transparent);
}

@media (max-width: 480px) {
  .color-active-card {
    padding: 12px 14px;
    gap: 10px;
  }
}

@media (min-width: 900px) {
  .f-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .gallery {
    position: sticky;
    top: 92px;
  }
}

/* Flower page: compact bottom spacing above footer */
body[data-route="flower"] #view,
body[data-route="flower"] .view {
  min-height: 0;
}

body[data-route="flower"] .page,
.flower-page {
  padding-bottom: calc(24px + var(--safe-b));
}

body[data-route="flower"] .color-section,
.flower-page .color-section {
  margin-bottom: 0;
}

@media (min-width: 900px) {

  body[data-route="flower"] .page,
  .flower-page {
    padding-bottom: 32px;
  }
}

/* ---------- Cart ---------- */
.cart-grid {
  display: grid;
  gap: 18px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.grp {
  padding: 14px 16px;
}

.grp-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.grp-h h3 {
  font-size: 1.0625rem;
}

.grp-h .muted {
  font-size: 0.8125rem;
}

.lines {
  display: flex;
  flex-direction: column;
}

.line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.line:first-child {
  border-top: 0;
}

.line-img {
  width: 64px;
  height: 64px;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}

.line-t {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.line-n {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.line-t small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.line-a {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

@media (max-width: 480px) {
  .line {
    gap: 10px;
    padding: 12px 0;
  }

  .line-img {
    width: 56px;
    height: 56px;
  }

  .line-a {
    width: 100%;
    justify-content: flex-end;
    padding-top: 4px;
  }
}

.summary {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 3-column totals breakdown */
.totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  margin: 4px 0 6px;
}

.totals div {
  padding: 12px 6px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.totals dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.totals dd {
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Mobile Cart & Order Form */
#orderForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#orderForm .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#orderForm .field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

#orderForm .input,
#orderForm input,
#orderForm textarea {
  font-size: 16px !important;
  /* Prevents iOS Safari auto-zoom on focus */
  border-radius: var(--r-sm);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Prominent WhatsApp send button */
#sendBtn {
  min-height: 54px;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--r);
  background: #15803d;
  /* High-contrast WhatsApp brand green (WCAG AA accessible with white text) */
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(22, 128, 61, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s var(--ease-out), filter 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  #sendBtn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(22, 128, 61, 0.42);
  }
}

#sendBtn:active:not(:disabled) {
  transform: scale(0.97);
  filter: brightness(0.94);
  box-shadow: 0 2px 8px rgba(22, 128, 61, 0.3);
}

#sendBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.2);
}

.preview {
  margin: 0 0 14px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.preview summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
}

.preview pre {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-all;
  margin: 0 0 12px;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--muted);
  unicode-bidi: plaintext;
  text-align: start;
}

@media (min-width: 960px) {
  .cart-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr);
    gap: 28px;
    align-items: start;
  }

  .summary {
    position: sticky;
    top: 92px;
  }
}

/* ---------- Confirmation ---------- */
.done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 4px;
}

.done-ic {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--wa) 16%, var(--surface));
  color: var(--wa);
  animation: pop 0.5s ease;
}

@keyframes pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }

  70% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.done-meta {
  display: flex;
  gap: 12px;
}

.done-meta div {
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.done-meta dt {
  font-size: 0.75rem;
  color: var(--muted);
}

.done-meta dd {
  font-weight: 800;
  font-size: 1.125rem;
}

.done-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  margin-top: 8px;
}

/* ---------- Floating cart bar (phones) and footer ---------- */
.cartbar {
  position: fixed;
  z-index: 40;
  inset-inline: 12px;
  bottom: calc(14px + var(--safe-b));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--btn) 94%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--btn-ink);
  box-shadow: 0 12px 32px rgba(157, 75, 110, 0.38), 0 2px 8px rgba(0, 0, 0, 0.12);
  animation: cartbar-rise 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: transform 0.16s var(--ease-out), box-shadow 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cartbar:active {
  transform: scale(0.98);
}

@keyframes cartbar-rise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cb-l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb-s {
  opacity: 0.8;
  font-size: 0.8125rem;
}

.cb-r {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

@media (min-width: 900px) {
  .cartbar {
    display: none !important;
  }

  .page {
    padding-bottom: 64px;
  }
}

/* ---------- Back to top floating arrow ---------- */
.back-top {
  position: fixed;
  z-index: 38;
  inset-inline-end: 16px;
  bottom: calc(16px + var(--safe-b));
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-glass);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(157, 75, 110, 0.15), 0 1px 3px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.88);
  transition: opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.25s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    bottom 0.3s ease;
  pointer-events: none;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .back-top:hover {
    background: var(--surface-2);
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgba(157, 75, 110, 0.24);
  }
}

.back-top:active {
  transform: translateY(0) scale(0.94);
}

.back-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Float above the mobile cart bar if items are in the cart */
@media (max-width: 899px) {

  body.has-cartbar .back-top,
  body:has(#cartbar:not([hidden])) .back-top {
    bottom: calc(80px + var(--safe-b));
  }
}

@media (min-width: 760px) {
  .back-top {
    inset-inline-end: 24px;
    bottom: calc(24px + var(--safe-b));
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-top {
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transform: none !important;
  }
}

.foot {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 -4px 20px rgba(157, 75, 110, 0.03);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.foot-in {
  max-width: 1180px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 40px 20px calc(80px + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 860px) {
  .foot-in {
    padding: 48px 24px calc(72px + var(--safe-b));
    gap: 32px;
  }
}

.foot-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 100%;
}

@media (min-width: 860px) {
  .foot-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: start;
    gap: 48px;
  }
}

.foot-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 480px;
}

@media (min-width: 860px) {
  .foot-brand-col {
    align-items: flex-start;
    text-align: start;
  }
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-decoration: none;
}

.foot-brand .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
}

.foot-brand-name {
  font-family: inherit;
}

.foot-tag {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.foot-actions-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

@media (min-width: 860px) {
  .foot-actions-col {
    align-items: flex-start;
    text-align: start;
  }
}

.foot-h {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 860px) {
  .foot-links {
    justify-content: flex-start;
  }
}

.foot-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.foot-pill:active {
  transform: scale(0.96);
}

.foot-wa {
  background: color-mix(in srgb, #25d366 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #25d366 32%, var(--line));
  color: #128c46;
}

.foot-ig {
  background: color-mix(in srgb, #e1306c 9%, var(--surface));
  border: 1px solid color-mix(in srgb, #e1306c 28%, var(--line));
  color: #c13584;
}

:root[data-theme="dark"] .foot-wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #4ade80;
}

:root[data-theme="dark"] .foot-ig {
  background: rgba(225, 48, 108, 0.12);
  border-color: rgba(225, 48, 108, 0.35);
  color: #f472b6;
}

@media (hover: hover) and (pointer: fine) {
  .foot-wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  }

  .foot-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
  }
}

/* Colophon & Developer Credit */
.foot-colophon {
  width: 100%;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (min-width: 860px) {
  .foot-colophon {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.foot-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  opacity: 0.9;
}

.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.dev-by {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ink) 65%, var(--muted));
}

.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, #25d366 10%, var(--surface));
  border: 1px solid color-mix(in srgb, #25d366 30%, var(--line));
  color: #128c46;
  text-decoration: none;
  font-size: 0.78125rem;
  line-height: 1.25;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 2px rgba(37, 211, 102, 0.06);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

:root[data-theme="dark"] .dev-badge {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #4ade80;
}

.dev-ic {
  display: block;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}

.dev-name {
  font-weight: 700;
  letter-spacing: 0.015em;
  color: inherit;
}

[dir="rtl"] .dev-name {
  letter-spacing: 0;
}

.dev-arrow {
  display: inline-block;
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.16s ease;
  opacity: 0.8;
}

[dir="rtl"] .dev-arrow {
  transform: scaleX(-1);
}

@media (hover: hover) and (pointer: fine) {
  .dev-badge:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 16px -1px rgba(37, 211, 102, 0.42);
    transform: translateY(-1px);
  }

  .dev-badge:hover .dev-arrow {
    transform: translate(2px, -2px);
    opacity: 1;
  }

  [dir="rtl"] .dev-badge:hover .dev-arrow {
    transform: scaleX(-1) translate(2px, -2px);
    opacity: 1;
  }

  .dev-badge:hover .dev-ic {
    transform: scale(1.08);
  }
}

.dev-badge:active {
  transform: scale(0.96);
  transition: transform 80ms ease-out;
}

/* ==========================================================================
   404 Not Found (Client View & Error States)
   ========================================================================== */
.not-found-page {
  padding-top: 24px;
  padding-bottom: calc(64px + var(--safe-b));
}

.not-found-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 44px 24px;
  max-width: 580px;
  margin: 0 auto;
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.not-found-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.not-found-halo {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-mark-bg) 20%, transparent) 0%, transparent 72%);
  pointer-events: none;
  animation: notFoundPulse 4s ease-in-out infinite alternate;
}

@keyframes notFoundPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.15);
    opacity: 0.95;
  }
}

.not-found-code {
  font-family: var(--font);
  font-size: clamp(3.75rem, 9vw, 5.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-mark-bg);
  text-shadow: 0 4px 18px rgba(201, 59, 110, 0.22);
  user-select: none;
}

.not-found-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--btn);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin-top: -16px;
  position: relative;
  z-index: 2;
  box-shadow: var(--brand-mark-shadow);
  animation: notFoundFloat 3.6s ease-in-out infinite;
}

@keyframes notFoundFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .not-found-halo,
  .not-found-icon-wrap {
    animation: none !important;
  }
}

.not-found-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.not-found-title {
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.not-found-sub {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 440px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
  width: 100%;
}

.not-found-cats {
  width: 100%;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.not-found-cats-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.not-found-cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
}

@media (max-width: 480px) {
  .not-found-card {
    padding: 36px 16px;
    gap: 16px;
  }

  .not-found-actions {
    flex-direction: column;
    width: 100%;
  }

  .not-found-actions .btn {
    width: 100%;
  }
}