/* Elementos generales (PARA TODAS LAS PÁGINAS) */ 
/*RESET Y VARIABLES*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:     #FFFFFF;
    --dark:   #1A1A2E;
    --pink:   #FF2D78;
    --green:  #AAFF00;
    --white:  #FFFFFF;
    --panel:  #F5F5F5;
    --border: 3px solid #1A1A2E;
    --radius: 14px;
    --shadow: 5px 5px 0 #1A1A2E;
}

/*CURSOR (Imagen desde carpeta)*/
* { cursor: url('imagenes/nave.png') 32 32, auto; }
button, a, input[type="submit"], .btn-add, .btn-update, .btn-delete {
    cursor: url('imagenes/mano.png') 32 32, pointer;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    min-height: 100vh;
}

/*HEADER*/
header {
    background: url(imagenes/banner7.gif);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: var(--border);
    gap: 12px;
}

.header-left  { display: flex; align-items: center; gap: 14px; }
.header-right { display: flex; align-items: center; gap: 10px; }

.theme-controls{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.theme-btn {
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-radius: 50%;
    background: var(--dark);
    backdrop-filter: blur(6px);
    color: white;
    cursor: pointer;
    font-size: .45rem;
    font-weight: bold;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.theme-btn:hover {
    transform: scale(1.15);
    background: var(--pink);
    border-color: var(--pink);
    box-shadow: 0 4px 15px rgba(255,45,120,.4);
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    color: white;
    letter-spacing: 1px;
}
.logo span { color: var(--pink); }

.btn-comic {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #1A1A2E 0%, #2d1a3e 50%, #1a2e1a 100%);
    color: white;
    border: var(--border);
    border-radius: var(--radius);
    padding: 12px;
    font-family: 'Fredoka One', cursive;
    font-size: .95rem;
    text-decoration: none;
    box-shadow:
    0 8px 20px rgba(0,0,0,.25),
    5px 5px 0 #1A1A2E;
    
    @keyframes pulse {
    0%,100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
        }
    }

    /* Animación de aparición */
    opacity: 0;
    transition: opacity 0.4s ease 0.2s,
                transform .15s,
                box-shadow .15s;

    position: relative;
}

.btn-comic:hover{
    box-shadow:
        0 0 20px rgba(255,79,163,.6),
        5px 5px 0 #1A1A2E;
}

.btn-comic {
    animation: pulse 2s infinite;
}

.btn-comic:hover{
    transform: translateY(-4px) scale(1.05);
}

/* Mostrar botón al pasar el mouse por el hero */
.hero:hover .btn-comic {
    opacity: 1;
}

.btn-comic:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #1A1A2E;
}

.btn-comic {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.2s,
                transform 0.4s ease 0.2s,
                box-shadow .15s;
}

.hero:hover .btn-comic {
    opacity: 1;
    transform: translateY(0);
}

/* ── BOTONES DE NAVEGACIÓN ── */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: var(--border);
    border-radius: var(--radius);
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: var(--shadow);
}
.nav-btn.back  { background: var(--white); color: var(--dark); }
.nav-btn.pay   { background: var(--green); color: var(--dark); }
.nav-btn.clear { background: var(--pink);  color: var(--white); }
.nav-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #1A1A2E; }

/* ── CARRITO BTN ── */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    border: var(--border);
    border-radius: var(--radius);
    padding: 10px 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.05rem;
    color: var(--dark);
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
    box-shadow: var(--shadow);
}
.cart-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #1A1A2E; }

.cart-badge {
    background: var(--pink);
    color: white;
    border-radius: 50%;
    width: 23px; height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 900;
}

/* ── HERO ── */
.hero {
    background-image: url(imagenes/banner5.gif);
    background-repeat: repeat;
    border-bottom: var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content{
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
    background-size: 22px 22px;
}
.hero h1 {
    font-family: cursive;
    font-size: 1rem;
    color: #010101;
    position: relative;
    opacity: 0;
    padding: 1rem;
    transition: opacity 0.4s ease;
}

.hero img{ 
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero:hover h1, .hero:hover p, .hero:hover img { opacity: 1; }

.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 3px solid white;
    border-radius: 50%;
    background: var(--dark);
    backdrop-filter: blur(6px);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,.3);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-btn:hover {
    transform: translateY(-50%) scale(1.12);
    background: var(--pink);
    border-color: var(--pink);
    box-shadow: 0 6px 20px rgba(255,45,120,.4);
}
.prev { left: 20px; }
.next { right: 20px; }

.banner-btn:hover{
    transform:translateY(-50%) scale(1.1);
}

.prev{
    left:20px;
}

.next{
    right:20px;
}

.page-banner {
    padding: 2.2rem 2rem;
    text-align: center;
    border-bottom: var(--border);
}
.page-banner.dark { background: linear-gradient(135deg, var(--dark) 0%, #2d2d4e 100%); }
.page-banner.dark h1 { color: var(--green); }
.page-banner.dark p  { color: rgba(255,255,255,.65); }
.page-banner.teal { background: linear-gradient(135deg, var(--green) 0%, #7ACC00 100%); }
.page-banner.teal h1 { color: var(--dark); }
.page-banner.teal p  { color: rgba(0,0,0,.6); }
.page-banner h1 { font-family: 'Fredoka One', cursive; font-size: 2.4rem; }
.page-banner p  { margin-top: .35rem; font-weight: 600; }

.banner-carrusel {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 600px;
    overflow: hidden;
    background: #111;
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
}

.banner-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide img,
.banner-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%);
    pointer-events: none;
}

.banner-title {
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    text-shadow: 2px 2px 10px rgba(0,0,0,.6);
    margin-bottom: 1.2rem;
    text-align: center;
}
.banner-title span { color: var(--pink); }

.banner-btn-vermas {
    pointer-events: auto;
    background: white;
    color: var(--dark);
    font-family: 'Fredoka One', cursive;
    font-size: .95rem;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 3px 3px 0 rgba(0,0,0,.3);
    transition: transform .15s;
}
.banner-btn-vermas:hover { transform: translateY(-2px); }

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background .15s;
}
.banner-nav:hover { background: white; }
.banner-nav.prev { left: 16px; }
.banner-nav.next { right: 16px; }

.banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.banner-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.banner-dot.active {
    background: white;
    transform: scale(1.25);
}

@media (max-width: 700px) {
    .banner-carrusel { height: 50vh; }
    .banner-nav { width: 34px; height: 34px; font-size: 1rem; }
}

/* ── MAIN ── */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}
main.two-col {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

.buscador-wrap {
    max-width:  1200px;
    position: relative;
    padding: 0 1rem;
}
.buscador-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 10px 18px;
}
.buscador-icono {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.buscador-box input {
    border: none;
    outline: none;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    width: 100%;
    background: transparent;
}
.buscador-resultados {
    position: absolute;
    top: calc(100% + 6px);
    left: 1rem;
    right: 1rem;
    background: white;
    border: var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}
.buscador-resultados.show { display: block; }
.buscador-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.buscador-item:last-child { border-bottom: none; }
.buscador-item:hover { background: #fafff5; }
.buscador-item img {
    width: 40px; height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}
.buscador-item-info { flex: 1; min-width: 0; }
.buscador-item-nombre { font-weight: 700; font-size: .9rem; }
.buscador-item-tags { font-size: .76rem; color: #888; }
.buscador-sin-resultados {
    padding: 14px; text-align: center; color: #888; font-size: .88rem;
}

@media (max-width: 760px) { main.two-col { grid-template-columns: 1fr; } }
.full-col { grid-column: 1 / -1; }

/* ── SECTION TITLE ── */
.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.9rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--dark);
    border-radius: 4px;
}

/* ── PRODUCT GRID ── */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.6rem;
}

.card                  { --accent: var(--green); }
.card:nth-child(2)     { --accent: pink; }
.card:nth-child(3)     { --accent: var(--green); }
.card:nth-child(4)     { --accent: pink; }
.card:nth-child(5)     { --accent: var(--green); }
.card:nth-child(6)     { --accent: pink; }
.card:nth-child(7)     { --accent: var(--green); }
.card:nth-child(8)     { --accent: pink; }

.card {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 #1A1A2E; }

.card-top {
    background: var(--accent);
    border-bottom: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;        /* ← más alto */
    font-size: 4rem;
    position: relative;   /* ← esto faltaba */
    overflow: hidden;
}
.card-top img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.card-top .emoji-fallback { position: relative; z-index: 1; }

/* Badge personalizable */
.badge-custom {
    position: absolute;
    top: 8px; right: 8px;
    background: var(--pink);
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: .7rem;
    padding: 3px 8px;
    border-radius: 20px;
    border: 2px solid var(--dark);
    z-index: 2;
}

.card-body {
    padding: 1.1rem 1.2rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.card-name { font-family: 'Fredoka One', cursive; font-size: 1.3rem; }
.card-price { font-size: 1.1rem; font-weight: 700; }
.card-price span { font-size: .82rem; font-weight: 600; color: #666; }

.camisa-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* ── SLIDESHOW DE IMÁGENES EN CARDS DE CATEGORÍA ── */
.camisa-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f0f0;
}
.camisa-img-wrap .camisa-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
}
.camisa-img-wrap .camisa-img.active {
    opacity: 1;
}

/* Puntitos opcionales (mini indicador) */
.camisa-img-dots {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 2;
}
.camisa-img-dots span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(0,0,0,.2);
    transition: background .2s;
}
.camisa-img-dots span.active { background: white; }

.add-form { margin-top: auto; }

.btn-add {
    width: 100%;
    background: var(--dark);
    color: var(--green);
    border: var(--border);
    border-radius: 10px;
    padding: 11px 0;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    transition: background .15s, color .15s, transform .15s;
}
.btn-add:hover { background: var(--accent); color: var(--dark); transform: scale(1.03); }

/* ── BOTÓN WHATSAPP FLOTANTE ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    border: 3px solid #1A1A2E;
    box-shadow: 4px 4px 0 #1A1A2E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    text-decoration: none;
    z-index: 799;
    transition: transform .2s, box-shadow .2s;
    animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 6px 6px 0 #1A1A2E;
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 0;
}

@keyframes waPulse {
    0%,100% { box-shadow: 4px 4px 0 #1A1A2E; }
    50%      { box-shadow: 4px 4px 0 #25D366; }
}

/* ── MODAL PRODUCTO PERSONALIZABLE ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,26,46,.65);
    z-index: 900;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
}
.modal-overlay.active { display: flex; }

.modal {
    background: var(--white);
    border: var(--border);
    border-radius: 20px;
    box-shadow: 8px 8px 0 #1A1A2E;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalPop .3s cubic-bezier(.17,.67,.3,1.25);
}
@keyframes modalPop {
    from { opacity:0; transform: scale(.9) translateY(20px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}

.modal-header {
    background: var(--dark);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 17px 17px 0 0;
}
.modal-header h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: var(--green);
}
.modal-close {
    background: var(--pink);
    border: 2px solid white;
    color: white;
    border-radius: 50%;
    width: 34px; height: 34px;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s;
}
.modal-close:hover { transform: scale(1.15); }

.modal-body { padding: 1.5rem; }

.modal-product-img {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border: var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    margin-bottom: 1.2rem;
    overflow: hidden;
    position: relative;
}
.modal-product-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.img-placeholder-label {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,.5);
    color: white;
    font-size: .72rem;
    padding: 3px 8px;
    border-radius: 8px;
    font-weight: 600;
}

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .modal-grid { grid-template-columns: 1fr; } }

.modal-info-box {
    background: var(--panel);
    border: 2px solid var(--dark);
    border-radius: var(--radius);
    padding: 1rem;
}
.modal-info-box h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    margin-bottom: .6rem;
    color: var(--pink);
}

.custom-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: .8rem;
}
.custom-option label {
    font-weight: 700;
    font-size: .88rem;
}
.custom-option input,
.custom-option select,
.custom-option textarea {
    border: 2px solid var(--dark);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    width: 100%;
}
.custom-option textarea { resize: vertical; min-height: 70px; }
.custom-option input:focus,
.custom-option select:focus,
.custom-option textarea:focus { outline: 3px solid var(--pink); outline-offset: 1px; }

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 0 1.5rem 1.5rem;
    flex-wrap: wrap;
}
.btn-modal-add {
    flex: 1;
    background: var(--green);
    border: var(--border);
    border-radius: 12px;
    padding: 13px 0;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--dark);
    box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
}
.btn-modal-add:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #1A1A2E; }
.btn-modal-cancel {
    background: white;
    border: var(--border);
    border-radius: 12px;
    padding: 13px 20px;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
}

/* ── TOAST ── */
.toast {
    position: fixed;
    bottom: 100px; right: 28px;
    background: var(--dark);
    color: var(--green);
    padding: 14px 24px;
    border: var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all .35s;
    z-index: 999;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── CARRITO ITEMS ── */
.cart-section h2 { font-family: 'Fredoka One', cursive; font-size: 1.5rem; margin-bottom: 1.2rem; }

.cart-item {
    width: 100%;
    display: flex;
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.3rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: transform .15s;
}
.cart-item:hover { transform: translateX(3px); }

.item-emoji { font-size: 2.4rem; flex-shrink: 0; }
.item-info  { flex: 1; }
.item-name  { font-family: 'Fredoka One', cursive; font-size: 1.15rem; }
.item-unit  { font-size: .88rem; color: #666; font-weight: 600; margin-top: 2px; }
.item-custom-note { font-size: .78rem; color: var(--pink); font-weight: 600; margin-top: 3px; font-style: italic; }

.qty-form { display: flex; align-items: center; gap: 6px; }
.qty-input {
    width: 56px; text-align: center;
    border: var(--border); border-radius: 8px;
    padding: 6px 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem; font-weight: 700;
}
.qty-input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }

.btn-update {
    background: var(--green); border: var(--border); border-radius: 8px;
    padding: 7px 13px; font-family: 'Fredoka One', cursive; font-size: .88rem;
    transition: transform .15s;
}
.btn-update:hover { transform: scale(1.05); }
.item-subtotal { font-weight: 900; font-size: 1.05rem; min-width: 90px; text-align: right; }
.btn-delete {
    background: var(--pink); color: white;
    border: var(--border); border-radius: 8px;
    width: 36px; height: 36px; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    transition: transform .15s; flex-shrink: 0;
}
.btn-delete:hover { transform: scale(1.1); }

/* ── PANEL RESUMEN ── */
.summary, .order-summary {
    display: block; width: 100%;
    margin-left: 0;
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.5rem; position: static;
}
.summary h2, .order-summary h2 {
    font-family: 'Fredoka One', cursive; font-size: 1.5rem;
    margin-bottom: 1.2rem; padding-bottom: .8rem;
    border-bottom: 2px dashed var(--dark);
}
.summary-row, .total-row {
    display: flex; justify-content: space-between;
    padding: .55rem 0; font-size: .98rem; font-weight: 600;
}
.summary-row.total, .total-row.grand {
    font-family: 'Fredoka One', cursive; font-size: 1.3rem;
    border-top: var(--border); margin-top: .5rem;
    padding-top: .9rem; color: var(--pink);
}
.iva-note { color: #888; font-size: .85rem; }
.btn-pay {
    display: block; width: 100%; margin-top: 1.3rem;
    background: var(--green); border: var(--border);
    border-radius: 12px; padding: 14px 0;
    font-family: 'Fredoka One', cursive; font-size: 1.2rem;
    text-align: center; text-decoration: none;
    color: var(--dark); box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
}
.btn-pay:hover  { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #1A1A2E; }
.btn-pay:active { transform: translate(2px,2px);   box-shadow: 2px 2px 0 #1A1A2E; }
.summary-note { text-align: center; font-size: .82rem; color: #888; margin-top: .8rem; font-weight: 600; }

/* ── ORDER SUMMARY ── */
.order-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: .6rem 0; border-bottom: 1px dashed #ddd; font-size: .95rem;
}
.order-item:last-of-type { border-bottom: none; }
.order-item-name  { font-weight: 700; }
.order-item-qty   { color: #888; font-size: .85rem; }
.order-item-price { font-weight: 700; color: var(--pink); }

/* ── PASARELA DE PAGO ── */
.payment-wrapper { max-width: 900px; margin: 0 auto; }

.payment-methods {
    display: flex; gap: 10px; margin-bottom: 1.8rem; flex-wrap: wrap;
}
.method-tab {
    flex: 1; min-width: 140px;
    background: var(--white); border: var(--border);
    border-radius: var(--radius); padding: 1rem;
    text-align: center; font-family: 'Fredoka One', cursive;
    font-size: 1rem; cursor: url('imagenes/mano.png') 32 32, pointer;
    transition: transform .15s, box-shadow .15s, background .15s;
    box-shadow: 3px 3px 0 #1A1A2E;
}
.method-tab:hover   { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #1A1A2E; }
.method-tab.active  { background: var(--dark); color: var(--green); box-shadow: var(--shadow); }
.method-tab .m-icon { font-size: 2rem; margin-bottom: 6px; }
.method-tab .m-name { display: block; }

.payment-panel { display: none; }
.payment-panel.active { display: block; }

.pay-card {
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.8rem; margin-bottom: 1.2rem;
}
.pay-card h3 {
    font-family: 'Fredoka One', cursive; font-size: 1.3rem;
    margin-bottom: 1.2rem; color: var(--pink);
}

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: .93rem; }
.field input, .field select {
    width: 100%; border: var(--border); border-radius: 10px;
    padding: 11px 14px; font-family: 'Nunito', sans-serif; font-size: 1rem;
}
.field input:focus, .field select:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* QR Panel */
.qr-container {
    display: flex; flex-direction: column; align-items: center;
    gap: 1.2rem; padding: 1rem 0;
}
.qr-frame {
    width: 220px; height: 220px;
    border: var(--border); border-radius: var(--radius);
    background: #f8f8f8;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: #888; text-align: center;
    padding: 1rem; box-shadow: var(--shadow);
    overflow: hidden;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-instructions { text-align: center; max-width: 340px; }
.qr-instructions p { font-size: .95rem; line-height: 1.6; color: #555; font-weight: 600; }
.qr-apps { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: .6rem; }
.qr-app-badge {
    background: var(--dark); color: var(--green);
    border: 2px solid var(--dark); border-radius: 8px;
    padding: 6px 14px; font-family: 'Fredoka One', cursive; font-size: .88rem;
}

/* PSE / App móvil panel */
.pse-banks {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 10px;
    margin-bottom: 1.2rem;
}
.bank-btn {
    background: var(--white); border: var(--border); border-radius: 10px;
    padding: .7rem; text-align: center; font-weight: 700; font-size: .88rem;
    transition: background .15s, transform .15s; box-shadow: 3px 3px 0 #1A1A2E;
}
.bank-btn:hover  { background: var(--green); transform: translate(-2px,-2px); }
.bank-btn.sel    { background: var(--green); }
.bank-btn .b-icon{ font-size: 1.5rem; display: block; margin-bottom: 4px; }

.btn-confirm {
    width: 100%; background: var(--green); border: var(--border);
    border-radius: 12px; padding: 15px 0;
    font-family: 'Fredoka One', cursive; font-size: 1.2rem;
    color: var(--dark); box-shadow: var(--shadow);
    transition: transform .15s, box-shadow .15s;
    margin-top: .8rem;
}
.btn-confirm:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #1A1A2E; }

/* ── CONFIRMACIÓN PEDIDO ── */
.order-confirmed {
    background: var(--white); border: var(--border);
    border-radius: 20px; box-shadow: var(--shadow);
    overflow: hidden; animation: popIn .4s cubic-bezier(.17,.67,.3,1.3);
}
@keyframes popIn {
    from { opacity:0; transform: scale(.94) translateY(12px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}
.conf-header {
    background: var(--dark); padding: 2rem; text-align: center;
}
.conf-header .conf-icon  { font-size: 4rem; }
.conf-header h2 {
    font-family: 'Fredoka One', cursive; font-size: 2rem;
    color: var(--green); margin-top: .5rem;
}
.conf-header p { color: rgba(255,255,255,.7); margin-top: .3rem; }

.conf-code {
    display: inline-block;
    background: var(--green); border: var(--border);
    border-radius: 12px; padding: .5rem 2rem;
    font-family: 'Fredoka One', cursive; font-size: 2rem;
    color: var(--dark); letter-spacing: 4px;
    margin: 1rem 0; box-shadow: var(--shadow);
}
.conf-body { padding: 2rem; text-align: center; }
.conf-body p { color: #555; font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.conf-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ── PÁGINA PEDIDO / TRACKING ── */
.tracking-wrap { max-width: 680px; margin: 0 auto; }

.tracking-search {
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 2rem; margin-bottom: 1.5rem; text-align: center;
}
.tracking-search h2 { font-family: 'Fredoka One', cursive; font-size: 1.6rem; margin-bottom: 1rem; }
.search-row { display: flex; gap: 10px; }
.search-row input {
    flex: 1; border: var(--border); border-radius: 10px;
    padding: 12px 16px; font-family: 'Fredoka One', cursive;
    font-size: 1.1rem; letter-spacing: 2px;
    text-transform: uppercase;
}
.search-row input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.btn-search {
    background: var(--dark); color: var(--green);
    border: var(--border); border-radius: 10px;
    padding: 12px 22px; font-family: 'Fredoka One', cursive;
    font-size: 1rem; box-shadow: 3px 3px 0 #1A1A2E;
    transition: transform .15s;
}
.btn-search:hover { transform: translate(-2px,-2px); }

.order-card {
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; animation: popIn .3s ease;
}
.order-card-header {
    background: var(--dark); padding: 1.3rem 1.8rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}
.order-card-header .oc-code {
    font-family: 'Fredoka One', cursive; font-size: 1.5rem; color: var(--green);
}
.order-card-header .oc-date { color: rgba(255,255,255,.6); font-size: .88rem; }

.status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: 30px; border: 2px solid currentColor;
    font-family: 'Fredoka One', cursive; font-size: .95rem;
}
.status-pending  { color: #FF8C00; background: #FFF4E0; }
.status-paid     { color: #006400; background: #E0FFE8; }
.status-prep     { color: #0055AA; background: #E0EEFF; }
.status-shipped  { color: var(--pink); background: #FFE0EC; }

.order-card-body { padding: 1.5rem 1.8rem; }
.order-card-body h3 { font-family: 'Fredoka One', cursive; font-size: 1.1rem; margin-bottom: .8rem; color: var(--pink); }

.tracking-steps {
    display: flex; justify-content: space-between;
    position: relative; margin: 1.5rem 0; padding: 0 1rem;
}
.tracking-steps::before {
    content: ''; position: absolute;
    top: 18px; left: 1rem; right: 1rem; height: 3px;
    background: #ddd; z-index: 0;
}
.t-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; z-index: 1; flex: 1;
}
.t-step .t-dot {
    width: 36px; height: 36px; border-radius: 50%;
    background: #ddd; border: 3px solid #ddd;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: all .3s;
}
.t-step.done .t-dot  { background: var(--green);  border-color: var(--dark); }
.t-step.active .t-dot{ background: var(--pink);   border-color: var(--dark); }
.t-step .t-label { font-size: .72rem; font-weight: 700; text-align: center; color: #888; }
.t-step.done .t-label, .t-step.active .t-label { color: var(--dark); }

/* ── FORMULARIO FACTURA (datos cliente) ── */
.form-card {
    display: inline-block; vertical-align: top; width: 50%;
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 1.8rem;
}
.form-card h2 {
    font-family: 'Fredoka One', cursive; font-size: 1.5rem;
    margin-bottom: 1.5rem; padding-bottom: .7rem;
    border-bottom: 2px dashed var(--dark);
}
.required-note { font-size: .8rem; color: #888; margin-bottom: 1.2rem; }
.btn-generate {
    width: 100%; background: var(--green); border: var(--border);
    border-radius: 12px; padding: 14px 0;
    font-family: 'Fredoka One', cursive; font-size: 1.2rem;
    box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
}
.btn-generate:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #1A1A2E; }

/* ── FACTURA IMPRESA ── */
.invoice-wrapper { grid-column: 1 / -1; }
.invoice {
    background: var(--white); border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; animation: popIn .4s cubic-bezier(.17,.67,.3,1.3);
}
.inv-header {
    background: var(--dark); padding: 2rem 2.5rem;
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.inv-logo { font-family: 'Fredoka One', cursive; font-size: 2.2rem; color: var(--green); }
.inv-logo span { color: var(--pink); }
.inv-meta { text-align: right; color: rgba(255,255,255,.85); font-size: .92rem; }
.inv-meta strong { display: block; font-size: 1.5rem; font-family: 'Fredoka One', cursive; color: var(--green); }
.inv-section { padding: 1.6rem 2.5rem; border-bottom: 2px dashed #ddd; }
.inv-section:last-child { border-bottom: none; }
.inv-section h3 { font-family: 'Fredoka One', cursive; font-size: 1.15rem; margin-bottom: 1rem; color: var(--pink); }
.client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; }
@media (max-width: 560px) { .client-grid { grid-template-columns: 1fr; } }
.client-field label { font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: #888; }
.client-field span  { display: block; font-size: 1rem; font-weight: 700; margin-top: 2px; }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th { background: var(--dark); color: var(--green); font-family: 'Fredoka One', cursive; font-size: .95rem; padding: .75rem 1rem; text-align: left; }
.inv-table th:last-child, .inv-table td:last-child { text-align: right; }
.inv-table td { padding: .85rem 1rem; border-bottom: 1px solid #eee; font-size: .97rem; }
.inv-table tr:last-child td { border-bottom: none; }
.inv-table tbody tr:hover { background: #fafff0; }
.inv-totals { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; padding: 1.5rem 2.5rem; }
.inv-totals .t-row { display: flex; gap: 3rem; font-size: .97rem; font-weight: 700; }
.inv-totals .t-label { color: #666; }
.inv-totals .t-value { min-width: 120px; text-align: right; }
.inv-totals .grand-total { font-family: 'Fredoka One', cursive; font-size: 1.5rem; border-top: 3px solid var(--dark); padding-top: .8rem; margin-top: .4rem; color: var(--pink); }
.inv-totals .grand-total .t-value { color: var(--pink); }
.inv-footer { background: #f5f5f5; border-top: var(--border); padding: 1.2rem 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; font-size: .85rem; color: #888; }
.success-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: var(--dark); padding: 6px 14px; border: var(--border); border-radius: 50px; font-weight: 900; font-size: .88rem; margin-bottom: 1.2rem; }
.invoice-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-print { background: var(--dark); color: var(--green); border: var(--border); border-radius: 12px; padding: 12px 28px; font-family: 'Fredoka One', cursive; font-size: 1.05rem; box-shadow: var(--shadow); transition: transform .15s; }
.btn-print:hover { transform: translate(-2px,-2px); }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 4rem 2rem; background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state .icon { font-size: 5rem; margin-bottom: 1rem; }
.empty-state h2 { font-family: 'Fredoka One', cursive; font-size: 1.8rem; color: var(--pink); }
.empty-state p  { color: #666; margin: .5rem 0 1.5rem; font-size: 1.05rem; }

/* ── CHATBOT ── */
.chatbot-bubble {
    position: fixed; bottom: 28px; left: 28px;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--dark); border: var(--border);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; z-index: 800;
    cursor: url('imagenes/mano.png') 32 32, pointer;
    transition: transform .2s;
    animation: pulse 2.5s infinite;
}
.chatbot-bubble:hover { transform: scale(1.1); }
@keyframes pulse {
    0%,100% { box-shadow: var(--shadow); }
    50%      { box-shadow: 5px 5px 0 var(--pink); }
}

.chatbot-window {
    position: fixed; bottom: 100px; left: 28px;
    width: 360px; max-height: 520px;
    background: var(--white); border: var(--border);
    border-radius: 20px; box-shadow: 8px 8px 0 #1A1A2E;
    display: none; flex-direction: column; z-index: 800;
    overflow: hidden; animation: modalPop .3s cubic-bezier(.17,.67,.3,1.25);
}
.chatbot-window.open { display: flex; }

.chat-header {
    background: var(--dark); padding: .9rem 1.2rem;
    display: flex; align-items: center; gap: 10px;
}
.chat-header .chat-avatar { font-size: 1.6rem; color: yellowgreen;}
.chat-header .chat-title  { font-family: 'Fredoka One', cursive; font-size: 1.1rem; color: var(--green); flex: 1; }
.chat-header .chat-close  { background: none; border: none; color: white; font-size: 1.2rem; padding: 4px; }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 1rem;
    display: flex; flex-direction: column; gap: .7rem;
}
.chat-msg {
    max-width: 80%; padding: .7rem 1rem;
    border-radius: 14px; font-size: .9rem; line-height: 1.5;
    border: 2px solid var(--dark);
}
.chat-msg.bot  { background: var(--panel); align-self: flex-start; border-radius: 4px 14px 14px 14px; }
.chat-msg.user { background: var(--dark); color: var(--green); align-self: flex-end; border-radius: 14px 14px 4px 14px; font-weight: 600; }
.chat-msg.typing{ background: var(--panel); align-self: flex-start; color: #888; }

.chat-input-row {
    display: flex; gap: 8px; padding: .8rem;
    border-top: var(--border);
}
.chat-input-row input {
    flex: 1; border: 2px solid var(--dark); border-radius: 10px;
    padding: 9px 12px; font-family: 'Nunito', sans-serif; font-size: .92rem;
}
.chat-input-row input:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.btn-chat-send {
    background: var(--green); border: 2px solid var(--dark);
    border-radius: 10px; padding: 9px 14px;
    font-family: 'Fredoka One', cursive; font-size: .95rem;
}

/* ── FOOTER ── */
footer {
    background: url(imagenes/banner7.gif);
    background-repeat: repeat;
    color: white;
    border-top: var(--border);
    padding-bottom:  1rem;
}
.footer-inner {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.footer-inner img {
    width: 597px;
    height: 418px;
}
.footer-social {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.social-link {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 10px; padding: 7px 16px;
    color: white; text-decoration: none;
    font-family: 'Fredoka One', cursive; font-size: .95rem;
    transition: background .15s, transform .15s, border-color .15s;
}
.social-link img {
    width: 20px; height: 20px;
    object-fit: contain; border-radius: 2px;
}

/* Color por red social */
.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #e6683c;
    transform: translateY(-2px);
}
.social-link.tiktok:hover {
    background: #010101;
    border-color: #69C9D0;
    transform: translateY(-2px);
}
.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
}
.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: translateY(-2px);
}
.footer-copy { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ── PRINT ── */
@media print {
    header, .page-banner, .form-card, .order-summary,
    .invoice-actions, footer, .chatbot-bubble, .chatbot-window { display: none !important; }
    .invoice { box-shadow: none; border: 1px solid #ccc; }
}

/* ── DRAWER CAMISAS ── */
        .drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(26,26,46,.7);
            z-index: 850;
            backdrop-filter: blur(3px);
        }
        .drawer-overlay.active { display: block; }

        .drawer {
            position: fixed;
            top: 0; right: -100%;
            width: min(520px, 95vw);
            height: 100vh;
            background: var(--bg);
            border-left: var(--border);
            box-shadow: -8px 0 30px rgba(0,0,0,.3);
            z-index: 860;
            display: flex;
            flex-direction: column;
            transition: right .35s cubic-bezier(.4,0,.2,1);
            overflow: hidden;
        }
        .drawer.open { right: 0; }

        .drawer-header {
            background: var(--dark);
            padding: 1.2rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
            border-bottom: 3px solid var(--green);
        }
        .drawer-header h2 {
            font-family: 'Fredoka One', cursive;
            font-size: 1.4rem;
            color: var(--green);
        }
        .drawer-close {
            background: var(--pink);
            border: 2px solid white;
            color: white;
            border-radius: 50%;
            width: 34px; height: 34px;
            font-size: 1.1rem;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: transform .15s;
        }
        .drawer-close:hover { transform: scale(1.15); }

        .drawer-body {
            flex: 1;
            overflow-y: auto;
            padding: 1.2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            align-content: start;
        }
        @media (max-width: 768px) {
        .drawer-body {
            grid-template-columns: repeat(2, 1fr);
            gap: .5rem;
        }

        .camisa-card-name {
            font-size: .75rem;
            line-height: 1.1;
        }

        .camisa-card-precio {
            font-size: .85rem;
        }

        .camisa-card-sub {
            font-size: .65rem;
        }
    }
        /* Card de camisa en el drawer */
        .camisa-card {
            background: white;
            border: var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            cursor: pointer;
            transition: transform .2s, box-shadow .2s;
        }
        
        .camisa-card:hover {
            transform: translate(-3px,-3px);
            box-shadow: 8px 8px 0 #1A1A2E;
        }


        .camisa-card-body {
            padding: .8rem;
            
        }
        
        .camisa-card-name {
            font-family: 'Fredoka One', cursive;
            font-size: 1rem;
            color: var(--dark);
            margin-bottom: 3px;
        }

        .camisa-card-precio {
            font-weight: 900;
            font-size: 1.1rem;
            color: var(--pink);
        }
        
        .camisa-card-sub {
            font-size: .78rem;
            color: #666;
            margin-top: 2px;
        }

        /* ── MODAL INFO CAMISA ── */
        .info-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(26,26,46,.75);
            z-index: 900;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            backdrop-filter: blur(4px);
        }
        .info-modal-overlay.active { display: flex; }

        .info-modal {
            background: white;
            border: var(--border);
            border-radius: 20px;
            box-shadow: 8px 8px 0 #1A1A2E;
            width: 100%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalPop .3s cubic-bezier(.17,.67,.3,1.25);
            display: flex;
            flex-direction: column;
        }

        .info-modal-header {
            background: var(--dark);
            padding: 1.2rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 17px 17px 0 0;
            flex-shrink: 0;
        }
        .info-modal-header h2 {
            font-family: 'Fredoka One', cursive;
            font-size: 1.4rem;
            color: var(--green);
        }

        .info-modal-body {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            padding: 1.5rem;
        }
        @media (max-width: 560px) {
            .info-modal-body { grid-template-columns: 1fr; }
        }
        
        #drawerProducto .info-modal-body {
            grid-template-columns: 1fr !important;
            padding: 0 !important;
            gap: 0 !important;
            display: grid !important;
        }

        #drawerProducto .foto-carrusel {
            border-radius: 0 !important;
            border-left: none !important;
            border-right: none !important;
            border-top: none !important;
            aspect-ratio: 4 / 3 !important;
            width: 100% !important;
        }

        #drawerProducto .info-detalle {
            padding: 1.2rem 1.5rem !important;
            width: 100% !important;
        }
        
        #dp-body {
            display: block !important;
            padding: 0 !important;
        }
        
        /* Carrusel de fotos */
        .foto-carrusel {
            position: relative;
            border: var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            aspect-ratio: 1;
            background: var(--panel);
        }
        .foto-carrusel img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
        }
        .foto-carrusel img.active { display: block; }

        .foto-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 32px; height: 32px;
            border-radius: 50%;
            background: rgba(26,26,46,.8);
            border: 2px solid white;
            color: white;
            font-size: 1rem;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            z-index: 5;
            transition: background .15s;
        }
        .foto-nav:hover { background: var(--pink); }
        .foto-nav.prev-foto { left: 8px; }
        .foto-nav.next-foto { right: 8px; }

        .foto-dots {
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 5px;
        }
        .foto-dot {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,.5);
            border: 1px solid rgba(0,0,0,.2);
            cursor: pointer;
            transition: background .2s;
        }
        .foto-dot.active { background: var(--pink); }

        /* Info del producto */
        .info-detalle h3 {
            font-family: 'Fredoka One', cursive;
            font-size: 1.6rem;
            color: var(--dark);
            margin-bottom: .3rem;
        }
        .info-precio-grande {
            font-family: 'Fredoka One', cursive;
            font-size: 2rem;
            color: var(--pink);
            margin: .5rem 0;
        }
        .info-desc {
            font-size: .92rem;
            color: #555;
            line-height: 1.7;
            margin-bottom: 1rem;
        }
        .info-field { margin-bottom: .8rem; }
        .info-field label {
            font-weight: 900;
            font-size: .82rem;
            text-transform: uppercase;
            letter-spacing: .05em;
            color: #888;
            display: block;
            margin-bottom: 5px;
        }
        .colores-row { display: flex; gap: 8px; flex-wrap: wrap; }
        .color-chip {
            padding: 5px 14px;
            border-radius: 20px;
            border: 2px solid var(--dark);
            font-size: .82rem;
            font-weight: 700;
            cursor: pointer;
            transition: all .15s;
        }
        .color-chip:hover, .color-chip.sel {
            background: var(--dark);
            color: var(--green);
        }
        .tallas-row { display: flex; gap: 6px; flex-wrap: wrap; }
        .talla-chip {
            width: 40px; height: 40px;
            border-radius: 8px;
            border: 2px solid var(--dark);
            font-family: 'Fredoka One', cursive;
            font-size: .9rem;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: all .15s;
        }
        .talla-chip:hover, .talla-chip.sel {
            background: var(--dark);
            color: var(--green);
        }

        .btn-agregar-info {
            width: 100%;
            background: var(--dark);
            color: var(--green);
            border: var(--border);
            border-radius: 12px;
            padding: 14px 0;
            font-family: 'Fredoka One', cursive;
            font-size: 1.1rem;
            margin-top: 1rem;
            box-shadow: var(--shadow);
            transition: transform .15s, box-shadow .15s;
            cursor: pointer;
        }
        .btn-agregar-info:hover {
            transform: translate(-2px,-2px);
            box-shadow: 7px 7px 0 #1A1A2E;
            background: var(--green);
            color: var(--dark);
        }

    /* ── CARD IMAGEN ── */

    .card-top img.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    inset: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
    }

    .card-top { position: relative; height: 200px; overflow: hidden; }

        /* Botón ver más en card */
        .btn-ver-mas {
            width: 100%;
            background: white;
            color: var(--dark);
            border: var(--border);
            border-radius: 10px;
            padding: 8px 0;
            font-family: 'Fredoka One', cursive;
            font-size: .88rem;
            margin-top: 6px;
            transition: background .15s, color .15s;
            cursor: pointer;
        }
        .btn-ver-mas:hover {
            background: var(--dark);
            color: var(--green);
        }

        .btn-camisas{
            font-size:1rem;margin-left:1rem;background:var(--green);
             border:var(--border);border-radius:10px;padding:8px 16px;
             text-decoration:none;color:var(--dark);font-family:'Fredoka One',cursive;
        }
        
.btn-camisas:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #1A1A2E; }

.filtro-btn {
    border: 2px solid var(--dark);
    border-radius: 20px;
    padding: 5px 14px;
    font-family: 'Fredoka One', cursive;
    font-size: .82rem;
    cursor: pointer;
    background: #f5f5f5;
    transition: all .15s;
}
.filtro-btn.active {
    background: var(--pink);
    color: white;
}
.filtro-btn:hover:not(.active) {
    background: #e8e8e8;
}

.pers-view-btn {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 6px 4px;
    font-family: 'Nunito', sans-serif;
    font-size: .8rem;
    cursor: pointer;
    background: #f5f5f5;
    transition: all .15s;
}
.pers-view-btn.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.pers-talla-btn {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 6px 14px;
    font-family: 'Nunito', sans-serif;
    font-size: .82rem;
    cursor: pointer;
    background: #f5f5f5;
    transition: all .15s;
}
.pers-talla-btn.active {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.camisa-card-pers {
    border: 2px solid var(--pink) !important;
    background: linear-gradient(125deg, #fff 20%, #ffeef6 90%);
}
.badge-card-pers {
    display: inline-block;
    background: var(--pink);
    color: white;
    font-size: .68rem;
    padding: 1px 8px;
    border-radius: 12px;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 4px;
}

/*MODO GÓTICO*/

body.modo-gotico {
    --bg:     #080808;
    --dark:   #F0F0F0;
    --pink:   #E0E0E0;
    --green:  #FFFFFF;
    --white:  #111111;
    --panel:  #0F0F0F;
    --border: 2px solid rgba(255,255,255,0.25);
    --shadow: 4px 4px 0 rgba(255,255,255,0.15);
    background-color: #080808;
    color: #F0F0F0;
}

body.modo-gotico::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(80,0,120,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(120,0,80,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* HEADER */
body.modo-gotico header {
    background-color: rgba(5,5,5,0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 2px 40px rgba(0,0,0,0.8);
}

/* FOOTER */
body.modo-gotico footer {
    background-color: rgba(5,5,5,0.95) !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
}

/* Imágenes INTACTAS */
body.modo-gotico header img,
body.modo-gotico .product-img,
body.modo-gotico .camisa-card-img,
body.modo-gotico .camisa-preview,
body.modo-gotico .whatsapp-float img,
body.modo-gotico .social-link img,
body.modo-gotico footer img {
    filter: none !important;
}

/*PAGE BANNER*/
body.modo-gotico .page-banner {
    background: linear-gradient(135deg, #0A0A0A 0%, #111111 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}
body.modo-gotico .page-banner h1 { color: #FFFFFF !important; }
body.modo-gotico .page-banner p  { color: rgba(255,255,255,0.55) !important; }
body.modo-gotico .page-banner.dark { background: #080808 !important; }
body.modo-gotico .page-banner.teal {
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%) !important;
}
body.modo-gotico .page-banner.teal h1 { color: #FFFFFF !important; }
body.modo-gotico .page-banner.teal p  { color: rgba(255,255,255,0.5) !important; }

body.modo-gotico #btnHero {
    background: linear-gradient(135deg, #0A0A0A, #111) !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.8) !important;
    letter-spacing: 4px;
}

/* CARDS DE PRODUCTOS */
body.modo-gotico .card {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.05);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
body.modo-gotico .card:hover {
    transform: translate(-4px,-4px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
}
body.modo-gotico .card-top {
    background: #141414;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.modo-gotico .card-body { background: #0E0E0E; }
body.modo-gotico .card-name  { color: #F0F0F0; }
body.modo-gotico .card-price { color: #FFFFFF; font-weight: 900; }
body.modo-gotico .card-price span { color: #666; }


body.modo-gotico .badge-custom {
    background: #1A1A1A;
    color: #CCCCCC;
    border: 1px solid rgba(255,255,255,0.2);
}


body.modo-gotico .btn-add {
    background: #141414;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: color .25s, border-color .25s, box-shadow .25s;
}
body.modo-gotico .btn-add::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    transform: translateY(101%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
body.modo-gotico .btn-add:hover::before { transform: translateY(0); }
body.modo-gotico .btn-add:hover { color: #000000; border-color: #FFFFFF; }
body.modo-gotico .btn-add span,
body.modo-gotico .btn-add { position: relative; z-index: 1; }


body.modo-gotico .cart-btn {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
    transition: background .2s, border-color .2s, transform .15s;
}
body.modo-gotico .cart-btn:hover {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: translate(-2px,-2px);
}
body.modo-gotico .cart-badge {
    background: #333;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
}
body.modo-gotico .nav-btn.back {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
}
body.modo-gotico .nav-btn.back:hover {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}
body.modo-gotico .theme-btn {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.2);
    color: #FFFFFF;
}
body.modo-gotico .theme-btn:hover {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}


body.modo-gotico .section-title { color: #FFFFFF; }
body.modo-gotico .section-title::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.4), transparent);
}

/* MAIN background */
body.modo-gotico main { background: transparent; }

body.modo-gotico .summary,
body.modo-gotico .order-summary,
body.modo-gotico .cart-item,
body.modo-gotico .pay-card,
body.modo-gotico .order-card,
body.modo-gotico .tracking-search,
body.modo-gotico .form-card,
body.modo-gotico .empty-state,
body.modo-gotico .order-confirmed,
body.modo-gotico .invoice {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
    color: #F0F0F0;
}
body.modo-gotico .cart-item:hover {
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 6px 30px rgba(0,0,0,0.7);
    transform: translateX(4px);
}
body.modo-gotico .summary h2,
body.modo-gotico .order-summary h2 {
    color: #FFFFFF;
    border-bottom-color: rgba(255,255,255,0.15);
}
body.modo-gotico .summary-row.total,
body.modo-gotico .total-row.grand { color: #FFFFFF; }
body.modo-gotico .iva-note { color: #555; }
body.modo-gotico .item-name { color: #FFFFFF; }
body.modo-gotico .item-unit { color: #555; }

/*BOTÓN BUSCAR (fuga en pedido.jsp)*/
body.modo-gotico .btn-search {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
    box-shadow: none;
}
body.modo-gotico .btn-search:hover {
    background: #000;
    color: #FFF;
    border-color: #FFF;
}

/* INPUTS */
body.modo-gotico .field input,
body.modo-gotico .field select,
body.modo-gotico .search-row input,
body.modo-gotico .qty-input,
body.modo-gotico .custom-option input,
body.modo-gotico .custom-option select,
body.modo-gotico .custom-option textarea,
body.modo-gotico .chat-input-row input,
body.modo-gotico .form-card-admin .field input,
body.modo-gotico .form-card-admin .field textarea,
body.modo-gotico .form-card-admin .field select {
    background: #0A0A0A;
    color: #F0F0F0;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);
}
body.modo-gotico .field input:focus,
body.modo-gotico .field select:focus,
body.modo-gotico .search-row input:focus,
body.modo-gotico .qty-input:focus,
body.modo-gotico .custom-option input:focus,
body.modo-gotico .custom-option select:focus,
body.modo-gotico .custom-option textarea:focus,
body.modo-gotico .chat-input-row input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
    outline-offset: 1px;
    border-color: rgba(255,255,255,0.4);
}

/* BOTONES DE ACCIÓN */
body.modo-gotico .btn-pay,
body.modo-gotico .btn-confirm,
body.modo-gotico .btn-generate,
body.modo-gotico .btn-guardar,
body.modo-gotico .btn-modal-add,
body.modo-gotico .btn-agregar-info,
body.modo-gotico .btn-update {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #FFFFFF;
    box-shadow: none;
    transition: background .2s, color .2s, transform .15s, box-shadow .15s;
}
body.modo-gotico .btn-pay:hover,
body.modo-gotico .btn-confirm:hover,
body.modo-gotico .btn-generate:hover,
body.modo-gotico .btn-guardar:hover,
body.modo-gotico .btn-modal-add:hover,
body.modo-gotico .btn-agregar-info:hover,
body.modo-gotico .btn-update:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translate(-2px,-2px);
    box-shadow: 4px 4px 0 rgba(255,255,255,0.2);
}
body.modo-gotico .btn-modal-cancel {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
}
body.modo-gotico .btn-modal-cancel:hover {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.4);
}

/* MODALES */
body.modo-gotico .modal,
body.modo-gotico .drawer,
body.modo-gotico .info-modal {
    background: #0C0C0C;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.05);
    color: #F0F0F0;
}
body.modo-gotico .modal-header,
body.modo-gotico .drawer-header,
body.modo-gotico .info-modal-header {
    background: #080808;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.modo-gotico .modal-header h2,
body.modo-gotico .drawer-header h2,
body.modo-gotico .info-modal-header h2 { color: #FFFFFF; }
body.modo-gotico .modal-close,
body.modo-gotico .drawer-close {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.2);
    color: #FFFFFF;
}
body.modo-gotico .modal-close:hover,
body.modo-gotico .drawer-close:hover {
    background: #FFFFFF;
    color: #000;
}
body.modo-gotico .modal-info-box {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    color: #F0F0F0;
}
body.modo-gotico .modal-info-box h3 { color: #FFFFFF; }
body.modo-gotico .modal-product-img { background: #111; border-color: rgba(255,255,255,0.1); }

/* CAMISA CARDS */
body.modo-gotico .camisa-card {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
body.modo-gotico .camisa-card:hover {
    transform: translate(-4px,-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.25);
}
body.modo-gotico .camisa-card-img { filter: none !important; }
body.modo-gotico .camisa-card-name  { color: #FFFFFF; }
body.modo-gotico .camisa-card-precio { color: #AAAAAA; }
body.modo-gotico .camisa-card-sub   { color: #555; }
body.modo-gotico .camisa-card.verde {
    background: #111;
    border-color: rgba(255,255,255,0.2);
}
body.modo-gotico .camisa-card.verde .camisa-card-name  { color: #FFFFFF; }
body.modo-gotico .camisa-card.verde .camisa-card-precio { color: #888; }

/* CHIPS COLOR / TALLA */
body.modo-gotico .color-chip,
body.modo-gotico .talla-chip {
    background: #111;
    border: 1px solid rgba(255,255,255,0.2);
    color: #CCCCCC;
    transition: all .2s;
}
body.modo-gotico .color-chip:hover,
body.modo-gotico .color-chip.sel,
body.modo-gotico .talla-chip:hover,
body.modo-gotico .talla-chip.sel {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
    transform: scale(1.05);
}

body.modo-gotico .info-detalle h3 { color: #FFFFFF; }
body.modo-gotico .info-precio-grande { color: #CCCCCC; }
body.modo-gotico .info-desc { color: #777; }
body.modo-gotico .info-field label { color: #555; }

/* CHATBOT */
body.modo-gotico .chatbot-bubble {
    background: #111;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    animation: gothicPulse 3s infinite;
}
body.modo-gotico .chatbot-bubble:hover {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}
@keyframes gothicPulse {
    0%,100% { box-shadow: 0 4px 20px rgba(0,0,0,0.6); }
    50%      { box-shadow: 0 4px 30px rgba(255,255,255,0.1), 0 0 0 1px rgba(255,255,255,0.1); }
}
body.modo-gotico .chatbot-window {
    background: #0C0C0C;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    color: #F0F0F0;
}
body.modo-gotico .chat-header {
    background: #080808;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
body.modo-gotico .chat-header .chat-title { color: #CCCCCC; }
body.modo-gotico .chat-msg.bot {
    background: #111;
    color: #DDDDDD;
    border: 1px solid rgba(255,255,255,0.08);
}
body.modo-gotico .chat-msg.user {
    background: #1A1A1A;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.15);
}
body.modo-gotico .btn-chat-send {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}
body.modo-gotico .btn-chat-send:hover {
    background: #000;
    color: #FFF;
}
body.modo-gotico .chat-input-row { border-top: 1px solid rgba(255,255,255,0.08); }

/* WHATSAPP FLOTANTE */
body.modo-gotico .whatsapp-float {
    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    animation: gothicPulse 3s infinite;
}
body.modo-gotico .whatsapp-float:hover {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.3);
}

/*FOOTER SOCIAL*/
body.modo-gotico .social-link {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #CCCCCC;
    transition: background .2s, border-color .2s, transform .15s;
}
body.modo-gotico .social-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}
body.modo-gotico .footer-copy { color: rgba(255,255,255,0.35); }


body.modo-gotico .conf-header,
body.modo-gotico .order-card-header,
body.modo-gotico .inv-header,
body.modo-gotico .admin-bar {
    background: #060606;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
body.modo-gotico .conf-header h2,
body.modo-gotico .order-card-header .oc-code,
body.modo-gotico .inv-logo { color: #FFFFFF; }
body.modo-gotico .conf-code {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
    letter-spacing: 6px;
}
body.modo-gotico .conf-body p { color: #777; }

body.modo-gotico .inv-section { border-bottom: 1px solid rgba(255,255,255,0.06); }
body.modo-gotico .inv-section h3 { color: #CCCCCC; }
body.modo-gotico .client-field label { color: #444; }
body.modo-gotico .client-field span  { color: #DDDDDD; }
body.modo-gotico .inv-table th { background: #060606; color: #CCCCCC; }
body.modo-gotico .inv-table td { color: #CCCCCC; border-bottom-color: rgba(255,255,255,0.05); }
body.modo-gotico .inv-table tbody tr:hover td { background: #111; }
body.modo-gotico .inv-totals .t-label { color: #555; }
body.modo-gotico .inv-totals .t-value { color: #DDDDDD; }
body.modo-gotico .inv-totals .grand-total,
body.modo-gotico .inv-totals .grand-total .t-value { color: #FFFFFF; }
body.modo-gotico .inv-totals .grand-total { border-top-color: rgba(255,255,255,0.15); }
body.modo-gotico .inv-footer { background: #0A0A0A; border-top: 1px solid rgba(255,255,255,0.06); color: #444; }

body.modo-gotico .tracking-steps::before { background: rgba(255,255,255,0.1); }
body.modo-gotico .t-step .t-dot {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.15);
}
body.modo-gotico .t-step.done .t-dot {
    background: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 0 12px rgba(255,255,255,0.2);
}
body.modo-gotico .t-step.active .t-dot {
    background: #444;
    border-color: #FFFFFF;
    box-shadow: 0 0 16px rgba(255,255,255,0.15);
}
body.modo-gotico .t-step .t-label { color: #444; }
body.modo-gotico .t-step.done .t-label,
body.modo-gotico .t-step.active .t-label { color: #CCCCCC; }


body.modo-gotico .status-pending { color: #AAA; background: #111; border-color: #333; }
body.modo-gotico .status-paid    { color: #CCC; background: #111; border-color: #333; }
body.modo-gotico .status-prep    { color: #BBB; background: #111; border-color: #333; }
body.modo-gotico .status-shipped { color: #DDD; background: #111; border-color: #444; }


body.modo-gotico .method-tab {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.1);
    color: #CCCCCC;
    box-shadow: none;
    transition: all .2s;
}
body.modo-gotico .method-tab:hover {
    background: #1A1A1A;
    border-color: rgba(255,255,255,0.25);
    transform: translate(-2px,-2px);
}
body.modo-gotico .method-tab.active {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}
body.modo-gotico .bank-btn {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.1);
    color: #CCCCCC;
    box-shadow: none;
}
body.modo-gotico .bank-btn:hover,
body.modo-gotico .bank-btn.sel {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
    transform: translate(-2px,-2px);
}

/*QR FRAME */
body.modo-gotico .qr-frame {
    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: none;
}

body.modo-gotico .llavedeqr{
    color: #000;
}

body.modo-gotico .qr-app-badge {
    background: #111;
    color: #CCCCCC;
    border-color: rgba(255,255,255,0.2);
}

/*  ADMIN  */
body.modo-gotico .form-card-admin {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.modo-gotico .form-card-admin h2 { color: #CCCCCC; border-bottom-color: rgba(255,255,255,0.1); }
body.modo-gotico .form-card-admin .field label { color: #444; }
body.modo-gotico .table-wrap {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.1);
}
body.modo-gotico .table-wrap th { background: #060606; color: #CCCCCC; }
body.modo-gotico .table-wrap td { color: #CCCCCC; border-bottom-color: rgba(255,255,255,0.04); }
body.modo-gotico .table-wrap tr:hover td { background: #111; }
body.modo-gotico .slug-badge { background: #111; border-color: rgba(255,255,255,0.1); color: #888; }
body.modo-gotico .btn-logout {
    border-color: rgba(255,255,255,0.15);
    color: #CCC;
}
body.modo-gotico .btn-logout:hover { background: #FFFFFF; color: #000; border-color: #FFFFFF; }
body.modo-gotico .btn-desactivar {
    background: #1A1A1A;
    color: #CCCCCC;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: none;
}
body.modo-gotico .btn-desactivar:hover { background: #FFFFFF; color: #000; }
body.modo-gotico .empty-admin {
    background: #0E0E0E;
    border: 1px solid rgba(255,255,255,0.08);
    color: #444;
}
body.modo-gotico .admin-section-title { color: #CCCCCC; }
body.modo-gotico .admin-section-title::after { background: rgba(255,255,255,0.15); }

/* ── TOAST ── */
body.modo-gotico .toast {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
}
body.modo-gotico .toast-ok {
    background: #111;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.2);
}

/* ── EMPTY STATE ── */
body.modo-gotico .empty-state h2 { color: #CCCCCC; }
body.modo-gotico .empty-state p  { color: #555; }

/* ── NAV-BTN PAY / CLEAR ── */
body.modo-gotico .nav-btn.pay {
    background: #FFFFFF;
    color: #000000;
    border-color: #FFFFFF;
}
body.modo-gotico .nav-btn.pay:hover {
    background: transparent;
    color: #FFFFFF;
}
body.modo-gotico .nav-btn.clear {
    background: #1A1A1A;
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.2);
}

/* ── BTN PRINT ── */
body.modo-gotico .btn-print {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
}
body.modo-gotico .btn-print:hover {
    background: #FFFFFF;
    color: #000;
    border-color: #FFFFFF;
}

/* ── SUCCESS BADGE ── */
body.modo-gotico .success-badge {
    background: #111;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ── ORDER ITEM ── */
body.modo-gotico .order-item { border-bottom-color: rgba(255,255,255,0.06); }
body.modo-gotico .order-item-name  { color: #DDDDDD; }
body.modo-gotico .order-item-qty   { color: #555; }
body.modo-gotico .order-item-price { color: #CCCCCC; }

/* ── FOTO-NAV ── */
body.modo-gotico .foto-nav { background: rgba(0,0,0,0.8); border-color: rgba(255,255,255,0.2); }
body.modo-gotico .foto-nav:hover { background: #FFFFFF; color: #000; }
body.modo-gotico .foto-dot { background: rgba(255,255,255,0.2); }
body.modo-gotico .foto-dot.active { background: #FFFFFF; }

/* ── DRAWER OVERLAY ── */
body.modo-gotico .drawer-overlay { background: rgba(0,0,0,0.85); }

/* ── SCROLLBAR GÓTICA ── */
body.modo-gotico ::-webkit-scrollbar { width: 6px; }
body.modo-gotico ::-webkit-scrollbar-track { background: #080808; }
body.modo-gotico ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
body.modo-gotico ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); 
}

body.modo-gotico .wompi-info,
body.modo-gotico [class*="wompi"],
body.modo-gotico [class*="alert"],
body.modo-gotico [class*="info-box"],
body.modo-gotico [style*="background:#fff3e0"],
body.modo-gotico [style*="background: #fff3e0"],
body.modo-gotico [style*="background:#FFF3E0"] {
    background: #111111 !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #CCCCCC !important;
}


body.modo-gotico div[style*="background:#fff"],
body.modo-gotico div[style*="background: #fff"],
body.modo-gotico div[style*="background:white"],
body.modo-gotico div[style*="background: white"],
body.modo-gotico div[style*="background:#FFF"] {
    background: #111111 !important;
    color: #CCCCCC !important;
}


body.modo-gotico .visa-badge,
body.modo-gotico .card-badge,
body.modo-gotico [class*="badge"]:not(.badge-custom):not(.cart-badge):not(.ab-tag) {
    filter: grayscale(1) brightness(0.7) !important;
}

body.modo-gotico .btn-search {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #FFFFFF !important;
}
body.modo-gotico .btn-search:hover {
    background: #000000 !important;
    color: #FFFFFF !important;
}


body.modo-gotico .alert-error,
body.modo-gotico .error-box,
body.modo-gotico [class*="error"],
body.modo-gotico [class*="not-found"],
body.modo-gotico div[style*="background:#ffe"],
body.modo-gotico div[style*="background:#FFE"],
body.modo-gotico div[style*="background: #ffe"],
body.modo-gotico div[style*="color:#"] {
    background: #111111 !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #CCCCCC !important;
}

body.modo-gotico div[style*="background:#fce"],
body.modo-gotico div[style*="background:#FCE"],
body.modo-gotico div[style*="background:#ffe0"],
body.modo-gotico div[style*="background: rgb(255"],
body.modo-gotico div[style*="background:rgb(255"] {
    background: #111111 !important;
    color: #CCCCCC !important;
    border-color: rgba(255,255,255,0.15) !important;
}


body.modo-gotico .banner-btn-vermas {
    background: #FFFFFF !important;
    color: #000000 !important;
}
body.modo-gotico .banner-btn-vermas:hover {
    background: #EAEAEA !important;
}


body.modo-gotico .badge-card-pers {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    filter: none !important;
}


body.modo-gotico .camisa-card-pers {
    background: linear-gradient(125deg, #161616 20%, #1f1116 90%) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
}
body.modo-gotico .camisa-card-pers .camisa-card-name  { color: #FFFFFF !important; }
body.modo-gotico .camisa-card-pers .camisa-card-precio{ color: #CCCCCC !important; }
body.modo-gotico .camisa-card-pers .camisa-card-sub   { color: #888888 !important; }


#pers-colors > div {
    border: 2px solid rgba(0,0,0,0.18);
    transition: box-shadow .15s, transform .15s, border-color .15s;
}
#pers-colors > div.sel {
    box-shadow: 0 0 0 3px var(--pink), 0 0 0 5px var(--dark);
    transform: scale(1.1);
    border-color: transparent;
}
body.modo-gotico #pers-colors > div {
    border-color: rgba(255,255,255,0.25);
}
body.modo-gotico #pers-colors > div.sel {
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #000000;
}


body.modo-gotico input[type="file"] {
    background: #0A0A0A !important;
    color: #CCCCCC !important;
    border: 1px dashed rgba(255,255,255,0.25) !important;
}
body.modo-gotico input[type="file"]::file-selector-button {
    background: #1A1A1A;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
}


body.modo-gotico .visa-badge,
body.modo-gotico .card-badge,
body.modo-gotico [class*="badge"]:not(.badge-custom):not(.cart-badge):not(.ab-tag):not(.badge-card-pers) {
    filter: grayscale(1) brightness(0.7) !important;
}

#pers-colors > div.pers-color-swatch {
    cursor: url('imagenes/mano.png') 32 32, pointer;
}
#pers-colors > div.pers-color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
}
body.modo-gotico #pers-colors > div.pers-color-swatch:hover {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Que no se pelee con el estado seleccionado */
#pers-colors > div.pers-color-swatch.sel:hover {
    transform: scale(1.18);
}

/* Modal de aviso de accesibilidad */
#modal-accesibilidad {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(6px);
}
#modal-accesibilidad.visible { display: flex; }

.aviso-card {
    background: #fff;
    border: 3px solid #1A1A2E;
    border-radius: 20px;
    box-shadow: 8px 8px 0 #1A1A2E;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;       
    overflow-y: auto;       
    animation: modalPop .35s cubic-bezier(.17,.67,.3,1.25);
}

.aviso-header {
    background: linear-gradient(135deg, #1A1A2E 0%, #2d1a3e 100%);
    padding: 1.5rem;
    text-align: center;
}
.aviso-header .aviso-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: .5rem;
}
.aviso-header h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #AAFF00;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.aviso-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.aviso-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #F5F5F5;
    border: 2px solid #1A1A2E;
    border-radius: 12px;
    padding: .9rem 1rem;
}
.aviso-item .aviso-icon { font-size: 1.6rem; flex-shrink: 0; }
.aviso-item p {
    font-size: .92rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}
.aviso-item p strong { color: #1A1A2E; }

.aviso-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky; 
    bottom: 0;
    background: #fff;
    border-top: 2px solid #eee;
}
.btn-continuar-normal {
    width: 100%;
    background: #FF2D78;
    color: #FFFFFF;
    border: 3px solid #1A1A2E;
    border-radius: 12px;
    padding: 14px 0;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 5px 5px 0 #1A1A2E;
    transition: transform .15s, box-shadow .15s;
}
.btn-continuar-normal:hover {
    transform: translate(-2px,-2px);
    box-shadow: 7px 7px 0 #1A1A2E;
    background: #e0005e;
}

.btn-activar-gotico {
    width: 100%;
    background: #111;
    color: #FFFFFF;
    border: 3px solid #1A1A2E;
    border-radius: 12px;
    padding: 12px 0;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 5px 5px 0 #555;
    transition: transform .15s, box-shadow .15s;
}
.btn-activar-gotico:hover {
    transform: translate(-2px,-2px);
    box-shadow: 7px 7px 0 #555;
    background: #2d1a3e;
}

.aviso-nota {
    text-align: center;
    font-size: .78rem;
    color: #888;
    padding-bottom: .5rem;
    font-weight: 600;
}

@media (max-width: 600px) {
    .card-top { height: 100px; font-size: 3rem; }
    .aviso-card { border-radius: 14px; }
    .aviso-header h2 { font-size: 1.4rem; }
}
        
/*RESPONSIVE*/
@media (max-width: 600px) {
    .cart-item { width: 100%; }
    .form-card, .summary, .order-summary { width: 100%; display: block; margin-left: 0; }
    .field-row { grid-template-columns: 1fr; }
    .chatbot-window { width: calc(100vw - 40px); left: 20px; }
}

/* ══ADMIN BAR══ */
.admin-bar {
    background: var(--dark);
    padding: .7rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; top: 0; z-index: 200;
    border-bottom: 3px solid var(--green);
}
.admin-bar .ab-left  { display: flex; align-items: center; gap: 12px; }
.admin-bar .ab-logo  { font-family:'Fredoka One',cursive; font-size:1.4rem; color:var(--green); }
.admin-bar .ab-logo span { color: var(--pink); }
.admin-bar .ab-tag   { background:var(--pink); color:white; font-size:.72rem; padding:3px 10px; border-radius:20px; font-weight:900; }
.btn-logout { background:none; border:2px solid rgba(255,255,255,.3); color:white; border-radius:8px; padding:6px 14px; font-family:'Fredoka One',cursive; font-size:.85rem; transition:background .15s; }
.btn-logout:hover { background:var(--pink); border-color:var(--pink); }

/* ══ FORMULARIO ══ */
.form-card-admin {
    background: white;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.8rem;
    margin-bottom: 2rem;
}
.form-card-admin h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: var(--pink);
    margin-bottom: 1.2rem;
    padding-bottom: .7rem;
    border-bottom: 2px dashed var(--dark);
}
.form-card-admin .field { margin-bottom: 1rem; }
.form-card-admin .field label {
    display: block;
    font-weight: 900;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #888;
    margin-bottom: 5px;
}
.form-card-admin .field input,
.form-card-admin .field textarea,
.form-card-admin .field select {
    width: 100%;
    border: var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'Nunito', sans-serif;
    font-size: .95rem;
    transition: outline .1s;
}
.form-card-admin .field input:focus,
.form-card-admin .field textarea:focus,
.form-card-admin .field select:focus { outline: 3px solid var(--pink); outline-offset: 1px; }
.form-card-admin .field textarea { resize: vertical; min-height: 90px; }
.form-card-admin .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:560px){ .form-card-admin .field-row { grid-template-columns: 1fr; } }

.btn-guardar {
    width: 100%;
    background: var(--green);
    border: var(--border);
    border-radius: 12px;
    padding: 13px 0;
    font-family: 'Fredoka One', cursive;
    font-size: 1.1rem;
    color: var(--dark);
    box-shadow: var(--shadow);
    margin-top: .5rem;
    transition: transform .15s, box-shadow .15s;
}
.btn-guardar:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 #1A1A2E; }

/* ══ TABLA ══ */
.table-wrap {
    background: white;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th {
    background: var(--dark);
    color: var(--green);
    font-family: 'Fredoka One', cursive;
    font-size: .88rem;
    padding: .8rem 1rem;
    text-align: left;
}
.table-wrap td {
    padding: .8rem 1rem;
    border-bottom: 2px solid #f0f0f0;
    font-size: .9rem;
    vertical-align: middle;
}
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:hover td { background: #fafff5; }

.camisa-preview {
    width: 60px; height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 8px;
    display: block;
}
.sin-foto {
    width: 60px; height: 60px;
    background: var(--panel);
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #bbb;
}
.slug-badge {
    font-family: monospace;
    font-size: .82rem;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 6px;
    border: 2px solid #ddd;
}
.btn-desactivar {
    background: var(--pink);
    color: white;
    border: var(--border);
    border-radius: 8px;
    padding: 6px 12px;
    font-family: 'Fredoka One', cursive;
    font-size: .82rem;
    box-shadow: 2px 2px 0 #1A1A2E;
    transition: transform .1s;
}
.btn-desactivar:hover { transform: translate(-1px,-1px); }

/* ══ SECTION TITLE ══ */
.admin-section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
}
.admin-section-title::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--dark);
    border-radius: 4px;
}

/* ══ EMPTY STATE ══ */
.empty-admin {
    background: white;
    border: var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    color: #888;
    box-shadow: var(--shadow);
}
.empty-admin .icon { font-size: 3rem; margin-bottom: .5rem; }

/* ══ TOAST ══ */
.toast-ok {
    position: fixed; bottom: 24px; right: 24px;
    background: var(--dark); color: var(--green);
    padding: 12px 24px;
    border: 3px solid var(--dark);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    z-index: 999;
    animation: fadeInUp .4s ease, fadeOut .4s ease 2.5s forwards;
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes fadeOut  { to{opacity:0;transform:translateY(20px)} }

/*RESPONSIVE FIXES — SpaceToFly*/

/* MOBILE GENERAL (≤600px) */
@media (max-width: 600px) {

    /* Header */
    header {
        padding: 0 1rem;
        height: auto;
        min-height: 60px;
        flex-wrap: nowrap;
        gap: 6px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header-left { gap: 8px; flex-wrap: wrap; }
    .header-right { gap: 6px; flex-wrap: wrap; }
    .logo { font-size: 1.5rem; }

    .btn-comic {
        font-size: .8rem;
        padding: 6px 10px;
    }
    .cart-btn {
        padding: 8px 14px;
        font-size: .78rem;
    }
    
    .cart-badge{
        font-size: .6rem;
        width: 20px; height: 20px;
    }
    
    .nav-btn {
        padding: 7px 12px;
        font-size: .82rem;
    }

    /* Hero */
    .hero { padding: 2rem; }
    .hero h1 { font-size: 1.8rem; opacity: 1; }
    .hero p  { opacity: 1; font-size: 1rem; }

    /* Page banner */
    .page-banner h1 { font-size: 1.6rem; }
    .page-banner p  { font-size: .9rem; }

    /* Main */
    main { padding: 1.5rem 1rem 3rem; }

    /* Grid productos */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .card-top { height: 100px; font-size: 3rem; }
    .card-name { font-size: 1.1rem; }
    .card-price { font-size: .95rem; }
    .btn-add { font-size: .85rem; padding: 9px 0; }

    /* Carrito items */
    .cart-item {
        width: 100%;
        flex-wrap: wrap;
        gap: .7rem;
        padding: .9rem 1rem;
    }
    .item-emoji { font-size: 2rem; }
    .item-name  { font-size: 1rem; }
    .item-subtotal { min-width: auto; }

    /* Summary carrito */
    .summary {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 1.2rem;
    }

    /* Order summary factura */
    .order-summary {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 1.2rem;
    }

    /* Form card */
    .form-card {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    
    /* Field row */
    .field-row { grid-template-columns: 1fr; }

    /* Payment methods */
    .payment-methods { gap: 6px; }
    .method-tab {
        min-width: 90px;
        padding: .7rem .5rem;
        font-size: .82rem;
    }
    .method-tab .m-icon { font-size: 1.5rem; }

    /* QR container */
    .qr-container { flex-direction: column; align-items: center; }
    .qr-frame { width: 180px; height: 180px; }

    /* PSE banks */
    .pse-banks { grid-template-columns: repeat(2, 1fr); }

    /* Confirmación pedido */
    .conf-code { font-size: 1.4rem; letter-spacing: 2px; }
    .conf-actions { flex-direction: column; }
    .conf-actions a,
    .conf-actions button { width: 100%; text-align: center; justify-content: center; }

    /* Order confirmed */
    .conf-header { padding: 1.5rem 1rem; }
    .conf-body   { padding: 1.2rem 1rem; }

    /* Tracking */
    .tracking-wrap { padding: 0; }
    .search-row { flex-direction: column; }
    .search-row input { font-size: .95rem; }
    .btn-search { width: 100%; }

    .tracking-steps { padding: 0; }
    .t-step .t-label { font-size: .65rem; }
    .t-step .t-dot { width: 28px; height: 28px; font-size: .8rem; }

    /* Toast */
    .toast { bottom: 80px; right: 16px; left: 16px; text-align: center; }

    /* Chatbot */
    .chatbot-window {
        width: calc(100vw - 32px);
        left: 16px;
        bottom: 90px;
    }

    /* Botones flotantes */
    .whatsapp-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }
    .chatbot-bubble  { bottom: 16px; left: 16px; width: 48px; height: 48px; }
    
    /* Footer */
    footer { padding: 1.5rem 1rem; }
    .footer-social { gap: 8px; }
    .social-link {
        padding: 6px 10px;
        font-size: .82rem;
    }
    .social-link img { width: 20px; height: 20px; }

    /* Modales */
    .modal { border-radius: 14px; }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-product-img { height: 160px; font-size: 3.5rem; }

    /* Invoice */
    .inv-header { padding: 1.2rem 1.2rem; }
    .inv-section { padding: 1.2rem 1.2rem; }
    .inv-totals  { padding: 1rem 1.2rem; }
    .inv-footer  { padding: .8rem 1.2rem; flex-direction: column; text-align: center; }
    .client-grid { grid-template-columns: 1fr; }
    .inv-table th, .inv-table td { padding: .6rem .6rem; font-size: .82rem; }

    /* Empty state */
    .empty-state { padding: 2.5rem 1rem; }
    .empty-state .icon { font-size: 3.5rem; }

    /* Payment wrapper */
    .payment-wrapper { padding: 0; }
    .pay-card { padding: 1.2rem; }

    /* Invoice actions */
    .invoice-actions { flex-direction: column; }
    .invoice-actions button,
    .invoice-actions a { width: 100%; text-align: center; }
}

/* ── TABLET (601px – 900px) ── */
@media (min-width: 601px) and (max-width: 900px) {

    header { padding: 0 1.2rem; }
    .logo  { font-size: 1.7rem; }

    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    .cart-item { width: 100%; }
    .summary   { width: 100%; display: block; margin-left: 0; margin-top: 1.2rem; }

    .payment-methods { flex-wrap: wrap; }
    .method-tab { min-width: 120px; }

    main.two-col { grid-template-columns: 1fr; }

    .conf-actions { flex-wrap: wrap; gap: .8rem; }
}

/* ADMIN PANEL RESPONSIVE */
@media (max-width: 900px) {

    .admin-bar {
        padding: .6rem 1rem;
        flex-wrap: wrap;
        gap: 6px;
        height: auto;
    }
    .admin-bar .ab-user { display: none; }

    /* Tabla admin — scroll horizontal */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 700px; }

    .metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: .8rem;
    }
    .metric-card .mc-val { font-size: 1.6rem; }

    .filters { gap: 6px; }
    .filter-btn { padding: 5px 12px; font-size: .82rem; }

    main { padding: 1rem; }
}

@media (max-width: 480px) {
    .metrics { grid-template-columns: 1fr 1fr; }
    .metric-card { padding: .8rem; }
    .metric-card .mc-val { font-size: 1.4rem; }
}


@media (max-width: 768px) {
    .hero h1, .hero p { opacity: 1; }
}

@media (max-width: 768px) {
    .btn-comic { opacity: 1 !important; transform: translateY(0) !important; }
}

/*LOGIN ADMIN*/
@media (max-width: 480px) {
    .login-card { border-radius: 14px; margin: .5rem; }
    .login-header { padding: 1.5rem; }
    .login-body   { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .camisa-img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}
