body, h4, h5, h6, p, a, span, li, .btn, .nav-link, .lead {
    font-size: 93%; /* Reduce el tamaño de la fuente global al 85% */
}

/* Enlace "saltar al contenido principal": invisible salvo cuando recibe foco por teclado (accesibilidad) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    z-index: 10000;
    background: #1c1d21;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.skip-link:focus {
    top: 8px;
    color: #fff;
}

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    /*background-color: #fffaf0;*/
    background-color: #ffffff;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Brush Script MT', cursive;
    font-size: 24px;
    color: #e74c3c;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.buy-now {
    padding: 8px 15px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 5px;
}

.custom-now {
    background-color: #e74c3c;
}

.user-options a {
    text-decoration: none;
    color: #333;
    margin-left: 15px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
}


.video-text {
    font-size: 14px;
    color: #e74c3c;
}

.hero-text h2 {
    font-size: 36px;
    line-height: 1.3;
}

.buttons {
    margin-top: 20px;
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    border-radius: 5px;
    margin-right: 10px;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    background-color: #fff;
}

.feature-card {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    color: #e74c3c;
}

/* Specials Section */
.specials {
    padding: 40px 0;
    text-align: center;
}

.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.special-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.special-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Archivo: public/assets/css/style.css */

.hero {
    background-image: url('../images/playmobil-hero-home.png'); /* Ruta relativa desde 'public/assets/css/' */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

.hero-short {
    background-image: url('../images/playmobil-hero-home.png'); /* Ruta relativa desde 'public/assets/css/' */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}


.hero-about {
    background-image: url('../images/playmobil-hero-about.png'); /* Ruta relativa desde 'public/assets/css/' */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}


.hero-contact {
    background-image: url('../images/playmobil-hero-contact.png'); /* Ruta relativa desde 'public/assets/css/' */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}

.hero-process {
    background-image: url('../images/hero-process.jpg'); /* Ruta relativa desde 'public/assets/css/' */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 100px 0;
}



.hero-text {
    position: relative;
    z-index: 2; /* Asegurarse de que el texto esté sobre el fondo */
    text-align: center;
}


/* Archivo: public/assets/css/style.css */

/* Mover los indicadores del carrusel debajo del contenido */
.testimonials-section .carousel-indicators {
    position: static; /* Cambia la posición a estática para que esté dentro del flujo normal del documento */
    margin-top: 20px; /* Añadir margen superior para separarlo del contenido */
}

/* Archivo: public/assets/css/style.css */

/* Personalizar los indicadores del carrusel */
.testimonials-section .carousel-indicators button {
    background-color: #6c757d; /* Color gris oscuro para los indicadores */
}

.testimonials-section .carousel-indicators .active {
    background-color: #343a40; /* Color gris más oscuro para el indicador activo */
}

/* Archivo: public/assets/css/style.css */
.footer h4, .footer h5 {
    font-weight: bold;
}

.footer p {
    line-height: 1.6;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
}

.footer a:hover {
    color: #ffc107; /* Color de acento al pasar el ratón */
}

.footer form input {
    border-radius: 0;
}

.footer form button {
    border-radius: 0;
}

.footer .fab {
    font-size: 1.5rem;
}

.footer .fab:hover {
    color: #ffc107; /* Color de acento para los iconos sociales */
}

.contact-section{
    background-color: #e74c3c;
}

/* Pantalla de inicio de sesión (a pantalla completa) */
.auth-overlay {
    position: relative;
    min-height: 100vh;
    background: #fff;
}

.auth-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b6b70;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.auth-close:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
}

.auth-logo {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: -0.02em;
    text-decoration: none;
    margin-bottom: 40px;
}

.auth-panel h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin-bottom: 28px;
}

.auth-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fdece4;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.auth-subtitle {
    font-size: 13.5px;
    color: #6b6b70;
    line-height: 1.6;
    margin: -16px 0 24px;
}

.auth-danger-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 16px 18px;
    background: #fdece4;
    border: 1px solid #f8d3c2;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-danger-list li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: #6b4a3d;
    line-height: 1.5;
}

.auth-danger-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e74c3c;
}

.auth-danger-list li strong {
    color: #c0392b;
}

.auth-submit-danger {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.auth-submit-danger:hover {
    background: #a5301f;
    border-color: #a5301f;
    color: #fff;
}

.auth-image-panel-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232428;
}

.auth-image-panel-danger i {
    font-size: 120px;
    color: #e74c3c;
}

.auth-otp {
    display: flex;
    gap: 10px;
}

.auth-otp-input {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 52px;
    border: 1px solid #ececec;
    border-radius: 8px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-family: inherit;
    color: #232428;
    background: #fdfdfd;
}

.auth-otp-input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.auth-form-row {
    margin-bottom: 18px;
}

.auth-form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #232428;
    margin-bottom: 8px;
}

.auth-form-row input {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fdfdfd;
}

.auth-form-row input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4a4a4f;
    margin-bottom: 22px;
    cursor: pointer;
}

.auth-remember input {
    accent-color: #e74c3c;
}

.auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    color: #4a4a4f;
    margin-bottom: 20px;
    cursor: pointer;
}

.auth-terms-check input {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #e74c3c;
}

.auth-terms-check a {
    color: #e74c3c;
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    text-align: center;
    padding: 13px;
    font-size: 14.5px;
}

.auth-divider {
    text-align: center;
    font-size: 12.5px;
    color: #6b6b70;
    margin: 28px 0 16px;
    position: relative;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ececec;
    z-index: 0;
}

.auth-divider span {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 12px;
}

.auth-btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px;
    border-radius: 8px;
    border: 1.5px solid #ececec;
    font-size: 14.5px;
    font-weight: 600;
    color: #232428;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.auth-btn-outline:hover {
    border-color: #e74c3c;
    background: #fdece4;
    color: #c0392b;
}

.auth-image-panel {
    position: relative;
    overflow: hidden;
}

.auth-image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }

    .auth-image-panel {
        display: none;
    }

    .auth-panel {
        padding: 48px 24px;
    }
}

/* Cart frontend */

.cart-container {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.cart-summary {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
}
.cart-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}
.saved-items {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
}

/* Tienda frontend */

.product-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.sidebar {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}
.product-price {
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c;
}
.product-discount {
    text-decoration: line-through;
    color: #888;
}


.btn-xs {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}


/* BADGE pasos del process */

.step-number {
    background-color: #e74c3c; /* Color de fondo del número */
    color: white; /* Color del texto del número */
    border-radius: 50%; /* Hace el contenedor del número circular */
    width: 50px; /* Ancho del círculo */
    height: 50px; /* Alto del círculo */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 25px;
}



.categorias a{
    text-decoration: none;  
}

.card-hover-border:hover {
    border: 1px solid #000 !important;
    transition: border 0.2s ease-in-out;
}

.card-no-radius {
    border-radius: 0 !important;
}


#imageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5); /* Oscurece el fondo */
    z-index: 1040; /* Debajo del mainImageCard (1050) */
}




/* Breadcrumb enlaces personalizados */
.breadcrumb-link {
    color: #E84C3C;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.breadcrumb-link:hover {
    color: #0d6efd; /* Azul Bootstrap al hacer hover */
    text-decoration: none; /* Sin subrayado también al hacer hover */
}

/* Separador personalizado entre elementos del breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: bold;
    padding: 0 0.5rem;
    color: #6c757d;
}

/* Sección "Cómo lo hacemos" + CTA (home) */
.home-process {
    background: #1c1d21;
    padding: 88px 0;
}

.home-process-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.home-process-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 12px;
}

.home-process-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 10px;
}

.home-process-head p {
    color: #a9a9ad;
    font-size: 15px;
    margin: 0;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    margin-bottom: 72px;
}

.home-process-grid::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 16.6%;
    right: 16.6%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.home-process-step {
    text-align: center;
    position: relative;
}

.home-process-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1c1d21;
    border: 1.5px solid #e74c3c;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    margin: 0 auto 22px;
    position: relative;
    z-index: 1;
}

.home-process-step h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.home-process-step p {
    font-size: 13.5px;
    color: #a9a9ad;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

.home-process-cta {
    text-align: center;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-process-cta h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.home-process-cta > p {
    font-size: 14.5px;
    color: #a9a9ad;
    margin-bottom: 28px;
}

.home-process-cta-link {
    margin: 16px 0 0;
}

.home-process-cta-link a {
    font-size: 12.5px;
    color: #7c7c80;
    text-decoration: none;
    font-weight: 600;
}

.home-process-cta-link a:hover {
    color: #e74c3c;
}

@media (max-width: 900px) {
    .home-process-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .home-process-grid::before {
        display: none;
    }
}

/* Sección "Contacto" (home) */
.home-contact {
    padding: 88px 0;
    background: #f6f6f7;
}

.home-contact-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.home-contact-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.home-contact-head p {
    color: #6b6b70;
    font-size: 15px;
    margin: 0;
}

.home-contact-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

.home-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-contact-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 24px;
}

.home-contact-card-accent {
    background: #fdece4;
    border-color: #f8d3c2;
}

.home-contact-card-icon {
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 14px;
}

.home-contact-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-contact-card p {
    font-size: 13.5px;
    color: #6b6b70;
    line-height: 1.6;
    margin: 0;
}

.home-contact-form {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 40px;
}

.home-contact-form h3 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 6px;
}

.home-contact-form > p {
    font-size: 13.5px;
    color: #6b6b70;
    margin-bottom: 28px;
}

.home-contact-form-row {
    margin-bottom: 20px;
}

.home-contact-form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home-contact-form-row input,
.home-contact-form-row textarea {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fdfdfd;
}

.home-contact-form-row input::placeholder,
.home-contact-form-row textarea::placeholder {
    color: #b0b0b3;
}

.home-contact-form-row input:focus,
.home-contact-form-row textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.home-contact-form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.home-contact-form-submit {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 14.5px;
}

.home-contact-form-note {
    text-align: center;
    font-size: 12.5px;
    color: #6b6b70;
    margin-top: 16px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .home-contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Sección "Benefits" (home) */
.home-benefits {
    background: #1c1d21;
    padding: 80px 0;
}

.home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.home-benefit {
    text-align: center;
    color: #fff;
}

.home-benefit-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
}

.home-benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #e74c3c;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-benefit h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-benefit p {
    font-size: 13.5px;
    color: #a9a9ad;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto 10px;
}

.home-benefit a {
    font-size: 12.5px;
    color: #7c7c80;
    text-decoration: none;
    font-weight: 600;
}

.home-benefit a:hover {
    color: #e74c3c;
}

@media (max-width: 900px) {
    .home-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Sección "Testimonios" (home) */
.home-testimonial {
    background: #f6f6f7;
    padding: 96px 0;
}

.home-testimonial-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 12px;
}

.home-testimonial-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.home-testimonial-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.home-testimonial-head p {
    color: #6b6b70;
    font-size: 15px;
    margin: 0;
}

.home-trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 800px;
    margin: 0 auto 64px;
}

.home-trust-item {
    text-align: center;
    padding: 0 24px;
}

.home-trust-item + .home-trust-item {
    border-left: 1px solid #ececec;
}

.home-trust-num {
    font-size: 30px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: -0.01em;
}

.home-trust-label {
    font-size: 12.5px;
    color: #6b6b70;
    margin-top: 6px;
    line-height: 1.4;
}

.home-testimonial-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    padding-bottom: 8px;
    scrollbar-width: none;
    user-select: none;
}

.home-testimonial-scroll::-webkit-scrollbar {
    display: none;
}

.home-testimonial-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.home-t-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
}

.home-t-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.home-t-stars svg {
    width: 14px;
    height: 14px;
    fill: #e74c3c;
    stroke: #e74c3c;
}

.home-t-card blockquote {
    font-size: 14.5px;
    line-height: 1.7;
    color: #232428;
    margin: 0 0 20px;
    flex: 1;
}

.home-t-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-t-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.home-t-name {
    font-size: 13.5px;
    font-weight: 700;
}

.home-t-source {
    font-size: 12px;
    color: #6b6b70;
}

.home-testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
}

.home-testimonial-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-testimonial-dot.is-active {
    background: #e74c3c;
    transform: scale(1.25);
}

@media (max-width: 900px) {
    .home-t-card {
        flex: 0 0 100%;
    }

    .home-trust-bar {
        grid-template-columns: 1fr 1fr;
        max-width: 360px;
        row-gap: 28px;
    }

    .home-trust-item {
        padding: 0 12px;
    }

    .home-trust-item:nth-child(odd) {
        border-left: none;
    }

    .home-trust-item:nth-child(-n+2) {
        border-bottom: 1px solid #ececec;
        padding-bottom: 20px;
    }
}

/* Sección "Hero" (home) */
.home-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.72) 0%, rgba(20, 15, 15, 0.35) 55%, rgba(20, 15, 15, 0.1) 100%),
        url('../images/playmobil-hero-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 80px 0;
}

.home-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffd0c4;
    margin-bottom: 14px;
}

.home-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.home-hero-ctas {
    display: flex;
    gap: 14px;
}

.home-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.home-hero-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.home-hero-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.home-hero-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.home-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

@media (max-width: 767px) {
    .home-hero-content h1 {
        font-size: 30px;
    }
}

/* Botón genérico reutilizable (home) */
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.home-btn-outline {
    background: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.home-btn-outline:hover {
    background: #e74c3c;
    color: #fff;
}

.home-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.home-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

/* Sección "Encuentra tu Playmobil perfecto" (home) */
.home-products {
    padding: 88px 0;
}

.home-products-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.home-products-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.home-products-head p {
    color: #6b6b70;
    font-size: 15px;
    margin: 0;
}

.home-products-cta {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 56px;
}

.home-products-cta-bottom {
    margin-top: 48px;
    margin-bottom: 0;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-product-card {
    border: 1px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-product-card:hover {
    box-shadow: 0 12px 28px rgba(20, 15, 15, 0.08);
    transform: translateY(-2px);
}

.home-product-media {
    aspect-ratio: 1 / 1;
    background: #f6f6f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.home-product-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-product-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-product-price {
    font-size: 17px;
    font-weight: 800;
    color: #232428;
    margin-bottom: 6px;
}

.home-product-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    flex: 1;
}

.home-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.home-product-cat {
    font-size: 12.5px;
    color: #6b6b70;
    text-decoration: none;
}

.home-product-cat:hover {
    color: #e74c3c;
}

.home-product-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.home-product-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-product-arrow:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

@media (max-width: 900px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Header - Barra superior (mensaje de marca) */
.site-topbar {
    background: #f6f6f7;
    padding: 8px 0;
    border-bottom: 1px solid #ececec;
}

.site-topbar-msg {
    margin: 0;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #6b6b70;
}

/* Header - Fila de utilidades (enlaces secundarios) */
.site-utilitybar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.site-utilitybar-inner a {
    font-size: 12px;
    color: #c7c7ca;
    text-decoration: none;
}

.site-utilitybar-inner a:hover {
    color: #e74c3c;
}

/* Header - Botón CTA en el nav principal */
.site-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 8px;
    background: #e74c3c;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease;
}

.site-nav-cta:hover {
    background: #c0392b;
    color: #fff !important;
}

/* Header - Franja compacta móvil (carrito + botón de menú) */
.site-header-mobile-bar {
    gap: 0;
}

/* Header - Grupo de acciones (Dashboard / CTA / login / carrito) */
.header-actions {
    gap: 12px;
}

@media (max-width: 991.98px) {
    .header-actions {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .header-actions .site-nav-cta {
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .header-actions {
        gap: 10px;
    }
}

/* Header - Botones de icono (entrar / carrito) */
.site-icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.site-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* Header - Botón de icono en rojo (acceso al dashboard de admin), con fondo blanco para que el icono destaque sobre la barra oscura */
.site-icon-btn-accent {
    background: #fff;
    border-color: #e74c3c;
    color: #e74c3c;
}

.site-icon-btn-accent:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

/* Círculo de iniciales del usuario en el header, en el rojo corporativo (en vez del rojo por defecto de Bootstrap) */
.site-user-avatar {
    background-color: #e74c3c;
}

.site-icon-btn-badge {
    top: -6px;
    right: -6px;
    font-size: 0.65rem;
}

/* Header - Banda de novedades (acento) */
.site-promobar {
    display: block;
    background: #fdece4;
    border-bottom: 1px solid #f8d3c2;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.site-promobar:hover {
    background: #fbdccb;
}

.site-promobar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #232428;
}

.site-promobar-arrow {
    color: #c0392b;
    font-weight: 700;
}

.site-promobar:hover .site-promobar-arrow {
    color: #8e2a1d;
}

@media (max-width: 767px) {
    .site-utilitybar-inner {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-topbar-msg {
        font-size: 11px;
        padding: 0 12px;
    }
}

/* Páginas legales (Términos, Privacidad, Cookies, Envíos y Devoluciones) */
.legal-content h1 {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #232428;
    margin-top: 48px;
    margin-bottom: 12px;
    padding-top: 28px;
    border-top: 1px solid #ececec;
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #232428;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-num {
    color: #e74c3c;
    margin-right: 4px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4f;
    margin-bottom: 12px;
}

.legal-content p:last-child {
    margin-bottom: 0;
}

.legal-content ul {
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4f;
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: #e74c3c;
    font-weight: 600;
}

.legal-content a:hover {
    color: #c0392b;
}

/* Página "Sobre Nosotros" */
.about-us {
    background: #f6f6f7;
    padding: 88px 0;
}

.about-heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4f;
    margin-bottom: 16px;
}

.about-us-img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ececec;
}

.about-numbers {
    background: #1c1d21;
    padding: 88px 0;
}

.about-numbers-head {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 48px;
}

.about-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 720px;
    margin: 0 auto;
}

.about-numbers-item {
    text-align: center;
    padding: 0 24px;
}

.about-numbers-item + .about-numbers-item {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.about-numbers-value {
    font-size: 36px;
    font-weight: 800;
    color: #e74c3c;
    letter-spacing: -0.01em;
}

.about-numbers-label {
    font-size: 13px;
    color: #a9a9ad;
    margin-top: 6px;
}

.about-contact {
    background: #f6f6f7;
    padding: 88px 0;
}

.about-contact-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 40px;
}

.about-contact-card h2 {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    color: #232428;
    margin-bottom: 10px;
}

.about-contact-card > p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b6b70;
    text-align: center;
    margin-bottom: 28px;
}

.about-contact-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-contact-row {
    margin-bottom: 20px;
}

.about-contact-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #232428;
    margin-bottom: 8px;
}

.about-contact-row label i {
    color: #e74c3c;
    margin-right: 4px;
}

.about-contact-row input,
.about-contact-row textarea {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fdfdfd;
}

.about-contact-row textarea {
    resize: vertical;
    min-height: 96px;
}

.about-contact-row input:focus,
.about-contact-row textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.about-contact-submit {
    padding: 12px 32px;
}

@media (max-width: 767px) {
    .about-numbers-grid {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .about-numbers-item + .about-numbers-item {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 24px;
    }

    .about-contact-row-group {
        grid-template-columns: 1fr;
    }
}

/* Página de Contacto - Formulario */
.contact-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.contact-form-alert i {
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-form-alert p {
    margin: 0;
}

.contact-form-alert-success {
    color: #1f7a4d;
}

.contact-form-alert-success i {
    color: #2ecc71;
}

.contact-form-alert-error {
    color: #c0392b;
}

.contact-form-alert-error i {
    color: #e74c3c;
}

.contact-form-hint {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    text-align: left;
}

.contact-form-hint i {
    color: #fff;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-form-hint p {
    margin: 0;
    font-size: 12.5px;
    color: #fff;
    line-height: 1.5;
}

.contact-form-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.contact-form-consent-check input {
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-form-consent-check a {
    color: #fff;
    text-decoration: underline;
}

/* Página de Contacto - Localización & Horario */
.contact-location {
    padding: 88px 0;
    background: #f6f6f7;
}

.contact-location-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.contact-location-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}

.contact-location-head p {
    color: #6b6b70;
    font-size: 15px;
    margin: 0;
}

.contact-location-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-location-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-location-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 24px;
}

.contact-location-card-accent {
    background: #fdece4;
    border-color: #f8d3c2;
}

.contact-location-card-icon {
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: 14px;
}

.contact-location-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-location-card p {
    font-size: 13.5px;
    color: #6b6b70;
    line-height: 1.6;
    margin: 0;
}

.contact-location-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ececec;
    min-height: 300px;
}

.contact-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
}

.contact-location-map-placeholder {
    min-height: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 30px;
    background: #f6f6f7;
}

.contact-location-map-placeholder i {
    font-size: 30px;
    color: #e74c3c;
}

.contact-location-map-placeholder p {
    margin: 0;
    font-weight: 700;
    color: #232428;
}

.contact-location-map-placeholder small {
    max-width: 320px;
    font-size: 12px;
    color: #6b6b70;
    line-height: 1.5;
}

.contact-location-map-placeholder small a {
    color: #e74c3c;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-location-layout {
        grid-template-columns: 1fr;
    }
}

/* Página de Proceso - Hero */
.process-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.75) 0%, rgba(20, 15, 15, 0.4) 55%, rgba(20, 15, 15, 0.15) 100%),
        url('../images/hero-process.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.process-hero-personalizacion {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.75) 0%, rgba(20, 15, 15, 0.4) 55%, rgba(20, 15, 15, 0.15) 100%),
        url('../images/playmobil-personalizacion.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.process-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 80px 0;
}

.process-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.process-hero-accent {
    color: #e74c3c;
}

.process-hero-content p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #e9e9ea;
    margin-bottom: 28px;
    max-width: 480px;
}

.process-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.process-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.process-hero-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.process-hero-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.process-hero-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.process-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

@media (max-width: 767px) {
    .process-hero-content h1 {
        font-size: 30px;
    }
}

/* Página "Sobre Nosotros" - Hero */
.about-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.75) 0%, rgba(20, 15, 15, 0.4) 55%, rgba(20, 15, 15, 0.15) 100%),
        url('../images/playmobil-hero-about.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 80px 0;
}

.about-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.about-hero-accent {
    color: #e74c3c;
}

.about-hero-content p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #e9e9ea;
    margin-bottom: 28px;
    max-width: 480px;
}

.about-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.about-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.about-hero-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.about-hero-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.about-hero-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.about-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

@media (max-width: 767px) {
    .about-hero-content h1 {
        font-size: 30px;
    }
}

/* Página de Contacto - Hero */
.contact-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.75) 0%, rgba(20, 15, 15, 0.4) 55%, rgba(20, 15, 15, 0.15) 100%),
        url('../images/playmobil-hero-contact.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 80px 0;
}

.contact-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.contact-hero-accent {
    color: #e74c3c;
}

.contact-hero-content p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #e9e9ea;
    margin-bottom: 28px;
    max-width: 480px;
}

.contact-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.contact-hero-btn-icon-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(37, 211, 102, 0.22);
    color: #25d366;
    font-size: 14px;
}

.contact-hero-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.contact-hero-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.contact-hero-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.contact-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

@media (max-width: 767px) {
    .contact-hero-content h1 {
        font-size: 30px;
    }
}

/* Páginas legales - Hero (Términos, Privacidad, Cookies, Envíos y Devoluciones) */
.legal-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(100deg, rgba(20, 15, 15, 0.75) 0%, rgba(20, 15, 15, 0.4) 55%, rgba(20, 15, 15, 0.15) 100%),
        url('../images/playmobil-hero-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.legal-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 64px 0;
}

.legal-hero-content .legal-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.legal-hero-accent {
    color: #e74c3c;
}

.legal-hero-content p {
    font-size: 15.5px;
    line-height: 1.6;
    color: #e9e9ea;
    margin-bottom: 28px;
    max-width: 480px;
}

.legal-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.legal-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.18s ease;
}

.legal-hero-btn-primary {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.legal-hero-btn-primary:hover {
    background: #c0392b;
    border-color: #c0392b;
}

.legal-hero-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.legal-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

@media (max-width: 767px) {
    .legal-hero-content .legal-hero-title {
        font-size: 28px;
    }
}

/* Página de Proceso - rediseño (fotografía macro, recorrido en zigzag) */

.process-eyebrow {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: #e74c3c;
    margin: 0 0 14px;
}

.process-eyebrow-center {
    text-align: center;
}

/* Barra de confianza */
.process-trust {
    background: #1c1d21;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
}

.process-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.process-trust-item {
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: rgba(233, 233, 234, 0.85);
}

.process-trust-dot {
    color: rgba(233, 233, 234, 0.3);
}

/* Narrativa + datos */
.process-wave {
    background: #fff;
    padding: 84px 0;
}

.process-wave-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
}

.process-wave h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: #232428;
    margin: 0 0 18px;
}

.process-wave-text {
    font-size: 15.5px;
    line-height: 1.75;
    color: #4a4a4f;
    margin: 0;
    max-width: 52ch;
}

.process-wave-stats {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.process-stat {
    border-top: 1px solid #ececec;
    padding-top: 12px;
}

.process-stat b {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    color: #232428;
}

.process-stat span {
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8a8a90;
}

/* Recorrido de pasos, en zigzag */
.process-rail {
    position: relative;
    background: #1c1d21;
    padding: 96px 0;
    overflow: hidden;
}

.process-rail-thread {
    position: absolute;
    left: 50%;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 10px, transparent 10px 20px);
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-reverse .process-step-media {
    order: 1;
}

.process-step-reverse .process-step-copy {
    order: 2;
    text-align: right;
}

.process-step-copy {
    color: #e9e9ea;
}

.process-spec {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7fbfae;
    margin-bottom: 14px;
}

.process-step-copy h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 14px;
    color: #fff;
}

.process-step-copy p {
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(233, 233, 234, 0.75);
    margin: 0;
    max-width: 46ch;
}

.process-step-reverse .process-step-copy p {
    margin-left: auto;
}

.process-frame {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.4);
}

.process-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.process-tag {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(20, 15, 15, 0.75);
    color: #fff;
    font-size: 10.5px;
    letter-spacing: 0.05em;
    padding: 6px 10px;
    border-radius: 2px;
}

/* Piezas que asoman por los márgenes laterales, ligadas a un paso concreto */
.process-peek {
    position: absolute;
    z-index: 0;
    width: clamp(80px, calc(50% - 624px), 200px);
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45));
    opacity: 0;
    transition: transform 0.9s cubic-bezier(.2,.8,.2,1), opacity 0.6s ease;
}

.process-peek img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.process-peek-a,
.process-peek-b {
    left: 24px;
    transform: translateX(-120%) rotate(-5deg);
}

.process-peek-a.is-visible,
.process-peek-b.is-visible {
    opacity: 0.95;
    transform: translateX(0) rotate(-5deg);
}

.process-peek-c {
    right: 24px;
    transform: translateX(120%) rotate(5deg);
}

.process-peek-c.is-visible {
    opacity: 0.95;
    transform: translateX(0) rotate(5deg);
}

@media (max-width: 1320px) {
    .process-peek {
        display: none;
    }
}

/* El momento que importa: antes / después */
.process-reveal {
    background: #f7f4ef;
    padding: 96px 0;
    text-align: center;
}

.process-reveal-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 720px;
    margin: 0 auto 56px;
    color: #232428;
}

.process-reveal-title em {
    font-style: italic;
    color: #c0392b;
}

.process-reveal-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 32px;
    max-width: 720px;
    margin: 0 auto;
}

.process-reveal-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.process-reveal-before {
    background: repeating-linear-gradient(135deg, rgba(20, 15, 15, 0.06) 0 12px, rgba(20, 15, 15, 0.02) 12px 24px);
    border: 1.5px dashed rgba(20, 15, 15, 0.25);
}

.process-reveal-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(20, 15, 15, 0.4);
}

.process-reveal-placeholder span {
    font-size: 11.5px;
    letter-spacing: 0.03em;
}

.process-reveal-after {
    background: #e9e2d3;
    box-shadow: 0 26px 52px rgba(20, 15, 15, 0.16);
}

.process-reveal-before img,
.process-reveal-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
    display: block;
}

.process-reveal-tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-size: 10.5px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: rgba(20, 15, 15, 0.82);
    color: #fff;
    padding: 6px 10px;
    border-radius: 2px;
    margin: 0;
}

.process-reveal-tag-light {
    background: rgba(255, 255, 255, 0.92);
    color: #232428;
}

.process-reveal-arrow {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-style: italic;
    color: #e74c3c;
}

.process-unique-badge {
    display: inline-block;
    margin: 40px auto 0;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c0392b;
    border: 1px solid #c0392b;
    border-radius: 999px;
    padding: 10px 20px;
}

.process-quote {
    margin: 36px auto 0;
    max-width: 480px;
}

.process-quote p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.4;
    color: #232428;
    margin: 0 0 10px;
}

.process-quote footer {
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: #8a8a90;
}

/* Preguntas frecuentes */
.process-faq {
    background: #fff;
    padding: 96px 0;
}

.process-faq-title {
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: 400;
    color: #232428;
    margin: 14px 0 48px;
}

.process-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.process-faq-item {
    padding: 24px 0;
    border-top: 1px solid #ececec;
}

.process-faq-list .process-faq-item:last-child {
    border-bottom: 1px solid #ececec;
}

.process-faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #232428;
    margin: 0 0 6px;
}

.process-faq-item p {
    font-size: 14px;
    line-height: 1.65;
    color: #4a4a4f;
    margin: 0;
}

/* Cierre */
.process-closing {
    background: #f7f4ef;
    text-align: center;
    padding: 88px 0;
}

.process-closing-check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 22px;
}

.process-closing h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    color: #232428;
    margin: 0 0 14px;
}

.process-closing p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4f;
    max-width: 560px;
    margin: 0 auto 28px;
}

.process-closing-cta {
    padding: 16px 42px;
    font-size: 16px;
    box-shadow: 0 12px 28px rgba(231, 76, 60, 0.35);
}

/* Revelado suave al hacer scroll (sin parallax, para que no penalice en móvil) */
.process-reveal-io {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-reveal-io.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 900px) {
    .process-wave-inner {
        grid-template-columns: 1fr;
    }

    .process-step,
    .process-step-reverse {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 64px;
    }

    .process-step-reverse .process-step-media,
    .process-step-reverse .process-step-copy {
        order: initial;
        text-align: left;
    }

    .process-step-reverse .process-step-copy p {
        margin-left: 0;
    }

    .process-rail-thread {
        display: none;
    }

    .process-reveal-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .process-reveal-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 767px) {
    .process-wave {
        padding: 56px 0;
    }

    .process-wave h2 {
        font-size: 26px;
    }

    .process-rail {
        padding: 64px 0;
    }

    .process-step-copy h3 {
        font-size: 21px;
    }

    .process-reveal,
    .process-faq,
    .process-closing {
        padding: 64px 0;
    }

    .process-reveal-title,
    .process-faq-title {
        font-size: 26px;
    }

    .process-trust-inner {
        gap: 8px 12px;
    }
}

@media (max-width: 480px) {
    .process-frame img {
        aspect-ratio: 1 / 1;
    }

    .process-quote p {
        font-size: 17px;
    }
}


/* Página de Personalizar - Hero (vídeo de fondo) */
.personalizar-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1c1d21;
}

.personalizar-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.personalizar-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(20, 15, 15, 0.8) 0%, rgba(20, 15, 15, 0.45) 55%, rgba(20, 15, 15, 0.2) 100%);
}

.personalizar-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 80px 0;
}

.personalizar-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffd0c4;
    margin-bottom: 14px;
}

.personalizar-hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 20px;
}

.personalizar-hero-accent {
    color: #e74c3c;
}

.personalizar-hero-content > p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #e9e9ea;
    margin-bottom: 28px;
    max-width: 460px;
}

.personalizar-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.personalizar-hero-cta {
    padding: 14px 32px;
    font-size: 15px;
}

.personalizar-hero-btn-outline-light {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(4px);
    transition: all 0.18s ease;
}

.personalizar-hero-btn-outline-light:hover {
    background: #fff;
    color: #1c1d21;
}

/* Página de Personalizar - Formulario */
.personalizar-form-section {
    padding: 88px 0;
    background: #fff;
}

.personalizar-form-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.personalizar-form-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin-bottom: 10px;
}

.personalizar-form-head p {
    font-size: 15px;
    color: #6b6b70;
    margin: 0;
}

.personalizar-form-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 44px;
    box-shadow: 0 20px 48px rgba(20, 15, 15, 0.06);
}

.personalizar-form-alert {
    max-width: 760px;
    margin: 0 auto 20px;
}

.personalizar-form-section-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e74c3c;
    margin: 40px 0 20px;
    padding-top: 28px;
    border-top: 1px solid #ececec;
}

.personalizar-form-card form > .personalizar-form-section-title:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.personalizar-form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.personalizar-form-row {
    margin-bottom: 22px;
}

.personalizar-form-row label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #232428;
    margin-bottom: 10px;
}

/* Neutraliza el estilo por defecto de Bootstrap para <fieldset>/<legend> usados por accesibilidad
   (grupo de radios "Ocasión o temática"), para que se vean igual que un .personalizar-form-row label */
fieldset.personalizar-form-row {
    min-width: 0;
    border: 0;
    padding: 0;
}

.personalizar-form-row legend {
    float: none;
    width: auto;
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #232428;
    margin-bottom: 10px;
    line-height: normal;
    padding: 0;
}

.personalizar-form-row input[type="text"],
.personalizar-form-row input[type="email"],
.personalizar-form-row input[type="tel"],
.personalizar-form-row input[type="number"],
.personalizar-form-row textarea {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fdfdfd;
}

.personalizar-form-row input:focus,
.personalizar-form-row textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.personalizar-form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.personalizar-form-hint {
    font-size: 12.5px;
    color: #6b6b70;
    line-height: 1.5;
    margin: -4px 0 10px;
}

/* Chips (ocasión/temática) */
.personalizar-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.personalizar-chip {
    position: relative;
    cursor: pointer;
}

.personalizar-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.personalizar-chip span {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1.5px solid #ececec;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a4f;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.personalizar-chip input:checked + span {
    border-color: #e74c3c;
    background: #e74c3c;
    color: #fff;
}

/* Subida de imágenes */
.personalizar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
    border: 1.5px dashed #ececec;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    color: #6b6b70;
    font-size: 13.5px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.personalizar-upload:hover {
    border-color: #e74c3c;
    background: #fdece4;
}

.personalizar-upload.is-dragover {
    border-color: #e74c3c;
    border-style: solid;
    background: #fdece4;
}

.personalizar-upload i {
    font-size: 24px;
    color: #e74c3c;
}

.personalizar-upload input {
    display: none;
}

.personalizar-upload-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.personalizar-upload-preview:empty {
    display: none;
}

.personalizar-upload-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ececec;
}

@media (max-width: 480px) {
    .personalizar-upload-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

.personalizar-upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.personalizar-upload-thumb-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.personalizar-upload-thumb-remove:hover {
    background: #e74c3c;
}

.personalizar-form-submit {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 15px;
    margin-top: 8px;
}

.personalizar-form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.personalizar-upload-error {
    display: none;
    font-size: 12.5px;
    font-weight: 600;
    color: #e74c3c;
    margin: 8px 0 0;
}

.personalizar-upload-error.is-visible {
    display: block;
}

.personalizar-form-note {
    text-align: center;
    font-size: 12.5px;
    color: #6b6b70;
    margin-top: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .personalizar-hero-content h1 {
        font-size: 30px;
    }
}

@media (max-width: 900px) {
    .personalizar-form-card {
        padding: 28px 20px;
    }

    .personalizar-form-row-group,
    .personalizar-form-row-group-3 {
        grid-template-columns: 1fr;
    }
}

/* Página de Personalizar - Cómo funciona */
.personalizar-how {
    background: #1c1d21;
    padding: 88px 0;
}

.personalizar-how-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.personalizar-how-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 12px;
}

.personalizar-how-head h2 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 10px;
}

.personalizar-how-head p {
    color: #a9a9ad;
    font-size: 15px;
    margin: 0;
}

.personalizar-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.personalizar-how-grid::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.personalizar-how-step {
    text-align: center;
    position: relative;
}

.personalizar-how-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1c1d21;
    border: 1.5px solid #e74c3c;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    margin: 0 auto 22px;
    position: relative;
    z-index: 1;
}

.personalizar-how-step h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.personalizar-how-step p {
    font-size: 13px;
    color: #a9a9ad;
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

.personalizar-how-cta {
    text-align: center;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .personalizar-how-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .personalizar-how-grid::before {
        display: none;
    }
}

/* Página de Tienda */
.shop-page {
    padding-bottom: 88px;
}

.shop-breadcrumb-nav {
    padding-top: 28px;
}

.shop-breadcrumb {
    font-size: 12.5px;
}

.shop-breadcrumb .breadcrumb-item.active {
    color: #6b6b70;
    font-weight: 600;
}

.shop-head {
    margin-top: 8px;
    margin-bottom: 32px;
    max-width: 640px;
}

.shop-head h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin-bottom: 8px;
}

.shop-head-desc-full {
    font-size: 14px;
    color: #6b6b70;
    line-height: 1.6;
    margin: 0;
}

.shop-head-desc summary {
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    color: #6b6b70;
    line-height: 1.6;
}

.shop-head-desc summary::-webkit-details-marker {
    display: none;
}

.shop-head-desc[open] .shop-head-desc-short {
    display: none;
}

.shop-head-desc-label::before {
    content: "Leer más";
    display: inline-block;
    margin-left: 4px;
    color: #e74c3c;
    font-weight: 600;
    white-space: nowrap;
}

.shop-head-desc[open] .shop-head-desc-label {
    display: none;
}

.shop-head-desc .shop-head-desc-full {
    margin-top: 6px;
}

.shop-head-desc-collapse {
    display: inline;
    margin-left: 4px;
    padding: 0;
    border: none;
    background: none;
    color: #e74c3c;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.shop-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-bottom: 24px;
    border: 1.5px solid #ececec;
    border-radius: 8px;
    background: #fff;
    color: #232428;
    font-size: 14px;
    font-weight: 600;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.shop-sidebar-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.shop-sidebar-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
    margin-bottom: 12px;
}

.shop-sidebar-card select {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13.5px;
    font-family: inherit;
    color: #232428;
    background: #fdfdfd;
}

.shop-sidebar-card select:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.shop-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-categories li + li {
    margin-top: 2px;
}

.shop-categories a {
    display: block;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 6px;
    font-size: 13.5px;
    color: #4a4a4f;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.shop-categories a:hover {
    background: #f6f6f7;
    color: #232428;
}

.shop-categories a.is-active {
    background: #fdece4;
    color: #c0392b;
    font-weight: 700;
}

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.shop-product-card {
    border: 1px solid #ececec;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-product-card:hover {
    box-shadow: 0 12px 28px rgba(20, 15, 15, 0.08);
    transform: translateY(-2px);
}

.shop-product-card-accent {
    border-color: #f8d3c2;
}

.shop-product-card-accent .shop-product-media {
    background: #fdece4;
}

.shop-product-media {
    aspect-ratio: 1 / 1;
    background: #f6f6f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.shop-product-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop-product-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-product-price {
    font-size: 17px;
    font-weight: 800;
    color: #232428;
    margin-bottom: 6px;
}

.shop-product-price-old {
    font-size: 13px;
    font-weight: 600;
    color: #6b6b70;
    text-decoration: line-through;
    margin-right: 6px;
}

.shop-product-discount {
    font-size: 12px;
    font-weight: 700;
    color: #e74c3c;
    margin-left: 6px;
}

.shop-product-body h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.shop-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.shop-product-cat {
    font-size: 12.5px;
    color: #6b6b70;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-cat:hover {
    color: #e74c3c;
}

.shop-product-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.shop-product-arrow svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-product-arrow:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Página de detalle de producto */
.pdetail-page {
    padding-bottom: 24px;
}

.pdetail-breadcrumb-nav {
    padding-top: 28px;
}

.pdetail-breadcrumb {
    font-size: 12.5px;
}

.pdetail-breadcrumb .breadcrumb-item.active {
    color: #6b6b70;
    font-weight: 600;
}

.pdetail-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px;
    margin-top: 24px;
    align-items: start;
}

.pdetail-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pdetail-gallery-media {
    display: flex;
    gap: 16px;
}

.pdetail-main-image {
    flex: 1;
    min-width: 0;
    aspect-ratio: 1 / 1;
    background: #f6f6f7;
    border: 1px solid #ececec;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.pdetail-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pdetail-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 76px;
    flex-shrink: 0;
}

.pdetail-thumb {
    width: 76px;
    height: 76px;
    padding: 6px;
    background: #f6f6f7;
    border: 1.5px solid #ececec;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdetail-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pdetail-thumb:hover {
    border-color: #e74c3c;
}

.pdetail-thumb.is-active {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.pdetail-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fdece4;
    border: 1px solid #f8d3c2;
    border-radius: 10px;
    padding: 16px 18px;
}

.pdetail-note i {
    color: #e74c3c;
    margin-top: 2px;
}

.pdetail-note p {
    margin: 0;
    font-size: 13.5px;
    color: #6b4a3d;
    line-height: 1.6;
}

.pdetail-info h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin: 0 0 16px;
}

.pdetail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
}

.pdetail-price-final {
    font-size: 26px;
    font-weight: 800;
    color: #232428;
}

.pdetail-price-old {
    font-size: 15px;
    font-weight: 600;
    color: #6b6b70;
    text-decoration: line-through;
}

.pdetail-price-discount {
    font-size: 13px;
    font-weight: 700;
    color: #e74c3c;
    background: #fdece4;
    padding: 2px 8px;
    border-radius: 6px;
}

.pdetail-shipping {
    font-size: 13.5px;
    color: #6b6b70;
    margin: 0 0 20px;
}

.pdetail-shipping i {
    color: #e74c3c;
    margin-right: 4px;
}

.pdetail-description {
    font-size: 14.5px;
    color: #4a4a4f;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pdetail-accordion {
    border-top: 1px solid #ececec;
    margin-bottom: 28px;
}

.pdetail-accordion-item {
    border-bottom: 1px solid #ececec;
}

.pdetail-accordion-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 2px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 700;
    color: #232428;
}

.pdetail-accordion-item summary::-webkit-details-marker {
    display: none;
}

.pdetail-accordion-item summary i {
    color: #6b6b70;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.pdetail-accordion-item[open] summary i {
    transform: rotate(180deg);
}

.pdetail-accordion-body {
    padding: 0 2px 16px;
}

.pdetail-accordion-body p {
    margin: 0;
    font-size: 13.5px;
    color: #4a4a4f;
    line-height: 1.6;
}

.pdetail-handmade {
    background: #fdece4;
    border: 1px solid #f8d3c2;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.pdetail-handmade h2 {
    font-size: 14.5px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 8px;
}

.pdetail-handmade p {
    margin: 0;
    font-size: 13.5px;
    color: #6b4a3d;
    line-height: 1.6;
}

.pdetail-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.pdetail-qty label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
}

.pdetail-qty input {
    width: 72px;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #232428;
}

.pdetail-qty input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.pdetail-actions {
    display: flex;
    gap: 12px;
}

.pdetail-actions .pdetail-add-btn {
    flex: 1;
    width: auto;
    min-width: 0;
}

.pdetail-add-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.18s ease;
    box-sizing: border-box;
}

.pdetail-add-btn:hover {
    background: #c0392b;
    color: #fff;
}

.pdetail-add-btn-outline {
    background: #fff;
    color: #e74c3c;
    border: 1.5px solid #e74c3c;
}

.pdetail-add-btn-outline:hover {
    background: #fdece4;
    color: #c0392b;
}

.pdetail-stock {
    font-size: 12.5px;
    color: #6b6b70;
    margin: 10px 0 0;
}

.pdetail-stock-out {
    color: #e74c3c;
    font-weight: 600;
}

.pdetail-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f6f6f7;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 13px;
    color: #6b6b70;
    line-height: 1.6;
    margin-top: 24px;
}

.pdetail-help i {
    color: #6b6b70;
    margin-top: 2px;
    flex-shrink: 0;
}

.pdetail-help p {
    margin: 0;
}

.pdetail-help a,
.pdetail-help-btn {
    color: #e74c3c;
    font-weight: 700;
    text-decoration: none;
}

.pdetail-help-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.pdetail-help a:hover,
.pdetail-help-btn:hover {
    text-decoration: underline;
}

.pdetail-note-warning {
    margin-top: 20px;
}

.pdetail-related {
    padding: 64px 0 88px;
    background: #f6f6f7;
    margin-top: 24px;
}

.pdetail-related h2 {
    font-size: 22px;
    font-weight: 800;
    color: #232428;
    margin-bottom: 24px;
}

/* Tarjetas de relacionados más compactas: no deben competir con el producto principal */
.pdetail-related .shop-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pdetail-related .shop-product-media {
    padding: 10px;
}

.pdetail-related .shop-product-body {
    padding: 12px 12px 14px;
}

.pdetail-related .shop-product-price {
    font-size: 13px;
    margin-bottom: 4px;
}

.pdetail-related .shop-product-body h3 {
    font-size: 12.5px;
    min-height: 2.2em;
    margin-bottom: 2px;
}

.pdetail-related .shop-product-footer {
    margin-top: 10px;
}

.pdetail-related .shop-product-cat {
    font-size: 11px;
}

.pdetail-related .shop-product-arrow {
    width: 26px;
    height: 26px;
}

.pdetail-related .shop-product-arrow svg {
    width: 11px;
    height: 11px;
}

.pdetail-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 29, 33, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pdetail-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.pdetail-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(12px);
    transition: transform 0.2s ease;
}

.pdetail-modal-overlay.is-open .pdetail-modal {
    transform: translateY(0);
}

.pdetail-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #f6f6f7;
    color: #6b6b70;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.pdetail-modal-close:hover {
    background: #ececec;
    color: #232428;
}

.pdetail-modal h3 {
    font-size: 19px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 8px;
    padding-right: 24px;
}

.pdetail-modal-subtitle {
    font-size: 13.5px;
    color: #6b6b70;
    line-height: 1.6;
    margin: 0 0 20px;
}

.pdetail-modal-alert {
    background: #fdece4;
    border: 1px solid #f8d3c2;
    color: #c0392b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.pdetail-modal-sender {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f6f7;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 4px;
}

.pdetail-modal-sender-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.pdetail-modal-sender-info {
    min-width: 0;
}

.pdetail-modal-sender-info strong {
    display: block;
    font-size: 13.5px;
    color: #232428;
    line-height: 1.4;
}

.pdetail-modal-sender-info span {
    display: block;
    font-size: 12.5px;
    color: #6b6b70;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pdetail-modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pdetail-modal-form label {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
    margin-bottom: -8px;
}

.pdetail-modal-form input,
.pdetail-modal-form textarea {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #232428;
    resize: vertical;
    box-sizing: border-box;
}

.pdetail-modal-form input:focus,
.pdetail-modal-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.pdetail-modal-form input[readonly] {
    background-color: #f2f2f3;
    color: #6b6b70;
    cursor: not-allowed;
}

.pdetail-modal-form input[readonly]:focus {
    border-color: #ececec;
    box-shadow: none;
}

.pdetail-modal-form .pdetail-add-btn {
    margin-top: 4px;
}

.pdetail-modal-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 20px 0 8px;
}

.pdetail-modal-result i {
    font-size: 40px;
    color: #2ecc71;
}

.pdetail-modal-result p {
    margin: 0;
    font-size: 14.5px;
    color: #232428;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pdetail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pdetail-gallery-media {
        flex-direction: column-reverse;
    }

    .pdetail-thumbs {
        flex-direction: row;
        width: auto;
        flex-wrap: wrap;
    }

    .pdetail-related .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pdetail-actions {
        flex-direction: column;
    }
}

/* Carrito, checkout y resumen de pedido */
.checkout-page {
    padding: 40px 0 88px;
}

.checkout-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin: 0 0 4px;
}

.checkout-title-count {
    font-weight: 600;
    color: #6b6b70;
}

.checkout-back-link {
    display: inline-block;
    font-size: 13.5px;
    color: #6b6b70;
    text-decoration: none;
    margin-bottom: 24px;
}

.checkout-back-link:hover {
    color: #e74c3c;
}

.checkout-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    margin-bottom: 24px;
}

.checkout-alert[hidden] {
    display: none;
}

.checkout-alert p {
    margin: 0;
}

.checkout-alert-success {
    background: #eafaf1;
    color: #1f7a4d;
}

.checkout-alert-success i {
    color: #2ecc71;
}

.checkout-alert-error {
    background: #fdece4;
    color: #c0392b;
}

.checkout-alert-error i {
    color: #e74c3c;
}

.checkout-empty {
    text-align: center;
    padding: 64px 24px;
    background: #f6f6f7;
    border-radius: 10px;
}

.checkout-empty i {
    font-size: 32px;
    color: #6b6b70;
    margin-bottom: 16px;
}

.checkout-empty p {
    font-size: 15px;
    color: #6b6b70;
    margin: 0 0 20px;
}

.checkout-empty-btn {
    display: inline-flex;
    padding: 12px 28px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.checkout-empty-btn:hover {
    background: #c0392b;
    color: #fff;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
}

.checkout-layout-single {
    grid-template-columns: minmax(0, 1fr) 360px;
}

/* Tarjetas de artículo del carrito */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 16px;
}

.cart-item-media {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #f6f6f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cart-item-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-item-head h3 {
    font-size: 15px;
    font-weight: 700;
    color: #232428;
    margin: 0;
}

.cart-item-remove {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b6b70;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.cart-item-remove:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.cart-item-desc {
    font-size: 13px;
    color: #6b6b70;
    line-height: 1.5;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty label {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
}

.cart-item-qty input {
    width: 56px;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 7px 8px;
    font-size: 13.5px;
    font-family: inherit;
    color: #232428;
    text-align: center;
}

.cart-item-qty input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.cart-item-qty button {
    border: 1.5px solid #ececec;
    background: #fff;
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #232428;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cart-item-qty button:hover {
    border-color: #e74c3c;
    background: #fdece4;
    color: #c0392b;
}

.cart-item-price {
    text-align: right;
    white-space: nowrap;
}

.cart-item-price-old {
    display: block;
    font-size: 12px;
    color: #6b6b70;
    text-decoration: line-through;
}

.cart-item-price-final {
    font-size: 16px;
    font-weight: 800;
    color: #232428;
}

/* Resumen del pedido: reutilizado en carrito, checkout y resumen de pago */
.checkout-summary {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 24px;
}

.checkout-summary h2 {
    font-size: 16px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 16px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

.checkout-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-summary-item-media {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #f6f6f7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.checkout-summary-item-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-summary-item-info {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #4a4a4f;
}

.checkout-summary-item-info strong {
    display: block;
    color: #232428;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-summary-item-price {
    flex-shrink: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #232428;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #4a4a4f;
    margin-bottom: 10px;
}

.checkout-summary-row-muted {
    color: #6b6b70;
}

.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 17px;
    font-weight: 800;
    color: #232428;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid #ececec;
}

.checkout-summary-fineprint {
    margin: 10px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b6b70;
}

.checkout-summary-fineprint i {
    margin-right: 5px;
    color: #4a4a4f;
}

.checkout-summary-fineprint strong {
    color: #4a4a4f;
}

.checkout-summary-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    margin-top: 18px;
    transition: background-color 0.18s ease;
    box-sizing: border-box;
}

.checkout-summary-cta:hover {
    background: #c0392b;
    color: #fff;
}

.checkout-summary-cta-inline {
    display: inline-block;
    width: auto;
    margin-top: 0;
    padding-left: 28px;
    padding-right: 28px;
}

.checkout-coupon {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    position: relative;
}

.checkout-coupon input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    background: #f6f6f7;
    color: #6b6b70;
}

.checkout-coupon button {
    border: 1.5px solid #ececec;
    background: #f6f6f7;
    color: #6b6b70;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
}

.checkout-coupon-badge {
    position: absolute;
    top: -10px;
    right: 8px;
    background: #fdece4;
    color: #c0392b;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 8px;
    border-radius: 5px;
}

/* Formulario de checkout (direcciones) */
.checkout-form-section {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
}

.profile-form-section-narrow {
    max-width: 720px;
}

.checkout-form-section h2 {
    font-size: 15px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 18px;
}

.checkout-contact-email {
    font-size: 14px;
    color: #4a4a4f;
    margin: 0;
}

.checkout-form-row {
    margin-bottom: 16px;
}

.checkout-form-row:last-child {
    margin-bottom: 0;
}

.checkout-form-row label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
    margin-bottom: 8px;
}

.checkout-form-row select,
.checkout-form-row input {
    width: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 11px 12px;
    font-size: 14px;
    font-family: inherit;
    color: #232428;
    background: #fdfdfd;
    box-sizing: border-box;
}

.checkout-form-row select:focus,
.checkout-form-row input:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

.checkout-form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.checkout-form-row-group .checkout-form-row {
    margin-bottom: 0;
}

.checkout-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #4a4a4f;
    margin-bottom: 18px;
    cursor: pointer;
}

.checkout-checkbox input {
    accent-color: #e74c3c;
}

.checkout-payment-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fdece4;
    border: 1px solid #f8d3c2;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 18px 0;
}

.checkout-payment-note i {
    color: #e74c3c;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkout-payment-note p {
    margin: 0;
    font-size: 13px;
    color: #6b4a3d;
    line-height: 1.6;
}

/* Aviso de exclusión del derecho de desistimiento (art. 103.c TRLGDCU) */
.checkout-desistimiento-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff8e1;
    border: 1px solid #f0d98a;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 4px 0 16px;
}

.checkout-desistimiento-note i {
    color: #b8860b;
    margin-top: 2px;
    flex-shrink: 0;
}

.checkout-desistimiento-note p {
    margin: 0;
    font-size: 12.5px;
    color: #6a5a2b;
    line-height: 1.6;
}

.checkout-desistimiento-note a {
    color: #6a5a2b;
    text-decoration: underline;
}

.checkout-desistimiento-check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 12.5px;
    line-height: 1.5;
    color: #4a4a4f;
    margin-bottom: 4px;
}

.checkout-desistimiento-check input {
    margin-top: 2px;
    flex-shrink: 0;
}

/* Pantalla de éxito */
.checkout-success-hero {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 0 48px;
}

.checkout-success-badge {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #fdece4 0%, #fff 72%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-success-badge img {
    max-width: 140px;
}

.checkout-success-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eafaf1;
    color: #1f7a4d;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.checkout-success-hero h1 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #232428;
    margin: 0 0 12px;
}

.checkout-success-hero p {
    font-size: 14.5px;
    color: #6b6b70;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto;
}

.checkout-success-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.checkout-success-secondary {
    display: block;
    text-align: center;
    padding: 13px 20px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1.5px solid #ececec;
    font-size: 14px;
    font-weight: 600;
    color: #232428;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.checkout-success-secondary:hover {
    border-color: #e74c3c;
    background: #fdece4;
    color: #c0392b;
}

.checkout-success-actions {
    text-align: center;
    padding: 0 0 24px;
}

@media (max-width: 900px) {
    .checkout-success-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .checkout-layout,
    .checkout-layout-single {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-media {
        width: 100%;
        height: 160px;
    }

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

/* Área de usuario / perfil */
.profile-greeting {
    font-size: 13.5px;
    color: #6b6b70;
    margin: 0 0 24px;
}

.profile-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.profile-nav-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 32px 20px;
    text-decoration: none;
    color: #232428;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.profile-nav-tile:hover {
    border-color: #e74c3c;
    box-shadow: 0 12px 28px rgba(20, 15, 15, 0.08);
    transform: translateY(-2px);
    color: #232428;
}

.profile-nav-tile i {
    font-size: 30px;
    color: #e74c3c;
}

.profile-nav-tile span {
    font-size: 14.5px;
    font-weight: 700;
}

.profile-logout {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #6b6b70;
    text-decoration: none;
}

.profile-logout:hover {
    color: #e74c3c;
}

.profile-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
}

.profile-alert-narrow {
    max-width: 640px;
}

.profile-alert-panel {
    max-width: 900px;
}

.profile-info-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 20px 22px;
}

.profile-info-row-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fdece4;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.profile-info-row-body {
    flex: 1;
    min-width: 0;
}

.profile-info-row-label {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b6b70;
    margin-bottom: 3px;
}

.profile-info-row-value {
    font-size: 14.5px;
    font-weight: 600;
    color: #232428;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-info-row-edit {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b6b70;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.profile-info-row-edit:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.profile-danger-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 12.5px;
    font-weight: 600;
    color: #6b6b70;
    text-decoration: none;
}

.profile-danger-link:hover {
    color: #c0392b;
}

/* Formularios de cuenta (cambiar usuario/email/contraseña) */
.profile-form-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
    max-width: 900px;
}

.profile-form-panel-image img {
    width: 100%;
    border-radius: 10px;
}

.profile-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.profile-form-cancel {
    font-size: 13.5px;
    color: #6b6b70;
    text-decoration: none;
}

.profile-form-cancel:hover {
    color: #e74c3c;
}

.profile-form-hint {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f6f6f7;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.profile-form-hint i {
    color: #6b6b70;
    margin-top: 2px;
    flex-shrink: 0;
}

.profile-form-hint p {
    margin: 0;
    font-size: 12.5px;
    color: #6b6b70;
    line-height: 1.5;
}

.profile-resend-note {
    font-size: 12.5px;
    color: #6b6b70;
    margin-top: 14px;
}

.profile-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: #e74c3c;
    cursor: pointer;
    margin-top: 14px;
}

.profile-resend-btn:hover {
    text-decoration: underline;
}

/* Direcciones */
.profile-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.profile-address-group h2 {
    font-size: 16px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 16px;
}

.profile-address-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}

.profile-address-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 18px 20px;
}

.profile-address-card strong {
    display: block;
    font-size: 14.5px;
    color: #232428;
    margin-bottom: 4px;
}

.profile-address-card p {
    margin: 0;
    font-size: 13px;
    color: #6b6b70;
    line-height: 1.6;
}

.profile-address-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.profile-address-actions a,
.profile-address-actions button {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.profile-address-edit {
    color: #232428;
}

.profile-address-edit:hover {
    color: #e74c3c;
}

.profile-address-delete {
    color: #c0392b;
}

.profile-address-delete:hover {
    text-decoration: underline;
}

.profile-address-empty {
    font-size: 13.5px;
    color: #6b6b70;
    margin-bottom: 18px;
}

.profile-address-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 18px;
    border: 1.5px solid #ececec;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #232428;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.profile-address-add:hover {
    border-color: #e74c3c;
    background: #fdece4;
    color: #c0392b;
}

/* Modal de confirmación genérico (sustituye a confirm() nativo del navegador) */
.confirm-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(35, 36, 40, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.confirm-modal-overlay.is-open {
    display: flex;
}

.confirm-modal {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.confirm-modal-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fdece4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #e74c3c;
}

.confirm-modal-message {
    font-size: 14.5px;
    color: #232428;
    line-height: 1.5;
    margin: 0 0 24px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
}

.confirm-modal-actions button {
    flex: 1;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.confirm-modal-btn-cancel {
    background: #fff;
    border: 1.5px solid #ececec;
    color: #232428;
}

.confirm-modal-btn-cancel:hover {
    border-color: #cfcfcf;
}

.confirm-modal-btn-danger {
    background: #c0392b;
    border: 1.5px solid #c0392b;
    color: #fff;
}

.confirm-modal-btn-danger:hover {
    background: #a5301f;
    border-color: #a5301f;
}

/* Pedidos */
.profile-orders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-order-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 20px 22px;
}

.profile-order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.profile-order-number {
    font-size: 14.5px;
    font-weight: 800;
    color: #232428;
    margin: 0 0 4px;
}

.profile-order-date {
    font-size: 12.5px;
    color: #6b6b70;
    margin: 0;
}

.profile-order-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    background: #f6f6f7;
    color: #6b6b70;
}

.profile-order-status-paid,
.profile-order-status-shipped,
.profile-order-status-completed {
    background: #eafaf1;
    color: #1f7a4d;
}

.profile-order-status-pending {
    background: #fdf3e3;
    color: #a9720f;
}

.profile-order-status-cancelled {
    background: #fdece4;
    color: #c0392b;
}

.profile-order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

.profile-order-total {
    font-size: 15px;
    font-weight: 800;
    color: #232428;
}

.profile-order-view {
    font-size: 13px;
    font-weight: 700;
    color: #e74c3c;
    text-decoration: none;
}

.profile-order-view:hover {
    text-decoration: underline;
}

/* Detalle de pedido */
.profile-order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.profile-order-detail-head p {
    margin: 4px 0 0;
    font-size: 13.5px;
    color: #6b6b70;
}

.profile-order-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 18px;
}

.profile-order-item-info strong {
    display: block;
    font-size: 14px;
    color: #232428;
}

.profile-order-item-info span {
    font-size: 12.5px;
    color: #6b6b70;
}

.profile-order-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #232428;
    white-space: nowrap;
}

.profile-order-total-box {
    max-width: 360px;
    margin-left: auto;
}

@media (max-width: 900px) {
    .profile-nav-grid {
        grid-template-columns: 1fr;
    }

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

    .profile-form-panel-image {
        display: none;
    }

    .profile-address-grid,
    .profile-orders-grid {
        grid-template-columns: 1fr;
    }

    .profile-order-detail-head {
        flex-direction: column;
    }
}

/* Páginas de error (404 / 500) */

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 64px 0;
    background-color: #fafafa;
}

.error-page-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.error-page-illustration {
    width: 260px;
    max-width: 80%;
    height: auto;
    margin: 0 auto 24px;
}

.error-page-code {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e74c3c;
    margin-bottom: 8px;
}

.error-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #1c1d21;
    margin-bottom: 16px;
}

.error-page-text {
    font-size: 15.5px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 28px;
}

.error-page-debug {
    text-align: left;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: #777;
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 28px;
}

.error-page-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.error-page-btn-primary {
    background-color: #e74c3c;
    color: #fff;
}

.error-page-btn-outline {
    border: 1px solid #d5d5d5;
    color: #1c1d21;
}

@media (max-width: 560px) {
    .error-page-title {
        font-size: 26px;
    }
}

/* Header estático y mínimo para la página de error 500, sin depender de sesión/carrito/auth */

.error-page-header {
    padding: 14px 0;
}

.error-page-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
