/* ══════════════════════════════════════════════════════════════
   CAPFIT — Complete Design System & Stylesheet
   Matches Images 1, 2, and 3
   ══════════════════════════════════════════════════════════════ */

:root {
  --black: #0f0f11;
  --black-hover: #1e1e24;
  --white: #ffffff;
  --bg-main: #f8f8f6;
  --bg-card: #ffffff;
  --bg-subtle: #f4f4f2;
  --gray-100: #f1f1ee;
  --gray-200: #e2e2de;
  --gray-300: #cccccc;
  --gray-500: #71717a;
  --gray-700: #3f3f46;
  --gray-900: #18181b;

  --accent-red: #e11d48;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;
  --accent-blue: #2563eb;
  --accent-gold: #f59e0b;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.1);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  background-color: var(--bg-main);
  color: var(--black);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── TOP ANNOUNCEMENT BANNER ── */
.top-banner {
  background: #050505;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  z-index: 201;
  position: relative;
}

.top-banner-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
}

.top-banner-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── STICKY HEADER & NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-fast);
}

nav.main-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo span {
  color: var(--accent-red);
}

.nav-search-wrap {
  position: relative;
  flex: 1;
  max-width: 320px;
}

.nav-search-wrap input {
  width: 100%;
  padding: 9px 38px 9px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--bg-subtle);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.nav-search-wrap input:focus {
  border-color: var(--black);
  background: var(--white);
}

.nav-search-wrap svg {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--gray-500);
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  font-weight: 600;
}

.nav-links a.text-red {
  color: var(--accent-red);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 6px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.nav-icon-btn:hover {
  background: var(--gray-100);
}

.nav-icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background: var(--black);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── VIEW SWITCHING CONTAINER ── */
.app-view {
  display: none;
  min-height: calc(100vh - 120px);
  opacity: 0;
}

.app-view.active-view {
  display: block;
  animation: viewFadeSlideUp 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes viewFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   VIEW 1: HOME & CATALOG (IMAGE 1)
   ══════════════════════════════════════════════════════════════ */

/* HERO */
#hero {
  position: relative;
  background: var(--bg-main);
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.5;
  max-width: 580px;
}

.hero-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-hero-primary {
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  margin-top: 8px;
}

.btn-hero-primary:hover {
  background: var(--black-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.social-proof-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}

.rating-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-media-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#model-viewer {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  touch-action: none;
}

.hero-floating-cap {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* TRUST CARDS ROW */
.trust-cards-section {
  max-width: 1200px;
  margin: -30px auto 40px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.trust-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.trust-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon-box svg {
  width: 22px;
  height: 22px;
  color: var(--black);
}

.trust-card-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.trust-card-info p {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* CATALOG SECTION */
.catalogo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.catalogo-section-header {
  margin-bottom: 28px;
}

.section-headline {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* FILTER BAR */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.filter-dropdown {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition-fast);
}

.filter-dropdown:focus {
  border-color: var(--black);
}

.filter-right-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.view-all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
}

.view-all-link:hover {
  color: var(--black);
}

/* PRODUCT GRID */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-más-vendido,
.badge-mas-vendido {
  background: var(--black);
  color: var(--white);
}

.badge-nuevo {
  background: var(--accent-green);
  color: var(--white);
}

.badge-oferta {
  background: var(--accent-red);
  color: var(--white);
}

.badge-especial {
  background: var(--accent-gold);
  color: var(--black);
}

.btn-fav {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-300);
  padding: 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-fav:hover,
.btn-fav.active {
  color: var(--accent-red);
  transform: scale(1.15);
}

.btn-fav svg {
  width: 18px;
  height: 18px;
}

.product-card-img-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
}

.product-card-img-wrap img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
}

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

.product-card-colors {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.color-dot.selected {
  outline: 2px solid var(--black);
  outline-offset: 1px;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  cursor: pointer;
  line-height: 1.25;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.product-rating .star {
  color: var(--accent-gold);
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.precio-actual {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
}

.precio-anterior {
  font-size: 0.82rem;
  color: var(--gray-500);
  text-decoration: line-through;
  margin-left: 4px;
}

.stock-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn-probar-card {
  flex: 1;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition-fast);
}

.btn-probar-card:hover {
  background: var(--black-hover);
}

.btn-quick-cart {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-quick-cart:hover {
  background: var(--bg-subtle);
  border-color: var(--black);
}

.btn-quick-cart svg {
  width: 16px;
  height: 16px;
}

/* STEP EXPLAINER SECTION */
.step-explainer-section {
  background: var(--bg-subtle);
  border-radius: var(--radius-xl);
  max-width: 1200px;
  margin: 40px auto;
  padding: 48px 36px;
}

.step-explainer-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.step-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card-text {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.step-card-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}

.step-arrow {
  color: var(--gray-300);
  font-size: 1.2rem;
  text-align: center;
}

.step-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step-cta-sub {
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  animation: floatTestimonial 6s ease-in-out infinite;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 4s;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--black);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid var(--gray-200);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1) rotate(4deg);
  border-color: var(--black);
}

.testimonial-info h5 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 0.88rem;
  margin-bottom: 6px;
  display: inline-block;
  transition: transform 0.3s ease;
  letter-spacing: 1px;
}

.testimonial-card:hover .testimonial-stars {
  transform: scale(1.1);
}

.testimonial-text {
  font-size: 0.82rem;
  color: var(--gray-700);
  line-height: 1.45;
}

@keyframes floatTestimonial {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* TRUST TICKER BAR */
.trust-ticker-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.trust-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-ticker-item svg {
  width: 18px;
  height: 18px;
}


/* ══════════════════════════════════════════════════════════════
   VIEW 2: SHOPPING CART (IMAGE 2)
   ══════════════════════════════════════════════════════════════ */

.cart-view-container {
  max-width: 1200px;
  margin: 32px auto 80px;
  padding: 0 24px;
}

.cart-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cart-title {
  font-size: 1.8rem;
  font-weight: 800;
}

.cart-back-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-layout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* CART ITEMS LIST */
.cart-items-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  align-items: center;
  gap: 20px;
}

.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-subtle);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 4px;
}

.btn-tryon-cart-item {
  background: var(--bg-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 6px;
  transition: background var(--transition-fast);
}

.btn-tryon-cart-item:hover {
  background: var(--gray-200);
}

.cart-quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 4px 8px;
  gap: 12px;
}

.btn-qty {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-actions-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-remove-item:hover {
  text-decoration: underline;
}

/* FREE SHIPPING BANNER IN CART */
.free-shipping-banner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.free-shipping-msg {
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--black);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* RECOMMENDED SECTION IN CART & TRYON */
.recommended-section {
  margin-top: 32px;
}

.recommended-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.recommended-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
}

.rec-img-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  overflow: hidden;
  flex-shrink: 0;
}

.rec-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rec-info {
  flex: 1;
  min-width: 0;
}

.rec-title {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rec-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
}

.rec-btn-add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rec-btn-add:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* ORDER SUMMARY SIDEBAR */
.order-summary-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.order-summary-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.summary-row.total-row {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
}

.text-green {
  color: var(--accent-green);
  font-weight: 700;
}

.free-shipping-success-box {
  background: var(--accent-green-bg);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.78rem;
  color: #065f46;
  line-height: 1.4;
}

.btn-checkout-primary {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition-fast);
}

.btn-checkout-primary:hover {
  background: var(--black-hover);
}

.btn-mercadopago {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-full);
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.btn-mercadopago:hover {
  background: var(--bg-subtle);
  border-color: var(--black);
}

.payment-methods-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-500);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-cards-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.payment-badge-img {
  height: 20px;
  object-fit: contain;
}

.guarantees-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guarantee-item svg {
  width: 20px;
  height: 20px;
  color: var(--black);
  flex-shrink: 0;
}

.guarantee-item h5 {
  font-size: 0.82rem;
  font-weight: 700;
}

.guarantee-item p {
  font-size: 0.72rem;
  color: var(--gray-500);
}


/* ══════════════════════════════════════════════════════════════
   VIEW 3: VIRTUAL TRY-ON (IMAGE 3)
   ══════════════════════════════════════════════════════════════ */

.tryon-view-container {
  max-width: 1240px;
  margin: 24px auto 80px;
  padding: 0 24px;
}

/* TRYON STEP PROGRESS BAR */
.tryon-steps-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tryon-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-500);
}

.tryon-step-item.active {
  color: var(--black);
  font-weight: 800;
}

.tryon-step-item.completed {
  color: var(--accent-green);
}

.step-icon-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.tryon-step-item.active .step-icon-circle {
  background: var(--black);
  color: var(--white);
}

.tryon-step-item.completed .step-icon-circle {
  background: var(--accent-green);
  color: var(--white);
}

.tryon-step-arrow {
  color: var(--gray-300);
}

/* TRYON MAIN GRID */
.tryon-layout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

/* TRYON PREVIEW CANVAS CONTAINER */
.tryon-canvas-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.tryon-canvas-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-restart-tryon {
  background: var(--bg-subtle);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tryon-top-actions {
  display: flex;
  gap: 10px;
}

.tryon-action-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.tryon-action-icon-btn:hover {
  background: var(--bg-subtle);
}

.tryon-viewport {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tryon-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.tryon-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CAMERA VIEWPORT INITIAL PLACEHOLDER */
.cam-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #131722;
  background-image: radial-gradient(circle at 50% 35%, #1e2435 0%, #0d1017 85%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  color: #ffffff;
  z-index: 5;
  box-sizing: border-box;
}

.placeholder-hero-graphics {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 180px;
}

/* Left Annotation Badge */
.annotation-badge-left {
  position: absolute;
  left: 10px;
  top: 35%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
}

.handwritten-text {
  font-size: 0.85rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  transform: rotate(-6deg);
  white-space: nowrap;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.curved-arrow-svg {
  width: 42px;
  height: 22px;
  margin-top: -2px;
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.5);
}

/* Center Head Silhouette */
.center-head-silhouette {
  position: relative;
  width: 150px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sparkles-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.head-svg {
  width: 100%;
  height: 100%;
}

/* Right Side Guidelines inside preview */
.preview-right-tips {
  position: absolute;
  right: 10px;
  top: 18%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.p-tip-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.p-tip-pill svg {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
}

/* Bottom Text inside viewport */
.placeholder-bottom-text {
  text-align: center;
  margin-top: 10px;
}

.placeholder-bottom-text h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  line-height: 1.25;
}

.placeholder-bottom-text .green-text {
  color: #22c55e;
}

.placeholder-bottom-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* OVERLAY LOADING SPINNER - WHITE & GREEN AI THEME */
.tryon-loading-overlay {
  position: absolute;
  inset: 0;
  background: #ffffff;
  background-image: radial-gradient(circle at 50% 30%, #ecfdf5 0%, #ffffff 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  gap: 10px;
  color: #0f172a;
  z-index: 20;
  text-align: center;
  overflow-y: auto;
}

.tryon-load-sparkle-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  animation: pulse-glow 2s infinite ease-in-out;
  flex-shrink: 0;
}

.tryon-load-sparkle-box svg {
  width: 22px;
  height: 22px;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15); }
  50% { transform: scale(1.06); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28); }
}

.tryon-load-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.tryon-load-sub {
  font-size: 0.78rem;
  color: #475569;
  max-width: 320px;
  line-height: 1.35;
}

/* Progress bar container */
.tryon-progress-container {
  width: 100%;
  max-width: 310px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 2px;
}

.tryon-progress-track {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.tryon-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.tryon-progress-pct {
  font-size: 0.8rem;
  font-weight: 800;
  color: #059669;
  min-width: 36px;
  text-align: right;
}

/* Steps Checklist */
.tryon-steps-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 280px;
  margin: 4px 0 6px;
  text-align: left;
}

.tryon-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.tryon-check-item.done {
  color: #0f172a;
  font-weight: 600;
}

.tryon-check-item.active {
  color: #059669;
  font-weight: 700;
}

.chk-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tryon-check-item.done .chk-icon {
  background: #10b981;
  color: #ffffff;
}

.tryon-check-item.done .chk-icon svg {
  width: 11px;
  height: 11px;
}

.chk-icon .spin-dot {
  width: 14px;
  height: 14px;
  border: 2.5px solid #d1fae5;
  border-top-color: #059669;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: block;
}

.chk-icon .empty-circle {
  width: 14px;
  height: 14px;
  border: 1.8px solid #cbd5e1;
  border-radius: 50%;
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* AI Brain Badge */
.tryon-ai-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  color: #166534;
  max-width: 320px;
  line-height: 1.3;
}

.tryon-ai-badge svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
}

/* TIPS CARD UNDER VIEWPORT */
.tryon-tips-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tryon-tips-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.tryon-tips-header svg {
  width: 18px;
  height: 18px;
  color: #059669;
}

.tryon-tips-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.tip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.25;
}

.tip-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.tip-icon-box svg {
  width: 18px;
  height: 18px;
}

/* CAMERA ACTIONS WRAP */
.tryon-camera-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}

.btn-activate-camera-main {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-activate-camera-main:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-activate-camera-main svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-camera-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-camera-text-col strong {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-camera-text-col small {
  font-size: 0.72rem;
  opacity: 0.8;
  font-weight: 400;
}

.actions-divider-o {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 2px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.divider-text {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.btn-upload-gallery-sec {
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.btn-upload-gallery-sec:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-upload-gallery-sec svg {
  width: 18px;
  height: 18px;
  color: #64748b;
}

/* FLOATING CONTROLS AT BOTTOM OF VIEWPORT */
.tryon-floating-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 17, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  z-index: 10;
}

.ctrl-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.ctrl-btn:hover {
  opacity: 1;
}

.ctrl-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.tryon-success-banner {
  background: var(--accent-green-bg);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: #065f46;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TRYON RIGHT SIDEBAR */
.tryon-sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.btn-back-catalog {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tryon-sidebar-preview-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.tryon-mini-cap-img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.tryon-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tryon-item-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.tryon-item-rating {
  font-size: 0.82rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tryon-item-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--black);
}

.tryon-attributes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
}

.attr-item {
  font-size: 0.82rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tryon-color-section h5 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.btn-add-cart-large {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition-fast);
}

.btn-add-cart-large:hover {
  background: var(--black-hover);
}

.tryon-secondary-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-tryon-sec {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-full);
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-tryon-sec:hover {
  background: var(--bg-subtle);
  border-color: var(--black);
}


/* FOOTER */
footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #18181b;
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  margin-bottom: 48px;
}

.newsletter-text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 0.82rem;
  color: #a1a1aa;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 420px;
}

.newsletter-form input {
  flex: 1;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  outline: none;
}

.newsletter-form button {
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

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

.footer-brand h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.82rem;
  color: #a1a1aa;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-social-row {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #27272a;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--white);
  color: var(--black);
}

.social-icon-btn svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.footer-col ul a {
  font-size: 0.82rem;
  color: #a1a1aa;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  border-top: 1px solid #27272a;
  padding-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: #71717a;
}


/* TOAST NOTIFICATION */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}


/* SCROLL ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .catalogo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cart-layout-grid,
  .tryon-layout-grid {
    grid-template-columns: 1fr;
  }
  .trust-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .top-banner {
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.68rem;
  }
  .top-banner-item:nth-child(2),
  .top-banner-item:nth-child(3) {
    display: none;
  }

  nav.main-nav {
    padding: 10px 16px;
  }
  .nav-search-wrap {
    display: none;
  }
  .nav-links {
    display: none;
  }

  #hero {
    padding: 32px 16px 50px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-pills {
    gap: 8px;
  }
  .hero-pill-item {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
  .btn-hero-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .hero-media-wrap {
    height: 300px;
  }

  .trust-cards-section {
    margin: -20px auto 28px;
    padding: 0 16px;
  }
  .trust-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .catalogo-container {
    padding: 24px 16px 48px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-left-group {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .catalogo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-card {
    padding: 12px;
  }
  .product-title {
    font-size: 0.85rem;
  }
  .precio-actual {
    font-size: 0.95rem;
  }
  .btn-probar-card {
    font-size: 0.65rem;
    padding: 8px 10px;
  }

  .step-explainer-section {
    padding: 24px 16px;
    margin: 20px auto;
  }
  .step-explainer-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }
  .step-cards-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .step-arrow {
    display: none;
  }

  .testimonials-section {
    padding: 0 16px;
    margin: 36px auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-view-container,
  .tryon-view-container {
    padding: 0 16px;
    margin: 20px auto 48px;
  }
  .cart-title {
    font-size: 1.35rem;
  }
  .cart-item-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .cart-quantity-controls {
    grid-column: auto;
    width: fit-content;
  }
  .cart-item-actions-col {
    grid-column: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--gray-100);
    padding-top: 10px;
  }

  .tryon-steps-header {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-md);
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 20px;
  }
  .tryon-step-arrow {
    display: none;
  }
  .tryon-step-item {
    font-size: 0.65rem;
    justify-content: center;
    text-align: center;
    padding: 4px;
  }

  .tryon-canvas-card,
  .tryon-sidebar-card {
    padding: 16px;
  }
  .tryon-floating-controls {
    width: 92%;
    padding: 4px 10px;
    gap: 6px;
    justify-content: space-around;
  }
  .ctrl-btn {
    font-size: 0.68rem;
  }

  .newsletter-box {
    flex-direction: column;
    padding: 20px;
  }
  .newsletter-form {
    width: 100%;
    max-width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .recommended-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   MERCADO PAGO GATEWAY CHECKOUT STYLES (WHITE BACKGROUND THEME)
   ══════════════════════════════════════════════════════════════ */
.mp-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: mpFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mp-modal-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  animation: mpSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mpSlideUp {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}

/* Header Top */
.mp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

.mp-top-security {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
}

.mp-top-security svg {
  width: 16px;
  height: 16px;
  color: #0f172a;
}

.mp-top-security strong {
  color: #0f172a;
  font-weight: 700;
}

.mp-close-btn {
  background: #f1f5f9;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #475569;
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mp-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Brand Row */
.mp-header-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 8px;
  background: #ffffff;
}

.mp-brand-logo {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin: 0;
}

.mp-protected-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.mp-protected-badge svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
}

.mp-scrollable-content {
  padding: 12px 20px 20px;
  overflow-y: auto;
}

/* Product Summary Card (Screenshot 1 matching) */
.mp-product-summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mp-product-summary-card img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
}

.mp-product-main-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mp-product-main-info h3 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.mp-product-meta {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}

.mp-product-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.mp-product-price-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.mp-detail-toggle-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.mp-detail-toggle-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.mp-detail-toggle-btn svg {
  width: 12px;
  height: 12px;
}

/* Collapsible Drawer */
.mp-order-details-drawer {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 8px;
  padding: 12px 14px;
  max-height: 160px;
  overflow-y: auto;
}

.mp-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mp-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.mp-item-row img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #e2e8f0;
}

.mp-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mp-item-details strong {
  color: #0f172a;
  font-size: 0.82rem;
}

.mp-item-details small {
  color: #64748b;
  font-size: 0.72rem;
}

.mp-item-price {
  font-weight: 800;
  color: #0f172a;
}

/* Green Promo Banner */
.mp-promo-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-promo-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mp-promo-icon-box svg {
  width: 18px;
  height: 18px;
}

.mp-promo-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mp-promo-text-col strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #15803d;
}

.mp-promo-text-col span {
  font-size: 0.72rem;
  color: #166534;
}

.mp-arrow-right {
  width: 16px;
  height: 16px;
  color: #16a34a;
}

/* Section Title */
.mp-section-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin: 16px 0 10px;
}

/* Method Tabs Grid (4 columns) */
.mp-method-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mp-tab-btn {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

.mp-tab-btn svg {
  width: 20px;
  height: 20px;
}

.mp-tab-btn:hover {
  border-color: #cbd5e1;
  color: #334155;
}

.mp-tab-btn.active {
  background: #ffffff;
  border-color: #0f172a;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Cards Accepted Strip */
.mp-cards-accepted-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mp-accepted-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
}

.mp-cards-logos-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mp-card-logo-pill {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.mp-card-logo-pill.visa {
  background: #1a1f71;
  color: #ffffff;
}

.mp-card-logo-pill.mastercard {
  background: #eb001b;
  color: #ffffff;
}

.mp-card-logo-pill.amex {
  background: #006fcf;
  color: #ffffff;
}

.mp-card-logo-pill.cabal {
  background: #0f172a;
  color: #ffffff;
}

/* Form inputs */
.mp-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mp-field-group label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
}

.mp-field-group input,
.mp-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.mp-field-group input:focus,
.mp-select:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.mp-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mp-input-right-actions {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-card-brand-tag {
  font-size: 0.7rem;
  font-weight: 900;
  color: #1a1f71;
  background: #e0e7ff;
  padding: 2px 6px;
  border-radius: 4px;
}

.mp-cam-scan-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
}

.mp-cam-scan-btn svg {
  width: 15px;
  height: 15px;
}

.mp-help-icon {
  position: absolute;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: help;
}

.mp-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* Submit Button (Black/Dark Pill) */
.mp-submit-btn {
  width: 100%;
  margin-top: 10px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s, background-color 0.2s, box-shadow 0.2s;
}

.mp-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}

.mp-submit-btn:active {
  transform: translateY(0);
}

.mp-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Account Box */
.mp-account-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.mp-account-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mp-avatar {
  font-size: 1.5rem;
}

.mp-account-header strong {
  display: block;
  font-size: 0.9rem;
  color: #0369a1;
}

.mp-account-header p {
  font-size: 0.78rem;
  color: #0284c7;
  margin: 0;
}

.mp-verified-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
}

.mp-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #334155;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}

.mp-balance-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0284c7;
}

.mp-account-note {
  font-size: 0.75rem;
  color: #0369a1;
  margin-top: 10px;
}

/* QR Box */
.mp-qr-box {
  display: flex;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.mp-qr-img-wrap {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 4px;
  background: #ffffff;
}

.mp-qr-svg {
  width: 100%;
  height: 100%;
}

.mp-qr-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.mp-qr-info strong {
  font-size: 0.88rem;
  color: #0f172a;
}

.mp-qr-info p {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}

.mp-cvu-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  margin-top: 6px;
}

.btn-copy-alias {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Cash box */
.mp-cash-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.mp-cash-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.mp-cash-item strong {
  display: block;
  font-size: 0.88rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.mp-cash-item p {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
}

/* Footer Guarantee (Matches Screenshot 1) */
.mp-footer-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.mp-foot-guar-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mp-foot-guar-item svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
}

.mp-foot-divider {
  color: #cbd5e1;
}

/* Center States: Processing & Success */
.mp-center-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 20px;
}

.mp-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #0f172a;
  border-radius: 50%;
  animation: mpSpin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes mpSpin {
  to { transform: rotate(360deg); }
}

.mp-process-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.mp-process-sub {
  font-size: 0.82rem;
  color: #64748b;
  max-width: 300px;
}

/* Success Check */
.mp-success-check {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mp-success-check svg {
  width: 32px;
  height: 32px;
}

.mp-success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.mp-success-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 20px;
}

.mp-receipt-card {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  text-align: left;
}

.mp-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569;
}

.mp-receipt-row strong {
  color: #0f172a;
}

.mp-status-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.mp-email-notice {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 20px;
}

.mp-success-btn {
  width: 100%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.mp-success-btn:hover {
  background: #1e293b;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CÁMARA: GUÍA DE POSE, CUENTA REGRESIVA Y MARCA DE AGUA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Visual Pose Guide Overlay */
.camera-guide-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.camera-guide-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.guide-tag-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.guide-tag-pill svg {
  color: #22c55e;
}

/* Floating Live Camera Tools & Status */
.cam-live-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  gap: 6px;
  max-width: 52%;
}

#face-status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
  max-width: 46%;
  box-sizing: border-box;
}

@media (max-width: 580px) {
  .cam-live-tools {
    top: 10px;
    right: 10px;
    bottom: auto;
    gap: 4px;
    max-width: 52%;
  }

  #face-status {
    top: 10px;
    left: 10px;
    max-width: 46%;
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
  }

  .cam-live-btn {
    padding: 5px 8px !important;
    font-size: 0.70rem !important;
    gap: 4px !important;
  }
}

.cam-live-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cam-live-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #10b981;
}

.cam-live-btn.active {
  border-color: #10b981;
  color: #10b981;
}

/* Countdown Overlay */
.countdown-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.countdown-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.countdown-number {
  font-size: 5rem;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
  line-height: 1;
}

.countdown-number.pulse-anim {
  animation: countdownPulse 0.8s ease-out;
}

@keyframes countdownPulse {
  0% { transform: scale(1.4); opacity: 0.5; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.95); }
}

.countdown-label {
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
}

.btn-cancel-countdown {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.btn-cancel-countdown:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
}

/* AI Result Actions & Direct Purchase Card */
.tryon-result-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
}

.tryon-buy-now-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  flex-wrap: wrap;
}

.buy-now-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.buy-now-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.buy-now-cap-name {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
}

.btn-buy-now-direct {
  background: #10b981;
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-buy-now-direct:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.btn-download-watermark {
  background: #ffffff;
  border: 1px solid var(--gray-300);
  color: #0f172a;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-download-watermark:hover {
  background: #f8fafc;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ── 404 NOT FOUND FULL BACKGROUND VIEW STYLES ── */
#view-404.notfound-view {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: #fbf8f5;
}

.notfound-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.notfound-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.notfound-overlay-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  padding: 0 20px 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.notfound-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.notfound-actions .btn-hero-primary,
.notfound-actions .btn-hero-secondary {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  #view-404.notfound-view {
    min-height: calc(100vh - 90px);
  }

  .notfound-bg-img {
    object-fit: cover;
    object-position: center 30%;
  }

  .notfound-overlay-content {
    padding: 0 16px 36px 16px;
  }

  .notfound-actions {
    flex-direction: column;
    width: 100%;
  }

  .notfound-actions button {
    width: 100%;
  }
}


