/* ── La Chopin Cuba — Tienda Online CSS ───────────────────────────────────── */
:root {
  --lc-red:      #C41E3A;
  --lc-red-dark: #9B1830;
  --lc-gold:     #F5A623;
  --lc-navy:     #1A2744;
  --lc-bg:       #FAFAF8;
  --lc-white:    #FFFFFF;
  --lc-muted:    #6B7280;
  --lc-border:   #E5E7EB;
  --lc-success:  #10B981;
  --lc-warn:     #F59E0B;
  --lc-radius:   10px;
  --lc-shadow:   0 2px 12px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--lc-bg);
  color: var(--lc-navy);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.lc-header {
  background: var(--lc-white);
  border-bottom: 1px solid var(--lc-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.lc-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.lc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.lc-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--lc-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.lc-logo-text { line-height: 1.1; }
.lc-logo-name { font-weight: 800; font-size: 15px; color: var(--lc-navy); }
.lc-logo-sub  { font-size: 11px; color: var(--lc-muted); }

.lc-header-nav {
  flex: 1;
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.lc-nav-link {
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--lc-muted);
  transition: all .15s;
  white-space: nowrap;
}

.lc-nav-link:hover, .lc-nav-link.active {
  background: #FEF2F2;
  color: var(--lc-red);
}

.lc-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.lc-location-toggle {
  display: flex;
  gap: 4px;
  background: #F3F4F6;
  border-radius: 20px;
  padding: 3px;
}

.lc-loc-btn {
  padding: 4px 12px;
  border-radius: 16px;
  border: none;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--lc-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lc-loc-btn.active {
  background: var(--lc-white);
  color: var(--lc-navy);
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.lc-cart-btn {
  position: relative;
  padding: 8px 14px;
  background: var(--lc-red);
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
}

.lc-cart-btn:hover { background: var(--lc-red-dark); color: white; }

.lc-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--lc-gold);
  color: var(--lc-navy);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Announcement bar ───────────────────────────────────────────────────── */
.lc-announcement {
  background: var(--lc-gold);
  color: var(--lc-navy);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Main container ─────────────────────────────────────────────────────── */
.lc-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.lc-hero {
  background: linear-gradient(135deg, var(--lc-navy) 0%, #2D3F6B 100%);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  color: white;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.lc-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(245,166,35,.15);
  border-radius: 50%;
}

.lc-hero-title {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  margin: 0 0 8px;
  position: relative;
}

.lc-hero-title span { color: var(--lc-gold); }

.lc-hero-sub {
  font-size: 16px;
  opacity: .85;
  margin: 0 0 28px;
  position: relative;
}

.lc-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.lc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}

.lc-btn-primary {
  background: var(--lc-red);
  color: white;
}

.lc-btn-primary:hover { background: var(--lc-red-dark); color: white; }

.lc-btn-gold {
  background: var(--lc-gold);
  color: var(--lc-navy);
}

.lc-btn-gold:hover { background: #E8960F; color: var(--lc-navy); }

.lc-btn-outline {
  background: transparent;
  color: var(--lc-navy);
  border: 1.5px solid var(--lc-border);
}

.lc-btn-outline:hover { border-color: var(--lc-navy); color: var(--lc-navy); }

.lc-btn-sm { padding: 8px 16px; font-size: 13px; }
.lc-btn-lg { padding: 14px 32px; font-size: 16px; }
.lc-btn-block { width: 100%; justify-content: center; }

/* ── Section titles ─────────────────────────────────────────────────────── */
.lc-section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--lc-navy);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--lc-border);
}

/* ── Category cards ─────────────────────────────────────────────────────── */
.lc-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.lc-cat-card {
  background: var(--lc-white);
  border: 1.5px solid var(--lc-border);
  border-radius: var(--lc-radius);
  padding: 20px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--lc-navy);
  font-weight: 600;
  font-size: 13px;
  transition: all .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.lc-cat-card:hover, .lc-cat-card.active {
  border-color: var(--lc-red);
  background: #FEF2F2;
  color: var(--lc-red);
}

.lc-cat-icon {
  width: 40px;
  height: 40px;
  background: #F3F4F6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.lc-cat-card.active .lc-cat-icon,
.lc-cat-card:hover .lc-cat-icon {
  background: #FEE2E2;
}

/* ── Product grid ───────────────────────────────────────────────────────── */
.lc-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.lc-product-card {
  background: var(--lc-white);
  border: 1.5px solid var(--lc-border);
  border-radius: var(--lc-radius);
  overflow: hidden;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}

.lc-product-card:hover {
  box-shadow: var(--lc-shadow);
  border-color: #D1D5DB;
  transform: translateY(-2px);
}

.lc-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-muted);
  font-size: 40px;
}

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

.lc-product-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }

.lc-product-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--lc-muted);
}

.lc-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--lc-navy);
  text-decoration: none;
  line-height: 1.3;
}

.lc-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--lc-red);
  margin-top: auto;
}

.lc-product-price .lc-currency {
  font-size: 12px;
  font-weight: 600;
  color: var(--lc-muted);
  margin-left: 2px;
}

.lc-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
}

.lc-stock-ok   { background: #D1FAE5; color: #065F46; }
.lc-stock-low  { background: #FEF3C7; color: #92400E; }
.lc-stock-out  { background: #FEE2E2; color: #991B1B; }

.lc-product-footer { padding: 0 12px 12px; }

.lc-add-btn {
  width: 100%;
  padding: 8px;
  background: var(--lc-navy);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background .15s;
}

.lc-add-btn:hover:not(:disabled) { background: var(--lc-red); }
.lc-add-btn:disabled { background: #9CA3AF; cursor: not-allowed; }

/* ── Product detail ──────────────────────────────────────────────────────── */
.lc-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.lc-detail-img {
  aspect-ratio: 1;
  border-radius: 12px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--lc-muted);
  overflow: hidden;
}

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

.lc-detail-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

.lc-detail-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--lc-red);
  margin: 12px 0;
}

.lc-detail-desc {
  color: #4B5563;
  line-height: 1.6;
  margin: 0 0 20px;
}

.lc-qty-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.lc-qty-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--lc-border);
  background: white;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .15s;
}

.lc-qty-btn:hover { border-color: var(--lc-navy); }

.lc-qty-input {
  width: 60px;
  text-align: center;
  border: 1.5px solid var(--lc-border);
  border-radius: 6px;
  padding: 8px;
  font-size: 16px;
  font-weight: 700;
}

/* ── Cart ────────────────────────────────────────────────────────────────── */
.lc-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 760px) { .lc-cart-layout { grid-template-columns: 1fr; } }

.lc-cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--lc-border);
}

.lc-cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.lc-cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.lc-cart-qty {
  width: 60px;
  text-align: center;
  border: 1.5px solid var(--lc-border);
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Summary card ────────────────────────────────────────────────────────── */
.lc-summary-card {
  background: var(--lc-white);
  border: 1.5px solid var(--lc-border);
  border-radius: var(--lc-radius);
  padding: 20px;
  position: sticky;
  top: 76px;
}

.lc-summary-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--lc-border);
}

.lc-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
  color: #4B5563;
}

.lc-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--lc-navy);
  border-top: 1.5px solid var(--lc-border);
  margin-top: 10px;
  padding-top: 12px;
}

.lc-summary-row.delivery { color: var(--lc-muted); }

/* ── Zone selector ───────────────────────────────────────────────────────── */
.lc-zone-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--lc-border);
  border-radius: 8px;
  font-size: 14px;
  background: white;
  color: var(--lc-navy);
  margin: 12px 0;
  cursor: pointer;
}

.lc-zone-select:focus {
  outline: none;
  border-color: var(--lc-red);
}

/* ── Checkout form ───────────────────────────────────────────────────────── */
.lc-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 800px) { .lc-checkout-layout { grid-template-columns: 1fr; } }

.lc-form-card {
  background: var(--lc-white);
  border: 1.5px solid var(--lc-border);
  border-radius: var(--lc-radius);
  padding: 24px;
}

.lc-form-title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--lc-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-form-group {
  margin-bottom: 14px;
}

.lc-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--lc-navy);
  margin-bottom: 5px;
}

.lc-form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--lc-border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--lc-navy);
  background: white;
  transition: border .15s;
}

.lc-form-control:focus {
  outline: none;
  border-color: var(--lc-red);
}

.lc-form-hint {
  font-size: 11px;
  color: var(--lc-muted);
  margin-top: 4px;
}

.lc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── Confirmation page ───────────────────────────────────────────────────── */
.lc-confirm-box {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
}

.lc-confirm-icon {
  width: 80px;
  height: 80px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
  color: var(--lc-success);
}

.lc-confirm-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--lc-red);
  margin: 8px 0;
}

.lc-confirm-card {
  background: var(--lc-white);
  border: 1.5px solid var(--lc-border);
  border-radius: var(--lc-radius);
  padding: 20px;
  text-align: left;
  margin: 20px 0;
}

/* ── WhatsApp button ─────────────────────────────────────────────────────── */
.lc-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background .15s;
}

.lc-whatsapp-btn:hover { background: #1EBE58; color: white; }

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.lc-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lc-alert-success { background: #D1FAE5; color: #065F46; }
.lc-alert-danger  { background: #FEE2E2; color: #991B1B; }
.lc-alert-warning { background: #FEF3C7; color: #92400E; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.lc-footer {
  background: var(--lc-navy);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  margin-top: 60px;
}

.lc-footer a { color: var(--lc-gold); text-decoration: none; }

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.lc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--lc-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.lc-breadcrumb a { color: var(--lc-muted); text-decoration: none; }
.lc-breadcrumb a:hover { color: var(--lc-red); }
.lc-breadcrumb .sep { opacity: .4; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.lc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--lc-muted);
}

.lc-empty i { font-size: 48px; display: block; margin-bottom: 12px; }
.lc-empty p { margin: 0 0 20px; font-size: 15px; }

/* ── Location banner (when not yet selected) ─────────────────────────────── */
.lc-location-banner {
  background: var(--lc-navy);
  color: white;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 28px;
}

.lc-location-banner h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}

.lc-location-banner p {
  opacity: .8;
  margin: 0 0 20px;
  font-size: 14px;
}

.lc-location-choices {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.lc-loc-choice {
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .15s;
}

.lc-loc-choice-cuba {
  background: var(--lc-gold);
  color: var(--lc-navy);
}

.lc-loc-choice-cuba:hover { background: #E8960F; color: var(--lc-navy); }

.lc-loc-choice-ext {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,.3);
}

.lc-loc-choice-ext:hover { background: rgba(255,255,255,.25); color: white; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .lc-header-nav { display: none; }
  .lc-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lc-hero { padding: 32px 16px; }
  .lc-cart-item { grid-template-columns: 50px 1fr; }
  .lc-cart-item-actions { grid-column: 2; display: flex; gap: 8px; align-items: center; }
}

/* ── Arreglos de la auditoría (1 sep 2026) ──────────────────────────────────
   Van al final a propósito: ganan a cualquier regla anterior. */
/* Las fotos ocupan siempre el mismo cuadro: la página no salta al cargar. */
.lc-product-img { aspect-ratio: 4 / 3; overflow: hidden; }
.lc-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Paginación del catálogo */
.lc-pag { display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 26px 0 8px; }
.lc-pag-info { font-size: 13px; color: #6b7280; font-variant-numeric: tabular-nums; }
/* Dos columnas en el móvil: un producto por fila enseñaba UNO por pantalla. */
@media (max-width: 640px) {
  .lc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lc-product-body { padding: 8px 10px; }
  .lc-product-name { font-size: 13.5px; }
  .lc-price-usd { font-size: 15px; }
}
