/* ===== BEEJOU — SAND & FOREST PALETTE ===== */

:root {
  /* Brand palette */
  --sand: #d7c4a3;          /* mandatory color */
  --sand-dark: #c2ab84;     /* deeper sand for hover/contrast */
  --forest: #1b3022;        /* additional color */
  --forest-light: #2c4a37;  /* lighter forest for surfaces */

  /* Semantic tokens */
  --primary: #ffffff;
  --secondary: #f6f2ea;     /* warm cream surface */
  --accent: #1b3022;        /* forest green as the primary accent */
  --accent-light: #2c4a37;
  --gold: #d7c4a3;          /* sand used where a metallic highlight was */
  --text: #1b3022;          /* forest green text */
  --text-light: #6f6a5f;    /* muted warm gray */
  --border: #e4dcca;        /* sand-tinted border */
  --bg-alt: #efe9dc;
}

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

body {
  font-family: 'Jost', 'Helvetica Neue', sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .logo, .product-title, .filter-header h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
}

.app-pro {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== HEADER ===== */
.header-pro {
  background: var(--primary);
  z-index: 100;
}

.header-banner {
  width: 100%;
  display: block;
  overflow: hidden;
  background: var(--primary);
  line-height: 0;
}

.banner-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.header-banner:hover .banner-image {
  transform: scale(1.03);
}

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-top {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.logo-section {
  flex: 1;
}

.logo {
  font-family: 'Parisienne', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  color: #b8924a;
  line-height: 1;
  margin: 0;
}

.logo-sub {
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  color: #b8924a;
  margin: 0.1rem 0 0;
  text-transform: uppercase;
}

.tagline {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 55%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-light);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
}

.cart-section {
  flex: 0 0 auto;
}

.cart-btn {
  background: var(--forest);
  color: var(--sand);
  border: 2px solid var(--forest);
  padding: 0.7rem 1.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 3px;
}

.cart-btn:hover {
  background: var(--sand);
  color: var(--forest);
  border-color: var(--sand);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4444;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ===== CATEGORY BAR ===== */
.category-bar {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}

.categories-scroll {
  display: flex;
  gap: 0.8rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.category-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
}

.category-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
  background: rgba(215, 196, 163, 0.25);
}

.category-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--sand);
  font-weight: 600;
}

/* ===== SEARCH ===== */
.search-section {
  padding: 1.5rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  background: var(--secondary);
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 0.9rem 1.2rem;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(215, 196, 163, 0.15);
}


/* ===== SHOP LAYOUT (sidebar + grid) ===== */
.shop-layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.filter-sidebar {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.clear-filters {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.clear-filters:hover { color: var(--accent); }

.filter-group { margin-bottom: 2rem; }

.filter-title {
  color: var(--text);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
}

.price-values {
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.price-sliders { position: relative; height: 28px; }

/* Visual track + highlighted selected range */
.price-track {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--border);
  border-radius: 999px;
}

.price-track-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--forest);
  border-radius: 999px;
}

.price-slider {
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: transparent;
  pointer-events: none;
  top: 12px;
  margin: 0;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--forest);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(27, 48, 34, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  margin-top: 0;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(27, 48, 34, 0.35);
}

.price-slider:active::-webkit-slider-thumb {
  background: var(--forest);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--forest);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 4px rgba(27, 48, 34, 0.25);
}

.price-slider::-moz-range-track { background: transparent; }

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.price-inputs input {
  width: 100%;
  padding: 0.6rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  text-align: center;
}

.price-inputs input:focus { outline: none; border-color: var(--accent); }
.price-inputs .dash { color: var(--text-light); }

.color-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 0.55rem;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  padding: 0.3rem 0.1rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.15s ease;
  font-size: 0.72rem;
  text-align: center;
}

.swatch-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.color-swatch:hover .swatch-dot { transform: scale(1.08); }
.color-swatch:hover { color: var(--text); }

.color-swatch.selected { color: var(--forest); font-weight: 600; }
/* selected ring: white gap + forest outline */
.color-swatch.selected .swatch-dot {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--forest);
}
/* checkmark on the selected swatch */
.color-swatch.selected .swatch-dot::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.swatch-label { line-height: 1.1; }

.shop-main { min-width: 0; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-wrap { position: relative; flex: 1; min-width: 240px; }

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1.1rem;
}

.search-wrap .search-input { padding-left: 3rem; }

.toolbar-right { display: flex; align-items: center; gap: 1.2rem; }

.result-count { color: var(--text-light); font-size: 0.9rem; white-space: nowrap; }

.sort-select {
  padding: 0.7rem 2.6rem 0.7rem 1.1rem;
  background-color: var(--secondary);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'12'%20height%3D'8'%20viewBox%3D'0%200%2012%208'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M1%201l5%205%205-5'%20stroke%3D'%231b3022'%20stroke-width%3D'1.6'%20fill%3D'none'%20stroke-linecap%3D'round'%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.15s ease;
}

.sort-select:hover { border-color: var(--sand-dark); }
.sort-select:focus { outline: none; border-color: var(--forest); }

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-light);
}

.color-chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
}

/* ===== PRODUCT GRID ===== */
.main-content {
  flex: 1;
  background: var(--primary);
}

.container-fluid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== FEATURED COLLECTIONS ===== */
.featured-collections {
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  padding: 4rem 2rem;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 3rem;
}

.section-header {
  max-width: 1600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-header p {
  font-size: 1rem;
  color: #666666;
  letter-spacing: 0px;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1600px;
  margin: 0 auto;
}

.collection-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.collection-card:hover {
  border-color: var(--sand-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(215, 196, 163, 0.12);
}

.collection-card.active {
  border-color: var(--sand-dark);
  background: #fafaf8;
}

.collection-preview {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.collection-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.collection-info {
  padding: 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.collection-info h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 0.7rem;
  letter-spacing: 0px;
  font-weight: 600;
}

.collection-desc {
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex: 1;
}

.collection-count {
  color: #999999;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* ===== PRODUCT CARD ===== */
.product-card-pro {
  background: var(--primary);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  height: 350px;
}

.image-gallery {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.main-image {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-pro:hover .main-image img {
  transform: scale(1.05);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.3rem;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-nav.prev {
  left: 8px;
}

.gallery-nav.next {
  right: 8px;
}

.thumbnail-row {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  background: var(--bg-alt);
  overflow-x: auto;
}

.thumbnail {
  width: 50px;
  height: 50px;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  padding: 0;
  transition: all 0.2s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  border-color: var(--text);
  border-width: 2px;
}

.sale-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #ff4444;
  color: white;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 5;
  border-radius: 2px;
}

.like-btn {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: white;
  border: 1.5px solid var(--border);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--text);
}

.like-btn:hover {
  border-color: var(--accent);
  background: var(--bg-alt);
  transform: scale(1.08);
}

.like-btn.liked {
  color: #ff4444;
  border-color: #ff4444;
}

.product-info-section {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-tag {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.8rem;
  font-size: 0.6rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  transition: all 0.2s ease;
}

.product-card-pro:hover .category-tag {
  background: var(--forest);
  color: var(--sand);
}

.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
  line-height: 1.35;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.4;
  flex: 1;
}

.rating-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.rating {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

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

.delivery-info-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  background: rgba(215, 196, 163, 0.22);
  border: 1px solid var(--sand-dark);
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.delivery-badge {
  color: var(--forest);
  font-weight: 600;
  white-space: nowrap;
}

.delivery-time {
  color: var(--text-light);
  font-size: 0.8rem;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

/* Discounted (current) price — emphasised */
.current-price {
  color: var(--text);
}

/* On-sale items: highlight the discounted price so it reads differently from the original */
.price.on-sale .current-price {
  color: #b23a2f; /* sale red */
}

.original-price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(111, 106, 95, 0.7);
}

.quick-btn {
  background: var(--forest);
  color: var(--sand);
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border-radius: 3px;
}

.quick-btn:hover {
  background: var(--sand);
  color: var(--forest);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--primary);
  border: 1px solid var(--border);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-alt);
  color: var(--text);
  border: none;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.3rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--forest);
  color: var(--sand);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

.modal-images {
  display: flex;
  flex-direction: column;
}

/* Detail view: show the full photo (no crop) at full quality */
.modal-images .image-gallery {
  height: auto;
}

.modal-images .main-image {
  height: 460px;
  background: var(--secondary);
  border-radius: 4px;
}

.modal-images .main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* show the whole photo instead of cropping */
  image-rendering: auto;
}

/* No hover-zoom in the detail view — keep the image crisp and static */
.modal-images .main-image img {
  transition: none;
}
.modal-images:hover .main-image img {
  transform: none;
}

.modal-details {
  padding-right: 1rem;
}

.modal-category {
  display: inline-block;
  background: var(--forest);
  color: var(--sand);
  padding: 0.4rem 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: fit-content;
  border-radius: 2px;
}

.modal-details h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.rating-details {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.description-full {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.spec h4 {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.spec ul {
  list-style: none;
  padding: 0;
}

.spec li {
  color: var(--text-light);
  padding: 0.3rem 0;
  font-size: 0.85rem;
}

.spec p {
  color: var(--text-light);
  font-size: 0.85rem;
}

.price-large {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* On-sale detail view: red discounted price + struck-through original */
.price-large.on-sale .amount {
  color: #b23a2f;
}

.price-large .original {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(111, 106, 95, 0.7);
}

.action-section {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  border-radius: 3px;
}

.quantity-control button {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: 700;
}

.quantity-control span {
  min-width: 1.8rem;
  text-align: center;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.add-to-cart-btn {
  flex: 1;
  padding: 0.85rem 1.8rem;
  background: var(--forest);
  color: var(--sand);
  border: 2px solid var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Jost', sans-serif;
  transition: all 0.2s ease;
  border-radius: 3px;
}

.add-to-cart-btn:hover {
  background: var(--sand);
  color: var(--forest);
  border-color: var(--sand);
}

/* ===== CART ===== */
.cart-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-end;
  z-index: 999;
}

.cart-content {
  background: var(--primary);
  width: 100%;
  max-width: 400px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
  border-left: 1px solid var(--border);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--secondary);
}

.cart-header h2 {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 600;
}

.cart-header button {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cart-header button:hover {
  color: var(--accent);
}

.cart-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  gap: 0;
}

.cart-items-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.section-label {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text);
  font-weight: 600;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-weight: 600;
}

.item-info p {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
}

.item-actions button {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
  width: 18px;
  height: 18px;
  font-size: 0.9rem;
}

.item-actions span {
  min-width: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.item-total {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.empty-cart {
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
}

.checkout-section {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-height: 60%;
  overflow-y: auto;
  background: var(--secondary);
}

.delivery-section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-footer {
  padding: 1.5rem;
  background: var(--secondary);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--forest);
  color: var(--sand);
  border: 2px solid var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Jost', sans-serif;
  transition: all 0.2s ease;
  border-radius: 3px;
}

.checkout-btn:hover {
  background: var(--sand);
  color: var(--forest);
  border-color: var(--forest);
}

.checkout-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-fields {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.checkout-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
}

.checkout-input:focus {
  outline: none;
  border-color: var(--forest);
}

.checkout-error {
  background: #fbe9e6;
  color: #c0492f;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.checkout-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.7rem;
}

/* ===== DELIVERY OPTIONS ===== */
.delivery-section {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--secondary);
}

.delivery-section h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
}

.delivery-option input[type="radio"] {
  margin-right: 1rem;
  margin-top: 0.3rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.delivery-option.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 2px 8px rgba(215, 196, 163, 0.1);
}

.delivery-content {
  flex: 1;
}

.delivery-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
}

.delivery-icon {
  font-size: 1.2rem;
}

.delivery-name {
  flex: 1;
  font-weight: 500;
  color: var(--text);
}

.delivery-price {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.delivery-timing {
  font-size: 0.8rem;
  color: var(--text-light);
}

.cart-summary {
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer-pro {
  background: var(--secondary);
  color: var(--text-light);
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
  font-size: 0.85rem;
}

.footer-pro a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-pro a:hover {
  color: var(--accent-light);
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-light);
  font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary);
    padding: 1rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1.2rem 0;
  }

  .cart-content {
    max-width: 100%;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .categories-scroll {
    padding: 0 1rem;
  }

  .search-section {
    padding: 1.2rem 1rem;
  }

  /* Header: logo on the left, compact actions on the right, no overflow */
  .header-content { gap: 0.5rem; }
  .header-top { padding: 0.9rem 0; }
  .logo-section { flex: 1 1 auto; min-width: 0; order: 0; }
  .logo { font-size: 1.8rem; }
  .logo-sub { font-size: 0.55rem; letter-spacing: 0.35em; }
  .menu-toggle { order: -1; flex: 0 0 auto; }
  .cart-section { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; order: 1; }

  /* Language switcher moves into the slide-down menu on mobile */
  .lang-switcher-desktop { display: none; }
  .nav-menu.open .nav-lang-mobile { display: flex; justify-content: center; margin-top: 0.6rem; }

  .login-btn { margin-right: 0; padding: 0.45rem 0.8rem; font-size: 0.78rem; }
  /* Cart becomes a compact icon button */
  .cart-btn { padding: 0.5rem 0.7rem; font-size: 0; border-width: 1px; }
  .cart-btn::before { content: '🛒'; font-size: 1.15rem; }
  .cart-count { top: -6px; right: -6px; width: 18px; height: 18px; font-size: 0.62rem; }
  .account-btn { margin-right: 0; }
  .account-name { display: none; }
  .account-avatar { width: 30px; height: 30px; }

  /* Hero */
  .hero-section { padding: 2.5rem 1.2rem; }
  .hero-title { font-size: 1.9rem; }
  .hero-text { font-size: 0.95rem; }
  .hero-categories { gap: 0.6rem; }
  .hero-cat { width: calc(33.333% - 0.5rem); padding: 0.8rem 0.3rem; }

  /* Product cards: tighter on small screens */
  .product-info-section { padding: 0.9rem; }
  .product-title { font-size: 1rem; }
  .product-desc { font-size: 0.8rem; }
  .delivery-info-card { font-size: 0.7rem; }
  .price { font-size: 1.1rem; }
  .quick-btn { padding: 0.5rem 0.8rem; font-size: 0.72rem; }

  /* Filters compact */
  .filter-sidebar { padding: 1.3rem; }

  /* Section headings */
  .section-title { font-size: 1.7rem; }
  .about-section, .contact-section { padding: 2.8rem 1.2rem; }

  /* Cart / account slide-over full width */
  .cart-panel { padding: 0; }
  .account-content, .cart-content { border-radius: 0; }
  .checkout-row { flex-direction: column; gap: 0.6rem; }
}

/* Very small phones */
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-cat { width: calc(50% - 0.4rem); }
  .logo { font-size: 1.7rem; }
}

/* shop-layout responsive */
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .filter-sidebar { position: static; }
}

@media (max-width: 768px) {
  .shop-layout { padding: 1rem; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
}

/* ===== ACCOUNT / AUTH ===== */
.login-btn {
  background: none;
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: 0.8rem;
  transition: all 0.2s ease;
}
.login-btn:hover { background: var(--forest); color: var(--sand); }

.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 0.8rem;
  font-family: 'Jost', sans-serif;
  color: var(--text);
}
.account-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.account-avatar.fallback {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--forest); color: var(--sand); font-weight: 600; font-size: 0.85rem;
}
.account-avatar.lg { width: 52px; height: 52px; font-size: 1.3rem; }
.account-name { font-size: 0.9rem; }

.auth-overlay {
  position: fixed; inset: 0; background: rgba(27,48,34,0.55);
  display: flex; align-items: center; justify-content: center; z-index: 300; padding: 1rem;
}
.auth-modal {
  background: #fff; border-radius: 16px; padding: 2.4rem 2.2rem; width: 380px; max-width: 92vw;
  text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.35); position: relative;
}
.auth-modal .logo { font-size: 2.6rem; color: var(--gold); }
.auth-sub { color: var(--text-light); font-size: 0.9rem; margin: 0.6rem 0 1.6rem; }
.auth-close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--text-light); }
.gsi-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.auth-note { font-size: 0.82rem; color: var(--text-light); }
.btn-google-mock {
  background: var(--forest); color: var(--sand); border: none;
  padding: 0.75rem 1.4rem; border-radius: 999px; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.9rem;
}

/* Account cabinet panel */
.account-content { max-width: 560px; }
.account-profile {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 2rem; border-bottom: 1px solid var(--border);
}
.account-pname { font-weight: 600; }
.account-pemail { font-size: 0.85rem; color: var(--text-light); }
.logout-link { margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 0.45rem 0.9rem; cursor: pointer; font-family: 'Jost', sans-serif; }
.logout-link:hover { background: var(--bg); }
.account-tabs { display: flex; gap: 0.5rem; padding: 1rem 2rem 0; }
.account-tabs button {
  background: none; border: none; padding: 0.6rem 0.9rem; cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 0.92rem; color: var(--text-light);
  border-bottom: 2px solid transparent;
}
.account-tabs button.active { color: var(--forest); border-bottom-color: var(--gold); font-weight: 600; }
.account-body { padding: 1.2rem 2rem 2rem; overflow-y: auto; }
.account-likes { display: flex; flex-direction: column; gap: 0.8rem; }
.account-like-card {
  display: flex; align-items: center; gap: 1rem; padding: 0.6rem;
  border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.account-like-card:hover { border-color: var(--gold); }
.account-like-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.al-info { flex: 1; }
.al-info h4 { font-size: 0.95rem; margin: 0; }
.al-info p { color: var(--text-light); margin: 0.2rem 0 0; }
.al-unlike { background: none; border: none; cursor: pointer; color: var(--text-light); font-size: 1rem; }
.al-unlike:hover { color: #c0492f; }
.account-orders { display: flex; flex-direction: column; gap: 0.9rem; }
.account-order { border: 1px solid var(--border); border-radius: 10px; padding: 0.9rem 1.1rem; }
.ao-head { display: flex; align-items: center; justify-content: space-between; }
.ao-ref { font-weight: 600; }
.ao-meta { font-size: 0.85rem; color: var(--text-light); margin: 0.3rem 0; }
.ao-items { font-size: 0.85rem; }
.account-order .pill { padding: 0.18rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; text-transform: capitalize; }
.account-order .pill.paid { background: #e3f3ea; color: #2e7d52; }
.account-order .pill.pending { background: #fbf2dc; color: #a17a13; }
.account-order .pill.cancelled { background: #fbe9e6; color: #c0492f; }

/* Checkout shipping rows */
.checkout-row { display: flex; gap: 0.6rem; }
.checkout-row .checkout-input { flex: 1; }

/* ===== HOME / ABOUT / CONTACT SECTIONS ===== */
.hero-section {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  color: var(--sand);
  padding: 4rem 2rem;
  text-align: center;
}
.hero-inner { max-width: 860px; margin: 0 auto; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.78rem; opacity: 0.85; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: #fff; margin: 0.6rem 0 1rem; }
.hero-text { font-size: 1.05rem; line-height: 1.7; opacity: 0.92; }
.hero-cta {
  margin-top: 1.8rem; background: var(--sand); color: var(--forest); border: none;
  padding: 0.85rem 1.8rem; border-radius: 999px; font-family: 'Jost', sans-serif;
  font-size: 0.95rem; cursor: pointer; transition: transform 0.15s, background 0.15s;
}
.hero-cta:hover { background: #fff; transform: translateY(-1px); }

/* Centered category selector inside the hero */
.hero-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}
.hero-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 108px;
  padding: 1.1rem 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(215, 196, 163, 0.35);
  border-radius: 14px;
  color: var(--sand);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.hero-cat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--sand);
}
.hero-cat.active {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--forest);
}
.hero-cat-icon {
  font-size: 1.9rem;
  line-height: 1;
}
.hero-cat-label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 560px) {
  .hero-cat { width: 88px; padding: 0.9rem 0.4rem; }
  .hero-cat-icon { font-size: 1.5rem; }
}

.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--forest);
  text-align: center; margin-bottom: 1.4rem;
}

.about-section { padding: 4rem 2rem; background: var(--secondary); }
.about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.about-inner p { font-size: 1.02rem; line-height: 1.8; color: var(--text); margin-bottom: 1.1rem; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.about-values .value { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem 1.2rem; }
.about-values .value-icon { font-size: 1.6rem; color: var(--gold); }
.about-values h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin: 0.6rem 0 0.3rem; }
.about-values .value p { font-size: 0.88rem; color: var(--text-light); margin: 0; }
@media (max-width: 700px) { .about-values { grid-template-columns: 1fr; } .hero-title { font-size: 2.2rem; } }

.contact-section { padding: 4rem 2rem 5rem; background: var(--primary); }
.contact-inner { max-width: 620px; margin: 0 auto; }
.contact-lead { text-align: center; color: var(--text-light); margin-bottom: 2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: flex; gap: 1rem; }
.contact-row input { flex: 1; }
.contact-form input, .contact-form textarea {
  padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'Jost', sans-serif; font-size: 0.95rem; color: var(--text); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--forest); }
.contact-upload { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.contact-file-btn {
  display: inline-block; border: 1px dashed var(--border); border-radius: 8px;
  padding: 0.7rem 1.2rem; cursor: pointer; color: var(--text-light); font-size: 0.9rem;
}
.contact-file-btn:hover { border-color: var(--gold); color: var(--gold); }
.contact-img-preview { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-light); }
.contact-img-preview img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.contact-img-preview button { background: none; border: none; cursor: pointer; color: #c0492f; font-size: 0.9rem; }
.contact-submit {
  background: var(--forest); color: var(--sand); border: none; padding: 0.9rem;
  border-radius: 8px; font-family: 'Jost', sans-serif; font-size: 0.95rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px;
}
.contact-submit:hover { background: var(--forest-light); }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-success {
  text-align: center; background: #e3f3ea; color: #2e7d52; padding: 1.6rem;
  border-radius: 12px; font-size: 1rem;
}
.link-like { background: none; border: none; color: var(--forest); text-decoration: underline; cursor: pointer; margin-left: 0.5rem; font-family: inherit; }

/* ===== STAR RATINGS ===== */
.stars, .stars-input { display: inline-flex; gap: 1px; }
.stars .star { color: #d9cdb3; font-size: 1rem; }
.stars .star.full { color: #1b3022; }
.stars .star.half { background: linear-gradient(90deg, #1b3022 50%, #d9cdb3 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars-input .star { background: none; border: none; cursor: pointer; font-size: 1.6rem; color: #d9cdb3; padding: 0 1px; transition: color 0.1s; }
.stars-input .star.full { color: #1b3022; }
.rating-details { display: flex; align-items: center; gap: 0.6rem; margin: 0.4rem 0 0.8rem; }
.rating-details .reviews { font-size: 0.85rem; color: var(--text-light); }
.no-reviews { color: var(--text-light); font-style: italic; }

.rating-panel { margin-top: 1.5rem; padding: 1.3rem; background: var(--secondary); border: 1px solid var(--border); border-radius: 12px; }
.rating-panel h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 0.2rem; }
.rating-panel-note { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.6rem; }
.rating-panel textarea { width: 100%; margin-top: 0.7rem; padding: 0.6rem 0.8rem; border: 1px solid var(--border); border-radius: 8px; font-family: 'Jost', sans-serif; font-size: 0.9rem; resize: vertical; }
.rating-submit { margin-top: 0.7rem; background: var(--forest); color: var(--sand); border: none; padding: 0.6rem 1.4rem; border-radius: 8px; cursor: pointer; font-family: 'Jost', sans-serif; }
.rating-submit:hover { background: var(--forest-light); }
.rating-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.reviews-list { margin-top: 1.5rem; }
.reviews-list h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; margin-bottom: 0.7rem; }
.review-item { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: none; }
.review-comment { font-size: 0.9rem; color: var(--text); margin-top: 0.3rem; }

/* ===== CABINET — RATE ORDERED ITEMS ===== */
.ao-items-list { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.cabinet-item {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  padding: 0.45rem 0; border-top: 1px dashed var(--border);
}
.cabinet-item:first-child { border-top: none; }
.ci-name { font-size: 0.9rem; color: var(--text); }
.ci-rate { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.stars-input.sm .star { font-size: 1.15rem; padding: 0 1px; }
.ci-hint { font-size: 0.72rem; color: var(--text-light); }
.ci-saved { font-size: 0.72rem; color: #2e7d52; font-weight: 600; }
.ao-rate-hint { margin-top: 0.5rem; font-size: 0.74rem; color: var(--text-light); }

/* Cabinet rating: comment form + read-only review */
.cabinet-item { display: block; }
.ci-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.ci-form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.ci-comment-input {
  flex: 1; padding: 0.5rem 0.7rem; border: 1px solid var(--border); border-radius: 6px;
  font-family: 'Jost', sans-serif; font-size: 0.85rem; color: var(--text);
}
.ci-comment-input:focus { outline: none; border-color: var(--forest); }
.ci-submit {
  background: var(--forest); color: var(--sand); border: none; padding: 0.5rem 1rem;
  border-radius: 6px; cursor: pointer; font-family: 'Jost', sans-serif; font-size: 0.85rem; white-space: nowrap;
}
.ci-submit:hover { background: var(--forest-light); }
.ci-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.ci-comment { margin-top: 0.4rem; font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: inline-flex;
  gap: 2px;
  margin-right: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: var(--secondary);
}
/* The language switcher lives in the header on desktop, in the menu on mobile */
.nav-lang-mobile { display: none; }
.lang-btn {
  background: none;
  border: none;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.15s ease;
}
.lang-btn:hover { color: var(--forest); }
.lang-btn.active {
  background: var(--forest);
  color: var(--sand);
}
@media (max-width: 768px) {
  .lang-switcher { margin-right: 0.5rem; }
  .lang-btn { padding: 0.3rem 0.45rem; font-size: 0.72rem; }
}

/* ===== COOKIE / STORAGE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--forest);
  color: var(--sand);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 400;
  animation: cookieUp 0.35s ease;
}
@keyframes cookieUp { from { transform: translateY(120%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-text { font-size: 0.85rem; line-height: 1.5; margin: 0; flex: 1; }
.cookie-learn { color: #fff; text-decoration: underline; }
.cookie-accept {
  flex-shrink: 0;
  background: var(--sand);
  color: var(--forest);
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cookie-accept:hover { background: #fff; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-accept { width: 100%; }
}

/* ===== MARKETING CONSENT CHECKBOX (checkout) ===== */
.marketing-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.9rem 0 0.2rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-light);
  cursor: pointer;
}
.marketing-consent input {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--forest);
  cursor: pointer;
}

.contact-as {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  gap: 0.4rem;
}
.contact-as strong { color: var(--text); }

/* User cabinet — editable address */
.account-address { display: flex; flex-direction: column; gap: 0.7rem; }
.addr-intro { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.2rem; }
.account-address .checkout-btn { margin-top: 0.4rem; }
