/* ============================================================
   ELECTRO ARGENTINO — index.css
   Styles specific to index.html (public page)
   ============================================================ */

/* ══ scroll-animate system ══ */
.scroll-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--t-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: block;
}

.navbar__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar__logo-brand {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.navbar__logo-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 0.08em;
}

/* Links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin-left: auto;
}

.navbar__link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.navbar__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.navbar__admin {
  margin-left: 8px;
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--t-normal);
  transform-origin: center;
}

.navbar__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grad-hero);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230066FF' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--primary-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.hero__badge-dot {
  animation: pulse-badge 2s ease-in-out infinite;
}

/* Title */
.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__title-gradient {
  background: linear-gradient(135deg, #3D8EFF 0%, #00C6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

/* Actions */
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__cta-main {
  padding: 14px 28px;
  font-size: 0.95rem;
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero__stat-suffix {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-light);
  display: inline;
  margin-left: 2px;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Visual */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__img-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
}

.hero__img-fallback {
  width: 100%;
  height: 420px;
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Floating cards on image */
.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 21, 38, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
}

.hero__float-card--1 {
  bottom: 32px;
  left: -24px;
}

.hero__float-card--2 {
  top: 32px;
  right: -24px;
}

.hero__float-icon {
  font-size: 1.4rem;
}

.hero__float-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__float-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Brands marquee */
.hero__brands {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.hero__brands-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.brands-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-slide {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand-item {
  padding: 0 36px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: color var(--t-fast);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.brand-item:hover {
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   CATALOGUE
══════════════════════════════════════════════ */
.catalogue {
  padding: 100px 0;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-header.center {
  align-items: center;
  text-align: center;
}

.catalogue__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.catalogue__filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

.filter-btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.catalogue__search {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.catalogue__search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--t-fast);
}

.catalogue__search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: rgba(13, 21, 38, 0.4);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: var(--font-body);
  transition: all var(--t-fast);
}

.catalogue__search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.2);
  outline: none;
  background: rgba(13, 21, 38, 0.7);
}

.catalogue__search input:focus+.search-icon {
  color: var(--primary-light);
}

.catalogue__count {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.catalogue__count strong {
  color: var(--text-secondary);
}

.catalogue__load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: rgba(13, 21, 38, 0.3);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-normal);
  font-family: var(--font-body);
}

.btn-load-more:hover {
  background: rgba(13, 21, 38, 0.7);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-load-more svg {
  transition: transform var(--t-normal);
}

.btn-load-more:hover svg {
  transform: translateY(2px);
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-normal);
  cursor: default;
}

.product-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 102, 255, 0.15);
  transform: translateY(-6px);
}

.product-card__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.product-card:hover .product-card__img {
  transform: scale(1.04);
}

.product-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card__stock {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.product-card__stock.out {
  color: #F87171;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
}

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-card__price {
  display: flex;
  flex-direction: column;
}

.product-card__price-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.product-card__price-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.product-card__cta {
  padding: 9px 16px;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Detail button on card */
.product-card__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.product-card__detail-btn {
  padding: 8px 12px;
  font-size: 0.78rem;
  white-space: nowrap;
  gap: 5px;
  color: var(--primary);
  border-color: rgba(0, 102, 255, 0.3);
}

.product-card__detail-btn:hover {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.5);
}

/* Image overlay on hover */
.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card__img-wrap:hover .product-card__overlay {
  opacity: 1;
}

.product-card__overlay-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 20px;
  border-radius: var(--r-full);
  backdrop-filter: blur(6px);
}

/* ── btn-accent (WhatsApp green) ── */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  filter: brightness(1.08);
}

/* ── btn-outline ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t-fast);
}

.btn-outline:hover {
  border-color: rgba(0, 102, 255, 0.4);
  color: var(--primary);
  background: rgba(0, 102, 255, 0.06);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   PRODUCT DETAIL MODAL
══════════════════════════════════════════════ */
.pd-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: pd-fade-in 0.2s ease;
}

.pd-overlay.hidden {
  display: none;
}

@keyframes pd-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.pd-modal {
  position: relative;
  display: grid;
  grid-template-columns: 420px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: pd-slide-up 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pd-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

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

/* Accent color bar (top-left corner glow) */
.pd-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 2;
}

/* Close button */
.pd-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.pd-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
  transform: scale(1.1);
}

/* Left column – image */
.pd-img-col {
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 360px;
  padding: 16px;
}

.pd-img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.pd-img:hover {
  transform: scale(1.03);
}

/* Right column – info */
.pd-info-col {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.pd-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-stock {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}

.pd-stock--in {
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.pd-stock--out {
  color: #F87171;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.pd-name {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0;
}

.pd-price-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pd-price-main {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.pd-price-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pd-divider {
  height: 1px;
  background: var(--border);
}

.pd-desc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 6px;
}

.pd-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
}

.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.pd-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 160px;
}

/* Responsive modal */
@media (max-width: 700px) {
  .pd-modal {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 95vh;
  }

  .pd-img-col {
    min-height: unset;
    padding: 12px;
  }

  .pd-img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
  }

  .pd-info-col {
    padding: 24px 20px 20px;
    gap: 14px;
  }

  .pd-name {
    font-size: 1.2rem;
  }

  .pd-price-main {
    font-size: 1.6rem;
  }
}

/* Empty catalogue */
.catalogue-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* ══════════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════════ */
.reviews {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.reviews__carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.reviews__track {
  position: relative;
  min-height: 260px;
}

.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(30px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
  position: relative;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.review-card__stars {
  color: #FFB800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 0;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-top: 20px;
  color: var(--text-muted);
}

.review-card__separator {
  color: var(--border);
}

.review-card__name {
  font-weight: 700;
  color: var(--text-primary);
}

.review-card__role {
  color: var(--text-muted);
}

/* Controls */
.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.reviews__ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.reviews__ctrl-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-blue);
}

.reviews__dots {
  display: flex;
  gap: 8px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all var(--t-normal);
}

.review-dot.active {
  background: var(--primary);
  width: 24px;
  box-shadow: var(--shadow-blue);
}

/* ══════════════════════════════════════════════
   LOCATION
══════════════════════════════════════════════ */
.location {
  padding: 100px 0;
  background: var(--bg-deep);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: all var(--t-fast);
}

.info-card:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
}

.info-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-card__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.info-card__sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.info-card__link {
  transition: color var(--t-fast);
}

.info-card__link:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Map */
.location__map {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.map-wrap {
  height: 380px;
  position: relative;
}

.map-wrap iframe {
  filter: brightness(0.85) saturate(0.6);
  transition: filter var(--t-normal);
}

.map-wrap:hover iframe {
  filter: brightness(1) saturate(1);
}

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 52px;
}

.contact__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__whatsapp {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
}

.contact-form {
  width: 100%;
}

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

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}

.footer__social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer__link:hover {
  color: var(--primary-light);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer__admin-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

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

/* ══════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON
══════════════════════════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--t-normal);
  animation: pulse-wa 3s ease-in-out infinite;
}

.fab-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 60px 24px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
    justify-content: center;
  }

  .hero__subtitle {
    margin: 0 auto 36px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__img-frame {
    max-width: 400px;
  }

  .hero__float-card--1 {
    left: 0;
  }

  .hero__float-card--2 {
    right: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .location__grid {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    padding: 36px;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform var(--t-normal), opacity var(--t-normal);
    pointer-events: none;
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar__link {
    padding: 12px 16px;
    border-radius: var(--r-md);
    display: block;
  }

  .navbar__admin {
    margin-left: 0;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero__img {
    height: 280px;
  }

  .hero__float-card {
    display: none;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__stat-divider {
    display: none;
  }

  .catalogue__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .catalogue__search {
    max-width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact__inner {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 80px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .catalogue,
  .reviews,
  .location,
  .contact,
  .services {
    padding: 60px 0;
  }
}

/* ══════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
  position: relative;
  overflow: hidden;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* ── Service Card ── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all var(--t-normal);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-normal);
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

/* Featured card */
.service-card--featured {
  border-color: rgba(255, 184, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.05) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(255, 184, 0, 0.1);
}

.service-card--featured:hover {
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 184, 0, 0.2);
}

/* Badge on featured card */
.service-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1a0a00;
  background: var(--grad-accent);
  padding: 3px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.04em;
}

/* Icon */
.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-normal);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

/* Text */
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Item list */
.service-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.service-card__list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22C55E;
  font-size: 0.75rem;
  font-weight: 700;
  top: 1px;
}

/* CTA link */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary-light);
  transition: all var(--t-fast);
  margin-top: 4px;
  width: fit-content;
}

.service-card__cta:hover {
  color: #fff;
  gap: 10px;
}

.service-card__cta--accent {
  color: var(--accent);
}

.service-card__cta--accent:hover {
  color: #FFD060;
}

/* ── CTA Banner ── */
.services__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--grad-primary);
  border-radius: var(--r-xl);
  padding: 32px 40px;
  box-shadow: var(--shadow-blue);
  position: relative;
  overflow: hidden;
}

.services__banner::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.services__banner::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.services__banner-text {
  position: relative;
  z-index: 1;
}

.services__banner-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.services__banner-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ── Responsive Services ── */
@media (max-width: 1024px) {
  .services__banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .services__banner .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__banner {
    padding: 24px 20px;
  }
}

/* ══════════════════════════════════════════════
   CART — Navbar button & Badge
══════════════════════════════════════════════ */
.navbar__cart {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all var(--t-fast);
  margin-left: 8px;
  flex-shrink: 0;
}

.navbar__cart:hover {
  color: var(--text-primary);
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
}

.navbar__cart.cart-bounce {
  animation: cartBounce 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes cartBounce {

  0%,
  100% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.28) rotate(-8deg);
  }

  60% {
    transform: scale(0.92) rotate(4deg);
  }

  80% {
    transform: scale(1.08);
  }
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #EF4444;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-dark);
  animation: badgePop 0.2s ease;
}

@keyframes badgePop {
  0% {
    transform: scale(0);
  }

  70% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* ══════════════════════════════════════════════
   CART — Overlay & Drawer
══════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1100;
  transition: opacity 0.3s ease;
}

.cart-overlay.hidden {
  display: none;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100dvh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.45);
}

.cart-drawer.open {
  transform: translateX(0);
}

/* Header */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-header__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cart-header__count {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

.cart-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
}

.cart-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--primary);
}

/* Items list */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Cart item */
.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 12px;
  transition: border-color var(--t-fast);
}

.cart-item:hover {
  border-color: rgba(0, 102, 255, 0.3);
}

.cart-item__img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cart-item__price {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item__price strong {
  color: var(--accent);
  font-weight: 700;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__qty-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  font-weight: 700;
}

.cart-item__qty-btn:hover {
  color: var(--primary-light);
  background: rgba(0, 102, 255, 0.12);
}

.cart-item__qty {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px;
  margin-left: 4px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
  flex-shrink: 0;
}

.cart-item__remove:hover {
  color: #F87171;
}

/* Empty state */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.cart-empty__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-empty__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cart-empty__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-footer__subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cart-footer__total {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.cart-footer__note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #1da851);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--t-fast);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.cart-footer__wa {
  width: 100%;
}

.cart-footer__clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.cart-footer__clear:hover {
  color: #F87171;
}

/* ── "Agregar al carrito" button on product cards ── */
.product-card__add-btn {
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.product-card__add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35);
}

.product-card__add-btn.added {
  background: linear-gradient(135deg, #22C55E, #16a34a);
}

/* ── "Agregar al carrito" in product detail modal ── */
.pd-cta-add-cart {
  background: rgba(0, 102, 255, 0.12);
  color: var(--primary-light);
  border: 1.5px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--r-md);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all var(--t-fast);
}

.pd-cta-add-cart:hover {
  background: rgba(0, 102, 255, 0.2);
  border-color: var(--primary);
}

.pd-cta-add-cart.added {
  background: rgba(34, 197, 94, 0.12);
  color: #4ADE80;
  border-color: rgba(34, 197, 94, 0.3);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
  }
}

/* ══════════════════════════════════════════════
   CART CHECKOUT BUTTON
══════════════════════════════════════════════ */
.cart-footer__checkout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: linear-gradient(135deg, #0066FF, #0033CC);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--t-fast);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
  letter-spacing: 0.02em;
}

.cart-footer__checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.5);
  filter: brightness(1.1);
}

/* ══════════════════════════════════════════════
   PAYMENT MODAL
══════════════════════════════════════════════ */
.payment-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-overlay.hidden {
  display: none;
}

.payment-overlay.open {
  opacity: 1;
}

.payment-modal {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.payment-overlay.open .payment-modal {
  transform: translateY(0) scale(1);
}

/* Step bar */
.payment-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
  justify-content: center;
}

.payment-step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.payment-step.active {
  opacity: 1;
}

.payment-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.payment-step.active .payment-step__num {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.4);
}

.payment-step__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.payment-step.active .payment-step__label {
  color: var(--text-primary);
}

.payment-step__line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  min-width: 40px;
}

/* Close button */
.payment-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-dark);
  color: var(--text-secondary);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
}

.payment-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #F87171;
  transform: scale(1.1);
}

/* Modal header */
.payment-modal__header {
  text-align: center;
  margin-bottom: 24px;
}

.payment-modal__icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.payment-modal__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.payment-modal__subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Step content */
.payment-step-content.hidden {
  display: none;
}

/* Payment method cards */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: rgba(13, 21, 38, 0.5);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: left;
  font-family: var(--font-body);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.payment-method-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.payment-method-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.payment-method-card:hover::before {
  opacity: 1;
}

.payment-method-card.selected {
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.2), 0 4px 20px rgba(0, 102, 255, 0.15);
  transform: translateX(4px);
}

.payment-method-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.payment-method-card__info {
  flex: 1;
}

.payment-method-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.payment-method-card__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.payment-method-card__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.payment-method-card.selected .payment-method-card__check {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
}

.payment-method-card.selected .payment-method-card__check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

/* Next button (step 1) */
.payment-next-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--grad-primary);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--t-fast);
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.3);
}

.payment-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.payment-next-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
  filter: brightness(1.1);
}

/* Order summary (step 2) */
.payment-summary {
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.payment-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.payment-summary__item:last-of-type {
  border-bottom: 1px solid var(--border);
}

.payment-summary__item-name {
  color: var(--text-secondary);
  flex: 1;
}

.payment-summary__item-name small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.payment-summary__item-price {
  color: var(--text-primary);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(0, 102, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Chosen payment badge */
.payment-chosen {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  font-size: 0.85rem;
}

.payment-chosen__label {
  color: var(--text-muted);
  flex-shrink: 0;
}

.payment-chosen__value {
  font-weight: 700;
  color: var(--primary-light);
}

/* WA note */
.payment-wa-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(37, 211, 102, 0.07);
  border: 1px solid rgba(37, 211, 102, 0.18);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  color: #4ADE80;
}

.payment-wa-note svg {
  color: #25D366;
}

/* Confirm actions */
.payment-confirm-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.payment-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--t-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-back-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.payment-confirm-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--t-fast);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.payment-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  filter: brightness(1.08);
}

/* Shipping note (envio a domicilio) */
.delivery-shipping-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  color: #FCD34D;
  line-height: 1.5;
  margin-top: 10px;
}

.delivery-shipping-note.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 520px) {
  .payment-modal {
    padding: 24px 16px 20px;
    border-radius: 18px;
  }

  .payment-confirm-actions {
    flex-direction: column-reverse;
  }

  .payment-back-btn,
  .payment-confirm-btn {
    width: 100%;
    justify-content: center;
  }

  .payment-step__label {
    display: none;
  }
}