/* ══════════════════════════════════════════════════════════════════════════
   PAVARIAR — HOME PAGE STYLES
   Solo se carga en la página de inicio (template-home.php)
══════════════════════════════════════════════════════════════════════════ */

/* ── RESET ESPECÍFICO DE LA HOME ── */
.page-template-template-home *,
.page-template-template-home *::before,
.page-template-template-home *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-template-template-home {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* Ocultar elementos de Storefront en la home custom */
.page-template-template-home .site-header,
.page-template-template-home .site-footer,
.page-template-template-home .storefront-breadcrumb,
.page-template-template-home #colophon {
  display: none !important;
}

.page-template-template-home .site-main,
.page-template-template-home .site-content,
.page-template-template-home .col-full {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}

.page-template-template-home article.page {
  padding: 0 !important;
  margin: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════════ */
.pv-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 60px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.pv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(255, 214, 0, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(255, 214, 0, 0.07) 0%, transparent 50%);
}

.pv-hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  opacity: 0.4;
}

.pv-hero-grid-cell {
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray2);
}
.pv-hero-grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pv-hero-grid-cell:nth-child(1) { background: linear-gradient(135deg, #2a1a00, #4a3000); }
.pv-hero-grid-cell:nth-child(2) { background: linear-gradient(135deg, #1a1a2a, #2a2a4a); }
.pv-hero-grid-cell:nth-child(3) { background: linear-gradient(135deg, #0a2a0a, #1a4a1a); }
.pv-hero-grid-cell:nth-child(4) { background: linear-gradient(135deg, #2a0a1a, #4a1a2a); }
.pv-hero-grid-cell:nth-child(5) { background: linear-gradient(135deg, #1a1a1a, #3a3a3a); }
.pv-hero-grid-cell:nth-child(6) { background: linear-gradient(135deg, #2a2a00, #4a4a00); }
.pv-hero-grid-cell:nth-child(7) { background: linear-gradient(135deg, #001a2a, #002a4a); }
.pv-hero-grid-cell:nth-child(8) { background: linear-gradient(135deg, #1a0a2a, #2a1a4a); }
.pv-hero-grid-cell:nth-child(9) { background: linear-gradient(135deg, #2a1a00, #4a3010); }

.pv-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
@keyframes pv-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.8); }
}

.pv-hero-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pv-hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 17vw, 120px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 8px;
}
.pv-hero-headline .accent { color: var(--yellow); }

.pv-hero-sub {
  font-size: clamp(16px, 4vw, 22px);
  color: var(--white);
  margin-bottom: 32px;
  max-width: 340px;
  line-height: 1.5;
}
.pv-hero-sub strong { color: var(--white); }

.pv-scroll-hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: pv-bounce 2s infinite;
}
@keyframes pv-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════════════════════════════ */
.pv-ticker-wrap {
  background: var(--yellow);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.pv-ticker-track {
  display: inline-block;
  animation: pv-ticker 18s linear infinite;
}
.pv-ticker-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--black);
  margin: 0 24px;
}
.pv-ticker-track span.dot {
  color: rgba(0, 0, 0, 0.4);
  margin: 0 8px;
}
@keyframes pv-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════════════════
   SECCIONES — BASE
══════════════════════════════════════════════════════════════════════════ */
.pv-section {
  position: relative;
  overflow: hidden;
}

.pv-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}

.pv-big-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 12vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.5px;
  color: var(--white);
}

.pv-products-header p,
.pv-card-desc,
.pv-cat-count,
.pv-decision-text {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════════════
   PROBLEMA / SOLUCIÓN
══════════════════════════════════════════════════════════════════════════ */
.pv-problem-section {
  padding: 80px 20px;
  background: var(--black);
}
.pv-problem-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0;
}
.pv-problem-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.pv-problem-card.bad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}
.pv-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.pv-card-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}
.pv-card-title.red    { color: var(--yellow); }
.pv-card-title.yellow { color: var(--yellow); }
.pv-card-desc {
  font-size: 14px;
  color: var(--white);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCTOS DESTACADOS — REEL HORIZONTAL
══════════════════════════════════════════════════════════════════════════ */
.pv-products-section {
  padding: 80px 0;
  background: var(--black);
}
.pv-products-header {
  padding: 0 20px;
  margin-bottom: 32px;
}

.pv-reel-scroll {
  display: flex;
  gap: 14px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.pv-reel-scroll::-webkit-scrollbar { display: none; }

.pv-reel-card {
  flex: 0 0 72vw;
  max-width: 280px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 9 / 14;
  background: var(--gray);
  transition: transform 0.2s;
  color: var(--white);
  display: block;
}
.pv-reel-card:hover {
  transform: scale(1.02);
}

/* Link que envuelve imagen + info (lleva a la ficha del producto) */
.pv-reel-card-link {
  position: absolute;
  inset: 0;
  display: block;
  text-decoration: none;
  color: var(--white);
  cursor: pointer;
}

.pv-reel-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-reel-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-reel-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 45%, transparent 72%);
}

/* El contenido deja espacio abajo para el botón CTA */
.pv-reel-card-content {
  position: absolute;
  bottom: 58px;
  left: 0;
  right: 0;
  padding: 0 18px;
}

.pv-reel-card-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.pv-reel-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}
.pv-reel-card-price {
  font-size: 15px;
  color: var(--white);
  font-weight: 700;
}
.pv-reel-card-price strong {
  color: var(--yellow);
  font-size: 15px;
}
/* El precio que genera WooCommerce (get_price_html) */
.pv-reel-card-price .woocommerce-Price-amount {
  color: var(--yellow);
  font-weight: 700;
}
.pv-reel-card-price del {
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin-right: 6px;
}
.pv-reel-card-price ins {
  text-decoration: none;
}

/* Botón CTA: flota abajo, por encima del link, para que sea clickeable aparte */
.pv-reel-card-cta {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 13px;
  text-align: center;
  padding: 11px 16px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
}
.pv-reel-card-cta:hover {
  background: var(--yellow-dark);
  color: var(--black);
  transform: translateY(-1px);
}
/* Estado "añadido" que pone WooCommerce al botón AJAX */
.pv-reel-card-cta.added {
  background: var(--green);
}
.pv-reel-card-cta.loading {
  opacity: 0.7;
  pointer-events: none;
}
/* Ocultar el enlace "Ver carrito" que WC añade tras el botón AJAX */
.pv-reel-card .added_to_cart {
  display: none !important;
}

.pv-rc-dark { background: linear-gradient(135deg, #1a0f00, #3a2000); }
.pv-rc-red  { background: linear-gradient(135deg, #1a0a0a, #3a1010); }

/* ══════════════════════════════════════════════════════════════════════════
   CATEGORÍAS
══════════════════════════════════════════════════════════════════════════ */
.pv-categories-section {
  padding: 80px 20px;
  background: var(--gray);
}
.pv-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}

.pv-cat-card {
  background: var(--black);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: var(--white);
  display: block;
}
.pv-cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  color: var(--white);
}
.pv-cat-card.wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 28px;
}
.pv-cat-emoji {
  font-size: 40px;
  display: block;
  margin-bottom: 14px;
}
.pv-cat-card.wide .pv-cat-emoji {
  margin-bottom: 0;
  font-size: 50px;
}
.pv-cat-name {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 4px;
}
.pv-cat-count {
  font-size: 12px;
  color: var(--white);
}
.pv-cat-card.wide .pv-cat-name { font-size: 20px; }
.pv-cat-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════════════════════════════════════════ */
.pv-proof-section {
  padding: 80px 20px;
  background: var(--black);
}
.pv-testimonials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.pv-testi-card {
  background: var(--gray);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}
.pv-testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pv-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid var(--yellow);
  flex-shrink: 0;
}
.pv-testi-name {
  font-weight: 700;
  font-size: 15px;
}
.pv-testi-handle {
  font-size: 12px;
  color: var(--white);
}
.pv-testi-stars {
  color: var(--yellow);
  font-size: 13px;
  letter-spacing: 1px;
}
.pv-testi-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white);
}
.pv-testi-text em {
  color: var(--yellow);
  font-style: normal;
  font-weight: 700;
}
.pv-testi-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════════════════
   DECISION HELPER
══════════════════════════════════════════════════════════════════════════ */
.pv-decision-section {
  padding: 80px 20px;
  background: var(--gray);
  text-align: center;
}
.pv-decision-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px 0;
}
.pv-decision-item {
  background: var(--black);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pv-decision-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 214, 0, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.pv-decision-text {
  font-size: 15px;
  line-height: 1.5;
}
.pv-decision-text strong { color: var(--yellow); }

/* ══════════════════════════════════════════════════════════════════════════
   FLOATING BADGE (CTA flotante de carrito)
══════════════════════════════════════════════════════════════════════════ */
.pv-float-badge {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pv-float-badge.visible {
  opacity: 1;
  pointer-events: all;
}
.pv-float-btn {
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255, 214, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pv-float-pulse 2s ease-in-out infinite;
}
.pv-float-btn:hover { color: var(--black); }
@keyframes pv-float-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(255, 214, 0, 0.5); }
  50%      { box-shadow: 0 4px 40px rgba(255, 214, 0, 0.8); }
}

/* ══════════════════════════════════════════════════════════════════════════
   MINI CART DRAWER
══════════════════════════════════════════════════════════════════════════ */
.pv-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pv-cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.pv-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 94vw);
  background: var(--gray);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 214, 0, 0.15);
}
.pv-cart-drawer.open { transform: translateX(0); }

.pv-cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pv-cart-drawer-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--yellow);
}
.pv-cart-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pv-cart-close-btn:hover { background: rgba(255, 255, 255, 0.15); }

.pv-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.pv-cart-empty-msg {
  text-align: center;
  padding: 60px 0;
}
.pv-cart-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.pv-cart-empty-msg p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Footer del drawer */
.pv-cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-drawer-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.3px;
  line-height: 1;
  transition: opacity 0.2s, transform 0.15s;
  box-sizing: border-box;
}
.pv-drawer-checkout-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--black);
}

.pv-drawer-cart-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  letter-spacing: 0.3px;
  line-height: 1;
  transition: color 0.2s, border-color 0.2s;
  box-sizing: border-box;
}
.pv-drawer-cart-btn:hover {
  color: var(--yellow);
  border-color: rgba(255, 214, 0, 0.4);
}

/* ── DIVIDER ── */
.pv-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 20px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 480px) {
  .pv-reel-card { flex: 0 0 60vw; }
}

@media (min-width: 640px) {
  .pv-hero-headline { font-size: 100px; }
  .pv-reel-card { flex: 0 0 45vw; }
  .pv-problem-cards { flex-direction: row; }
  .pv-problem-card { flex: 1; }
}

@media (min-width: 768px) {
  .pv-reel-card {
    flex: 0 0 35vw;
    max-width: 260px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   FIX: Mini-cart drawer — Separar "Ver carrito" y "Finalizar compra"
══════════════════════════════════════════════════════════════════════════ */

/* Estilos del mini-cart de WooCommerce dentro del drawer */
.pv-wc-mini-cart .woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv-wc-mini-cart .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
}

.pv-wc-mini-cart .woocommerce-mini-cart__buttons a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 14px 20px !important;
  border-radius: 50px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s !important;
}

/* Primer botón (Ver carrito) — outline amarillo */
.pv-wc-mini-cart .woocommerce-mini-cart__buttons a:first-child {
  background: transparent !important;
  color: var(--yellow) !important;
  border: 1px solid var(--yellow) !important;
}
.pv-wc-mini-cart .woocommerce-mini-cart__buttons a:first-child:hover {
  background: rgba(255, 214, 0, 0.1) !important;
}

/* Segundo botón (Finalizar compra) — sólido amarillo */
.pv-wc-mini-cart .woocommerce-mini-cart__buttons a.checkout {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border: 1px solid var(--yellow) !important;
}
/* Subtotal en el mini-cart */
.pv-wc-mini-cart .woocommerce-mini-cart__total {
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--white);
  margin: 12px 0;
}

.pv-wc-mini-cart .woocommerce-mini-cart__total strong {
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
}

/* Items del mini-cart */
.pv-wc-mini-cart .mini_cart_item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  align-items: center;
}

.pv-wc-mini-cart .mini_cart_item a img {
  width: 50px !important;
  height: 50px !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.pv-wc-mini-cart .mini_cart_item a {
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.pv-wc-mini-cart .quantity {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}

.pv-wc-mini-cart .quantity .woocommerce-Price-amount {
  color: var(--yellow) !important;
}

/* Botón remove */
.pv-wc-mini-cart .remove_from_cart_button {
  margin-left: auto !important;
  background: rgba(255, 64, 64, 0.15) !important;
  color: var(--red) !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   Mini-cart WC — ocultar botones propios de WC.
   La navegación la manejan los botones del footer (.pv-cart-drawer-footer)
   que ya tienen flex-direction:column y gap controlados.
══════════════════════════════════════════════════════════════════════════ */
.pv-wc-mini-cart {
  display: block !important;
  padding: 0 !important;
}

.pv-wc-mini-cart .woocommerce-mini-cart__buttons,
.pv-wc-mini-cart p.woocommerce-mini-cart__buttons,
.pv-wc-mini-cart .buttons {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   DRAWER DEL CARRITO — PULIDO (v2.x)
══════════════════════════════════════════════════════════════════════════ */

/* Fondo con un leve degradado y sombra para separarlo del contenido */
.pv-cart-drawer {
  background: linear-gradient(180deg, #1c1c1c 0%, var(--gray) 22%) !important;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

/* Header con acento amarillo y contador */
.pv-cart-drawer-header {
  background: rgba(255, 214, 0, 0.06);
  padding: 22px 24px !important;
  border-bottom: 1px solid rgba(255, 214, 0, 0.15) !important;
}
.pv-cart-drawer-title {
  font-size: 26px !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pv-cart-drawer-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px rgba(255, 214, 0, 0.7);
}

/* Botón cerrar más marcado */
.pv-cart-close-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  font-size: 16px !important;
}
.pv-cart-close-btn:hover {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border-color: var(--yellow) !important;
  transform: rotate(90deg);
  transition: all 0.2s;
}

/* Scrollbar sutil del cuerpo */
.pv-cart-drawer-body::-webkit-scrollbar { width: 6px; }
.pv-cart-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(255, 214, 0, 0.25);
  border-radius: 10px;
}

/* Estado vacío (mensaje nativo del mini-cart de WooCommerce) */
.pv-wc-mini-cart .woocommerce-mini-cart__empty-message,
.pv-cart-empty-msg p {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  padding: 50px 10px;
}
.pv-wc-mini-cart .woocommerce-mini-cart__empty-message::before {
  content: "🎁";
  display: block;
  font-size: 46px;
  margin-bottom: 14px;
  filter: grayscale(0.2);
}

/* Ítems del mini-cart: tarjeta sutil con hover */
.pv-wc-mini-cart .mini_cart_item {
  padding: 14px 4px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  transition: background 0.15s;
  border-radius: 8px;
}
.pv-wc-mini-cart .mini_cart_item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.pv-wc-mini-cart .mini_cart_item a:not(.remove_from_cart_button) {
  color: var(--white) !important;
  font-weight: 600;
}

/* Total resaltado */
.pv-wc-mini-cart .woocommerce-mini-cart__total {
  border-top: 1px solid rgba(255, 214, 0, 0.2) !important;
  padding-top: 16px !important;
  margin-top: 8px !important;
  font-size: 15px;
}
.pv-wc-mini-cart .woocommerce-mini-cart__total strong {
  color: var(--yellow) !important;
}
