/* IMPORTANDO FUENTES DE GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* VARIABLES DE DISEÑO Y TEMAS (PALETA PREMIUM) */
:root {
  --font-title: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  /* Colores del Tema Claro (Rosita y Blanco por defecto) */
  --primary-gold: #B66878;
  --primary-gold-dark: #924d5b;
  --primary-gold-light: #C98895;
  --rose-soft: #D49BA7;
  --rose-light: #FCDCE2;
  --rose-very-light: #FFF0F2;
  --rose-peach: #FAA943;
  --bg-dark: #FFF0F2;          /* Rosita suave en lugar de negro */
  --bg-dark-card: #FFE2E7;     /* Rosita card */
  --bg-light: #FFFDFE;
  --bg-light-card: #ffffff;
  --text-dark: #442029;        /* Marrón rosado oscuro */
  --text-light: #442029;       /* Texto oscuro en la cabecera clara */
  --text-muted: #a38c92;
  --border-color-light: #FFE2E7;
  --border-color-dark: #F7C8D1;
  --accent-success: #b35973;
  --accent-danger: #d32f2f;
  --accent-info: #C98895;
  
  --navbar-bg: #FFF0F2;
  --navbar-text: #442029;
  --navbar-border: #FFE2E7;
  --hero-bg-gradient: linear-gradient(rgba(255, 240, 242, 0.85), rgba(255, 240, 242, 0.95));
  --hero-text: #442029;

  /* Sombras y Efectos */
  --shadow-sm: 0 2px 8px rgba(182, 104, 120, 0.08);
  --shadow-md: 0 8px 24px rgba(182, 104, 120, 0.12);
  --shadow-lg: 0 16px 32px rgba(182, 104, 120, 0.18);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  --primary-gold: #B66878;
  --primary-gold-dark: #924d5b;
  --primary-gold-light: #C98895;
  --bg-dark: #120a0d;          /* Negro rosado */
  --bg-dark-card: #1f1216;     /* Card oscura */
  --bg-light: #180e11;
  --bg-light-card: #1f1216;
  --text-dark: #fbf5f6;
  --text-light: #fbf5f6;
  --text-muted: #9f8c92;
  --border-color-light: #3a2229;
  --border-color-dark: #4b323b;
  
  --navbar-bg: #120a0d;
  --navbar-text: #fbf5f6;
  --navbar-border: #3a2229;
  --hero-bg-gradient: linear-gradient(rgba(18, 10, 13, 0.85), rgba(18, 10, 13, 0.95));
  --hero-text: #fbf5f6;
}

/* GENERAL */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* NAVBAR LUXURY */
.navbar-luxury {
  background: var(--navbar-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navbar-border);
  padding: 1rem 2rem;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-luxury .navbar-brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navbar-text) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-luxury .navbar-brand span {
  color: var(--primary-gold);
}

.navbar-luxury .nav-link {
  color: var(--navbar-text) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.navbar-luxury .nav-link:hover, 
.navbar-luxury .nav-link.active {
  color: var(--primary-gold) !important;
  background: rgba(182, 104, 120, 0.1);
}

.navbar-luxury .btn-admin {
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold) !important;
  border-radius: var(--radius-sm);
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  margin-left: 1rem;
}

.navbar-luxury .btn-admin:hover {
  background: var(--primary-gold);
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(182, 104, 120, 0.4);
}

/* HERO SECTION HOME */
.hero-luxury {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: var(--hero-bg-gradient), url('/images/hero.png') no-repeat center center/cover;
  color: var(--hero-text);
  overflow: hidden;
  padding: 4rem 2rem;
  transition: var(--transition-smooth);
}

.hero-luxury::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-tagline {
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--hero-text);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* BOTONES PREMIUM */
.btn-premium {
  background: var(--primary-gold);
  color: var(--bg-dark);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-gold);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(197, 160, 89, 0.2);
}

.btn-premium:hover {
  background: var(--primary-gold-dark);
  border-color: var(--primary-gold-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.btn-premium-outline {
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

/* SECTION HEADINGS */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tagline {
  color: var(--primary-gold);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--primary-gold);
}

/* CARDS DE CATEGORÍAS */
.category-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(18, 22, 26, 0.95) 15%, rgba(18, 22, 26, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.category-card-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  color: var(--primary-gold);
}

.category-card-desc {
  font-size: 0.95rem;
  color: #cbd5e0;
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover .category-card-img {
  transform: scale(1.1);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(18, 22, 26, 0.98) 30%, rgba(18, 22, 26, 0.5) 70%, transparent 100%);
}

.category-card:hover .category-card-desc {
  max-height: 80px;
  margin-top: 0.5rem;
  opacity: 1;
}

/* MUEBLES CARDS (CATÁLOGO) */
.furniture-card {
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.furniture-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.furniture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.furniture-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 22, 26, 0.85);
  backdrop-filter: blur(5px);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.furniture-stock-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-in {
  background: rgba(46, 125, 50, 0.9);
  color: white;
}

.stock-low {
  background: rgba(211, 47, 47, 0.9);
  color: white;
}

.furniture-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.furniture-type {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.furniture-name {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-title);
  color: var(--text-dark);
}

.furniture-spec {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
}

.furniture-spec span strong {
  color: var(--text-dark);
}

.furniture-description {
  font-size: 0.9rem;
  color: #5a646c;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.furniture-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color-light);
}

.furniture-price {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-gold-dark);
}

.furniture-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.3);
}

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

/* PERSONALIZADOR INTERACTIVO (CATALOG PAGE) */
.customizer-box {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border-color-dark);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.customizer-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.customizer-preview {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 350px;
  background: #1c2127;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color-dark);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
}

.customizer-preview-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.customizer-overlay-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply;
  opacity: 0.35;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.customizer-control-group {
  margin-bottom: 1.5rem;
}

.customizer-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.option-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.option-pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.option-pill:hover,
.option-pill.active {
  background: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
  font-weight: 600;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.4);
}

.customizer-summary-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 1.5rem 0;
}

/* FORMULARIO GLASSMORPHISM */
.glass-card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.glass-title {
  font-family: var(--font-title);
  color: var(--primary-gold);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.glass-form-control {
  background: var(--bg-light) !important;
  border: 1px solid var(--border-color-light) !important;
  color: var(--text-dark) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-smooth) !important;
}

.glass-form-control:focus {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.glass-form-label {
  color: var(--text-muted);
}

/* VISTA DE ADMINISTRACIÓN Y CONTROLES */
.admin-sidebar {
  background: var(--bg-dark);
  border-right: 1px solid var(--border-color-dark);
  color: var(--text-light);
  min-height: calc(100vh - 72px);
  padding: 2rem 1rem;
}

.admin-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #a0aec0;
  font-weight: 500;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.admin-menu-link:hover,
.admin-menu-link.active {
  background: rgba(197, 160, 89, 0.15);
  color: var(--primary-gold);
}

.admin-header-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* WIDGETS DE DASHBOARD */
.widget-stat {
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.widget-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.widget-stat-info h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.widget-stat-info p {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.widget-stat-icon {
  width: 55px;
  height: 55px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  background: rgba(197, 160, 89, 0.1);
  color: var(--primary-gold-dark);
}

/* TABLAS MODERNAS */
.table-responsive-luxury {
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.table-luxury {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}

.table-luxury th {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1.2rem 1.5rem;
  border: none;
}

.table-luxury td {
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color-light);
  vertical-align: middle;
}

.table-luxury tr:last-child td {
  border-bottom: none;
}

.table-luxury tbody tr:hover {
  background-color: rgba(197, 160, 89, 0.03);
}

/* MODALES MODERNOS */
.modal-content-luxury {
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header-luxury {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 1.2rem 1.8rem;
  border: none;
}

.modal-header-luxury .modal-title {
  font-family: var(--font-title);
  color: var(--primary-gold);
  font-size: 1.4rem;
}

.modal-header-luxury .btn-close {
  filter: invert(1);
}

.modal-body-luxury {
  padding: 2rem;
}

/* PUNTO DE VENTA (POS) INTERACTIVE LAYOUT */
.pos-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  min-height: calc(100vh - 120px);
}

@media (max-width: 992px) {
  .pos-container {
    grid-template-columns: 1fr;
  }
}

.pos-products-panel {
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-light);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pos-checkout-panel {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-dark);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.pos-search-bar {
  margin-bottom: 1rem;
}

.pos-category-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.pos-tab {
  background: #f3f4f6;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.pos-tab.active,
.pos-tab:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
  font-weight: 600;
}

.pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  overflow-y: auto;
  flex-grow: 1;
  max-height: 55vh;
  padding: 0.25rem;
}

.pos-product-card {
  border: 1px solid var(--border-color-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-light);
}

.pos-product-card:hover {
  border-color: var(--primary-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pos-product-card h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.pos-product-card .price {
  font-weight: 700;
  color: var(--primary-gold-dark);
  font-size: 1.1rem;
  margin-top: auto;
}

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

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  max-height: 30vh;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color-dark);
  padding-bottom: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary-gold);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-qty {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-qty:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
  border-color: var(--primary-gold);
}

.qty-val {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.pos-summary {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.pos-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #cbd5e0;
}

.pos-summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-gold);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* ANIMACIONES */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TOASTS Y EXTRAS */
.alert-premium {
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
}

/* PIE DE PÁGINA LUXURY */
.footer-luxury {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  margin-top: auto;
  border-top: 1px solid var(--border-color-dark);
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--primary-gold);
}

.footer-links h5 {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-copy {
  border-top: 1px solid var(--border-color-dark);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ESTILOS DEL LOGO */
.navbar-brand-logo {
  max-height: 48px;
  width: auto;
  border-radius: 4px;
  background: white;
  padding: 2px 6px;
}

.footer-brand-logo {
  max-height: 55px;
  width: auto;
  border-radius: 4px;
  background: white;
  padding: 4px 8px;
  margin-bottom: 1rem;
}

/* MENÚ ACORDEÓN / SUBMENÚS CONFORME A LA CAPTURA 2 */
.admin-sidebar-header {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  padding: 0.75rem 1.25rem;
  background: var(--primary-gold);
  text-align: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.admin-menu-dropdown {
  background: transparent;
  border: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  color: #a0aec0;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.admin-menu-dropdown:hover,
.admin-menu-dropdown.active {
  background: rgba(182, 104, 120, 0.15);
  color: var(--primary-gold-light);
}

.admin-submenu {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-submenu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #88929a;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.admin-submenu-link:hover,
.admin-submenu-link.active {
  color: var(--primary-gold-light);
  background: rgba(255,255,255,0.03);
}

/* POS CHECKBOXES TABLE */
.pos-table-check {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-gold);
}

.pos-table-qty-input {
  width: 80px;
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  text-align: center;
}

/* ESTILOS DE GALERÍA DE EXHIBICIÓN REAL */
.gallery-card-premium {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  background: var(--bg-light-card);
}

.gallery-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper-premium {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.gallery-img-premium {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-card-premium:hover .gallery-img-premium {
  transform: scale(1.08);
}

.gallery-overlay-premium {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(31, 20, 24, 0.9) 0%, rgba(31, 20, 24, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.gallery-card-premium:hover .gallery-overlay-premium {
  background: linear-gradient(to top, rgba(31, 20, 24, 0.95) 0%, rgba(31, 20, 24, 0.4) 60%, transparent 100%);
}

.gallery-info-premium {
  transform: translateY(15px);
  transition: var(--transition-smooth);
  color: var(--text-light);
}

.gallery-card-premium:hover .gallery-info-premium {
  transform: translateY(0);
}

.gallery-cat-premium {
  color: var(--primary-gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: block;
}

.gallery-title-premium {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.gallery-desc-premium {
  font-size: 0.85rem;
  color: #cbd5e0;
  line-height: 1.4;
  margin: 0;
  opacity: 0;
  transition: var(--transition-smooth);
  max-height: 0;
  overflow: hidden;
}

.gallery-card-premium:hover .gallery-desc-premium {
  opacity: 1;
  max-height: 80px;
  margin-top: 0.25rem;
}