/* ══════════════════════════════════════════════════════════════
   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;
}

.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;
  scroll-margin-top: 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, #f8fafc);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-xl, 16px);
  max-width: 1200px;
  margin: 40px auto;
  padding: 44px 32px;
}

.step-explainer-title {
  font-size: 1.65rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: #0f172a;
}

.step-cards-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.step-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  min-height: 80px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.step-num-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card-text {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  flex: 1;
  min-width: 0;
}

.step-card-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.step-card-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-arrow {
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
  user-select: none;
  padding: 0 4px;
}

@media (max-width: 1024px) and (min-width: 641px) {
  .step-cards-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .step-arrow {
    display: none !important;
  }
}

.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 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .step-arrow {
    display: none !important;
  }

  .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 {
  display: none;
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: #fbf8f5;
}

#view-404.notfound-view.active-view {
  display: flex;
}

.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%;
  }
}

/* ══════════════════════════════════════════════════════════════
   CAPFIT — SUBDOMINIO DEDICADO admin.capfit.store
   ══════════════════════════════════════════════════════════════ */
body.is-admin-domain {
  background-color: #f8fafc !important;
  min-height: 100vh;
}

body.is-admin-domain .announcement-bar,
body.is-admin-domain > header,
body.is-admin-domain .app-view:not(#view-admin),
body.is-admin-domain footer,
body.is-admin-domain .footer-main,
body.is-admin-domain .footer-bottom,
body.is-admin-domain #cart-drawer,
body.is-admin-domain .cart-drawer-backdrop {
  display: none !important;
}

body.is-admin-domain #view-admin {
  display: block !important;
  min-height: 100vh;
  padding: 32px 16px 80px 16px;
  background-color: #f8fafc;
}

/* ══════════════════════════════════════════════════════════════
   CAPFIT — BACKOFFICE & ADMIN PANEL STYLES
   ══════════════════════════════════════════════════════════════ */

#view-admin {
  background-color: #f8fafc;
  min-height: calc(100vh - 120px);
  padding: 32px 16px 60px 16px;
}

.admin-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Modern Auth Card (Matches Reference Design) ── */
.auth-card {
  max-width: 480px;
  width: 100%;
  margin: 12px auto 28px auto;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 36px 36px 0 36px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
}

.auth-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  margin: 0 auto 28px auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.025em;
  text-align: center;
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 360px;
}

.auth-google-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 22px;
}

.auth-google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0 22px 0;
  color: #64748b;
  font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider span {
  padding: 0 12px;
}

.auth-field-group {
  margin-bottom: 16px;
  text-align: left;
}

.auth-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  font-family: inherit;
}

.auth-input:focus {
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-input-wrap {
  position: relative;
  width: 100%;
}

.auth-eye-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s;
}

.auth-eye-btn:hover {
  color: #0f172a;
}

.auth-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.auth-link-forgot {
  font-size: 0.82rem;
  color: #475569;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.auth-link-forgot:hover {
  color: #0f172a;
}

.auth-btn-primary {
  width: 100%;
  height: 48px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.auth-btn-primary:hover {
  background: #1e293b;
}

.auth-btn-primary:active {
  transform: scale(0.99);
}

.auth-btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-switch-text {
  font-size: 0.88rem;
  color: #64748b;
  text-align: center;
  margin: 18px 0 24px 0;
}

.auth-switch-btn {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0;
  font-family: inherit;
}

.auth-switch-btn:hover {
  color: #2563eb;
}

.auth-card-footer {
  margin: 24px -36px 0 -36px;
  padding: 16px 24px;
  background: #fafafa;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.auth-footer-copy {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 4px;
}

.auth-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.76rem;
}

.auth-footer-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.18s;
}

.auth-footer-links a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.auth-footer-sep {
  color: #cbd5e1;
}

.auth-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  text-align: left;
}

.auth-info-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  text-align: left;
}

@media (max-width: 640px) {
  #view-admin {
    padding: 18px 12px 48px 12px;
  }
  .auth-card {
    padding: 28px 20px 0 20px;
    border-radius: 20px;
    margin: 8px auto 20px auto;
  }
  .auth-card-footer {
    margin: 20px -20px 0 -20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .auth-title {
    font-size: 1.45rem;
  }
}

/* ── Legacy Login Card ── */
.admin-login-card {
  max-width: 440px;
  margin: 40px auto 60px auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.admin-login-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.admin-login-icon svg {
  width: 26px;
  height: 26px;
}

.admin-login-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-700);
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.admin-login-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.admin-login-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 24px;
}

.admin-login-form {
  text-align: left;
}

.admin-field-group {
  margin-bottom: 16px;
}

.admin-field-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}

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

.admin-input-wrap input,
.admin-field-group input,
.admin-field-group select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.admin-input-wrap input:focus,
.admin-field-group input:focus,
.admin-field-group select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.admin-toggle-pass {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.admin-toggle-pass:hover {
  color: var(--black);
}

.admin-login-hint {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.admin-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 600;
}

.admin-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.admin-btn-primary:hover {
  background: var(--black-hover);
  transform: translateY(-1px);
}

.admin-btn-primary.full-width {
  width: 100%;
}

.admin-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-btn-sec:hover {
  background: var(--black-hover);
}

.admin-btn-sec-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--gray-900);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.admin-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
  padding: 9px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-btn-outline:hover {
  background: var(--gray-100);
  border-color: var(--gray-700);
}

.admin-btn-danger-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--accent-red);
  border: 1px solid #fecdd3;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-btn-danger-outline:hover {
  background: #fff1f2;
  border-color: var(--accent-red);
}

.admin-btn-link {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 14px;
}

.admin-btn-link:hover {
  color: var(--black);
  text-decoration: underline;
}

/* ── Topbar ── */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.admin-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-green);
  background: var(--accent-green-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.admin-main-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Metrics Grid ── */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

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

.stat-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.stat-icon-wrap.green {
  background: #ecfdf5;
  color: #10b981;
}

.stat-icon-wrap.blue {
  background: #eff6ff;
  color: #2563eb;
}

.stat-icon-wrap.dark {
  background: #f4f4f5;
  color: #18181b;
}

.stat-icon-wrap.orange {
  background: #fff7ed;
  color: #f59e0b;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-500);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-val small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
}

.stat-val.highlight-alert {
  color: var(--accent-blue);
}

.stat-val.highlight-warning {
  color: #ea580c;
}

.stat-hint {
  font-size: 0.72rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* ── Tabs Navigation ── */
.admin-tabs-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid var(--gray-200);
  padding-bottom: 10px;
  overflow-x: auto;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.admin-tab-btn svg {
  width: 17px;
  height: 17px;
}

.admin-tab-btn:hover {
  background: var(--white);
  color: var(--black);
}

.admin-tab-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.tab-badge {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.admin-tab-btn.active .tab-badge {
  background: var(--black);
  color: var(--white);
}

/* ── Panel Card ── */
.admin-panel-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.admin-card-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-search-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.admin-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
  flex: 1;
}

.admin-search-input-wrap svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--gray-500);
}

.admin-search-input-wrap input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  outline: none;
  transition: all var(--transition-fast);
}

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

.admin-filter-select-wrap select {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
}

.admin-filter-select-wrap select:focus {
  border-color: var(--black);
}

/* ── Table Styling ── */
.admin-table-container {
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-data-table th {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  padding: 12px 14px;
  border-bottom: 2px solid var(--gray-200);
  background: #fafaf9;
}

.admin-data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.88rem;
  vertical-align: middle;
}

.admin-data-table tr:hover {
  background: #fafaf9;
}

.admin-thumb-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-subtle);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--gray-200);
}

.admin-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-edit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.thumb-edit-overlay svg {
  width: 18px;
  height: 18px;
}

.admin-thumb-box:hover .thumb-edit-overlay {
  opacity: 1;
}

.admin-product-cell-info {
  display: flex;
  flex-direction: column;
}

.prod-cell-name {
  font-weight: 700;
  color: var(--black);
  font-size: 0.92rem;
}

.prod-cell-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 2px;
}

.text-mono {
  font-family: monospace;
  font-size: 0.74rem;
  color: #94a3b8;
}

/* ── Inline Editing ── */
.admin-inline-edit-price {
  display: flex;
  align-items: center;
  position: relative;
}

.currency-prefix {
  position: absolute;
  left: 10px;
  font-weight: 700;
  color: var(--gray-500);
  font-size: 0.88rem;
}

.admin-table-input {
  padding: 6px 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--transition-fast);
  background: var(--white);
}

.admin-table-input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
}

.admin-table-input.price-input {
  width: 100px;
  padding-left: 22px;
  font-weight: 700;
}

.admin-table-input.prev-price-input {
  width: 100px;
  padding-left: 22px;
  color: var(--gray-500);
}

.admin-stock-control-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-stock-adj {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--black);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.admin-table-input.stock-input {
  width: 48px;
  text-align: center;
  font-weight: 700;
}

.admin-stock-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.admin-stock-pill.stock-ok {
  background: #ecfdf5;
  color: #10b981;
}

.admin-stock-pill.stock-low {
  background: #fff7ed;
  color: #ea580c;
}

.admin-stock-pill.stock-out {
  background: #fef2f2;
  color: #ef4444;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.admin-action-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-action-icon-btn svg {
  width: 15px;
  height: 15px;
}

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

.admin-action-icon-btn.danger:hover {
  background: var(--accent-red);
  color: var(--white);
  border-color: var(--accent-red);
}

/* ── Orders List ── */
.admin-orders-list-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-order-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.admin-order-card:hover {
  box-shadow: var(--shadow-sm);
}

.admin-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #fafaf9;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  gap: 10px;
}

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

.order-id-pill {
  font-family: monospace;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-300);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.order-date {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.badge-payment-status,
.badge-shipping-status {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.badge-pay-approved {
  background: #ecfdf5;
  color: #059669;
}

.badge-pay-pending {
  background: #fefce8;
  color: #ca8a04;
}

.badge-pay-rejected {
  background: #fef2f2;
  color: #dc2626;
}

.badge-ship-prep {
  background: #fff7ed;
  color: #ea580c;
}

.badge-ship-transit {
  background: #eff6ff;
  color: #2563eb;
}

.badge-ship-delivered {
  background: #f0fdf4;
  color: #16a34a;
}

.badge-ship-cancel {
  background: #f4f4f5;
  color: #71717a;
}

.order-total-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}

.admin-order-body {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 20px;
  padding: 18px;
}

.admin-order-col {
  display: flex;
  flex-direction: column;
}

.order-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.customer-data {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--gray-700);
}

.customer-data strong {
  color: var(--black);
  font-size: 0.92rem;
}

.order-items-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-item-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.order-item-chip img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.order-item-desc {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.order-item-desc strong {
  color: var(--black);
}

.order-item-desc span {
  color: var(--gray-500);
}

.order-method-tag {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 10px;
}

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

.admin-order-field {
  margin-bottom: 12px;
}

.admin-order-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.admin-select-status {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  outline: none;
}

.admin-select-status:focus {
  border-color: var(--black);
}

.tracking-input-row {
  display: flex;
  gap: 6px;
}

.tracking-input-row input {
  flex: 1;
  padding: 6px 8px;
  font-size: 0.8rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
}

.tracking-input-row input:focus {
  border-color: var(--black);
}

.btn-save-tracking {
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  border: none;
  cursor: pointer;
}

/* ── Form Styles ── */
.admin-form-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 16px;
}

.admin-form-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.admin-form-header p {
  font-size: 0.86rem;
  color: var(--gray-500);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-field-group.full-width {
  grid-column: 1 / -1;
}

.section-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.admin-image-upload-section {
  margin-top: 20px;
  margin-bottom: 20px;
}

.upload-dropzone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  background: #fafaf9;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--black);
  background: #f4f4f5;
}

.dropzone-content .upload-icon {
  width: 40px;
  height: 40px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.dropzone-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--black);
  margin-bottom: 4px;
}

.dropzone-content p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.dropzone-preview-img {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

.admin-colors-builder {
  margin-bottom: 20px;
}

.colors-chips-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
}

.color-chip button {
  background: none;
  border: none;
  color: var(--gray-500);
  font-size: 1rem;
  cursor: pointer;
  margin-left: 2px;
}

.color-chip button:hover {
  color: var(--accent-red);
}

.add-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-color-row input[type="color"] {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.add-color-row input[type="text"] {
  width: 200px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.admin-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

/* ── Modal ── */
.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease-out;
}

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

.admin-modal-card {
  background: var(--white);
  width: 100%;
  max-width: 620px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.admin-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-500);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--black);
}

.admin-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.admin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.admin-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--gray-500);
}

.admin-empty-state svg {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--gray-400);
}

.admin-empty-state h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.admin-empty-state p {
  font-size: 0.85rem;
}

/* ── Responsive adjustments for Admin ── */
@media (max-width: 960px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-order-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 600px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-topbar-actions {
    width: 100%;
  }

  .admin-topbar-actions button {
    flex: 1;
    justify-content: center;
  }

  .admin-search-filter-row {
    flex-direction: column;
    width: 100%;
  }

  .admin-search-input-wrap,
  .admin-filter-select-wrap {
    width: 100%;
  }

  .admin-filter-select-wrap select {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════════
   MULTI-TENANT & STORE SWITCHER STYLES (capfit.shop)
   ══════════════════════════════════════════════════════════════════ */
.store-subdomain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  color: #065f46;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.store-subdomain-pill:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10b981;
}

.store-subdomain-pill .store-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.store-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  min-width: 300px;
  z-index: 999;
  overflow: hidden;
}

.store-dropdown-header {
  padding: 10px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.store-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--gray-50);
}

.store-dropdown-item:hover {
  background: #f8fafc;
}

.store-dropdown-item.active {
  background: rgba(16, 185, 129, 0.08);
}

.store-item-name {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gray-900);
}

.store-item-subdomain {
  font-size: 0.72rem;
  color: #059669;
  font-family: monospace;
}

.store-item-badge {
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 600;
}

/* AI QUOTA BANNER IN TRY-ON VIEW */
.tryon-quota-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.tryon-quota-badge.normal {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.tryon-quota-badge.exhausted {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.quota-badge-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.quota-badge-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.quota-badge-info strong {
  font-weight: 700;
}

.quota-badge-plan {
  background: rgba(0, 0, 0, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ADMIN AI QUOTA STAT CARD */
.admin-quota-card {
  grid-column: span 2;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quota-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quota-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-800);
}

.quota-progress-track {
  width: 100%;
  height: 10px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.quota-progress-bar {
  height: 100%;
  background: #10b981;
  border-radius: 6px;
  transition: width 0.4s ease;
}

.quota-progress-bar.warning {
  background: #f59e0b;
}

.quota-progress-bar.danger {
  background: #ef4444;
}

.quota-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--gray-500);
}

/* SAAS STORES MANAGEMENT IN ADMIN */
.saas-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.saas-store-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.saas-store-card.current {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.saas-store-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.saas-store-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.saas-store-domain {
  font-size: 0.78rem;
  color: #059669;
  font-family: monospace;
  background: #ecfdf5;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.saas-store-creds {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.saas-store-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Image Cropper & Square WebP Modal ── */
.crop-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

.crop-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.crop-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #e2e8f0;
}

.crop-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.crop-modal-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crop-canvas-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: #0f172a;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.crop-canvas-wrapper:active {
  cursor: grabbing;
}

.crop-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.crop-overlay-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
}

.crop-overlay-grid::before,
.crop-overlay-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.crop-overlay-grid::before {
  top: 33.333%;
  bottom: 33.333%;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.4);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.crop-overlay-grid::after {
  left: 33.333%;
  right: 33.333%;
  top: 0;
  bottom: 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
  border-right: 1px dashed rgba(255, 255, 255, 0.4);
}

.crop-controls {
  width: 100%;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.crop-zoom-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.crop-zoom-slider {
  flex: 1;
  accent-color: #0f172a;
  cursor: pointer;
  height: 6px;
}

.crop-info-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: #64748b;
}

.crop-badge-webp {
  background: #ecfdf5;
  color: #059669;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.crop-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid #e2e8f0;
  background: #fafafa;
}

/* ══════════════════════════════════════════════════════════════
   INFORMATIONAL & CONTENT PAGES STYLING (MATCHES CAPFIT DESIGN)
   ══════════════════════════════════════════════════════════════ */

.content-view-container {
  max-width: 1080px;
  margin: 36px auto 80px;
  padding: 0 24px;
}

.content-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200, #e2e8f0);
}

.content-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--black, #0f172a);
  margin-top: 8px;
  margin-bottom: 6px;
  line-height: 1.2;
}

.content-page-subtitle {
  font-size: 0.95rem;
  color: var(--gray-500, #64748b);
  max-width: 680px;
  line-height: 1.5;
}

.content-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-xl, 16px);
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

/* ── SOBRE NOSOTROS: CUSTOMIZER & HERO ── */
.about-customizer-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl, 16px);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.about-customizer-panel {
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.customizer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.customizer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.customizer-field.full-width {
  grid-column: 1 / -1;
}

.customizer-field label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
}

.customizer-field input,
.customizer-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.customizer-field input:focus,
.customizer-field textarea:focus {
  outline: none;
  border-color: #0f172a;
  background: #ffffff;
}

.about-hero-card {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-xl, 16px);
  padding: 44px 36px;
  text-align: center;
  margin-bottom: 28px;
}

.about-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.about-hero-subtitle {
  font-size: 1.1rem;
  color: #475569;
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.about-pillar-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--gray-200, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.about-pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.about-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid #e2e8f0;
}

.about-pillar-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.about-pillar-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

.about-stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
  text-align: center;
  margin-bottom: 28px;
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── FAQ STYLES ── */
.faq-search-wrap {
  position: relative;
  margin-bottom: 24px;
}

.faq-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg, 12px);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
}

.faq-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
}

.faq-categories-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.faq-category-pill {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-category-pill.active,
.faq-category-pill:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 12px);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item.open {
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: #64748b;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.2s ease;
}

/* ── SHIPPING & RETURNS STYLES ── */
.shipping-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.shipping-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 12px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shipping-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.shipping-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.shipping-card-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.shipping-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
}

.tracking-input-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.tracking-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 12px;
  border-left: 2px solid #e2e8f0;
  margin-top: 14px;
}

.track-step {
  font-size: 0.86rem;
  color: #64748b;
}

.track-step.done {
  color: #059669;
  font-weight: 600;
}

.track-step.active {
  color: #0f172a;
  font-weight: 700;
}

/* ── RETURNS / CAMBIOS STEPS ── */
.return-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.return-step-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 12px);
  padding: 22px;
  position: relative;
}

.return-step-num {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.8rem;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
}

/* ── CONTACT GRID ── */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  align-items: start;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 12px);
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  transition: all 0.15s ease;
}

.contact-channel-card:hover {
  border-color: #0f172a;
  transform: translateX(3px);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 16px);
  padding: 28px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* ── LEGAL ARTICLES ── */
.legal-article-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.legal-article-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.legal-article-body {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
}

/* ── RESPONSIVE ADAPTATIONS ── */
@media (max-width: 900px) {
  .about-grid-3,
  .shipping-cards-grid,
  .return-steps-grid,
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-ribbon {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .content-page-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ── EDIT SECTION HEADER BUTTONS ── */
.btn-edit-section-header {
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.btn-edit-section-header:hover {
  background: var(--gray-100);
  color: var(--black);
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

/* ── ADMIN SECTION EDITOR STYLES ── */
.section-editor-subtabs-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.section-editor-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.section-editor-subtab-btn:hover {
  background: var(--gray-200);
  color: var(--black);
}

.section-editor-subtab-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.section-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.section-form-grid .full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .section-form-grid {
    grid-template-columns: 1fr;
  }
}

.section-editor-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ══════════════════════════════════════════════════════════════
   SUBSCRIPTIONS & PLANS MODULE (/suscripcion)
   ══════════════════════════════════════════════════════════════ */
.suscripcion-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 20px 80px 20px;
}

.sub-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.sub-back-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.15s;
}

.sub-back-link:hover {
  color: var(--black);
}

.sub-currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Usage & Status Hero Banner */
.sub-usage-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 30px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.2);
}

.sub-usage-left {
  flex: 1;
  min-width: 300px;
}

.sub-usage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.sub-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
  animation: pulse 1.8s infinite;
}

.sub-usage-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.sub-usage-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0 0 20px 0;
  max-width: 500px;
  line-height: 1.5;
}

.sub-progress-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
}

.sub-progress-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.sub-progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.sub-progress-bar-fill.ok { background: #10b981; }
.sub-progress-bar-fill.warning { background: #f59e0b; }
.sub-progress-bar-fill.danger { background: #ef4444; }

.sub-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.sub-usage-stats-box {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sub-stat-unit {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  min-width: 130px;
}

.sub-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 4px;
}

.sub-stat-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Section Title */
.sub-section-title-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.sub-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.sub-section-sub {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto;
}

/* Plans Grid */
.sub-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.sub-plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.sub-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.sub-plan-card.current-plan-card {
  border: 2px solid #0f172a;
  background: #fafafa;
}

.sub-plan-card.popular-plan-card {
  border: 2px solid #10b981;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

.sub-popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.sub-tier-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.sub-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
}

.sub-plan-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.sub-plan-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  min-height: 38px;
  line-height: 1.4;
}

.sub-price-block {
  padding: 16px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin: 16px 0;
}

.sub-price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sub-price-val {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.sub-price-period {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.sub-usd-equiv {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 4px;
}

.sub-usd-equiv small {
  display: block;
  color: #94a3b8;
  font-size: 0.72rem;
  margin-top: 1px;
}

.sub-quota-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.sub-quota-highlight strong {
  display: block;
  font-size: 0.85rem;
  color: #166534;
}

.sub-quota-highlight span {
  font-size: 0.72rem;
  color: #15803d;
}

.sub-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.sub-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.35;
}

.sub-card-action {
  margin-top: auto;
}

.sub-btn-subscribe {
  width: 100%;
  padding: 12px 14px;
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.sub-btn-subscribe:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.sub-btn-subscribe.btn-popular {
  background: #009ee3; /* Mercado Pago Blue */
  box-shadow: 0 3px 12px rgba(0, 158, 227, 0.3);
}

.sub-btn-subscribe.btn-popular:hover {
  background: #0087c2;
}

.sub-btn-current {
  width: 100%;
  padding: 12px 14px;
  background: #e2e8f0;
  color: #475569;
  border: none;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: default;
}

/* FAQ Section */
.sub-faq-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 32px;
  margin-top: 40px;
}

.sub-faq-header {
  text-align: center;
  margin-bottom: 28px;
}

.sub-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 768px) {
  .sub-faq-grid {
    grid-template-columns: 1fr;
  }
}

.sub-faq-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.sub-faq-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.sub-faq-card p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════
   CAPFIT ID — Hybrid Buyer Account & Owner Recognition UI
   ══════════════════════════════════════════════════════════════ */

.nav-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  color: var(--black);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-account-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
}

.nav-account-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.nav-owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid #fde68a;
}

/* ── CAPFIT MODAL BACKDROP & CARD ── */
.capfit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.capfit-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.capfit-modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gray-200);
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.capfit-modal-backdrop.active .capfit-modal-card {
  transform: translateY(0) scale(1);
}

.capfit-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--bg-card);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.capfit-modal-close:hover {
  background: var(--gray-100);
  color: var(--black);
}

.capfit-modal-close svg {
  width: 18px;
  height: 18px;
}

.capfit-modal-inner {
  padding: 28px 24px;
}

/* ── AUTH BOX (LOGIN / REGISTER) ── */
.capfit-auth-box {
  text-align: center;
}

.capfit-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
}

.capfit-id-logo {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}

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

.capfit-id-tag {
  background: var(--black);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.capfit-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.capfit-modal-sub {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.capfit-auth-tabs {
  display: flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.capfit-auth-tab {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.capfit-auth-tab.active {
  background: #ffffff;
  color: var(--black);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn-google-auth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-google-auth:hover {
  background: var(--gray-100);
  border-color: var(--gray-500);
}

.capfit-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.capfit-divider::before,
.capfit-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--gray-200);
}

.capfit-divider span {
  padding: 0 12px;
}

.capfit-form-field {
  text-align: left;
  margin-bottom: 14px;
}

.capfit-form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.capfit-form-field input,
.capfit-form-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  background: var(--bg-card);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition-fast);
}

.capfit-form-field input:focus,
.capfit-form-field select:focus {
  border-color: var(--black);
}

.capfit-form-row {
  display: flex;
  gap: 12px;
}

.capfit-form-field.half { flex: 1; }
.capfit-form-field.one-third { flex: 1; }
.capfit-form-field.two-thirds { flex: 2; }

.btn-capfit-primary {
  width: 100%;
  padding: 12px 18px;
  background: var(--black);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  transition: all var(--transition-fast);
}

.btn-capfit-primary:hover {
  background: var(--black-hover);
  transform: translateY(-1px);
}

.btn-capfit-secondary {
  padding: 10px 16px;
  background: var(--gray-100);
  color: var(--black);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-capfit-secondary:hover {
  background: var(--gray-200);
}

.capfit-error-alert {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.82rem;
  margin-bottom: 12px;
  text-align: left;
}

.capfit-auth-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.auth-helper-text {
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.45;
  display: block;
}

/* ── PROFILE HEADER & OWNER BANNER ── */
.capfit-profile-header {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 18px;
  margin-bottom: 16px;
}

.capfit-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.capfit-user-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.capfit-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capfit-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capfit-user-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.capfit-global-tag {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.capfit-user-email {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.capfit-owner-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.owner-badge-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #92400e;
}

.btn-owner-backoffice {
  padding: 6px 14px;
  background: #78350f;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-owner-backoffice:hover {
  background: #92400e;
}

/* ── PROFILE TABS NAVIGATION ── */
.capfit-profile-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.profile-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: none;
  border: none;
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.profile-nav-tab svg {
  width: 15px;
  height: 15px;
}

.profile-nav-tab:hover {
  background: var(--gray-100);
  color: var(--black);
}

.profile-nav-tab.active {
  background: var(--black);
  color: #ffffff;
}

/* ── FIT PROFILE SECTION ── */
.fit-highlight-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fit-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
}

.fit-size-val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--black);
  display: block;
}

.fit-size-desc {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.cm-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cm-input-row input {
  max-width: 140px;
}

.unit-pill {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
}

.live-size-preview {
  font-size: 0.82rem;
  color: var(--gray-700);
  margin-top: 6px;
}

.styles-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.style-checkbox-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--bg-card);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.style-checkbox-pill input {
  display: none;
}

.style-checkbox-pill.selected {
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
  margin-top: 2px;
}

/* ── SELFIES TAB ── */
.selfies-header-desc {
  margin-bottom: 16px;
}

.selfies-header-desc p {
  font-size: 0.84rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 12px;
}

.selfies-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-upload-selfie,
.btn-camera-selfie {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-upload-selfie {
  background: var(--black);
  color: #ffffff;
  border: none;
}

.btn-upload-selfie:hover {
  background: var(--black-hover);
}

.btn-camera-selfie {
  background: var(--bg-card);
  color: var(--black);
  border: 1px solid var(--gray-300);
}

.btn-camera-selfie:hover {
  background: var(--gray-100);
}

.selfies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.selfie-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.selfie-card.default {
  border-color: var(--black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.selfie-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

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

.selfie-badge-default {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--black);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.selfie-actions {
  padding: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-use-tryon {
  flex: 1;
  padding: 6px 8px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-icon-del {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  background: #ffffff;
  color: #ef4444;
  border-radius: 8px;
  cursor: pointer;
}

.btn-icon-del:hover {
  background: #fef2f2;
}

.btn-icon-del svg {
  width: 14px;
  height: 14px;
}

/* ── TRY-ON QUICK SELFIES BAR ── */
.tryon-capfit-selfies-bar {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 12px 14px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}

.capfit-selfies-header {
  font-size: 0.78rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.tryon-selfies-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tryon-selfie-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--gray-200);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tryon-selfie-chip:hover {
  background: var(--gray-100);
  border-color: var(--black);
}

.tryon-selfie-chip.active-default {
  border-color: var(--black);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tryon-selfie-chip.add-chip {
  padding: 6px 12px;
  background: #ffffff;
  border-style: dashed;
}

/* ── ADDRESSES & ORDERS LISTS ── */
.addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.addresses-header p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.btn-add-address {
  padding: 7px 14px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.new-address-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.addresses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.address-item-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.address-item-card.default {
  border-color: var(--black);
  background: #fafaf9;
}

.badge-addr-default {
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.address-item-text {
  font-size: 0.88rem;
  color: var(--black);
  margin: 4px 0 2px 0;
}

.address-item-sub {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.orders-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-history-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 16px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.order-card-id {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--black);
  display: block;
}

.order-card-date {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.order-card-status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.order-card-items {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
  margin-bottom: 10px;
}

.order-card-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.order-item-qty {
  font-weight: 700;
  color: var(--black);
}

.order-item-name {
  flex: 1;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}

.tracking-pill {
  background: #eff6ff;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  display: inline-block;
}

/* ── WISHLIST TAB ── */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.wishlist-item-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wishlist-item-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.wishlist-item-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishlist-item-details h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wishlist-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--black);
}

.wishlist-btns {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.btn-wishlist-try,
.btn-wishlist-cart {
  flex: 1;
  padding: 5px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
}

.btn-wishlist-try {
  background: var(--black);
  color: #fff;
  border: none;
}

.btn-wishlist-cart {
  background: var(--bg-card);
  color: var(--black);
  border: 1px solid var(--gray-300);
}

/* ── EMPTY STATES & FOOTER ── */
.empty-state-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-main);
  border: 1px dashed var(--gray-300);
  border-radius: 18px;
}

.empty-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.empty-state-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.empty-state-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  max-width: 320px;
  margin: 0 auto;
}

.capfit-profile-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
}

.btn-signout {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.btn-signout:hover {
  background: #fef2f2;
}







