/* M&A Designs — style.css v4 */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;900&family=Questrial&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #c194e6;
  --purple-light: #7C3AED;
  --purple-pale: #EDE9FE;
  --purple-bg: #F5F3FF;
  --black: #111;
  --gray-bg: #F3F4F6;
  --gray-bg2: #e3e4e9;
  --gray-card: #E9E9E9;
  --text: #1a1a1a;
  --text-muted: #666;
  --white: #eff0f5;
  --white2: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --transition: .2s ease;
  /* Padding lateral consistente en toda la web */
  --pad: clamp(16px, 4vw, 56px);
  /* Tipografía */
  --font-body-family: Questrial, sans-serif;
  --font-body-style: normal;
  --font-body-weight: 400;
  --font-body-weight-bold: 700;
  --font-heading-family: Archivo, sans-serif;
  --font-heading-style: normal;
  --font-heading-weight: 700;
  --font-body-scale: 1.0;
  --font-heading-scale: 1.1;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body-family); font-style: var(--font-body-style); font-weight: var(--font-body-weight); color: var(--text); background: var(--white); line-height: 1.6; }
h1,h2,h3,h4,h5,h6,
.logo-ma, .section-title, .catalog-title, .btn,
.product-info h1, .footer h3, .footer h4,
.admin-sidebar-logo span, .admin-topbar h1 {
  font-family: var(--font-heading-family);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ══════════════════════════════════════════
   ANNOUNCEMENT BAR
══════════════════════════════════════════ */
.announcement-bar {
  background: #111; color: #fff; text-align: center;
  font-size: .82rem; overflow: hidden; position: relative; height: 36px;
}
.announcement-slides {
  position: absolute; inset: 0; display: flex; flex-direction: column;
}
.announcement-slide {
  height: 36px; display: flex; align-items: center; justify-content: center;
  white-space: nowrap; font-size: .82rem; flex-shrink: 0; padding: 0 16px;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white2); border-bottom: 1px solid #eee;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 13px var(--pad);
}
.header-left  { display: flex; align-items: center; }
.header-center { display: flex; justify-content: center; }
.header-right  { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }

.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo img { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-ma { font-size: 1.2rem; font-weight: 900; color: var(--purple); letter-spacing: -.02em; font-family: var(--font-heading-family); }
.logo-designs { font-size: .42rem; letter-spacing: .25em; color: var(--text-muted); text-transform: uppercase; font-family: var(--font-body-family); }

.burger { background: none; border: none; cursor: pointer; padding: 8px; display: flex; flex-direction: column; gap: 5px; align-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: var(--transition); border-radius: 2px; }

.icon-btn { background: none; border: none; cursor: pointer; padding: 8px; display: flex; align-items: center; position: relative; border-radius: 8px; transition: background var(--transition); }
.icon-btn:hover { background: var(--gray-bg); }
.cart-badge { position: absolute; top: 2px; right: 2px; background: var(--purple); color: #fff; border-radius: 50%; width: 17px; height: 17px; font-size: .6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.search-bar { overflow: hidden; max-height: 0; transition: max-height .3s ease; border-top: 1px solid transparent; }
.search-bar.open { max-height: 64px; border-top-color: #eee; }
.search-bar form { max-width: 600px; margin: 0 auto; display: flex; padding: 10px var(--pad); gap: 8px; }
.search-bar input { flex: 1; border: 1.5px solid #ddd; border-radius: 8px; padding: 8px 14px; font-size: .9rem; outline: none; font-family: var(--font-body-family); }
.search-bar input:focus { border-color: var(--purple); }
.search-bar button { background: var(--purple); color: #fff; border: none; border-radius: 8px; padding: 8px 14px; cursor: pointer; display: flex; align-items: center; }

/* ══════════════════════════════════════════
   MOBILE MENU
══════════════════════════════════════════ */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; }
.mobile-overlay.open { display: block; }
.mobile-menu {
  position: fixed; left: 0; top: 0; bottom: 0; width: 300px;
  background: var(--white); z-index: 201; transform: translateX(-100%);
  transition: transform .3s ease; overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-header { display: flex; justify-content: flex-end; padding: 16px 20px; border-bottom: 1px solid #eee; }
.close-menu { background: none; border: none; font-size: 1.4rem; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.close-menu:hover { background: var(--gray-bg); }
.mobile-menu ul { padding: 8px 0; flex: 1; }
.mobile-menu ul li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 24px; font-size: .95rem; font-family: var(--font-body-family);
  transition: background var(--transition);
}
.mobile-menu ul li a:hover { background: var(--purple-bg); color: var(--purple); }
/* Página actual: fondo gris */
.mobile-menu ul li a.menu-current { background: var(--gray-bg); font-family: var(--font-heading-family); font-weight: 700; }
.mobile-menu ul li a.menu-bold { font-family: var(--font-heading-family); font-weight: 700; }
.mobile-social { padding: 20px 24px; border-top: 1px solid #eee; }
.mobile-social p { font-size: .8rem; color: var(--text-muted); margin-bottom: 10px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a { display: flex; align-items: center; }

/* ══════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════ */
main { min-height: 60vh; }
/* Wrapper genérico con padding lateral */
.section-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
}

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 24px 48px; border-radius: 25px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; font-family: var(--font-heading-family); text-decoration: none; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-light); transform: translateY(-1px); }
.btn-black { background: #111; color: #fff; }
.btn-black:hover { background: #333; }
.btn-outline { background: transparent; border-color: #111; color: #111; }
.btn-outline:hover { background: #f4f4f4; color: #f4f4f4; }
.btn-outline-white { background: #ffffff; border-color: rgba(255,255,255,.6); color: #000000; }
.btn-outline-white:hover { background: #f4f4f4; }
.btn-full { width: 100%; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* ══════════════════════════════════════════
   HERO BANNER — ocupa todo el ancho (sin padding)
   Se ve completo, sin recorte
══════════════════════════════════════════ */
.hero-banner {
  /* Sin margen lateral — borde a borde como en Shopify */
  margin: 0; overflow: hidden;
}
.hero-banner img {
  width: 100%; height: auto; display: block;
  /* Sin max-height para que no se recorte */
}

/* ══════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════ */
/* ── ABOUT STRIP — replica del bloque Shopify ai_gen_block_53b9602 ── */
.about-strip {
  width: 100%;
  padding: 60px 0px 60px;
  background: transparent;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.about-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.about-badge {
  display: inline-block;
  flex-shrink: 0;
  background: #dedede;
  color: rgba(0,0,0,.5);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 18px;
  margin-top: 8px;
  white-space: nowrap;
  font-weight: 700;
  font-family: var(--font-heading-family);
}
.about-text {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(0,0,0,.5);
  margin: 0;
}
.about-highlight {
  background: #ffffff;
  padding: 2px 12px;
  border-radius: 8px;
  color: rgb(0,0,0);
  display: inline-block;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
@media (max-width: 749px) {
  .about-strip { padding: 60px 16px 32px; }
  .about-inner { flex-direction: column; gap: 16px; }
  .about-badge { font-size: 14px; padding: 6px 12px; }
  .about-text { font-size: 20px; line-height: 1.4; }
  .about-highlight { border-radius: 6px; }
}

/* ══════════════════════════════════════════
   CATEGORIES — con SVG, scroll horizontal en mobile
══════════════════════════════════════════ */
.categories-section {
  padding: 0 0 40px;  /* sin padding lateral — se maneja internamente */
}
/* Desktop: 5 columnas iguales */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0 var(--pad);
  max-width: 1280px;
  margin: 0 auto;
}
/* Mobile: scroll horizontal — ve 1 y mitad del siguiente */
@media (max-width: 768px) {
  .categories-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 4px var(--pad) 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    margin: 0;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .cat-card {
    flex: 0 0 52vw;
    max-width: 220px;
    min-width: 160px;
    scroll-snap-align: start;
    min-height: 180px;
  }
}

.cat-card {
  background: var(--gray-bg2); border-radius: var(--radius);
  padding: 0px 0px; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
  overflow: hidden; position: relative; text-decoration: none; color: var(--text);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Nueva versión: solo imagen centrada + label arriba */
.cat-card-img-only {
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  min-height: 200px;
}
.cat-card-label {
  font-size: .85rem; font-weight: 800; font-family: var(--font-heading-family);
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 16px 8px;
  width: 100%;
}
.cat-img-center {
  width: 100%;
  flex: 1;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px 12px 14px;
  min-height: 140px;

}
.cat-card-explore {
  color: #fff;
}
.cat-card-explore .cat-card-label {
  color: #fff;
}

/* ══════════════════════════════════════════
   SECTION TITLE
══════════════════════════════════════════ */
.section-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 20px; font-family: var(--font-heading-family); }

/* ══════════════════════════════════════════
   NOVEDADES / PRODUCTS GRID (index)
══════════════════════════════════════════ */
.products-section {
  padding: 0 var(--pad) 56px; max-width: 1280px; margin: 0 auto;
}
/* Desktop: 3 columnas */
/* products-grid ya no se usa en index — ver products-grid-2col */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ── Product card: SIN sombra ni transform en hover ── */
.product-card {
  border-radius: var(--radius); overflow: hidden;
  cursor: pointer; text-decoration: none; color: var(--text);
  /* Sin transition de transform ni box-shadow */
}
/* NO hay .product-card:hover con sombra ni movimiento */

.product-card-img {
  background: var(--gray-card); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden; border-radius: var(--radius);
}
.product-card-img img {
  max-height: 590px; max-width: 100%; object-fit: contain;
  transition: transform .3s ease;
}
/* Sutil zoom en la imagen al hover, sin mover la tarjeta */
.product-card:hover .product-card-img img { transform: scale(1.04); }
.badge-popular { position: absolute; top: 12px; left: 12px; background: var(--purple); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 6px; letter-spacing: .04em; font-family: var(--font-heading-family); }
.product-card-info { padding: 10px 4px; }
.product-card-info h3 { font-size: .9rem; font-weight: 700; margin-bottom: 3px; font-family: var(--font-heading-family); }
.product-card-info .price { font-size: .95rem; font-weight: 700; }

.view-all-wrap { text-align: center; margin: 28px 0 0; }

/* ══════════════════════════════════════════
   WHY US — con padding lateral en PC
══════════════════════════════════════════ */
.why-us-wrapper {
  /* Padding lateral = var(--pad), igual que todo el resto */
  padding: 0 var(--pad) 40px;
  max-width: 1280px; margin: 0 auto;
}
.why-us {
  background: #111; color: #fff;
  border-radius: var(--radius);
  padding:50px 56px;
  display: flex; align-items: center; gap: 48px; overflow: hidden;
}
.why-us-text { flex: 1; }
.why-us-text h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; font-family: var(--font-heading-family); }
.why-us-text p { color: rgba(255,255,255,.72); margin-bottom: 22px; font-size: .95rem; max-width: 480px; }
.why-us-img { flex-shrink: 0; }
.why-us-img img { max-height: 350px; object-fit: contain; }

@media (max-width: 768px) {
  .why-us { flex-direction: column; padding: 28px 24px; gap: 20px; }
  .why-us-text h2 { font-size: 1.7rem; }
  .why-us-img { width: 100%; text-align: center; }
  .why-us-img img { max-height: 180px; margin: 0 auto; }
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */

/* ─── ABOUT-STRIP2 (intro del FAQ) ─── */

.about-strip2 {
  padding: 48px 24px 32px;
}

.about-inner2 {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-badge2 {
  flex-shrink: 0;
  background: #e8e8e8;
  color: #111;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 6px;
}

.about-content2 {
  flex: 1;
}

.about-text2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(0,0,0,.5);
}

.about-highlight {
  background: #ffffff;
  padding: 2px 12px;
  border-radius: 8px;
  color: rgb(0,0,0);
  display: inline-block;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}

@media (max-width: 600px) {
  .about-inner2 {
    flex-direction: column;
    gap: 14px;
  }

  .about-text2 {
    font-size: 20px;
    line-height: 1.4;
  }
}

.faq-section {
  padding: 48px var(--pad) 56px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.1;
}

/* ─── FAQ CARDS ─── */

.faq-item{
  background: var(--white2);
  border-radius: 22px;
  max-width: 900px;
  margin: 0 auto 18px;
  overflow: hidden;
}

.faq-question{
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  font-size: .95rem;
  font-weight: 700;
  text-align: left;
  font-family: var(--font-heading-family);
}

.faq-question:hover,
.faq-question.open{
  background: transparent;
}

.faq-icon{
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s ease;
}

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

.faq-answer{
  background: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer-inner{
  padding: 0 28px 24px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 640px){

  .faq-section{
    padding: 32px 16px 48px;
  }

  .faq-item{
    border-radius: 18px;
    margin-bottom: 14px;
  }

  .faq-question{
    padding: 20px 22px;
    font-size: .9rem;
  }

  .faq-answer-inner{
    padding: 0 22px 22px;
    font-size: .92rem;
  }
}
/* ══════════════════════════════════════════
   TRUST BADGES — va DEBAJO del FAQ
══════════════════════════════════════════ */
.trust-badges {
  border-top: 1px solid #eee;
  padding: 32px var(--pad);
}
.trust-badges .container {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.badge-item { display: flex; align-items: center; gap: 12px; }
.badge-item svg { flex-shrink: 0; }
.badge-item strong { display: block; font-weight: 700; font-size: .88rem; font-family: var(--font-heading-family); }
.badge-item span { font-size: .78rem; color: var(--text-muted); }

@media (max-width: 640px) {

  .trust-badges{
    padding: 24px 12px;
    overflow: visible;
  }

  .trust-badges .container{
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    overflow: visible;
  }

  .badge-item{
    min-width: 0;
    gap: 6px;
    align-items: flex-start;
  }

  .badge-item svg{
    width: 24px;
    height: 24px;
  }

  .badge-item strong{
    font-size: .68rem;
    line-height: 1.1;
  }

  .badge-item span{
    font-size: .5rem;
    line-height: 1.1;
  }
}

/* ══════════════════════════════════════════
   FOOTER — con padding, border-radius arriba
══════════════════════════════════════════ */
.footer {
  background: transparent;
  padding: 0 var(--pad);
  padding-bottom: 0;
}
.footer-inner-wrap {
  background: #111; color: #fff;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}
.footer-body {
  max-width: 1280px; margin: 0 auto;
  padding: 52px var(--pad) 44px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; font-family: var(--font-heading-family); }
.footer h4 { font-size: .92rem; font-weight: 700; margin-bottom: 10px; color: rgba(255,255,255,.9); font-family: var(--font-heading-family); }
.footer p { font-size: .84rem; color: rgba(255,255,255,.58); margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.65); font-size: .84rem; display: block; margin-bottom: 7px; }
.footer a:hover { color: #fff; }
.footer-links li { margin-bottom: 5px; }
.footer-contact-btn { display: block; background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; text-align: center; padding: 13px 20px; border-radius: 50px; font-size: .88rem; font-weight: 600; font-family: var(--font-heading-family); transition: background var(--transition); width: 100%; max-width: 300px; }
.footer-contact-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px var(--pad);
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 8px;
}

@media (max-width: 768px) {
  .footer { padding: 0 12px; }
  .footer-body { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 16px 24px; }
  .footer-contact-btn { max-width: 100%; }
}

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 52px; height: 52px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); z-index: 99; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* ══════════════════════════════════════════
   CATALOG PAGE
══════════════════════════════════════════ */
.catalog-header { padding: 36px var(--pad) 20px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.catalog-title { font-size: 2.2rem; font-weight: 900; color: var(--purple); font-family: var(--font-heading-family); }
.catalog-promo-banner { background: var(--purple); color: #fff; border-radius: var(--radius); padding: 20px 28px; }
.catalog-promo-banner .promo-big { font-size: 2rem; font-weight: 900; font-family: var(--font-heading-family); }
.catalog-promo-banner .promo-sub { font-size: 1rem; font-weight: 700; font-family: var(--font-heading-family); }
.catalog-filters { padding: 0 var(--pad) 20px; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { background: var(--gray-bg); border: 1.5px solid transparent; border-radius: 50px; padding: 6px 14px; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all var(--transition); font-family: var(--font-heading-family); }
.filter-btn:hover, .filter-btn.active { border-color: var(--purple); color: var(--purple); background: var(--purple-bg); }
.sort-select { background: var(--gray-bg); border: 1.5px solid #ddd; border-radius: 8px; padding: 6px 12px; font-size: .8rem; cursor: pointer; font-family: var(--font-body-family); outline: none; }
.sort-select:focus { border-color: var(--purple); }
.products-count { font-size: .8rem; color: var(--text-muted); }
.products-catalog { padding: 0 var(--pad) 56px; max-width: 1280px; margin: 0 auto; }
/* products-grid-4 legacy — no usado */
.products-grid-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 768px) { .products-grid-4 { grid-template-columns: 1fr; gap: 14px; } }

/* ══════════════════════════════════════════
   PRODUCT PAGE
══════════════════════════════════════════ */
.product-page { padding: 36px var(--pad); max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.product-main-img { background: var(--gray-card); border-radius: var(--radius); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 36px; margin-bottom: 14px; overflow: hidden; }
.product-main-img img { max-height: 400px; object-fit: contain; width: 100%; }
.product-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.product-thumb { width: 76px; height: 76px; flex-shrink: 0; background: var(--gray-card); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; padding: 8px; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.product-thumb.active, .product-thumb:hover { border-color: var(--purple); }
.product-thumb img { max-height: 56px; object-fit: contain; }
.product-info h1 { font-size: 1.9rem; font-weight: 800; color: var(--purple); margin-bottom: 10px; }
.product-price { font-size: 1.7rem; font-weight: 700; margin-bottom: 18px; }
.variant-label { font-size: .83rem; font-weight: 700; margin-bottom: 8px; font-family: var(--font-heading-family); }
.variant-label span { font-weight: 400; color: var(--text-muted); font-family: var(--font-body-family); }
.colors-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.color-swatch { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: all var(--transition); }
.color-swatch.active, .color-swatch:hover { border-color: #111; transform: scale(1.12); }
.tallas-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.talla-btn { padding: 8px 18px; border: 2px solid #ddd; border-radius: 8px; font-size: .85rem; font-weight: 700; cursor: pointer; transition: all var(--transition); background: none; font-family: var(--font-heading-family); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.talla-btn .talla-precio { font-size: .72rem; color: var(--text-muted); font-weight: 400; font-family: var(--font-body-family); }
.talla-btn:hover, .talla-btn.active { border-color: var(--purple); color: var(--purple); background: var(--purple-bg); }
.talla-btn.active .talla-precio { color: var(--purple-light); }
.qty-label { font-size: .83rem; font-weight: 700; margin-bottom: 7px; font-family: var(--font-heading-family); }
.qty-input-wrap { display: flex; align-items: center; margin-bottom: 22px; border: 1.5px solid #ddd; border-radius: 8px; width: fit-content; overflow: hidden; }
.qty-btn { background: none; border: none; width: 40px; height: 44px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.qty-btn:hover { background: var(--gray-bg); }
.qty-input { width: 56px; text-align: center; border: none; border-left: 1.5px solid #ddd; border-right: 1.5px solid #ddd; height: 44px; font-size: .95rem; font-weight: 700; font-family: var(--font-body-family); outline: none; }
.product-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.product-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.product-medidas { font-size: .88rem; margin-bottom: 18px; }
.product-medidas strong { font-weight: 700; font-family: var(--font-heading-family); }
.related-section { padding: 0 var(--pad) 56px; max-width: 1280px; margin: 0 auto; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1024px) { .product-page { grid-template-columns: 1fr; gap: 28px; } .product-gallery { position: static; } .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ══════════════════════════════════════════
   CART
══════════════════════════════════════════ */
.cart-page { max-width: 1100px; margin: 0 auto; padding: 36px var(--pad) 56px; display: grid; grid-template-columns: 1fr 350px; gap: 36px; align-items: start; }
.cart-title { font-size: 1.9rem; font-weight: 800; margin-bottom: 24px; font-family: var(--font-heading-family); }
.cart-empty { text-align: center; padding: 72px 24px; }
.cart-empty p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 22px; }
.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee; }
.cart-item-img { width: 86px; height: 86px; background: var(--gray-card); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 8px; }
.cart-item-img img { max-height: 68px; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 700; margin-bottom: 3px; font-family: var(--font-heading-family); }
.item-variant { font-size: .8rem; color: var(--text-muted); }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.remove-btn { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: .78rem; display: flex; align-items: center; gap: 4px; }
.remove-btn:hover { color: red; }
.cart-item-price { font-weight: 700; }
.order-summary { background: var(--gray-bg); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.order-summary h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; font-family: var(--font-heading-family); }
.summary-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 10px; }
.summary-row.total { font-weight: 700; font-size: 1.05rem; padding-top: 10px; border-top: 1px solid #ddd; margin-top: 4px; }
.summary-envio { color: #16a34a; }
@media (max-width: 768px) { .cart-page { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   CHECKOUT
══════════════════════════════════════════ */
.checkout-page { max-width: 1100px; margin: 0 auto; padding: 36px var(--pad) 56px; display: grid; grid-template-columns: 1fr 370px; gap: 44px; align-items: start; }
.checkout-steps { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--text-muted); margin-bottom: 24px; }
.checkout-steps .step-active { color: var(--text); font-weight: 700; font-family: var(--font-heading-family); }
.checkout-steps span { color: #ccc; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .83rem; font-weight: 700; margin-bottom: 5px; font-family: var(--font-heading-family); }
.form-input { width: 100%; border: 1.5px solid #ddd; border-radius: 10px; padding: 11px 14px; font-size: .88rem; font-family: var(--font-body-family); outline: none; transition: border-color var(--transition); }
.form-input:focus { border-color: var(--purple); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.section-label { font-size: .95rem; font-weight: 700; margin: 22px 0 14px; padding-top: 8px; border-top: 1px solid #eee; font-family: var(--font-heading-family); }
.payment-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.payment-option { border: 1.5px solid #ddd; border-radius: 10px; padding: 13px 15px; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: border-color var(--transition); }
.payment-option:hover { border-color: var(--purple); }
.payment-option.selected { border-color: var(--purple); background: var(--purple-bg); }
.payment-option input[type=radio] { accent-color: var(--purple); }
.payment-logos { display: flex; gap: 5px; align-items: center; margin-left: auto; }
.payment-logos img { height: 20px; }
.checkout-summary { background: var(--gray-bg); border-radius: var(--radius); padding: 22px; position: sticky; top: 90px; }
.checkout-summary-item { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.checkout-summary-img { width: 60px; height: 60px; background: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; padding: 6px; }
.checkout-summary-img img { max-height: 48px; object-fit: contain; }
.item-badge { position: absolute; top: -5px; right: -5px; background: #555; color: #fff; border-radius: 50%; width: 18px; height: 18px; font-size: .6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.checkout-summary-info { flex: 1; }
.checkout-summary-info .item-name { font-size: .86rem; font-weight: 700; font-family: var(--font-heading-family); }
.checkout-summary-info .item-var { font-size: .76rem; color: var(--text-muted); }
.checkout-summary-price { font-weight: 700; font-size: .88rem; }
@media (max-width: 768px) { .checkout-page { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   ALERTS
══════════════════════════════════════════ */
.alert { padding: 10px 14px; border-radius: 8px; font-size: .84rem; margin-bottom: 14px; }
.alert-error   { background: #fee2e2; color: #991b1b; }
.alert-success { background: #d1fae5; color: #065f46; }

/* ══════════════════════════════════════════
   CONTACT / PRIVACIDAD
══════════════════════════════════════════ */
.contact-page  { max-width: 680px; margin: 0 auto; padding: 56px var(--pad); }
.contact-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; font-family: var(--font-heading-family); }
.contact-page .subtitle { color: var(--text-muted); margin-bottom: 32px; font-size: .95rem; }
.privacy-page  { max-width: 780px; margin: 0 auto; padding: 56px var(--pad); }
.privacy-page h1 { font-size: 2rem; font-weight: 800; color: var(--purple); text-align: center; margin-bottom: 8px; font-family: var(--font-heading-family); }
.privacy-page .update-date { text-align: center; color: var(--purple); font-size: .88rem; margin-bottom: 32px; }
.privacy-page h2 { font-size: 1.1rem; font-weight: 800; color: var(--purple); margin: 28px 0 10px; font-family: var(--font-heading-family); }
.privacy-page p  { font-size: .9rem; line-height: 1.8; margin-bottom: 12px; }

/* ═══════════════════════════════════════════════════
   COLECCIONES & PRODUCTOS — grillas y banner imagen
   ═══════════════════════════════════════════════════ */

/* Banner imagen (Productos general + Organizadores) */
.catalog-header { 
  padding: 36px var(--pad) 20px; 
  max-width: 1280px; 
  margin: 0 auto; 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  flex-wrap: wrap; 
  gap: 20px; 
}
.catalog-header.no-banner { 
  padding-bottom: 4px; 
}
.catalog-banner-img { 
  flex: 0 0 auto; 
  max-width: 480px; 
  border-radius: var(--radius); 
  overflow: hidden; 
}
.catalog-banner-img img { 
  display: block; 
  width: 100%; 
  height: auto; 
  border-radius: var(--radius); 
}

/* Grilla de colecciones: 3 col PC, 1 col mobile — sin breakpoints intermedios */
/* Colecciones/Productos: 3 col PC → 1 col mobile */
.products-grid-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 768px) {
  .products-grid-col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Index Novedades: 2 col PC (3 items c/u = 6 total) → 1 col mobile */
.products-grid-2col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 768px) {
  .products-grid-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Mobile: header catálogo apilado */
@media (max-width: 640px) {
  .catalog-header { 
    flex-direction: column; 
    gap: 16px; 
    padding-bottom: 12px;
  }
  .catalog-banner-img { 
    max-width: 100%; 
    width: 100%; 
  }
}

/* FIX FORMULARIOS CONTACTO / PEDIDOS */
.simple-form-page{
  max-width:760px !important;
  min-height:calc(100vh - 320px);
  margin:0 auto !important;
  padding:80px var(--pad) 100px !important;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.simple-form-title{
  font-family:var(--font-heading-family) !important;
  font-size:clamp(2.4rem,5vw,4rem) !important;
  font-weight:900 !important;
  line-height:1.05 !important;
  letter-spacing:-.04em;
  margin:0 0 28px !important;
  color:var(--text);
}

.simple-form-sub{
  max-width:680px;
  margin:0 0 32px !important;
  font-size:1rem !important;
  line-height:1.75;
  color:var(--text-muted);
}

.simple-form{
  width:100%;
  display:flex !important;
  flex-direction:column !important;
  gap:14px !important;
}

.simple-form-row{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
}

.simple-input{
  width:100% !important;
  height:58px !important;
  padding:0 22px !important;
  border:1.5px solid #cfcfcf !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.75) !important;
  font-family:var(--font-body-family) !important;
  font-size:.96rem !important;
  color:var(--text) !important;
  outline:none !important;
  box-sizing:border-box !important;
  appearance:none !important;
}

.simple-input:focus{
  border-color:#111 !important;
  background:#fff !important;
  box-shadow:0 0 0 4px rgba(0,0,0,.06);
}

.simple-textarea{
  min-height:170px !important;
  height:auto !important;
  padding:18px 22px !important;
  border-radius:28px !important;
  resize:vertical;
  line-height:1.7;
}

.simple-btn{
  width:auto !important;
  align-self:flex-start !important;
  height:56px !important;
  margin-top:10px !important;
  padding:0 36px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#111 !important;
  color:#fff !important;
  font-family:var(--font-heading-family) !important;
  font-size:.95rem !important;
  font-weight:700 !important;
  cursor:pointer !important;
}

.simple-btn:hover{
  opacity:.9;
  transform:translateY(-2px);
}

/* RESPONSIVE */
@media (max-width:640px){
  .simple-form-page{
    min-height:auto;
    padding:48px var(--pad) 70px !important;
  }

  .simple-form-title{
    font-size:2.25rem !important;
    line-height:1.08 !important;
    margin-bottom:22px !important;
  }

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

  .simple-input{
    height:54px !important;
    font-size:.94rem !important;
  }

  .simple-textarea{
    min-height:150px !important;
  }

  .simple-btn{
    width:100% !important;
  }
}
