:root {
  --primary: #d61f69;
  --primary-hover: #b91854;
  --primary-light: #fce7f0;
  --primary-gradient: linear-gradient(135deg, #d61f69 0%, #e74694 100%);
  --hero-gradient: linear-gradient(180deg, #f7e4e7 0%, #ffffff 100%);
  --dark-wood: #2b161e;
  --gold: #d97706;
  --gold-light: #fef3c7;
  --bg-warm: #f7e4e7;
  --bg-card: #ffffff;
  --text-main: #1c1917;
  --text-muted: #78686d;
  --border: #e9d3d7;
  --shadow-sm: 0 2px 8px rgba(214, 31, 105, 0.08);
  --shadow-md: 0 6px 18px rgba(214, 31, 105, 0.14);
  --shadow-lg: 0 12px 32px rgba(214, 31, 105, 0.18);
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography Utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-white { color: #ffffff !important; }
.text-stone-300 { color: #e7d8dd; }
.text-stone-400 { color: #c2b0b6; }
.text-stone-500 { color: #8e8086; }
.text-stone-600 { color: #6e6468; }
.text-stone-700 { color: #4a4245; }
.text-stone-800 { color: #2e282a; }
.text-stone-900 { color: #1c1917; }
.text-muted { color: var(--text-muted); }
.text-muted-light { color: #fde68a; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary) !important; }

.italic { font-style: italic; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Spacing Utilities */
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Borders & Rounded */
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Flex & Grid Helpers */
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-align { display: flex; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }

.grid-2-col { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .grid-2-col { grid-template-columns: repeat(2, 1fr); } }
.grid-3-col { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1rem; }
@media (min-width: 640px) { .grid-3-col { grid-template-columns: repeat(3, 1fr); } }
.grid-4-col { display: grid; grid-template-columns: repeat(1, 1fr); gap: 1.5rem; }
@media (min-width: 640px) { .grid-4-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4-col { grid-template-columns: repeat(4, 1fr); } }

/* Category Cards Image Grid (Below Hero, Before Catalog Grid) */
.sm\:grid-6-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .sm\:grid-6-col { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .sm\:grid-6-col { grid-template-columns: repeat(6, 1fr); }
}

.category-card-item {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.category-card-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.cat-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fdf2f4;
}
.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-card-item:hover .cat-img-box img {
  transform: scale(1.08);
}

.cat-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2b161e;
  line-height: 1.2;
}

/* Top Utility Bar - Soft Pink Tinted */
.top-bar {
  background-color: #fdf0f3;
  color: #57464c;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.city-toggle {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
}
.top-link {
  color: #57464c;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.top-link:hover { color: var(--primary); }

/* Header & Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 40;
}
.sticky-top {
  position: sticky;
  top: 0;
}

.brand-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark-wood);
  letter-spacing: -0.02em;
}
.brand-tagline {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

/* Search Box */
.search-box {
  position: relative;
  width: 100%;
  max-width: 24rem;
}
.search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border-radius: 9999px;
  background-color: #fdf2f4;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s;
}
.search-box input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(214, 31, 105, 0.15);
}
.search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a89aa0;
  width: 1.125rem;
  height: 1.125rem;
}

/* Category Pills (SpaNet Model) */
.category-nav {
  overflow-x: auto;
  white-space: nowrap;
  background-color: #fdf2f4;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.category-pill:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}
.category-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: scale(1.02);
}

/* Buttons & Badges - Matching Reval Logo Rose Pink */
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: var(--shadow-lg);
}

.btn-cart {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}
.cart-badge {
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section (Pink Gradient Background matching pood.revalkondiiter.ee) */
.hero-section {
  background: var(--hero-gradient);
  border-bottom: 1px solid var(--border);
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Barely noticeable subtle Tag Badge */
.tag-badge {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #78686d;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(120, 104, 109, 0.25);
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.2;
  color: #2b161e;
  font-weight: 700;
}
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }

.hero-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-image-wrapper {
  position: relative;
}

/* Hero Slideshow Card */
.hero-image-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  height: 24rem;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2b161e;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.slide-nav-btn:hover {
  background: #ffffff;
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.prev-slide-btn { left: 0.75rem; }
.next-slide-btn { right: 0.75rem; }

.slide-dots-container {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.4rem;
}
.slide-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.slide-dot.active {
  width: 1.5rem;
  background: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 22, 30, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--bg-card);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary);
}
.card-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f4;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.badge-gold {
  background-color: var(--gold-light);
  color: #854d0e;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.badge-pill {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.select-input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  background-color: #fdf4f6;
  outline: none;
}

/* Slide-Over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}
.cart-drawer {
  width: 100%;
  max-width: 28rem;
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  animation: slideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.method-btn {
  padding: 0.625rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.method-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 0.5rem;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.3s ease;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-card {
  width: 100%;
  animation: popIn 0.25s ease-out;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-bank-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
}
.payment-bank-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Footer */
.main-footer {
  background-color: var(--dark-wood);
  color: #fce8ef;
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 2rem;
}
.footer-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #ffffff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.footer-links, .footer-locations {
  list-style: none;
}
.footer-links li, .footer-locations li {
  margin-bottom: 0.5rem;
}
.footer-link-btn {
  background: none;
  border: none;
  color: #fde68a;
  cursor: pointer;
  text-align: left;
  font-size: 0.75rem;
}
.footer-link-btn:hover { text-decoration: underline; color: #ffffff; }

.payment-tags span {
  background-color: #fde68a;
  color: var(--dark-wood);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.65rem;
}

.hidden { display: none !important; }
@media (max-width: 767px) { .hidden-mobile { display: none !important; } }
@media (min-width: 768px) { .hidden-desktop { display: none !important; } }
