/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
  --primary:        #14B8A6;
  --primary-dark:   #0F766E;
  --primary-deeper: #0D5F58;
  --primary-light:  #CCFBF1;
  --primary-pale:   #F0FDF9;
  --accent:         #D4A847;
  --accent-dark:    #B8921F;
  --dark:           #1E293B;
  --text:           #334155;
  --text-muted:     #64748B;
  --text-light:     #94A3B8;
  --bg:             #F8FDFC;
  --bg-card:        #FFFFFF;
  --border:         #E2EEF0;
  --border-strong:  #CBD5DC;
  --shadow-sm:      0 1px 3px rgba(15,118,110,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 16px rgba(15,118,110,0.12), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:      0 12px 40px rgba(15,118,110,0.16), 0 4px 12px rgba(0,0,0,0.08);
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --nav-h:          84px;
  --transition:     0.2s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark { height: 64px; width: auto; object-fit: contain; border-radius: 6px; }
.footer-logo { background: white; border-radius: 8px; padding: 4px 6px; }

.logo-text { display: none; }

.nav-search {
  flex: 1;
  max-width: 480px;
  position: relative;
  margin-left: auto;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 40px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

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

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-light);
  color: white;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.search-clear.visible { display: flex; }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0D5F58 0%, #0F766E 40%, #14B8A6 100%);
  padding: 80px 28px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 600px; height: 600px;
  background: white;
  top: -200px; right: -150px;
}

.shape-2 {
  width: 300px; height: 300px;
  background: var(--accent);
  bottom: -100px; left: -50px;
}

.shape-3 {
  width: 180px; height: 180px;
  background: white;
  top: 40%; left: 20%;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 20px) scale(1.05); }
  66%       { transform: translate(20px, -15px) scale(0.97); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(25px, 30px) scale(1.08); }
  70%       { transform: translate(-20px, 10px) scale(0.95); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%       { transform: translate(-20px, -30px) scale(1.1) rotate(15deg); }
}

.shape-1 { animation: float1 10s ease-in-out infinite; }
.shape-2 { animation: float2 13s ease-in-out infinite; }
.shape-3 { animation: float3 9s ease-in-out infinite; }

.spark {
  position: absolute;
  border-radius: 50%;
  background: white;
  pointer-events: none;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.2); }
  50%       { opacity: 0.75; transform: scale(1); }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg { display: block; width: 100%; height: 70px; }
.wave-path { fill: var(--bg); }

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
}

.hero-reviews-panel {
  flex: 0 0 280px;
  width: 280px;
}

.reviews-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.reviews-label::before {
  content: '★';
  color: var(--accent);
  font-size: 0.85rem;
}

.review-card {
  position: relative;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 18px 24px 22px;
  transition: opacity 0.7s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  pointer-events: none;
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.review-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin-bottom: 14px;
}

.review-author {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.reviews-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.reviews-arrow {
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
}

.reviews-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.reviews-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.reviews-dot {
  height: 7px;
  width: 7px;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  transition: background 0.4s ease, width 0.4s ease;
}

.reviews-dot.active {
  background: var(--accent);
  width: 20px;
}

.hero-content {
  flex: 1;
  text-align: center;
  max-width: 580px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-cta svg { width: 16px; height: 16px; transition: transform var(--transition); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.hero-cta:hover svg { transform: translateX(4px); }


/* ─── Mobile Reviews Strip ──────────────────────────────────────────────── */
.mobile-reviews-strip {
  display: none;
  background: linear-gradient(135deg, #0D5F58 0%, #0F766E 50%, #14B8A6 100%);
  border-bottom: none;
  padding: 28px 20px 32px;
}

.mobile-reviews-inner {
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .mobile-reviews-strip { display: block; }
}

/* ─── Filter Bar ────────────────────────────────────────────────────────── */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(248,253,252,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.filter-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1.5px solid var(--border-strong);
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.pill:hover { border-color: var(--primary); color: var(--primary); }

.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(20,184,166,0.3);
}

.results-info {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ─── Product Grid ──────────────────────────────────────────────────────── */
.catalogue { min-height: 50vh; }

.products-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── Product Card ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  transition: opacity 0.4s ease, transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.12), 0 12px 40px rgba(20,184,166,0.2), 0 4px 12px rgba(0,0,0,0.08);
}

.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-pale);
  position: relative;
  flex-shrink: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.card:hover .card-image img { transform: scale(1.06); }

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.45) 50%, transparent 65%);
  transform: translateX(-150%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.card:hover .card-image::after { transform: translateX(150%); }

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--primary-light) 100%);
}

.card-image-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
  opacity: 0.5;
}

.card-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stock-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.badge-in   { background: rgba(20,184,166,0.15); color: var(--primary-dark); }
.badge-low  { background: rgba(212,168,71,0.18); color: #92600D; }
.badge-out  { background: rgba(239,68,68,0.12); color: #B91C1C; }

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.card-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.card-price-empty { color: var(--text-light); font-size: 0.8rem; }

.card-stock-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-stock-text.low  { color: #92600D; }
.card-stock-text.out  { color: #B91C1C; }

/* ─── Pagination ───────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  padding: 8px 0;
}

.page-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  transition: all var(--transition);
}

.page-arrow:hover:not(.disabled) {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.page-arrow.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(20,184,166,0.3);
}

/* ─── States ────────────────────────────────────────────────────────────── */
.state-empty, .state-loading {
  text-align: center;
  padding: 80px 20px;
}

.state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.state-empty h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.state-empty p { color: var(--text-muted); font-size: 0.9rem; }

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.state-loading p { color: var(--text-muted); font-size: 0.9rem; }

/* ─── Skeletons ─────────────────────────────────────────────────────────── */
.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.skeleton-pulse {
  position: relative;
  overflow: hidden;
  background: #e8f4f2;
}

.skeleton-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skeleton-img { aspect-ratio: 4/3; }

.skeleton-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
}

.skeleton-line.lg { height: 20px; }
.skeleton-line.sm { height: 10px; }

/* ─── Bookmark Prompt ───────────────────────────────────────────────────── */
.bm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,30,40,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.bm-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bm-overlay.open .bm-modal {
  transform: scale(1) translateY(0);
}

.bm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.bm-close svg { width: 15px; height: 15px; }
.bm-close:hover { background: var(--border); color: var(--dark); }

.bm-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.bm-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bm-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bm-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.bm-hint-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bm-hint-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bm-divider {
  color: var(--border-strong);
  font-size: 0.9rem;
}

kbd {
  display: inline-block;
  padding: 3px 7px;
  font-size: 0.78rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  color: var(--dark);
  background: white;
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.bm-cta {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.bm-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ─── Disclaimer Modal ──────────────────────────────────────────────────── */
.disc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,30,40,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.disc-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  transform: scale(0.92) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.disc-overlay.open .disc-modal {
  transform: scale(1) translateY(0);
}

.disc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.disc-close svg { width: 15px; height: 15px; }
.disc-close:hover { background: var(--border); color: var(--dark); }

.disc-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.disc-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.disc-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 24px;
}

.disc-remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 16px;
}

.disc-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.disc-cta {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.disc-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ─── Modal ─────────────────────────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,30,40,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lg);
}

.overlay.open .modal { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: rgba(0,0,0,0.14); }

.modal-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--primary-pale);
}

.modal-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary-pale), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-img-placeholder svg { width: 64px; height: 64px; color: var(--primary); opacity: 0.4; }

/* ─── Image Gallery ─────────────────────────────────────────────────────── */
.modal-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--primary-pale);
}

.modal-gallery .modal-img {
  border-radius: 0;
  cursor: zoom-in;
}

/* ─── Single-image zoom wrapper ─────────────────────────────────────────── */
.modal-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--primary-pale);
  cursor: zoom-in;
}

.modal-img-wrap .modal-img {
  border-radius: 0;
}

/* ─── Zoom button (magnifier) ───────────────────────────────────────────── */
.img-zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  box-shadow: 0 1px 5px rgba(0,0,0,0.18);
  z-index: 3;
}

.modal-img-wrap:hover .img-zoom-btn,
.modal-gallery:hover .img-zoom-btn { opacity: 1; }
.img-zoom-btn:hover { background: #fff; }

@media (pointer: coarse) {
  .img-zoom-btn { opacity: 0.85; }
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  z-index: 2;
}

.modal-gallery:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

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

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

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

.gallery-counter {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  z-index: 2;
}

.card-image-count {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  z-index: 2;
}

/* ─── Image Lightbox (fullscreen zoom) ──────────────────────────────────── */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.img-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.img-lightbox-img {
  max-width: 95vw;
  max-height: 93vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  cursor: zoom-out;
}

.img-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.img-lightbox-close:hover { background: rgba(255,255,255,0.28); }

.card-image-count::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") no-repeat center / contain;
  vertical-align: middle;
}

.modal-body {
  padding: 28px 32px 36px;
}

.modal-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-name {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.modal-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.modal-price-empty { color: var(--text-muted); font-size: 0.9rem; }

.modal-stock { display: flex; align-items: center; gap: 8px; }

.modal-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  font-size: 0.82rem;
  color: var(--primary-dark);
}

/* ─── Card FB Button ─────────────────────────────────────────────────────── */
.card-fb-wrap {
  padding: 0 16px 16px;
}

.card-fb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 14px;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.card-fb-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.card-share-wrap {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.card-share-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
  text-align: center;
}

.card-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 12px;
  background: #1877F2;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.card-share-btn:hover {
  background: #1464d8;
  transform: translateY(-1px);
}

.modal-fb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 100px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(20,184,166,0.3);
}

.modal-fb-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.4);
}

.modal-share-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.modal-share-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: center;
}

.modal-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: #1877F2;
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.modal-share-btn:hover {
  background: #1464d8;
  transform: translateY(-1px);
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 28px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.footer-store-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
}

.footer-contact { font-size: 0.85rem; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-contact a { color: var(--primary-light); transition: color var(--transition); }
.footer-contact a:hover { color: white; }

.footer-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: 400px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
  .products-container { padding: 28px 20px 64px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
  .hero-reviews-panel { display: none; }
}

/* Large mobile */
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; gap: 10px; }
  .filter-bar-inner { padding: 0 16px; }
  .hero { padding: 60px 20px 80px; }
  .modal-body { padding: 20px 22px 28px; }
  .modal-name { font-size: 1.4rem; }
}

/* Mobile — primary breakpoint */
@media (max-width: 640px) {
  /* Prevent iOS/Android zoom when tapping inputs */
  .search-input { font-size: 16px; }

  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-search { max-width: none; }

  /* Larger touch target on search */
  .search-input { padding: 11px 40px; }

  /* Hero */
  .hero { min-height: 400px; padding: 52px 20px 72px; }
  .hero-cta { padding: 13px 24px; }

  /* Category filter: horizontal scroll instead of wrapping */
  .filter-bar { padding: 10px 0; }
  .filter-bar-inner {
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar-inner::-webkit-scrollbar { display: none; }
  .category-pills {
    flex-wrap: nowrap;
    padding: 0 14px;
    gap: 7px;
  }
  /* Larger pill touch targets */
  .pill { padding: 9px 16px; }
  .results-info { display: none; }

  /* Products */
  .products-container { padding: 16px 12px 52px; }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Compact cards for 2-up grid */
  .card-body { padding: 12px; gap: 5px; }
  .card-name { font-size: 0.92rem; }
  .card-desc { font-size: 0.8rem; }
  .card-price { font-size: 1rem; }
  .card-stock-text { font-size: 0.72rem; }

  /* Touch press feedback (no hover on touch screens) */
  .card:active { transform: scale(0.97); transition: transform 0.1s ease; }
  .pill:active  { opacity: 0.7; }
  .hero-cta:active { transform: scale(0.97); }

  /* Centered modal on mobile */
  .overlay {
    align-items: center;
    padding: 16px;
  }
  .modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .modal-body { padding: 14px 18px 28px; }
  .modal-name { font-size: 1.3rem; }
  .modal-close { top: 12px; }

  /* Footer safe area for phones with home bar */
  .footer { padding-bottom: max(48px, env(safe-area-inset-bottom, 48px)); }
}

/* Small mobile (iPhone SE, Galaxy A series) */
@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .card-body { padding: 14px; }
  .card-name { font-size: 1rem; }
}
