@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --bg-body: #f0f4f8;
  --bg-white: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-light: #e5e7eb;
  --color-primary: #f5b027;
  /* Amarilo de la imagen */
  --color-primary-hover: #e09f20;
  --color-red: #dc2626;
  --color-purple-bg: #f3e8ff;
  --color-purple-text: #7e22ce;
  --color-black: #050505;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --header-top-height: 40px;
  --header-main-height: 85px;
  --header-nav-height: 50px;
  --glass-bg: rgba(0, 0, 0, 0.85);
  --header-text: #ffffff;
  --nav-text: #e2e8f0;
  /* ── Colores fijos: navbar y footer NUNCA cambian con el tema ── */
  --nav-bg: #0a0f1a;
  --nav-bg-glass: rgba(5, 8, 22, 0.96);
  --footer-bg: #050505;
}

/* Tailwind fallback minimo para produccion.
   La tienda no debe quedar en texto plano si cdn.tailwindcss.com falla o carga tarde. */
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0,
.shrink-0 { flex-shrink: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-w-0 { min-width: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.ml-auto { margin-left: auto; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.cursor-pointer { cursor: pointer; }
.border-none { border: none; }
.bg-transparent { background: transparent; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:w-auto { width: auto; }
  .sm\:flex-none { flex: none; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .md\:hidden { display: none !important; }
  .hidden.md\:flex { display: flex !important; }
  .md\:flex { display: flex !important; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none !important; }
  .lg\:block { display: block !important; }
  .lg\:flex { display: flex !important; }
  .lg\:static { position: static !important; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:w-64 { width: 16rem; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Fallback especifico del catalogo cuando Tailwind CDN no aplica. */
#rarity-dropdown-container > button,
#lang-dropdown-container > button,
#sort-dropdown-container > button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  color: #374151;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

#rarity-dropdown-container,
#lang-dropdown-container,
#sort-dropdown-container {
  position: relative;
  min-width: 0;
}

#rarity-dropdown-menu,
#lang-dropdown-menu,
#sort-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 30;
  margin-top: 8px;
  border-radius: 12px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

#rarity-dropdown-menu { width: 16rem; padding: 1rem; }
#lang-dropdown-menu,
#sort-dropdown-menu { width: 12rem; overflow: hidden; }

.image-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.image-badges span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .18);
}

.image-badges span:nth-child(1) {
  background: #eab308;
  color: #000;
}

.image-badges span:nth-child(2) {
  background: #2563eb;
  color: #fff;
}

.image-badges span:nth-child(3) {
  background: #c026d3;
  color: #fff;
}

.grid-only-content {
  padding: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.variants-grid-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.variant-grid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, .9);
  background: rgba(248, 250, 252, .92);
}

.variant-grid-row span {
  line-height: 1.15;
}

.variant-grid-row > div:first-child span:first-child {
  display: block;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.variant-grid-row > div:first-child span:nth-child(2) {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  #productos.grid-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .catalog-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .catalog-body aside {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .product-card,
  .product-card-premium {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    content-visibility: auto;
    contain-intrinsic-size: 320px 520px;
  }

  .product-card:hover,
  .product-card-premium:hover,
  .product-card:hover img,
  .product-card-premium:hover img,
  .card-image-wrap img {
    transform: none !important;
    transition: none !important;
    filter: none !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* SLEEK SCROLLBAR */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

body.dark-mode::-webkit-scrollbar-track {
  background: #0f172a;
}

body.dark-mode::-webkit-scrollbar-thumb {
  background: #334155;
  border: 2px solid #0f172a;
}

/* SMOOTH ENTRANCE */
.product-card {
  animation: cardAppear 0.4s ease backwards;
}

@keyframes cardAppear {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SKELETON LOADER EMULATION */
.img-loading {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeletonScan 1.5s infinite;
}

@keyframes skeletonScan {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

body.dark-mode {
  --bg-body: #060910;
  --bg-white: #0f172a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-light: #1e293b;
  --color-black: #020617;
  --glass-bg: rgba(2, 6, 23, 0.95);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

/* GLOBAL THEME MAPPING (FOR TAILWIND CLASSES) */
body.dark-mode .bg-white {
  background-color: var(--bg-white) !important;
}

body.dark-mode .bg-gray-50 {
  background-color: var(--bg-body) !important;
}

body.dark-mode .bg-yellow-50 {
  background-color: rgba(245, 176, 39, 0.10) !important;
}

body.dark-mode .bg-yellow-200 {
  background-color: rgba(245, 176, 39, 0.18) !important;
}

body.dark-mode .border-yellow-500 {
  border-color: rgba(245, 176, 39, 0.55) !important;
}

body.dark-mode .text-yellow-700 {
  color: rgba(245, 176, 39, 0.95) !important;
}

body.dark-mode .text-gray-900 {
  color: var(--text-main) !important;
}

body.dark-mode .text-gray-800 {
  color: var(--text-main) !important;
}

body.dark-mode .text-gray-700 {
  color: var(--text-main) !important;
}

body.dark-mode .text-gray-600 {
  color: var(--text-muted) !important;
}

body.dark-mode .text-gray-500 {
  color: var(--text-light) !important;
}

body.dark-mode .border-gray-200 {
  border-color: var(--border-light) !important;
}

body.dark-mode .text-gray-400 {
  color: var(--text-muted) !important;
}

body.dark-mode .text-gray-300 {
  color: var(--text-light) !important;
}

body.dark-mode .border-gray-50 {
  border-color: var(--border-light) !important;
}

body.dark-mode .divide-gray-50>* {
  border-color: var(--border-light) !important;
}

/* CART & CHECKOUT POLISH */
body.dark-mode .cart-sidebar,
body.dark-mode .checkout-summary-box {
  background-color: var(--bg-white);
  border-left: 1px solid var(--border-light);
}

body.dark-mode .cart-item {
  border-bottom-color: var(--border-light);
}

body.dark-mode .badge-red {
  border-color: var(--color-black);
}

body.dark-mode #header-logo-img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)) brightness(1.1);
}


/* ---- Dropdown Mi Cuenta ---- */
.user-dropdown-relative {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.user-account-dropdown {
  /* Forzar display:block para anular cualquier 'display:none' de Tailwind */
  display: block !important;
  /* Posicionamiento */
  position: absolute;
  right: 0;
  top: 100%;
  width: 15rem;
  z-index: 100;
  /* Apariencia Premium (Modo Claro) */
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-radius: 12px;
  padding: 8px 0;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 30px -5px rgba(0, 0, 0, 0.1),
    0 20px 40px -10px rgba(0, 0, 0, 0.05) !important;
  /* Oculto por defecto via opacity/visibility, NO display */
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.20, 0.64, 1);
  pointer-events: none;
  color: #111827 !important;
  /* Asegurar color oscuro en modo claro */
}

/* Activar via JS (.open) */
.user-account-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0);
  pointer-events: auto;
}

body.dark-mode .user-account-dropdown {
  background-color: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  /* Asegurar color blanco en modo oscuro */
}

.dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 11px 18px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  /* Gray-700 para mejor legibilidad sin ser negro puro */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.dark-mode .dropdown-item {
  color: #f1f5f9 !important;
  /* Siempre claro en modo oscuro */
}

.dropdown-item i {
  font-size: 15px;
  width: 20px;
  text-align: center;
  color: #9ca3af;
  transition: color 0.2s ease;
}

body.dark-mode .dropdown-item i {
  color: #94a3b8;
}

.dropdown-item:hover {
  background-color: rgba(245, 176, 39, 0.08) !important;
  /* Más sutil */
  color: var(--color-primary) !important;
}

.dropdown-item:hover i {
  color: var(--color-primary) !important;
}

/* Puente invisible ampliado — evita que el dropdown se cierre al mover el ratón hacia él */
.user-account-dropdown::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 32px;
  /* Zona de seguridad generosa */
  background: transparent;
}

body.dark-mode .theme-switcher-select {
  color: #f8fafc;
}

.theme-switcher-select {
  color: var(--text-main);
}

body.dark-mode .mobile-sidebar {
  background: var(--bg-body);
  border-right: 1px solid var(--border-light);
}

body.dark-mode .mobile-sidebar a {
  color: var(--text-main);
}

body.dark-mode .mobile-sidebar .name,
body.dark-mode .mobile-sidebar .welcome {
  color: var(--text-main);
}

/* FORMS & INPUTS SYNC */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: var(--bg-body) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
}

body.dark-mode input::placeholder {
  color: var(--text-light) !important;
}

/* PRODUCT DETAIL SPECIFICS */
body.dark-mode .vendor-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
}

body.dark-mode .vendor-info h5 {
  color: var(--text-main);
}

body.dark-mode .trust-line {
  color: var(--text-muted);
}

/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

h1,
h2,
h4,
h5,
h6 {
  font-family: 'Bebas Neue', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 1.5px;
}

h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  overflow-y: scroll;
  /* Previene el salto horizontal al cambiar entre páginas largas y cortas */
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  animation: simpleFade 0.4s ease-in-out;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body.dark-mode .auth-wrapper,
body.dark-mode .about-right-col {
  background: #0f172a;
  border-color: #1e293b;
}

.promo-title {
  color: white;
  justify-content: center;
  margin-bottom: 40px;
}

body.dark-mode .promo-title {
  color: var(--color-primary);
}

body.dark-mode .promo-frame {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .btn-hero-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .btn-view:hover {
  background: var(--bg-body);
}

#header-logo-img {
  /* Header siempre oscuro — filtro base para logo sobre fondo dark */
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2)) brightness(1.05);
}

@keyframes simpleFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

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

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================= */
/* NEW PREMIUM HEADER DESIGN                */
/* ========================================= */

/* ═══════════════════════════════════════════════════════
   NAVBAR — Siempre oscuro, sin importar el tema activo
═══════════════════════════════════════════════════════ */
.header-main-wrap {
  position: relative;
  width: 100%;
  z-index: 1000;
  background-color: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-main-wrap.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 1. TOP ANNOUNCEMENT BAR */
.header-top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #94a3b8;
  font-size: 12px;
  height: var(--header-top-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 20px;
}

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

.top-bar-item i {
  color: var(--color-primary);
}

.top-bar-right {
  display: flex;
  gap: 15px;
}

.top-bar-social {
  transition: color 0.2s;
}

.top-bar-social:hover {
  color: var(--color-primary);
}

/* 2. MAIN HEADER LAYER (Logo, Search, Actions) */
.header-middle {
  height: var(--header-main-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1020; /* Elevado para que el buscador solape el nav */
}

.header-middle .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.header-sticky .header-middle {
  height: 70px;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.header-sticky .header-logo img {
  height: 40px;
}

/* Centered Search Bar */
.header-search-wrap {
  flex: 1;
  max-width: 600px;
}

.unified-search-premium {
  position: relative;
  width: 100%;
}

/* Búsqueda — siempre estilo oscuro (header siempre dark) */
.unified-search-premium input {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0 50px 0 20px;
  color: #f1f5f9;
  font-size: 14px;
  transition: all 0.3s ease;
}

.unified-search-premium input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.unified-search-premium input:focus {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(245, 176, 39, 0.18);
  outline: none;
}

.unified-search-premium .search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border: none;
  border-radius: 8px;
  color: var(--color-black);
  cursor: pointer;
  transition: transform 0.2s;
}

.unified-search-premium .search-btn:hover {
  transform: scale(1.05);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 9999;
}

.search-suggestions-list {
  display: flex;
  flex-direction: column;
}

.search-suggestion-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: rgba(245, 176, 39, 0.12);
  color: #ffffff;
}

.search-suggestion-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-suggestion-copy {
  min-width: 0;
}

.search-suggestion-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-meta {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.72);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-suggestion-empty {
  padding: 14px 16px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Fallback para clases Tailwind criticas del header publico.
   Evita que el layout movil se rompa si el CDN tarda, falla o queda cache viejo. */
.header-actions > .hidden.md\:flex,
.header-action-item.hidden.md\:flex {
  display: none !important;
}

/* Action items — texto siempre claro sobre header oscuro */
.header-action-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #e2e8f0;
  transition: all 0.2s ease;
  cursor: pointer;
}

.header-action-item i {
  font-size: 20px;
}

.header-action-item span.label {
  font-size: 11px;
  font-weight: 500;
}

.header-action-item:hover {
  color: var(--color-primary);
}

.header-action-item .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--color-red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 2px solid var(--color-black);
}

/* 3. NAVIGATION LAYER */
.header-nav-row {
  height: var(--header-nav-height);
  display: flex;
  align-items: center;
  transition:
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease-out,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform, height;
  z-index: 1001;
  position: relative;
}

.header-sticky .header-nav-row {
  height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  overflow: hidden;
}

.header-nav-row .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-main-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Nav links — texto siempre claro sobre header oscuro */
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Categories Button */
.btn-explorer {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--color-black);
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 8px 20px rgba(245, 176, 39, 0.2);
}

.btn-explorer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(245, 176, 39, 0.3);
}

@media (max-width: 1024px) {
  .header-middle .container {
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-search-wrap {
    display: block;
    order: 3;
    flex: 0 0 100%;
    max-width: none;
  }

  /* Hide search on mobile, or move to mobile menu */
  .header-top-bar {
    display: none;
  }

  .header-nav-row {
    display: none;
  }

  .header-middle {
    height: auto;
    padding: 12px 0;
  }

  .header-logo {
    order: 1;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
  }

  .unified-search-premium input {
    height: 42px;
  }

  .header-sticky .header-middle {
    height: auto;
  }
}

@media (min-width: 1025px) {
  .header-actions > .hidden.md\:flex,
  .header-action-item.hidden.md\:flex {
    display: flex !important;
  }

  #mobile-menu-btn {
    display: none;
  }

}

@media (min-width: 768px) {
  .md\:hidden {
    display: none !important;
  }

  .hidden.md\:flex {
    display: flex !important;
  }
}

/* MEGA MENU */
/* Mega Menu — siempre oscuro, coherente con el header */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 1000px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 178px);
  background: #111827;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  overflow: hidden;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2000;
  border-top: 2px solid var(--color-primary);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.has-mega-menu {
  position: relative;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.active .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  display: flex !important;
}

/* Mega menu sidebar — oscuro coherente con el header */
.mega-menu-sidebar {
  width: 280px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 0;
  background: #0d1422;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mega-menu-sidebar a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #94a3b8 !important;
  transition: background 0.2s !important;
}

.mega-menu-sidebar a:hover {
  background: rgba(245, 176, 39, 0.08) !important;
  color: var(--color-primary) !important;
}

.mega-menu-sidebar a.active {
  color: var(--color-primary) !important;
  background: rgba(245, 176, 39, 0.06) !important;
}

.mega-menu-sidebar a span {
  font-size: 12px;
  color: #64748b;
}

.mega-menu-content {
  flex: 1;
  padding: 0;
  /* Changed so panes can handle their own padding */
  position: relative;
  min-height: min(400px, calc(100vh - 178px));
  max-height: calc(100vh - 178px);
  overflow: hidden;
  /* Ensure a consistent height */
}

.mega-menu-pane {
  display: none;
  padding: 24px;
  height: 100%;
  max-height: calc(100vh - 178px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mega-menu-pane.active {
  display: block;
}

/* Mega menu columnas — texto claro sobre fondo oscuro */
.mega-menu-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-menu-col a {
  display: block !important;
  padding: 6px 0 !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
  transition: all 0.2s !important;
}

.mega-menu-col a:hover {
  color: var(--color-primary) !important;
  padding-left: 5px !important;
}

/* Dense list helper */
.mega-menu-pane.dense {
  grid-template-columns: repeat(3, 1fr);
}

.mega-menu-pane.dense .mega-menu-col {
  display: flex;
  flex-direction: column;
}

/* Mega Menu Options (nuevo layout) */
.mega-menu-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mega-menu-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 14px 12px 14px;
}

.mega-menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(245, 176, 39, 0.12);
  border: 1px solid rgba(245, 176, 39, 0.28);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mega-menu-option:hover {
  transform: translateY(-1px);
  background: rgba(245, 176, 39, 0.18);
  border-color: rgba(245, 176, 39, 0.4);
}

.mega-menu-suboptions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mega-menu-sublink {
  font-size: 12px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.9);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mega-menu-sublink:hover {
  background: rgba(245, 176, 39, 0.12);
  color: #ffffff;
  border-color: rgba(245, 176, 39, 0.24);
}

.mega-menu-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 900;
  color: var(--color-primary);
}

.mega-menu-footer-link:hover {
  color: #ffffff;
}

/* ========================================= */
/* INDEX.PHP — SECCIONES DE CONTENIDO        */
/* ========================================= */

/* Alternancia de fondo entre secciones en light mode */
.section-wrapper {
  padding: 50px 0;
}

.section-wrapper.bg-alt {
  background-color: var(--bg-white);
}

/* Header de sección mejorado */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--color-primary);
}

.see-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.see-all i {
  margin-left: 4px;
}

/* PRODUCT GRID */
.product-grid {
  gap: 20px;
}

/* PRODUCT CARD — Premium redesign */
.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s ease, border-color 0.28s ease, transform 0.22s ease;
  position: relative;
  overflow: hidden;
  padding: 0 0 12px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.card-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  transition: transform 0.3s ease;
}

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

.badge-img-right,
.badge-img-left {
  position: absolute;
  top: 8px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-img-right {
  right: 8px;
}

.badge-img-left {
  left: 8px;
}

.badge-img-left {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e09f20 100%);
  color: #000;
}

.card-actions-hover {
  position: absolute;
  bottom: 20px;
  /* Above content */
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 10;
}

.product-card:hover .card-actions-hover {
  opacity: 1;
  transform: translateX(0);
}

.btn-add-mini,
.btn-view-mini {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-add-mini:hover {
  background: var(--color-primary);
  color: #000;
  border-color: var(--color-primary);
}

.btn-view-mini:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* Text Info */
.product-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  padding: 0.75rem;
}

.product-price-val,
.product-price,
.detail-price {
  font-size: 25px;
  font-weight: 900;
  color: #16a34a;
  /* verde esmeralda vibrante */
  letter-spacing: -0.5px;
  display: block;
  margin-top: 2px;
}

/* Card image wrap padding reduction */
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 14px 14px 0 0;
}

.product-set {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: auto;
  padding: 0 12px;
}

.product-price {
  font-size: 18px;
  font-weight: 900;
  color: #16a34a;
  letter-spacing: -0.5px;
}

body.dark-mode .product-price {
  color: #4ade80;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.25);
}

.product-stock {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-body);
  padding: 3px 7px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* Action Buttons */
.card-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px;
}

.btn-add {
  flex: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, #e09f20 100%);
  color: #000;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(245, 176, 39, 0.25);
}

.btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 176, 39, 0.45);
  background: linear-gradient(135deg, #f5c040 0%, var(--color-primary) 100%);
}

.btn-view {
  background-color: var(--bg-body);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-view:hover {
  background-color: #000;
  border-color: #000;
  color: var(--color-primary);
  transform: translateY(-1px);
}


/* BANNER SECTION */
.banner-promo {
  background-color: var(--color-black);
  color: var(--bg-white);
  padding: 40px 0;
  margin-top: 20px;
}

.banner-promo .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.banner-content p {
  color: #d1d5db;
  font-size: 15px;
}

.btn-banner {
  background-color: var(--color-primary);
  color: var(--color-black);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-banner:hover {
  transform: translateY(-2px);
}

/* ─── TRUST BADGES — Premium ─────────────────────────────── */
.trust-badges {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0;
}

.trust-badge-item {
  padding: 24px 16px;
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-badge-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-badge-item i {
  color: var(--color-primary);
  font-size: 26px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(245, 176, 39, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.25s;
}

.trust-badge-item:hover i {
  box-shadow: 0 4px 16px rgba(245, 176, 39, 0.4);
}

.trust-badge-item h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.trust-badge-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   FOOTER — Siempre oscuro, sin importar el tema activo
═══════════════════════════════════════════════════════ */
.site-footer {
  background-color: var(--footer-bg) !important;
  color: #d1d5db;
  padding: 60px 0 30px;
}

.footer-grid {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #374151;
}

.footer-logo-wrap img {
  height: 40px;
  width: auto;
}

body.dark-mode .footer-logo-wrap img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.5)) brightness(1.2);
}

.footer-col h4 {
  color: #f1f5f9;
  /* blanco suave — siempre visible sobre footer oscuro */
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* En modo claro y oscuro: el footer siempre es oscuro, h4 siempre claro */
body.dark-mode .footer-col h4 {
  color: #e2e8f0;
}


.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: #94a3b8;
  /* gris claro — visible sobre fondo oscuro */
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--color-primary);
}

/* Iconos redes sociales */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  /* gris claro siempre visible */
  font-size: 15px;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 176, 39, 0.35);
}

/* Iconos de contacto */
.contact-info li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #94a3b8;
}

.contact-info li i {
  color: var(--color-primary);
  /* dorado — visible y con jerarquía */
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}


/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9ca3af;
}

.payment-methods {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-badge {
  background-color: #374151;
  color: #d1d5db;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* HERO SECTION (Dark Mode Preserved) */
.hero {
  padding: 70px 95px;
  background: radial-gradient(circle at top right, #1e293b 0%, #020617 50%);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
}

.hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.zleft {
  position: relative;
}

.hero-right {
  text-align: center;
  position: relative;
}

.hero-right::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.4) 0%, transparent 70%);
  z-index: -1;
}

.hero-right img {
  width: 180%;
  max-width: 900px;
  margin-left: -42%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ========================================= */
/* ABOUT US SECTION                          */
/* ========================================= */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  background: var(--bg-white);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
}

.about-left-col h2 {
  font-size: 36px;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.about-left-col h2 span {
  color: var(--color-primary);
}

.about-left-col p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-left-col ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.about-left-col ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
}

.about-left-col ul li::before {
  content: '\f00c';
  /* check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #16a34a;
  /* green check */
  font-size: 18px;
}

.about-right-col {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
}

.about-info-block {
  margin-bottom: 30px;
}

.about-info-block:last-child {
  margin-bottom: 0;
}

.about-info-block h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.about-info-block p {
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-info-block p i {
  color: var(--color-primary);
  /* Yellow accent */
  font-size: 18px;
  margin-top: 2px;
}

/* ========================================= */
/* AUTH PAGES (LOGIN / REGISTER)             */
/* ========================================= */
.auth-wrapper {
  min-height: calc(100vh - 400px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #f8fafc;
}

.auth-card {
  background: var(--bg-white);
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
}

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

body.dark-mode .auth-header h2 {
  color: #ffffff;
}

.auth-header h2 {
  font-size: 28px;
  color: var(--color-black);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 8px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}

.auth-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.form-options .remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-main);
}

.form-options a {
  color: var(--color-primary);
  font-weight: 600;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--color-black);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-btn:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--color-primary);
  font-weight: 700;
  margin-left: 5px;
}

/* Social Login Spacing */
.social-auth {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
}

.social-btn:hover {
  background: #f8fafc;
}

.social-btn i.fa-google {
  color: #ea4335;
}

.social-btn i.fa-facebook {
  color: #1877f2;
}

@media (max-width: 480px) {
  .detail-image-box {
    margin-bottom: 20px;
    height: auto;
  }
}

/* CART SIDEBAR CSS GLOBALS PARA CORREGIR NAVEGACION INVISIBLE */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1000000 !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.active {
  transform: translateX(0);
}

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

.cart-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.cart-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.cart-item img {
  width: 50px;
  border-radius: 4px;
}

.cart-item-info h4 {
  font-size: 13px;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 12px;
  color: var(--color-primary);
  font-weight: bold;
}

.remove-item {
  background: none;
  border: none;
  color: var(--color-red);
  cursor: pointer;
  margin-left: auto;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 18px;
}

.btn-checkout {
  width: 100%;
  background: var(--color-primary);
  color: #000;
  padding: 12px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.btn-checkout:hover {
  background: #d79f2b;
}

.btn-clear-cart {
  width: 100%;
  background: transparent;
  color: var(--color-red, #ef4444);
  padding: 10px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(239, 68, 68, 0.2);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-clear-cart:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}

.badge-hero {
  background: rgba(250, 204, 21, 0.1);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(250, 204, 21, 0.2);
}

.hero h1 {
  font-size: 62px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.05;
  color: white;
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--color-primary);
  text-shadow: 0 0 30px rgba(250, 204, 21, 0.3);
}

.hero p {
  color: #94a3b8;
  font-size: 19px;
  margin-bottom: 35px;
  line-height: 1.65;
  max-width: 520px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-hero-primary {
  background: var(--color-primary);
  color: black;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.6);
}

.btn-hero-secondary {
  background: #1e293b;
  color: white;
  padding: 14px 28px;
  border: 1px solid #334155;
  border-radius: 6px;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-hero-secondary:hover {
  background: #334155;
}

/* SWIPER PROMOS (Dark Mode) */
.promo-section {
  padding: 60px 0;
  background: #020617;
  color: white;
}

.promo-section .section-title {
  color: white;
  margin-bottom: 40px;
  justify-content: center;
}

.promoSwiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  transition: transform 0.3s;
}

.swiper-slide:hover {
  transform: scale(1.02);
}

/* Tactical Frame Wrapper */
.promo-frame {
  position: relative;
  background: #1e293b;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #334155;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
}

/* Metallic/Stone Border Effect */
.promo-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 8px solid #475569;
  /* Slate 600 */
  border-radius: 12px;
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

/* Corner Decorations (Screws/Bolts) */
.promo-frame-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #94a3b8 0%, #475569 100%);
  border: 2px solid #1e293b;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.corner-tl {
  top: -2px;
  left: -2px;
  border-radius: 6px 0 10px 0;
}

.corner-tr {
  top: -2px;
  right: -2px;
  border-radius: 0 6px 0 10px;
}

.corner-bl {
  bottom: -2px;
  left: -2px;
  border-radius: 0 10px 0 6px;
}

.corner-br {
  bottom: -2px;
  right: -2px;
  border-radius: 10px 0 6px 0;
}

.promo-section img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 7; /* Cinematic standard panoramic ratio */
  object-fit: contain; /* Ensures the banner is 100% visible and never cut off */
  background-color: #0b1221; /* Seamless premium dark backing */
  border-radius: 8px;
  transition: all 0.5s ease;
}

.promo-slide-link {
  display: block;
  width: 100%;
  cursor: pointer;
}

.promo-slide-link img {
  display: block;
}

@media (max-width: 1024px) {
  .promo-section img {
    aspect-ratio: 16 / 7; /* Optimized tablet proportion */
  }
}

@media (max-width: 768px) {
  .promo-section img {
    height: clamp(185px, 34vw, 245px) !important;
    width: 100% !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    background: #0b1221 !important;
  }
  .promo-frame::before {
    display: none !important;
  }
  .promo-frame-corner {
    display: none !important;
  }
  .promo-frame {
    padding: 0 !important; /* Zero padding to let the banner go edge-to-edge */
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0f172a !important;
    overflow: hidden !important;
  }
  .promoSwiper {
    padding-bottom: 0 !important; /* Minimal spacing */
  }
  .promoSwiper .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0b1221 !important;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 12px !important;
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary) !important;
  background: rgba(2, 6, 23, 0.85);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: 1px solid #1e293b;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper-pagination-bullet {
  background: #94a3b8 !important;
  opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

/* ========================================= */
/* CSS CART FLYOUT                           */
/* ========================================= */
.action-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--color-red);
  color: white;
  font-size: 10px;
  font-weight: bold;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: var(--bg-white);
  z-index: 1000000 !important;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-sidebar.active {
  right: 0;
}

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

.cart-header h3 {
  font-size: 18px;
  margin: 0;
}

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}

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

.empty-cart {
  text-align: center;
  color: var(--text-muted);
  margin-top: 50px;
}

.cart-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.cart-item img {
  width: 60px;
  height: 80px;
  object-fit: contain;
  background: #f3f4f6;
  border-radius: 6px;
}

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

.cart-item-info h4 {
  font-size: 14px;
  margin-bottom: 5px;
}

.cart-item-info p {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
}

.remove-item {
  background: none;
  border: none;
  color: var(--color-red);
  cursor: pointer;
  font-size: 16px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-light);
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-checkout {
  width: 100%;
  background: var(--color-primary);
  color: black;
  font-weight: bold;
  border: none;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s;
}

.btn-checkout:hover {
  transform: translateY(-2px);
}

/* ========================================= */
/* PRODUCT DETAILS PAGE (producto.php)       */
/* ========================================= */

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 40px 0;
}

.product-detail-image {
  background: #f9fafb;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-detail-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.detail-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.detail-set {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 15px;
}

.detail-stock {
  font-size: 14px;
  background: #f3f4f6;
  color: var(--text-main);
  padding: 5px 12px;
  display: inline-block;
  border-radius: 6px;
  margin-bottom: 30px;
  font-weight: 500;
}

.detail-desc-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.detail-desc-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qty-row span {
  font-weight: 600;
  font-size: 14px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  height: 42px;
}

.quantity-selector button {
  background: #fff;
  border: none;
  width: 40px;
  height: 100%;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  transition: background 0.2s;
}

.quantity-selector button:hover {
  background: #f3f4f6;
}

.quantity-selector input {
  width: 50px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
}

.buttons-row {
  display: flex;
  gap: 15px;
}

.btn-buy-now {
  flex: 1;
  background: #000;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.btn-buy-now:hover {
  transform: translateY(-2px);
}

.detail-buttons-flex .btn-add {
  flex: 1;
  padding: 14px;
  font-size: 15px;
}

.vendor-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.vendor-icon {
  background: #f3f4f6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: var(--text-muted);
}

.vendor-info h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.vendor-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.trust-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}

.trust-line i {
  color: var(--color-red);
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .buttons-row {
    flex-direction: column;
  }
}

/* ========================================= */
/* CHECKOUT PAGE (checkout.php)              */
/* ========================================= */

.checkout-page-body {
  background-color: #f9fafb;
}

.checkout-header {
  text-align: center;
  padding: 15px 0;
  background: var(--bg-black);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.checkout-header img {
  max-height: 80px;
}

.checkout-sub-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 15px;
  color: #fff;
}

.checkout-sub-actions a {
  border: 1px solid #444;
  padding: 6px 20px;
  color: #ccc;
  border-radius: 4px;
  transition: all 0.2s;
}

.checkout-sub-actions a:hover {
  background: #222;
  color: white;
  border-color: #666;
}

.checkout-subtitle {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  margin-top: 10px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 50px auto;
  align-items: start;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 10px;
}

.step-card {
  border-bottom: 1px solid var(--border-light);
}

.step-card:last-child {
  border-bottom: none;
}

.step-header {
  padding: 15px 20px;
  background: #f8f9fa;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}

.step-header h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  color: #666;
}

.step-header p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #999;
}

.step-card.active .step-header {
  background: white;
  border-bottom: 1px solid #f0f0f0;
}

.step-card.active .step-header h3 {
  color: black;
  font-size: 18px;
}

.step-body {
  display: none;
  padding: 20px;
  background: white;
  animation: fadeIn 0.3s forwards;
}

.step-card.active .step-body {
  display: block;
}

/* Formularios dentro de los pasos */
.login-guest-flex {
  display: flex;
  gap: 40px;
}

.login-guest-flex>div {
  flex: 1;
}

.login-guest-flex h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
}

.login-guest-flex .divider {
  width: 3px;
  background: var(--border-light);
  flex: none;
  align-self: stretch;
}

@media (max-width: 768px) {
  .login-guest-flex .divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
  }
}

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

.form-group label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  border-radius: 6px;
  transition: border 0.2s;
}

.form-group input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.btn-checkout-step {
  background: var(--color-primary);
  color: black;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  float: right;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.btn-checkout-step:hover {
  opacity: 0.8;
}

.checkout-summary {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  top: 20px;
}

.checkout-summary h3 {
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 12px;
  font-weight: 900;
  color: #333;
  border-bottom: 2px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px !important;
  margin-bottom: 16px;
  color: #4b5563;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  margin-top: 15px;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  color: black;
}

.btn-place-order {
  width: 100%;
  background: #e5e7eb;
  color: #9ca3af;
  padding: 14px;
  border: none;
  font-size: 15px;
  font-weight: 800;
  cursor: not-allowed;
  transition: all 0.3s;
  border-radius: 8px;
}

.btn-place-order.enabled {
  background: black;
  color: var(--color-primary);
  cursor: pointer;
}

.btn-place-order.enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-items-review {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  overflow: hidden;
}

.cart-items-review-header {
  background: #f9fafb;
  color: #333;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}

.cart-review-list {
  padding: 0 20px;
}

.rev-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-light);
}

.rev-item:last-child {
  border-bottom: none;
}

.rev-item img {
  height: 60px;
  margin-right: 15px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.rev-info {
  flex: 1;
  font-size: 13px;
}

.rev-info h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: var(--text-main);
}

.rev-info p {
  margin: 0;
  color: #888;
  font-size: 12px;
}

.rev-price {
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  color: #16a34a;
}

.checkout-footer-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  max-width: 1100px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.checkout-footer-cards div {
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid var(--border-light);
}

.checkout-footer-cards div:last-child {
  border-right: none;
}

.checkout-footer-cards h5 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-primary-hover);
  text-transform: uppercase;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === USER ACCOUNT DROPDOWN === */
.user-account-dropdown {
  display: none;
  top: 100%;
  margin-top: 5px;
  min-width: 230px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  transform-origin: top right;
  background-color: white !important;
  z-index: 9999 !important;
}

.user-account-dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 18px !important;
  font-size: 13px !important;
  color: #4a5568 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  background-color: transparent !important;
  line-height: normal !important;
}

.user-account-dropdown .dropdown-item:hover {
  background-color: #f8fafc !important;
  color: #f3142d !important;
  padding-left: 22px !important;
}

.user-account-dropdown .dropdown-item i {
  width: 18px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #a0aec0 !important;
}

.user-account-dropdown .dropdown-item:hover i {
  color: #f3142d !important;
}

.user-account-dropdown .badge-red {
  background-color: #ff5c5c !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: bold !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  min-width: 20px !important;
  text-align: center !important;
}

.user-account-dropdown .badge-price {
  background-color: #fff5f5 !important;
  color: #ff5c5c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255, 92, 92, 0.2) !important;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-in-down {
  animation: fadeInDown 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* === RESPONSIVE DESIGN (MOBILE FIRST) === */

/* Mobile Sidebar Styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 10001;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-close-btn,
.mobile-theme-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-close-btn:hover,
.mobile-theme-btn:hover {
  background: #e2e8f0;
  color: var(--color-primary);
}

.mobile-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.mobile-user-info {
  background: #f8fafc;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.mobile-user-info .welcome {
  font-size: 11px;
  color: #94a3b8;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}

.mobile-user-info .name {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin: 2px 0;
}

.mobile-user-info .credits {
  font-size: 13px;
  color: #f3142d;
  font-weight: bold;
}

.sidebar-divider {
  font-size: 10px;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 1px;
  margin: 25px 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-main-nav,
.mobile-cat-nav,
.mobile-account-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-main-nav a,
.mobile-cat-nav a,
.mobile-account-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

/* Mobile categories as accordion */
.mobile-cat-group {
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  overflow: hidden;
}

.mobile-cat-group summary {
  list-style: none;
  padding: 10px 12px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, color 0.2s;
}

.mobile-cat-group summary::-webkit-details-marker {
  display: none;
}

.mobile-cat-group summary:hover {
  background: #f8fafc;
  color: #f3142d;
}

.mobile-cat-group summary i {
  transition: transform 0.2s ease;
  color: #94a3b8;
}

.mobile-cat-group[open] summary i {
  transform: rotate(180deg);
}

.mobile-cat-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px 12px 10px;
  background: #ffffff;
}

.mobile-cat-link {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-cat-link:hover {
  background: #ffffff;
  border-color: rgba(245, 176, 39, 0.35);
  color: #f3142d;
}

.mobile-cat-sublinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 4px 12px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  margin-left: 4px;
}

.mobile-cat-sublink {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: all 0.2s;
}

.mobile-cat-sublink:hover {
  border-color: rgba(245, 176, 39, 0.35);
  color: #f3142d;
}

.mobile-main-nav a i {
  font-size: 16px;
  color: #f3142d;
  width: 20px;
}

.mobile-main-nav a:hover {
  background: #f8fafc;
  color: #f3142d;
}

/* ── Dark Mode para Mobile Sidebar ── */
body.dark-mode .mobile-sidebar {
  background: #0f172a !important;
  color: #f1f5f9 !important;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .mobile-sidebar-header {
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .mobile-close-btn,
body.dark-mode .mobile-theme-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
}

body.dark-mode .mobile-close-btn:hover,
body.dark-mode .mobile-theme-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--color-primary) !important;
}

body.dark-mode .mobile-user-info {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .mobile-user-info .welcome {
  color: #64748b !important;
}

body.dark-mode .mobile-user-info .name {
  color: #ffffff !important;
}

body.dark-mode .sidebar-divider {
  border-bottom-color: rgba(255, 255, 255, 0.05) !important;
  color: #475569 !important;
}

body.dark-mode .mobile-main-nav a,
body.dark-mode .mobile-cat-nav a,
body.dark-mode .mobile-account-nav a {
  color: #cbd5e1 !important;
}

body.dark-mode .mobile-cat-group {
  border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .mobile-cat-group summary {
  color: #cbd5e1 !important;
}

body.dark-mode .mobile-cat-group summary:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--color-primary) !important;
}

body.dark-mode .mobile-cat-links {
  background: rgba(255, 255, 255, 0.02) !important;
}

body.dark-mode .mobile-cat-link {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-left: 3px solid var(--color-primary) !important;
  color: #ffffff !important;
}

body.dark-mode .mobile-cat-link:hover {
  border-color: rgba(245, 176, 39, 0.25) !important;
  color: var(--color-primary) !important;
}

body.dark-mode .mobile-cat-sublink {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.04) !important;
  color: #64748b !important;
}

body.dark-mode .mobile-cat-sublink:hover {
  border-color: rgba(245, 176, 39, 0.25) !important;
  color: var(--color-primary) !important;
}


/* ================================ */
/* Notifications (Mi Cuenta)        */
/* ================================ */
.notif-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(245, 176, 39, 0.10);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
}

.notif-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 176, 39, 0.22);
  border: 1px solid rgba(245, 176, 39, 0.35);
  color: #8a5e0f;
  flex-shrink: 0;
}

.notif-copy {
  min-width: 0;
}

.notif-title {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-meta {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(100, 116, 139, 0.95);
}

.notif-close {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.55);
  color: rgba(15, 23, 42, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.notif-close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(245, 176, 39, 0.35);
  color: #0f172a;
}

body.dark-mode .notif-card {
  background: rgba(245, 176, 39, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

body.dark-mode .notif-icon {
  background: rgba(245, 176, 39, 0.14);
  border-color: rgba(245, 176, 39, 0.25);
  color: rgba(245, 176, 39, 0.95);
}

body.dark-mode .notif-title {
  color: rgba(248, 250, 252, 0.95);
}

body.dark-mode .notif-meta {
  color: rgba(148, 163, 184, 0.9);
}

body.dark-mode .notif-close {
  background: rgba(2, 6, 23, 0.65);
  border-color: rgba(255, 255, 255, 0.10);
  color: rgba(226, 232, 240, 0.9);
}

body.dark-mode .notif-close:hover {
  background: rgba(245, 176, 39, 0.18);
  border-color: rgba(245, 176, 39, 0.30);
  color: #fff;
}

body.dark-mode .mobile-main-nav a:hover,
body.dark-mode .mobile-cat-nav a:hover,
body.dark-mode .mobile-account-nav a:hover {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--color-primary) !important;
}

@media (max-width: 1024px) {
  .hero .container {
    gap: 40px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .catalog-body {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {

  /* Hero Stacking */
  .hero {
    padding: 40px 0;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    width: 100% !important;
    order: 2;
    margin-top: 20px;
  }

  .hero-right {
    width: 60% !important;
    order: 1;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
  }

  .hero p {
    text-align: center;
    margin: 20px auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Promo Section */
  .promo-section {
    padding: 30px 0;
  }

  .promo-frame {
    padding: 5px;
  }

  /* Product Grids (Catalog and Home) */
  .product-grid,
  .grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .product-card {
    padding: 8px;
  }

  .product-title {
    font-size: 13px;
    height: 38px;
    overflow: hidden;
  }

  .card-actions button {
    padding: 8px;
    font-size: 12px;
  }

  /* Catalog Filters Sidebar */
  aside.w-full.lg\:w-64 {
    margin-bottom: 20px;
    padding: 15px;
  }

  /* Features Section */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Footer */
  .footer-main .container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 640px) {

  /* Header adjustments */
  header {
    padding: 8px 0;
  }

  .user-actions {
    gap: 8px;
  }

  .logo-link img {
    height: 32px;
  }

  /* Sections */
  .section-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .section-title {
    font-size: 16px;
  }

  .see-all {
    font-size: 11px;
  }

  /* Product Detail Page */
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-info-panel {
    padding: 20px;
  }

  /* Checkout Accordion */
  .step-header h3 {
    font-size: 13px;
  }

  .login-guest-flex {
    gap: 15px;
  }

  /* Account Dashboard */
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  .max-w-4xl {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 13px;
  }

  /* Product Grid 2 items per row */
  .product-grid,
  .grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .card-image-wrap {
    height: 150px;
  }

  .product-price,
  .product-price-val {
    font-size: 18px !important;
  }

  /* Navigation Tabs */
  .category-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Buttons */
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    margin-bottom: 10px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* === FLOATING SOCIALS === */
.floating-socials {
  position: fixed;
  right: 10px;
  /* Menos separado del margen derecho */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 9999;
}

.social-btn {
  width: 42px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
  background-color: #1877f2;
  /* Azul Facebook Oficial */
}

.social-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  /* Gradiente Instagram Oficial */
}

.social-btn.whatsapp {
  background-color: #25d366;
  /* Verde WhatsApp Oficial */
}

.social-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.social-btn:hover i {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .floating-socials {
    top: auto;
    bottom: 80px;
    transform: none;
    right: 8px;
    flex-direction: column;
    gap: 8px;
  }

  .social-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .social-btn:hover {
    width: 32px;
    padding-right: 0;
    border-radius: 50%;
  }
}

/* ========================================= */
/* PREMIUM CHECKOUT REMODEL                  */
/* ========================================= */
.checkout-page-body {
  background-color: #f8fafc;
  color: #1e293b;
}

.checkout-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.checkout-header h1 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.step-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.step-card.active {
  border-color: #f3142d;
  box-shadow: 0 20px 25px -5px rgba(177, 132, 40, 0.1), 0 10px 10px -5px rgba(177, 132, 40, 0.04);
}

.step-card.completed {
  border-color: #f1f5f9;
  background: #fcfcfc;
}

.step-header {
  background: transparent;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.step-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-header p {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.step-status {
  width: 28px;
  height: 28px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.completed .step-status {
  background: #ecfdf5;
  color: #10b981;
}

.active .step-status {
  background: #f3142d;
  color: #fff;
}

.step-body {
  padding: 32px 32px 32px 32px;
}

/* Stepper Indicator */
.checkout-stepper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  text-align: center;
}

/* Line between circles */
.stepper-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

body.dark-mode .stepper-item:not(:last-child)::after {
  background: #1e293b;
}

.stepper-item.completed:not(:last-child)::after {
  background: #10b981;
}

.stepper-circle {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
  margin-bottom: 10px;
}

.stepper-item.active .stepper-circle {
  background: #f3142d;
  border-color: #f3142d;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(177, 132, 40, 0.2);
}

.stepper-item.completed .stepper-circle {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.stepper-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
  display: block;
  width: 100%;
  word-wrap: break-word;
}

.stepper-item.active .stepper-label {
  color: #0f172a;
}

/* Forms Premium */
.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  transition: all 0.2s ease;
}

.form-group input:focus {
  background: #fff;
  border-color: #f3142d;
  box-shadow: 0 0 0 4px rgba(177, 132, 40, 0.1);
  outline: none;
}

/* Buttons */
.btn-checkout-step {
  background: #1e293b;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.2);
}

.btn-checkout-step:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(30, 41, 59, 0.3);
}

/* Summary Card */
.checkout-summary {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* ========================================= */
/* DARK MODE SUPPORT FOR CHECKOUT            */
/* ========================================= */
body.dark-mode.checkout-page-body {
  background-color: #060910;
  color: #f8fafc;
}

body.dark-mode .step-card,
body.dark-mode .checkout-summary,
body.dark-mode .checkout-header {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

body.dark-mode .step-header,
body.dark-mode .step-card.active .step-header,
body.dark-mode .step-body,
body.dark-mode .step-card.completed {
  background: transparent !important;
  border-color: #1e293b !important;
}

body.dark-mode .step-card.active {
  border-color: #f3142d !important;
}

body.dark-mode .step-header h3,
body.dark-mode .step-card.active .step-header h3 {
  color: #f8fafc !important;
}

body.dark-mode .step-header p,
body.dark-mode .summary-row,
body.dark-mode .stepper-label,
body.dark-mode .form-group label {
  color: #94a3b8 !important;
}

body.dark-mode .stepper-circle {
  background: #1e293b !important;
  border-color: #334155 !important;
  color: #94a3b8 !important;
}

body.dark-mode .step-status {
  background: #1e293b;
  color: #94a3b8;
}

body.dark-mode .active .step-status {
  background: #f3142d !important;
  color: #fff !important;
}

body.dark-mode .completed .step-status {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #10b981 !important;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select {
  background: #060910;
  border-color: #1e293b;
  color: #f8fafc;
}

body.dark-mode .btn-checkout-step {
  background: #f3142d;
  color: #000;
  box-shadow: 0 10px 15px -3px rgba(177, 132, 40, 0.2);
}

body.dark-mode .btn-checkout-step:hover {
  background: #e09f20;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(177, 132, 40, 0.3);
}

body.dark-mode .checkout-summary h3 {
  color: #f8fafc;
  border-bottom-color: #1e293b;
}

body.dark-mode .summary-total {
  border-top-color: #1e293b;
}

body.dark-mode .summary-total span:first-child {
  color: #f8fafc;
}

body.dark-mode .summary-row span:last-child {
  color: #f8fafc;
}

body.dark-mode .checkpoint-badge {
  background: #1e293b;
}

body.dark-mode .stepper-item.active .stepper-label {
  color: #f3142d;
}

body.dark-mode .step-checkout-footer {
  background: var(--bg-white);
}

/* Additional Checkout Dark Mode Fixes */
body.dark-mode .summary-row span:first-child {
  color: #94a3b8 !important;
}

body.dark-mode .checkout-summary h3 {
  border-bottom-color: #1e293b !important;
}

body.dark-mode .summary-total {
  border-top-color: #1e293b !important;
}

body.dark-mode .bg-gray-50 {
  background-color: #1e293b !important;
}

body.dark-mode .border-gray-200 {
  border-color: #334155 !important;
}

body.dark-mode .text-gray-900 {
  color: #f8fafc !important;
}

body.dark-mode .text-gray-800,
body.dark-mode .text-gray-700,
body.dark-mode .text-gray-600 {
  color: #f8fafc !important;
}

body.dark-mode .text-gray-400 {
  color: #94a3b8 !important;
}

.checkout-summary h3 {
  font-size: 18px;
  font-weight: 950;
  color: #0f172a;
  margin-bottom: 24px;
  letter-spacing: 1.2px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 16px !important;
  color: #64748b;
}

.summary-total {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total span:first-child {
  font-size: 20px !important;
  font-weight: 900;
  color: #0f172a;
}

.summary-total span:last-child {
  font-size: 24px !important;
  font-weight: 900;
  color: #f3142d;
}

.btn-place-order {
  width: 100%;
  background: linear-gradient(135deg, #f3142d 0%, #d4af37 100%);
  color: #000;
  font-weight: 900;
  font-size: 16px;
  padding: 18px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(177, 132, 40, 0.2);
  transition: all 0.3s ease;
}

.btn-place-order:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(177, 132, 40, 0.3);
}

.btn-place-order:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
}


/* ═══════════════════════════════════════════════════════════════
   MEJORAS DARK MODE — Contenido de la página
═══════════════════════════════════════════════════════════════ */

/* Trust Badges */
body.dark-mode .trust-badges {
  border-top-color: var(--border-light);
  border-bottom-color: var(--border-light);
}

body.dark-mode .trust-badge-item i {
  background-color: rgba(245, 176, 39, 0.1);
  color: var(--color-primary);
}

body.dark-mode .trust-badge-item h4 {
  color: var(--text-main);
}

body.dark-mode .trust-badge-item p {
  color: var(--text-muted);
}

/* Product Cards */
body.dark-mode .product-card {
  background-color: var(--bg-white);
  border-color: var(--border-light);
}

body.dark-mode .card-image-wrap {
  background-color: #0f1a2e;
}

body.dark-mode .product-title {
  color: var(--text-main);
}

body.dark-mode .product-detail-image {
  background-color: var(--bg-white);
  border-color: var(--border-light);
}

/* About section */
body.dark-mode .about-grid {
  background-color: var(--bg-white);
  border-color: var(--border-light);
}

body.dark-mode .about-right-col {
  border-color: var(--border-light);
}

/* Stock badge & quantity selector */
body.dark-mode .detail-stock {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

body.dark-mode .quantity-selector {
  border-color: var(--border-light);
}

body.dark-mode .quantity-selector button {
  background: var(--bg-white) !important;
  color: var(--text-muted) !important;
  border-color: var(--border-light) !important;
}

body.dark-mode .quantity-selector input {
  background: var(--bg-white) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
}

/* Product set text */
body.dark-mode .product-set {
  color: var(--text-muted);
}

/* Banner & Promo — siempre oscuros */
.banner-promo {
  background-color: #020617;
}

body.dark-mode .banner-promo {
  background-color: #000;
}

/* User Dropdown dark mejorado */
body.dark-mode .user-account-dropdown .dropdown-item {
  color: var(--text-main) !important;
}

body.dark-mode .user-account-dropdown .dropdown-item:hover {
  background-color: var(--bg-body) !important;
}

/* Mobile Sidebar dark mejorado */
body.dark-mode .mobile-sidebar {
  background: #0f172a;
}

body.dark-mode .mobile-sidebar-header {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode .mobile-close-btn,
body.dark-mode .mobile-theme-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

body.dark-mode .mobile-close-btn:hover,
body.dark-mode .mobile-theme-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-primary);
}

body.dark-mode .sidebar-divider {
  border-bottom-color: rgba(255, 255, 255, 0.07);
  color: #475569;
}

body.dark-mode .mobile-main-nav a,
body.dark-mode .mobile-cat-nav a,
body.dark-mode .mobile-account-nav a {
  color: #94a3b8;
}

body.dark-mode .mobile-main-nav a:hover {
  background: rgba(245, 176, 39, 0.08);
  color: var(--color-primary);
}

/* Cart Sidebar dark */
body.dark-mode .cart-sidebar {
  background: var(--bg-white);
  border-left: 1px solid var(--border-light);
}

body.dark-mode .cart-header h3 {
  color: var(--text-main);
}

body.dark-mode .cart-item-info h4 {
  color: var(--text-main);
}

/* ═══════════════════════════════════════════════════════════════
   INDEX.PHP — DARK MODE COMPLETO Y PROFESIONAL
═══════════════════════════════════════════════════════════════ */

/* ── Secciones de contenido ── */
body.dark-mode .section-wrapper {
  background-color: var(--bg-body);
}

body.dark-mode .section-wrapper.bg-alt {
  background-color: var(--bg-body);
}

body.dark-mode .section-header {
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode .section-header::after {
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(245, 176, 39, 0.4);
}

body.dark-mode .section-title {
  color: var(--text-main);
}

/* ── Product Cards dark ── */
body.dark-mode .product-card {
  background-color: #111827;
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary),
    0 12px 30px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(245, 176, 39, 0.08);
}

body.dark-mode .card-image-wrap {
  background: linear-gradient(145deg, #0d1728 0%, #111e35 100%);
}

body.dark-mode .product-title {
  color: #f1f5f9;
}

body.dark-mode .product-set {
  color: #475569;
}

body.dark-mode .product-stock {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #64748b;
}

body.dark-mode .btn-view {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

body.dark-mode .btn-view:hover {
  background: #000;
  border-color: rgba(245, 176, 39, 0.5);
  color: var(--color-primary);
}

/* ── Badges ── */
body.dark-mode .badge-img-right,
body.dark-mode .badge-img-left {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #e2e8f0;
}

body.dark-mode .badge-img-left {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e09f20 100%);
  color: #000;
}

/* ── Trust Badges dark ── */
body.dark-mode .trust-badges {
  background-color: #0d1117;
  border-top-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .trust-badge-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .trust-badge-item i {
  background: linear-gradient(135deg, rgba(245, 176, 39, 0.15) 0%, rgba(245, 176, 39, 0.08) 100%);
  color: var(--color-primary);
  box-shadow: 0 0 20px rgba(245, 176, 39, 0.15);
}

body.dark-mode .trust-badge-item:hover i {
  box-shadow: 0 0 30px rgba(245, 176, 39, 0.3);
}

body.dark-mode .trust-badge-item h4 {
  color: #f1f5f9;
}

body.dark-mode .trust-badge-item p {
  color: #64748b;
}

/* ── Banner Promo dark ── */
body.dark-mode .banner-promo {
  background: var(--bg-white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .banner-content h2 {
  background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.dark-mode .banner-content p {
  color: #64748b;
}

/* ── Noticias Home dark ── */
body.dark-mode .noticias-home {
  background-color: var(--bg-white) !important;
}

body.dark-mode .noticias-grid {
  background-color: #0d1117 !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .news-card {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.07) !important;
}

body.dark-mode .news-card:hover {
  border-color: var(--color-primary) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .news-card-overlay {
  background: #0a0f1a !important;
}

body.dark-mode .news-card-overlay p {
  color: var(--color-primary) !important;
}

body.dark-mode .news-card:hover .news-card-overlay {
  background: var(--color-primary) !important;
}

body.dark-mode .news-card:hover .news-card-overlay p {
  color: #000 !important;
}

/* ── Promo Swiper dark ── */
body.dark-mode .promo-section {
  background: #020617;
}

/* ========================================= */
/* VIDEO & EVENTS SHOWCASE SECTION           */
/* ========================================= */
.video-showcase {
  padding: 80px 0;
  background: var(--bg-body);
  position: relative;
  overflow: hidden;
  transition: background-color 0.35s ease;
}

body.dark-mode .video-showcase {
  background: #060910;
}

.video-showcase .section-header {
  border-bottom: none;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 60px;
  padding-bottom: 0;
}

.video-showcase .section-header::after {
  content: '';
  display: block;
  margin: 15px auto 0;
  position: static;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(245, 176, 39, 0.4);
}

.video-showcase .section-title {
  color: var(--text-main) !important;
  text-align: center;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 2px;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
}

.showcase-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.showcase-content.only-events {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.showcase-content.only-video {
  grid-template-columns: 1fr;
  max-width: 560px;
}

/* Columna Video */
.showcase-video {
  width: 100%;
}

.showcase-video.is-vertical-video {
  display: flex;
  justify-content: center;
}

.video-card {
  background: var(--bg-white);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.video-card.is-vertical-card {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

body.dark-mode .video-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.video-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #000;
}

.video-wrapper.is-vertical {
  aspect-ratio: 9 / 16;
  max-width: 430px;
  margin: 0 auto;
}


.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Columna Eventos */
.events-container {
  background: var(--bg-white);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 500px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

body.dark-mode .events-container {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.events-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 15px;
}

body.dark-mode .events-header {
  border-color: rgba(255, 255, 255, 0.05);
}

.events-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.events-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 30px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-item:hover {
  background: rgba(245, 176, 39, 0.05);
}

.event-date {
  width: 50px;
  height: 55px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

body.dark-mode .event-date {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.05);
}

.event-mes {
  font-size: 9px;
  font-weight: 900;
  color: #f3142d;
  text-transform: uppercase;
}

.event-dia {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.event-info {
  flex: 1;
}

.event-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.event-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-clamp: 1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.events-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

body.dark-mode .events-footer {
  border-color: rgba(255, 255, 255, 0.05);
}

.view-all-events {
  font-size: 11px;
  font-weight: 800;
  color: #f3142d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .events-container {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .video-showcase {
    padding: 48px 0;
  }
  .video-showcase .section-title {
    font-size: 32px;
  }
  .video-showcase .section-header {
    margin-bottom: 34px;
  }
  .showcase-video {
    max-width: min(390px, calc(100vw - 42px));
    margin: 0 auto;
  }
  .video-card {
    border-radius: 28px;
    box-shadow: none;
  }
  .video-card.is-vertical-card {
    max-width: 390px;
  }
  .video-card:hover {
    transform: none;
  }
  .video-wrapper.is-vertical {
    width: 100%;
    max-width: 390px;
    aspect-ratio: 9 / 16;
  }
}

/* MOBILE PREMIUM GRID LAYOUT - KANTOTCG STYLE - FOR PHONES AND TABLETS */
@media (max-width: 1024px) {
  /* 1. Forzar una cuadrícula de 2 columnas súper alineada */
  .product-grid,
  .grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    gap: 12px !important;
    padding: 4px !important;
  }

  /* 2. Rediseñar la carta de producto vertical premium (Estilo Card TCGPlayer) */
  .product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    padding: 10px !important;
    background-color: #0f172a !important; /* Azul cobalto profundo elegante */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    min-height: auto !important;
    text-align: left !important;
    height: auto !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
  }

  /* 3. Contenedor de la Imagen (Arriba) */
  .card-image-wrap {
    width: 100% !important;
    height: auto !important;
    min-width: unset !important;
    max-width: unset !important;
    aspect-ratio: 3 / 4 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 0 10px 0 !important;
    background: rgba(255, 255, 255, 0.02) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .card-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
  }

  /* Badges de Idioma y Stock sobre la imagen */
  .badge-img-right,
  .badge-img-left {
    display: none !important; /* Evitar duplicaciones */
  }

  /* 4. Contenido / Textos */
  .card-content {
    flex: unset !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
  }

  /* Título del Producto (2 líneas máx con altura fija para alineación perfecta) */
  .product-card .card-content h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #f1f5f9 !important; /* Blanco suave */
    height: 30px !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
  }

  /* Set / Colección / Rareza */
  .product-card .card-content .flex.items-center.justify-between {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 4px !important;
  }

  .product-card .card-content .flex.items-center.justify-between p {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #64748b !important; /* Slate gray */
    margin: 0 !important;
    padding: 0 !important;
    max-width: 65% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .product-card .card-content .flex.items-center.justify-between span {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #c084fc !important; /* Púrpura vibrante para la rareza */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Área Inferior de Precio y Disponibilidad */
  .product-card .product-status-area {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 0 0 !important;
    margin: 6px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  /* Precio */
  .product-card .product-status-area span.text-green-700,
  .product-card .product-status-area span.text-green-400 {
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #34d399 !important; /* Verde Esmeralda vibrante */
    margin: 0 !important;
  }

  /* Stock */
  .product-card .product-status-area span.text-gray-400 {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }

  /* 10. Botones de Acción (Ojito y Carrito en móvil súper estructurados) */
  .product-card .card-actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .product-card .card-actions .btn-add {
    flex: 1 !important;
    background: linear-gradient(135deg, #f3142d 0%, #b20d20 100%) !important;
    color: #000 !important;
    border: none !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 8px 4px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    height: 32px !important;
    cursor: pointer !important;
  }

  .product-card .card-actions .btn-view {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  .btn-view-text {
    display: none !important;
  }

  /* Support for homepage index.php layout on mobile */
  .product-card h3.product-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #f1f5f9 !important;
    height: 30px !important;
    margin: 4px 0 2px 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .product-card p.product-set {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .product-card .card-tags {
    display: flex !important;
    gap: 4px !important;
    margin: 4px 0 2px 0 !important;
    padding: 0 !important;
  }

  .product-card .card-tags .tag {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #c084fc !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .product-card .product-bottom-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 0 0 !important;
    margin: 6px 0 0 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .product-card .product-bottom-info .product-price {
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #34d399 !important;
    margin: 0 !important;
    text-shadow: none !important;
  }

  .product-card .product-bottom-info .product-stock {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    margin: 0 !important;
  }

  .card-actions-hover {
    display: none !important;
  }
}

/* Quantity Stepper for Cards - Precise Match */
.qty-wrapper {
  display: flex;
  align-items: center;
  background: #0f172a; /* Dark precise background */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px; /* Slightly tighter rounding for compact mode */
  overflow: hidden;
  height: 34px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.qty-wrapper:hover, .qty-wrapper:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
}
.qty-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  width: 22px; /* Reduced from 28px */
  height: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px; /* Smaller icons */
  user-select: none;
}
.qty-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.qty-input {
  flex: 1;
  background: transparent;
  border: none;
  text-align: center;
  color: #ffffff;
  font-size: 12px; /* Tighter font */
  font-weight: 700;
  width: 16px; /* Reduced width for number to minimize space */
  min-width: 16px;
  height: 100%;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
  font-family: sans-serif;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* FORCE INLINE ALIGNMENT IN CARD ACTIONS */
.card-actions {
  display: flex !important;
  gap: 6px !important;
  padding: 0 8px !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100%;
}

/* Make the stepper very small and locked */
.card-actions .qty-wrapper {
  flex: 0 0 62px !important; /* Shrink from 78px to 62px giving back 16px to Agregar */
  margin: 0 !important;
}

/* Allow Agregar to breathe */
.card-actions .btn-add {
  flex: 1 !important;
  font-size: 11.5px !important; /* Sligthly larger now that space is reclaimed */
  font-weight: 800 !important;
  padding: 0 6px !important;
  height: 34px !important;
  gap: 4px !important;
  white-space: nowrap;
  overflow: hidden;
}

/* Minimize 'Ver' to icon-only to maximize space */
.card-actions .btn-view {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  justify-content: center !important;
  border-radius: 8px !important;
}

.card-actions .btn-view span, 
.card-actions .btn-view-text {
  display: none !important; /* HIDE text to keep only the EYE icon */
}

/* Ichiraku homepage hero refresh */
.ichiraku-hero {
  position: relative;
  min-height: calc(100vh - 148px);
  padding: 84px 20px 56px;
  background:
    radial-gradient(circle at 50% 36%, rgba(243, 20, 45, 0.18) 0%, rgba(243, 20, 45, 0.05) 32%, transparent 58%),
    linear-gradient(180deg, #06080d 0%, #05070b 100%);
  border-top: 1px solid rgba(243, 20, 45, 0.2);
  overflow: hidden;
}

.ichiraku-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 20, 45, 0.12), transparent 22%, transparent 78%, rgba(243, 20, 45, 0.08)),
    radial-gradient(circle at 16% 12%, rgba(247, 183, 51, 0.11), transparent 30%);
  pointer-events: none;
}

.ichiraku-hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1680px);
  min-height: 760px;
  margin: 0 auto;
  padding: 54px 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(120deg, rgba(243, 20, 45, 0.10), transparent 24%, rgba(255, 255, 255, 0.02) 100%),
    #0a0b0e;
  box-shadow: inset 0 0 0 1px rgba(247, 183, 51, 0.05), 0 30px 90px rgba(0, 0, 0, 0.38);
  text-align: center;
  overflow: hidden;
}

.ichiraku-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #d9a83a;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ichiraku-hero-kicker span {
  width: 74px;
  height: 4px;
  border-radius: 99px;
  background: #f3142d;
  box-shadow: 0 0 20px rgba(243, 20, 45, 0.55);
}

.ichiraku-hero-title {
  margin: 0;
  font-family: 'Kanit', Impact, sans-serif;
  font-size: clamp(68px, 8vw, 154px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 3px #f3142d;
  text-shadow: 0 0 34px rgba(243, 20, 45, 0.2);
  text-transform: uppercase;
}

.ichiraku-hero-copy {
  width: min(100%, 760px);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.55;
  font-weight: 700;
}

.ichiraku-hero-stage {
  position: relative;
  width: min(100%, 760px);
  min-height: 420px;
  margin: -4px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ichiraku-hero-orb {
  position: absolute;
  width: min(64vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 20, 45, 0.52) 0%, rgba(105, 8, 20, 0.72) 44%, rgba(0, 0, 0, 0) 66%);
  box-shadow: inset 0 0 0 12px rgba(0, 0, 0, 0.45), inset 0 0 0 22px rgba(243, 20, 45, 0.12);
  opacity: .76;
}

.ichiraku-hero-art {
  position: relative;
  z-index: 2;
  width: min(100%, 680px);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.55));
}

.ichiraku-hero-tags {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(100%, 620px);
}

.ichiraku-hero-tags span {
  min-width: 112px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 13, 20, 0.86);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.ichiraku-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.ichiraku-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 260px;
  min-height: 82px;
  padding: 0 34px;
  border-radius: 22px;
  font-size: 20px;
  font-weight: 950;
  text-decoration: none;
  letter-spacing: .5px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ichiraku-btn:hover { transform: translateY(-2px); }
.ichiraku-btn-primary { background: #f3142d; color: #fff; box-shadow: 0 18px 34px rgba(243, 20, 45, 0.26); }
.ichiraku-btn-secondary { background: rgba(255, 255, 255, 0.04); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); }

.ichiraku-hero-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ichiraku-hero-proof i { color: #f3142d; margin-right: 8px; }

@media (max-width: 768px) {
  .ichiraku-hero { padding: 42px 12px 30px; min-height: auto; }
  .ichiraku-hero-card { min-height: auto; padding: 34px 16px 26px; border-radius: 22px; }
  .ichiraku-hero-kicker { font-size: 11px; letter-spacing: 3px; gap: 10px; }
  .ichiraku-hero-kicker span { width: 42px; }
  .ichiraku-hero-title { -webkit-text-stroke-width: 2px; }
  .ichiraku-hero-stage { min-height: 320px; margin-top: 10px; }
  .ichiraku-hero-art { max-height: 330px; }
  .ichiraku-hero-tags { bottom: 18px; gap: 8px; }
  .ichiraku-hero-tags span { min-width: auto; font-size: 12px; padding: 9px 12px; }
  .ichiraku-btn { width: 100%; min-width: 0; min-height: 64px; font-size: 16px; border-radius: 16px; }
  .ichiraku-hero-proof { gap: 14px; font-size: 11px; }
}

/* Ichiraku catalog redesign */
body:has(.ichiraku-catalog-hero) {
  background: #07090d !important;
}

.ichiraku-catalog-hero {
  position: relative;
  min-height: 490px;
  padding: 86px 30px 72px;
  border-top: 1px solid rgba(243, 20, 45, 0.18);
  border-bottom: 6px solid #f3142d;
  background:
    linear-gradient(90deg, rgba(243, 20, 45, 0.18) 0%, rgba(243, 20, 45, 0.04) 22%, transparent 48%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #07090d;
  background-size: auto, 150px 150px, 150px 150px, auto;
  overflow: hidden;
}

.ichiraku-catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 16%, rgba(243,20,45,.18), transparent 26%);
  pointer-events: none;
}

.ichiraku-catalog-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1780px);
  margin: 0 auto;
}

.ichiraku-catalog-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #f3142d;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ichiraku-catalog-kicker span {
  width: 48px;
  height: 4px;
  border-radius: 99px;
  background: #f3142d;
}

.ichiraku-catalog-hero h1 {
  margin: 0;
  font-family: 'Kanit', Impact, sans-serif;
  line-height: .88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ichiraku-catalog-hero h1 span,
.ichiraku-catalog-hero h1 strong {
  display: block;
}

.ichiraku-catalog-hero h1 span {
  color: #fff;
  font-size: clamp(62px, 6.8vw, 128px);
  font-weight: 950;
}

.ichiraku-catalog-hero h1 strong {
  color: transparent;
  -webkit-text-stroke: 2.6px #f3142d;
  font-size: clamp(66px, 7vw, 132px);
  font-weight: 950;
  text-shadow: 0 0 34px rgba(243,20,45,.18);
}

.ichiraku-catalog-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 20px;
  font-weight: 800;
}

.ichiraku-catalog-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
  color: rgba(255,255,255,.58);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ichiraku-catalog-stats strong { color: #fff; font-size: 22px; margin-right: 8px; }
.ichiraku-catalog-stats i { color: #f3142d; margin-right: 8px; }

.ichiraku-catalog-ghost {
  position: absolute;
  right: -20px;
  top: 60px;
  color: rgba(255,255,255,.026);
  font-size: min(25vw, 420px);
  line-height: .8;
  font-weight: 950;
  letter-spacing: -16px;
  pointer-events: none;
}

.ichiraku-catalog-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  background: #090c12;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow-x: auto;
}

.ichiraku-catalog-tabs a {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.48);
  border-right: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}

.ichiraku-catalog-tabs a small {
  color: rgba(255,255,255,.28);
  font-size: 11px;
  font-weight: 950;
}

.ichiraku-catalog-tabs a:hover,
.ichiraku-catalog-tabs a.active {
  background: #f3142d;
  color: #fff;
}

.ichiraku-catalog-tabs a:hover small,
.ichiraku-catalog-tabs a.active small { color: #ffd55a; }

.catalog-body {
  max-width: 1800px !important;
  padding-top: 78px !important;
  background: linear-gradient(120deg, #080b10 0%, #080b10 70%, rgba(243,20,45,.06) 100%);
}

.catalog-body aside {
  width: 350px !important;
  background: #111827 !important;
  border: 1px solid rgba(125, 149, 184, .25) !important;
  border-radius: 0 28px 8px 28px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.28) !important;
}

.catalog-body aside > div:first-child {
  min-height: 94px;
  padding: 0 32px !important;
  margin: 0 !important;
  border: none !important;
  background: linear-gradient(135deg, #f3142d, #bb0f22) !important;
  color: #fff;
}

.catalog-body aside h3 {
  color: #fff !important;
  font-size: 24px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#mobile-filters-content { padding: 28px 32px 32px; }
#mobile-filters-content h4 { color: #f3142d !important; font-size: 14px !important; }
.catalog-body aside button { color: rgba(255,255,255,.92) !important; }
.catalog-body aside button i { color: rgba(255,255,255,.55) !important; }
.catalog-body aside .border-b { border-color: rgba(255,255,255,.08) !important; }
.catalog-body aside a { color: rgba(255,255,255,.66) !important; }
.catalog-body aside a:hover { color: #f3142d !important; }
.catalog-body aside .text-yellow-600 { color: #f3142d !important; }
.catalog-body aside .text-gray-400,
.catalog-body aside .text-gray-500,
.catalog-body aside .text-gray-600 { color: rgba(255,255,255,.46) !important; }
.catalog-body aside a[href="catalogo.php#productos"] {
  margin-top: 24px !important;
  color: #ff7b86 !important;
  background: rgba(243,20,45,.06) !important;
  border-color: rgba(243,20,45,.24) !important;
}

.catalog-body .flex-1 > .bg-white.border {
  min-height: 140px;
  background: linear-gradient(100deg, rgba(46,35,68,.64), #111827 38%, #111827) !important;
  border: 1px solid rgba(104, 132, 170, .34) !important;
  border-left: 5px solid rgba(104, 132, 170, .52) !important;
  border-radius: 0 0 0 28px !important;
  padding: 28px 34px !important;
  box-shadow: none !important;
}

.catalog-body .flex-1 > .bg-white.border > span {
  color: rgba(255,255,255,.58) !important;
  font-size: 12px !important;
  letter-spacing: 3px !important;
}

.catalog-body .flex-1 > .bg-white.border > span::first-letter { font-size: 42px; color: #fff; }

.catalog-body [id$="-dropdown-container"] button {
  min-height: 58px;
  background: #080d17 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: rgba(255,255,255,.72) !important;
  border-radius: 15px !important;
  font-size: 15px !important;
}

.catalog-body .sm\:text-xs,
.catalog-body .text-gray-500 { color: rgba(255,255,255,.45) !important; }
#btn-view-grid.bg-blue-600,
#btn-view-list.bg-blue-600 { background: #f3142d !important; color: #0b0d12 !important; }

#productos.grid-container {
  grid-template-columns: repeat(auto-fill, minmax(270px, 270px)) !important;
  gap: 24px !important;
  align-items: start;
}

#productos .product-card {
  background: #111827 !important;
  border: 1px solid rgba(104,132,170,.26) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 48px rgba(0,0,0,.32) !important;
}

#productos .product-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #f3142d;
  z-index: 2;
}

#productos .card-image-wrap {
  margin: 14px 14px 0 !important;
  border-radius: 0 !important;
  background: #0a0e16 !important;
  border: 1px dashed rgba(247,183,51,.28) !important;
  aspect-ratio: 0.70 !important;
}

#productos .card-image-wrap img {
  object-fit: contain !important;
  padding: 10px !important;
}

#productos .grid-only-content { background: #111827 !important; padding: 18px 18px 20px !important; }
#productos .product-title { color: #fff !important; font-size: 16px !important; white-space: normal !important; line-height: 1.25 !important; }
#productos .product-set { color: rgba(255,255,255,.44) !important; font-size: 11px !important; letter-spacing: .7px; }
#productos .product-rarity { color: #b889ff !important; }
#productos .variant-grid-row {
  background: #080d17 !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  border-radius: 8px !important;
}
#productos .product-price { color: #2ee27b !important; }
#productos .btn-add { background: #f3142d !important; color: #fff !important; border-radius: 10px !important; }
#productos .btn-add:hover { background: #cf0d24 !important; color: #fff !important; }

#global-quickview-modal {
  background: rgba(0,0,0,.72) !important;
  backdrop-filter: blur(9px) !important;
}

#qv-container {
  max-width: 1320px !important;
  border-radius: 28px !important;
  background: #10151f !important;
  border: 1px solid rgba(104,132,170,.26) !important;
}

#qv-container .qv-image-pane { background: #0b1018 !important; }
#qv-container .qv-info-pane { background: #111827 !important; }
#qv-container .qv-price { color: #2ee27b !important; }
#qv-container .btn-add,
#qv-container .qv-add-btn { background: #f3142d !important; color: #fff !important; }

@media (max-width: 1024px) {
  .ichiraku-catalog-hero { padding: 54px 18px 46px; min-height: auto; }
  .ichiraku-catalog-ghost { display: none; }
  .ichiraku-catalog-tabs { grid-template-columns: repeat(8, minmax(136px, 1fr)); }
  .catalog-body aside { width: 100% !important; }
  #productos.grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
}

@media (max-width: 640px) {
  .ichiraku-catalog-hero h1 span,
  .ichiraku-catalog-hero h1 strong { font-size: 52px; }
  .ichiraku-catalog-hero h1 strong { -webkit-text-stroke-width: 1.7px; }
  .ichiraku-catalog-kicker { font-size: 10px; letter-spacing: 3px; }
  .ichiraku-catalog-hero p { font-size: 15px; }
  .catalog-body { padding-top: 34px !important; }
  .catalog-body .flex-1 > .bg-white.border { padding: 18px !important; border-radius: 16px !important; }
}

/* Ichiraku header + categories mega menu */
.header-main-wrap {
  background: #070a11 !important;
  border-bottom: 1px solid rgba(243, 20, 45, .35) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .36);
}

.header-middle {
  height: 96px !important;
  border-bottom: 0 !important;
  z-index: 2300 !important;
}

.header-middle .container {
  max-width: 1900px;
  width: min(100% - 56px, 1900px);
  display: flex;
  align-items: center;
  gap: 16px !important;
  justify-content: flex-start !important;
  margin: 0 auto;
}

.header-logo {
  flex: 0 0 auto;
}

.header-logo img,
#header-logo-img {
  width: 142px !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 18px rgba(243, 20, 45, .22));
}

.header-primary-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: nowrap;
}

.header-primary-nav .has-mega-menu {
  position: relative;
}

.btn-categorias-nav {
  height: 48px !important;
  min-width: 168px;
  justify-content: center;
  border: 1px solid rgba(243, 20, 45, .62) !important;
  border-radius: 12px !important;
  background: rgba(243, 20, 45, .14) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  letter-spacing: .7px;
  box-shadow: 0 12px 28px rgba(243, 20, 45, .12) !important;
}

.btn-categorias-nav:hover,
.has-mega-menu.active .btn-categorias-nav {
  transform: translateY(-1px);
  background: #f3142d !important;
  border-color: #f3142d !important;
  box-shadow: 0 18px 36px rgba(243, 20, 45, .28) !important;
}

.nav-main-links {
  gap: 24px !important;
  white-space: nowrap;
}

.nav-link {
  color: rgba(226, 232, 240, .72) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 1.3px !important;
}

.nav-link:hover {
  color: #f3142d !important;
}

.header-search-wrap {
  flex: 1 1 420px !important;
  max-width: 640px !important;
  margin-left: auto;
}

.unified-search-premium input {
  height: 50px !important;
  border-radius: 13px !important;
  background: #0b1019 !important;
  border-color: rgba(104, 132, 170, .24) !important;
  padding-left: 24px !important;
  padding-right: 78px !important;
}

.unified-search-premium .search-btn {
  top: 0 !important;
  right: 0 !important;
  width: 62px !important;
  height: 50px !important;
  border-radius: 0 13px 13px 0 !important;
  background: #f3142d !important;
  color: #fff !important;
  font-size: 18px;
}

.header-actions {
  flex: 0 0 auto;
  gap: 16px !important;
}

.header-action-item {
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  border: 1px solid rgba(104, 132, 170, .22);
  border-radius: 13px;
  background: rgba(13, 18, 29, .72);
  color: rgba(226, 232, 240, .86) !important;
}

.header-action-item .label {
  display: none;
}

.header-action-item:hover {
  color: #f3142d !important;
  border-color: rgba(243, 20, 45, .55);
}

.header-actions > .flex.items-center {
  gap: 10px !important;
  padding-right: 12px !important;
  margin-right: 0 !important;
}

.theme-toggle-btn {
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(104, 132, 170, .22);
  border-radius: 13px;
  background: rgba(13, 18, 29, .72);
}

.mega-menu {
  top: calc(100% + 24px) !important;
  left: 0 !important;
  width: min(1500px, calc(100vw - 280px)) !important;
  max-width: min(1500px, calc(100vw - 280px)) !important;
  min-height: 410px !important;
  max-height: calc(100vh - 188px) !important;
  display: grid !important;
  grid-template-columns: 360px minmax(0, 1fr);
  background: rgba(7, 10, 17, .97) !important;
  border: 1px solid rgba(104, 132, 170, .26) !important;
  border-radius: 8px !important;
  border-top: 0 !important;
  box-shadow: 0 36px 90px rgba(0, 0, 0, .58) !important;
  backdrop-filter: blur(18px);
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu.active .mega-menu {
  display: grid !important;
}

.mega-menu-sidebar {
  width: auto !important;
  background: #090d15 !important;
  padding: 22px 0 !important;
  border-right: 1px solid rgba(104, 132, 170, .22) !important;
}

.mega-menu-sidebar a {
  min-height: 56px;
  padding: 0 32px !important;
  color: rgba(203, 213, 225, .78) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.mega-menu-sidebar a:hover,
.mega-menu-sidebar a.active {
  background: rgba(247, 183, 51, .10) !important;
  color: #f3142d !important;
  box-shadow: inset 4px 0 0 #f7b733;
}

.mega-menu-content {
  min-height: 410px !important;
  max-height: calc(100vh - 188px) !important;
  background: linear-gradient(120deg, rgba(13, 18, 29, .95), rgba(7, 10, 17, .98)) !important;
}

.mega-menu-pane {
  padding: 34px !important;
}

.mega-menu-options-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 26px !important;
}

.mega-menu-group {
  min-width: 0;
}

.mega-menu-option {
  min-height: 124px;
  align-items: flex-start !important;
  border-radius: 18px !important;
  background: #111620 !important;
  border: 1px solid rgba(104, 132, 170, .22) !important;
  color: #fff !important;
  padding: 30px 28px !important;
  font-size: 19px !important;
  font-weight: 900 !important;
}

.mega-menu-option:hover {
  border-color: rgba(243, 20, 45, .58) !important;
  background: #151b27 !important;
  color: #f3142d !important;
}

.mega-menu-suboptions {
  padding: 16px 6px 0 !important;
}

.mega-menu-sublink {
  color: rgba(203, 213, 225, .72) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.mega-menu-footer-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 26px !important;
  color: #f3142d !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

.header-nav-row {
  display: none !important;
}

@media (max-width: 1480px) {
  .header-middle .container {
    width: min(100% - 32px, 1900px);
    gap: 14px !important;
  }

  .header-logo img,
  #header-logo-img {
    width: 124px !important;
  }

  .btn-categorias-nav {
    min-width: 152px;
  }

  .nav-main-links {
    gap: 16px !important;
  }

  .header-search-wrap {
    max-width: 520px !important;
  }
}

@media (max-width: 1220px) {
  .nav-main-links {
    display: none !important;
  }

  .mega-menu {
    width: min(1120px, calc(100vw - 48px)) !important;
    max-width: min(1120px, calc(100vw - 48px)) !important;
  }
}

@media (max-width: 1024px) {
  .header-middle {
    height: auto !important;
  }

  .header-middle .container {
    flex-wrap: wrap;
    width: min(100% - 28px, 1900px);
  }

  .header-primary-nav {
    display: none !important;
  }

  .header-search-wrap {
    flex: 0 0 100% !important;
    max-width: none !important;
    margin-left: 0;
    order: 3;
  }

  .header-action-item .label {
    display: block;
  }
}


/* Ichiraku header final tuning: black/red identity */
.header-primary-nav,
.header-primary-nav .nav-main-links {
  flex-direction: row !important;
  align-items: center !important;
}

.header-primary-nav .nav-main-links {
  display: flex !important;
  flex-wrap: nowrap !important;
}

.btn-categorias-nav i:first-child {
  color: #f3142d !important;
}

.btn-categorias-nav:hover i:first-child,
.has-mega-menu.active .btn-categorias-nav i:first-child {
  color: #ffffff !important;
}

.nav-link:hover,
.nav-link[style] {
  color: #f3142d !important;
}

.header-actions .text-yellow-400,
.theme-toggle-btn .text-yellow-400 {
  color: #f3142d !important;
}

@media (max-width: 1560px) {
  .header-middle .container { gap: 12px !important; }
  .header-logo img, #header-logo-img { width: 128px !important; }
  .btn-categorias-nav { min-width: 150px; padding-left: 14px !important; padding-right: 14px !important; }
  .nav-main-links { gap: 16px !important; }
  .nav-link { font-size: 12px !important; letter-spacing: .9px !important; }
  .header-search-wrap { flex-basis: 360px !important; max-width: 560px !important; }
  .header-actions { gap: 10px !important; }
}

/* Ichiraku command search */
.search-shortcut-hint {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(104, 132, 170, .18);
  color: rgba(203, 213, 225, .58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .6px;
  pointer-events: none;
}

.unified-search-premium input[readonly] {
  cursor: pointer;
}

.search-palette-overlay[hidden] {
  display: none !important;
}

.search-palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 132px 22px 32px;
}

.search-palette-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(12px);
}

body.search-palette-open {
  overflow: hidden;
}

body.search-palette-open .header-main-wrap,
body.search-palette-open main,
body.search-palette-open .site-footer,
body.search-palette-open .ai-floating,
body.search-palette-open .social-floating,
body.search-palette-open .cart-sidebar {
  filter: blur(7px);
}

.search-palette {
  position: relative;
  width: min(820px, 100%);
  min-height: 380px;
  max-height: min(620px, calc(100vh - 170px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #10141d;
  border: 1px solid rgba(104, 132, 170, .26);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .72);
}

.search-palette-head {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(104, 132, 170, .18);
}

.search-palette-head > i {
  color: #f3142d;
  font-size: 28px;
}

.search-palette-head input {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 0;
  background: #090d15;
  color: #fff;
  outline: none;
  padding: 0 14px;
  font-size: 22px;
  font-weight: 800;
}

.search-palette-head input::placeholder {
  color: rgba(148, 163, 184, .78);
}

.search-palette kbd,
.search-palette-foot kbd {
  display: inline-flex;
  min-width: 32px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 8px;
  background: #0a0f18;
  border: 1px solid rgba(104, 132, 170, .24);
  color: rgba(203, 213, 225, .78);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.search-palette-close {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(148, 163, 184, .88);
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.search-palette-close:hover {
  color: #fff;
  background: rgba(243, 20, 45, .16);
}

.search-palette-body {
  min-height: 0;
  overflow-y: auto;
  background: #10141d;
}

.search-palette-empty {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(148, 163, 184, .86);
  text-align: center;
  font-size: 18px;
  font-weight: 900;
}

.search-palette-empty i {
  color: rgba(243, 20, 45, .65);
  font-size: 48px;
}

.search-palette-results {
  padding: 12px;
}

.search-palette-result {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
}

.search-palette-result:hover,
.search-palette-result.active {
  background: rgba(243, 20, 45, .12);
  border-color: rgba(243, 20, 45, .34);
}

.search-palette-thumb {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #090d15;
  border: 1px solid rgba(104, 132, 170, .22);
}

.search-palette-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-palette-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-palette-copy strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  font-weight: 900;
}

.search-palette-copy small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(148, 163, 184, .78);
  font-size: 12px;
  font-weight: 800;
}

.search-palette-price {
  color: #f3142d;
}

.search-palette-foot {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  border-top: 1px solid rgba(104, 132, 170, .18);
  color: rgba(148, 163, 184, .88);
  font-size: 13px;
  font-weight: 900;
}

.search-palette-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

@media (max-width: 760px) {
  .search-shortcut-hint {
    display: none;
  }

  .search-palette-overlay {
    padding-top: 92px;
  }

  .search-palette {
    border-radius: 18px;
  }

  .search-palette-head {
    min-height: 76px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 0 16px;
  }

  .search-palette-head input {
    font-size: 17px;
  }

  .search-palette-head kbd {
    display: none;
  }

  .search-palette-foot {
    gap: 12px;
    padding: 0 14px;
    font-size: 11px;
    overflow-x: auto;
  }
}


/* Ichiraku final polish: compact, organized, red identity */
:root {
  --color-primary: #f3142d;
  --color-primary-hover: #cf0d24;
}

.unified-search-premium {
  position: relative !important;
  display: block !important;
}

.search-shortcut-hint {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  right: 70px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  color: rgba(203, 213, 225, .72) !important;
  background: #0d1320 !important;
  border-color: rgba(243, 20, 45, .24) !important;
}

.bg-yellow-500,
.bg-yellow-400,
.badge-img-left,
.badge-img-right,
.image-badges .bg-yellow-500 {
  background: #f3142d !important;
  color: #fff !important;
  border-color: rgba(243, 20, 45, .55) !important;
}

.text-yellow-600,
.text-yellow-700,
.hover\:text-yellow-600:hover,
.hover\:text-yellow-700:hover,
.see-all,
.section-title i,
.footer-col h4::after,
.site-footer .contact-info i {
  color: #f3142d !important;
}

.section-title::after,
.footer-col h4::after,
.video-showcase .section-title::after,
.promo-section .section-title::after {
  background: #f3142d !important;
  box-shadow: 0 0 18px rgba(243, 20, 45, .35) !important;
}

.btn-add,
.btn-add-mini,
.btn-add-square,
.btn-banner,
.ichiraku-btn-primary,
.swiper-button-next,
.swiper-button-prev {
  background: #f3142d !important;
  color: #fff !important;
  border-color: #f3142d !important;
  box-shadow: 0 12px 28px rgba(243, 20, 45, .22) !important;
}

.btn-add:hover,
.btn-add-mini:hover,
.btn-add-square:hover,
.btn-banner:hover,
.ichiraku-btn-primary:hover {
  background: #cf0d24 !important;
  color: #fff !important;
}

.card-tags .tag,
.product-card .tag {
  border-color: rgba(243, 20, 45, .28) !important;
  color: #ff6b7c !important;
  background: rgba(243, 20, 45, .10) !important;
}

/* Mega menu compactado y organizado */
.mega-menu {
  top: calc(100% + 18px) !important;
  width: min(1120px, calc(100vw - 190px)) !important;
  max-width: min(1120px, calc(100vw - 190px)) !important;
  min-height: 0 !important;
  max-height: 560px !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  border: 1px solid rgba(243, 20, 45, .24) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.mega-menu-sidebar {
  padding: 12px 0 !important;
  background: #070b12 !important;
}

.mega-menu-sidebar a {
  min-height: 46px !important;
  padding: 0 22px !important;
  font-size: 14px !important;
  letter-spacing: .1px !important;
}

.mega-menu-sidebar a:hover,
.mega-menu-sidebar a.active {
  color: #fff !important;
  background: rgba(243, 20, 45, .16) !important;
  box-shadow: inset 3px 0 0 #f3142d !important;
}

.mega-menu-content {
  min-height: 0 !important;
  max-height: 560px !important;
  overflow: hidden !important;
}

.mega-menu-pane {
  padding: 22px !important;
  max-height: 560px !important;
}

.mega-menu-options-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.mega-menu-group {
  padding: 14px !important;
  border: 1px solid rgba(104, 132, 170, .18);
  border-radius: 14px;
  background: rgba(17, 22, 32, .72);
}

.mega-menu-option {
  min-height: 76px !important;
  padding: 20px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  background: #101722 !important;
  border-color: rgba(104, 132, 170, .24) !important;
}

.mega-menu-option:hover {
  color: #fff !important;
  border-color: rgba(243, 20, 45, .65) !important;
  background: rgba(243, 20, 45, .13) !important;
}

.mega-menu-suboptions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 12px 0 0 !important;
  max-height: 190px;
  overflow: auto;
}

.mega-menu-sublink {
  width: auto !important;
  max-width: 100%;
  display: inline-flex !important;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px !important;
  border: 1px solid rgba(104, 132, 170, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  font-size: 12px !important;
  line-height: 1.1 !important;
}

.mega-menu-sublink:hover {
  color: #fff !important;
  background: rgba(243, 20, 45, .14) !important;
  border-color: rgba(243, 20, 45, .40) !important;
}

.mega-menu-footer-link {
  margin-top: 16px !important;
  font-size: 16px !important;
  color: #f3142d !important;
}

/* Home cards and sections: slightly smaller and less heavy */
.section-wrapper {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

.section-title {
  font-size: clamp(22px, 2.2vw, 32px) !important;
}

.product-card {
  border-radius: 14px !important;
}

.product-card .card-image-wrap {
  min-height: 0 !important;
}

.releasesSwiper .card-image-wrap,
.popularSwiper .card-image-wrap {
  aspect-ratio: .78 !important;
}

.releasesSwiper .product-title,
.popularSwiper .product-title {
  font-size: 17px !important;
  line-height: 1.25 !important;
}

.releasesSwiper .product-price,
.popularSwiper .product-price {
  font-size: 18px !important;
}

.releasesSwiper .btn-add,
.popularSwiper .btn-add {
  min-height: 42px !important;
  border-radius: 10px !important;
}

/* Catalog hero and tabs smaller */
.ichiraku-catalog-hero {
  min-height: 520px !important;
  padding: 72px 42px 58px !important;
}

.ichiraku-catalog-hero h1 span,
.ichiraku-catalog-hero h1 strong {
  font-size: clamp(58px, 6.2vw, 112px) !important;
  line-height: .94 !important;
}

.ichiraku-catalog-ghost {
  font-size: clamp(120px, 28vw, 420px) !important;
  opacity: .18 !important;
}

.ichiraku-catalog-tabs a {
  min-height: 72px !important;
  font-size: 15px !important;
}

.ichiraku-catalog-tabs a.active,
.ichiraku-catalog-tabs a:hover {
  background: #f3142d !important;
  color: #fff !important;
}

/* Catalog product grid less giant on desktop */
@media (min-width: 1180px) {
  #productos.grid-container,
  #productos.grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  #productos .product-title {
    font-size: 15px !important;
  }

  #productos .card-image-wrap {
    margin: 12px 12px 0 !important;
  }
}

/* Quickview compact */
#global-quickview-modal {
  padding: 22px !important;
}

#qv-container {
  width: min(1180px, calc(100vw - 90px)) !important;
  max-width: 1180px !important;
  min-height: 0 !important;
  border-radius: 18px !important;
}

#qv-container .qv-image-pane {
  padding: 42px !important;
  min-height: 520px !important;
}

#qv-container .qv-image-pane img {
  max-height: 460px !important;
}

#qv-container .qv-info-pane {
  padding: 42px !important;
}

#qv-container .qv-title {
  font-size: 28px !important;
  line-height: 1.15 !important;
}

#qv-container .qv-price-val,
#qv-container .qv-price {
  font-size: 42px !important;
}

#qv-container .qv-details-box,
#qv-container .qv-stock-box {
  border-radius: 14px !important;
  padding: 18px 20px !important;
}

#qv-container .qv-btn-primary,
#qv-container .qv-add-btn {
  min-height: 58px !important;
  border-radius: 12px !important;
  background: #f3142d !important;
  color: #fff !important;
}

/* Footer red accents */
.site-footer .social-links a:hover,
.footer-payment-icons i,
.payment-methods span {
  color: #f3142d !important;
}

.social-btn#ai-assistant-btn,
#ai-assistant-btn {
  background: #f3142d !important;
  color: #fff !important;
}

@media (max-width: 1280px) {
  .mega-menu {
    width: min(980px, calc(100vw - 48px)) !important;
    max-width: min(980px, calc(100vw - 48px)) !important;
    grid-template-columns: 235px minmax(0, 1fr) !important;
  }

  .mega-menu-option { font-size: 14px !important; }
}

@media (max-width: 760px) {
  .ichiraku-catalog-hero {
    min-height: auto !important;
    padding: 46px 18px 34px !important;
  }

  .ichiraku-catalog-hero h1 span,
  .ichiraku-catalog-hero h1 strong {
    font-size: 46px !important;
  }

  #qv-container {
    width: calc(100vw - 28px) !important;
    max-height: 86vh !important;
  }
}

/* Ichiraku home: compact hero, universe rail and editorial news */
.ichiraku-hero {
  padding: 64px 18px 42px !important;
  min-height: auto !important;
}

.ichiraku-hero-card {
  min-height: 780px !important;
  padding: 58px 34px 34px !important;
}

.ichiraku-hero-kicker {
  color: rgba(255, 255, 255, .74) !important;
}

.ichiraku-hero-kicker strong {
  color: rgba(255, 255, 255, .72) !important;
}

.ichiraku-hero-title {
  font-size: clamp(64px, 7.4vw, 126px) !important;
}

.ichiraku-hero-copy {
  margin-top: 14px !important;
  font-size: clamp(15px, 1.08vw, 19px) !important;
  max-width: 820px !important;
}

.ichiraku-hero-stage {
  width: min(100%, 820px) !important;
  min-height: 360px !important;
  margin-top: -10px !important;
}

.ichiraku-hero-orb {
  width: min(50vw, 560px) !important;
}

.ichiraku-hero-art {
  width: min(100%, 650px) !important;
  max-height: 410px !important;
}

.ichiraku-hero-tags {
  bottom: 18px !important;
}

.ichiraku-hero-actions {
  margin-top: 0 !important;
}

.ichiraku-btn {
  min-height: 66px !important;
  min-width: 230px !important;
  border-radius: 16px !important;
  font-size: 16px !important;
}

.ichiraku-hero-proof {
  margin-top: 20px !important;
}

.ichiraku-universe {
  padding: 62px 0 76px;
  background: #07090d;
}

.ichiraku-universe-shell {
  width: min(100% - 96px, 1860px);
  margin: 0 auto;
}

.ichiraku-universe-head {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  border: 1px solid rgba(104, 132, 170, .24);
  border-radius: 8px;
  background: linear-gradient(120deg, #101722, #080c13);
}

.ichiraku-universe-kicker {
  display: block;
  color: #f3142d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ichiraku-universe-head h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 950;
  line-height: 1;
}

.ichiraku-universe-head h2 i {
  color: #f3142d;
  font-size: .86em;
}

.ichiraku-universe-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
}

.ichiraku-universe-all:hover {
  color: #f3142d;
}

.ichiraku-universe-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.ichiraku-universe-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid rgba(104, 132, 170, .22);
  border-radius: 28px 28px 8px 28px;
  background: #141922;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.ichiraku-universe-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 15%, rgba(243,20,45,.22), transparent 34%);
  opacity: 0;
  transition: opacity .18s ease;
}

.ichiraku-universe-card.active,
.ichiraku-universe-card:hover {
  background: linear-gradient(140deg, #f3142d, #910918);
  border-color: rgba(243, 20, 45, .68);
  transform: translateY(-4px);
}

.ichiraku-universe-card:hover::before {
  opacity: 1;
}

.ichiraku-universe-card > i {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 20, 45, .42);
  border-radius: 16px;
  background: rgba(243, 20, 45, .10);
  color: #f5f7fb;
  font-size: 30px;
}

.ichiraku-universe-card.active > i,
.ichiraku-universe-card:hover > i {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .10);
}

.ichiraku-universe-arrow {
  position: absolute;
  top: 34px;
  right: 34px;
  color: rgba(255, 255, 255, .42);
  font-size: 26px;
}

.ichiraku-universe-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 18px;
  font-size: 30px;
  font-weight: 950;
}

.ichiraku-universe-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ichiraku-universe-tags em {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.ichiraku-news-home {
  padding: 76px 0 86px;
  background:
    linear-gradient(90deg, rgba(243,20,45,.09), transparent 26%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #101722;
  background-size: auto, 150px 150px, 150px 150px, auto;
}

.ichiraku-news-inner {
  width: min(100% - 96px, 1860px);
  margin: 0 auto;
}

.ichiraku-news-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: end;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.ichiraku-news-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.4vw, 92px);
  font-weight: 950;
  line-height: .92;
  text-transform: uppercase;
}

.ichiraku-news-head p {
  margin: 0 0 12px;
  padding-left: 24px;
  border-left: 4px solid #f3142d;
  color: rgba(255, 255, 255, .64);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.ichiraku-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(420px, .75fr);
  gap: 22px;
  margin-top: 44px;
}

.ichiraku-news-featured,
.ichiraku-news-row {
  display: block;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(104, 132, 170, .24);
  background: #0b1018;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}

.ichiraku-news-featured {
  border-radius: 6px;
}

.ichiraku-news-featured:hover,
.ichiraku-news-row:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 20, 45, .62);
}

.ichiraku-news-image {
  aspect-ratio: 16 / 8.5;
  background: #05070b;
  overflow: hidden;
}

.ichiraku-news-image img,
.ichiraku-news-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04) brightness(.72);
  transition: transform .4s ease, filter .18s ease;
}

.ichiraku-news-featured:hover img,
.ichiraku-news-row:hover img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.05) brightness(.86);
}

.ichiraku-news-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 22px;
  padding: 30px 34px 34px;
  background: #f3142d;
}

.ichiraku-news-copy strong {
  grid-column: 2;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 950;
  line-height: 1.08;
}

.ichiraku-news-number {
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.ichiraku-news-meta {
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ichiraku-news-side {
  display: grid;
  gap: 22px;
}

.ichiraku-news-row {
  min-height: 210px;
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 6px;
}

.ichiraku-news-row-image {
  min-height: 170px;
  overflow: hidden;
}

.ichiraku-news-row-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  padding: 22px 26px 24px;
  background: #101722;
}

.ichiraku-news-row-copy strong,
.ichiraku-news-row-copy small {
  grid-column: 2;
}

.ichiraku-news-row-copy strong {
  font-size: 22px;
  font-weight: 950;
  line-height: 1.16;
}

.ichiraku-news-row-copy small {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ichiraku-news-row-copy small i {
  color: #f3142d;
  margin-left: 8px;
}

.ichiraku-news-empty {
  margin-top: 38px;
  padding: 42px;
  border: 1px dashed rgba(243, 20, 45, .35);
  border-radius: 14px;
  color: rgba(255, 255, 255, .62);
  text-align: center;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .ichiraku-universe-grid {
    grid-template-columns: repeat(5, minmax(260px, 1fr));
  }

  .ichiraku-news-layout,
  .ichiraku-news-head {
    grid-template-columns: 1fr;
  }

  .ichiraku-news-head p {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .ichiraku-hero-card {
    min-height: auto !important;
  }

  .ichiraku-hero-title {
    font-size: 54px !important;
  }

  .ichiraku-hero-stage {
    min-height: 300px !important;
  }

  .ichiraku-hero-art {
    max-height: 290px !important;
  }

  .ichiraku-universe-shell,
  .ichiraku-news-inner {
    width: min(100% - 28px, 1860px);
  }

  .ichiraku-universe-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .ichiraku-universe-card {
    min-height: 260px;
    padding: 24px;
  }

  .ichiraku-news-head h2 {
    font-size: 42px;
  }

  .ichiraku-news-copy,
  .ichiraku-news-row-copy {
    grid-template-columns: 1fr;
  }

  .ichiraku-news-copy strong,
  .ichiraku-news-row-copy strong,
  .ichiraku-news-row-copy small {
    grid-column: auto;
  }
}

/* Ichiraku category shapes + compact quickview */
.ichiraku-universe {
  padding: 48px 0 58px !important;
}

.ichiraku-universe-shell {
  width: min(100% - 72px, 1760px) !important;
}

.ichiraku-universe-head {
  min-height: 108px !important;
  padding: 22px 30px !important;
  border-radius: 16px 16px 6px 16px !important;
  border-color: rgba(104, 132, 170, .18) !important;
}

.ichiraku-universe-kicker {
  margin-bottom: 10px !important;
}

.ichiraku-universe-head h2 {
  font-size: clamp(25px, 2.4vw, 40px) !important;
}

.ichiraku-universe-grid {
  grid-template-columns: 1.18fr repeat(4, minmax(210px, 1fr)) !important;
  gap: 14px !important;
  margin-top: 26px !important;
}

.ichiraku-universe-card {
  --glow: #f3142d;
  --glow-rgb: 243, 20, 45;
  min-height: 280px !important;
  padding: 26px !important;
  border-radius: 28px 12px 32px 12px !important;
  background:
    linear-gradient(135deg, rgba(var(--glow-rgb), .18), transparent 48%),
    #131820 !important;
  border-color: rgba(var(--glow-rgb), .36) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 42px rgba(0,0,0,.24) !important;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.ichiraku-universe-card:nth-child(1) { --glow: #f3142d; --glow-rgb: 243, 20, 45; }
.ichiraku-universe-card:nth-child(2) { --glow: #8b5cf6; --glow-rgb: 139, 92, 246; }
.ichiraku-universe-card:nth-child(3) { --glow: #06b6d4; --glow-rgb: 6, 182, 212; }
.ichiraku-universe-card:nth-child(4) { --glow: #94a3b8; --glow-rgb: 148, 163, 184; }
.ichiraku-universe-card:nth-child(5) { --glow: #22c55e; --glow-rgb: 34, 197, 94; }

.ichiraku-universe-card::before {
  background:
    radial-gradient(circle at 22% 16%, rgba(var(--glow-rgb), .48), transparent 28%),
    linear-gradient(135deg, rgba(var(--glow-rgb), .18), transparent 58%) !important;
  opacity: .68 !important;
}

.ichiraku-universe-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--glow);
  box-shadow: 0 0 26px rgba(var(--glow-rgb), .95);
}

.ichiraku-universe-card.active,
.ichiraku-universe-card:hover {
  background:
    linear-gradient(135deg, rgba(var(--glow-rgb), .44), rgba(var(--glow-rgb), .16) 46%, #151a22 100%) !important;
  border-color: var(--glow) !important;
  box-shadow: 0 0 0 1px rgba(var(--glow-rgb), .28), 0 24px 60px rgba(var(--glow-rgb), .18) !important;
}

.ichiraku-universe-card > i {
  top: 26px !important;
  left: 26px !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px 8px 16px 8px !important;
  color: #fff !important;
  background: rgba(var(--glow-rgb), .22) !important;
  border-color: rgba(var(--glow-rgb), .48) !important;
  box-shadow: 0 0 28px rgba(var(--glow-rgb), .22);
  font-size: 24px !important;
}

.ichiraku-universe-arrow {
  top: 28px !important;
  right: 28px !important;
  color: rgba(var(--glow-rgb), .72) !important;
}

.ichiraku-universe-card strong {
  font-size: 26px !important;
  margin-bottom: 14px !important;
}

.ichiraku-universe-tags em {
  border-color: rgba(var(--glow-rgb), .46) !important;
  color: rgba(255,255,255,.82) !important;
  background: rgba(0,0,0,.16);
}

@media (max-width: 760px) {
  .ichiraku-universe {
    padding: 42px 0 48px !important;
    overflow: hidden !important;
  }

  .ichiraku-universe-shell {
    width: min(100% - 28px, 1760px) !important;
  }

  .ichiraku-universe-head {
    min-height: 0 !important;
    padding: 22px 20px !important;
  }

  .ichiraku-universe-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 2px 14px !important;
    margin-top: 24px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ichiraku-universe-card {
    flex: 0 0 min(78vw, 315px) !important;
    width: min(78vw, 315px) !important;
    min-height: 250px !important;
    padding: 24px 22px !important;
    scroll-snap-align: start;
    transform: none !important;
    clip-path: none !important;
    border-radius: 24px 10px 28px 10px !important;
  }

  .ichiraku-universe-card.active,
  .ichiraku-universe-card:hover {
    transform: none !important;
  }

  .ichiraku-universe-card > i {
    top: 24px !important;
    left: 24px !important;
    width: 56px !important;
    height: 56px !important;
  }

  .ichiraku-universe-arrow {
    top: 24px !important;
    right: 24px !important;
  }

  .ichiraku-universe-card strong {
    font-size: 25px !important;
    line-height: 1.05 !important;
  }
}

#global-quickview-modal {
  padding: 34px !important;
}

#qv-container {
  width: min(980px, calc(100vw - 96px)) !important;
  max-width: 980px !important;
  max-height: min(720px, calc(100vh - 76px)) !important;
  display: grid !important;
  grid-template-columns: minmax(330px, .92fr) minmax(0, 1fr) !important;
  border-radius: 28px 10px 28px 10px !important;
  border: 1px solid rgba(243, 20, 45, .30) !important;
  background: #0c1119 !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.62), 0 0 54px rgba(243,20,45,.14) !important;
}

#qv-container .qv-image-pane {
  min-height: 0 !important;
  padding: 34px !important;
  background:
    radial-gradient(circle at 46% 40%, rgba(243,20,45,.13), transparent 42%),
    #080d14 !important;
}

#qv-container .qv-image-pane img {
  max-height: min(470px, calc(100vh - 210px)) !important;
  max-width: 88% !important;
  border-radius: 18px 8px 18px 8px !important;
}

#qv-container .qv-info-pane {
  padding: 34px 38px !important;
  background: linear-gradient(145deg, #111827, #0d131d) !important;
  justify-content: center !important;
}

#qv-container .qv-badge {
  margin-bottom: 14px !important;
  background: rgba(243,20,45,.11) !important;
  border-color: rgba(243,20,45,.28) !important;
}

#qv-container .qv-title {
  font-size: clamp(24px, 2.1vw, 34px) !important;
  margin-bottom: 18px !important;
}

#qv-container .qv-price-section {
  padding-top: 20px !important;
  margin-bottom: 20px !important;
}

#qv-container .qv-price-val,
#qv-container .qv-price {
  font-size: clamp(34px, 3.4vw, 48px) !important;
}

#qv-container .qv-details-box {
  margin-bottom: 18px !important;
  padding: 16px 18px !important;
}

#qv-container .qv-detail-row {
  font-size: 12px !important;
  line-height: 1.55 !important;
}

#qv-container .qv-stock-box {
  margin-bottom: 20px !important;
  padding: 14px 18px !important;
}

#qv-container .qv-btn-primary {
  min-height: 54px !important;
  border-radius: 14px 6px 14px 6px !important;
  font-size: 12px !important;
}

#qv-container .qv-close-btn {
  top: 22px !important;
  right: 22px !important;
  width: 42px !important;
  height: 42px !important;
  background: #f3142d !important;
  border-color: rgba(255,255,255,.82) !important;
}

@media (max-width: 980px) {
  #qv-container {
    grid-template-columns: 1fr !important;
    overflow-y: auto !important;
  }

  #qv-container .qv-image-pane {
    padding: 28px !important;
  }

  #qv-container .qv-info-pane {
    padding: 28px !important;
  }
}

/* Ichiraku news compact pass */
.ichiraku-news-home {
  padding: 52px 0 58px !important;
}

.ichiraku-news-inner {
  width: min(100% - 72px, 1760px) !important;
}

.ichiraku-news-head {
  grid-template-columns: minmax(0, .9fr) minmax(280px, 500px) !important;
  gap: 38px !important;
  padding-bottom: 30px !important;
}

.ichiraku-news-head h2 {
  font-size: clamp(36px, 4.1vw, 68px) !important;
}

.ichiraku-news-head p {
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.ichiraku-news-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .72fr) !important;
  gap: 18px !important;
  margin-top: 30px !important;
}

.ichiraku-news-image {
  aspect-ratio: auto !important;
  height: clamp(300px, 31vw, 500px) !important;
}

.ichiraku-news-copy {
  min-height: 132px !important;
  padding: 24px 28px 26px !important;
}

.ichiraku-news-copy strong {
  font-size: clamp(22px, 1.8vw, 32px) !important;
}

.ichiraku-news-number {
  font-size: 30px !important;
}

.ichiraku-news-side {
  gap: 18px !important;
}

.ichiraku-news-row {
  min-height: 0 !important;
  grid-template-rows: 190px auto !important;
}

.ichiraku-news-row-image {
  min-height: 0 !important;
  height: 190px !important;
}

.ichiraku-news-row-copy {
  min-height: 132px !important;
  padding: 20px 24px 22px !important;
}

.ichiraku-news-row-copy strong {
  font-size: 20px !important;
}

@media (max-width: 1180px) {
  .ichiraku-news-layout,
  .ichiraku-news-head {
    grid-template-columns: 1fr !important;
  }

  .ichiraku-news-image {
    height: clamp(260px, 48vw, 420px) !important;
  }
}

@media (max-width: 760px) {
  .ichiraku-news-home {
    padding: 42px 0 46px !important;
  }

  .ichiraku-news-inner {
    width: min(100% - 28px, 1760px) !important;
  }

  .ichiraku-news-head h2 {
    font-size: 36px !important;
  }

  .ichiraku-news-image {
    height: 240px !important;
  }

  .ichiraku-news-copy,
  .ichiraku-news-row-copy {
    min-height: 0 !important;
    padding: 18px !important;
  }

  .ichiraku-news-row {
    grid-template-rows: 160px auto !important;
  }

  .ichiraku-news-row-image {
    height: 160px !important;
  }
}

/* Ichiraku currency dropdown + cart redesign */
.currency-selector {
  position: relative !important;
  z-index: 1000003 !important;
}

.currency-dropdown-menu {
  pointer-events: none;
  border-color: rgba(243, 20, 45, .24) !important;
  background: rgba(9, 13, 21, .96) !important;
  box-shadow: 0 20px 42px rgba(0,0,0,.45), 0 0 0 1px rgba(243,20,45,.08) !important;
}

.currency-selector.open .currency-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

.currency-selector.open .currency-toggle-btn {
  background: #f3142d !important;
  border-color: #f3142d !important;
  color: #fff !important;
  box-shadow: 0 0 26px rgba(243,20,45,.24);
}

.currency-selector.open .currency-toggle-btn i {
  transform: rotate(180deg);
}

.cart-overlay {
  background: rgba(0, 0, 0, .76) !important;
  backdrop-filter: blur(7px);
}

.cart-sidebar {
  right: 0 !important;
  max-width: 470px !important;
  width: min(470px, 100vw) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(243,20,45,.15), transparent 34%),
    linear-gradient(180deg, #101827 0%, #080c13 100%) !important;
  border-left: 1px solid rgba(243,20,45,.36) !important;
  box-shadow: -34px 0 90px rgba(0,0,0,.64), -1px 0 0 rgba(255,255,255,.05) inset !important;
  transform: translateX(104%) !important;
  transition: transform .34s cubic-bezier(.22, .8, .24, 1) !important;
  color: #fff !important;
  overflow: hidden;
}

.cart-sidebar.active {
  transform: translateX(0) !important;
}

.cart-sidebar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f3142d, #7f0a18 52%, #f3142d);
  box-shadow: 0 0 28px rgba(243,20,45,.65);
}

.cart-header {
  position: relative;
  padding: 26px 30px 22px !important;
  border-bottom: 1px solid rgba(148,163,184,.16) !important;
  background: linear-gradient(135deg, rgba(243,20,45,.12), rgba(15,23,42,.35) 56%, rgba(0,0,0,.1)) !important;
}

.cart-title-block span,
.cart-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ff3048;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cart-title-block h3 {
  margin: 4px 0 0 !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.cart-close-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff !important;
  background: rgba(243,20,45,.12) !important;
  border: 1px solid rgba(243,20,45,.34) !important;
  border-radius: 14px 6px 14px 6px !important;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.cart-close-btn:hover {
  transform: translateY(-1px);
  background: #f3142d !important;
  border-color: #f3142d !important;
}

.cart-body {
  padding: 20px 22px !important;
  gap: 14px !important;
  scrollbar-color: rgba(243,20,45,.78) rgba(15,23,42,.5);
}

.cart-item.ichiraku-cart-item {
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: stretch !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  border-bottom-color: rgba(243,20,45,.22) !important;
  border-radius: 20px 8px 20px 8px !important;
  background:
    linear-gradient(135deg, rgba(243,20,45,.08), transparent 42%),
    #111827 !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
}

.cart-item-media {
  position: relative;
  min-height: 96px;
  border-radius: 16px 6px 16px 6px;
  overflow: hidden;
  background: #070b12;
  border: 1px solid rgba(255,255,255,.08);
}

.cart-item-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(243,20,45,.18);
  pointer-events: none;
}

.cart-item.ichiraku-cart-item .cart-item-media img,
.cart-item.ichiraku-cart-item > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.cart-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-info h4 {
  margin: 0 !important;
  color: #f8fafc !important;
  font-size: 15px !important;
  line-height: 1.22 !important;
  font-weight: 900 !important;
}

.cart-item-info h4 span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 18px;
  margin-top: 8px;
}

.cart-lang-badge,
.cart-finish-badge {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(243,20,45,.34);
  background: rgba(243,20,45,.12);
  color: #ff5266;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-lang-badge-es {
  color: #7dd3fc;
  border-color: rgba(14,165,233,.34);
  background: rgba(14,165,233,.1);
}

.cart-finish-badge {
  color: #f8fafc;
  border-color: rgba(148,163,184,.28);
  background: rgba(148,163,184,.1);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-qty-wrapper.qty-wrapper {
  margin: 0 !important;
  height: 34px !important;
  padding: 3px !important;
  border-radius: 12px 5px 12px 5px !important;
  background: #090e17 !important;
  border: 1px solid rgba(148,163,184,.18) !important;
}

.cart-qty-wrapper .qty-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  color: #fff !important;
  background: rgba(255,255,255,.04) !important;
  border: 0 !important;
  border-radius: 9px 4px 9px 4px !important;
}

.cart-qty-wrapper .qty-btn:hover {
  background: #f3142d !important;
}

.cart-qty-wrapper .qty-input {
  width: 30px !important;
  height: 28px !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  background: transparent !important;
}

.cart-line-price {
  margin: 0 !important;
  color: #21e37d !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap;
}

.cart-item.ichiraku-cart-item .remove-item {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin: 0 !important;
  color: #ff4b5f !important;
  background: rgba(243,20,45,.10) !important;
  border: 1px solid rgba(243,20,45,.20) !important;
  border-radius: 12px 5px 12px 5px !important;
  font-size: 13px !important;
}

.cart-item.ichiraku-cart-item .remove-item:hover {
  background: #f3142d !important;
  color: #fff !important;
}

.cart-footer {
  padding: 18px 24px 24px !important;
  border-top: 1px solid rgba(148,163,184,.18) !important;
  background: linear-gradient(180deg, rgba(15,23,42,.95), #070b12) !important;
}

.cart-secure-note {
  justify-content: center;
  min-height: 38px;
  margin-bottom: 14px;
  color: #cbd5e1;
  letter-spacing: .08em;
  border: 1px dashed rgba(243,20,45,.24);
  border-radius: 14px 6px 14px 6px;
  background: rgba(243,20,45,.06);
}

.cart-secure-note i {
  color: #22c55e;
}

.cart-totals {
  align-items: center;
  margin: 0 0 14px !important;
  padding: 16px 18px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 16px 6px 16px 6px;
  background: rgba(17,24,39,.82);
  color: #fff;
}

.cart-totals span:first-child {
  color: #94a3b8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.cart-totals #cart-total-val {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
}

.btn-checkout {
  min-height: 58px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff !important;
  background: linear-gradient(135deg, #f3142d, #b90d22) !important;
  border-radius: 18px 7px 18px 7px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(243,20,45,.22);
}

.btn-checkout:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 44px rgba(243,20,45,.30);
}

.btn-clear-cart {
  min-height: 46px;
  margin-top: 10px !important;
  color: #ff5266 !important;
  border-color: rgba(243,20,45,.28) !important;
  border-radius: 14px 5px 14px 5px !important;
  background: rgba(0,0,0,.12) !important;
}

.btn-clear-cart:hover {
  color: #fff !important;
  background: rgba(243,20,45,.12) !important;
}

.empty-cart {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin: 0 !important;
  color: #94a3b8 !important;
  text-align: center;
  border: 1px dashed rgba(148,163,184,.22);
  border-radius: 22px 8px 22px 8px;
  background: rgba(17,24,39,.48);
}

@media (max-width: 560px) {
  .cart-sidebar {
    max-width: 100vw !important;
    width: 100vw !important;
  }

  .cart-header {
    padding: 22px 22px 18px !important;
  }

  .cart-title-block h3 {
    font-size: 24px !important;
  }

  .cart-body {
    padding: 16px !important;
  }
}
