
/* Fondo general y centrado */
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 40px 0;
  background-color: #111;
}

.bike-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #121212;
  color: #ffbe61;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
  background: #1e1e1e;
}

.wrapper {
    text-align: center;
    margin: 0px auto;
    max-width: 500px;
    padding: 16px 24px;
    background: #1e1e1e;
    border-radius: 50px;
    border: 1px solid rgba(145,119,113,0.25);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: slideInUp 0.8s ease-out;
}
        .wrapper a {
            color: #917771;
            text-decoration: none;
            margin: 0 14px;
            font-size: 1.7em;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .wrapper a:hover {
            color: greenyellow;
        }

.notification {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  max-width: 300px;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.4;
    color: #DED7D7;
    background-color: #111;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
}

/* ── Google Fonts import for navbar ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600&display=swap');

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none;
}

.logo {
    font-family: 'Bebas Neue', 'Times New Roman', serif;
    font-size: 1.55rem;
    font-weight: 400;
    color: #F2F2F2;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s;
}

.logo:hover { color: #adff2f; }

.logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #adff2f;
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: middle;
    margin-bottom: 4px;
    box-shadow: 0 0 8px #adff2f;
}

#Regalos-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(173, 255, 47, 0.08);
    color: #adff2f;
    border: 1px dashed rgba(173, 255, 47, 0.45);
    border-radius: 20px;
    padding: 4px 13px;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: background 0.25s, border-color 0.25s;
}

#Regalos-btn:hover {
    background: rgba(173, 255, 47, 0.16);
    border-color: #adff2f;
}

#Regalos-btn::after { display: none; }

.navbar {
    pointer-events: all;
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: clamp(680px, 72%, 1080px);
    background: rgba(14, 14, 14, 0.55);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.14);
    padding: 12px 28px;
    border-radius: 22px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow:
        0 4px 32px rgba(0, 0, 0, 0.55),
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 0 0 1px rgba(173, 255, 47, 0.06);
    animation: navDrop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 500;
    opacity: 0;
}

@keyframes navDrop {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* subtle green glow line at bottom on scroll — added via JS class */
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.75);
    box-shadow:
        0 6px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(173, 255, 47, 0.1);
}

.nav-menu {
    font-family: 'DM Sans', 'Times New Roman', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    list-style: none;
    gap: 0.25rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-menu a {
    color: rgba(200, 200, 200, 0.82);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.22s ease, background 0.22s ease;
    position: relative;
    padding: 6px 11px;
    border-radius: 10px;
    letter-spacing: 0.15px;
}

.nav-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* active page highlight */
.nav-menu a[aria-current="page"] {
    color: #adff2f;
    font-weight: 600;
}

.nav-menu a[aria-current="page"]::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2px;
    background: #adff2f;
    border-radius: 2px;
    box-shadow: 0 0 6px #adff2f;
}

/* remove old ::after underline on active */
.nav-menu a::after { display: none; }

/* ── Nav Actions: Registro + Carrito ── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-registro-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(200, 200, 200, 0.85);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.nav-registro-btn svg {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-registro-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-registro-btn:hover svg { opacity: 1; }

.nav-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(200, 200, 200, 0.85);
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.nav-cart-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
}

.nav-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #adff2f;
    color: #0a0a0a;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 6px rgba(173, 255, 47, 0.6);
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cart-count.bump {
    transform: scale(1.35);
}

/* hide count when 0 */
.nav-cart-count[data-count="0"] {
    opacity: 0;
    transform: scale(0.6);
}


/* Hero Section */
.hero {
    background: url("bici-removebg-preview.jpg") center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 3rem;
    margin-top: 0px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 30%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.1)
    );
    z-index: 1;
}

/* Grid de fondo decorativo */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(145,119,113,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(145,119,113,0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: left;
}

/* Tag badge */
.hero-tag {
    display: inline-block;
    background: rgba(145,119,113,0.15);
    border: 1px solid rgba(145,119,113,0.4);
    color: #b09490;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-text h2 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-accent {
    color: greenyellow;
    display: block;
}

.hero-text p {
    font-size: 1.05rem;
    color: #888;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 480px;
}

/* Botones hero */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-ghost {
    font-family: 'Times New Roman', Times, serif;
    background: transparent;
    color: #DED7D7;
    border: 2px solid rgba(222,215,215,0.3);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-ghost:hover {
    border-color: #917771;
    color: #917771;
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Animación fade in up para cada stat */
@keyframes statFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat {
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: statFadeUp 0.6s ease forwards;
}

/* Delay escalonado para cada stat */
/* Delays escalonados para cada stat en orden */
.stat:nth-child(1)  { animation-delay: 0.1s; }   /* Categorías */
.stat:nth-child(3)  { animation-delay: 0.4s; }   /* Calidad */
.stat:nth-child(5)  { animation-delay: 0.7s; }   /* Gratis */
.stat:nth-child(7)  { animation-delay: 1.0s; }   /* Ventas */

.stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    animation: statFadeUp 0.6s ease forwards;
}

.stat-divider:nth-child(2) { animation-delay: 0.25s; }
.stat-divider:nth-child(4) { animation-delay: 0.55s; }
.stat-divider:nth-child(6) { animation-delay: 0.85s; }

/* Visual del hero */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-glow {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(145,119,113,0.25) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

.btn-primary {
    font-family: 'Times New Roman', Times, serif;
    background: transparent;
    color: #DED7D7;
    border: 2px solid rgba(222,215,215,0.3);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 17px #888;
}



/* Products Sections */
.products-section {
    padding: 5rem 2rem;
    background: #111;
    position: relative;
}

.products-section:nth-child(even) {
    background: #141414;
}

.products-section.featured {
    background: #141414;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(145,119,113,0.2);
}

.section-header h2 {
    font-size: 2rem;
    color: #e0e0e0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-secondary {
    background: #D3D7D7;
    color: #2a2a2a;
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(136, 136, 136, 1);
}

.btn-secondary:hover {
    background: transparent;
    color: #d3d7d7;
    border-color: #888;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(136, 136, 136, 1);
}

.products-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.products-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.products-container::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: #1e1e1e;
    border: 1px solid rgba(145,119,113,0.2);
    border-radius: 18px;
    padding: 1.3rem;
    text-align: center;
    min-width: 260px;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #917771, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(145,119,113,0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #2a2a2a;
    padding: 10px;
    transition: transform 0.35s ease;
}

.product-card h3 {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.product-card .price {
    font-size: 1.15rem;
    color: #917771;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #917771;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(145,119,113,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #b09490;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 22px rgba(145,119,113,0.6);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* Sports Section */
.sports-section {
    padding: 5rem 2rem;
    background: #111;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card.large {
    min-width: auto;
}

.product-card.large img {
    height: 250px;
}

/* Reducir ligeramente imágenes de regalos en escritorio */
#regalos .product-card img {
    height: 220px;
}


/* =============================================
   RESPONSIVE — TABLET  (≤ 1050px)
   ============================================= */
@media (max-width: 1100px) {
    .navbar {
        padding: 10px 20px;
        gap: 0.4rem;
        width: clamp(560px, 90%, 1080px);
    }
    .nav-menu {
        gap: 0.1rem;
        font-size: 0.82rem;
    }
    .nav-menu a {
        padding: 6px 8px;
    }
    /* Ocultar "Mis Pedidos" del menu — pasa al panel hamburger en tablet */
    .nav-pedidos-btn {
        display: none;
    }
}

/* =============================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================= */
@media (max-width: 900px) {
    .navbar {
        top: 10px;
        width: 95%;
        padding: 10px 16px;
        border-radius: 40px;
        gap: 0.3rem;
    }
    .nav-menu {
        gap: 0rem;
        font-size: 0.78rem;
    }
    .nav-menu a {
        padding: 5px 7px;
    }
    /* Ocultar secciones menos críticas para que quepan */
    .nav-menu li:nth-child(7) { display: none; } /* Regalos */

    .hero-text h2 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .products-section,
    .sports-section {
        padding: 4rem 1.5rem;
    }
}

/* =============================================
   RESPONSIVE — MÓVIL  (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

    /* — Navbar móvil: barra blanca fija arriba — */
    .navbar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        border-bottom: 1px solid #e8e8e8 !important;
        box-shadow: none !important;
        padding: 0 16px !important;
        height: 52px !important;
        gap: 8px !important;
        opacity: 1 !important;
        animation: none !important;
        z-index: 1000 !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .navbar.scrolled {
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    }

    /* — Ocultar nav-menu (se usa el panel hamburger) — */
    .nav-menu { display: none !important; }

    /* — Logo visible — */
    .nav-logo-link {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0 !important;
    }
    .nav-logo-icon { color: #1a1a1a !important; display: block !important; }
    .nav-logo-text {
        font-size: 17px !important;
        font-weight: 700 !important;
        color: #1a1a1a !important;
        display: inline !important;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
        letter-spacing: -0.3px !important;
    }

    /* — Iconos de acción — */
    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        flex-shrink: 0 !important;
    }
    .nav-icon-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: none !important;
        border: none !important;
        color: #1a1a1a !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        position: relative !important;
    }
    .nav-icon-label { display: none !important; }
    .nav-hamburger  { display: flex !important; }

    /* Badge carrito */
    .nav-cart-count {
        background: #1a1a1a !important;
        color: #fff !important;
        box-shadow: none !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        top: 4px !important;
        right: 4px !important;
    }
    .nav-cart-count[data-count="0"] { display: none !important; }

    /* — Hero — */
    .hero {
        padding: 1.5rem 1rem 2.5rem;
        margin-top: 52px;
        min-height: auto;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1.15rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .bike-image {
        max-width: 300px;
    }

    /* — Secciones — */
    .products-section,
    .sports-section {
        padding: 3rem 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* — Carrusel — */
    .carousel-btn {
        display: none;
    }

    .products-carousel {
        padding: 0 0.5rem;
    }

    .products-container {
        padding: 0.5rem 0 1rem;
        gap: 1rem;
    }

    /* — Tarjetas de producto — */
    .product-card {
        min-width: 240px;
        padding: 1.2rem;
    }

    .product-card img {
        height: 200px;
    }

    /* — Deportes grid — */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card.large {
        min-width: unset;
    }

    .product-card.large img {
        height: 160px;
    }

    /* — Regalos — */
    #regalos .product-card {
        min-width: 200px;
        padding: 1rem;
    }

    #regalos .product-card img {
        height: 150px;
    }

    /* — Sports banner — */
    .sports-banner {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .sports-info {
        padding: 2rem;
    }

    /* — Carrito sidebar — */
    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .cart-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
    .cart-summary {
        border-radius: 12px 12px 0 0;
        flex-shrink: 0;
        padding-bottom: env(safe-area-inset-bottom, 12px);
    }
    .checkout-btn {
        font-size: 1rem;
        padding: 15px 16px;
    }

    /* — Modales — */
    .modal-content {
        width: 95%;
        max-height: 92vh;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .catalog-item {
        padding: 0.8rem;
        border-radius: 12px;
        min-width: 0;
        box-sizing: border-box;
    }

    .catalog-item img {
        height: 175px;
        padding: 6px;
        margin-bottom: 0.6rem;
    }

    .catalog-item h4 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .catalog-item .price {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        display: block;
    }

    .catalog-item .add-to-cart-btn {
        font-size: 0.75rem;
        padding: 0.55rem 0.5rem;
        margin-top: 0.5rem;
        border-radius: 25px;
        letter-spacing: 0px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

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

    .payment-tabs {
        flex-direction: column;
    }

    .payment-tab {
        text-align: center;
    }

    .verification-actions {
        flex-direction: column;
    }

    /* — Redes sociales — */
    .wrapper {
        margin: 20px 16px;
        padding: 12px 8px;
    }
}

/* =============================================
   RESPONSIVE — MÓVIL PEQUEÑO  (≤ 480px)
   ============================================= */
@media (max-width: 480px) {

    .hero {
        margin-top: 0;
        padding: 0.8rem 0.8rem 2rem;
    }

    .hero-text h2 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .bike-image {
        max-width: 220px;
    }

    .products-section,
    .sports-section {
        padding: 2.5rem 0.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .product-card {
        min-width: 200px;
        padding: 1rem;
    }

    .product-card img {
        height: 170px;
    }

    .product-card h3 {
        font-size: 1rem;
    }

    .product-card .price {
        font-size: 1.1rem;
    }

    /* Deportes en columna única */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card.large {
        min-width: unset;
    }

    .product-card.large img {
        height: 140px;
    }

    #regalos .product-card {
        min-width: 175px;
    }

    #regalos .product-card img {
        height: 130px;
    }

    .cart-item img {
        width: 60px;
        height: 60px;
    }

    .cart-item-info h4 {
        font-size: 0.9rem;
    }

    .quantity-btn {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }

    .modal-content {
        width: 98%;
        max-height: 94vh;
    }

    .modal-header h3 {
        font-size: 1.2rem;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .catalog-item {
        padding: 0.7rem;
        border-radius: 12px;
        min-width: 0;
        box-sizing: border-box;
    }

    .catalog-item img {
        height: 155px;
        padding: 5px;
        margin-bottom: 0.5rem;
    }

    .catalog-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .catalog-item .price {
        font-size: 0.9rem;
        display: block;
        margin-bottom: 0.3rem;
    }

    .catalog-item .add-to-cart-btn {
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
        border-radius: 25px;
        letter-spacing: 0px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }

    .notification {
        max-width: 92%;
        font-size: 0.9rem;
    }

    .wrapper {
        margin: 16px 8px;
        padding: 10px 6px;
    }

    .wrapper a {
        font-size: 1.4em;
        margin: 0 10px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* Carrito de Compras */
/* =============================================
   CARRITO DE COMPRAS — REDISEÑO
   ============================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -440px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #0e0e0e;
    color: #DED7D7;
    z-index: 10000;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 50px rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

.cart-sidebar.open { right: 0; }

/* Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #0e0e0e;
    flex-shrink: 0;
}

.cart-header-left {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #fff;
}

.cart-header-left svg { opacity: 0.7; }

.cart-header h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
}

.cart-count-pill {
    background: #adff2f;
    color: #0a0a0a;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

.close-cart {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.close-cart:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Auth banner */
.cart-auth-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(173,255,47,0.07);
    border-bottom: 1px solid rgba(173,255,47,0.15);
    padding: 10px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: rgba(200,200,200,0.85);
    flex-shrink: 0;
}

.cart-auth-banner svg { color: #adff2f; flex-shrink: 0; }
.cart-auth-banner span { flex: 1; }

.cart-auth-banner button {
    background: #adff2f;
    color: #0a0a0a;
    border: none;
    border-radius: 7px;
    padding: 5px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.cart-auth-banner button:hover { background: #c8ff5a; }

@keyframes cartBannerPulse {
    0%,100% { background: rgba(173,255,47,0.07); }
    40%      { background: rgba(173,255,47,0.2); }
}
.cart-auth-banner.pulse { animation: cartBannerPulse 0.7s ease; }

/* Items */
.cart-items {
    flex: 1;
    padding: 0.8rem 1rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 #0e0e0e;
}
.cart-items::-webkit-scrollbar { width: 4px; }
.cart-items::-webkit-scrollbar-track { background: #0e0e0e; }
.cart-items::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    background: #1a1a1a;
    border-radius: 14px;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.cart-item:hover { background: #222; }

.cart-item img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 10px;
    background: #2a2a2a;
    padding: 6px;
    flex-shrink: 0;
}

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

.cart-item-info h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #e8e8e8;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-info p {
    font-family: 'DM Sans', sans-serif;
    color: #adff2f;
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.quantity-btn {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid rgba(255,255,255,0.1);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #adff2f;
    color: #0a0a0a;
    border-color: #adff2f;
}

.remove-item {
    background: transparent;
    color: #555;
    border: 1px solid #333;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.remove-item:hover {
    background: rgba(255,60,60,0.1);
    color: #ff6b6b;
    border-color: rgba(255,60,60,0.3);
}

/* Summary */
.cart-summary {
    background: #0e0e0e;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.cart-total {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 0.8rem 0.95rem;
    margin-bottom: 0.75rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: #888;
    padding: 3px 0;
}

.cart-total-row.total {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 8px;
    margin-top: 6px;
}

.cart-total-row.discount-info { color: #adff2f; }

.discount-info { color: #adff2f !important; font-weight: 600; }
.gift-info { color: #ffa94d !important; font-weight: 600; font-size: 0.82rem; }

/* Checkout button */
.checkout-btn {
    width: 100%;
    background: #adff2f;
    color: #0a0a0a;
    border: none;
    padding: 13px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 20px rgba(173,255,47,0.25);
}

.checkout-btn:hover { background: #c8ff5a; transform: translateY(-1px); }
.checkout-btn:active { transform: scale(0.99); }

/* Locked state when not logged in */
.checkout-btn--locked {
    background: #2a2a2a;
    color: #666;
    box-shadow: none;
    cursor: not-allowed;
}
.checkout-btn--locked:hover { background: #2a2a2a; transform: none; }

.cart-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    color: #444;
    text-align: center;
}

/* Estilos adicionales para garantizar visibilidad del botón */
.cart-sidebar .cart-items {
    flex: 1;
    overflow-y: auto;
}

/* Efecto de sombra cuando hay scroll */
.cart-items:not(:empty) + .cart-summary {
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}


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

/* Botones de productos */
.add-to-cart-btn {
    background: #917771;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.88rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(145,119,113,0.3);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
}

.add-to-cart-btn:before {
    content: '🛍️';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 100;
}

.add-to-cart-btn:hover:before {
    left: 25px;
    opacity: 1;
}

.add-to-cart-btn:hover {
    padding-left: 45px;
}

/* Productos de regalo */
.gift-card {
    border: 2px solid #000;
    position: relative;
}
.gift-info {
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 0.5rem;
}

.gift-badge {
    background: transparent;
    color: #D3D7D7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Modales */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.18s ease, background 0.18s ease;
    pointer-events: none;
    will-change: opacity;
}

.modal-overlay.show {
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 0.72);
    pointer-events: auto;
}

/* Backdrop para el carrito */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    pointer-events: none;
    will-change: opacity;
}

.cart-backdrop.show {
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(145,119,113,0.25);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}


.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background: #917771;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.close-modal {
    background: rgba(0,0,0,0.25);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: rgba(0,0,0,0.5);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
}


/* Catálogo */
.catalog-modal .modal-content {
    max-width: 800px;
    background: #1a1a1a;
    border: 1px solid rgba(145,119,113,0.2);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.catalog-item {
    background: #2a2a2a;
    border: 1px solid rgba(145,119,113,0.15);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 0;
    box-sizing: border-box;
}

.catalog-item:hover {
    transform: translateY(-5px);
    border-color: rgba(145,119,113,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.catalog-item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    background: #1e1e1e;
    padding: 8px;
    transition: transform 0.3s ease;
}

.catalog-item:hover img {
    transform: scale(1.04);
}

.catalog-item h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #e0e0e0;
    font-weight: 600;
}

.catalog-item .price {
    color: #917771;
    font-weight: 700;
    font-size: 1rem;
}


/* Estilos para pagos */
.payment-modal .modal-content {
    max-width: 640px;
    max-height: 90vh;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.8);
    animation: modalSlideIn 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header del modal de pedido */
.payment-modal .modal-header {
    background: #0e0e0e;
    border-radius: 20px 20px 0 0;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.payment-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-header-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(173,255,47,0.12);
    border: 1px solid rgba(173,255,47,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adff2f;
    flex-shrink: 0;
}

.payment-modal .modal-header h3 {
    font-family: 'DM Sans', sans-serif;
    color: #f0f0f0;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1px;
    margin: 0;
}

.payment-header-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: #555;
    display: block;
}

.payment-modal .close-modal {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #666;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.payment-modal .close-modal:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Summary section */
.payment-summary {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 1.1rem 1.2rem;
    border-radius: 14px;
    margin-bottom: 1.2rem;
}

.summary-label,
.contact-section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.75rem;
}

.reservation-items-list { margin-bottom: 0.75rem; }

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: #bbb;
    padding: 4px 0;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 0.6rem;
    margin-top: 0.4rem;
}

.payment-total-amount {
    color: #adff2f;
    font-size: 1.05rem;
}

.payment-benefits {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: #666;
}

/* Contact form section */
.payment-methods {
    margin-top: 0;
}

.contact-section-label {
    margin-bottom: 0.85rem;
}

/* Form fields */
.pm-field-group {
    margin-bottom: 0.85rem;
}

.pm-field-group label {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional-tag {
    font-size: 0.72rem;
    font-weight: 400;
    color: #555;
    text-transform: none;
    letter-spacing: 0;
}

.pm-input-wrap input,
.pm-input-wrap textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    background: #1a1a1a;
    color: #e8e8e8;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
    outline: none;
}

.pm-input-wrap input:focus,
.pm-input-wrap textarea:focus {
    border-color: rgba(173,255,47,0.4);
    box-shadow: 0 0 0 3px rgba(173,255,47,0.08);
}

.pm-input-wrap input::placeholder,
.pm-input-wrap textarea::placeholder {
    color: #444;
    font-size: 0.85rem;
}

.pm-input-wrap textarea { resize: none; }

.pm-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

/* Submit button */
.payment-submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'DM Sans', sans-serif;
    background: #adff2f;
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(173,255,47,0.25);
    transition: background 0.2s, transform 0.15s;
    overflow: hidden;
    position: relative;
}

.payment-submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.4s ease;
}
.payment-submit-btn:hover::before { left: 100%; }
.payment-submit-btn:hover { background: #c8ff5a; transform: translateY(-1px); }
.payment-submit-btn:active { transform: scale(0.99); }
.payment-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Secure note */
.secure-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 0.75rem;
    color: #444;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
}
/* Modal header general (catalog etc) */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    color: #f0f0f0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.close-modal {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #666;
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}
.close-modal:hover { background: rgba(255,255,255,0.1); color: #fff; }

.modal-body { padding: 1.2rem 1.4rem; }

.benefit-icon {
    font-size: 20px;
    margin-right: 8px;
}

.benefit-text {
    font-size: 14px;
    color: #7a6a64;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(145,119,113,0.2);
    color: #4a3a35;
}

.payment-item:last-child {
    border-bottom: none;
}

.payment-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #917771;
}

.payment-total p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a1e1b;
    display: flex;
    justify-content: space-between;
}


/* payment-submit replaced by payment-submit-btn */


/* Prevenir scroll del body cuando hay modales abiertos */
body.modal-open {
    overflow: hidden;
}


.modal.show {
    animation: slideUp 0.18s ease-out;
}


/* Mejoras en notificaciones */
.notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Gift label para sección de regalos */
.gift-label {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 14px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* Tarjetas de regalo: sin cursor de compra */
.gift-card {
    cursor: default;
}

/* Tarjeta seleccionada como regalo activo */
.gift-card.gift-selected {
    border: 2px solid #ffa500;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.35);
}

/* =============================================
   HERO REMODELADO — RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h2 {
        font-size: 2.8rem;
    }
    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 1.5rem 1.2rem 2.5rem;
        margin-top: 0;
    }
    .hero-text h2 {
        font-size: 2.2rem;
    }
    .hero-tag {
        font-size: 0.78rem;
    }
    .hero-stats {
        gap: 1rem;
    }
    .stat-num {
        font-size: 1.1rem;
    }
    .btn-ghost {
        padding: 0.8rem 1.4rem;
        font-size: 0.9rem;
    }
    .section-header h2 {
        font-size: 1.4rem;
        gap: 0.4rem;
    }
}

/* Contactos section label */
.Contactos {
    background: #000;
    padding: 2rem 1rem 3rem;
    text-align: center;
}

.Contactos::before {
    content: 'Contáctanos';
    display: block;
    font-size: 2rem;
    text-transform: capitalize;
    letter-spacing: 0px;
    color: #D3D7D7;
    margin-bottom: 1.0rem;
    font-weight: 600;
}

/* Add to cart hover effect override for dark cards */
.add-to-cart-btn:hover {
    background: #b09490;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(145,119,113,0.5);
}

.add-to-cart-btn:hover:before {
    left: 25px;
    opacity: 1;
}

.add-to-cart-btn:hover {
    padding-left: 45px;
}

/* Formulario de pedido — responsive móvil */
@media (max-width: 540px) {
    .pm-row {
        grid-template-columns: 1fr;
    }
    .payment-submit-btn {
        font-size: 0.9rem;
        padding: 0.9rem 1.2rem;
    }
}

/* =============================================
   SECCIÓN COMPARTIR
   ============================================= */
.share-section {
    margin-top: 1.8rem;
    text-align: center;
}

.share-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a0948e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-btn i {
    font-size: 1.2rem;
    line-height: 1;
    display: block;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.share-whatsapp  { background: #25D366; color: #fff; }
.share-telegram  { background: #229ED9; color: #fff; }
.share-x         { background: #000;    color: #fff; }
.share-facebook  { background: #1877F2; color: #fff; }
.share-email     { background: #917771; color: #fff; }
.share-copy      { background: #2a2a2a; color: #DED7D7; border: 1px solid rgba(145,119,113,0.3); }

.share-copy:hover { background: #3a3a3a; }

/* =============================================
   PRODUCT CARDS — nuevo diseño (imagen ref)
   ============================================= */
.product-card {
    background: #1a1a1a;
    border: none;
    border-radius: 16px;
    padding: 0;
    text-align: left;
    min-width: 260px;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,0.45);
    flex-shrink: 0;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.product-card::before { display: none; }

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    background: #222;
    padding: 0;
    transition: transform 0.4s ease;
    display: block;
}

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

.product-card-body {
    padding: 14px 16px 16px;
}

.product-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.97rem;
    color: #e8e8e8;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.product-card .price {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #adff2f;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
}

.add-to-cart-btn {
    width: 100%;
    background: #adff2f;
    color: #0a0a0a;
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.1px;
    transition: background 0.2s, transform 0.15s;
}

.add-to-cart-btn:hover {
    background: #c8ff5a;
    transform: scale(1.02);
}

.add-to-cart-btn:active { transform: scale(0.98); }

/* Wrap existing card inner content in .product-card-body via JS */
/* (lo hacemos con un pequeño script inline) */

/* =============================================
   SECTION HEADER — "Ver catálogo →" nuevo diseño
   ============================================= */
.btn-secondary { display: none; } /* hide old button if any remain */

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

.section-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-catalog {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #adff2f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    letter-spacing: 0.1px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, gap 0.2s;
}

.btn-catalog:hover {
    border-bottom-color: #adff2f;
    gap: 10px;
}

.btn-catalog svg {
    transition: transform 0.2s;
}

.btn-catalog:hover svg { transform: translateX(3px); }

/* Carousel buttons updated */
.carousel-btn {
    background: rgba(30,30,30,0.9);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.carousel-btn:hover {
    background: rgba(173,255,47,0.15);
    border-color: rgba(173,255,47,0.4);
    color: #adff2f;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(173,255,47,0.2);
}

/* =============================================
   AUTH MODAL
   ============================================= */
.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.94);
    width: 100%;
    max-width: 400px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem 2rem;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.auth-modal.show {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 4px 8px;
    border-radius: 8px;
}
.auth-modal-close:hover { color: #fff; background: rgba(255,255,255,0.07); }

.auth-logo {
    font-family: 'Bebas Neue', serif;
    font-size: 1.6rem;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 0.2rem;
}

.auth-logo-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #adff2f;
    border-radius: 50%;
    margin-left: 2px;
    vertical-align: middle;
    margin-bottom: 3px;
    box-shadow: 0 0 6px #adff2f;
}

.auth-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f0f0f0;
    margin: 1rem 0 0.4rem;
    text-align: center;
}

.auth-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: #666;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.8rem;
    max-width: 280px;
}

.auth-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #111;
    border: none;
    border-radius: 12px;
    padding: 13px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.1px;
    margin-bottom: 0.75rem;
}

.auth-google-btn:hover { background: #f0f0f0; transform: translateY(-1px); }
.auth-google-btn:active { transform: scale(0.98); }
.auth-google-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.auth-error {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color: #ff6b6b;
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.2);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    margin-bottom: 0.75rem;
    width: 100%;
}

.auth-terms {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: #444;
    text-align: center;
    line-height: 1.5;
    margin-top: 0.5rem;
}
.auth-terms a { color: #666; text-decoration: underline; }
.auth-terms a:hover { color: #adff2f; }

/* Logged-in state */
.auth-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #adff2f;
    box-shadow: 0 0 16px rgba(173,255,47,0.25);
}

.auth-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 1.25rem 0;
}

.auth-action-link {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ccc;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
.auth-action-link:hover { background: rgba(255,255,255,0.08); color: #fff; }

.auth-signout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255,100,100,0.2);
    color: #ff6b6b;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.25rem;
}
.auth-signout-btn:hover { background: rgba(255,107,107,0.08); }

/* Shake animation for nav button */
@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%      { transform: translateX(-5px); }
    40%      { transform: translateX(5px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(4px); }
}
.nav-registro-btn.shake { animation: shake 0.5s ease; }



/* .cart-icon eliminado — botón flotante removido por completo */
.cart-icon { display: none !important; }


/* =============================================
   NAVBAR NUEVO — DESKTOP (logo + iconos)
   ============================================= */

/* Logo */
.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #f0f0f0;
    flex-shrink: 0;
}
.nav-logo-icon { color: #f0f0f0; }
.nav-logo-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.3px;
}

/* Botones de icono (usuario, carrito, hamburger) */
.nav-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    padding: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: rgba(200,200,200,0.85);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-icon-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}

/* Label usuario (desktop) */
.nav-icon-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(200,200,200,0.85);
    white-space: nowrap;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Cuando el botón usuario tiene label, ampliar un poco */
#nav-registro-btn {
    width: auto;
    padding: 0 12px;
    gap: 7px;
}

/* Badge carrito (desktop — dark) */
.nav-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    background: #adff2f;
    color: #0a0a0a;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 0 6px rgba(173,255,47,0.6);
    transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1);
}
.nav-cart-count.bump { transform: scale(1.35); }
.nav-cart-count[data-count="0"] { opacity: 0; transform: scale(0.6); }

/* Hamburger: solo móvil */
.nav-hamburger { display: none; }

/* Shake */
.nav-icon-btn.shake { animation: shake 0.5s ease; }


/* =============================================
   PANEL LATERAL MÓVIL (hamburger menu)
   ============================================= */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1100;
}
.mobile-menu-overlay.open { display: block; }

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100dvh;
    background: #fff;
    z-index: 1101;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.mobile-menu-close:hover { background: #f0f0f0; }

.mobile-menu-label {
    padding: 16px 20px 8px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #aaa;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    padding: 0 12px;
    gap: 2px;
}
.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: background 0.15s;
    cursor: pointer;
}
.mobile-menu-item:hover { background: #f5f5f5; }
.mmi-icon { font-size: 18px; width: 26px; text-align: center; flex-shrink: 0; }
.mmi-arrow { margin-left: auto; color: #ccc; flex-shrink: 0; }

.mobile-menu-divider {
    margin: 12px 20px;
    height: 1px;
    background: #f0f0f0;
}
.mobile-menu-pedidos {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s;
}
.mobile-menu-pedidos:hover { background: #f5f5f5; }

/* Botón Mis Pedidos en nav-menu desktop */
.nav-pedidos-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 0.82rem;
    transition: background 0.2s;
}
.nav-pedidos-btn:hover {
    background: rgba(255,255,255,0.13);
}


/* =============================================
   SECCIÓN CONTACTOS — REDISEÑO
   ============================================= */
.Contactos {
    background: #0a0a0a;
    padding: 80px 24px 60px;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo sutil */
.Contactos::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(173,255,47,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.contactos-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* — Encabezado — */
.contactos-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contactos-logo-row {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 6px 16px 6px 10px;
}

.contactos-gh-icon {
    width: 20px;
    height: 20px;
    color: #f0f0f0;
    flex-shrink: 0;
}

.contactos-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.2px;
}

.contactos-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin: 0;
}

.contactos-title-accent {
    color: #adff2f;
    display: inline;
}

.contactos-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    max-width: 360px;
    margin: 0;
}

/* — Grid de tarjetas — */
.contactos-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contactos-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.contactos-card:hover {
    border-color: #333;
    background: #161616;
    transform: translateY(-2px);
}

.contactos-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Colores por red */
.contactos-ig { background: rgba(225,48,108,0.12); color: #e1306c; }
.contactos-wa { background: rgba(37,211,102,0.12); color: #25d366; }
.contactos-x  { background: rgba(255,255,255,0.08); color: #f0f0f0; }
.contactos-gh { background: rgba(255,255,255,0.07); color: #f0f0f0; }

.contactos-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.contactos-card-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
}

.contactos-card-handle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contactos-card-arrow {
    color: #333;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.contactos-card:hover .contactos-card-arrow {
    color: #adff2f;
    transform: translate(2px, -2px);
}

/* — Botón compartir — */
.contactos-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 100px;
    color: #888;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.contactos-share-btn:hover {
    border-color: rgba(173,255,47,0.4);
    color: #adff2f;
    background: rgba(173,255,47,0.04);
}

/* — Footer note — */
.contactos-footer-note {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    color: #2e2e2e;
    text-align: center;
}


/* =============================================
   CONTACTOS — RESPONSIVE MÓVIL
   ============================================= */
@media (max-width: 768px) {
    .Contactos {
        padding: 60px 16px 48px;
    }
    .contactos-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .contactos-card {
        padding: 14px;
    }
    .contactos-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 400px) {
    .contactos-title { font-size: 1.6rem; }
    .contactos-card-icon { width: 38px; height: 38px; font-size: 17px; }
}
