:root {
  --bg: #0a0a0a;
  --bg-card: #151515;
  --border: #2a2a2a;
  --text: #f2f2f2;
  --text-dim: #a0a0a0;
  --accent: #e11d48;
  --whatsapp: #25d366;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.header-logo-text {
  justify-self: center;
  font-size: 1.32rem;
  letter-spacing: 1px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.announcement-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 7px 12px;
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}
#announcementText {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  background: transparent;
  border: none;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-link:hover { color: var(--text); }

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 30px;
  width: 30px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.admin-nav-link:hover { color: var(--accent); }

.menu-wrap { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 30;
}

.dropdown-item {
  background: transparent;
  border: none;
  color: var(--text-dim);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  transition: all 0.15s ease;
}
.dropdown-item:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.dropdown-item.active { color: var(--accent); font-weight: 600; }

.cat-btn.active { color: var(--accent); }

.header-icons {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.15s ease;
}
.icon-btn:hover { color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 14px;
}
.search-bar input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.search-bar input:focus { outline: none; border-color: var(--accent); }
.search-bar button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
}
.search-bar button:hover { color: var(--accent); }

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 4px 20px 16px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.bcv-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.51rem;
  color: var(--text-dim);
  background: var(--bg-card);
}

.price-bs {
  display: block;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.78rem;
}

/* Catalog grid */
.catalog {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
}

.img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}
.product-image-wrap:hover .img-nav { opacity: 1; }
.img-nav.prev { left: 8px; }
.img-nav.next { right: 8px; }

.img-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.img-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.img-dot.active { background: white; }

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  padding: 16px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
}

.product-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-link {
  color: var(--text-dim);
  font-size: 0.75rem;
}
.admin-link:hover { color: var(--accent); }

.discount-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}

.stock-badge {
  background: rgba(225, 29, 72, 0.15);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-final {
  color: var(--accent);
  font-weight: 700;
}

.price-original {
  color: var(--text-dim);
  font-size: 0.82rem;
  text-decoration: line-through;
}

.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
}
.product-name:hover { color: var(--accent); }

.size-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  min-width: 40px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.size-btn:hover { border-color: var(--text); color: var(--text); }
.size-btn.selected {
  border-color: var(--text);
  color: var(--bg);
  background: var(--text);
}

/* Info envíos */
.ship-pay-section {
  max-width: 420px;
  margin: 20px auto 0;
  padding: 12px 16px 2px;
  border-top: 1px solid var(--border);
}

.ship-pay-block { text-align: center; }
.ship-pay-block + .ship-pay-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.block-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  margin-bottom: 2px;
}
.block-title svg { width: 11px; height: 11px; flex-shrink: 0; }

.block-desc {
  color: var(--text);
  font-size: 0.68rem;
  margin-bottom: 8px;
}

.method-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.method-divider {
  width: 1px;
  align-self: stretch;
  min-height: 26px;
  background: var(--border);
}

.method-logo-box {
  width: 56px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 20px 50px;
  color: var(--text-dim);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.site-footer p { margin: 4px 0; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0;
}
.social-links a {
  color: var(--text-dim);
  display: flex;
  transition: color 0.15s ease;
}
.social-links a:hover { color: var(--text); }
.social-links svg { width: 20px; height: 20px; }

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 380px;
  background: #0f0f0f;
  border-left: 1px solid var(--border);
  z-index: 31;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.free-shipping-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.free-shipping-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.free-shipping-icon svg { width: 18px; height: 18px; }
.free-shipping-body { flex: 1; min-width: 0; }
.free-shipping-text {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.free-shipping-text strong { color: var(--accent); font-weight: 800; }
.free-shipping-track {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.free-shipping-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; }
.cart-item-meta { color: var(--text-dim); font-size: 0.78rem; margin-top: 2px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.qty-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
}
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 4px;
}
.cart-item-remove svg { width: 15px; height: 15px; }
.cart-item-remove:hover { color: var(--accent); }
.cart-item-price { font-weight: 700; white-space: nowrap; }

.cart-item-thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-summary { margin-bottom: 10px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 3px 0;
}
.cart-summary-row .shipping-free { color: #22c55e; font-weight: 700; }

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.cart-trust-row {
  margin-bottom: 14px;
  padding: 10px 0;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkout-form input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
}
.checkout-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: white;
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  text-align: left;
}
.btn-whatsapp:hover { opacity: 0.9; }
.btn-whatsapp:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-whatsapp-icon { width: 22px; height: 22px; flex-shrink: 0; }
.btn-whatsapp-text { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.btn-whatsapp-text strong { font-size: 0.92rem; font-weight: 800; }
.btn-whatsapp-text small { font-size: 0.72rem; font-weight: 500; opacity: 0.85; }
.btn-whatsapp-arrow { font-size: 1.3rem; flex-shrink: 0; opacity: 0.85; }

.cart-accepted { margin-top: 16px; }
.cart-accepted-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}
.cart-method-row { margin-bottom: 6px; }
.cart-method-row:last-child { margin-bottom: 0; }
.cart-method-row .method-logo-box { width: 46px; height: 22px; }

@media (max-width: 640px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .product-image { padding: 10px; font-size: 0.75rem; }
  .product-info { padding: 10px 12px 12px; gap: 6px; }
  .product-name { font-size: 0.85rem; }
  .size-btn { padding: 3px 7px; font-size: 0.7rem; }

  .header-inner { padding: 8px 12px; gap: 8px; }
  .header-left { gap: 12px; }
  .header-icons { gap: 12px; }
  .header-logo-text { font-size: 1.09rem; letter-spacing: 0.5px; }
  .nav-link { font-size: 0.78rem; }
  .announcement-bar { font-size: 0.68rem; padding: 6px 10px; }

  .ship-pay-section { margin: 16px auto 0; padding: 10px 8px 2px; }
  .ship-pay-block + .ship-pay-block { margin-top: 10px; padding-top: 10px; }
  .method-logo-box { width: 46px; height: 22px; }
  .method-item { padding: 0 4px; }
}

/* Página de detalle de producto */
.product-detail-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 20px 10px;
}

.breadcrumb {
  display: none;
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

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

.detail-image-wrap {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.detail-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  text-align: center;
  padding: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.detail-video-wrap { padding: 0; overflow: hidden; }
.detail-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: black;
  object-fit: cover;
}

.detail-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.detail-thumb {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s ease;
}
.detail-thumb.active { border-color: var(--accent); }
.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .detail-thumb { width: 72px; height: 72px; }
}
.thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: rgba(0,0,0,0.35);
  font-size: 0.7rem;
}

.detail-info { display: flex; flex-direction: column; gap: 16px; }
.detail-info h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.3px; }

.price-size-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.price-size-left { display: flex; flex-direction: column; gap: 2px; }
.price-size-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.5rem;
}
.detail-price-row .price-final { color: var(--accent); font-weight: 800; }
.detail-price-row .price-original { font-size: 1rem; }

.size-label { font-size: 0.7rem; color: var(--text-dim); }

.detail-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Barra compacta de oferta flash */
.flash-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.flash-icon { color: var(--accent); font-size: 0.85rem; line-height: 1; }
.flash-icon-svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }
.flash-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text);
  white-space: nowrap;
}
.flash-center {
  display: flex;
  align-items: center;
  gap: 8px;
}
.flash-ends {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.flash-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.flash-time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  min-width: 28px;
}
.flash-time-block span {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.flash-time-block small {
  font-size: 0.5rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.flash-colon { color: var(--text-dim); font-weight: 700; font-size: 0.75rem; }
.flash-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 120px;
}
.flash-stock-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.flash-stock-label strong { color: var(--accent); font-weight: 800; }
.flash-progress {
  height: 4px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.flash-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.detail-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.qty-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.qty-label { font-size: 0.85rem; color: var(--text-dim); }
.qty-control {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
}
.qty-control button {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  width: 20px;
}
.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  white-space: nowrap;
}
.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.stock-dot.out { background: var(--accent); }

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.btn-add-outline {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.btn-add-outline svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-add-outline:hover { border-color: var(--text); }
.btn-add-outline:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-buy-now {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  border: 1px solid var(--text);
  color: var(--bg);
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.btn-buy-now svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-buy-now:hover { opacity: 0.9; }
.btn-buy-now:disabled { opacity: 0.4; cursor: not-allowed; }

.detail-stock-msg { font-size: 0.78rem; color: var(--text-dim); min-height: 1em; }
.detail-stock-msg.out-of-stock { color: var(--accent); font-weight: 700; }

.stock-status:has(.stock-dot.out) { color: var(--accent); font-weight: 700; }

/* Fila de confianza */
.trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-dim);
  flex: 1;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.trust-item svg { width: 15px; height: 15px; color: var(--text); flex-shrink: 0; }
.trust-divider { width: 1px; align-self: stretch; background: var(--border); }

.related-section {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 20px;
}
.related-section h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.related-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.related-card:hover { border-color: var(--accent); }
.related-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.related-info { padding: 10px 12px 12px; }
.related-name {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.related-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

@media (max-width: 700px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .detail-thumb { width: 50px; height: 50px; }
  .flash-offer { padding: 10px; gap: 8px 10px; }
  .flash-right { min-width: 100px; }
  .trust-item span { display: block; }
}

@media (max-width: 400px) {
  .flash-center { order: 3; width: 100%; justify-content: space-between; }
  .flash-left { order: 1; }
  .flash-right { order: 2; min-width: 0; }
  .trust-row { gap: 6px; }
  .trust-item { font-size: 0.62rem; }
}
