/* ============================================================
   CREACIONES JyR — Catálogo
   Identidad visual: dorado + negro (inspirada en el logotipo),
   estructura de interfaz limpia tipo PayPal (2024)
   ============================================================ */

:root {
    /* Paleta Creaciones JyR */
    --pp-blue:       #B8860B;   /* dorado primario - botones, precios, enlaces */
    --pp-blue-hover: #96690A;   /* dorado oscuro - hover */
    --pp-blue-dark:  #2A1F0E;   /* café-negro cálido - degradados oscuros */
    --pp-navy:       #1A1A1A;   /* negro - titulares */
    --pp-cyan:       #C9982E;   /* dorado claro - acentos secundarios */
    --pp-gold:       #E6127A;   /* magenta vibrante (guiño al splash del logo) - ofertas */
    --pp-text:       #2C2E2F;
    --pp-gray:       #687173;
    --pp-gray-light: #9DA3A6;
    --pp-line:       #E4E9EE;
    --pp-bg:         #F7F5F0;
    --pp-bg-soft:    #FBF3DE;
    --pp-white:      #FFFFFF;
    --pp-green:      #25D366;   /* WhatsApp */
    --pp-red:        #D9360B;

    --radius:    12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 3px rgba(20,15,5,.08);
    --shadow:    0 2px 10px rgba(20,15,5,.07), 0 10px 30px rgba(20,15,5,.05);
    --shadow-lg: 0 12px 40px rgba(20,15,5,.18);
    --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --ff-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --primary: var(--pp-blue);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--ff);
    color: var(--pp-text);
    background: var(--pp-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--ff); cursor: pointer; }

main { min-height: 60vh; }

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

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: sticky; top: 0; z-index: 200;
    background: var(--pp-white);
    border-bottom: 1px solid var(--pp-line);
}
.nav-container {
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
    height: 68px; display: flex; align-items: center; gap: 20px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-text {
    font-family: var(--ff-display);
    font-size: 1.5rem; font-weight: 700; letter-spacing: -.3px;
    color: var(--pp-navy);
}
.logo-text span { color: var(--pp-blue); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
    padding: 8px 14px; border-radius: var(--radius-pill);
    font-size: .92rem; font-weight: 600; color: var(--pp-navy);
    transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--pp-bg-soft); color: var(--pp-blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.search-wrap { position: relative; display: flex; align-items: center; }
.search-wrap input {
    width: 230px; padding: 10px 40px 10px 16px;
    border: 1.5px solid var(--pp-line); border-radius: var(--radius-pill);
    font-family: var(--ff); font-size: .9rem; color: var(--pp-text);
    background: var(--pp-white); outline: none; transition: border-color .2s, box-shadow .2s;
}
.search-wrap input:focus { border-color: var(--pp-blue); box-shadow: 0 0 0 3px rgba(184,134,11,.12); }
.search-wrap #searchBtn {
    position: absolute; right: 6px; border: none; background: transparent;
    font-size: 1rem; padding: 6px; line-height: 1; color: var(--pp-gray);
}
.search-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: var(--pp-white); border: 1px solid var(--pp-line);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    overflow: hidden; display: none; z-index: 300; max-height: 380px; overflow-y: auto;
}
.search-dropdown.active { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    cursor: pointer; transition: background .15s; border-bottom: 1px solid var(--pp-bg);
}
.search-result-item:hover { background: var(--pp-bg-soft); }
.search-result-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.sr-info .sr-name { font-size: .85rem; font-weight: 600; color: var(--pp-navy); }
.sr-info .sr-price { font-size: .85rem; color: var(--pp-blue); font-weight: 700; }

.cart-btn {
    position: relative; border: 1.5px solid var(--pp-line); background: var(--pp-white);
    width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center; transition: border-color .2s;
}
.cart-btn:hover { border-color: var(--pp-blue); }
.cart-count {
    position: absolute; top: -4px; right: -4px; background: var(--pp-blue);
    color: #fff; font-size: .68rem; font-weight: 700; min-width: 19px; height: 19px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.menu-toggle { display: none; border: none; background: transparent; font-size: 1.5rem; color: var(--pp-navy); }

.mobile-menu { display: none; flex-direction: column; background: var(--pp-white); border-top: 1px solid var(--pp-line); padding: 8px 0; }
.mobile-menu a { padding: 12px 24px; font-weight: 600; color: var(--pp-navy); }
.mobile-menu a:hover { background: var(--pp-bg-soft); }
.mobile-menu.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--pp-navy) 0%, var(--pp-blue-dark) 55%, var(--pp-blue) 100%);
    color: #fff; padding: 60px 0 70px; position: relative; overflow: hidden;
}
.hero-section::after {
    content: ''; position: absolute; right: -120px; top: -80px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,156,222,.35), transparent 70%);
}
.hero-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.hero-title h1 {
    font-family: var(--ff-display);
    font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15;
    letter-spacing: -.5px; margin-bottom: 16px;
}
.hero-title h1 em { color: var(--pp-gold); font-style: normal; }
.hero-title p { font-size: clamp(1rem, 2vw, 1.18rem); opacity: .92; max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; }

/* Hero con video a la derecha */
.hero-inner.hero-has-media { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-media { position: relative; z-index: 2; }
.hero-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(0,0,0,.35); background: #000; }
.hero-video-frame iframe, .hero-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
@media (max-width: 900px) { .hero-inner.hero-has-media { grid-template-columns: 1fr; gap: 26px; } }
.btn-hero {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px;
    border-radius: var(--radius-pill); font-weight: 700; font-size: .98rem; transition: transform .15s, box-shadow .2s;
}
.btn-hero-primary { background: #fff; color: var(--pp-navy); box-shadow: var(--shadow); }
.btn-hero-primary:hover { transform: translateY(-2px); }
.btn-hero-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.2); }

/* Carrusel destacados */
.carousel-wrapper { margin-top: 44px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.carousel-track { display: flex; gap: 16px; width: max-content; animation: scrollX 38s linear infinite; }
.carousel-track:hover { animation-play-state: paused; }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.carousel-card {
    width: 210px; flex-shrink: 0; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); color: var(--pp-text);
}
.carousel-card img { width: 100%; height: 180px; object-fit: contain; background: #fff; }
.carousel-card-info { padding: 12px 14px; }
.carousel-card-info h3 { font-size: .9rem; font-weight: 600; color: var(--pp-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carousel-card-info .price { color: var(--pp-blue); font-weight: 800; margin-top: 4px; }

/* ============================================================
   FRANJA DE CATEGORÍAS
   ============================================================ */
.categories-strip { background: var(--pp-white); border-bottom: 1px solid var(--pp-line); padding: 18px 0; }
.cat-carousel { position: relative; max-width: 1240px; margin: 0 auto; }
.categories-strip .inner {
    padding: 0 46px;
    display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
}
.categories-strip .inner::-webkit-scrollbar { display: none; }
.cat-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--pp-line); background: var(--pp-white); color: var(--pp-navy);
    font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: all .15s; padding: 0;
}
.cat-arrow:hover { color: var(--pp-blue); border-color: var(--pp-blue); }
.cat-arrow-left { left: 4px; }
.cat-arrow-right { right: 4px; }
.cat-carousel::before, .cat-carousel::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 50px; pointer-events: none; z-index: 2; transition: opacity .15s;
}
.cat-carousel::before { left: 0; background: linear-gradient(to right, var(--pp-white), transparent); }
.cat-carousel::after { right: 0; background: linear-gradient(to left, var(--pp-white), transparent); }
.cat-carousel.at-start::before, .cat-carousel.at-start .cat-arrow-left { opacity: 0; visibility: hidden; }
.cat-carousel.at-end::after, .cat-carousel.at-end .cat-arrow-right { opacity: 0; visibility: hidden; }
.cat-carousel.no-overflow .cat-arrow,
.cat-carousel.no-overflow::before,
.cat-carousel.no-overflow::after { opacity: 0; visibility: hidden; }
.cat-pill {
    display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    padding: 9px 18px; border-radius: var(--radius-pill); background: var(--pp-bg);
    border: 1.5px solid transparent; font-size: .9rem; font-weight: 600; color: var(--pp-navy);
    transition: all .18s;
}
.cat-pill:hover { background: var(--pp-bg-soft); border-color: var(--pp-blue); color: var(--pp-blue); }

/* ============================================================
   SECCIONES / TARJETAS DE PRODUCTO
   ============================================================ */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.section-header { margin-bottom: 28px; }
.section-header h2 { font-family: var(--ff-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--pp-navy); letter-spacing: -.3px; }
.section-header .subtitle { color: var(--pp-gray); font-size: .95rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.home-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .home-grid { grid-template-columns: repeat(2, 1fr); } }
.horizontal-scroll { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.horizontal-scroll .product-card { min-width: 230px; max-width: 230px; }

.product-card {
    background: var(--pp-white); border: 1px solid var(--pp-line); border-radius: var(--radius);
    overflow: hidden; cursor: pointer; transition: transform .18s, box-shadow .2s, border-color .2s;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-image { position: relative; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.product-card:hover .card-image img { transform: scale(1.05); }
.badge {
    position: absolute; top: 10px; left: 10px; padding: 4px 11px; border-radius: var(--radius-pill);
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #fff;
}
.badge-disponible { background: var(--pp-blue); }
.badge-agotado    { background: var(--pp-gray-light); }
.badge-oferta     { background: var(--pp-gold); color: var(--pp-navy); }

/* Etiqueta de condición (Nuevo / De segunda) */
.badge-cond { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: var(--radius-pill); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.badge-nuevo   { background: #10B981; color: #fff; }
.badge-segunda { background: #fff; color: var(--pp-navy); border: 1.5px solid rgba(20,15,5,.14); }
.cond-tag { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; margin-left: 8px; }
.cond-tag.nuevo   { background: rgba(16,185,129,.12); color: #0F9D6E; }
.cond-tag.segunda { background: var(--pp-bg); color: var(--pp-navy); border: 1px solid var(--pp-line); }

.card-info { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--pp-blue); margin-bottom: 4px; }
.card-name { font-size: .95rem; font-weight: 600; color: var(--pp-navy); line-height: 1.3; margin-bottom: 8px; min-height: 2.5em; }
.card-price-wrap { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.card-cotizar { font-size: .88rem; font-weight: 700; color: var(--pp-blue); background: var(--pp-bg-soft); padding: 9px 12px; border-radius: 10px; margin-bottom: 12px; text-align: center; line-height: 1.3; }
.card-price { font-size: 1.2rem; font-weight: 800; color: var(--pp-navy); }
.card-price-old { font-size: .85rem; color: var(--pp-gray-light); text-decoration: line-through; }
.card-add-btn {
    margin-top: auto; width: 100%; padding: 11px; border: none; border-radius: var(--radius-pill);
    background: var(--pp-blue); color: #fff; font-weight: 700; font-size: .85rem; transition: background .15s;
}
.card-add-btn:hover { background: var(--pp-blue-hover); }

/* Producto agotado: se ve en gris para distinguirlo */
.product-card.is-agotado { background: #FAFBFC; }
.product-card.is-agotado .card-image { background: #EEF1F4; }
.product-card.is-agotado .card-image img { filter: grayscale(1); opacity: .6; }
.product-card.is-agotado .card-name,
.product-card.is-agotado .card-price,
.product-card.is-agotado .card-cat { color: var(--pp-gray-light) !important; }
.product-card.is-agotado .card-price-old { color: #C3CAD0; }
.product-card.is-agotado:hover { transform: none; box-shadow: var(--shadow-sm); }

/* CTA banda */
.cta-band { background: var(--pp-navy); margin-top: 30px; }
.cta-band .inner { max-width: 1240px; margin: 0 auto; padding: 64px 24px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 26px; }
.btn-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 14px 34px;
    background: var(--pp-blue); color: #fff; border-radius: var(--radius-pill); font-weight: 700; transition: background .15s, transform .15s;
}
.btn-pill:hover { background: var(--pp-blue-hover); transform: translateY(-2px); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { max-width: 1240px; margin: 0 auto; padding: 22px 24px 0; font-size: .85rem; color: var(--pp-gray); }
.breadcrumb a { color: var(--pp-blue); font-weight: 600; }

/* ============================================================
   CATÁLOGO (layout con filtros)
   ============================================================ */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters-panel {
    background: var(--pp-white); border: 1px solid var(--pp-line); border-radius: var(--radius);
    padding: 22px; position: sticky; top: 88px;
}
.filters-panel h3 { font-size: 1rem; font-weight: 800; color: var(--pp-navy); margin-bottom: 18px; }
.filter-group { margin-bottom: 18px; }
.filter-group label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--pp-gray); margin-bottom: 7px; }
.filter-group input, .filter-group select {
    width: 100%; padding: 10px 12px; border: 1.5px solid var(--pp-line); border-radius: 9px;
    font-family: var(--ff); font-size: .88rem; color: var(--pp-text); outline: none; background: #fff; transition: border-color .2s;
}
.filter-group input:focus, .filter-group select:focus { border-color: var(--pp-blue); }
.price-range { display: flex; gap: 8px; }
.btn-filter { width: 100%; padding: 12px; background: var(--pp-blue); color: #fff; border: none; border-radius: var(--radius-pill); font-weight: 700; margin-bottom: 8px; transition: background .15s; }
.btn-filter:hover { background: var(--pp-blue-hover); }
.btn-reset { width: 100%; padding: 11px; background: transparent; color: var(--pp-gray); border: 1.5px solid var(--pp-line); border-radius: var(--radius-pill); font-weight: 600; }
.btn-reset:hover { border-color: var(--pp-gray); }
.products-count { color: var(--pp-gray); font-size: .9rem; margin-bottom: 18px; }
.no-products { text-align: center; padding: 60px 20px; background: var(--pp-white); border: 1px dashed var(--pp-line); border-radius: var(--radius); grid-column: 1/-1; }
.no-products h3 { color: var(--pp-navy); margin-bottom: 8px; }
.no-products p { color: var(--pp-gray); margin-bottom: 12px; }

/* ============================================================
   DETALLE DE PRODUCTO
   ============================================================ */
.product-detail { max-width: 1240px; margin: 0 auto; padding: 28px 24px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery-main { background: var(--pp-white); border: 1px solid var(--pp-line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.gallery-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid var(--pp-line); cursor: pointer; transition: border-color .2s; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--pp-blue); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; background: #fff; }

.product-info { padding-top: 8px; }
.product-sku { font-size: .78rem; font-weight: 700; letter-spacing: .5px; color: var(--pp-gray); text-transform: uppercase; }
.product-name { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--pp-navy); letter-spacing: -.5px; margin: 8px 0 14px; line-height: 1.15; }
.price-block { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.product-price-big { font-size: 2.2rem; font-weight: 800; color: var(--pp-navy); }
.product-price-old { font-size: 1.2rem; color: var(--pp-gray-light); text-decoration: line-through; }
.save-tag { background: var(--pp-bg-soft); color: var(--pp-blue); font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: var(--radius-pill); }
.product-cotizar-box { background: var(--pp-bg-soft); color: var(--pp-blue); font-weight: 700; font-size: 1.05rem; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 16px; line-height: 1.4; }
.product-estado { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; margin-bottom: 20px; }
.estado-disponible { background: rgba(184,134,11,.1); color: var(--pp-blue); }
.estado-agotado    { background: rgba(157,163,166,.18); color: var(--pp-gray); }
.estado-oferta     { background: rgba(255,196,57,.22); color: #8a6d00; }
.product-desc { color: var(--pp-text); line-height: 1.7; margin: 18px 0 26px; padding: 18px 0; border-top: 1px solid var(--pp-line); border-bottom: 1px solid var(--pp-line); }
.btn-add-cart {
    width: 100%; padding: 16px; background: var(--pp-blue); color: #fff; border: none;
    border-radius: var(--radius-pill); font-size: 1.02rem; font-weight: 700; transition: background .15s, transform .12s;
}
.btn-add-cart:hover:not(:disabled) { background: var(--pp-blue-hover); transform: translateY(-1px); }
.btn-add-cart:disabled { background: var(--pp-gray-light); cursor: not-allowed; }
.wa-consulta { margin-top: 18px; padding: 16px; background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.25); border-radius: var(--radius); font-size: .9rem; }
.wa-consulta a { color: #1ba84e; font-weight: 700; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.servicio-card { background: var(--pp-white); border: 1px solid var(--pp-line); border-radius: var(--radius-lg); padding: 30px; transition: transform .18s, box-shadow .2s; }
.servicio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.servicio-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--pp-bg-soft); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 18px; }
.servicio-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--pp-navy); margin-bottom: 10px; }
.servicio-card p { color: var(--pp-gray); font-size: .92rem; line-height: 1.6; }
.servicio-precio { margin-top: 14px; font-weight: 700; color: var(--pp-blue); }

/* ============================================================
   INFO DEL NEGOCIO (horarios, dirección, mapa)
   ============================================================ */
.info-negocio { background: var(--pp-white); border-top: 1px solid var(--pp-line); }
.info-grid { max-width: 1240px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.info-bloques { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--pp-bg-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-item h4 { font-size: .95rem; font-weight: 800; color: var(--pp-navy); margin-bottom: 3px; }
.info-item p, .info-item a { font-size: .9rem; color: var(--pp-gray); }
.info-item a:hover { color: var(--pp-blue); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--pp-line); min-height: 320px; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ============================================================
   CARRITO LATERAL
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(20,15,5,.45); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 400; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
    position: fixed; top: 0; right: 0; width: 380px; max-width: 90vw; height: 100vh;
    background: var(--pp-white); z-index: 500; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-lg);
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--pp-line); }
.cart-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--pp-navy); }
.cart-header button { border: none; background: var(--pp-bg); width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; color: var(--pp-gray); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; padding: 50px 20px; color: var(--pp-gray); }
.cart-empty p:first-child { font-size: 2.5rem; margin-bottom: 10px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--pp-bg); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.ci-info { flex: 1; }
.ci-name { font-size: .88rem; font-weight: 600; color: var(--pp-navy); }
.ci-price { font-size: .85rem; color: var(--pp-blue); font-weight: 700; margin-top: 2px; }
.ci-remove { border: none; background: transparent; color: var(--pp-gray-light); font-size: .9rem; align-self: flex-start; }
.ci-remove:hover { color: var(--pp-red); }
.cart-footer { padding: 20px 22px; border-top: 1px solid var(--pp-line); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 800; color: var(--pp-navy); margin-bottom: 14px; }
.cart-total span { color: var(--pp-blue); }
.btn-checkout { width: 100%; padding: 15px; background: var(--pp-green); color: #fff; border: none; border-radius: var(--radius-pill); font-weight: 700; font-size: .95rem; transition: filter .15s; }
.btn-checkout:hover { filter: brightness(.95); }

/* ============================================================
   MODAL CHECKOUT
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,15,5,.55); display: none; align-items: center; justify-content: center; z-index: 600; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: var(--radius-lg); padding: 32px; width: 100%; max-width: 440px; position: relative; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 16px; right: 16px; border: none; background: var(--pp-bg); width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; color: var(--pp-gray); }
.modal-box h2 { font-size: 1.3rem; font-weight: 800; color: var(--pp-navy); margin-bottom: 6px; }
.modal-box .modal-sub { color: var(--pp-gray); font-size: .88rem; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; color: var(--pp-navy); margin-bottom: 6px; }
.form-group input, .form-group select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--pp-line); border-radius: 10px; font-family: var(--ff); font-size: .92rem; color: var(--pp-text); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group select:focus { border-color: var(--pp-blue); box-shadow: 0 0 0 3px rgba(184,134,11,.1); }
.envio-costo-line { display: flex; justify-content: space-between; font-size: .9rem; color: var(--pp-gray); padding: 10px 0; border-top: 1px solid var(--pp-line); margin-top: 6px; }
.envio-costo-line strong { color: var(--pp-navy); }
.total-line { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 800; color: var(--pp-navy); padding: 12px 0; border-top: 2px solid var(--pp-line); margin-bottom: 16px; }
.total-line span { color: var(--pp-blue); }
.btn-whatsapp { width: 100%; padding: 15px; background: var(--pp-green); color: #fff; border: none; border-radius: var(--radius-pill); font-weight: 700; font-size: .98rem; transition: filter .15s; }
.btn-whatsapp:hover { filter: brightness(.95); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--pp-navy); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-container { max-width: 1240px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 320px; margin-top: 8px; opacity: .8; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; transition: background .2s; }
.footer-social a:hover { background: var(--pp-blue); color: #fff; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; font-size: .9rem; padding: 5px 0; opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--pp-cyan); }
.footer-contact p { font-size: .88rem; line-height: 1.6; opacity: .8; margin-bottom: 10px; }
.footer-contact a.wa-link { display: inline-flex; align-items: center; gap: 8px; color: var(--pp-green); font-weight: 700; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; text-align: center; font-size: .82rem; opacity: .7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .catalog-layout { grid-template-columns: 1fr; }
    .filters-panel { position: static; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .search-wrap input { width: 150px; }
    .footer-container { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .search-wrap { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card-name { font-size: .85rem; }
    .card-price { font-size: 1.05rem; }
}

/* Página de política de privacidad */
.policy { color: var(--pp-text); line-height: 1.7; font-size: .95rem; }
.policy h3 { color: var(--pp-navy); font-size: 1.1rem; font-weight: 800; margin: 26px 0 8px; }
.policy p { margin-bottom: 12px; }
.policy ul { margin: 0 0 14px 0; padding-left: 22px; }
.policy li { margin-bottom: 7px; }
.policy a { color: var(--pp-blue); font-weight: 600; }
.policy-nota { margin-top: 26px; padding: 14px 16px; background: var(--pp-bg-soft); border-radius: var(--radius); font-size: .85rem; color: var(--pp-gray); }

/* Toast */
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   OPCIONES DE PRECIO (2 líneas por producto: exhibición / personalizado)
   ============================================================ */
/* --- En las tarjetas --- */
.card-variants { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; border-radius: 10px; }
.cv-row { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border: 1.5px solid var(--pp-line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.cv-row:hover { border-color: var(--pp-blue); }
.cv-row:has(.cv-check:checked) { border-color: var(--pp-blue); background: var(--pp-bg-soft); }
.cv-check { margin-top: 2px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--pp-blue); cursor: pointer; }
.cv-label { flex: 1; font-size: .72rem; line-height: 1.25; font-weight: 600; color: var(--pp-gray); }
.cv-price { display: flex; flex-direction: column; align-items: flex-end; font-size: .95rem; font-weight: 800; color: var(--pp-navy); white-space: nowrap; line-height: 1.15; }
.cv-price s { font-size: .72rem; font-weight: 500; color: var(--pp-gray-light); }
.card-variants.cv-alert { animation: cvShake .4s; box-shadow: 0 0 0 2px var(--pp-blue); }
.product-card.is-agotado .cv-price { color: var(--pp-gray-light); }

/* --- En el detalle del producto --- */
.variant-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; border-radius: var(--radius); }
.variant-hint { font-size: .85rem; font-weight: 700; color: var(--pp-gray); margin-bottom: 2px; }
.variant-opt { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border: 2px solid var(--pp-line); border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.variant-opt:hover { border-color: var(--pp-blue); }
.variant-opt:has(.variant-check:checked) { border-color: var(--pp-blue); background: var(--pp-bg-soft); }
.variant-check { margin-top: 4px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--pp-blue); cursor: pointer; }
.vo-body { display: flex; flex-direction: column; gap: 6px; }
.vo-label { font-size: .95rem; font-weight: 700; color: var(--pp-navy); line-height: 1.3; }
.vo-prices { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vo-price { font-size: 1.7rem; font-weight: 800; color: var(--pp-navy); }
.variant-list.cv-alert { animation: cvShake .4s; box-shadow: 0 0 0 3px var(--pp-blue); }

/* --- En el carrito --- */
.ci-variant { font-size: .72rem; font-weight: 700; color: var(--pp-blue); margin: 1px 0 2px; line-height: 1.25; }

@keyframes cvShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (max-width: 600px) {
    /* tarjetas angostas (2 columnas): etiqueta arriba y precio debajo */
    .cv-row { flex-wrap: wrap; }
    .cv-label { flex: 1 1 calc(100% - 26px); min-width: 0; }
    .cv-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; width: 100%; padding-left: 24px; font-size: .9rem; }
    .vo-price { font-size: 1.45rem; }
    .variant-opt { padding: 12px; gap: 10px; }
}

/* ============================================================
   ÍCONOS OFICIALES DE REDES SOCIALES (SVG) - footer, contacto, botones
   ============================================================ */
.ico-svg { display: inline-block; flex-shrink: 0; }

/* Footer: círculos con el color de cada marca */
.footer-social a.soc { color: #fff; overflow: hidden; transition: transform .2s, box-shadow .2s, filter .2s; }
.footer-social a.soc:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.35); filter: brightness(1.08); }
.footer-social .soc-ico { width: 22px; height: 22px; }
.footer-social a.soc-facebook { background: #1877F2; }
.footer-social a.soc-facebook:hover { background: #1877F2; }
.footer-social a.soc-facebook .soc-ico { width: 100%; height: 100%; }   /* el logo ya es un círculo */
.footer-social a.soc-instagram,
.footer-social a.soc-instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-social a.soc-tiktok,
.footer-social a.soc-tiktok:hover { background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.footer-social a.soc-tiktok .soc-ico { width: 20px; height: 20px; filter: drop-shadow(1.4px 1.4px 0 #fe2c55) drop-shadow(-1.4px -1.4px 0 #25f4ee); }
.footer-social a.soc-correo .soc-ico { width: 20px; height: 20px; }

/* Bloque "Visitanos o escribinos" */
.info-item .ico svg { width: 22px; height: 22px; }
.info-item .ico-pin    { color: #E6127A; background: rgba(230,18,122,.10); }
.info-item .ico-reloj  { color: var(--pp-blue); }
.info-item .ico-wa     { color: #25D366; background: rgba(37,211,102,.12); }
.info-item .ico-correo { color: var(--pp-navy); background: rgba(26,26,26,.07); }

/* Footer: columna de contacto */
.footer-contact .fc-linea { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .fc-linea svg { margin-top: 3px; opacity: .85; }
.footer-contact a.wa-link svg { width: 1.2em; height: 1.2em; }

/* Página de contacto */
.ct-ico { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.ct-ico svg { width: 28px; height: 28px; }
.ct-wa   { background: #25D366; color: #fff; }
.ct-fb   { background: #1877F2; color: #fff; }
.ct-mail { background: var(--pp-navy); color: #fff; }
.ct-pin  { background: #E6127A; color: #fff; }

/* Contador de visitas (footer, bajo el WhatsApp) */
.footer-contact .fc-visitas { margin-top: 20px; }
.footer-contact .fc-visitas-titulo { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.footer-contact .fc-visitas-num { display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
.footer-contact .fc-visitas-num svg { width: 1.3rem; height: 1.3rem; color: var(--pp-cyan); }
