@font-face {
  font-family: 'Waverly CF';
  src: url('/fonts/WaverlyCF-Medium.woff2') format('woff2'),
       url('/fonts/WaverlyCF-Medium.woff') format('woff'),
       url('/fonts/WaverlyCF-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nexa';
  src: url('/fonts/Nexa-Regular.woff2') format('woff2'),
       url('/fonts/Nexa-Regular.woff') format('woff'),
       url('/fonts/Nexa-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #000;
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #000;
  text-decoration: none;
}

button, select {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

/* Header */
#header {
  padding: 16px 0 8px;
  border-bottom: none;
  background: #fff;
  text-align: center;
}

#logo {
  width: 60%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}

#logo:hover {
  transform: scale(1.03);
}

#logo-link {
  display: block;
  text-decoration: none;
  color: #000;
}

#logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

#logo-text:hover {
  transform: scale(1.03);
}

.logo-arka {
  font-family: 'Waverly CF', 'Playfair Display', 'Georgia', serif;
  font-weight: 500;
  font-size: 72px;
  letter-spacing: 12px;
  text-transform: uppercase;
  line-height: 1;
  color: #000;
}

.logo-sub {
  font-family: 'Nexa', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  margin-top: 8px;
}

/* Tab bar */
#tab-bar {
  display: flex;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 99;
}

.tab-btn {
  flex: 1;
  padding: 12px 4px;
  background: #fff;
  color: #aaa;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}

.tab-btn.active {
  color: #000;
  border-bottom-color: #000;
  font-weight: 700;
}

.tab-btn:active {
  transform: scale(0.95);
}

.tab-badge {
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  border-radius: 7px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: none;
  border: none;
  outline: none;
}

/* Main */
#app {
  padding: 20px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

body.web-mode {
  --web-marquee-offset: 42px;
  --web-toolbar-fixed-height: 176px;
}

body.site-hero-lock {
  overflow: hidden;
}

body.site-cover-active #home-catalog,
body.site-cover-active .web-store-info,
body.site-cover-active #web-quick-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Keep marquee + toolbar rendered from the start; intro covers them as a separate layer */
.site-hero--desktop-slides,
.site-hero--desktop-script {
  z-index: 2400;
}

/* Website preloader + hero (non-Telegram web) */
.site-preloader {
  display: none !important;
  position: fixed;
  inset: 0;
  background: radial-gradient(150% 110% at 50% 38%, #151a2b 0%, #0d101b 54%, #090b12 100%);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 1.45s cubic-bezier(0.22, 1, 0.36, 1), filter 1.45s cubic-bezier(0.22, 1, 0.36, 1);
  /* Failsafe: never keep user on black screen forever. */
  animation: preloaderAutoHide 4.8s ease forwards;
}

.site-preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 52% at 50% 48%, rgba(255, 255, 255, 0.035), transparent 72%),
    radial-gradient(120% 90% at 50% 100%, rgba(0, 0, 0, 0.32), transparent 58%);
  pointer-events: none;
}

.site-preloader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(8px);
  animation: none;
}

@keyframes preloaderAutoHide {
  0%, 82% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.site-preloader-inner {
  text-align: center;
  color: #fff;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-preloader--hidden .site-preloader-inner {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

body.site-preloader-active .site-hero {
  opacity: 0;
  filter: blur(4px);
  transform: scale(1.002);
}

.site-hero {
  transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1), filter 1.45s cubic-bezier(0.22, 1, 0.36, 1), transform 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-preloader-logo {
  width: min(220px, 56vw);
  height: auto;
  filter: invert(1) brightness(1.08) contrast(1.02) drop-shadow(0 6px 28px rgba(255, 255, 255, 0.08));
  opacity: 0.985;
}

.site-preloader-title {
  margin-top: 14px;
  letter-spacing: 0.28em;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.site-hero {
  --hero-intro-progress: 0;
  --hero-title-progress: 0;
  --hero-subtitle-progress: 0;
  --hero-section-progress: 0;
  --hero-image-progress: 0;
  --hero-progress: var(--hero-title-progress);
  --hero-cta-progress: var(--hero-subtitle-progress);
  margin: 0 0 26px;
  min-height: 118vh;
  position: relative;
}

.site-hero--desktop-slides {
  min-height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 2400;
  margin: 0;
}

.site-hero--desktop-script {
  min-height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 2400;
  margin: 0;
}

.site-hero--desktop-slides .site-hero-stage {
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
}

.site-hero--desktop-script .site-hero-stage {
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -8%, rgba(255, 255, 255, 0.92) 0%, rgba(247, 248, 253, 0.9) 42%, rgba(237, 240, 248, 0.95) 100%),
    linear-gradient(180deg, #fafbfe 0%, #eef2fa 100%);
}

.site-hero--desktop-slides .site-hero-stage::before {
  content: none;
}

.site-hero--desktop-script .site-hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 52% at 50% 50%, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.site-hero-script-slides {
  position: relative;
  z-index: 2;
  width: min(92vw, 1200px);
  min-height: min(42vh, 460px);
}

.site-hero-script-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px) scale(0.998);
  filter: blur(2px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-hero-script-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.site-hero-script-lead {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  font-size: clamp(44px, 6vw, 96px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10131f;
  text-align: center;
  text-shadow: 0 12px 38px rgba(17, 20, 34, 0.12);
}

.site-hero-script-layer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  text-align: center;
}

.site-hero-script-line {
  display: block;
  min-height: 1.2em;
  white-space: nowrap;
}

.site-hero-script-line--lead {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  font-size: clamp(40px, 5.8vw, 92px);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0f1014;
}

.site-hero-script-line--brand {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  font-size: clamp(42px, 6.1vw, 98px);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #141827;
  text-shadow: 0 12px 42px rgba(20, 24, 39, 0.11);
}

.site-hero-script-line--sub {
  font-size: clamp(14px, 1.4vw, 22px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 22, 34, 0.76);
}

.site-hero-script-char {
  display: inline-block;
  opacity: 0;
  filter: blur(0.8px);
  transform: translateY(8px) scale(0.995);
  animation: none;
  will-change: transform, opacity;
}

.site-hero--desktop-script.site-hero--ready .site-hero-script-char {
  animation: scriptCharIn 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-hero-script-char-spacer {
  display: inline-block;
  width: 0.16em;
}

.site-hero-script-sub-fade {
  opacity: 0;
  transform: translateY(8px);
  animation: none;
  font-size: clamp(14px, 1.4vw, 22px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(20, 24, 39, 0.74);
  will-change: transform, opacity;
}

.site-hero--desktop-script.site-hero--ready .site-hero-script-sub-fade {
  animation: scriptSubIn 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1020ms;
}

.site-hero--script-end .site-hero-script-layer {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(1px);
  transition: opacity 460ms ease, transform 460ms ease, filter 460ms ease;
}

@keyframes scriptCharIn {
  from {
    opacity: 0;
    filter: blur(1.8px);
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes scriptSubIn {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.site-hero-desktop-slides {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.site-hero-desktop-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  transform: translateY(6px) scale(0.998);
  filter: blur(2px);
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  border-radius: 0;
  will-change: opacity, transform, filter;
}

.site-hero-desktop-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.site-opening-after-cover .web-marquee,
body.site-opening-after-cover .web-shop-toolbar,
body.site-opening-after-cover #home-catalog,
body.site-opening-after-cover .web-store-info,
body.site-opening-after-cover #web-quick-nav {
  animation: coverContentFadeIn 0.42s ease-out forwards;
}

@keyframes coverContentFadeIn {
  from {
    opacity: 0;
  }
  to { opacity: 1; }
}

.site-hero-desktop-slide--dark {
  background: #0d0d11;
  color: #fff;
}

.site-hero-desktop-logo {
  width: min(640px, 72vw);
  max-width: 100%;
  height: auto;
  display: block;
  filter: invert(1) brightness(1.18) contrast(1.04);
}

.site-hero-desktop-title {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  font-size: clamp(42px, 6vw, 96px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f1014;
  text-align: center;
  line-height: 1.06;
}

.site-hero-desktop-subtitle {
  font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 16, 20, 0.72);
  text-align: center;
}

.site-hero--done {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.site-hero-stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 20px 34px;
}

.site-hero-intro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  pointer-events: none;
  opacity: calc(1 - (1.15 * var(--hero-intro-progress)));
  transform: translateY(calc(-22px * var(--hero-intro-progress)));
  transition: opacity 0.25s linear, transform 0.25s linear;
}

.site-hero-intro-title {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  font-size: clamp(26px, 5.3vw, 64px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e0e11;
}

.site-hero-intro-arrow {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  color: rgba(14, 14, 17, 0.76);
  animation: heroArrowFloat 1.9s ease-in-out infinite;
}

.site-hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      120% 90% at calc(8% + (32% * var(--hero-section-progress))) calc(10% + (20% * var(--hero-section-progress))),
      rgba(0, 0, 0, 0.055) 0%,
      rgba(0, 0, 0, 0.02) 45%,
      transparent 70%
    );
  opacity: calc(0.06 + (0.14 * var(--hero-section-progress)));
  pointer-events: none;
  z-index: 0;
}

.site-hero-top {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.site-hero-city {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: calc(0.82 - (0.4 * var(--hero-progress)));
}

.site-hero-bouquet {
  position: relative;
  margin: 10vh auto 0;
  width: min(360px, 84vw);
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: transparent;
  transform:
    rotate(calc(-24deg + (42deg * var(--hero-progress))))
    scale(calc(0.78 + (0.22 * var(--hero-progress))));
  filter:
    saturate(calc(0.38 + (0.72 * var(--hero-progress))))
    brightness(calc(0.72 + (0.28 * var(--hero-progress))))
    blur(calc((1 - var(--hero-progress)) * 1.7px));
  transition: transform 0.25s linear, filter 0.25s linear;
  box-shadow: none;
  z-index: 2;
}

.site-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  image-rendering: auto;
}

.site-hero-bouquet::after {
  content: none;
}

.site-hero-bouquet-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.2s linear;
  image-rendering: auto;
}

.site-hero-bouquet.site-hero-bouquet--fallback {
  background:
    radial-gradient(circle at 36% 35%, #ffe9f2 0 22%, transparent 23%),
    radial-gradient(circle at 68% 30%, #ffd9ea 0 22%, transparent 23%),
    radial-gradient(circle at 49% 56%, #fff5fa 0 28%, transparent 29%),
    radial-gradient(circle at 38% 67%, #ffffff 0 16%, transparent 17%),
    radial-gradient(circle at 67% 66%, #fff 0 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, #f8dce8 0%, #f6eef4 55%, #ece7ef 100%);
}

.site-hero-bouquet.site-hero-bouquet--fallback .site-hero-bouquet-img {
  opacity: 1;
}

.site-hero-brand {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: auto 0;
  opacity: calc(0.02 + (0.98 * var(--hero-title-progress)));
  transform: translateY(calc(18px - (18px * var(--hero-title-progress))));
  transition: opacity 0.2s linear, transform 0.2s linear;
}

.site-hero-brand--textonly {
  max-width: min(1100px, 92vw);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.site-hero-brand-logo {
  width: min(280px, 76vw);
  height: auto;
  margin: 0 auto 8px;
  display: block;
}

.site-hero-title {
  font-family: 'Waverly CF', 'Playfair Display', serif;
  letter-spacing: 0.08em;
  font-size: clamp(28px, 6.5vw, 84px);
  margin-bottom: 12px;
  color: #0e0e11;
  text-transform: uppercase;
  opacity: calc(0.02 + (0.98 * var(--hero-title-progress)));
  transform: translateX(calc(-52px + (52px * var(--hero-title-progress))));
  clip-path: inset(0 calc((1 - var(--hero-title-progress)) * 100%) 0 0);
  transition: opacity 0.22s linear, transform 0.22s linear, clip-path 0.22s linear;
  line-height: 1.08;
}

.site-hero-subtitle {
  font-size: clamp(12px, 1.3vw, 18px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(14, 14, 17, 0.74);
  margin-bottom: 0;
  opacity: calc(var(--hero-subtitle-progress));
  transform: translateX(calc(-30px + (30px * var(--hero-subtitle-progress))));
  transition: opacity 0.22s linear, transform 0.22s linear;
}

.site-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 174px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  background: #17151d;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
  opacity: calc(var(--hero-cta-progress));
  transform: translateY(calc(10px - (10px * var(--hero-cta-progress))));
}

.site-hero-cta:active {
  transform: scale(0.97) translateY(calc(10px - (10px * var(--hero-cta-progress))));
}

.site-hero-hint {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: #8b8a90;
  letter-spacing: 0.08em;
  opacity: calc(1 - (0.72 * var(--hero-title-progress)));
}

.home-catalog-block {
  scroll-margin-top: 90px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  background: #fff;
}

body.web-mode .home-catalog-block {
  padding-top: 12px;
  scroll-margin-top: calc(90px + var(--web-marquee-offset));
}

/* Search + categories should scroll away with page */
body.web-mode .web-shop-toolbar {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: auto;
  margin: 10px auto 18px;
  z-index: 80;
}

.web-category-section {
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(18px);
  animation: sectionReveal 0.5s ease forwards;
  animation-delay: var(--section-delay, 0ms);
}

@media (min-width: 900px) {
  body.web-mode #home-catalog,
  body.web-mode .web-store-info {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1200px;
  }
  body.web-mode .web-category-section {
    contain: layout paint;
  }
}

.web-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.web-category-title {
  font-size: clamp(24px, 2.4vw, 36px);
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-transform: none;
  line-height: 1.15;
}

.web-category-link {
  border: 1px solid #22242a;
  background: #fff;
  color: #111;
  padding: 10px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.web-category-link:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.web-category-link:active {
  transform: translateY(1px);
}

.web-marquee {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #12131a 0%, #1a1c25 52%, #12131a 100%);
  color: #f8f8fa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18) inset;
  min-height: var(--web-marquee-offset);
  display: flex;
  align-items: center;
}

body.web-mode .web-marquee {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  z-index: 2;
}

.web-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: webMarqueeMove var(--marquee-duration, 18s) linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.web-marquee-track--right {
  animation-direction: reverse;
}


.web-marquee-group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.web-marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  min-height: var(--web-marquee-offset);
  padding: 0 20px;
  opacity: 0.95;
}

.web-marquee--mini {
  border-radius: 10px;
  margin-bottom: 10px;
}

.web-marquee-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  font-size: 15px;
  line-height: 1;
  opacity: 0.78;
  transform: translateY(-0.5px);
}

@keyframes webMarqueeMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.web-shop-toolbar {
  max-width: 1280px;
  margin: 10px auto 18px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #eff0f3;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.035);
  position: sticky;
  top: var(--web-marquee-offset);
  z-index: 80;
  backdrop-filter: saturate(1.05) blur(6px);
  -webkit-backdrop-filter: saturate(1.05) blur(6px);
}

body.web-mode .web-shop-toolbar,
body.web-mode .web-shop-toolbar--no-hero {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: auto;
  margin: 10px auto 18px;
  z-index: 80;
}

.web-shop-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 10px;
  min-width: 0;
}

.web-shop-topline--header {
  display: grid;
  grid-template-columns: 168px 1fr 168px;
  gap: 10px;
  padding: 10px 0 8px;
  align-items: center;
}

.web-shop-topline--search {
  padding: 6px 0 8px;
}

.web-call-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 168px;
  justify-content: flex-start;
}

.web-call-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #dfe1e8;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.web-call-btn svg {
  width: 22px;
  height: 22px;
  fill: #101114;
}

.web-call-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  border: 1px solid #e5e7ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  padding: 10px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 85;
}

.web-call-wrap.open .web-call-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.web-call-panel-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111;
}

.web-header-logo {
  border: none;
  background: transparent;
  padding: 0;
  width: min(100%, 640px);
  height: 94px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.web-header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.web-toolbar-actions--header {
  width: 168px;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.web-quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececf0;
  margin-bottom: 8px;
  padding-top: 8px;
  padding-left: 8px;
  padding-right: 8px;
  justify-content: flex-start;
}

.web-quick-cat-chip {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.web-quick-cat-chip:hover {
  background: #f0f0f0;
}

.web-quick-cat-chip.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.web-shop-search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
}

.web-shop-search {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #d4d6dc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  background: #fefefe;
  text-transform: lowercase;
}

.web-shop-search:focus {
  border-color: #111;
}

.web-shop-search-btn {
  width: 58px;
  height: 46px;
  border: 1px solid #1d1f24;
  border-radius: 0 8px 8px 0;
  background: #1d1f24;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.web-shop-search-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.web-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.web-toolbar-action-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #1a1b21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s ease, transform 0.12s ease;
}

.web-toolbar-action-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.web-toolbar-action-btn:hover,
.web-toolbar-action-btn.active {
  background: #f1f2f5;
}

.web-toolbar-action-btn:active {
  transform: scale(0.96);
}

.web-toolbar-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff2f4d;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

.web-store-info {
  max-width: 1280px;
  margin: 26px auto 0;
  padding: 24px 20px 8px;
}

.web-store-info-title {
  font-size: clamp(34px, 4.1vw, 56px);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin-bottom: 30px;
}

.web-store-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.web-store-info-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-store-info-head {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
}

.web-store-info-line {
  font-size: 19px;
  line-height: 1.45;
  color: #222;
}

.web-store-info-link {
  margin-top: 4px;
  font-size: 18px;
  color: #222;
  text-decoration: underline;
}

.web-store-call-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 40px;
  background: #22242a;
  color: #fff;
  border-radius: 3px;
  font-size: 16px;
}

.web-store-socials {
  margin-top: 6px;
  display: flex;
  gap: 10px;
}

.web-store-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #121212;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.web-mode #app {
  max-width: none;
  padding: 0 0 24px;
  background: #fff;
  overflow-x: clip;
}

body.web-mode .web-flow-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 0 24px 12px;
}

body.web-mode .web-flow-shell--checkout {
  width: min(100%, 980px);
}

body.web-mode .web-flow-shell--payment {
  width: min(100%, 860px);
}

body.web-mode .web-flow-shell--favorites {
  width: min(100%, 1180px);
}

body.web-mode .web-flow-shell--profile {
  width: min(100%, 980px);
}

body.web-mode .web-centered-page-card {
  max-width: 880px;
  margin: 8px auto 0;
  background: #fff;
  border: 1px solid #ececf1;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 24px rgba(16, 18, 24, 0.04);
}

body.web-mode .web-flow-shell--favorites .web-centered-page-card {
  max-width: 1160px;
}

body.web-mode #header {
  display: none;
}

body.web-mode #tab-bar {
  display: none !important;
}

body.web-mode .tab-btn {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.58);
}

body.web-mode .tab-btn.active {
  color: #fff;
  border-bottom-color: #fff;
}

.web-quick-nav {
  display: none;
}

body.web-mode .web-quick-nav {
  display: none !important;
}

body.telegram-mode .web-quick-nav {
  display: none !important;
}

.web-quick-toggle {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: rgba(18, 18, 24, 0.9);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: transform 0.15s ease, background 0.2s ease;
}

.web-quick-toggle:active {
  transform: scale(0.96);
}

.web-quick-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.web-mode .web-quick-nav.web-quick-nav--open .web-quick-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.web-mode .web-quick-nav.web-quick-nav--open .web-quick-toggle span:nth-child(2) {
  opacity: 0;
}

body.web-mode .web-quick-nav.web-quick-nav--open .web-quick-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.web-quick-nav-panel {
  position: absolute;
  top: 58px;
  right: 0;
  min-width: 228px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(18, 18, 24, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

body.web-mode .web-quick-nav.web-quick-nav--open .web-quick-nav-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.web-quick-nav-btn {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 14px;
  line-height: 1;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.web-quick-nav-btn:hover {
  color: #fff;
}

.web-quick-nav-btn:active {
  transform: scale(0.97);
}

.web-quick-nav-btn.active {
  background: #fff;
  color: #0f0f13;
  font-weight: 600;
}

.web-quick-badge {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff2f4d;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

body.web-mode #footer {
  margin-top: 56px;
}

body.web-mode .footer-inner {
  max-width: 1280px;
}

body.web-mode .product-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 46px;
}

@media (max-width: 1200px) {
  body.web-mode .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body.web-mode .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  body.web-mode #app {
    padding-bottom: 14px;
  }
  body.web-mode .web-flow-shell,
  body.web-mode .web-flow-shell--checkout,
  body.web-mode .web-flow-shell--payment,
  body.web-mode .web-flow-shell--favorites,
  body.web-mode .web-flow-shell--profile {
    width: 100%;
    padding: 0 14px 10px;
  }
  body.web-mode .web-centered-page-card {
    max-width: 100%;
    padding: 12px 12px 10px;
    border-radius: 10px;
  }
  body.web-mode .product-detail {
    display: flex;
  }
  body.web-mode .product-detail-page {
    padding: 0 14px;
  }
  body.web-mode .product-detail-media {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  body.web-mode {
    --web-marquee-offset: 36px;
  }
  body.web-mode .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .site-hero {
    min-height: 124vh;
  }
  .site-hero-stage {
    padding: 18px 14px 24px;
  }
  .home-catalog-block {
    padding: 0 18px;
  }
  .web-category-section {
    margin-bottom: 30px;
  }
  .web-category-head {
    margin-bottom: 10px;
  }
  .web-category-title {
    font-size: clamp(20px, 6.6vw, 28px);
    letter-spacing: 0.01em;
  }
  .web-category-link {
    font-size: 10px;
    padding: 8px 12px;
  }
  .site-hero-brand--textonly {
    max-width: min(96vw, 1100px);
  }
  .web-shop-toolbar {
    margin: 8px auto 12px;
    padding: 0 12px;
  }
  .web-shop-toolbar--no-hero {
    margin: 8px auto 12px;
  }
  body.web-mode .web-shop-toolbar,
  body.web-mode .web-shop-toolbar--no-hero {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: 8px auto 12px;
    z-index: 80;
  }
  .web-marquee-item {
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 0 14px;
  }
  .web-marquee-sep {
    width: 24px;
    font-size: 13px;
  }
  body.web-mode .product-card-name {
    font-size: clamp(12px, 3.6vw, 14px);
  }
  body.web-mode .product-card-price {
    font-size: clamp(18px, 4.7vw, 22px);
  }
  body.web-mode .card-cart-btn {
    min-height: 38px;
    font-size: clamp(12px, 3.2vw, 14px);
  }
  .web-shop-topline {
    gap: 6px;
    padding: 8px 0 6px;
  }
  .web-shop-topline--header {
    grid-template-columns: 44px 1fr auto;
    gap: 6px;
    padding: 8px 0 6px;
  }
  .web-call-wrap {
    width: 44px;
  }
  .web-call-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
  .web-call-btn svg {
    width: 20px;
    height: 20px;
  }
  .web-call-panel {
    min-width: 190px;
    padding: 8px;
  }
  .web-header-logo {
    width: min(100%, 392px);
    height: 74px;
  }
  .web-toolbar-actions {
    gap: 2px;
  }
  .web-toolbar-actions--header {
    width: auto;
  }
  .web-toolbar-action-btn {
    width: 40px;
    height: 40px;
  }
  .web-toolbar-action-btn svg {
    width: 21px;
    height: 21px;
  }
  .web-quick-cats {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .web-quick-cats::-webkit-scrollbar {
    display: none;
  }
  .web-quick-cat-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  .web-store-info {
    padding: 18px 14px 8px;
  }
  .web-store-info-title {
    font-size: clamp(24px, 7.5vw, 34px);
    margin-bottom: 18px;
  }
  .web-store-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .web-store-info-head {
    font-size: 19px;
  }
  .web-store-info-line,
  .web-store-info-link {
    font-size: 15px;
  }
  .web-store-call-btn {
    width: 116px;
    height: 36px;
    font-size: 14px;
  }
  body.web-mode #header {
    padding: 14px 14px 8px;
  }
  .site-hero-title {
    font-size: clamp(24px, 9vw, 44px);
    letter-spacing: 0.05em;
  }
  .site-hero-subtitle {
    letter-spacing: 0.1em;
    font-size: 11px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes heroArrowFloat {
  0% { transform: translateY(0); opacity: 0.82; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.82; }
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .web-marquee-track {
    animation: none;
  }
  .product-card.reveal-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .web-category-section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  background: rgba(20, 20, 22, 0.92);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 12px 12px 12px 14px;
  max-width: min(420px, calc(100vw - 20px));
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
}

.cookie-consent-text {
  font-size: 12px;
  line-height: 1.35;
}

.cookie-consent-btn {
  border: none;
  background: #fff;
  color: #111;
  min-width: 46px;
  height: 30px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 10px;
    left: 10px;
    bottom: 10px;
    max-width: none;
    padding: 10px;
  }
  .cookie-consent-text {
    font-size: 11px;
  }
}

/* Footer */
#footer {
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.footer-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}

.footer-section {
  margin-bottom: 16px;
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.footer-section a {
  display: block;
  font-size: 13px;
  padding: 3px 0;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.2s, transform 0.2s;
}

.footer-section a:hover {
  border-bottom-color: #000;
  transform: translateX(4px);
}

#social-links {
  display: flex;
  gap: 16px;
}

#social-links a {
  display: inline;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: #999;
}

/* Nav buttons */
.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.nav-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.nav-btn:active {
  transform: scale(0.97);
}

.nav-btn:hover {
  background: #000;
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.nav-btn:disabled:hover {
  background: #333;
}

.nav-btn--filled {
  background: #000;
  color: #fff;
}

.nav-btn--filled:hover {
  background: #333;
}

.nav-btn--small {
  padding: 10px 16px;
  font-size: 12px;
}

/* Delivery info */
.delivery-info {
  margin-top: 24px;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  transition: transform 0.2s ease;
}

.delivery-info p {
  margin-bottom: 4px;
}

.delivery-info p:last-child {
  margin-bottom: 0;
}

/* Section title */
.section-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

/* Category dropdown */
.category-select-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 4px;
  justify-content: center;
}

.cat-chip {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 1;
  min-width: 0;
  flex-shrink: 0;
}

.cat-chip:hover {
  background: #f0f0f0;
}

.cat-chip.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.category-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Category chips (hidden, kept for reference) */
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.category-item {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.category-item:active {
  transform: scale(0.95);
}

.category-item:hover,
.category-item:active {
  background: #000;
  color: #fff;
}

.category-item.active {
  background: #000;
  color: #fff;
}

/* Product list */
.product-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  border: none;
  border-radius: 12px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.product-card.reveal-card {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: cardReveal 0.52s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--card-reveal-delay, 0ms);
}

body.web-mode .product-card {
  opacity: 0;
  transform: translateY(22px) scale(0.992);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

body.web-mode .product-card.reveal-card {
  animation: none;
}

body.web-mode .product-card.card-inview {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Web cards: keep same visual style as Mini App */
body.web-mode .product-card {
  border-radius: 12px;
}

body.web-mode .product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

body.web-mode .product-card-img-wrap {
  border-radius: 14px;
  margin-bottom: 16px;
}

body.web-mode .product-card-img,
body.web-mode .card-slide {
  border-radius: 14px;
}

body.web-mode .product-card-body {
  align-items: stretch;
  text-align: left;
  padding: 8px 4px 0;
}

body.web-mode .product-card-name {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

body.web-mode .product-card-price {
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.product-card-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 1 / 1;
  background: #f8f9fb;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card-img-wrap:hover {
  transform: scale(1.018);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #f8f9fb;
  border-radius: 14px;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.045);
}

/* Card multi-image slides */
.card-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  border-radius: 14px;
}

.card-slide.card-slide-active {
  opacity: 1;
  pointer-events: auto;
}

.card-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 3;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}

.card-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.fav-btn:active {
  transform: scale(0.85);
}

.fav-btn svg {
  width: 18px;
  height: 18px;
  transition: fill 0.2s, stroke 0.2s;
}

.fav-btn .heart-outline {
  fill: none;
  stroke: #000;
  stroke-width: 2;
}

.fav-btn.favorited .heart-outline {
  fill: #000;
  stroke: #000;
}

/* Cart icon button on card */
.cart-icon-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, background 0.2s;
}

.cart-icon-btn:hover {
  background: #000;
}

.cart-icon-btn:active {
  transform: scale(0.8);
}

.cart-icon-btn svg {
  width: 18px;
  height: 18px;
}

.cart-icon-btn .cart-icon-path {
  fill: #000;
  transition: fill 0.2s;
}

.cart-icon-btn:hover .cart-icon-path {
  fill: #fff;
}

.product-card-body {
  padding: 8px 4px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.product-related {
  margin-top: 60px;
  padding-top: 12px;
}

.product-related-title {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

body.web-mode .product-list--related {
  gap: 46px;
}

/* Related section cards must be visible immediately */
body.web-mode .product-related .product-card {
  opacity: 1 !important;
  transform: none !important;
}

.product-card-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card-price {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.product-card-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stock badge — top-left corner on the image */
.stock-badge--in {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  background: #fff;
  color: #000;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  pointer-events: none;
  line-height: 1.3;
}

.card-dims-badge {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 5;
  background: rgba(255,255,255,0.65);
  color: #888;
  font-size: 10px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
  line-height: 1.3;
}

.card-size-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.card-size-btn {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 14px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: 0.2px;
}
.card-size-btn:hover {
  border-color: #888;
  color: #444;
}
.card-size-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
  font-weight: 600;
}

/* Center overlay on out-of-stock image */
.stock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
}

/* Dimmed out-of-stock card */
.product-card--soon {
  opacity: 0.5;
  filter: grayscale(0.35);
  transition: opacity 0.3s, filter 0.3s;
}
.product-card--soon:hover {
  opacity: 0.7;
}
/* Product detail — coming soon */
.product-detail--soon .product-detail-img-wrap,
.product-detail--soon .product-gallery {
  opacity: 0.5;
  filter: grayscale(0.3);
}
.detail-soon-badge {
  text-align: center;
  padding: 14px 20px;
  background: #f5f5f5;
  border: 1.5px dashed #bbb;
  border-radius: 12px;
  color: #777;
  font-size: 15px;
  font-weight: 500;
}

.card-cart-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}

.card-cart-btn:hover {
  background: #000;
}

.card-cart-btn:active {
  transform: scale(0.96);
}

/* Product detail */
.product-detail {
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.35s ease;
  gap: 10px;
}

.product-detail-page {
  max-width: 1080px;
  margin: 0 auto;
}

.product-detail-media {
  position: relative;
}

.product-detail-content {
  display: flex;
  flex-direction: column;
}

.product-detail-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 1 / 1;
}

.product-detail-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: none;
  border-radius: 16px;
  background: #f5f5f5;
}

.fav-btn--detail {
  width: 44px;
  height: 44px;
  top: 14px;
  right: 14px;
}

.fav-btn--detail svg {
  width: 22px;
  height: 22px;
}

.product-detail-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-detail-price {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.product-detail-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 16px;
}

.product-detail-warning {
  font-size: 12px;
  line-height: 1.5;
  padding: 10px 14px;
  background: #f9f9f9;
  border-left: 3px solid #ccc;
  border-radius: 6px;
  color: #666;
  margin-bottom: 16px;
}

/* Product gallery */
.product-gallery {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  width: 100%;
  padding-bottom: 100%;
  height: 0;
}

.gallery-track {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.gallery-slide .product-detail-img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}

.gallery-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-arrow:hover {
  background: #fff;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-prev::after,
.gallery-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}

.gallery-prev::after {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.gallery-next::after {
  transform: rotate(45deg);
  margin-right: 3px;
}

/* Size selector */
.size-selector {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #f5f5f5;
  border-radius: 12px;
}

.size-selector-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: #444;
}

.size-btn-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-btn {
  min-width: 44px;
  height: 40px;
  padding: 0 14px;
  border: 1.5px solid #ddd;
  background: #fff;
  color: #aaa;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-btn:hover {
  border-color: #aaa;
  color: #555;
}

.size-btn.active {
  background: #111;
  color: #fff;
  border-color: #111;
  font-weight: 600;
}

.size-btn:active {
  transform: scale(0.95);
}

.size-info {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

/* Cart size selector */
.cart-size-selector {
  margin: 6px 0 8px;
}

.cart-size-selector .size-btn-row {
  gap: 4px;
}

.cart-size-selector .size-btn {
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  font-size: 11px;
  border-radius: 15px;
}

.cart-img-wrap {
  position: relative;
  flex-shrink: 0;
}
.cart-img-size-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  letter-spacing: 0.3px;
  line-height: 1.2;
  pointer-events: none;
}
.cart-size-fc {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

/* Legacy flower selector (kept for backward compat) */
.flower-selector {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #f5f5f5;
  border-radius: 12px;
}

.flower-selector-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: #444;
}

.flower-select {
  width: 100%;
  padding: 12px 14px;
  padding-right: 40px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='white'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: background 0.2s;
}

.flower-select:focus {
  outline: none;
  background: #000;
}

.card-add-btn {
  width: 100%;
  padding: 10px 0;
  margin-top: auto;
  border: 1px solid #1e1f25;
  background: linear-gradient(180deg, #2b2d36 0%, #1f2128 100%);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

body.web-mode .cart-icon-btn {
  display: none;
}

.card-add-btn:active {
  transform: scale(0.96);
}

.card-add-btn:hover {
  box-shadow: 0 10px 18px rgba(27, 28, 34, 0.22);
}

/* Cart flower selector */
.cart-flower-selector {
  margin: 6px 0 8px;
}

.cart-flower-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

.cart-flower-row {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.cart-flower-btn {
  width: 30px;
  height: 28px;
  border: none;
  background: #f0f0f0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.cart-flower-btn:active {
  background: #ddd;
}

.cart-flower-val {
  min-width: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 28px;
  background: #fff;
}

.product-detail-actions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-cart-btn--catalog {
  background: #fff;
  color: #111;
  border: 1.5px solid #111;
}

.card-cart-btn--catalog:hover {
  background: #111;
  color: #fff;
}

body.web-mode .product-detail-page {
  max-width: 1180px;
  padding: 16px 20px 0;
}

body.web-mode .product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr;
  align-items: start;
  column-gap: 34px;
}

body.web-mode .product-detail-media {
  position: sticky;
  top: 92px;
}

body.web-mode .product-detail-content {
  min-width: 0;
}

.card-cart-btn--large {
  padding: 14px 20px;
  font-size: 14px;
  border-radius: 12px;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.back-link::before {
  content: '\2190 ';
}

.back-link:hover {
  opacity: 0.6;
  transform: translateX(-3px);
}

/* Cart */
.cart-items {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.cart-items .cart-item {
  margin-bottom: 14px;
}

.cart-items .cart-item:last-child {
  margin-bottom: 0;
}


.cart-item {
  display: flex;
  gap: 18px;
  background: #f9f9f9;
  border-radius: 18px;
  padding: 16px;
  min-height: 220px;
  align-items: flex-start;
  contain: layout style;
}

.cart-item-img,
.cart-item .no-image {
  width: 195px;
  height: 195px;
  min-width: 195px;
  min-height: 195px;
  max-width: 195px;
  max-height: 195px;
  object-fit: cover;
  flex-shrink: 0;
  border: none;
  border-radius: 16px;
  background: #eee;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 195px;
}

.cart-item-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #e0e0e0;
  color: #000;
  font-size: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}

.qty-btn:active {
  transform: scale(0.85);
}

.qty-btn:hover {
  background: #333;
  color: #fff;
}

.qty-value {
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 12px;
  text-decoration: underline;
  color: #000;
  cursor: pointer;
}

.remove-btn:hover {
  opacity: 0.6;
}

/* Cart total */
/* Cart recommendations */
.cart-rec-section {
  margin: 20px 0 8px;
}
.cart-rec-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cart-rec-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.cart-rec-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid #bbb;
  border-radius: 50%;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  padding: 0;
  transition: opacity 0.15s, border-color 0.15s;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
}
.cart-rec-arrow:hover {
  border-color: #888;
  color: #333;
}
.cart-rec-arrow:active {
  opacity: 0.6;
}
.cart-rec-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}
.cart-rec-scroll::-webkit-scrollbar {
  display: none;
}
.cart-rec-card {
  flex: 0 0 120px;
  scroll-snap-align: start;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
}
.cart-rec-card:active {
  transform: scale(0.97);
}
.cart-rec-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
  background: #eee;
}
.cart-rec-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 12px;
}
.cart-rec-name {
  font-size: 11px;
  font-weight: 500;
  padding: 6px 8px 2px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-rec-price {
  font-size: 11px;
  font-weight: 600;
  padding: 0 8px 8px;
  color: #333;
}
.cart-rec-add {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.2s;
}
.cart-rec-add:active {
  background: #000;
  color: #fff;
}
.cart-rec-in-cart {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255,255,255,0.92);
  color: #333;
  font-size: 9px;
  font-weight: 600;
  padding: 3px 6px;
  border-radius: 6px;
  pointer-events: none;
  white-space: nowrap;
}

.cart-total {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  text-align: right;
}

/* Order summary row */
.order-summary {
  font-size: 13px;
  margin-bottom: 4px;
  text-align: right;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
}

/* Form */
/* Checkout steps */
.checkout-steps {
  margin-bottom: 24px;
}

.step-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 8px;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #ddd;
  background: #fff;
  color: #bbb;
}

.step-dot.active {
  border-color: #000;
  background: #000;
  color: #fff;
  transform: scale(1.1);
}

.step-dot.done {
  border-color: #000;
  background: #fff;
  color: #000;
}

.step-dot.locked {
  border-color: #ddd;
  background: #f5f5f5;
  color: #ccc;
}

.step-num {
  line-height: 1;
}

.step-line {
  flex: 1;
  height: 2px;
  max-width: 60px;
  background: #ddd;
  transition: background 0.3s ease;
}

.step-line.done {
  background: #000;
}

.step-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
}

.step-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bbb;
  text-align: center;
  flex: 1;
  transition: color 0.3s ease;
}

.step-label.active {
  color: #000;
  font-weight: 600;
}

.step-label.done {
  color: #666;
}

.checkout-panels {
  position: relative;
}

.checkout-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.checkout-panel.active {
  display: flex;
  animation: stepFadeIn 0.35s ease forwards;
}

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

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.checkout-guest-hint {
  margin: 8px 0 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f6f7;
  border: 1px solid #ececef;
}

.checkout-guest-hint-text {
  font-size: 13px;
  line-height: 1.45;
  color: #444;
  margin-bottom: 10px;
}

.step-next-btn {
  width: 100%;
  padding: 14px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
  -webkit-tap-highlight-color: transparent;
  margin-top: 8px;
}

.step-next-btn:active {
  transform: scale(0.97);
}

.step-back-btn {
  flex: 1;
  padding: 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

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

.step-btn-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.step-btn-row .step-next-btn {
  flex: 2;
  margin-top: 0;
}

.step-submit-btn {
  background: #000;
  color: #fff;
}

.step-next-btn.btn-dimmed {
  background: #ccc;
  color: #888;
  cursor: default;
}
.step-next-btn.btn-dimmed:active {
  transform: none;
}

.checkout-self-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f5f5f5;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.checkout-self-btn:active {
  background: #eee;
}

.checkout-self-btn input {
  display: none;
}

.checkout-self-btn.checked {
  background: #e8e8e8;
}

.checkout-self-btn.checked .check-box {
  background: #fff;
  border-color: #000;
  position: relative;
}

.checkout-self-btn.checked .check-box::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.nearest-delivery-hint {
  background: #f3f3f3;
  color: #333;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.consent-check {
  margin: 16px 0 8px;
}
.consent-check .checkout-self-btn {
  padding: 12px 14px;
  font-size: 13px;
  background: #fafafa;
}
.consent-check a {
  color: inherit;
}

.cutoff-notice {
  background: #f5f0e0;
  color: #6b5c00;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.cutoff-hint {
  font-size: 13px;
  color: #888;
  padding: 8px 0;
}

.exact-time-section {
  margin: 4px 0 14px;
}

.form-input-date {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: #000;
  -webkit-appearance: none;
  appearance: none;
}

.form-input-date:focus {
  outline: none;
  border-color: #000;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  border-radius: 10px;
  -webkit-appearance: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #000;
}

.form-group textarea {
  resize: vertical;
  min-height: 60px;
}

/* Radio group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.radio-option:active {
  transform: scale(0.98);
}

.radio-option:hover {
  border-color: #000;
}

.radio-option.selected {
  background: #333;
  color: #fff;
  border-color: #333;
}

.radio-option input[type="radio"] {
  display: none;
}

.radio-dot {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.radio-option.selected .radio-dot {
  background: #fff;
}

.night-delivery-btn {
  display: block;
  width: 100%;
  margin: 14px 0 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #2c2c3a;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.1s;
}
.night-delivery-btn:active {
  transform: scale(0.98);
}
.night-delivery-btn.active {
  background: #444460;
}

.radio-option.radio-option-night .night-date-badge {
  display: inline-block;
  background: #555;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: auto;
  font-weight: 500;
  white-space: nowrap;
}
.radio-option.radio-option-night.selected .night-date-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Checkbox option */
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.checkbox-option:hover {
  border-color: #000;
}

.checkbox-option input[type="checkbox"] {
  display: none;
}

.check-box {
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.checkbox-option.checked .check-box {
  background: #000;
  border-color: #000;
}

/* Success message */
.success-message {
  text-align: center;
  padding: 40px 0;
}

.success-message p {
  font-size: 14px;
  margin-bottom: 8px;
}

.success-message .order-number {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Account */
.account-section {
  font-size: 14px;
  line-height: 1.6;
}

.account-greeting {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  background: #fafafa;
  border-radius: 14px;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #eee;
}

.profile-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-crown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-crown svg {
  display: block;
}

.admin-badge {
  background: #000;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.admin-panel-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.admin-panel-btn:active {
  opacity: 0.7;
}

#admin-panel-btn-wrap {
  margin-bottom: 20px;
}

.profile-username {
  font-size: 13px;
  color: #888;
  margin-top: 2px;
}

.profile-menu-btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 20px;
  color: #888;
  cursor: pointer;
  align-self: flex-start;
  position: relative;
  letter-spacing: 2px;
}

.profile-menu {
  position: absolute;
  right: 16px;
  top: 52px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 50;
  min-width: 160px;
  overflow: hidden;
}

.profile-menu button {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.profile-menu button:hover {
  background: #f5f5f5;
}

.profile-header {
  position: relative;
}

.profile-section {
  margin-bottom: 20px;
}

.profile-tracking-section {
  background: #f5f5f5;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
}

.tracking-title {
  font-size: 17px !important;
  font-weight: 800 !important;
}

.profile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.profile-section-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-add-btn {
  background: none;
  border: 1px solid #000;
  border-radius: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-add-btn:hover {
  background: #000;
  color: #fff;
}

.track-card-mini {
  background: #fff;
  border: 2px solid #000;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
}

.track-order-details {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
}
.track-detail-row {
  margin-bottom: 4px;
  color: #333;
}
.track-detail-label {
  font-weight: 600;
  color: #000;
}
.track-detail-items-title {
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #000;
}
.track-order-item {
  padding: 3px 0;
  color: #444;
  border-bottom: 1px solid #f5f5f5;
}
.track-order-item:last-child {
  border-bottom: none;
}

.track-card-mini .track-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.track-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.track-status-badge {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.track-total {
  font-size: 16px;
  font-weight: 700;
}

.order-card-mini {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}

.order-card-mini .order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-card-mini .order-card-date {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.order-card-mini .order-card-total {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.saved-addr-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.saved-addr-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.4;
}

.saved-addr-del {
  background: none;
  border: none;
  color: #ccc;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.saved-addr-del:hover {
  color: #f00;
}

.add-addr-form {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 16px;
}

.saved-addr-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.saved-addr-chip {
  padding: 6px 14px;
  border-radius: 16px;
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.saved-addr-chip:hover,
.saved-addr-chip.active {
  background: #000;
  color: #fff;
}

/* Order history */
.order-history {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.order-card-id {
  font-weight: 700;
}

.order-card-status {
  font-weight: 600;
}

.order-card-date {
  font-size: 12px;
  margin-bottom: 6px;
}

.order-card-total {
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
}

.order-card-items {
  font-size: 12px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e0e0e0;
}

.order-card-items div {
  margin-bottom: 2px;
}

/* Image placeholder */
.no-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  background: #f0f0f0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
}

/* Toast notifications */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
  text-align: center;
  border-radius: 10px;
  pointer-events: auto;
  animation: toastIn 0.2s ease, toastOut 0.2s ease 2.3s;
  animation-fill-mode: forwards;
}

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

@keyframes toastOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Static pages */
.static-page {
  font-size: 13px;
  line-height: 1.7;
}

.static-page h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.static-page p {
  margin-bottom: 10px;
}

/* Delivery tracking timeline */
.track-card {
  background: #f9f9f9;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  transition: transform 0.2s ease;
}

.track-card:hover {
  transform: translateY(-2px);
}


.track-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.track-id {
  font-size: 14px;
  font-weight: 700;
}

.track-date {
  font-size: 11px;
  color: #666;
}

.track-amount {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.timeline {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 48px;
  position: relative;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  z-index: 1;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.timeline-step.done .timeline-dot {
  background: #000;
  border-color: #000;
}

.timeline-step.current .timeline-dot {
  background: #000;
  border-color: #000;
  transform: scale(1.3);
}

.timeline-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  color: #bbb;
  margin-top: 5px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s;
}

.timeline-step.done .timeline-label,
.timeline-step.current .timeline-label {
  color: #000;
  font-weight: 600;
}

.timeline-line {
  flex: 1;
  height: 2px;
  background: #ddd;
  min-width: 6px;
  margin-top: 4px;
  flex-shrink: 0;
  transition: background 0.3s;
}

.timeline-line.filled {
  background: #000;
}

.track-items {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
  font-size: 12px;
}

.track-items div {
  margin-bottom: 2px;
}

.track-delivery-info {
  font-size: 11px;
  color: #666;
  margin-top: 6px;
}

.track-type-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
}

.track-time-info {
  font-size: 12px;
  color: #444;
  margin: 6px 0 2px;
  font-weight: 500;
}

.orders-split-section {
  margin-bottom: 20px;
}

.orders-split-title {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-split-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 6px;
}

/* City overlay */
#city-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.city-overlay-inner {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 32px 24px;
  animation: overlayCardIn 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

@keyframes overlayCardIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.city-overlay-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 28px;
}

.city-overlay-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.city-card {
  display: block;
  width: 100%;
  padding: 18px 20px;
  background: #f5f5f5;
  color: #000;
  border: none;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.15s, color 0.15s;
}

.city-card:hover {
  background: #333;
  color: #fff;
  transform: scale(1.03);
}

.city-card:active {
  transform: scale(1.01);
  background: #000;
  color: #fff;
}

/* Current city indicator */
.city-current {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #666;
  padding: 4px 10px;
  background: #f5f5f5;
  border-radius: 8px;
  transition: background 0.2s;
}

.city-current:hover {
  background: #eee;
}

/* Responsive */
/* ---- Medium phones (up to 480px) ---- */
@media (max-width: 480px) {
  #app {
    padding: 16px;
  }
  .footer-inner {
    padding: 16px;
  }
  .city-overlay-inner {
    padding: 24px 16px;
  }
  .city-card {
    font-size: 15px;
    padding: 16px 14px;
  }
  .product-list {
    gap: 12px;
  }
  .product-card-name {
    font-size: 12px;
  }
  .product-card-price {
    font-size: 13px;
  }
  .cart-icon-btn {
    width: 32px;
    height: 32px;
  }
  .cart-icon-btn svg {
    width: 16px;
    height: 16px;
  }
  .card-add-btn {
    padding: 6px 0;
    font-size: 11px;
  }
  .cat-chip {
    padding: 6px 12px;
    font-size: 12px;
  }
  .category-select-wrap {
    gap: 5px;
  }
  .tab-btn {
    font-size: 10px;
    padding: 10px 2px;
    letter-spacing: 0.3px;
  }
  .cart-item {
    gap: 14px;
    padding: 14px;
    min-height: 160px;
  }
  .cart-item-img,
  .cart-item .no-image {
    width: 140px;
    height: 140px;
    min-width: 140px;
    min-height: 140px;
    max-width: 140px;
    max-height: 140px;
  }
  .cart-item-info {
    min-height: 140px;
  }
  .cart-item-name {
    font-size: 15px;
  }
  .cart-item-price {
    font-size: 15px;
  }
}

/* ---- Small phones (up to 390px, e.g. iPhone 11, older Android) ---- */
@media (max-width: 390px) {
  #app {
    padding: 12px;
  }
  .cat-chip {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 16px;
  }
  .category-select-wrap {
    gap: 4px;
  }
  .tab-btn {
    font-size: 9px;
    padding: 9px 2px;
    letter-spacing: 0.2px;
  }
  .tab-badge {
    font-size: 8px;
    line-height: 12px;
    min-width: 12px;
    height: 12px;
    padding: 0 3px;
    border-radius: 6px;
  }
  .product-list {
    gap: 10px;
  }
  .product-card-name {
    font-size: 11px;
  }
  .product-card-price {
    font-size: 12px;
  }
  .cart-item {
    gap: 12px;
    padding: 12px;
    min-height: 130px;
    border-radius: 14px;
  }
  .cart-item-img,
  .cart-item .no-image {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    max-width: 110px;
    max-height: 110px;
    border-radius: 12px;
  }
  .cart-item-info {
    min-height: 110px;
  }
  .cart-item-name {
    font-size: 14px;
  }
  .cart-item-price {
    font-size: 14px;
  }
  .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .section-title {
    font-size: 18px;
  }
  .category-title {
    font-size: 17px;
  }
  .track-card-mini {
    padding: 14px;
  }
}

/* ---- Very small phones (up to 340px, e.g. old Android, iPhone SE) ---- */
@media (max-width: 340px) {
  #app {
    padding: 10px;
  }
  .cat-chip {
    padding: 4px 8px;
    font-size: 10px;
  }
  .tab-btn {
    font-size: 8px;
    padding: 8px 1px;
  }
  .cart-item {
    gap: 10px;
    padding: 10px;
    min-height: 110px;
  }
  .cart-item-img,
  .cart-item .no-image {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    max-width: 90px;
    max-height: 90px;
  }
  .cart-item-info {
    min-height: 90px;
  }
  .cart-item-name {
    font-size: 13px;
  }
  .cart-item-price {
    font-size: 13px;
  }
  .product-list {
    gap: 8px;
  }
}

#delivery-distance-info {
  background: #f7f7f7;
  padding: 8px 12px;
  border-radius: 8px;
  color: #333;
}
#ymaps-minimap {
  border: 1px solid #e0e0e0;
}
[class*="ymaps"][class*="suggest"] {
  z-index: 9999 !important;
}
[class*="ymaps"][class*="suggest-panel"] {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-top: none !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
  overflow: hidden !important;
  padding: 4px 0 !important;
  font-family: inherit !important;
}
[class*="ymaps"][class*="suggest-item"] {
  padding: 11px 16px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  color: #222 !important;
  cursor: pointer !important;
  border-bottom: 1px solid #f5f5f5 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: background 0.12s !important;
  font-family: inherit !important;
}
[class*="ymaps"][class*="suggest-item"]:last-child {
  border-bottom: none !important;
}
[class*="ymaps"][class*="suggest-item"]:hover,
[class*="ymaps"][class*="suggest-item"][class*="active"],
[class*="ymaps"][class*="suggest-item"][class*="selected"] {
  background: #f5f5f5 !important;
}
[class*="ymaps"][class*="suggest-item"] [class*="highlight"] {
  font-weight: 600 !important;
  color: #000 !important;
}

/* ==================== iOS / Safari Fixes ==================== */
@supports (-webkit-touch-callout: none) {
  html, body {
    min-height: -webkit-fill-available;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .form-input-date {
    font-size: 16px;
  }

  .modal-overlay {
    -webkit-backdrop-filter: blur(6px);
  }

  #tab-bar {
    position: -webkit-sticky;
    position: sticky;
  }

  button, a {
    -webkit-tap-highlight-color: transparent;
  }

  .product-card,
  .radio-option,
  .checkbox-option {
    -webkit-tap-highlight-color: transparent;
  }
}
