/* ═══════════════════════════════════════════════════════════════
   PERISSINOTTO Y ARMELLIN — Calzado Artesanal
   styles.css · Diseño elegante cuero/artesanal
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ────────────────────────────────────────────────── */
:root {
  --color-leather:    #8B5E3C;
  --color-leather-dk: #6B4226;
  --color-leather-lt: #C4956A;
  --color-cream:      #F5EFE6;
  --color-beige:      #E8D5B7;
  --color-warm:       #F9F4EE;
  --color-dark:       #1A1008;
  --color-dark-soft:  #2D1F10;
  --color-text:       #2C1A09;
  --color-text-muted: #7A6350;
  --color-white:      #FFFDF8;
  --color-gold:       #C9963A;
  --color-success:    #4A7C59;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --section-pad: 5rem;
  --gutter:      1.5rem;
  --header-h:    72px;

  --shadow-sm:  0 2px 8px rgba(26,16,8,.08);
  --shadow-md:  0 8px 32px rgba(26,16,8,.12);
  --shadow-lg:  0 20px 60px rgba(26,16,8,.18);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--color-white); color: var(--color-text); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ── TIPOGRAFÍA ───────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; }
em { font-style: italic; color: var(--color-leather); }
strong { font-weight: 600; }

/* ── SECCIONES COMUNES ────────────────────────────────────────── */
.section { padding: var(--section-pad) var(--gutter); max-width: 1200px; margin: 0 auto; }
.bg-warm { background: var(--color-white); max-width: 100%; }
.bg-dark  { background: var(--color-dark); max-width: 100%; color: var(--color-cream); }

.section-header { text-align: center; margin-bottom: 3rem; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-leather);
  display: block;
  margin-bottom: .6rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--color-text-muted); max-width: 520px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 3rem; }

/* ── BOTONES ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: var(--color-leather);
  color: var(--color-white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.btn-primary:hover { background: var(--color-leather-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,94,60,.4); }

.btn-outline {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: transparent;
  color: var(--color-leather);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-leather);
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
}
.btn-outline:hover { background: var(--color-leather); color: var(--color-white); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  padding: .85rem 2.2rem;
  background: transparent;
  color: var(--color-white);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  transition: all .25s var(--ease);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.1); }

.full-width { width: 100%; text-align: center; display: block; }
.btn-large  { padding: 1.1rem 2.5rem; font-size: .9rem; }

/* ── HEADER ───────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,94,60,.12);
  transition: box-shadow .3s var(--ease);
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(26,16,8,.1); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo { flex: 0 0 auto; }

.logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: .01em;
  line-height: 1.2;
}
.logo-main .amp { color: var(--color-leather); }

.logo-sub {
  display: block;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

#main-nav { margin-left: auto; }
#main-nav ul { display: flex; gap: 2.2rem; }

.nav-link {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--color-leather);
  transition: width .3s var(--ease);
}
.nav-link:hover,
.nav-link.active { color: var(--color-leather); }
.nav-link.active::after,
.nav-link:hover::after { width: 100%; }

.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s;
  color: var(--color-text);
}
.cart-btn:hover { background: var(--color-beige); }

.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--color-leather);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; width: 38px; }
.hamburger span { display: block; height: 1.5px; background: var(--color-dark); transition: all .3s; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── CARRITO DRAWER ───────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(26,16,8,.5);
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--color-white);
  z-index: 960;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--color-beige);
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.3rem; }

.cart-close {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.cart-close:hover { background: var(--color-beige); color: var(--color-dark); }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-beige);
}
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-beige); }
.cart-item-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: .2rem; }
.cart-item-detail { font-size: .75rem; color: var(--color-text-muted); margin-bottom: .5rem; }
.cart-item-price { font-weight: 600; font-size: .9rem; color: var(--color-leather); }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }

.qty-controls { display: flex; align-items: center; gap: .4rem; }
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  color: var(--color-text);
  background: var(--color-white);
}
.qty-btn:hover { background: var(--color-beige); }
.qty-num { width: 24px; text-align: center; font-size: .9rem; font-weight: 600; }
.cart-item-remove { font-size: .7rem; color: var(--color-text-muted); text-decoration: underline; cursor: pointer; transition: color .2s; }
.cart-item-remove:hover { color: #c0392b; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-beige);
  display: flex; flex-direction: column; gap: .8rem;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.1rem; font-weight: 700; font-family: var(--font-display);
  margin-bottom: .3rem;
}
.cart-empty {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 2rem;
}
.cart-empty p { font-size: 1rem; font-weight: 500; }
.cart-empty span { font-size: .85rem; }

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--color-dark);
  color: var(--color-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(139,94,60,.35) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(201,150,58,.15) 0%, transparent 50%);
}
.hero-texture::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 1px, transparent 1px, transparent 8px);
}
.hero-content { position: relative; z-index: 2; padding: 4rem var(--gutter) 4rem 8vw; max-width: 640px; }
.hero-eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--color-leather-lt); margin-bottom: 1.2rem; }
.hero-title { color: var(--color-white); font-weight: 300; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title em { color: var(--color-leather-lt); font-style: italic; }
.hero-desc { color: rgba(245,239,230,.75); font-size: 1.05rem; max-width: 440px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: .8rem; flex-wrap: nowrap; }
.badge {
  font-size: .72rem; font-weight: 500; letter-spacing: .08em;
  padding: .35rem .9rem;
  border: 1px solid rgba(196,149,106,.4);
  border-radius: 999px;
  color: rgba(245,239,230,.8);
  white-space: nowrap;
}
.hero-visual { position: relative; z-index: 2; padding: 6rem 8vw 4rem var(--gutter); display: flex; align-items: center; justify-content: center; }
.hero-img-wrap { position: relative; max-width: 420px; width: 100%; }
.hero-img { width: 100%; border-radius: var(--radius-md); box-shadow: 0 40px 80px rgba(0,0,0,.5); aspect-ratio: 4/5; object-fit: cover; }
.hero-img-caption {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-leather);
  color: white;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.hero-since {
  position: absolute; top: 2rem; right: 1.5rem;
  background: var(--color-gold); color: var(--color-dark);
  padding: 1.2rem 1.5rem; border-radius: var(--radius-sm);
  text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.hero-since .year { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.hero-since .year-label { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; line-height: 1.3; opacity: .85; }
.scroll-hint {
  position: absolute; bottom: 2rem; left: 8vw;
  display: flex; align-items: center; gap: 1rem;
  z-index: 2; color: rgba(245,239,230,.5);
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
}
.scroll-line { width: 40px; height: 1px; background: rgba(245,239,230,.3); position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--color-leather-lt);
  animation: scrollAnim 2s infinite;
}
@keyframes scrollAnim { to { left: 100%; } }

/* ── VALORES STRIP ────────────────────────────────────────────── */
.values-strip { background: var(--color-leather); color: var(--color-white); display: flex; flex-wrap: wrap; justify-content: center; }
.value-item {
  display: flex; align-items: center; gap: .8rem;
  padding: 1.3rem 2.5rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .05em;
  border-right: 1px solid rgba(255,255,255,.15);
  flex: 1 1 200px; justify-content: center;
}
.value-item:last-child { border-right: none; }

/* ── INTRO SECTION ────────────────────────────────────────────── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.intro-images { position: relative; }
.intro-img-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.intro-img-secondary {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 55%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 5px solid var(--color-white);
  box-shadow: var(--shadow-md);
}
.intro-text p { margin-bottom: 1.2rem; color: var(--color-text-muted); line-height: 1.8; }
.intro-text .section-title { margin-bottom: 1.5rem; }
.intro-text .btn-outline { margin-top: .5rem; }

/* ── PRODUCTOS GRID ───────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.products-grid--full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.product-card { background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1/1; background: var(--color-warm); }
/*cambiar tamaño de las fotos*/
.product-card-img { width: 100%; height: 120%; object-fit: contain; object-position: center; transform: scale(1.2); transition: transform .5s var(--ease); }
.product-card:hover .product-card-img { transform: scale(1.4); }
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-tag { position: absolute; top: .8rem; left: .8rem; background: var(--color-leather); color: white; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; }
.product-card-body { padding: 1.3rem; }
.product-card-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: .3rem; }
.product-card-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .8rem; }
.product-card-colors { display: flex; gap: .4rem; margin-bottom: .8rem; }
.color-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0,0,0,.1); cursor: pointer; transition: transform .2s; }
.color-dot:hover { transform: scale(1.2); }
.product-card-sizes { font-size: .72rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--color-leather-dk); }
.btn-add-cart { padding: .55rem 1.1rem; background: var(--color-leather); color: white; font-size: .75rem; font-weight: 600; letter-spacing: .06em; border-radius: var(--radius-sm); transition: all .2s var(--ease); }
.btn-add-cart:hover { background: var(--color-leather-dk); transform: translateY(-1px); }

/* ── PROCESS STEPS ────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.5rem; }
.process-step { border-left: 2px solid var(--color-beige); padding-left: 1.5rem; }
.step-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--color-leather); opacity: .4; line-height: 1; margin-bottom: .8rem; }
.step-content h4 { margin-bottom: .4rem; }
.step-content p { font-size: .9rem; color: var(--color-text-muted); }

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 1.8rem; }
.stars { color: var(--color-gold); font-size: 1rem; margin-bottom: .8rem; letter-spacing: .1em; }
.testimonial-card p { font-style: italic; color: rgba(245,239,230,.8); font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.testimonial-author { font-size: .8rem; color: rgba(245,239,230,.5); font-weight: 600; }

/* ── PAGE HERO (subpáginas) ───────────────────────────────────── */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero--historia { background: linear-gradient(135deg, #2D1F10 0%, #1A1008 60%); }
.page-hero--catalogo { background: linear-gradient(135deg, #3D2510 0%, #1A1008 70%); }
.page-hero--checkout { background: linear-gradient(135deg, #1A2510 0%, #0D1A08 70%); }
.page-hero--contacto { background: linear-gradient(135deg, #101828 0%, #0A1018 70%); }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(139,94,60,.3) 0%, transparent 55%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; width: 100%; }
.page-hero-content h1 { color: var(--color-white); }
.page-hero-content p { color: rgba(245,239,230,.7); margin-top: .8rem; max-width: 480px; }

/* ── HISTORIA ─────────────────────────────────────────────────── */
.historia-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.historia-intro-text h2 { margin-bottom: 1.5rem; }
.historia-intro-text p { color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.8; }
.historia-intro-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* Timeline */
.timeline { position: relative; }
.timeline { display: none; } 
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; margin-bottom: 3rem; align-items: start; }
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--color-leather);
  text-align: right; padding-top: .3rem; position: relative;
}
.timeline-year { display: none; } 

.timeline-content { background: var(--color-white); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-left: 1.5rem; }
.timeline-content h4 { margin-bottom: .5rem; color: var(--color-leather-dk); }
.timeline-content p { font-size: .9rem; color: var(--color-text-muted); }

/* Valores */
.valores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.valor-card { text-align: center; padding: 2.5rem 1.5rem; border: 1px solid var(--color-beige); border-radius: var(--radius-md); transition: all .3s var(--ease); }
.valor-card:hover { border-color: var(--color-leather); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.valor-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.valor-card h4 { margin-bottom: .6rem; }
.valor-card p { font-size: .88rem; color: var(--color-text-muted); }

/* Cita fundador */
.founder-quote { max-width: 700px; margin: 0 auto; text-align: center; }
.founder-quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; color: var(--color-cream); line-height: 1.4; margin-bottom: 1.5rem; }
.founder-quote cite { font-size: .8rem; color: var(--color-leather-lt); letter-spacing: .1em; text-transform: uppercase; }

/* ── CATALOG CONTROLS ─────────────────────────────────────────── */
.catalog-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem var(--gutter);
  max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid var(--color-beige);
}
.catalog-filters { display: flex; gap: .6rem; flex-wrap: wrap; }
.filter-btn { padding: .45rem 1.1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; border: 1.5px solid var(--color-beige); border-radius: 999px; color: var(--color-text-muted); transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--color-leather); border-color: var(--color-leather); color: white; }
.catalog-count { font-size: .8rem; color: var(--color-text-muted); white-space: nowrap; }

/* ── GUARANTEE STRIP (catálogo) ───────────────────────────────── */
.guarantee-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.guarantee-item { display: flex; align-items: flex-start; gap: 1rem; }
.guarantee-icon { font-size: 1.8rem; flex-shrink: 0; }
.guarantee-item strong { display: block; font-weight: 700; margin-bottom: .2rem; }
.guarantee-item p { font-size: .85rem; color: var(--color-text-muted); }

/* ── MODAL DETALLE PRODUCTO ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(26,16,8,.6);
  z-index: 980;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal-overlay.hidden { display: none !important; }

.product-modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 860px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { transform: scale(.95) translateY(20px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 1;
  width: 36px; height: 36px;
  background: var(--color-beige); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--color-text-muted);
  transition: all .2s;
}
.modal-close:hover { color: var(--color-dark); transform: scale(1.1); }

.modal-body { display: grid; grid-template-columns: 1fr 1fr; }
.modal-img-wrap { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: contain; background: var(--color-warm); padding: 1rem; }
.modal-info { padding: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.modal-eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--color-leather); }
.modal-name { font-family: var(--font-display); font-size: 1.8rem; line-height: 1.2; }
.modal-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-leather-dk); }
.modal-desc { font-size: .9rem; color: var(--color-text-muted); line-height: 1.8; }
.modal-section-title { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: .5rem; }
.modal-colors { display: flex; gap: .6rem; }
.modal-color-option { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,0,0,.08); cursor: pointer; transition: all .2s; }
.modal-color-option.selected, .modal-color-option:hover { transform: scale(1.2); box-shadow: 0 0 0 3px var(--color-leather); }
.modal-sizes { display: flex; gap: .5rem; flex-wrap: wrap; }
.modal-size-btn { width: 44px; height: 36px; border: 1.5px solid var(--color-beige); border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .2s; color: var(--color-text); background: var(--color-white); }
.modal-size-btn.selected, .modal-size-btn:hover { background: var(--color-leather); border-color: var(--color-leather); color: white; }
.modal-add-btn { margin-top: auto; width: 100%; padding: 1rem; background: var(--color-leather); color: white; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--radius-sm); transition: all .2s var(--ease); }
.modal-add-btn:hover { background: var(--color-leather-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139,94,60,.4); }
.modal-handmade { font-size: .75rem; color: var(--color-text-muted); text-align: center; border-top: 1px solid var(--color-beige); padding-top: .8rem; }

/* ── CHECKOUT ─────────────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }

.form-section { margin-bottom: 2.5rem; }
.form-section h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.5rem; padding-bottom: .8rem; border-bottom: 1px solid var(--color-beige); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row .form-group.full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-beige);
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--color-text);
  background: var(--color-white);
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--color-leather); }
.form-group input.error { border-color: #c0392b; }
.form-error { font-size: .75rem; color: #c0392b; min-height: 1rem; display: block; }

.payment-options { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.payment-option { cursor: pointer; }
.payment-option input[type="radio"] { display: none; }
.payment-label { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1.5px solid var(--color-beige); border-radius: var(--radius-sm); transition: all .2s; font-size: .9rem; }
.payment-option input:checked + .payment-label { border-color: var(--color-leather); background: rgba(139,94,60,.05); }
.payment-label:hover { border-color: var(--color-leather-lt); }
.payment-icon { font-size: 1.2rem; }
.card-fields { padding: 1rem; background: var(--color-warm); border-radius: var(--radius-md); }

.checkout-summary { background: var(--color-warm); border-radius: var(--radius-md); padding: 1.8rem; border: 1px solid var(--color-beige); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.checkout-summary h3 { font-family: var(--font-display); margin-bottom: 1.5rem; }
.checkout-items-list { margin-bottom: 1.5rem; }
.checkout-item { display: flex; align-items: center; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--color-beige); font-size: .85rem; }
.checkout-item img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-item-name { flex: 1; font-weight: 500; }
.checkout-item-price { font-weight: 700; color: var(--color-leather-dk); }
.checkout-totals { margin-bottom: 1.5rem; }
.checkout-row { display: flex; justify-content: space-between; font-size: .9rem; padding: .4rem 0; color: var(--color-text-muted); }
.checkout-row--total { font-weight: 700; font-size: 1.1rem; color: var(--color-text); border-top: 2px solid var(--color-beige); padding-top: .8rem; margin-top: .4rem; }
.text-green { color: var(--color-success); font-weight: 600; }
.checkout-guarantee { display: flex; flex-direction: column; gap: .4rem; font-size: .78rem; color: var(--color-text-muted); border-top: 1px solid var(--color-beige); padding-top: 1rem; }
.checkout-note { text-align: center; font-size: .75rem; color: var(--color-text-muted); margin-top: .5rem; }

/* Checkout éxito */
.checkout-success { max-width: 560px; margin: 3rem auto; text-align: center; padding: 3rem var(--gutter); }
.checkout-success h2 { margin-bottom: 1rem; }
.checkout-success p { color: var(--color-text-muted); margin-bottom: 1rem; }
.success-detail { font-style: italic; font-size: .9rem; }
.success-icon { width: 80px; height: 80px; background: var(--color-success); color: white; font-size: 2rem; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 8px 24px rgba(74,124,89,.4); }
.success-icon.small { width: 56px; height: 56px; font-size: 1.4rem; }

/* ── CONTACTO ─────────────────────────────────────────────────── */
.contacto-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contacto-form-wrap h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-success { text-align: center; padding: 2rem; background: rgba(74,124,89,.08); border: 1px solid rgba(74,124,89,.2); border-radius: var(--radius-md); }
.contact-success h4 { color: var(--color-success); margin: .8rem 0 .4rem; }
.contact-success p { font-size: .9rem; color: var(--color-text-muted); }
.info-block { margin-bottom: 1.8rem; }
.info-block h4 { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-leather); margin-bottom: .5rem; }
.info-block p, .info-block a { font-size: .95rem; color: var(--color-text-muted); line-height: 1.7; }
.info-block a:hover { color: var(--color-leather); text-decoration: underline; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-beige); }

/* ── FOOTER ───────────────────────────────────────────────────── */
#site-footer { background: var(--color-dark); color: var(--color-cream); margin-top: 4rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 4rem var(--gutter) 3rem; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 4rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 1rem; }
.footer-logo span { color: var(--color-leather-lt); }
.footer-brand p { font-size: .88rem; color: rgba(245,239,230,.6); line-height: 1.7; margin-bottom: .6rem; }
.footer-made { color: rgba(245,239,230,.5) !important; font-size: .8rem !important; }
.footer-links h5, .footer-contact h5 { font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-leather-lt); margin-bottom: 1.2rem; }
.footer-links ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .9rem; color: rgba(245,239,230,.6); transition: color .2s; }
.footer-links a:hover { color: var(--color-leather-lt); }
.footer-contact p { font-size: .88rem; color: rgba(245,239,230,.6); margin-bottom: .4rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem var(--gutter); text-align: center; }
.footer-bottom p { font-size: .75rem; color: rgba(245,239,230,.35); letter-spacing: .05em; }

/* ── UTILS ────────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── ANIMACIÓN ENTRADA ────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
main > * { animation: fadeInUp .5s cubic-bezier(.4,0,.2,1) both; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-pad: 3.5rem; }
  #main-nav { display: none; }
  .hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 3rem; }
  .hero-visual { display: none; }
  .hero-content { padding: 3rem var(--gutter); max-width: 100%; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-img-secondary { display: none; }
  .intro-img-main { aspect-ratio: 16/9; }
  .historia-intro { grid-template-columns: 1fr; }
  .historia-intro-img { display: none; }
  .timeline::before { left: 80px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 1rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .contacto-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img-wrap { border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 16/9; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }

  /* Nav abierto */
  #main-nav.open {
    display: block !important;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-white);
    z-index: 890;
    box-shadow: 0 8px 24px rgba(26,16,8,.12);
    border-top: 1px solid var(--color-beige);
  }
  #main-nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
  }
  #main-nav.open ul li {
    border-bottom: 1px solid var(--color-beige);
    width: 100%;
  }
  #main-nav.open ul li a {
    display: block;
    padding: 1.2rem 2rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-text);
    width: 100%;
  }
  #main-nav.open ul li a:hover,
  #main-nav.open ul li a.active {
    color: var(--color-leather);
    background: var(--color-warm);
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --section-pad: 2.5rem; --gutter: 1rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid--full { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .catalog-controls { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline::before { left: 60px; }
  .timeline-year { font-size: 1rem; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { min-height: 35vh; }
  .guarantee-strip { grid-template-columns: 1fr 1fr; }

  /* Mobile nav */
  #main-nav { display: none; }
  .hamburger { display: flex; }

  #main-nav.open {
    display: flex !important;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-white);
    z-index: 890;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #main-nav.open ul { flex-direction: column; gap: 0; width: 100%; text-align: center; }
  #main-nav.open li { border-bottom: 1px solid var(--color-beige); }
  .nav-link { display: block; padding: 1.2rem; font-size: .9rem; }
}

/* boton de wahatsapp */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  z-index: 9999;
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
}



/*estilo invierno verano catalogo*/

.filters-wrap {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.season-filters {
  gap: .6rem;
}

.season-btn {
  padding: .45rem 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  border: 1.5px solid var(--color-beige);
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: all .2s;
  background: transparent;
  cursor: pointer;
}

.season-btn:hover,
.season-btn.active {
  background: var(--color-leather-dk);
  border-color: var(--color-leather-dk);
  color: white;
}

/* ── SISTEMA DE TAREAS — MODAL ────────────────────────────────── */
.modal-tarea-badge {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--color-warm);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-md);
  padding: .65rem 1rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.modal-tarea-badge svg { flex-shrink: 0; color: var(--color-leather); }
.modal-tarea-badge strong { color: var(--color-leather); font-weight: 600; }

.modal-price {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: 1rem;
}
.price-per-pair {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.2;
}
.price-tarea-calc {
  font-size: .85rem;
  color: var(--color-leather);
  font-weight: 600;
}
.price-consultar {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.tarea-distribution {
  background: var(--color-warm);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--color-beige);
}
.tarea-dist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .8rem;
}
.tarea-dist-header .modal-section-title { margin: 0; }

.tarea-counter {
  font-size: .82rem;
  font-weight: 700;
  background: var(--color-white);
  border: 1.5px solid var(--color-beige);
  border-radius: 999px;
  padding: .25rem .85rem;
  color: var(--color-text);
  white-space: nowrap;
}

.tarea-sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .45rem;
  margin-bottom: .7rem;
}
.tarea-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  padding: .4rem .65rem;
  transition: border-color .2s;
}
.tarea-size-row:has(.tarea-size-qty:not(:empty)) { border-color: var(--color-beige); }

.tarea-size-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--color-dark);
  min-width: 26px;
}
.tarea-size-controls {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.tarea-size-controls .qty-btn {
  width: 22px;
  height: 22px;
  font-size: .85rem;
  padding: 0;
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tarea-size-controls .qty-btn:hover {
  background: var(--color-leather);
  color: white;
  border-color: var(--color-leather);
}
.tarea-size-qty {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  font-size: .9rem;
}

.tarea-dist-info {
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  padding: .45rem .8rem;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.tarea-dist-info.pending { color: var(--color-text-muted); background: transparent; }
.tarea-dist-info.complete { color: var(--color-success); background: rgba(74,124,89,.1); }
.tarea-dist-info.error { color: #c0392b; background: rgba(192,57,43,.08); }

.modal-qty-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 .8rem;
}
.modal-qty-wrap .modal-section-title { margin: 0; }

.modal-tarea-qty-controls {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.modal-tarea-qty-controls .qty-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--color-beige);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.modal-tarea-qty-controls .qty-btn:hover {
  background: var(--color-leather);
  color: white;
  border-color: var(--color-leather);
}
.modal-tarea-qty-controls .qty-num {
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
}

.modal-add-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── SISTEMA DE TAREAS — CARRITO ──────────────────────────────── */
.cart-item-dist {
  font-size: .7rem;
  color: var(--color-text-muted);
  margin-top: .1rem;
  line-height: 1.5;
  word-break: break-word;
}

/* ── SISTEMA DE TAREAS — TARJETA ──────────────────────────────── */
.product-price-wrap {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.product-tarea-price {
  font-size: .75rem;
  color: var(--color-leather);
  font-weight: 600;
}

/* ── INSTAGRAM SECTION ────────────────────────────────────────── */
.instagram-section {
  background: var(--color-dark);
  padding: var(--section-pad) var(--gutter);
  text-align: center;
}
.instagram-section .section-eyebrow { color: var(--color-leather-lt); }
.instagram-section .section-title { color: var(--color-cream); margin-bottom: .5rem; }

.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: var(--color-beige);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: .03em;
}
.instagram-handle svg { color: var(--color-leather-lt); }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.instagram-placeholder {
  aspect-ratio: 1;
  background: var(--color-dark-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: opacity .2s;
}
.instagram-placeholder:hover { opacity: .8; }
.instagram-placeholder svg { opacity: .15; color: var(--color-cream); }

.instagram-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  color: var(--color-cream);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s var(--ease);
}
.instagram-cta:hover {
  border-color: var(--color-leather-lt);
  color: var(--color-leather-lt);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .tarea-sizes-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .instagram-grid { max-width: 100%; }
}