/* ==========================================================================
   TAMAGUCHI STORE - CATALOGO DE PELUCAS Y ALQUILER COSPLAY
   Aesthetics: Differentiated Section Architecture, Visual Hierarchy & UX Rhythm
   Coverage: Bogotá y Alrededores | WhatsApp: +57 319 275 8557
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --primary-pink: #ff5983;
  --primary-pink-hover: #f04370;
  --primary-pink-dark: #cc2551;
  --primary-pink-soft: #ffe8ef;
  --primary-pink-light: #fff2f6;
  
  /* Text & Contrast (WCAG AA compliant >= 4.5:1) */
  --brand-deep: #2c121d;
  --brand-plum: #4a2131;
  --text-main: #2b1620;
  --text-muted: #543946;
  --text-light: #6e5460;
  
  /* Section Palette Accents (UX Differentiation) */
  /* 1. Catalog / Wigs: Sweet Rose */
  --zone-catalog-bg: #fff5f8;
  --zone-catalog-border: #f8cdd8;
  
  /* 2. Steps Guide: Warm Peach-Blush */
  --zone-steps-bg: #fff1f4;
  --zone-steps-border: #f8ccd7;
  --zone-steps-card: #ffffff;
  
  /* 3. Hospital & Spa: Lilac Lavender */
  --zone-spa-bg: #f9f6ff;
  --zone-spa-border: #e4dcf7;
  --zone-spa-card: #ffffff;
  --zone-spa-accent: #7c3aed;
  --zone-spa-soft: #f0ebfe;
  --zone-spa-text: #581c87;
  
  /* 4. Accessories: Fresh Mint & Matcha */
  --zone-acc-bg: #f4faf6;
  --zone-acc-border: #d4ede0;
  --zone-acc-card: #ffffff;
  --zone-acc-accent: #10b981;
  --zone-acc-soft: #e3f7ed;
  --zone-acc-text: #065f46;

  /* 5. Footer: Deep Espresso Plum */
  --zone-footer-bg: #240e18;
  --zone-footer-text: #f7e8ee;
  --zone-footer-muted: #bda2ae;

  /* Surfaces & Shadows */
  --bg-page: #fdf8fa;
  --bg-surface: #ffffff;
  --bg-glass: rgba(253, 248, 250, 0.94);
  
  --shadow-sm: 0 3px 10px rgba(74, 33, 49, 0.05);
  --shadow-md: 0 10px 26px rgba(74, 33, 49, 0.08);
  --shadow-lg: 0 18px 40px rgba(74, 33, 49, 0.12);
  --shadow-card: 0 4px 16px rgba(74, 33, 49, 0.06);
  --shadow-hover: 0 12px 28px rgba(255, 89, 131, 0.2);

  /* Typography */
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Karla', sans-serif;
  --font-kawaii: 'Quicksand', sans-serif;

  /* Layout */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --max-width: 1320px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Vertical Rhythm: whitespace between major page sections/zones.
     Kept larger than any single zone's internal padding so the eye reads
     a clear break between zones, not just their colored borders. */
  --space-section: 96px;
  --space-section-mobile: 56px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #ff5983, #ff7297, #ff8ba9, #ff5983);
  background-size: 300% 100%;
  animation: gradientShift 12s ease infinite;
  color: #ffffff;
  font-family: var(--font-kawaii);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 0;
  text-align: center;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(255, 89, 131, 0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-dot {
  opacity: 0.75;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid #f2dde5;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(74, 33, 49, 0.03);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition-bounce);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-badge {
  font-family: var(--font-kawaii);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-pink-dark);
  background: var(--primary-pink-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  padding: 7px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-deep);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  background: var(--primary-pink-soft);
  color: var(--brand-deep);
}

.nav-link.active {
  background: var(--primary-pink);
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-wishlist-toggle {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #f0d5df;
  color: var(--primary-pink);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-bounce);
}

.btn-wishlist-toggle:hover {
  background: var(--primary-pink-soft);
  transform: scale(1.08);
}

.wishlist-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.btn-whatsapp-header {
  background: #25d366;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: all var(--transition-bounce);
}

.btn-whatsapp-header:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1.5px solid #f0d5df;
  color: var(--brand-deep);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   HERO SECTION (WARM & COZY INTRODUCTION)
   ========================================================================== */
.hero-section {
  padding: 26px 0 18px;
}

.hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f9 50%, #ffedf2 100%);
  border: 1.5px solid #f8cdd8;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "♥";
  position: absolute;
  right: -15px;
  bottom: -35px;
  font-size: 200px;
  color: rgba(255, 89, 131, 0.04);
  font-weight: 900;
  pointer-events: none;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-pink-soft);
  color: var(--brand-deep);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-kawaii);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.22;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero-title span {
  color: var(--primary-pink);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 22px;
}

.hero-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1.5px solid #f2dde5;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.perk-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-md);
}

.perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: var(--primary-pink-light);
}

.perk-text h3 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 1px;
}

.perk-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   ZONE 1: CATALOG TOOLBAR (THE INTERACTIVE HUB)
   ========================================================================== */
.catalog-toolbar {
  background: #ffffff;
  border: 1.5px solid #edd5df;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(74, 33, 49, 0.06);
  margin-bottom: 24px;
  position: relative;
}

.search-and-sort-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-pink);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 42px 12px 46px;
  background: #faf4f7;
  border: 1.5px solid #ebd3dd;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand-deep);
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary-pink);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 89, 131, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  background: var(--primary-pink-soft);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

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

.sort-and-view {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sort-select {
  padding: 11px 18px;
  background: #faf4f7;
  border: 1.5px solid #ebd3dd;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sort-select:focus {
  border-color: var(--primary-pink);
  background: #ffffff;
}

/* Category Tabs (Segmented Tab Bar) */
.category-tabs-wrap {
  margin-bottom: 16px;
}

.category-tabs-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-plum);
  margin-bottom: 8px;
  display: block;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  background: #f8edf2;
  border-radius: var(--radius-pill);
  scrollbar-width: thin;
}

.category-tabs::-webkit-scrollbar {
  height: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: #e2cad4;
  border-radius: 4px;
}

.cat-tab-btn {
  padding: 8px 16px;
  background: transparent;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cat-tab-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-pink-dark);
}

.cat-tab-btn.active {
  background: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(255, 89, 131, 0.3);
}

.cat-count {
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.07);
  padding: 1px 6px;
  border-radius: 10px;
}

.cat-tab-btn.active .cat-count {
  background: rgba(255, 255, 255, 0.28);
}

/* Secondary Filter Chips Row */
.secondary-filters-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed #e8d0db;
  align-items: center;
}

.filter-group-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-plum);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.filter-chip-btn {
  padding: 5px 12px;
  background: #fdf5f8;
  border: 1px solid #ebd3dd;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filter-chip-btn:hover {
  border-color: var(--primary-pink);
  color: var(--brand-deep);
  background: var(--primary-pink-light);
}

.filter-chip-btn.active {
  background: var(--brand-deep);
  color: #ffffff;
  border-color: var(--brand-deep);
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
}

/* Active Filter Summary Bar */
.active-filters-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-pink-light);
  border: 1px solid #f8ccd7;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  font-size: 0.84rem;
}

.active-filters-bar.visible {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.active-chips-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.active-filter-badge {
  background: #ffffff;
  border: 1px solid #f8ccd7;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-remove-filter {
  color: var(--primary-pink);
  font-weight: 800;
  cursor: pointer;
}

.btn-clear-all-filters {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-decoration: underline;
  cursor: pointer;
}

/* Results Summary Row */
.results-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}

.results-count-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.results-count-badge {
  background: var(--primary-pink);
  color: #fff;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
}

/* ==========================================================================
   ZONE 2: PRODUCT CARDS (THE MAIN STARS)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border: 1.5px solid #edd5df;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(74, 33, 49, 0.05);
  transition: all var(--transition-bounce);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-pink);
}

/* Dedicated Studio Photography Box */
.card-media-wrap {
  position: relative;
  height: 250px;
  margin: 8px 8px 0 8px;
  background: linear-gradient(180deg, #fcf7f9 0%, #f6eaf0 100%);
  border: 1px solid #ebd8e2;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 8px rgba(74, 33, 49, 0.08));
}

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

.product-img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 6px;
  padding: 16px;
  text-align: center;
  background: transparent;
  width: 100%;
  height: 100%;
}

.product-img-fallback .fallback-icon {
  font-size: 2.4rem;
  color: var(--primary-pink);
  opacity: 0.8;
}

.product-img-fallback span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deep);
}

/* Badges on Card Media */
.card-badges-top {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge-code {
  background: var(--brand-deep);
  color: #ffffff;
  font-family: var(--font-kawaii);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  align-self: flex-start;
}

.badge-character {
  background: var(--primary-pink);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(255, 89, 131, 0.25);
  text-transform: uppercase;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  align-self: flex-start;
}

.btn-card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #ebd8e2;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transition: all var(--transition-bounce);
}

.btn-card-wishlist:hover {
  transform: scale(1.12);
  color: var(--primary-pink);
  background: #ffffff;
}

.btn-card-wishlist.active {
  color: #ff3366;
  background: #ffffff;
}

.card-quick-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  transition: all var(--transition-fast);
  z-index: 3;
}

.product-card:hover .card-quick-overlay {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.btn-quick-view {
  background: #ffffff;
  border: 1px solid #e0c8d3;
  color: var(--brand-deep);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.btn-quick-view:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
}

/* Card Content */
.card-content {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.card-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-pink-dark);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-deep);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.card-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.spec-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  background: #faf2f6;
  border: 1px solid #ebd3de;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Cozy Pink Price Box */
.card-pricing-box {
  margin-top: auto;
  background: #fff2f6;
  border: 1px solid #f8ccd7;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.pricing-row-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
}

.rental-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-plum);
  white-space: nowrap;
  flex-shrink: 0;
}

.rental-price {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary-pink-dark);
  white-space: nowrap;
}

.pricing-row-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  flex-wrap: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
  padding-top: 4px;
  border-top: 1px dashed #f0c2cd;
}

.deposit-val {
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-rent {
  flex: 1;
  background: linear-gradient(135deg, #ff5983 0%, #f04370 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-bounce);
  box-shadow: 0 3px 10px rgba(255, 89, 131, 0.25);
}

.btn-card-rent:hover {
  background: linear-gradient(135deg, #f04370 0%, #cc2551 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255, 89, 131, 0.35);
}

.btn-card-details {
  background: #faf2f6;
  border: 1px solid #ebd3de;
  color: var(--brand-deep);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-card-details:hover {
  background: var(--primary-pink-soft);
  border-color: var(--primary-pink);
}

/* Empty Results State */
.empty-results-box {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1.5px dashed #f8ccd7;
  border-radius: var(--radius-lg);
  padding: 44px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-icon {
  font-size: 3.2rem;
  margin-bottom: 2px;
}

.empty-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-deep);
}

.empty-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 440px;
}

/* Pagination / Load More */
.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 50px;
}

.btn-load-more {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-dark));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(255, 89, 131, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-bounce);
}

.btn-load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 89, 131, 0.35);
}

/* ==========================================================================
   ZONE 3: "¿CÓMO ALQUILAR?" (WARM ROSE-GOLD 3-STEP GUIDE)
   ========================================================================== */
.section-how-it-works {
  padding: 44px 28px;
  background: linear-gradient(135deg, #fff2f6 0%, #ffeaf0 100%);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-section);
  border: 1.5px solid var(--zone-steps-border);
  box-shadow: 0 8px 24px rgba(255, 89, 131, 0.08);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-badge {
  background: #ffffff;
  border: 1px solid var(--zone-steps-border);
  color: var(--primary-pink-dark);
  font-family: var(--font-kawaii);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.step-card {
  background: #ffffff;
  border: 1.5px solid #f2dde5;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-pink);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 89, 131, 0.35);
}

.step-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff0f4;
  border: 1.5px solid #f8ccd7;
  color: var(--primary-pink);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px auto 12px;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ZONE 4: HOSPITAL DE PELUCAS (LILAC / SPA THEME)
   ========================================================================== */
.services-section {
  padding: 44px 28px;
  background: linear-gradient(135deg, #faf7ff 0%, #f4effe 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--zone-spa-border);
  margin-bottom: var(--space-section);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.05);
  position: relative;
}

.services-section .section-badge {
  background: #ffffff;
  border-color: #d8cbf5;
  color: var(--zone-spa-accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.service-card {
  background: #ffffff;
  border: 1.5px solid #e2d6f8;
  border-top: 3.5px solid var(--zone-spa-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.12);
  border-color: var(--zone-spa-accent);
}

.service-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.service-badge {
  background: var(--zone-spa-soft);
  color: var(--zone-spa-text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.service-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed #e2d6f8;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--zone-spa-text);
}

.btn-service-book {
  background: var(--zone-spa-soft);
  color: var(--zone-spa-text);
  border: 1px solid #d8cbf5;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-service-book:hover {
  background: var(--zone-spa-accent);
  color: #fff;
  border-color: var(--zone-spa-accent);
}

/* ==========================================================================
   ZONE 5: ACCESORIOS (FRESH MINT & MERCH THEME)
   ========================================================================== */
.accessories-section {
  padding: 44px 28px;
  background: linear-gradient(135deg, #f4faf6 0%, #ebf7f0 100%);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--zone-acc-border);
  margin-bottom: var(--space-section);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.05);
  position: relative;
}

/* Brand "seam" divider: a small heart badge centered in the whitespace
   gap between colored zones, so the section break reads clearly without
   relying on the boxes' borders alone. */
.section-how-it-works::after,
.services-section::after,
.accessories-section::after {
  content: "♥";
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-page);
  border: 1.5px solid #f2dde5;
  color: var(--primary-pink);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.accessories-section .section-badge {
  background: #ffffff;
  border-color: #c4ebd5;
  color: var(--zone-acc-text);
}

.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.accessory-card {
  background: #ffffff;
  border: 1.5px solid #cde8d9;
  border-top: 3.5px solid var(--zone-acc-accent);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.accessory-card:hover {
  transform: translateY(-3px);
  border-color: var(--zone-acc-accent);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.accessory-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--zone-acc-text);
  background: var(--zone-acc-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 6px;
}

.accessory-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.accessory-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.4;
}

.accessory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed #d8ece1;
}

.accessory-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--zone-acc-text);
}

/* ==========================================================================
   ZONE 6: PREGUNTAS FRECUENTES (FAQ ACCORDION)
   ========================================================================== */
.faq-section {
  margin-bottom: var(--space-section);
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid #edd5df;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-pink);
  box-shadow: 0 4px 16px rgba(255, 89, 131, 0.12);
}

.faq-header {
  width: 100%;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-pink-soft);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-pink);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-body {
  max-height: 260px;
  padding: 0 22px 18px;
}

/* ==========================================================================
   QUICK VIEW & DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 18, 29, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border: 1.5px solid #edd5df;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92) translateY(16px);
  transition: all var(--transition-bounce);
}

.modal-backdrop.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #faf2f6;
  border: 1px solid #ebd3de;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 28px;
}

.modal-media-col {
  background: linear-gradient(180deg, #fcf7f9 0%, #f6eaf0 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ebd8e2;
  height: 440px;
  padding: 12px;
}

.modal-media-col img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 6px 12px rgba(74, 33, 49, 0.12));
}

.modal-info-col {
  display: flex;
  flex-direction: column;
}

.modal-header-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.modal-code-badge {
  background: var(--brand-deep);
  color: #ffffff;
  font-family: var(--font-kawaii);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.modal-cat-badge {
  background: var(--primary-pink-soft);
  color: var(--primary-pink-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1.25;
  margin-bottom: 14px;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.modal-specs-table tr {
  border-bottom: 1px solid #f0dde6;
}

.modal-specs-table td {
  padding: 8px 6px;
}

.modal-specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 42%;
}

.modal-specs-table td:last-child {
  color: var(--brand-deep);
  font-weight: 700;
}

.modal-pricing-card {
  background: #fff2f6;
  border: 1.5px solid #f8ccd7;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.modal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.modal-rent-amount {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-pink-dark);
  white-space: nowrap;
}

.modal-deposit-note {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed #f0c2cd;
}

.modal-actions-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-modal-whatsapp {
  flex: 1;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28);
  transition: all var(--transition-bounce);
}

.btn-modal-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.38);
}

.btn-modal-wishlist {
  background: #faf2f6;
  border: 1.5px solid #ebd3de;
  color: var(--primary-pink);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.btn-modal-wishlist:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
  transform: scale(1.08);
}

.btn-modal-wishlist.active {
  background: #ff3366;
  border-color: #ff3366;
  color: #fff;
}

/* ==========================================================================
   WISHLIST DRAWER
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 18, 29, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1101;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.drawer-backdrop.open .wishlist-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1.5px solid #f0dde6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf5f8;
}

.drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.drawer-close-btn {
  font-size: 1.2rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ebd3de;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishlist-item {
  display: flex;
  gap: 12px;
  background: #faf4f7;
  border: 1.5px solid #f0dde6;
  border-radius: var(--radius-md);
  padding: 10px;
  align-items: center;
}

.wishlist-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #fff0f4;
  padding: 3px;
  flex-shrink: 0;
}

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

.wishlist-item-code {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-pink);
}

.wishlist-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-item-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-pink-dark);
  white-space: nowrap;
}

.btn-remove-wishlist-item {
  color: var(--text-light);
  font-size: 1.15rem;
  padding: 4px;
  transition: color var(--transition-fast);
}

.btn-remove-wishlist-item:hover {
  color: #ff3366;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1.5px solid #f0dde6;
  background: #fdf5f8;
}

.drawer-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 12px;
  white-space: nowrap;
}

.btn-drawer-whatsapp {
  width: 100%;
  background: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.28);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & TOAST NOTIFICATIONS
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  z-index: 80;
  transition: all var(--transition-bounce);
  animation: floatPulse 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

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

.toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.toast-msg {
  background: var(--brand-deep);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.3s ease 2.7s forwards;
}

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

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}

/* ==========================================================================
   ZONE 7: DARK ESPRESSO FOOTER (HIGH-END VISUAL GROUNDING)
   ========================================================================== */
.main-footer {
  background: var(--zone-footer-bg);
  color: var(--zone-footer-text);
  padding: 50px 0 24px;
  margin-top: 60px;
  border-top: 3px solid var(--primary-pink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--zone-footer-muted);
  margin: 12px 0 16px;
  max-width: 300px;
  line-height: 1.55;
}

.footer-social-links {
  display: flex;
  gap: 8px;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-icon-btn:hover {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
  transform: translateY(-2px);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--zone-footer-muted);
}

.footer-links-list a:hover {
  color: var(--primary-pink);
}

.payment-badges-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--zone-footer-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal-media-col {
    height: 340px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1.5px solid #f2dde5;
    box-shadow: var(--shadow-md);
    padding: 10px 16px 16px;
    z-index: 89;
  }
  .nav-links.mobile-open .nav-link {
    justify-content: flex-start;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-card {
    padding: 22px 18px;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-perks {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
  }
  .card-media-wrap {
    height: 210px;
  }
  .card-content {
    padding: 10px 12px 12px;
  }
  .card-title {
    font-size: 0.95rem;
  }
  .rental-price {
    font-size: 1.1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
  .section-how-it-works,
  .services-section,
  .accessories-section,
  .faq-section,
  .reviews-section {
    margin-bottom: var(--space-section-mobile);
  }
  .section-how-it-works::after,
  .services-section::after,
  .accessories-section::after {
    bottom: -37px;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   CUSTOMER REVIEWS & RATINGS SYSTEM (JUDGE.ME / TAMAGUCHI STORE THEME)
   ========================================================================== */
.reviews-section {
  padding: 45px 0 0;
  margin-bottom: var(--space-section);
}

.reviews-summary-card {
  background: #ffffff;
  border: 1.5px solid #eed8e2;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.summary-score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-right: 28px;
  border-right: 1.5px solid #f2e1ea;
}

.score-number-large {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1;
  margin-bottom: 6px;
}

.stars-gold-row {
  color: #fbcd0a;
  font-size: 1.45rem;
  letter-spacing: 3px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(251, 205, 10, 0.2);
}

.score-total-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.btn-write-review {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-hover));
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 89, 131, 0.3);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-write-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 89, 131, 0.4);
}

/* Histogram Bars */
.summary-histogram-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.histogram-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-plum);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.histogram-row:hover {
  background: var(--primary-pink-light);
}

.histogram-row.active {
  background: #ffe3ec;
}

.histogram-star-label {
  min-width: 46px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.histogram-star-label .star-icon {
  color: #fbcd0a;
}

.histogram-bar-track {
  flex: 1;
  height: 10px;
  background: #f0e6eb;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.histogram-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbcd0a, #ff9f1c);
  border-radius: var(--radius-pill);
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.histogram-count {
  min-width: 44px;
  text-align: right;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Write Review Form Wrap */
.write-review-form-wrap {
  background: #fffbfe;
  border: 2px solid #ffd1df;
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
  animation: fadeInDown 0.3s ease;
}

.new-review-form .form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--brand-deep);
  margin-bottom: 4px;
}

.new-review-form .form-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-rating-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 12px 18px;
  border: 1px solid #edd5df;
  border-radius: var(--radius-md);
}

.form-label-bold {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.star-rating-input {
  display: flex;
  gap: 4px;
}

.star-select {
  font-size: 1.8rem;
  color: #dfd4db;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  user-select: none;
}

.star-select.active,
.star-select:hover,
.star-select.hover {
  color: #fbcd0a;
  transform: scale(1.15);
}

.selected-rating-hint {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-plum);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-plum);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e5d1dc;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 3px rgba(255, 89, 131, 0.15);
}

.form-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.btn-submit-review {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-pink-hover));
  color: #ffffff;
  border: none;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 89, 131, 0.35);
  transition: all var(--transition-fast);
}

.btn-submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 89, 131, 0.45);
}

.btn-cancel-review {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid #dfd0d8;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-cancel-review:hover {
  background: #f5eef2;
  color: var(--text-main);
}

/* Reviews Filter Bar */
.reviews-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #edd5df;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.reviews-active-filter-text {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-plum);
}

.reviews-sort-select {
  padding: 6px 12px;
  border: 1px solid #dfd0d8;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  background: #fdf8fb;
  cursor: pointer;
}

/* Reviews Cards List */
.reviews-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.review-card {
  background: #ffffff;
  border: 1.5px solid #eee0e7;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card > *:last-child {
  margin-bottom: 0;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 18, 29, 0.08);
  border-color: #e5cbd6;
}

.review-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.review-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-verified-buyer {
  background: #e8f7ee;
  color: #0d8a4e;
  border: 1px solid #b7e4c7;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-date-badge {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.review-stars-product {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.review-stars {
  color: #fbcd0a;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.review-product-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-plum);
  background: var(--primary-pink-light);
  border: 1px solid #edd5df;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-title-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 6px;
  line-height: 1.35;
}

.review-body-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 14px;
  white-space: pre-line;
}

/* Review Photos Thumbnail Row */
.review-photos-thumbnails {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.review-photo-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid #edd5df;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.review-photo-thumb:hover {
  transform: scale(1.06);
  border-color: var(--primary-pink);
}

.review-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Reviews Pagination Button */
.reviews-pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.btn-load-more-reviews {
  background: #ffffff;
  color: var(--brand-deep);
  border: 1.5px solid #e5cbd6;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-load-more-reviews:hover {
  background: var(--primary-pink-light);
  border-color: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 89, 131, 0.25);
  color: var(--primary-pink-dark);
}

/* Photo Lightbox Modal */
.photo-lightbox-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px;
  max-width: 540px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  animation: modalPop 0.25s ease;
}

.photo-lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.lightbox-caption {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-deep);
}

@media (max-width: 768px) {
  .reviews-summary-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }
  .summary-score-col {
    padding-right: 0;
    border-right: none;
    border-bottom: 1.5px solid #f2e1ea;
    padding-bottom: 20px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .reviews-list-grid {
    grid-template-columns: 1fr;
  }
}

