/* ==============================================================================
   JC BARBER ATELIER - DARK LUXURY STYLESHEET
   Estilo: Dark Luxury (#0a0b0e, oro vintage #C5A059, ámbar, cuero cálido)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #C5A059;
  --accent-color: #DFBA73;
  --primary-light: #FCE0AD;
  --bg-dark: #0a0b0e;
  --bg-card: #14171f;
  --bg-card-hover: #1c212c;
  --bg-secondary: #0f1118;
  --text-primary: #f5f6f9;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border-color: rgba(197, 160, 89, 0.22);
  --border-glow: rgba(197, 160, 89, 0.45);
  --leather-accent: #3a2a1f;
  --gold-gradient: linear-gradient(135deg, #FCE0AD 0%, #DFBA73 35%, #C5A059 70%, #8C6928 100%);
  --gold-gradient-subtle: linear-gradient(180deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.02) 100%);
  --shadow-luxury: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 20px -5px rgba(197, 160, 89, 0.2);
  --transition-smooth: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(197, 160, 89, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(197, 160, 89, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Tipografía */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: #ffffff;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--primary-light);
}

.text-gold {
  color: var(--primary-color) !important;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Botones Luxury */
.btn-gold {
  background: var(--gold-gradient);
  color: #0a0b0e;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197, 160, 89, 0.55);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border: 1.5px solid var(--border-glow);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.12);
  border-color: var(--accent-color);
  color: #ffffff;
}

/* Header & Barra Superior */
.top-notice-bar {
  background: #060709;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  padding: 7px 20px;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.top-notice-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-brand img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 2px 8px rgba(197, 160, 89, 0.3));
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.65rem;
  color: var(--primary-color);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

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

.nav-menu li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav-menu li a:hover, .nav-menu li a.active {
  color: var(--primary-light);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-icon-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
  border-color: var(--accent-color);
  background: var(--bg-card-hover);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold-gradient);
  color: #0a0b0e;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-admin-link {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.btn-admin-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 65%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(197, 160, 89, 0.08);
  border: 1px solid var(--border-glow);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.8rem;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-box h4 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Secciones Generales */
.section-wrapper {
  padding: 85px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  font-size: 0.8rem;
  color: var(--primary-color);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* MOTOR DE RESERVAS (BOOKING WIZARD) */
.booking-wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.booking-wizard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}

/* Pasos del Wizard (Stepper) */
.wizard-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  padding: 0 10px;
}

.wizard-stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #101217;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.step-indicator.active .step-circle {
  background: var(--bg-card);
  border-color: var(--primary-color);
  color: var(--primary-light);
  box-shadow: 0 0 16px rgba(197, 160, 89, 0.4);
}

.step-indicator.completed .step-circle {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #0a0b0e;
}

.step-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.step-indicator.active .step-title {
  color: var(--primary-light);
}

.step-indicator.completed .step-title {
  color: #e5e7eb;
}

/* Contenido de los pasos */
.step-pane {
  display: none;
  animation: fadeIn 0.35s ease-in-out;
}

.step-pane.active {
  display: block;
}

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

/* Paso 1: Servicios */
.services-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.service-card-radio {
  background: var(--bg-secondary);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-radio:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-card-radio.selected {
  border-color: var(--primary-color);
  background: rgba(197, 160, 89, 0.08);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.service-card-radio .badge-cat {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--primary-light);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.service-card-radio h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  padding-right: 65px;
}

.service-card-radio p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.45;
}

.service-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.service-meta-footer .duration {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-meta-footer .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* Paso 2: Barberos */
.barbers-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 30px;
}

.barber-card-radio {
  background: var(--bg-secondary);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.barber-card-radio:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.barber-card-radio.selected {
  border-color: var(--primary-color);
  background: rgba(197, 160, 89, 0.08);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.barber-card-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 2px solid var(--border-glow);
  object-fit: cover;
}

.barber-card-radio h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.barber-card-radio .barber-role {
  font-size: 0.78rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}

.barber-card-radio p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Paso 3: Calendario y Horas */
.schedule-picker-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  margin-bottom: 30px;
}

@media (max-width: 860px) {
  .schedule-picker-container {
    grid-template-columns: 1fr;
  }
}

.date-selector-pane {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.date-selector-pane h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
}

.dates-horizontal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 10px;
}

.date-item-btn {
  background: #101217;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.date-item-btn:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.date-item-btn.selected {
  border-color: var(--primary-color);
  background: var(--gold-gradient);
  color: #0a0b0e;
}

.date-item-btn.selected .day-name, .date-item-btn.selected .day-num {
  color: #0a0b0e;
  font-weight: 800;
}

.date-item-btn .day-name {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  display: block;
}

.date-item-btn .day-num {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

.slots-grid-pane {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.slots-grid-pane h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-light);
}

.slots-grid-pane h4 span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: normal;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

.slot-btn {
  background: #101217;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--accent-color);
  background: rgba(197, 160, 89, 0.1);
}

.slot-btn.selected {
  background: var(--gold-gradient);
  border-color: transparent;
  color: #0a0b0e;
  font-weight: 800;
}

.slot-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  border-color: transparent;
  background: #181920;
  text-decoration: line-through;
}

/* Paso 4: Extras */
.extras-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.extra-item-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.extra-item-card:hover {
  border-color: var(--border-glow);
}

.extra-item-card.selected {
  border-color: var(--primary-color);
  background: rgba(197, 160, 89, 0.08);
}

.extra-item-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.extra-info h5 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.extra-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

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

/* Paso 5: Formulario de Datos & Resumen */
.checkout-data-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 860px) {
  .checkout-data-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #0d0f14;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.25);
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.payment-radio-card {
  background: #0d0f14;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.payment-radio-card.selected {
  border-color: var(--primary-color);
  background: rgba(197, 160, 89, 0.08);
}

/* Resumen Lateral de Cita */
.booking-summary-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
}

.booking-summary-box h4 {
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.summary-row .label {
  color: var(--text-secondary);
}

.summary-row .value {
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

.summary-total-row {
  border-top: 1px dashed var(--border-glow);
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total-row .total-label {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.summary-total-row .total-amount {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* Pantalla de Éxito / Confirmación */
.success-screen-box {
  text-align: center;
  padding: 30px 10px;
}

.success-badge-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.15);
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary-light);
  font-size: 2.2rem;
}

.booking-code-chip {
  background: #0d0f14;
  border: 1px dashed var(--primary-color);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-color);
  letter-spacing: 0.15em;
  display: inline-block;
  margin: 16px 0 24px;
}

.success-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Botones de Navegación del Wizard */
.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  margin-top: 10px;
}

/* CARTA DE SERVICIOS (GRID DETALLADO) */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-luxury);
}

.catalog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.catalog-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  flex-grow: 1;
}

/* TIENDA DE GROOMING (PRODUCTOS) */
.products-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.product-thumb-container {
  position: relative;
  height: 200px;
  background: #11141c;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-thumb-container img {
  max-height: 160px;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-container img {
  transform: scale(1.06);
}

.product-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold-gradient);
  color: #0a0b0e;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-details {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-lbl {
  font-size: 0.72rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.45;
}

.product-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-color);
}

/* SECCIÓN EQUIPO / BARBEROS */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-luxury);
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--primary-color);
  padding: 4px;
  background: #11141c;
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.82rem;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.specialties-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.specialty-tag {
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary-light);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

/* UBICACIÓN Y HORARIOS */
.location-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 860px) {
  .location-schedule-grid {
    grid-template-columns: 1fr;
  }
}

.info-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
}

.info-card-box h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.schedule-table td {
  padding: 12px 0;
  font-size: 0.92rem;
}

.schedule-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--accent-color);
}

/* CARRITO FLOTANTE / MODAL */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #11141d;
  border-left: 1px solid var(--border-color);
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer-overlay.open .cart-drawer {
  right: 0;
}

.cart-header {
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.2rem;
  color: var(--primary-light);
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-row img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #181c26;
  object-fit: contain;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-info h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cart-item-info .item-price {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 700;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  background: #1d222e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.cart-footer {
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0f15;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Footer Principal */
.main-footer {
  background: #06070a;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 24px 0;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  margin-top: 24px;
}

/* Toast Notificaciones */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #161a24;
  border: 1.5px solid var(--primary-color);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-luxury);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}
