*{
    box-sizing: border-box;
}

body{
    margin: 0;
    padding: 0;
    background-color: #111827;
    font-family: Arial, sans-serif;
    color: rgb(108, 113, 187);
}

/* NAVBAR */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #020617;
    padding: 20px 40px;
    position: relative;
}

.logo{
    font-size: 28px;
    font-weight: bold;
    color: #f59e0b;
}

.menu{
    display: flex;
}

.menu a{
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
}

.menu a:hover{
    color: #f59e0b;
}

.hamburger{
    display: none;
    font-size: 32px;
    cursor: pointer;
}

/* HERO */

.hero{
    text-align: center;
    padding: 120px 20px;
}

.hero h1{
    color: #f59e0b;
    font-size: 60px;
}

.hero p{
    font-size: 22px;
    margin-bottom: 35px;
}

/* BOTONES */

.btn-primary{
    background-color: #f59e0b;
    color: #111827;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary:hover{
    background-color: #d97706;
}

.btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 14px;
    line-height: 1;
}

.btn-edit{
    background-color: #2563eb;
    color: white;
}

.btn-edit:hover{
    background-color: #1d4ed8;
}

.btn-delete{
    background-color: #dc2626;
    color: white;
}

.btn-delete:hover{
    background-color: #b91c1c;
}

.btn-back{
    background-color: #374151;
    color: white;
}

.btn-back:hover{
    background-color: #1f2937;
}

/* CATÁLOGO */

.catalog-container{
    padding: 50px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-title{
    text-align: center;
    font-size: 42px;
    margin-bottom: 10px;
    color: #ffffff;
}

.catalog-subtitle{
    text-align: center;
    color: #cbd5e1;
    margin-bottom: 40px;
    font-size: 18px;
}

.catalog-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card{
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.product-image{
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

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

.product-info{
    padding: 22px;
}

.product-badge{
    display: inline-block;
    background: #ffedd5;
    color: #c2410c;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 12px;
}

.product-info h2{
    color: #111827;
    font-size: 22px;
    margin-bottom: 8px;
}

.product-model{
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.product-description{
    color: #334155;
    font-size: 15px;
    line-height: 1.5;
    min-height: 45px;
    margin-bottom: 18px;
}

.product-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.product-price,
.price{
    color: #dc2626;
    font-size: 24px;
    font-weight: bold;
}

.product-stock{
    color: #16a34a;
    font-size: 14px;
    font-weight: bold;
}

.product-button{
    display: block;
    width: 100%;
    border: none;
    background: #ff6600;
    color: white;
    padding: 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.product-button:hover{
    background: #e65c00;
}

.empty-message{
    color: white;
    text-align: center;
    grid-column: 1 / -1;
}

/* DETALLE */

.detail-container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.detail-card{
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.detail-image{
    background: #f1f5f9;
    min-height: 450px;
}


.detail-info{
    padding: 45px;
}

.detail-info h1{
    color: #111827;
    font-size: 42px;
    margin: 15px 0 10px;
}

.detail-model{
    color: #64748b;
    font-size: 17px;
    margin-bottom: 25px;
}

.detail-description{
    color: #334155;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.detail-price{
    color: #dc2626;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 12px;
}

.detail-stock{
    color: #16a34a;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 30px;
}

.detail-actions{
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

.detail-actions form{
    margin: 0;
}

/* FORMULARIOS */

.form-container{
    max-width: 750px;
    margin: 40px auto;
    padding: 20px;
}

.form-card{
    background: white;
    color: #111827;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,.10);
}

.form-card h1{
    margin-bottom: 25px;
    color: #111827;
    font-size: 28px;
}

.form-group{
    margin-bottom: 20px;
    color:#020617
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #374151;
}

.form-group input,
.form-group textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.error,
.error-message{
    margin-top: 6px;
    color: #dc2626;
    font-size: 14px;
}

.form-actions{
    display: flex;
    gap: 15px;
    margin-top: 25px;
    align-items: center;
}

/* ALERTAS */

.alert-success,
.flash-message{
    max-width: 900px;
    margin: 20px auto;
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

/* RESPONSIVE TABLET / MÓVIL */

@media(max-width: 768px){

    .navbar{
        padding: 18px 22px;
    }

    .logo{
        font-size: 22px;
    }

    .hamburger{
        display: block;
    }

    .menu{
        display: none;
        flex-direction: column;
        background-color: #020617;
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        padding: 20px;
        z-index: 20;
    }

    .menu.active{
        display: flex;
    }

    .menu a{
        margin: 10px 0;
    }

    .hero{
        padding: 80px 20px;
    }

    .hero h1{
        font-size: 42px;
    }

    .catalog-container{
        padding: 32px 16px;
    }

    .catalog-title{
        font-size: 34px;
    }

    .catalog-subtitle{
        font-size: 15px;
    }

    .catalog-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
        margin: 0 auto;
    }

    .product-card{
        border-radius: 14px;
    }

    .product-card:hover{
        transform: none;
    }

    .product-image{
        height: 140px;
    }

    .product-info{
        padding: 12px;
    }

    .product-badge{
        font-size: 11px;
        padding: 5px 9px;
        margin-bottom: 8px;
    }

    .product-info h2{
        font-size: 16px;
        margin-bottom: 6px;
    }

    .product-model{
        font-size: 12px;
        margin-bottom: 8px;
    }

    .product-description{
        font-size: 13px;
        line-height: 1.4;
        min-height: auto;
        margin-bottom: 12px;
    }

    .product-footer{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 12px;
    }

    .product-price,
    .price{
        font-size: 18px;
    }

    .product-stock{
        font-size: 12px;
    }

    .product-button{
        padding: 10px;
        border-radius: 10px;
        font-size: 13px;
    }

    .detail-container{
        padding: 24px 16px;
    }

    .detail-card{
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        border-radius: 20px;
    }

    .detail-image{
        min-height: 0;
        height: 210px;
    }

    .detail-image img{
        height: 100%;
        object-fit: contain;
    }

    .detail-info{
        padding: 24px 22px 26px;
        text-align: center;
    }

    .detail-info h1{
        font-size: 26px;
    }

    .detail-model{
        font-size: 14px;
        margin-bottom: 16px;
    }

    .detail-description{
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .detail-price{
        font-size: 26px;
    }

    .detail-stock{
        font-size: 14px;
        margin-bottom: 22px;
    }

    .detail-actions{
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
    }

    .detail-actions form{
        width: 100%;
    }

    .detail-actions .btn{
        width: 100%;
        max-width: 280px;
        min-height: 44px;
    }

    .form-container{
        margin: 20px auto;
        padding: 15px;
    }

    .form-card{
        padding: 22px;
    }

    .form-card h1{
        font-size: 24px;
        text-align: center;
    }

    .form-actions{
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn{
        width: 100%;
    }
}

/* MÓVILES MUY ANGOSTOS */

@media(max-width: 420px){

    .catalog-container{
        padding: 28px 12px;
    }

    .catalog-title{
        font-size: 28px;
    }

    .catalog-subtitle{
        font-size: 14px;
        margin-bottom: 26px;
    }

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

    .product-image{
        height: 125px;
    }

    .product-info{
        padding: 10px;
    }

    .product-badge{
        font-size: 10px;
        padding: 4px 8px;
    }

    .product-info h2{
        font-size: 14px;
    }

    .product-model,
    .product-description,
    .product-stock{
        font-size: 11px;
    }

    .product-price,
    .price{
        font-size: 16px;
    }

    .product-button{
        font-size: 12px;
        padding: 9px;
    }

    .detail-container{
        padding: 18px 18px;
    }

    .detail-card{
        max-width: 100%;
    }

    .detail-info{
        padding: 24px 20px 28px;
    }

    .detail-actions .btn{
        max-width: 240px;
    }
}

@media(max-width: 340px){

    .catalog-grid{
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .product-image{
        height: 160px;
    }
}

.detail-image > img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 16px;
    background-color: #f3f4f6;
}

.image-gallery {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    background-color: #f3f4f6;
    border: 2px solid #e5e7eb;
}

/* =========================
   DASHBOARD
========================= */

.dashboard-container{
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.dashboard-container h1{
    color: #f59e0b;
    font-size: 40px;
    margin-bottom: 10px;
}

.dashboard-subtitle{
    color: #cbd5e1;
    margin-bottom: 35px;
}

.dashboard-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card{
    background-color: #1f2937;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: 0.3s;
}

.dashboard-card:hover{
    transform: translateY(-5px);
}

.dashboard-card h2{
    font-size: 48px;
    color: #f59e0b;
    margin: 0;
}

.dashboard-card p{
    margin-top: 10px;
    color: #e5e7eb;
    font-size: 16px;
}

.dashboard-section{
    background-color: #1f2937;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.dashboard-section h2{
    color: #f59e0b;
    margin-bottom: 20px;
}

.dashboard-table{
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th{
    background-color: #111827;
    color: #f59e0b;
    padding: 15px;
    text-align: left;
}

.dashboard-table td{
    padding: 15px;
    border-top: 1px solid #374151;
    color: #e5e7eb;
}

.dashboard-table tr:hover{
    background-color: #374151;
}

/* RESPONSIVE DASHBOARD */

@media(max-width:768px){

    .dashboard-cards{
        grid-template-columns: 1fr;
    }

    .dashboard-container h1{
        font-size: 30px;
        text-align: center;
    }

    .dashboard-subtitle{
        text-align: center;
    }

    .dashboard-section{
        overflow-x: auto;
    }
}

.form-card h1,
.form-card h2,
.form-card h3,
.form-card p,
.form-card strong,
.form-card label,
.form-card span {
    color: #111827;
}


.catalog-title {
    color: #111827 !important;
}

.catalog-subtitle {
    color: #374151 !important;
}

/* =========================
   CATÁLOGO MEJORADO
========================= */

.catalog-container{
    padding-top: 35px;
}

.catalog-hero{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, #020617, #111827, #1f2937);
    border-radius: 24px;
    padding: 45px;
    margin-bottom: 35px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
    overflow: hidden;
}

.catalog-hero-content h1{
    color: #f59e0b;
    font-size: 48px;
    margin: 12px 0;
}

.catalog-hero-content p{
    color: #e5e7eb;
    font-size: 18px;
    line-height: 1.6;
    max-width: 520px;
}

.hero-badge{
    display: inline-block;
    background: #ffedd5;
    color: #c2410c;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
}

.hero-actions{
    display: flex;
    gap: 14px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-secondary{
    background-color: #374151;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-secondary:hover{
    background-color: #1f2937;
}

.catalog-carousel{
    height: 280px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 35px rgba(0,0,0,0.35);
}

.carousel-track{
    display: flex;
    width: 300%;
    height: 100%;
    animation: catalogSlide 12s infinite;
}

.carousel-slide{
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 25px;
    background-size: cover;
    background-position: center;
}

.carousel-slide span{
    background: rgba(2, 6, 23, 0.78);
    color: white;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: bold;
}

.slide-one{
    background: linear-gradient(135deg, #f59e0b, #dc2626);
}

.slide-two{
    background: linear-gradient(135deg, #2563eb, #9333ea);
}

.slide-three{
    background: linear-gradient(135deg, #16a34a, #0f766e);
}

@keyframes catalogSlide{
    0%{
        transform: translateX(0);
    }

    30%{
        transform: translateX(0);
    }

    35%{
        transform: translateX(-100%);
    }

    65%{
        transform: translateX(-100%);
    }

    70%{
        transform: translateX(-200%);
    }

    95%{
        transform: translateX(-200%);
    }

    100%{
        transform: translateX(0);
    }
}

.catalog-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.catalog-header h2{
    color: #111827;
    font-size: 30px;
    margin-bottom: 6px;
}

.catalog-header p{
    color: #64748b;
    margin: 0;
}

.catalog-filter-bar{
    background: #ffffff;
    color: #111827;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    display: grid;
    grid-template-columns: repeat(5, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.filter-field label{
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #374151;
    margin-bottom: 6px;
}

.filter-field select,
.filter-field input{
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0 12px;
    outline: none;
    font-size: 14px;
}

.filter-field select:focus,
.filter-field input:focus{
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.filter-actions{
    display: flex;
    gap: 8px;
}

.filter-btn-apply,
.filter-btn-clear{
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: none;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn-apply{
    background: #f59e0b;
    color: #111827;
}

.filter-btn-apply:hover{
    background: #d97706;
}

.filter-btn-clear{
    background: #e5e7eb;
    color: #111827;
}

.filter-btn-clear:hover{
    background: #d1d5db;
}

/* RESPONSIVE CATÁLOGO MEJORADO */

@media(max-width: 900px){

    .catalog-hero{
        grid-template-columns: 1fr;
        padding: 32px;
    }

    .catalog-carousel{
        height: 220px;
    }

    .catalog-filter-bar{
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-actions{
        grid-column: 1 / -1;
    }

    .filter-btn-apply,
    .filter-btn-clear{
        width: 100%;
    }
}

@media(max-width: 520px){

    .catalog-hero{
        padding: 26px 20px;
        border-radius: 18px;
    }

    .catalog-hero-content h1{
        font-size: 34px;
    }

    .catalog-hero-content p{
        font-size: 15px;
    }

    .catalog-carousel{
        height: 170px;
    }

    .catalog-filter-bar{
        grid-template-columns: 1fr;
        padding: 16px;
    }

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

    .catalog-header h2{
        font-size: 24px;
    }
}

.nav-logout-form{
    display: inline;
}

.nav-logout-button{
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-left: 25px;
    font-weight: bold;
}

.nav-logout-button:hover{
    color: #f59e0b;
}

@media(max-width: 768px){

    .nav-logout-form{
        width: 100%;
    }

    .nav-logout-button{
        margin-left: 0;
        padding: 10px 0;
        text-align: left;
    }
}


.carousel-track{
    width: 100%;
}


/* =========================
   FILTROS MÓVIL COLAPSABLES
========================= */

.mobile-filter-toggle{
    display: none;
}

@media(max-width: 768px){

    .mobile-filter-toggle{
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        background: #f59e0b;
        color: #111827;
        border: none;
        border-radius: 12px;
        padding: 13px 18px;
        font-weight: bold;
        font-size: 15px;
        margin-bottom: 16px;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(0,0,0,0.20);
    }

    .catalog-filter-bar{
        display: none;
    }

    .catalog-filter-bar.filters-open{
        display: grid;
        grid-template-columns: 1fr;
        animation: showFilters 0.25s ease;
    }

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

    .filter-btn-apply,
    .filter-btn-clear{
        width: 100%;
    }
}

@keyframes showFilters{
    from{
        opacity: 0;
        transform: translateY(-8px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* Corrección carrusel dinámico */

.carousel-track{
    width: 100%;
}


/* =========================
   MEJORAS USUARIO
========================= */

.page-top-actions{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 22px;
    gap: 12px;
    flex-wrap: wrap;
}

.order-summary-card{
    margin-top: 30px;
    text-align: center;
}

.cart-quantity-actions{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.cart-quantity-actions strong{
    color: #111827;
}

.help-text{
    font-size: 14px;
    margin-top: 8px;
    color: #374151;
}

/* PERFIL */

.profile-container{
    max-width: 850px;
}

.profile-card{
    margin-bottom: 28px;
}

.profile-card h2{
    color: #111827;
    margin-bottom: 10px;
}

.profile-help{
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Ajustes para componentes de Breeze dentro del diseño propio */

.profile-card form{
    margin-top: 15px;
}

.profile-card label{
    color: #374151;
    font-weight: bold;
}

.profile-card input{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.profile-card input:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.profile-card button{
    margin-top: 10px;
}

/* PEDIDOS */

.orders-filter-card{
    margin-bottom: 30px;
}

.orders-filter-card h2{
    color: #111827;
    margin-bottom: 20px;
}

.orders-filter-form{
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 16px;
    align-items: end;
}

.orders-filter-form select,
.orders-filter-form input{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.orders-filter-form select:focus,
.orders-filter-form input:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.orders-filter-actions{
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.order-card{
    margin-bottom: 30px;
}

.order-card-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 15px;
}

.order-card-header h2{
    margin-bottom: 5px;
}

.order-status{
    display: inline-block;
    background: #ffedd5;
    color: #c2410c !important;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: bold;
    white-space: nowrap;
}

.order-item-summary{
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.order-item-summary p{
    margin: 6px 0;
}

/* Responsive mejoras usuario */

@media(max-width: 768px){

    .page-top-actions{
        justify-content: center;
    }

    .page-top-actions .btn{
        width: 100%;
        max-width: 320px;
    }

    .cart-quantity-actions{
        justify-content: center;
    }

    .order-summary-card{
        text-align: center;
    }

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

    .orders-filter-actions{
        flex-direction: column;
    }

    .orders-filter-actions .btn{
        width: 100%;
    }

    .order-card-header{
        flex-direction: column;
        align-items: flex-start;
    }

    .order-status{
        width: 100%;
        text-align: center;
    }
}



/* =========================
   DASHBOARD ADMIN PRO
========================= */

.dashboard-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-header-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-icon{
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
}

.dashboard-card.danger-card h2{
    color: #ef4444;
}

.dashboard-card.warning-card h2{
    color: #f59e0b;
}

.dashboard-alerts{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.dashboard-alert{
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 15px 18px;
    font-weight: bold;
}

.dashboard-alert-danger{
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.dashboard-alert-warning{
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.dashboard-grid-two{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.status-pill{
    display: inline-block;
    background: #e0f2fe;
    color: #075985;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.btn-small{
    padding: 8px 12px;
    font-size: 12px;
}

@media(max-width: 1100px){

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

    .dashboard-grid-two{
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px){

    .dashboard-header{
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .dashboard-header-actions{
        flex-direction: column;
    }

    .dashboard-header-actions .btn{
        width: 100%;
    }

    .dashboard-cards{
        grid-template-columns: 1fr;
    }

    .dashboard-table{
        min-width: 700px;
    }

    .dashboard-section{
        overflow-x: auto;
    }
}

/* =========================
   ADMIN LAVADA DE CARA
   Registrar Hot Wheel + Pedidos
========================= */

.admin-page-container{
    max-width: 1250px;
    margin: 35px auto;
    padding: 20px;
}

.admin-page-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #020617, #111827, #1f2937);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.admin-page-header h1{
    color: #f59e0b;
    font-size: 40px;
    margin: 10px 0 8px;
}

.admin-page-header p{
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.admin-page-badge{
    display: inline-block;
    background: #ffedd5;
    color: #c2410c;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

/* FORM ADMIN */

.admin-form-shell{
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: start;
}

.admin-form-side-card,
.admin-form-card,
.admin-table-card,
.admin-detail-card,
.admin-empty-state{
    background: #ffffff;
    color: #111827;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}

.admin-form-side-card{
    position: sticky;
    top: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid #e5e7eb;
}

.admin-form-icon{
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: #ffedd5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    margin-bottom: 18px;
}

.admin-form-side-card h2,
.admin-form-card h2,
.admin-table-card h2,
.admin-detail-card h2{
    color: #111827;
    margin: 0 0 10px;
}

.admin-form-side-card p,
.admin-section-title p,
.admin-table-header p,
.admin-detail-card-header p{
    color: #64748b;
    line-height: 1.6;
}

.admin-tips{
    margin-top: 22px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
}

.admin-tips p{
    margin: 8px 0;
    color: #334155;
    font-weight: 600;
}

.admin-section-title{
    border-left: 5px solid #f59e0b;
    padding-left: 14px;
    margin: 10px 0 22px;
}

.admin-section-title h2{
    margin-bottom: 4px;
}

.admin-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.admin-form-grid.two-columns{
    grid-template-columns: repeat(2, 1fr);
}

.admin-upload-box{
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 18px;
    padding: 22px;
    position: relative;
    transition: 0.3s ease;
}

.admin-upload-box:hover{
    border-color: #f59e0b;
    background: #fff7ed;
}

.admin-upload-box input{
    width: 100%;
    cursor: pointer;
}

.admin-upload-content{
    margin-top: 12px;
    text-align: center;
}

.admin-upload-content span{
    font-size: 34px;
    display: block;
    margin-bottom: 8px;
}

.admin-upload-content strong{
    display: block;
    color: #111827;
}

.admin-upload-content small{
    display: block;
    color: #64748b;
    margin-top: 5px;
}

.admin-file-message{
    color: #2563eb;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
}

.admin-file-error{
    color: #dc2626;
}

.admin-form-actions{
    display: flex;
    gap: 14px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}

/* PEDIDOS ADMIN INDEX */

.admin-orders-summary{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 26px;
}

.admin-mini-card{
    background: #ffffff;
    color: #111827;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.admin-mini-card span{
    width: 54px;
    height: 54px;
    background: #ffedd5;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

.admin-mini-card strong{
    font-size: 30px;
    color: #111827;
}

.admin-mini-card p{
    margin: 3px 0 0;
    color: #64748b;
    font-weight: bold;
}

.admin-table-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-table-responsive{
    width: 100%;
    overflow-x: auto;
}

.admin-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.admin-table th{
    background: #111827;
    color: #f59e0b;
    padding: 15px;
    text-align: left;
    font-size: 14px;
}

.admin-table td{
    padding: 16px 15px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    vertical-align: middle;
}

.admin-table tr:hover{
    background: #f8fafc;
}

/* BADGES ESTADO */

.admin-status-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    background: #e0f2fe;
    color: #075985;
}

.status-pago-en-revision{
    background: #fef3c7;
    color: #92400e;
}

.status-pagado{
    background: #dcfce7;
    color: #166534;
}

.status-preparando-pedido{
    background: #dbeafe;
    color: #1e40af;
}

.status-enviado{
    background: #ede9fe;
    color: #5b21b6;
}

.status-entregado{
    background: #dcfce7;
    color: #166534;
}

.status-cancelado{
    background: #fee2e2;
    color: #991b1b;
}

/* DETALLE PEDIDO */

.admin-order-layout{
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: start;
}

.admin-order-main{
    display: grid;
    gap: 24px;
}

.admin-order-side{
    min-width: 0;
}

.sticky-card{
    position: sticky;
    top: 20px;
}

.admin-detail-card-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.admin-info-grid div,
.admin-address-box{
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 15px;
}

.admin-info-grid span,
.admin-address-box span,
.admin-total-box span{
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.admin-info-grid strong,
.admin-address-box p{
    color: #111827;
    margin: 0;
}

.admin-products-list{
    display: grid;
    gap: 14px;
}

.admin-product-row{
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
}

.admin-product-icon{
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #ffedd5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.admin-product-info strong{
    display: block;
    color: #111827;
    margin-bottom: 6px;
}

.admin-product-info span,
.admin-product-money span{
    color: #64748b;
    font-size: 14px;
}

.admin-product-money{
    text-align: right;
}

.admin-product-money strong{
    display: block;
    color: #dc2626;
    font-size: 18px;
    margin-top: 5px;
}

.admin-total-box{
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 18px;
    padding: 22px;
    margin: 18px 0;
}

.admin-total-box span{
    color: #cbd5e1;
}

.admin-total-box strong{
    color: #f59e0b;
    font-size: 34px;
}

.admin-proof-box{
    display: flex;
    gap: 14px;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.admin-proof-box span{
    font-size: 26px;
}

.admin-proof-box strong{
    display: block;
    margin-bottom: 5px;
}

.admin-proof-box p{
    margin: 0;
    font-size: 14px;
}

.admin-proof-box.success{
    background: #dcfce7;
    color: #166534;
}

.admin-proof-box.danger{
    background: #fee2e2;
    color: #991b1b;
}

.full-width{
    width: 100%;
}

.admin-detail-card select{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}

.admin-detail-card select:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.admin-empty-state{
    text-align: center;
    padding: 50px 25px;
}

.admin-empty-state div{
    font-size: 54px;
    margin-bottom: 12px;
}

.admin-empty-state h2{
    color: #111827;
}

.admin-empty-state p{
    color: #64748b;
}

/* RESPONSIVE ADMIN LAVADA DE CARA */

@media(max-width: 1000px){

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

    .admin-form-side-card,
    .sticky-card{
        position: static;
    }

    .admin-order-layout{
        grid-template-columns: 1fr;
    }

    .admin-orders-summary{
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px){

    .admin-page-container{
        padding: 14px;
        margin: 20px auto;
    }

    .admin-page-header{
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 26px 20px;
    }

    .admin-page-header h1{
        font-size: 30px;
    }

    .admin-page-header .btn{
        width: 100%;
    }

    .admin-form-grid,
    .admin-form-grid.two-columns,
    .admin-info-grid{
        grid-template-columns: 1fr;
    }

    .admin-form-actions{
        flex-direction: column;
    }

    .admin-form-actions .btn{
        width: 100%;
    }

    .admin-detail-card-header{
        flex-direction: column;
    }

    .admin-status-badge{
        width: 100%;
    }

    .admin-product-row{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .admin-product-icon{
        margin: 0 auto;
    }

    .admin-product-money{
        text-align: center;
    }
}

/* =========================
   BSGDIECAST - SKU / FOOTER / WHATSAPP
========================= */

.product-sku,
.detail-sku{
    display: inline-block;
    background: #e0f2fe;
    color: #075985 !important;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin: 4px 0 12px;
}

.detail-sku{
    font-size: 14px;
    margin-bottom: 18px;
}

.site-footer{
    background: #020617;
    color: #e5e7eb;
    padding: 42px 24px 18px;
    margin-top: 50px;
    border-top: 1px solid #1f2937;
}

.site-footer-content{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 30px;
}

.site-footer h2{
    color: #f59e0b;
    font-size: 30px;
    margin: 0 0 12px;
}

.site-footer h3{
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 18px;
}

.site-footer p{
    color: #cbd5e1;
    line-height: 1.6;
    margin: 8px 0;
}

.site-footer a{
    color: #f59e0b;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover{
    color: #fbbf24;
}

.footer-social{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social h3{
    margin-bottom: 4px;
}

.site-footer-bottom{
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

.floating-whatsapp{
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    background: #22c55e;
    color: white;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    z-index: 999;
    transition: transform 0.25s ease, background 0.25s ease;
}

.floating-whatsapp:hover{
    transform: translateY(-4px) scale(1.05);
    background: #16a34a;
}

/* Responsive footer */

@media(max-width: 768px){

    .site-footer{
        padding: 34px 18px 18px;
        text-align: center;
    }

    .site-footer-content{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-social{
        align-items: center;
    }

    .floating-whatsapp{
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}


.logo{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-image{
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo span{
    font-size: 28px;
    font-weight: bold;
    color: #f59e0b;
}


/* =========================
   GALERÍA DETALLE PRODUCTO
========================= */

.main-product-image{
    width: 100%;
    height: 380px !important;
    object-fit: contain !important;
    background: #f3f4f6;
    border-radius: 18px;
    padding: 12px;
}

.image-gallery{
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 0 16px 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnail{
    width: 95px !important;
    height: 95px !important;
    object-fit: contain !important;
    border-radius: 14px;
    background: #ffffff;
    border: 3px solid #e5e7eb;
    padding: 6px;
    cursor: pointer;
    transition: 0.25s ease;
}

.gallery-thumbnail:hover,
.active-thumbnail{
    border-color: #f59e0b;
    transform: scale(1.06);
}

/* =========================
   BLOQUE SINPE
========================= */

.sinpe-box{
    background: linear-gradient(135deg, #ffedd5, #fef3c7);
    color: #111827;
    border: 2px solid #f59e0b;
    border-radius: 18px;
    padding: 18px 22px;
    margin: 18px 0 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.sinpe-box strong{
    display: block;
    font-size: 16px;
    color: #92400e;
    margin-bottom: 6px;
}

.sinpe-box span{
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    color: #dc2626;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sinpe-box p{
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.sinpe-detail{
    margin-top: 12px;
    margin-bottom: 24px;
}

@media(max-width: 768px){

    .main-product-image{
        height: 260px !important;
    }

    .gallery-thumbnail{
        width: 78px !important;
        height: 78px !important;
    }

    .sinpe-box{
        text-align: center;
        padding: 16px;
    }

    .sinpe-box span{
        font-size: 26px;
    }
}

/* FIX DETALLE PRODUCTO EN MÓVIL */
@media (max-width: 768px){

    .detail-container,
    .product-detail,
    .detail-card{
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .detail-card{
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }

    .detail-image,
    .detail-info,
    .product-images,
    .product-info{
        width: 100% !important;
        max-width: 100% !important;
    }

    .detail-info h1,
    .product-info h1{
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin-bottom: 12px !important;
        word-break: break-word !important;
    }

    .detail-info p,
    .product-info p,
    .detail-info span,
    .product-info span{
        max-width: 100% !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.5 !important;
    }

    .sku-badge,
    .product-sku{
        display: inline-block !important;
        margin: 8px 0 14px !important;
        max-width: 100% !important;
        white-space: normal !important;
    }

    .main-detail-image,
    .main-product-image,
    .detail-image img,
    .product-images img{
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .thumbnail-gallery,
    .thumbs,
    .gallery-thumbs{
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .quantity-actions,
    .cart-actions,
    .detail-actions{
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .sinpe-box,
    .sinpe-info,
    .payment-box,
    .payment-alert{
        width: 100% !important;
        box-sizing: border-box !important;
        margin: 20px 0 !important;
    }
}

/* FIX GALERÍA DETALLE EN MÓVIL */
@media (max-width: 768px){

    .main-image,
    .main-detail-image,
    .product-main-image,
    .detail-main-image{
        width: 100% !important;
        height: 180px !important;
        max-height: 180px !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .detail-image,
    .product-images,
    .image-gallery,
    .gallery-main{
        width: 100% !important;
        height: auto !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .thumbnail-gallery,
    .thumbs,
    .gallery-thumbs{
        margin-top: 14px !important;
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .thumbnail-gallery img,
    .thumbs img,
    .gallery-thumbs img{
        width: 58px !important;
        height: 58px !important;
        object-fit: contain !important;
    }
}

/* =========================
   CHECKOUT / CARRITO PRO
   Métodos de entrega + SINPE
========================= */

.checkout-wrapper{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: start;
    margin-top: 30px;
}

.checkout-card{
    background: #ffffff;
    color: #111827;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}

.checkout-card h2{
    color: #111827;
    margin: 0 0 10px;
    font-size: 26px;
}

.checkout-card p{
    color: #4b5563;
    line-height: 1.5;
}

.checkout-section-title{
    border-left: 5px solid #f59e0b;
    padding-left: 14px;
    margin: 10px 0 22px;
}

.checkout-section-title h2{
    margin-bottom: 4px;
}

.checkout-section-title p{
    margin: 0;
    color: #64748b;
}

.delivery-options{
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

.delivery-option{
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    border: 2px solid #e5e7eb;
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    transition: 0.25s ease;
}

.delivery-option:hover{
    border-color: #f59e0b;
    background: #fff7ed;
    transform: translateY(-2px);
}

.delivery-option input{
    width: 18px;
    height: 18px;
    accent-color: #f59e0b;
}

.delivery-option-content strong{
    display: block;
    color: #111827;
    font-size: 16px;
    margin-bottom: 4px;
}

.delivery-option-content span{
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.delivery-option-price{
    color: #dc2626;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.checkout-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

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

.checkout-form-grid .full-row{
    grid-column: 1 / -1;
}

.form-group select{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    background: #ffffff;
}

.form-group select:focus{
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.checkout-side-card{
    position: sticky;
    top: 20px;
}

.checkout-total-box{
    background: linear-gradient(135deg, #111827, #1f2937);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 22px;
    color: #ffffff;
}

.checkout-total-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: #e5e7eb;
}

.checkout-total-row:last-child{
    border-bottom: none;
}

.checkout-total-row span{
    color: #cbd5e1 !important;
}

.checkout-total-row strong{
    color: #ffffff !important;
}

.checkout-total-final{
    margin-top: 8px;
    padding-top: 16px;
}

.checkout-total-final span{
    font-size: 18px;
    font-weight: bold;
}

.checkout-total-final strong{
    color: #f59e0b !important;
    font-size: 32px;
}

.checkout-sinpe-box{
    background: linear-gradient(135deg, #ffedd5, #fef3c7);
    border: 2px solid #f59e0b;
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.checkout-sinpe-box h3{
    color: #92400e;
    margin: 0 0 8px;
    font-size: 20px;
}

.checkout-sinpe-number{
    display: block;
    color: #dc2626 !important;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 10px 0;
}

.checkout-sinpe-box p{
    margin: 0;
    color: #374151;
    line-height: 1.5;
}

.checkout-proof-box{
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 22px;
}

.checkout-proof-box label{
    color: #111827;
    font-weight: bold;
}

.checkout-proof-box input{
    margin-top: 10px;
    width: 100%;
}

.checkout-confirm-btn{
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    border-radius: 14px;
}

.delivery-help-message{
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.delivery-help-message p{
    margin: 0;
    color: #1e40af;
}

/* Ocultar campos de dirección cuando es retiro, si luego se usa JS */
.delivery-address-fields.is-hidden{
    display: none;
}

/* Responsive checkout */

@media(max-width: 950px){

    .checkout-wrapper{
        grid-template-columns: 1fr;
    }

    .checkout-side-card{
        position: static;
    }
}

@media(max-width: 768px){

    .checkout-card{
        padding: 22px;
        border-radius: 18px;
    }

    .checkout-card h2{
        font-size: 23px;
    }

    .checkout-form-grid{
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .delivery-option{
        grid-template-columns: auto 1fr;
        align-items: start;
    }

    .delivery-option-price{
        grid-column: 2;
        font-size: 16px;
    }

    .checkout-total-final{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .checkout-total-final strong{
        font-size: 28px;
    }

    .checkout-sinpe-number{
        font-size: 28px;
        text-align: center;
    }

    .checkout-confirm-btn{
        min-height: 50px;
    }
}


