:root {
    --rosa: #d97996;
    --rosa-claro: #f8e7ed;
    --rosa-suave: #fff5f8;
    --rosa-oscuro: #b94f70;

    --dorado: #c8a45d;
    --dorado-claro: #ead8a8;

    --negro: #171515;
    --negro-suave: #292426;

    --blanco: #ffffff;
    --crema: #faf7f4;
    --gris: #f4f1ef;

    --texto: #393334;
    --texto-suave: #777071;

    --borde: #ebe4e4;

    --sombra: 0 15px 45px rgba(32, 20, 25, 0.08);
    --sombra-fuerte: 0 20px 60px rgba(32, 20, 25, 0.14);
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--blanco);
    color: var(--texto);
    overflow-x: hidden;
}

::selection {
    background: var(--rosa);
    color: white;
}

/* =========================
   BARRA SUPERIOR
========================= */

.barra-superior {
    width: 100%;
    background: var(--negro);
    color: white;
    padding: 9px 20px;
    font-size: 11px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.barra-contenido {
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.barra-superior .separador {
    color: var(--dorado);
}

/* =========================
   HEADER
========================= */

.header-principal {
    width: 100%;
    min-height: 92px;
    padding: 10px 6%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--borde);

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
}

/* =========================
   NAV
========================= */

.header-principal nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header-principal nav a {
    color: var(--negro);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s ease;
}

.header-principal nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--rosa);
    transition: width 0.3s ease;
}

.header-principal nav a:hover {
    color: var(--rosa-oscuro);
}

.header-principal nav a:hover::after {
    width: 100%;
}

/* =========================
   CARRITO HEADER
========================= */

.boton-carrito {
    border: 1px solid var(--rosa);
    background: var(--rosa);
    color: white;

    padding: 13px 21px;
    border-radius: 30px;

    cursor: pointer;
    font-size: 13px;
    font-weight: 700;

    transition: 0.3s ease;
}

.boton-carrito:hover {
    background: var(--rosa-oscuro);
    border-color: var(--rosa-oscuro);
    transform: translateY(-2px);
}

.boton-carrito #contador {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 20px;
    height: 20px;

    margin-left: 5px;
    padding: 0 5px;

    border-radius: 50px;

    background: white;
    color: var(--rosa-oscuro);

    font-size: 11px;
}

#abrirCarrito {
    border: none;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero-xiocars {
    min-height: 590px;
    padding: 70px 8%;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(200, 164, 93, 0.18),
            transparent 28%
        ),
        linear-gradient(
            110deg,
            #fff1f6 0%,
            #fffafa 50%,
            #f7eee9 100%
        );
}

.hero-xiocars::before {
    content: "";
    position: absolute;

    width: 480px;
    height: 480px;

    border: 1px solid rgba(200, 164, 93, 0.25);
    border-radius: 50%;

    right: -180px;
    top: -180px;
}

.hero-xiocars::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(217, 121, 150, 0.18);
    border-radius: 50%;

    left: -150px;
    bottom: -170px;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-etiqueta {
    color: var(--rosa-oscuro);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero-contenido h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 7vw, 90px);
    line-height: 0.95;
    font-weight: 500;
    color: var(--negro);
    margin-bottom: 20px;
}

.hero-contenido h2 {
    font-size: clamp(22px, 3vw, 38px);
    letter-spacing: 4px;
    font-weight: 800;
    color: var(--rosa-oscuro);
    margin-bottom: 22px;
}

.hero-contenido p {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--texto-suave);
    margin-bottom: 30px;
}

.hero-boton {
    display: inline-block;
    padding: 15px 28px;

    background: var(--negro);
    color: white;

    text-decoration: none;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.hero-boton:hover {
    background: var(--rosa-oscuro);
    transform: translateY(-3px);
}

.hero-logo {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo img {
    width: min(380px, 80%);
    max-height: 380px;
    object-fit: contain;

    filter: drop-shadow(
        0 20px 30px rgba(0, 0, 0, 0.12)
    );
}

/* =========================
   BENEFICIOS
========================= */

.beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-bottom: 1px solid var(--borde);
    border-top: 1px solid var(--borde);

    background: white;
}

.beneficio {
    padding: 30px 20px;
    text-align: center;

    border-right: 1px solid var(--borde);
}

.beneficio:last-child {
    border-right: none;
}

.beneficio-icono {
    color: var(--dorado);
    font-size: 22px;
    margin-bottom: 10px;
}

.beneficio h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--negro);
    margin-bottom: 7px;
}

.beneficio p {
    color: var(--texto-suave);
    font-size: 12px;
}

/* =========================
   SECCIÓN PRODUCTOS
========================= */

.seccion-productos {
    padding: 85px 6%;
    background: #fff;
}

.encabezado-seccion {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.etiqueta-seccion {
    display: block;
    color: var(--rosa-oscuro);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 13px;
}

.encabezado-seccion h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
    color: var(--negro);
    margin-bottom: 15px;
}

.encabezado-seccion p {
    color: var(--texto-suave);
    line-height: 1.7;
    font-size: 14px;
}

/* =========================
   GRID PRODUCTOS
========================= */

#listaProductos {
    width: 100%;
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* =========================
   TARJETA PRODUCTO
========================= */

.producto {
    background: white;

    border: 1px solid var(--borde);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.producto:hover {
    transform: translateY(-7px);
    box-shadow: var(--sombra-fuerte);
    border-color: #e1d3d6;
}

.producto-imagen {
    width: 100%;
    height: 285px;

    background:
        linear-gradient(
            135deg,
            #fafafa,
            #f4f0ef
        );

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 18px;

    transition: transform 0.45s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.06);
}

.producto-info {
    padding: 22px 20px 24px;
}

.producto-categoria {
    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: var(--rosa-oscuro);

    margin-bottom: 9px;
}

.producto-info h3 {
    color: var(--negro);
    font-size: 18px;
    line-height: 1.3;

    margin-bottom: 10px;

    min-height: 46px;
}

.producto-info p:not(.producto-categoria) {
    color: var(--texto-suave);
    font-size: 13px;
    line-height: 1.5;

    min-height: 40px;

    margin-bottom: 15px;
}

.producto-precio {
    font-size: 21px;
    font-weight: 800;
    color: var(--negro);

    margin-bottom: 16px;
}

.agregar {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid var(--negro);
    background: var(--negro);
    color: white;

    cursor: pointer;

    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

.agregar:hover {
    background: var(--rosa);
    border-color: var(--rosa);
}

/* =========================
   NOSOTROS
========================= */

.nosotros {
    padding: 90px 8%;

    background:
        linear-gradient(
            135deg,
            #fff7f9,
            #faf7f4
        );
}

.nosotros-contenedor {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;
    align-items: center;
}

.nosotros-texto .etiqueta-seccion {
    margin-bottom: 12px;
}

.nosotros-texto h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 500;

    color: var(--negro);

    margin-bottom: 20px;
}

.nosotros-texto > p {
    color: var(--texto-suave);
    line-height: 1.8;
    font-size: 15px;
}

.nosotros-cajas {
    display: grid;
    gap: 20px;
}

.nosotros-caja {
    padding: 28px;

    background: white;
    border: 1px solid var(--borde);

    box-shadow: var(--sombra);
}

.nosotros-caja h3 {
    color: var(--rosa-oscuro);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 10px;
}

.nosotros-caja p {
    color: var(--texto-suave);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   CARRITO
========================= */

#carrito {
    position: fixed;
    top: 150px;
    right: -460px;
    width: 460px;
    max-width: 94vw;
    height: calc(100vh - 150px);
    background: #ffffff;
    z-index: 3000;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.14);
    transition: right 0.35s ease;
    overflow-y: auto;
}

#carrito.abierto {
    right: 0;
}

.carrito-header {
    padding: 22px 25px;

    border-bottom: 1px solid var(--borde);

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-header h2 {
    color: var(--negro);
    font-size: 20px;
}

#cerrarCarrito {
    width: 35px;
    height: 35px;

    border: 1px solid var(--borde);
    background: white;

    border-radius: 50%;

    cursor: pointer;
    font-size: 18px;
}

#productosCarrito {
    flex: 1;

    overflow-y: auto;

    padding: 20px;
}

.producto-carrito {
    display: grid;

    grid-template-columns: 75px 1fr auto;

    gap: 14px;

    padding: 15px 0;

    border-bottom: 1px solid var(--borde);
}

.producto-carrito img {
    width: 75px;
    height: 75px;

    object-fit: contain;

    background: var(--gris);
}

.producto-carrito-info h4 {
    font-size: 14px;
    color: var(--negro);
    margin-bottom: 6px;
}

.producto-carrito-info p {
    font-size: 12px;
    color: var(--texto-suave);
}

.producto-carrito-precio {
    font-size: 14px;
    font-weight: 800;
    color: var(--rosa-oscuro);
}

/* =========================
   CANTIDAD
========================= */

.cantidad-control {
    display: flex;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 10px;
}

.cantidad-btn {
    width: 32px;
    height: 32px;

    border: 1px solid #ddd3d5;

    background: var(--rosa-claro);
    color: var(--rosa-oscuro);

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}

.cantidad-btn:hover {
    background: var(--rosa);
    color: white;
}

.cantidad-numero {
    width: 42px;
    height: 32px;

    border-top: 1px solid #ddd3d5;
    border-bottom: 1px solid #ddd3d5;

    background: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: bold;

    color: var(--negro-suave);
}

.subtotal-carrito {
    color: var(--rosa-oscuro) !important;
    font-weight: bold;
}

/* =========================
   BOTÓN ELIMINAR
========================= */

.eliminar-carrito {
    border: none;
    background: transparent;

    color: #999;

    cursor: pointer;

    font-size: 12px;

    transition: 0.2s ease;
}

.eliminar-carrito:hover {
    color: #c33;
}

/* =========================
   TOTAL CARRITO
========================= */

.carrito-footer {
    padding: 20px 25px;

    border-top: 1px solid var(--borde);

    background: #fff;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 15px;
}

.carrito-total span:first-child {
    color: var(--texto-suave);
    font-size: 14px;
}

#total {
    font-size: 23px;
    font-weight: 800;
    color: var(--negro);
}

#comprarWhatsApp {
    width: 100%;

    padding: 15px;

    border: none;

    background: var(--rosa);
    color: white;

    cursor: pointer;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

#comprarWhatsApp:hover {
    background: var(--rosa-oscuro);
}

/* =========================
   FONDO DEL CARRITO
========================= */

#fondoCarrito {
    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 2500;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;
}

#fondoCarrito.activo {
    opacity: 1;
    visibility: visible;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-flotante {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 58px;
    height: 58px;

    background: #25d366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 25px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

    z-index: 2000;

    transition: 0.3s ease;
}

.whatsapp-flotante:hover {
    transform: scale(1.08);
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--negro);
    color: white;

    padding: 50px 7% 25px;
}

.footer-contenedor {
    max-width: 1300px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 35px;
}

.footer-logo img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #bbb;
    font-size: 13px;
    line-height: 1.7;
    max-width: 350px;
}

.footer-columna h3 {
    color: var(--dorado);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-columna p,
.footer-columna a {
    display: block;

    color: #bbb;

    font-size: 13px;
    line-height: 2;

    text-decoration: none;
}

.footer-columna a:hover {
    color: var(--rosa);
}

.footer-bottom {
    max-width: 1300px;
    margin: auto;

    border-top: 1px solid rgba(255,255,255,0.12);

    padding-top: 22px;

    text-align: center;

    color: #888;
    font-size: 11px;
}

/* =========================
   MENÚ MÓVIL
========================= */

.menu-movil {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--borde);

    background: white;

    border-radius: 50%;

    cursor: pointer;

    padding: 9px;
}

.menu-movil span {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--negro);

    margin: 5px 0;
}

/* =========================
   ADMIN
========================= */

body:has(.admin) {
    background: #f6f3f3;
}

.admin {
    min-height: 100vh;
    background: #f6f3f3;
}

.admin header {
    background: var(--negro);
    color: white;
    padding: 20px 5%;
}

.admin-contenedor {
    max-width: 1300px;
    margin: auto;
    padding: 40px 5%;
}

.admin h1,
.admin h2,
.admin h3 {
    color: var(--negro);
}

.admin button {
    cursor: pointer;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 1100px) {

    #listaProductos {
        grid-template-columns: repeat(3, 1fr);
    }

    .header-principal nav {
        gap: 25px;
    }

    .hero-xiocars {
        padding-left: 6%;
        padding-right: 6%;
    }
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 850px) {

    .header-principal {
        min-height: 80px;
        padding: 8px 5%;
    }

    .logo img {
        width: 65px;
        height: 65px;
    }

    .header-principal nav {
        display: none;
    }

    .hero-xiocars {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 70px 7%;
    }

    .hero-contenido {
        margin: auto;
    }

    .hero-contenido p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo img {
        width: 240px;
    }

    .beneficios {
        grid-template-columns: 1fr;
    }

    .beneficio {
        border-right: none;
        border-bottom: 1px solid var(--borde);
    }

    .beneficio:last-child {
        border-bottom: none;
    }

    #listaProductos {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros-contenedor {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-contenedor {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   RESPONSIVE CELULAR
========================= */

@media (max-width: 600px) {

    .barra-superior {
        font-size: 9px;
        padding: 8px 10px;
    }

    .barra-contenido {
        gap: 7px;
        text-align: center;
    }

    .header-principal {
        padding: 8px 18px;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .boton-carrito {
        padding: 10px 14px;
        font-size: 11px;
    }

    .hero-xiocars {
        padding: 55px 22px;
    }

    .hero-contenido h1 {
        font-size: 55px;
    }

    .hero-contenido h2 {
        font-size: 21px;
        letter-spacing: 2px;
    }

    .hero-contenido p {
        font-size: 14px;
    }

    .hero-logo img {
        width: 200px;
    }

    .seccion-productos {
        padding: 60px 16px;
    }

    .encabezado-seccion {
        margin-bottom: 35px;
    }

    #listaProductos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .producto-imagen {
        height: 300px;
    }

    .producto-info {
        padding: 20px;
    }

    .nosotros {
        padding: 65px 22px;
    }

    .nosotros-texto h2 {
        font-size: 38px;
    }

    .footer-contenedor {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    #carrito {
        width: 100%;
    }

    .whatsapp-flotante {
        width: 52px;
        height: 52px;
        right: 16px;
        bottom: 16px;
    }
}

/* =========================
   PRODUCTO VACÍO / CARGANDO
========================= */

.mensaje-vacio {
    grid-column: 1 / -1;

    text-align: center;

    padding: 60px 20px;

    color: var(--texto-suave);
}

.mensaje-vacio h3 {
    color: var(--negro);
    margin-bottom: 10px;
}

/* =========================
   ANIMACIONES
========================= */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.producto {
    animation: aparecer 0.5s ease both;
}

/* =========================================================
   CORRECCIÓN PROFESIONAL XIOCARS
   ========================================================= */

/* =========================
   HERO - LOGO
========================= */

.hero-logo img {
    width: 390px;
    height: 390px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* =========================
   NOSOTROS / VISIÓN / MISIÓN
========================= */

.nosotros {
    padding: 110px 7%;
    background: #ffffff;
}

.nosotros-contenedor {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;
    align-items: center;
}

.nosotros-texto {
    padding-right: 20px;
}

.nosotros-texto .etiqueta-seccion {
    display: block;

    color: var(--rosa-oscuro);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 4px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.nosotros-texto h2 {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 500;

    color: var(--negro);

    margin-bottom: 25px;
}

.nosotros-texto > p {
    font-size: 15px;

    line-height: 1.9;

    color: var(--texto-suave);

    max-width: 560px;
}

/* Contenedor de visión y misión */

.nosotros-cajas {
    display: grid;

    gap: 24px;
}

/* Cada tarjeta */

.nosotros-caja {
    position: relative;

    padding: 35px 38px;

    background: #ffffff;

    border: 1px solid #eee5e7;

    border-radius: 4px;

    box-shadow:
        0 15px 40px rgba(30, 20, 25, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nosotros-caja:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 50px rgba(30, 20, 25, 0.10);
}

.nosotros-caja h3 {
    font-size: 13px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--rosa-oscuro);

    margin-bottom: 14px;
}

.nosotros-caja p {
    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.8;
}

/* Números decorativos */

.nosotros-caja::before {
    content: "";

    position: absolute;

    left: 38px;
    top: -12px;

    font-family: Georgia, serif;

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--dorado);
}

/* =========================
   FOOTER PROFESIONAL
========================= */

footer {
    background: #171515;

    color: white;

    margin-top: 0;
}

.footer-principal {
    max-width: 1400px;

    margin: 0 auto;

    padding: 80px 7% 65px;

    display: grid;

    grid-template-columns:
        1.5fr
        0.8fr
        1fr;

    gap: 80px;
}

/* Marca */

.footer-marca {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-marca img {
    width: 92px;
    height: 92px;

    object-fit: contain;

    border-radius: 50%;

    background: white;

    padding: 5px;

    margin-bottom: 22px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-marca h3 {
    color: #f0a6bb;

    font-family: Georgia, serif;

    font-size: 22px;

    font-weight: 500;

    margin-bottom: 14px;
}

.footer-marca p {
    max-width: 380px;

    color: #aaa4a6;

    font-size: 14px;

    line-height: 1.8;
}

/* Columnas */

.footer-columna {
    display: flex;

    flex-direction: column;

    gap: 13px;
}

.footer-columna h4 {
    color: var(--dorado-claro);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.footer-columna a {
    color: #c9c3c5;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.6;

    transition: 0.25s ease;
}

.footer-columna a:hover {
    color: #f0a6bb;

    transform: translateX(4px);
}

.footer-columna p {
    color: #aaa4a6;

    font-size: 14px;

    line-height: 1.7;

    margin: 0;
}

/* Parte inferior */

.footer-final {
    max-width: 1400px;

    margin: 0 auto;

    padding: 22px 7%;

    border-top: 1px solid rgba(255,255,255,0.10);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.footer-final p {
    color: #858083;

    font-size: 12px;

    margin: 0;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-flotante {
    width: 56px;
    height: 56px;

    right: 25px;
    bottom: 25px;

    border-radius: 50%;

    font-size: 0;

    background: #25d366;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.18);

    display: flex;

    align-items: center;
    justify-content: center;
}

.whatsapp-flotante::before {
    content: "WA";

    font-size: 14px;

    font-weight: 700;

    color: white;
}

/* =========================
   ESPACIADO GENERAL
========================= */

section {
    position: relative;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .hero-logo img {
        width: 280px;
        height: 280px;
    }

    .nosotros {
        padding: 75px 25px;
    }

    .nosotros-contenedor {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .nosotros-texto {
        padding-right: 0;
    }

    .footer-principal {
        grid-template-columns: 1fr 1fr;

        gap: 45px;

        padding: 60px 30px;
    }

    .footer-marca {
        grid-column: 1 / -1;
    }

    .footer-final {
        padding: 20px 30px;

        flex-direction: column;

        text-align: center;
    }
}

@media (max-width: 600px) {

    .hero-logo img {
        width: 220px;
        height: 220px;
    }

    .nosotros {
        padding: 65px 20px;
    }

    .nosotros-texto h2 {
        font-size: 38px;
    }

    .nosotros-caja {
        padding: 28px 24px;
    }

    .footer-principal {
        grid-template-columns: 1fr;

        gap: 40px;

        padding: 55px 25px;
    }

    .footer-marca {
        grid-column: auto;
    }

    .footer-final {
        padding: 20px;
    }
}

/* =========================================================
   DISEÑO FINAL XIOCARS
   HERO + PRODUCTOS + NOSOTROS
   NO MODIFICAR FOOTER
========================================================= */


/* =========================================================
   HERO PROFESIONAL
========================================================= */

.hero-xiocars {
    min-height: 620px;

    padding: 80px 8%;

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(200,164,93,0.16),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #fff5f8 0%,
            #ffffff 55%,
            #f8eee7 100%
        );

    position: relative;
    overflow: hidden;
}


/* círculos decorativos */

.hero-xiocars::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    border: 1px solid rgba(200,164,93,0.22);

    border-radius: 50%;

    right: -250px;
    top: -200px;
}

.hero-xiocars::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(217,121,150,0.18);

    border-radius: 50%;

    left: -180px;
    bottom: -180px;
}


/* contenido */

.hero-contenido {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.hero-etiqueta {
    color: var(--rosa-oscuro);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 5px;

    margin-bottom: 20px;
}

.hero-contenido h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(55px, 7vw, 86px);

    line-height: 0.95;

    font-weight: 500;

    color: var(--negro);

    margin-bottom: 15px;
}

.hero-contenido h2 {
    font-size: 28px;

    line-height: 1.15;

    letter-spacing: 3px;

    font-weight: 800;

    color: var(--rosa-oscuro);

    margin-bottom: 24px;
}

.hero-contenido p {
    max-width: 570px;

    font-size: 15px;

    line-height: 1.8;

    color: var(--texto-suave);

    margin-bottom: 30px;
}


/* botón */

.hero-boton {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 190px;

    padding: 15px 28px;

    background: var(--negro);

    color: white;

    text-decoration: none;

    border-radius: 2px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;

    transition: 0.3s ease;
}

.hero-boton:hover {
    background: var(--rosa-oscuro);

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(185,79,112,0.20);
}


/* =========================================================
   LOGO DEL HERO
========================================================= */

.hero-logo {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;

    align-items: center;
}


/*
   El logo ahora queda como una pieza circular,
   no como un cuadrado gigante.
*/

.hero-logo img {
    width: 390px;
    height: 390px;

    object-fit: cover;

    border-radius: 50%;

    background: white;

    padding: 0;

    box-shadow:
        0 25px 70px rgba(30,20,25,0.13);

    border: 1px solid rgba(200,164,93,0.25);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.hero-logo img:hover {
    transform: scale(1.025);

    box-shadow:
        0 30px 80px rgba(30,20,25,0.17);
}


/* =========================================================
   BENEFICIOS
========================================================= */

.beneficios {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: white;

    border-top: 1px solid var(--borde);

    border-bottom: 1px solid var(--borde);
}

.beneficio {
    padding: 32px 30px;

    text-align: center;

    border-right: 1px solid var(--borde);
}

.beneficio:last-child {
    border-right: none;
}

.beneficio-icono {
    color: var(--dorado);

    font-size: 20px;

    margin-bottom: 10px;
}

.beneficio h3 {
    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 8px;

    color: var(--negro);
}

.beneficio p {
    font-size: 12px;

    color: var(--texto-suave);
}


/* =========================================================
   PRODUCTOS
========================================================= */

.seccion-productos {
    padding: 110px 6%;

    background: #ffffff;
}


/* encabezado */

.encabezado-seccion {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.etiqueta-seccion {
    display: block;

    color: var(--rosa-oscuro);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-bottom: 16px;
}

.encabezado-seccion h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 4vw, 54px);

    font-weight: 500;

    line-height: 1.1;

    color: var(--negro);

    margin-bottom: 17px;
}

.encabezado-seccion p {
    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.8;
}


/* grid */

#listaProductos {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   TARJETAS
========================================================= */

.producto {
    background: white;

    border: 1px solid #ebe6e7;

    border-radius: 3px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.producto:hover {
    transform: translateY(-8px);

    border-color: #e2d1d6;

    box-shadow:
        0 20px 55px rgba(30,20,25,0.10);
}


/* imagen */

.producto-imagen {
    height: 300px;

    background:
        linear-gradient(
            135deg,
            #fafafa,
            #f4f1ef
        );

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    position: relative;
}

.producto-imagen::after {
    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid rgba(255,255,255,0.7);

    pointer-events: none;
}

.producto-imagen img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 20px;

    transition:
        transform 0.5s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.06);
}


/* información */

.producto-info {
    padding: 24px 22px 25px;
}

.producto-categoria {
    color: var(--rosa-oscuro);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.producto-info h3 {
    color: var(--negro);

    font-size: 17px;

    font-weight: 700;

    line-height: 1.35;

    min-height: 46px;

    margin-bottom: 9px;
}

.producto-info p:not(.producto-categoria) {
    color: var(--texto-suave);

    font-size: 12px;

    line-height: 1.6;

    min-height: 39px;

    margin-bottom: 15px;
}


/* precio */

.producto-precio {
    color: var(--negro);

    font-size: 20px;

    font-weight: 800;

    margin-bottom: 18px;
}


/* botón */

.agregar {
    width: 100%;

    min-height: 45px;

    background: var(--negro);

    color: white;

    border: 1px solid var(--negro);

    border-radius: 2px;

    cursor: pointer;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.agregar:hover {
    background: var(--rosa);

    border-color: var(--rosa);
}


/* =========================================================
   NOSOTROS
========================================================= */

.nosotros {
    padding: 115px 7%;

    background:
        linear-gradient(
            135deg,
            #fff7f9 0%,
            #ffffff 55%,
            #faf6f2 100%
        );
}

.nosotros-contenedor {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 100px;

    align-items: center;
}

.nosotros-texto {
    padding-right: 10px;
}

.nosotros-texto .etiqueta-seccion {
    margin-bottom: 17px;
}

.nosotros-texto h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4vw, 57px);

    line-height: 1.05;

    font-weight: 500;

    color: var(--negro);

    margin-bottom: 24px;
}

.nosotros-texto > p {
    max-width: 510px;

    color: var(--texto-suave);

    font-size: 14px;

    line-height: 1.9;
}


/* tarjetas */

.nosotros-cajas {
    display: grid;

    gap: 22px;
}

.nosotros-caja {
    position: relative;

    padding: 32px 36px;

    background: white;

    border: 1px solid #ebe4e6;

    border-radius: 3px;

    box-shadow:
        0 15px 40px rgba(30,20,25,0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nosotros-caja:hover {
    transform: translateX(5px);

    box-shadow:
        0 20px 50px rgba(30,20,25,0.09);
}

.nosotros-caja h3 {
    color: var(--rosa-oscuro);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 12px;
}

.nosotros-caja p {
    color: var(--texto-suave);

    font-size: 13px;

    line-height: 1.8;

    margin: 0;
}


/* línea decorativa */

.nosotros-caja::before {
    content: "";

    position: absolute;

    left: 0;

    top: 22px;

    width: 3px;

    height: 45px;

    background:
        linear-gradient(
            to bottom,
            var(--rosa),
            var(--dorado)
        );
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    #listaProductos {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-xiocars {
        gap: 40px;

        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-logo img {
        width: 330px;
        height: 330px;
    }
}


@media (max-width: 850px) {

    .hero-xiocars {
        min-height: auto;

        padding: 75px 7%;

        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-contenido {
        margin: 0 auto;
    }

    .hero-contenido p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo img {
        width: 280px;
        height: 280px;
    }

    .beneficios {
        grid-template-columns: 1fr;
    }

    .beneficio {
        border-right: none;

        border-bottom: 1px solid var(--borde);
    }

    .beneficio:last-child {
        border-bottom: none;
    }

    #listaProductos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nosotros {
        padding: 80px 6%;
    }

    .nosotros-contenedor {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .nosotros-texto > p {
        max-width: 650px;
    }
}


@media (max-width: 600px) {

    .hero-xiocars {
        padding: 60px 22px;
    }

    .hero-logo img {
        width: 220px;
        height: 220px;
    }

    .hero-contenido h1 {
        font-size: 54px;
    }

    .hero-contenido h2 {
        font-size: 21px;

        letter-spacing: 2px;
    }

    .seccion-productos {
        padding: 75px 18px;
    }

    #listaProductos {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .producto-imagen {
        height: 310px;
    }

    .nosotros {
        padding: 70px 20px;
    }

    .nosotros-texto h2 {
        font-size: 40px;
    }

    .nosotros-caja {
        padding: 28px 25px;
    }
}
/* ==========================================================
   XIOCARS - DISEÑO FINAL DE LA PÁGINA PRINCIPAL
   ========================================================== */


/* ==========================================================
   HERO
   ========================================================== */

.hero-xiocars {
    min-height: 620px;

    padding: 75px 8%;

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 70px;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(200, 164, 93, 0.15),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #fff4f7 0%,
            #ffffff 55%,
            #f8eee7 100%
        );
}


/* círculos decorativos */

.hero-xiocars::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -250px;
    top: -240px;

    border: 1px solid rgba(200, 164, 93, 0.22);

    border-radius: 50%;
}

.hero-xiocars::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -180px;
    bottom: -210px;

    border: 1px solid rgba(217, 121, 150, 0.18);

    border-radius: 50%;
}


/* ==========================================================
   TEXTO HERO
   ========================================================== */

.hero-xiocars-contenido {
    position: relative;

    z-index: 2;

    max-width: 620px;

    padding-left: 30px;
}

.hero-etiqueta {
    margin: 0 0 18px;

    color: #b94f70;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 6px;

    text-transform: uppercase;
}

.hero-xiocars-contenido h1 {
    margin: 0 0 22px;

    color: #171515;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(55px, 6vw, 82px);

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -2px;
}

.hero-descripcion {
    max-width: 520px;

    margin: 0 0 30px;

    color: #777071;

    font-size: 15px;

    line-height: 1.9;
}


/* botón hero */

.boton-principal {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 185px;

    padding: 15px 28px;

    background: #171515;

    color: white;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    border-radius: 2px;

    transition: 0.3s ease;
}

.boton-principal:hover {
    background: #b94f70;

    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(185, 79, 112, 0.18);
}


/* ==========================================================
   LOGO HERO
   ========================================================== */

.hero-xiocars-logo {
    position: relative;

    z-index: 2;

    width: 420px;
    height: 420px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* círculo exterior */

.hero-logo-circulo {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    border: 1px solid rgba(200, 164, 93, 0.45);

    box-shadow:
        0 25px 70px rgba(30, 20, 25, 0.08);
}


/* segundo círculo */

.hero-logo-circulo::before {
    content: "";

    position: absolute;

    inset: 13px;

    border-radius: 50%;

    border: 1px solid rgba(217, 121, 150, 0.25);
}


/* logo */

.hero-xiocars-logo img {
    position: relative;

    z-index: 2;

    width: 365px;
    height: 365px;

    object-fit: cover;

    border-radius: 50%;

    background: white;

    border: 6px solid white;

    box-shadow:
        0 20px 55px rgba(30, 20, 25, 0.12);

    transition: transform 0.4s ease;
}

.hero-xiocars-logo img:hover {
    transform: scale(1.025);
}


/* ==========================================================
   BENEFICIOS
   ========================================================== */

.beneficios {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    background: white;

    border-top: 1px solid #ebe4e4;
    border-bottom: 1px solid #ebe4e4;
}

.beneficio {
    min-height: 115px;

    padding: 28px 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    border-right: 1px solid #ebe4e4;
}

.beneficio:last-child {
    border-right: none;
}

.beneficio-icono {
    color: #c8a45d;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}

.beneficio h3 {
    margin: 0 0 5px;

    color: #171515;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.beneficio p {
    margin: 0;

    color: #777071;

    font-size: 12px;
}


/* ==========================================================
   PRODUCTOS
   ========================================================== */

.seccion-productos {
    padding: 105px 7% 115px;

    background: #ffffff;
}

.encabezado-seccion {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}

.etiqueta-seccion {
    margin: 0 0 15px;

    color: #b94f70;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.encabezado-seccion h2 {
    margin: 0 0 15px;

    color: #171515;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.1;

    font-weight: 500;
}

.encabezado-seccion .subtitulo {
    margin: 0;

    color: #777071;

    font-size: 14px;

    line-height: 1.8;
}


/* grid */

.productos {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 28px;
}


/* tarjeta */

.producto {
    background: #ffffff;

    border: 1px solid #ebe4e4;

    border-radius: 3px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.producto:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 50px rgba(30, 20, 25, 0.10);
}


/* imagen */

.producto-imagen {
    width: 100%;

    height: 285px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fafafa,
            #f3f0ef
        );
}

.producto-imagen img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 20px;

    transition: transform 0.45s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.06);
}


/* información */

.producto-info {
    padding: 23px 21px 25px;
}

.producto-categoria {
    margin: 0 0 9px;

    color: #b94f70;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.producto-info h3 {
    margin: 0 0 9px;

    min-height: 44px;

    color: #171515;

    font-size: 17px;

    line-height: 1.35;
}

.producto-info p:not(.producto-categoria) {
    margin: 0 0 15px;

    min-height: 38px;

    color: #777071;

    font-size: 12px;

    line-height: 1.6;
}

.producto-precio {
    margin: 0 0 17px;

    color: #171515;

    font-size: 20px;

    font-weight: 800;
}

.agregar {
    width: 100%;

    min-height: 45px;

    border: 1px solid #171515;

    border-radius: 2px;

    background: #171515;

    color: white;

    cursor: pointer;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.agregar:hover {
    background: #d97996;

    border-color: #d97996;
}


/* ==========================================================
   NOSOTROS
   ========================================================== */

.seccion-nosotros {
    padding: 115px 8%;

    background:
        linear-gradient(
            125deg,
            #fff6f9 0%,
            #ffffff 55%,
            #faf5ef 100%
        );
}


/* encabezado */

.nosotros-encabezado {
    max-width: 850px;

    margin: 0 auto 60px;

    text-align: center;
}

.nosotros-encabezado .etiqueta-seccion {
    margin-bottom: 17px;
}

.nosotros-encabezado h2 {
    margin: 0 0 20px;

    color: #171515;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4vw, 58px);

    line-height: 1.05;

    font-weight: 500;
}

.nosotros-encabezado > p:last-child {
    max-width: 650px;

    margin: 0 auto;

    color: #777071;

    font-size: 14px;

    line-height: 1.9;
}


/* tarjetas misión / visión */

.nosotros-contenido {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 28px;
}

.nosotros-card {
    position: relative;

    min-height: 250px;

    padding: 40px 42px;

    background: white;

    border: 1px solid #ebe4e4;

    border-radius: 3px;

    box-shadow:
        0 15px 45px rgba(30,20,25,0.06);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nosotros-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 55px rgba(30,20,25,0.10);
}


/* número */

.nosotros-card > span {
    display: block;

    margin-bottom: 25px;

    color: #c8a45d;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}


/* título */

.nosotros-card h3 {
    margin: 0 0 17px;

    color: #171515;

    font-size: 20px;

    font-weight: 700;
}


/* texto */

.nosotros-card p {
    margin: 0;

    color: #777071;

    font-size: 14px;

    line-height: 1.9;
}


/* línea lateral */

.nosotros-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 30px;

    width: 3px;
    height: 55px;

    background:
        linear-gradient(
            to bottom,
            #d97996,
            #c8a45d
        );
}


/* ==========================================================
   CARRITO
   ========================================================== */

.carrito {
    position: fixed;

    z-index: 3000;

    top: 0;
    right: -470px;

    width: 450px;
    max-width: 100%;

    height: 100vh;

    background: white;

    box-shadow:
        -15px 0 45px rgba(0,0,0,0.15);

    transition: right 0.35s ease;
}

.carrito.abierto {
    right: 0;
}

.carrito-header {
    padding: 25px;

    border-bottom: 1px solid #ebe4e4;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.carrito-header p {
    margin: 0 0 5px;

    color: #b94f70;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.carrito-header h2 {
    margin: 0;

    color: #171515;

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: 500;
}

#cerrarCarrito {
    width: 38px;
    height: 38px;

    border: 1px solid #ebe4e4;

    border-radius: 50%;

    background: white;

    color: #171515;

    cursor: pointer;

    transition: 0.2s ease;
}

#cerrarCarrito:hover {
    background: #171515;

    color: white;
}

#productosCarrito {
    height: calc(100vh - 190px);

    overflow-y: auto;

    padding: 22px;
}

.carrito-footer {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 20px 25px;

    background: white;

    border-top: 1px solid #ebe4e4;
}

.carrito-footer h3 {
    display: flex;

    justify-content: space-between;

    margin: 0 0 15px;

    color: #171515;

    font-size: 17px;
}

#comprarWhatsApp {
    width: 100%;

    padding: 15px;

    border: none;

    background: #d97996;

    color: white;

    cursor: pointer;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

#comprarWhatsApp:hover {
    background: #b94f70;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {

    .productos {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .hero-xiocars {
        gap: 35px;

        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-xiocars-logo {
        width: 350px;
        height: 350px;
    }

    .hero-logo-circulo {
        width: 350px;
        height: 350px;
    }

    .hero-xiocars-logo img {
        width: 305px;
        height: 305px;
    }
}


@media (max-width: 850px) {

    .hero-xiocars {
        grid-template-columns: 1fr;

        min-height: auto;

        padding: 70px 6%;

        text-align: center;
    }

    .hero-xiocars-contenido {
        padding-left: 0;

        margin: 0 auto;
    }

    .hero-descripcion {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-xiocars-logo {
        order: -1;

        width: 300px;
        height: 300px;
    }

    .hero-logo-circulo {
        width: 300px;
        height: 300px;
    }

    .hero-xiocars-logo img {
        width: 260px;
        height: 260px;
    }

    .beneficios {
        grid-template-columns: 1fr;
    }

    .beneficio {
        border-right: none;

        border-bottom: 1px solid #ebe4e4;
    }

    .beneficio:last-child {
        border-bottom: none;
    }

    .productos {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .seccion-nosotros {
        padding: 85px 6%;
    }

    .nosotros-contenido {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .hero-xiocars {
        padding: 55px 20px;
    }

    .hero-xiocars-logo {
        width: 230px;
        height: 230px;
    }

    .hero-logo-circulo {
        width: 230px;
        height: 230px;
    }

    .hero-xiocars-logo img {
        width: 200px;
        height: 200px;
    }

    .hero-xiocars-contenido h1 {
        font-size: 48px;

        letter-spacing: -1px;
    }

    .hero-contenido {
        text-align: center;
    }

    .seccion-productos {
        padding: 75px 18px;
    }

    .productos {
        grid-template-columns: 1fr;
    }

    .producto-imagen {
        height: 300px;
    }

    .seccion-nosotros {
        padding: 70px 18px;
    }

    .nosotros-card {
        min-height: auto;

        padding: 32px 30px;
    }
}

/* LOGO PEQUEÑO DEL HEADER */

.header-principal .logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
}

.header-principal .logo img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    background: white;
    border: 3px solid white;
    box-shadow: 0 5px 18px rgba(30, 20, 25, 0.10);
}

/* ==========================================================
   ADMINISTRADOR XIOCARS
========================================================== */

.pagina-admin {
    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #fff7f9 0%,
            #ffffff 50%,
            #faf5ef 100%
        );

    color: #393334;
}


/* ==========================================================
   HEADER ADMIN
========================================================== */

.admin-header {
    background: #171515;

    color: white;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-header-contenido {
    max-width: 1400px;

    min-height: 95px;

    margin: 0 auto;

    padding: 12px 6%;

    display: flex;

    align-items: center;

    gap: 20px;
}

.admin-logo {
    width: 68px;
    height: 68px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    overflow: hidden;
}

.admin-logo img {
    width: 64px;
    height: 64px;

    object-fit: cover;

    border-radius: 50%;
}

.admin-header-texto {
    flex: 1;
}

.admin-header-texto span {
    color: #d97996;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 4px;
}

.admin-header-texto h2 {
    margin: 5px 0 0;

    color: white;

    font-size: 20px;

    font-weight: 500;
}

.admin-ver-tienda {
    padding: 11px 20px;

    border: 1px solid rgba(255,255,255,0.25);

    color: white;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    border-radius: 3px;

    transition: 0.3s ease;
}

.admin-ver-tienda:hover {
    background: #d97996;

    border-color: #d97996;
}


/* ==========================================================
   LOGIN
========================================================== */

.admin-login {
    min-height: calc(100vh - 95px);

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 60px 20px;
}

.admin-login-card {
    width: 100%;

    max-width: 460px;

    padding: 45px;

    background: white;

    border: 1px solid #ebe4e4;

    box-shadow:
        0 25px 70px rgba(30,20,25,0.08);

    border-radius: 4px;
}

.admin-login-logo {
    width: 82px;
    height: 82px;

    margin: 0 auto 22px;

    border-radius: 50%;

    overflow: hidden;

    background: white;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.08);
}

.admin-login-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.admin-login-card .admin-etiqueta {
    text-align: center;
}

.admin-login-card h1 {
    margin: 10px 0 12px;

    color: #171515;

    font-family: Georgia, serif;

    font-size: 34px;

    font-weight: 500;

    text-align: center;
}

.admin-descripcion {
    margin: 0 0 30px;

    color: #777071;

    font-size: 13px;

    line-height: 1.7;

    text-align: center;
}


/* ==========================================================
   TEXTOS
========================================================== */

.admin-etiqueta {
    margin: 0;

    color: #b94f70;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* ==========================================================
   CAMPOS
========================================================== */

.admin-campo {
    margin-bottom: 22px;
}

.admin-campo label {
    display: block;

    margin-bottom: 8px;

    color: #393334;

    font-size: 12px;

    font-weight: 700;
}

.admin-campo input[type="text"],
.admin-campo input[type="number"],
.admin-campo input[type="email"],
.admin-campo input[type="password"],
.admin-campo textarea {
    width: 100%;

    min-height: 46px;

    padding: 12px 14px;

    border: 1px solid #ded7d9;

    border-radius: 3px;

    background: #fff;

    color: #292426;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition: 0.25s ease;
}

.admin-campo textarea {
    min-height: 120px;

    resize: vertical;
}

.admin-campo input:focus,
.admin-campo textarea:focus {
    border-color: #d97996;

    box-shadow:
        0 0 0 3px rgba(217,121,150,0.10);
}


/* ==========================================================
   PRECIO
========================================================== */

.admin-precio {
    display: flex;

    align-items: stretch;
}

.admin-precio span {
    width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f8e7ed;

    color: #b94f70;

    border: 1px solid #ded7d9;

    border-right: none;

    font-weight: 700;
}

.admin-precio input {
    flex: 1;

    border-radius: 0 3px 3px 0 !important;
}


/* ==========================================================
   DISPONIBLE
========================================================== */

.admin-disponible {
    min-height: 46px;

    padding: 12px 14px;

    border: 1px solid #ded7d9;

    border-radius: 3px;

    display: flex !important;

    align-items: center;

    gap: 10px;

    cursor: pointer;
}

.admin-disponible input {
    width: 17px;
    height: 17px;

    accent-color: #d97996;
}

.admin-disponible span {
    margin: 0;

    font-size: 12px;
    font-weight: 600;
}


/* ==========================================================
   ARCHIVO
========================================================== */

.admin-imagen-input {
    padding: 18px;

    background: #faf7f4;

    border: 1px dashed #d8ced1;

    border-radius: 3px;
}

.admin-imagen-input input {
    width: 100%;

    font-size: 12px;
}

.admin-campo small {
    display: block;

    margin-top: 7px;

    color: #999;

    font-size: 11px;
}


/* ==========================================================
   PANEL
========================================================== */

.panel-admin {
    max-width: 1300px;

    margin: 0 auto;

    padding: 65px 6%;
}


/* ==========================================================
   BIENVENIDA
========================================================== */

.admin-bienvenida {
    margin-bottom: 45px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}

.admin-bienvenida h1 {
    margin: 8px 0 10px;

    color: #171515;

    font-family: Georgia, serif;

    font-size: 42px;

    font-weight: 500;
}

.admin-bienvenida p:last-child {
    margin: 0;

    color: #777071;

    font-size: 13px;
}

.admin-boton-salir {
    padding: 12px 22px;

    border: 1px solid #171515;

    background: #171515;

    color: white;

    border-radius: 3px;

    cursor: pointer;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.3s ease;
}

.admin-boton-salir:hover {
    background: #d97996;

    border-color: #d97996;
}


/* ==========================================================
   FORMULARIO
========================================================== */

.admin-formulario-card {
    padding: 38px;

    margin-bottom: 60px;

    background: white;

    border: 1px solid #ebe4e4;

    box-shadow:
        0 15px 45px rgba(30,20,25,0.06);
}

.admin-formulario-titulo {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 35px;
}

.admin-formulario-titulo h2 {
    margin: 8px 0 0;

    color: #171515;

    font-size: 24px;

    font-weight: 600;
}

.admin-numero {
    color: #c8a45d;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 3px;
}

.admin-form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0 25px;
}

.campo-completo {
    grid-column: 1 / -1;
}

.admin-boton-guardar {
    width: 100%;

    min-height: 48px;

    margin-top: 5px;

    border: none;

    background: #171515;

    color: white;

    cursor: pointer;

    border-radius: 3px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.admin-boton-guardar:hover {
    background: #d97996;
}

.admin-boton-guardar:disabled {
    opacity: 0.6;

    cursor: wait;
}


/* ==========================================================
   PRODUCTOS
========================================================== */

.admin-productos-titulo {
    margin-bottom: 25px;
}

.admin-productos-titulo h2 {
    margin: 8px 0 0;

    color: #171515;

    font-family: Georgia, serif;

    font-size: 32px;

    font-weight: 500;
}


/* ==========================================================
   LISTA GENERADA POR ADMIN.JS
========================================================== */

#listaAdmin {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.admin-item {
    overflow: hidden;

    background: white;

    border: 1px solid #ebe4e4;

    border-radius: 3px;

    box-shadow:
        0 10px 35px rgba(30,20,25,0.05);

    transition: 0.3s ease;
}

.admin-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 45px rgba(30,20,25,0.09);
}

.admin-item > img {
    width: 100%;

    height: 220px;

    object-fit: contain;

    background: #f5f2f0;

    padding: 15px;
}

.admin-item-info {
    padding: 20px;
}

.admin-item-info h3 {
    margin: 0 0 10px;

    color: #171515;

    font-size: 17px;

    line-height: 1.3;
}

.admin-item-info p {
    margin: 7px 0;

    color: #777071;

    font-size: 12px;

    line-height: 1.6;
}

.admin-item-info p:first-of-type {
    color: #b94f70;

    font-size: 17px;

    font-weight: 800;
}


/* ==========================================================
   BOTONES PRODUCTO
========================================================== */

.admin-botones {
    display: flex;

    gap: 9px;

    margin-top: 18px;
}

.admin-botones button {
    flex: 1;

    padding: 11px;

    border-radius: 2px;

    cursor: pointer;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.btn-editar {
    border: 1px solid #171515;

    background: #171515;

    color: white;
}

.btn-editar:hover {
    background: #d97996;

    border-color: #d97996;
}

.btn-eliminar {
    border: 1px solid #ddd3d5;

    background: white;

    color: #b94f70;
}

.btn-eliminar:hover {
    background: #b94f70;

    border-color: #b94f70;

    color: white;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 950px) {

    #listaAdmin {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .panel-admin {
        padding-left: 4%;
        padding-right: 4%;
    }
}


@media (max-width: 700px) {

    .admin-header-contenido {
        padding: 12px 20px;
    }

    .admin-header-texto h2 {
        font-size: 16px;
    }

    .admin-ver-tienda {
        padding: 9px 12px;

        font-size: 10px;
    }

    .admin-login-card {
        padding: 30px 22px;
    }

    .panel-admin {
        padding: 45px 18px;
    }

    .admin-bienvenida {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-bienvenida h1 {
        font-size: 34px;
    }

    .admin-formulario-card {
        padding: 25px 20px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .campo-completo {
        grid-column: auto;
    }

    #listaAdmin {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   VIDA Y ANIMACIONES XIOCARS
   ========================================= */

/* Movimiento suave del logo principal */
.hero-logo-circulo {
    animation: flotarLogo 4s ease-in-out infinite;
}

@keyframes flotarLogo {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Tarjetas de productos */
.producto {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.producto:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(30, 20, 25, 0.12);
}


/* Zoom de la imagen del auto */
.producto-imagen img {
    transition: transform 0.5s ease;
}

.producto:hover .producto-imagen img {
    transform: scale(1.05);
}


/* Botón agregar al carrito */
.producto .agregar {
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.producto .agregar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* Beneficios */
.beneficio {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.beneficio:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 20, 25, 0.08);
}


/* Tarjetas de misión y visión */
.nosotros-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nosotros-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(30, 20, 25, 0.10);
}


/* Botón principal */
.boton-principal {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.boton-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* Logo pequeño del header */
.header-principal .logo img {
    transition: transform 0.3s ease;
}

.header-principal .logo:hover img {
    transform: scale(1.05);
}


/* Aparición suave de productos */
.producto {
    animation: aparecerProducto 0.7s ease both;
}

@keyframes aparecerProducto {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Respeta usuarios que desactivan animaciones */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================================
   DETALLES PREMIUM XIOCARS
   ROSA + DORADO
   ========================================= */

/* Colores de detalles */
:root {
    --xiocars-rosa: #d97899;
    --xiocars-rosa-claro: #f9e9ef;
    --xiocars-dorado: #c9a04d;
    --xiocars-crema: #fbf7f1;
}


/* =========================================
   FONDOS SUAVES
   ========================================= */

.beneficios {
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #fffafc 100%
    );
}

.seccion-productos {
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(217, 120, 153, 0.07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(201, 160, 77, 0.07),
            transparent 30%
        ),
        #ffffff;
}

.seccion-nosotros {
    background:
        linear-gradient(
            135deg,
            #fffafb 0%,
            #ffffff 50%,
            #fcf8f2 100%
        );
}


/* =========================================
   DETALLE DORADO EN LOS TÍTULOS
   ========================================= */

.etiqueta-seccion,
.hero-etiqueta,
.nosotros-encabezado .etiqueta-seccion {
    color: var(--xiocars-rosa);
}


/* Línea decorativa debajo de títulos */
.encabezado-seccion::after,
.nosotros-encabezado::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(
        90deg,
        var(--xiocars-rosa),
        var(--xiocars-dorado)
    );
}


/* =========================================
   BENEFICIOS
   ========================================= */

.beneficio {
    position: relative;
    overflow: hidden;
}

.beneficio::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 70px;
    right: -30px;
    bottom: -30px;
    border: 1px solid rgba(201, 160, 77, 0.18);
    border-radius: 50%;
}

.beneficio-icono {
    color: var(--xiocars-dorado);
}


/* =========================================
   NÚMEROS 01 / 02 / 03
   ========================================= */

.beneficio strong,
.beneficio-numero {
    color: var(--xiocars-dorado);
}


/* =========================================
   TARJETAS DE PRODUCTOS
   ========================================= */

.producto {
    position: relative;
    border: 1px solid rgba(217, 120, 153, 0.14);
}

.producto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--xiocars-rosa),
        var(--xiocars-dorado)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.producto:hover::before {
    opacity: 1;
}

.producto-categoria {
    color: var(--xiocars-rosa);
}


/* Precio */
.producto .precio,
.producto-precio {
    color: #b88b32;
}


/* Botón de producto */
.producto .agregar {
    background: #171515;
    transition:
        background 0.3s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.producto .agregar:hover {
    background: var(--xiocars-rosa);
    box-shadow: 0 8px 20px rgba(217, 120, 153, 0.25);
}


/* =========================================
   MISIÓN Y VISIÓN
   ========================================= */

.nosotros-card {
    position: relative;
    overflow: hidden;
}

.nosotros-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -60px;
    bottom: -60px;
    border: 1px solid rgba(201, 160, 77, 0.20);
    border-radius: 50%;
}

.nosotros-card h3 {
    position: relative;
}

.nosotros-card h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    margin-right: 12px;
    vertical-align: -2px;
    background: linear-gradient(
        180deg,
        var(--xiocars-rosa),
        var(--xiocars-dorado)
    );
}


/* =========================================
   BOTÓN PRINCIPAL
   ========================================= */

.boton-principal {
    position: relative;
    overflow: hidden;
}

.boton-principal:hover {
    background: var(--xiocars-rosa);
}


/* =========================================
   DETALLE DORADO EN EL HERO
   ========================================= */

.hero-xiocars::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -180px;
    bottom: -180px;
    border: 1px solid rgba(201, 160, 77, 0.20);
    border-radius: 50%;
    pointer-events: none;
}

.hero-xiocars::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: 7%;
    top: 8%;
    border: 1px solid rgba(217, 120, 153, 0.14);
    border-radius: 50%;
    pointer-events: none;
}


/* =========================================
   BOTÓN CARRITO
   ========================================= */

#abrirCarrito {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

#abrirCarrito:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 120, 153, 0.25);
}


/* =========================================
   ENLACES DEL MENÚ
   ========================================= */

.header-principal nav a {
    position: relative;
}

.header-principal nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        var(--xiocars-rosa),
        var(--xiocars-dorado)
    );
    transition: width 0.25s ease;
}

.header-principal nav a:hover::after {
    width: 70%;
}


/* =========================================
   DETALLES DECORATIVOS GENERALES
   ========================================= */

.seccion-productos,
.seccion-nosotros,
.beneficios {
    position: relative;
}

.seccion-productos::after {
    content: "XIOCARS";
    position: absolute;
    right: 3%;
    bottom: 5%;
    font-family: Georgia, serif;
    font-size: 90px;
    font-weight: bold;
    letter-spacing: 10px;
    color: rgba(217, 120, 153, 0.025);
    pointer-events: none;
    user-select: none;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    .seccion-productos::after {
        font-size: 55px;
        right: 2%;
    }

    .hero-xiocars::after {
        width: 120px;
        height: 120px;
    }
}

/* =========================================
   XIOCARS - MÁS COLOR EN LAS SECCIONES
   ========================================= */

/* BENEFICIOS - ROSA SUAVE */
.beneficios {
    background: linear-gradient(
        135deg,
        #fdf0f5 0%,
        #f9e8ef 50%,
        #fff7fa 100%
    ) !important;
}

/* PRODUCTOS - CREMA */
.seccion-productos {
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(217, 120, 153, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(201, 160, 77, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffdf9 0%,
            #fbf5ea 50%,
            #fffaf5 100%
        ) !important;
}

/* NOSOTROS - ROSA + CREMA */
.seccion-nosotros {
    background:
        linear-gradient(
            135deg,
            #f9e8ef 0%,
            #fff7fa 45%,
            #fbf5ea 100%
        ) !important;
}

/* TARJETAS DE MISIÓN Y VISIÓN */
.nosotros-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(217, 120, 153, 0.18);
    backdrop-filter: blur(5px);
}

/* TARJETAS DE PRODUCTOS */
.producto {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(201, 160, 77, 0.16);
}

/* BENEFICIOS */
.beneficio {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(217, 120, 153, 0.12);
}

/* TÍTULOS DE SECCIÓN */
.encabezado-seccion h2,
.nosotros-encabezado h2 {
    color: #171515;
}

/* PEQUEÑOS DETALLES DORADOS */
.encabezado-seccion::after,
.nosotros-encabezado::after {
    background: linear-gradient(
        90deg,
        #d97899,
        #c9a04d
    );
}

/* MÁS VIDA AL HOVER */
.beneficio:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(217, 120, 153, 0.30);
}

.nosotros-card:hover {
    background: #ffffff;
    border-color: rgba(201, 160, 77, 0.35);
}

.producto:hover {
    border-color: rgba(217, 120, 153, 0.35);
}

/* =========================================
   RESTAURAR ESTILO PREMIUM XIOCARS
   ========================================= */

.beneficios {
    background: #ffffff !important;
}

.seccion-productos {
    background: #ffffff !important;
}

.seccion-nosotros {
    background: linear-gradient(
        135deg,
        #fffafb 0%,
        #ffffff 55%,
        #fcf8f2 100%
    ) !important;
}

/* Tarjetas limpias */
.beneficio {
    background: #ffffff !important;
}

.producto {
    background: #ffffff !important;
}

.nosotros-card {
    background: #ffffff !important;
}

/* Mantener los detalles de color */
.producto {
    border: 1px solid rgba(217, 120, 153, 0.14);
}

.producto-categoria {
    color: #d97899;
}

.beneficio strong,
.beneficio-numero {
    color: #c9a04d;
}

/* Detalles dorados y rosados */
.encabezado-seccion::after,
.nosotros-encabezado::after {
    background: linear-gradient(
        90deg,
        #d97899,
        #c9a04d
    );
}

/* Hover elegante */
.producto:hover {
    border-color: rgba(217, 120, 153, 0.30);
}

.beneficio:hover {
    background: #fffafb !important;
}

.nosotros-card:hover {
    background: #ffffff !important;
}

/* ==========================================
   MENÚ PRODUCTOS
========================================== */

.menu-productos {
    position: relative;
}

.menu-productos > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flecha {
    font-size: 9px;
    transition: transform 0.2s ease;
}

.menu-productos:hover .flecha {
    transform: rotate(180deg);
}


/* MENÚ DESPLEGABLE */

.submenu-productos {
    position: absolute;

    top: 100%;

    left: 50%;

    transform: translateX(-50%);

    width: 220px;

    max-height: 420px;

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 14px;

    padding: 8px;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
}


/* ABRIR */

.menu-productos:hover .submenu-productos {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* OPCIONES */

.submenu-productos a {

    display: block;

    padding: 11px 13px;

    border-radius: 9px;

    color: #222222;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


/* HOVER */

.submenu-productos a:hover {

    background: #f7f7f7;

    color: #e91e63;

}


/* ==========================================
   ENLACE ACTIVO
========================================== */

.header-principal nav a.activo {
    color: #e91e63;
}

/* =========================================================
   CARRITO XIOCARS - DISEÑO PREMIUM
   ========================================================= */

#carrito {
    width: 460px;
    max-width: 94vw;
    background: #ffffff;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.14);
}

/* CABECERA */

#carrito .carrito-header {
    padding: 28px 32px;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
}

#carrito .carrito-header h2,
#carrito .carrito-header h3 {
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 500;
    color: #1d1d1d;
    margin: 0;
}

/* BOTÓN CERRAR */

#cerrarCarrito {
    width: 42px;
    height: 42px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    color: #222222;
    border-radius: 50%;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.25s ease;
}

#cerrarCarrito:hover {
    background: #1d1d1d;
    color: #ffffff;
    transform: rotate(90deg);
}

/* CONTENEDOR DE PRODUCTOS */

#productosCarrito {
    padding: 10px 28px 20px;
}

/* PRODUCTO */

#productosCarrito .carrito-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #eeeeee;
}

/* NOMBRE */

#productosCarrito .carrito-item h4 {
    color: #1d1d1d;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    margin: 0 0 9px;
    text-transform: none;
}

/* INFORMACIÓN */

#productosCarrito .carrito-item p {
    color: #777777;
    font-size: 13px;
    margin: 5px 0;
}

/* PRECIO */

#productosCarrito .carrito-item p:last-of-type {
    color: #1d1d1d;
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
}

/* CONTROLES DE CANTIDAD */

#productosCarrito .carrito-item button:not(.eliminar) {
    min-width: 32px;
    height: 32px;
    border: 1px solid #dddddd;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#productosCarrito .carrito-item button:not(.eliminar):hover {
    border-color: #d97898;
    color: #d97898;
}

/* ELIMINAR */

#productosCarrito .eliminar {
    border: none;
    background: transparent;
    color: #999999;
    padding: 0;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

#productosCarrito .eliminar:hover {
    background: transparent;
    color: #d05f80;
}

/* CARRITO VACÍO */

#productosCarrito .carrito-vacio {
    padding: 100px 20px;
    color: #999999;
    text-align: center;
    font-size: 14px;
}

/* FOOTER */

#carrito .carrito-footer {
    padding: 24px 28px 28px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}

/* TOTAL */

#carrito .total-carrito {
    margin-bottom: 22px;
}

#carrito .total-carrito span {
    color: #777777;
    font-size: 14px;
}

#carrito .total-carrito strong {
    color: #111111;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 600;
}

/* BOTÓN WHATSAPP */

#carrito #comprarWhatsApp {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: 10px;
    background: #d97898;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(217, 120, 152, 0.20);
}

#carrito #comprarWhatsApp:hover {
    background: #c96283;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(217, 120, 152, 0.28);
}

/* SCROLL DEL CARRITO */

#productosCarrito::-webkit-scrollbar {
    width: 5px;
}

#productosCarrito::-webkit-scrollbar-thumb {
    background: #dddddd;
    border-radius: 10px;
}

#productosCarrito::-webkit-scrollbar-track {
    background: transparent;
}


/* =========================================================
   CARRITO EN CELULAR
   ========================================================= */

@media (max-width: 600px) {

    #carrito {
        width: 100%;
        max-width: 100%;
    }

    #carrito .carrito-header {
        padding: 24px 20px;
    }

    #productosCarrito {
        padding: 5px 20px 15px;
    }

    #carrito .carrito-footer {
        padding: 20px;
    }

    #carrito .total-carrito strong {
        font-size: 24px;
    }

}

/* =========================================================
   RETOQUE FINAL DEL PRODUCTO DEL CARRITO
   ========================================================= */

#productosCarrito .carrito-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
}

/* Información del producto */
#productosCarrito .carrito-item > div:first-child {
    padding-right: 5px;
}

/* Nombre */
#productosCarrito .carrito-item h4 {
    max-width: 330px;
    margin-bottom: 7px;
}

/* Precio */
#productosCarrito .carrito-item p:last-of-type {
    margin-top: 8px;
    font-size: 16px;
}

/* Contenedor visual de cantidad */
#productosCarrito .carrito-item p:nth-of-type(2) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

/* Botones de cantidad */
#productosCarrito .carrito-item button {
    font-family: Arial, sans-serif;
}

/* Eliminar */
#productosCarrito .carrito-item .eliminar {
    position: absolute;
    left: 0;
    bottom: 18px;
}

/* Más espacio para que eliminar no choque */
#productosCarrito .carrito-item {
    padding-bottom: 45px;
}

/* =========================================================
   CANTIDAD
   ========================================================= */

#productosCarrito .carrito-item button:not(.eliminar) {
    width: 30px;
    min-width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #dedede;
    background: #ffffff;
    color: #222222;
    border-radius: 7px;
    font-size: 16px;
    line-height: 28px;
    vertical-align: middle;
}

#productosCarrito .carrito-item button:not(.eliminar):hover {
    background: #d97898;
    border-color: #d97898;
    color: #ffffff;
}

/* =========================================================
   AJUSTE DEL ESPACIO DEL CARRITO
   ========================================================= */

#productosCarrito {
    min-height: 0;
}

#carrito .carrito-footer {
    padding-top: 22px;
}

/* =========================================================
   DISEÑO FINAL CONTROLES DEL CARRITO XIOCARS
   ========================================================= */

#productosCarrito .cantidad-control {
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 12px 0 8px !important;
    gap: 0 !important;
}

#productosCarrito .cantidad-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #ded4d7 !important;
    background: #f9f1f4 !important;
    color: #a34360 !important;

    font-size: 18px !important;
    font-weight: 600 !important;

    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#productosCarrito .cantidad-btn:first-child {
    border-radius: 8px 0 0 8px !important;
}

#productosCarrito .cantidad-btn:last-child {
    border-radius: 0 8px 8px 0 !important;
}

#productosCarrito .cantidad-btn:hover {
    background: #d97898 !important;
    border-color: #d97898 !important;
    color: white !important;
}

#productosCarrito .cantidad-numero {
    width: 42px !important;
    height: 34px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-top: 1px solid #ded4d7 !important;
    border-bottom: 1px solid #ded4d7 !important;

    background: white !important;
    color: #222 !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

/* SUBTOTAL */

#productosCarrito .subtotal-carrito {
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
}

/* ELIMINAR */

#productosCarrito .eliminar {
    margin-top: 5px !important;

    border: none !important;
    background: transparent !important;

    color: #999 !important;

    font-size: 12px !important;
    padding: 0 !important;

    text-decoration: underline !important;
}

#productosCarrito .eliminar:hover {
    background: transparent !important;
    color: #d97898 !important;
}

/* BOTONES DE CANTIDAD DEL CARRITO */
#productosCarrito .cantidad-control {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    margin: 10px 0 !important;
}

#productosCarrito .cantidad-btn {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

#productosCarrito .cantidad-btn:first-child {
    border-radius: 6px 0 0 6px !important;
}

#productosCarrito .cantidad-btn:last-child {
    border-radius: 0 6px 6px 0 !important;
}

#productosCarrito .cantidad-numero {
    width: 40px !important;
    height: 34px !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
}

/* =====================================================
   BOTONES CANTIDAD - IGUALES EN TODAS LAS PÁGINAS
   ===================================================== */

#productosCarrito .cantidad-control {
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 10px 0 !important;
    gap: 0 !important;
}

#productosCarrito .cantidad-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    border: 1px solid #dedede !important;
    background: #ffffff !important;
    color: #222222 !important;

    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    cursor: pointer !important;
}

#productosCarrito .cantidad-btn:first-child {
    border-radius: 6px 0 0 6px !important;
}

#productosCarrito .cantidad-btn:last-child {
    border-radius: 0 6px 6px 0 !important;
}

#productosCarrito .cantidad-numero {
    width: 40px !important;
    height: 34px !important;
    min-width: 40px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    border-top: 1px solid #dedede !important;
    border-bottom: 1px solid #dedede !important;

    background: #ffffff !important;
    color: #222222 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
}
/* =========================================
   CARRITO - PRODUCTO CON IMAGEN
   ========================================= */

#productosCarrito .carrito-producto-contenido {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

#productosCarrito .imagen-carrito {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    background: #f7f7f7;
}

#productosCarrito .carrito-producto-info {
    flex: 1;
    min-width: 0;
}

#productosCarrito .carrito-producto-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.35;
}

#productosCarrito .precio-unitario {
    margin: 0 0 10px 0;
    color: #777;
    font-size: 14px;
}

#productosCarrito .cantidad-control {
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 8px 0 !important;
    gap: 0 !important;
}

#productosCarrito .cantidad-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #dedede !important;
    background: white !important;
    color: #222 !important;

    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

#productosCarrito .cantidad-btn:first-child {
    border-radius: 6px 0 0 6px !important;
}

#productosCarrito .cantidad-btn:last-child {
    border-radius: 0 6px 6px 0 !important;
}

#productosCarrito .cantidad-numero {
    width: 40px !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-top: 1px solid #dedede !important;
    border-bottom: 1px solid #dedede !important;

    background: white !important;
    color: #222 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
}

#productosCarrito .subtotal-carrito {
    margin: 8px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

#productosCarrito .eliminar {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #999 !important;
    text-decoration: underline !important;
    font-size: 12px !important;
}

/* =========================================
   CORRECCIÓN FINAL DEL PRODUCTO DEL CARRITO
   ========================================= */

#productosCarrito .producto-carrito {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 15px 0 !important;
}

#productosCarrito .carrito-producto-contenido {
    display: flex !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 16px !important;
    box-sizing: border-box !important;
}

#productosCarrito .imagen-carrito {
    width: 90px !important;
    height: 90px !important;
    min-width: 90px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    background: #f7f7f7 !important;
}

#productosCarrito .carrito-producto-info {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

#productosCarrito .carrito-producto-info h4 {
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    color: #222 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

#productosCarrito .precio-unitario {
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    color: #777 !important;
}

#productosCarrito .cantidad-control {
    display: flex !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 8px 0 !important;
    gap: 0 !important;
}

#productosCarrito .cantidad-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

#productosCarrito .cantidad-numero {
    width: 40px !important;
    height: 34px !important;
    min-width: 40px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#productosCarrito .cantidad-btn:first-child {
    border-radius: 6px 0 0 6px !important;
}

#productosCarrito .cantidad-btn:last-child {
    border-radius: 0 6px 6px 0 !important;
}

#productosCarrito .subtotal-carrito {
    margin: 8px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

#productosCarrito .eliminar {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    color: #999 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
}
/* ==========================================
   BUSCADOR XIOCARS
========================================== */

.buscador-header {
    display: flex;
    align-items: center;
    height: 36px;
    margin-left: 12px;
    border-bottom: 1px solid #222;
}

.buscador-header input {
    width: 0;
    opacity: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    color: #222;
    transition: all 0.3s ease;
}

.buscador-header:focus-within input {
    width: 140px;
    opacity: 1;
}

.buscador-header input::placeholder {
    color: #999;
}

.buscador-header button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 17px;
    padding: 5px;
    color: #222;
}

.buscador-header button:hover {
    color: #d65b73;
}


/* CELULAR */

@media (max-width: 768px) {

    .buscador-header:focus-within input {
        width: 100px;
    }

}
/* ==========================================
   ENCABEZADO FIJO
========================================== */

.header-principal {
    position: sticky;
    top: 0;
    z-index: 5000;
    background: #ffffff;
}
/* ==========================================
   HEADER FIJO AL HACER SCROLL
========================================== */

.header-principal {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    width: 100%;
    background: #ffffff !important;
}