/* в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ */
/* РњР°СЂРјРµР»Рё вЂ” Design System Styles                    */
/* Typography: Onest / Manrope                     */
/* Colors: Stone + Amber Gold accent               */
/* Style: Liquid Glass, Minimalist                 */
/* в•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђв•ђ */

/* в”Ђв”Ђв”Ђ Base в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
html {
  scroll-behavior: smooth;
  /* Fluid typography: 16px on 375px в†’ 24px on 1440px+ */
  font-size: clamp(100%, 0.5rem + 1vw, 150%);
}

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

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* в”Ђв”Ђв”Ђ Perf: Below-the-fold sections в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.perf-section {
  content-visibility: auto;
  contain: layout paint;
  contain-intrinsic-size: 800px;
}

::selection {
  background-color: #CA8A04;
  color: white;
}

/* в”Ђв”Ђв”Ђ Navbar Glass в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.navbar-glass {
  background: rgba(250, 250, 249, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(231, 229, 228, 0.6);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.navbar-scrolled .navbar-glass {
  background: rgba(250, 250, 249, 0.92);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.nav-link {
  color: #57534e;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 200ms ease;
  position: relative;
  white-space: nowrap;
}

/* Desktop nav: reduce gap on mid-size screens */
@media (min-width: 1280px) and (max-width: 1599px) {
  nav .hidden.md\:flex {
    gap: 1.5rem;
  }
  .nav-link {
    font-size: 0.8rem;
  }
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: #CA8A04;
  transition: width 300ms ease;
}

.nav-link:hover {
  color: #CA8A04;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #CA8A04;
}

.nav-link.active::after {
  width: 100%;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #f59e0b, #f97316, #ec4899);
  z-index: 100;
  transition: width 300ms ease;
}

.page-progress.active {
  width: 60%;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(231, 229, 228, 0.8);
  color: #57534e;
  background: rgba(255, 255, 255, 0.7);
  transition: all 200ms ease;
}

.back-btn:hover {
  color: #CA8A04;
  border-color: #CA8A04;
}

/* в”Ђв”Ђв”Ђ Glass Card в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(231, 229, 228, 0.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.glass-badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(231, 229, 228, 0.5);
}

/* в”Ђв”Ђв”Ђ Buttons в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #1C1917;
  color: white;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.875rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  border: none;
}

.btn-primary:hover {
  background: #CA8A04;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(202, 138, 4, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #1C1917;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.875rem;
  border: 1.5px solid #d6d3d1;
  transition: transform 200ms ease, color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.btn-secondary:hover {
  border-color: #CA8A04;
  color: #CA8A04;
  transform: translateY(-1px);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: transparent;
  color: #78716c;
  font-weight: 600;
  font-size: 0.75rem;
  border-radius: 999px;
  border: 1.5px solid #e7e5e4;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.filter-btn:hover {
  border-color: #CA8A04;
  color: #CA8A04;
}

.filter-btn.active {
  border-color: #CA8A04;
  color: #CA8A04;
  background: rgba(202, 138, 4, 0.08);
}

.add-to-cart-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: #1C1917;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 200ms ease;
  flex-shrink: 0;
}

.add-to-cart-btn:hover {
  background: #CA8A04;
  transform: scale(1.05);
}

/* в”Ђв”Ђв”Ђ Auth Modal в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.auth-card {
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(231, 229, 228, 0.7);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.4rem;
  background: rgba(231, 229, 228, 0.5);
  border-radius: 999px;
}

.auth-tab {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #78716c;
  transition: all 200ms ease;
}

.auth-tab.active {
  background: #1C1917;
  color: white;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #e7e5e4;
  background: rgba(255, 255, 255, 0.85);
  transition: all 200ms ease;
  font-size: 0.95rem;
}

.auth-input:focus {
  outline: none;
  border-color: #CA8A04;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.auth-code-input {
  width: 2.5rem;
  height: 3rem;
  border-radius: 0.9rem;
  border: 1px solid #e7e5e4;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.85);
  transition: all 200ms ease;
}

.auth-code-input:focus {
  outline: none;
  border-color: #CA8A04;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.float-field {
  position: relative;
}

.float-field label {
  position: absolute;
  top: 0.9rem;
  left: 1rem;
  font-size: 0.85rem;
  color: #78716c;
  pointer-events: none;
  transition: all 200ms ease;
  padding: 0 0.3rem;
}

.float-field:focus-within label,
.float-field.has-value label {
  transform: translateY(-0.65rem) scale(0.9);
  color: #CA8A04;
}

.float-field input,
.float-field textarea {
  padding-top: 1.35rem;
}

.field-error {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15) !important;
}

.field-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
}

#auth-modal {
  opacity: 0;
  transition: opacity 220ms ease;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#auth-modal .auth-card {
  position: relative !important;
  inset: auto !important;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

#auth-modal.auth-open {
  opacity: 1;
  display: flex;
}

#auth-modal.hidden {
  display: none;
}

#auth-modal.auth-open .auth-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

#success-modal {
  opacity: 0;
  transition: opacity 220ms ease;
  display: none;
}

#success-modal.success-open {
  opacity: 1;
  display: block;
}

/* в”Ђв”Ђв”Ђ Quick View Modal в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
#quick-view-modal {
  opacity: 0;
  transition: opacity 220ms ease;
  display: none;
}

#quick-view-modal.quick-view-open {
  opacity: 1;
  display: block;
}

#quick-view-modal .quick-view-card {
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

#quick-view-modal.quick-view-open .quick-view-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.profile-authed::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(250, 250, 249, 0.95);
}

/* в”Ђв”Ђв”Ђ Filter Buttons в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #78716c;
  background: transparent;
  border: 1.5px solid #e7e5e4;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.filter-btn:hover {
  border-color: #CA8A04;
  color: #CA8A04;
}

.filter-btn.active {
  background: #1C1917;
  color: white;
  border-color: #1C1917;
}

/* в”Ђв”Ђв”Ђ Hero Section в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.text-gradient {
  background: linear-gradient(135deg, #CA8A04, #D97706, #B45309);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-shell {
  isolation: isolate;
  background: #f7f2e8;
}

.hero-bg {
  pointer-events: none;
  filter: saturate(1.04);
}

.hero-bg-mesh,
.hero-bg-grid,
.hero-bg-noise,
.hero-bg-vignette {
  position: absolute;
  inset: 0;
}

.hero-bg-mesh {
  inset: -10%;
  background:
    radial-gradient(1000px 520px at 14% 18%, rgba(252, 211, 77, 0.26) 0%, rgba(252, 211, 77, 0) 64%),
    radial-gradient(900px 480px at 86% 20%, rgba(251, 146, 60, 0.22) 0%, rgba(251, 146, 60, 0) 62%),
    radial-gradient(800px 460px at 50% 86%, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 66%),
    linear-gradient(145deg, #fbf7ef 0%, #f8f1e5 46%, #f3ecdf 100%);
}

.hero-bg-grid {
  background-image:
    linear-gradient(rgba(120, 53, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 53, 15, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 72%);
}

.hero-bg-noise {
  background-image: radial-gradient(rgba(68, 64, 60, 0.22) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.05;
}

.hero-bg-vignette {
  background:
    radial-gradient(135% 92% at 50% 46%, rgba(247, 242, 232, 0) 22%, rgba(247, 242, 232, 0.54) 77%, rgba(247, 242, 232, 0.88) 100%),
    linear-gradient(to bottom, rgba(247, 242, 232, 0.05) 0%, rgba(247, 242, 232, 0.26) 74%, rgba(247, 242, 232, 0.45) 100%);
}

.hero-panel {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 252, 247, 0.72) 46%, rgba(255, 248, 238, 0.76) 100%);
  border: none;
  box-shadow:
    0 24px 54px rgba(41, 37, 36, 0.14),
    0 6px 16px rgba(120, 53, 15, 0.06);
  backdrop-filter: blur(10px) saturate(108%);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
}

.hero-panel::before {
  content: none;
}

.hero-title {
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.42);
}

.hero-title-accent {
  color: #b87900;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn-ghost {
  color: #1c1917;
  border: 1px solid rgba(120, 113, 108, 0.36);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}

.hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(120, 113, 108, 0.5);
}

@media (max-width: 1023px) {
  .hero-bg-grid {
    background-size: 52px 52px;
    opacity: 0.14;
  }

  .hero-panel {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 252, 247, 0.8) 46%, rgba(255, 248, 238, 0.84) 100%);
    box-shadow:
      0 16px 38px rgba(41, 37, 36, 0.1),
      0 4px 12px rgba(120, 53, 15, 0.05);
  }
}

/* Product Cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.product-card {
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.skeleton-hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.catalog-skeleton {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .catalog-skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .catalog-skeleton {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.skeleton-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(231, 229, 228, 0.7);
  background: linear-gradient(110deg, #f5f5f4 8%, #fafaf9 18%, #f5f5f4 33%);
  background-size: 200% 100%;
  min-height: 360px;
  animation: skeleton-shimmer 1.2s linear infinite;
}

@keyframes skeleton-shimmer {
  to { background-position-x: -200%; }
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(202, 138, 4, 0.2);
}

/*
 * iPhone photo-friendly product image container.
 * 3:4 aspect ratio matches standard iPhone portrait photos (4032x3024 = 3:4).
 * All future product cards should use .product-image-container for consistency.
 */
.product-image-container {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.product-3d-view {
  width: 100%;
  height: 100%;
  transition: transform 500ms ease;
  will-change: transform;
}

.product-card:hover .product-3d-view {
  transform: scale(1.05);
}

/*
 * Catalog card photos: 3:4 container matches iPhone portrait photos.
 * `cover` + center-top keeps subjects (bouquets) framed well.
 */
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 500ms ease;
  will-change: transform;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 300ms ease;
}

.favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a8a29e;
  transition: transform 200ms ease, color 200ms ease;
}

.favorite-btn:hover {
  color: #ef4444;
  transform: scale(1.05);
}

.favorite-btn.active {
  color: #ef4444;
  background: transparent;
}

.favorite-btn.active .favorite-icon {
  fill: #ef4444;
  stroke: #ef4444;
}

.favorite-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #e7e5e4;
  color: #a8a29e;
  font-size: 0.75rem;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.favorite-remove-btn:hover {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff1f2;
}

.favorite-bounce {
  animation: favorite-bounce 400ms ease;
}

#favorites-count {
  box-shadow: 0 0 0 2px rgba(250, 250, 249, 0.95);
}

@keyframes favorite-bounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.immersive-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1C1917;
  border: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.immersive-btn:hover {
  background: white;
  transform: scale(1.05);
}

.quick-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  background: rgba(17, 24, 39, 0.75);
  color: white;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}

.quick-view-btn:hover {
  background: rgba(17, 24, 39, 0.95);
  transform: scale(1.05);
}

.sort-select {
  border: 1.5px solid #e7e5e4;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  color: #1c1917;
  background: #fff;
  transition: all 200ms ease;
}

.sort-select:focus {
  outline: none;
  border-color: #CA8A04;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

/* в”Ђв”Ђв”Ђ Feature Cards в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

/* в”Ђв”Ђв”Ђ Tracking Timeline в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.tracking-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.5rem;
  padding-left: 2rem;
}

.tracking-step:last-child {
  padding-bottom: 0;
}

.tracking-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e7e5e4;
  border: 2px solid #d6d3d1;
  z-index: 1;
  transition: all 300ms ease;
}

.tracking-step.completed .tracking-dot {
  background: #CA8A04;
  border-color: #CA8A04;
}

.tracking-step.active .tracking-dot {
  background: white;
  border-color: #CA8A04;
  box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(202, 138, 4, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(202, 138, 4, 0.1); }
}

.tracking-line {
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: 0;
  width: 2px;
  background: #e7e5e4;
}

.tracking-step:last-child .tracking-line {
  display: none;
}

.tracking-step.completed .tracking-line {
  background: #CA8A04;
}

.tracking-step.active .tracking-line {
  background: linear-gradient(to bottom, #CA8A04, #e7e5e4);
}

.tracking-content {
  min-height: 2rem;
}

/* в”Ђв”Ђв”Ђ Payment Option в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.payment-option-card {
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e7e5e4;
  text-align: center;
  transition: all 200ms ease;
}

.payment-option input:checked + .payment-option-card {
  border-color: #CA8A04;
  background: #FFFBEB;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.1);
}

.payment-option:hover .payment-option-card {
  border-color: #CA8A04;
}

/* в”Ђв”Ђв”Ђ Immersive PDP Viewer в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/*
 * Modal shell: compact desktop window (no full-screen giant canvas),
 * full-screen fallback on mobile.
 */
.immersive-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(98vw, 1560px);
  height: min(98vh, 1040px);
  border-radius: 1rem;
}

.immersive-body {
  min-height: 0;
  overflow: hidden;
}

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

.immersive-media-pane,
.immersive-info-pane {
  min-height: 0;
}

.immersive-info-pane > div:first-child {
  min-height: 0;
}

.immersive-info-scroll {
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 7rem;
  scrollbar-width: thin;
  scrollbar-color: #d6d3d1 transparent;
}

.immersive-info-scroll::-webkit-scrollbar {
  width: 6px;
}

.immersive-info-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.immersive-info-scroll::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 999px;
}

/*
 * Gallery is optimised for iPhone-shot product photos (в‰€ 3:4 portrait).
 * We use `contain` so the full image is always visible вЂ” no cropping.
 * A subtle gradient bg fills the letterbox area.
 */
.immersive-gallery {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #fafaf9, #f5f5f4);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .immersive-gallery {
    /* Let the gallery fill available height without a hard aspect-ratio cap.
       This way portrait photos use vertical space naturally. */
    aspect-ratio: auto;
    flex: 1 1 0%;
    min-height: 0;
    max-height: 100%;
    border-radius: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .immersive-layout {
    grid-template-columns: minmax(0, 1fr) 470px;
  }
}

@media (max-width: 1023px) {
  .immersive-shell {
    inset: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: none;
    border-radius: 0;
  }

  .immersive-body {
    overflow-y: auto;
  }

  .immersive-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
  }

  .immersive-media-pane {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .immersive-gallery {
    aspect-ratio: 1 / 1;
    max-height: min(52svh, 420px);
    border-radius: 1rem;
  }

  .immersive-thumbs {
    gap: 0.4rem;
  }

  .immersive-thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.6rem;
  }

  .immersive-info-pane {
    border-left: none;
    border-top: 1px solid #f0f0ef;
  }

  .immersive-info-scroll {
    overflow-y: visible;
    padding-bottom: 0.5rem;
  }
}

.immersive-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: inherit;
}

.immersive-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #1c1917;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.immersive-nav-btn:hover {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%) scale(1.05);
}

#immersive-prev {
  left: 0.75rem;
}

#immersive-next {
  right: 0.75rem;
}

.immersive-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1c1917;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.immersive-thumbs {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.immersive-thumbs::-webkit-scrollbar {
  display: none;
}

.immersive-thumb {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid transparent;
  flex-shrink: 0;
  background: #fafaf9;
  transition: border-color 200ms ease, opacity 200ms ease;
  cursor: pointer;
  opacity: 0.7;
}

.immersive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.immersive-thumb.active {
  border-color: #d97706;
  opacity: 1;
}

.immersive-thumb:hover {
  opacity: 1;
}

/* duplicate removed вЂ” see rule above */

/* в”Ђв”Ђв”Ђ Animations в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@keyframes bounce-slow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.animate-bounce-slow {
  animation: bounce-slow 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 3s ease-in-out infinite 1.5s;
}

/* в”Ђв”Ђв”Ђ Scroll Animations (progressive) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
body.js-animate [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease, transform 600ms ease;
}

body.js-animate [data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* в”Ђв”Ђв”Ђ Cart Item в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  border: 1px solid rgba(231, 229, 228, 0.5);
  transition: all 200ms ease;
  overflow: hidden;
  max-height: 160px;
}

.cart-item:hover {
  border-color: rgba(202, 138, 4, 0.2);
}

.cart-item-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #fef3c7, #fce7f3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-preview {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8), 0 0 0 3px rgba(202, 138, 4, 0.15);
  flex-shrink: 0;
}

.cart-item-removing {
  opacity: 0;
  transform: translateX(24px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  border-width: 0;
}

.cart-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e7e5e4;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #57534e;
  transition: all 150ms ease;
}

.cart-qty-btn:hover {
  border-color: #CA8A04;
  color: #CA8A04;
}

/* в”Ђв”Ђв”Ђ Cart Promo в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cart-promo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-promo-row {
  display: flex;
  gap: 0.5rem;
}

.cart-promo-input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.cart-promo-input:focus {
  outline: none;
  border-color: #CA8A04;
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.15);
}

.cart-promo-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #e7e5e4;
  background: white;
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534e;
  transition: all 200ms ease;
}

.cart-promo-btn:hover {
  border-color: #CA8A04;
  color: #CA8A04;
}

.cart-promo-message {
  font-size: 0.75rem;
  color: #b45309;
}

.cart-promo-message.error {
  color: #b91c1c;
}

.cart-promo-message.success {
  color: #059669;
}

.cart-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #78716c;
}

/* в”Ђв”Ђв”Ђ Reviews в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.review-stars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.review-star {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid #e7e5e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d6d3d1;
  background: #fff;
  transition: all 150ms ease;
}

.review-star:hover {
  border-color: #CA8A04;
  color: #CA8A04;
}

.review-star.active {
  border-color: #CA8A04;
  color: #CA8A04;
  background: #FFFBEB;
}

.review-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.review-card {
  scroll-snap-align: center;
}

@media (max-width: 767px) {
  .reviews-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .reviews-carousel::-webkit-scrollbar {
    display: none;
  }

  .reviews-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .review-card {
    min-width: 80%;
    flex: 0 0 80%;
  }
}

/* в”Ђв”Ђв”Ђ Profile UI в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.profile-card {
  background: rgba(255, 255, 255, 0.85);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5f5f4, #e7e5e4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #1c1917;
}

.profile-badge {
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6);
}

.profile-edit-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8a29e;
  transition: color 200ms ease;
}

.profile-edit-btn:hover {
  color: #ca8a04;
}

.avatar-color {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid transparent;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  background-size: cover;
  background-position: center;
  transition: transform 150ms ease, border-color 150ms ease;
}

.avatar-color:hover {
  transform: translateY(-1px) scale(1.03);
}

.avatar-color.active {
  border-color: #1c1917;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  transition: all 200ms ease;
}

.profile-row.hidden {
  display: none !important;
}

.profile-row:hover {
  border-color: rgba(202, 138, 4, 0.3);
  background: #fafaf9;
}

.profile-row.highlight {
  background: #f0f0ef;
}

.profile-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c1917;
  border: 1px solid #e7e5e4;
  font-weight: 600;
}

.profile-row-arrow {
  color: #a8a29e;
  font-size: 20px;
  line-height: 1;
}

/* в”Ђв”Ђв”Ђ Address Labels + Map в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.address-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.address-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #57534e;
  cursor: pointer;
  transition: all 200ms ease;
}

.address-label input {
  position: absolute;
  opacity: 0;
}

.address-label input:checked + span {
  color: #1c1917;
}

.address-label input:checked ~ span,
.address-label input:checked + span {
  font-weight: 600;
}

.address-label:has(input:checked) {
  border-color: #CA8A04;
  background: #FFFBEB;
  color: #1c1917;
}

.map-container {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.8);
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.translate-y-24 {
  transform: translateY(6rem) !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

/* в”Ђв”Ђв”Ђ Toast в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.toast-action {
  font-size: 0.75rem;
  font-weight: 600;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: all 200ms ease;
}

.toast-action:hover {
  border-color: #ca8a04;
  color: #92400e;
  background: #fffbeb;
  transform: translateY(-1px);
}

.toast-visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* в”Ђв”Ђв”Ђ Fly To Cart в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.cart-flyer {
  position: fixed;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fcd34d, #fb7185);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: 120;
  pointer-events: none;
  transition:
    left 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
    top 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 650ms ease;
}

/* в”Ђв”Ђв”Ђ Responsive в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* в”Ђв”Ђв”Ђ Mobile (< 640px) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 639px) {
  /* Navbar: reduce padding to fit all icons */
  nav.fixed {
    left: 0.5rem;
    right: 0.5rem;
    top: 0.5rem;
  }

  nav .navbar-glass {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 1rem;
  }

  /* Tighter gaps for nav icon buttons */
  nav .flex.items-center.gap-3 {
    gap: 0.25rem;
  }

  nav .flex.items-center.gap-3 > a,
  nav .flex.items-center.gap-3 > button {
    padding: 0.375rem;
  }

  /* Logo text smaller on mobile */
  nav .font-heading.text-xl {
    font-size: 1rem;
  }

  nav .w-8.h-8 {
    width: 1.5rem;
    height: 1.5rem;
  }

  /* Hero section */
  .hero-orb { opacity: 0.2; }
  .hero-orb-1 { width: 300px; height: 300px; }
  .hero-orb-2 { width: 250px; height: 250px; }
  .hero-orb-3 { width: 200px; height: 200px; }

  #hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  #hero .grid {
    gap: 2rem;
  }

  /* Hero stats row вЂ” stack on tiny screens */
  #hero .flex.items-center.gap-8 {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Sections reduce vertical padding */
  section.py-20 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section.py-12 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Product cards padding */
  .product-card .p-6 {
    padding: 1rem;
  }

  .product-card .p-6 h3 {
    font-size: 1rem;
  }

  /* Filter buttons row вЂ” scrollable */
  .flex.flex-wrap.justify-center.gap-3 {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    justify-content: flex-start;
  }

  .flex.flex-wrap.justify-center.gap-3::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Sort dropdown full width */
  .sort-select {
    width: 100%;
  }

  /* Cart drawer full width */
  #cart-drawer {
    max-width: 100%;
  }

  /* Glass card padding reduce */
  .glass-card.p-8,
  .glass-card.sm\\:p-10 {
    padding: 1.25rem;
  }

  /* Footer grid single column */
  footer .grid {
    gap: 1.5rem;
  }

  /* Payment icons row вЂ” wrap tighter */
  .flex.flex-wrap.items-center.justify-center.gap-8 {
    gap: 1rem 1.25rem;
  }

  /* Auth modal */
  .auth-card {
    border-radius: 1.25rem;
  }

  /* Checkout modal вЂ” full screen on mobile */
  #checkout-modal > div:last-child,
  #success-modal > div:last-child {
    inset: 0;
    border-radius: 0;
  }

  /* Immersive modal */
  #immersive-modal > div:last-child {
    inset: 0;
    border-radius: 0;
  }

  /* Toast narrower  */
  #toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  #toast .glass-card {
    width: 100%;
  }

  /* Back button in subpages */
  .back-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }

  .back-btn span {
    display: none;
  }

  /* Profile sections */
  .profile-card .p-6 {
    padding: 1rem;
  }

  /* Address cards */
  .address-label {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  /* Tracking timeline compact */
  .timeline-step {
    padding-left: 2rem;
  }

  /* Quick view modal */
  .quick-view-card {
    inset: 0 !important;
    border-radius: 0 !important;
    transform: none !important;
    position: fixed !important;
    max-height: 100vh;
    overflow-y: auto;
  }
}

/* в”Ђв”Ђв”Ђ Tablet (640px вЂ“ 1279px) в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (min-width: 640px) and (max-width: 1279px) {
  nav .navbar-glass {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hide desktop nav, show hamburger on tablets too */
  nav .hidden.md\:flex {
    display: none !important;
  }

  nav #mobile-menu-btn,
  nav button[aria-label="РњРµРЅСЋ"] {
    display: inline-flex !important;
  }

  /* Allow mobile menu to show when toggled on tablets */
  #mobile-menu:not(.hidden) {
    display: block !important;
  }

  #mobile-menu.md\:hidden:not(.hidden) {
    display: block !important;
  }

  #hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  section.py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Cart drawer reasonable width */
  #cart-drawer {
    max-width: 24rem;
  }
}

/* в”Ђв”Ђв”Ђ Scrollbar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d6d3d1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a29e;
}

/* в”Ђв”Ђв”Ђ Focus States в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
:focus-visible {
  outline: 2px solid #CA8A04;
  outline-offset: 2px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #CA8A04;
  outline-offset: 2px;
}

/* в”Ђв”Ђв”Ђ Offline Banner в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.offline-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 130;
  pointer-events: none;
}

.offline-banner-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(251, 113, 133, 0.35);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.offline-banner-title {
  font-weight: 600;
  color: #be123c;
  font-size: 0.95rem;
}

.offline-banner-text {
  color: #57534e;
  font-size: 0.85rem;
}

.offline-banner-close {
  border: 1px solid rgba(120, 113, 108, 0.25);
  background: rgba(255, 255, 255, 0.85);
  color: #57534e;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 200ms ease;
}

.offline-banner-close:hover {
  border-color: #f43f5e;
  color: #be123c;
}

/* Legal cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  border: 1px solid rgba(214, 211, 209, 0.8);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.15);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-content {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner-text {
  color: #44403c;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
}
