/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #0d0d0d; color: #f0f0f0; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== MARCO CENTRAL ===== */
.site-wrapper {
    max-width: 1700px;
    margin: 0 auto;
    width: 100%;
}

/* ===== HEADER ===== */
.site-header {
    background: #0d0d0d;
    border-bottom: 1px solid #1e1e1e;
    position: sticky; top: 0; z-index: 100;
}
.site-header .site-wrapper {
    display: flex; align-items: center; justify-content: center; height: 72px;
    padding: 0 32px;
}
.logo img { height: 48px; width: auto; display: block; }

/* ===== MAIN ===== */
.site-main { min-height: calc(100vh - 72px - 60px); }
.site-main > .site-wrapper { overflow-x: hidden; }

/* ===== SLIDER ===== */
.slider-section { width: 100%; }
.slider {
    position: relative; width: 100%; aspect-ratio: 2/1; overflow: hidden; background: #000;
    border-radius: 14px;
}
.slide {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slider-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.35) 0%, transparent 55%);
    pointer-events: none;
}
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 1.6rem; width: 44px; height: 44px;
    border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; backdrop-filter: blur(4px); user-select: none;
}
.slider-arrow:hover { background: rgba(255,107,53,0.75); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.3); cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.slider-dot.active { background: #ff6b35; transform: scale(1.35); }

/* ===== PADDING INTERNO DE SECCIONES ===== */
.inner { padding: 0 32px; }

/* ===== BOTONES ===== */
.btn {
    display: inline-block; padding: 13px 28px;
    border-radius: 10px; font-size: 1rem; font-weight: 600;
    cursor: pointer; border: none; transition: all 0.2s; text-align: center;
}
.btn-primary { background: #ff6b35; color: #fff; }
.btn-primary:hover { background: #e55a27; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; border-radius: 8px; }
.btn-whatsapp { background: #25d366; color: #fff; font-size: 1.05rem; }
.btn-whatsapp:hover { background: #1db954; }

/* ===== TIPOGRAFÍA DE SECCIÓN ===== */
.section-title {
    font-size: 1.9rem; font-weight: 800; color: #f0f0f0;
    margin-bottom: 36px; letter-spacing: -0.4px;
}
.section-header {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px;
}
.section-header .section-title { margin-bottom: 0; }
.ver-todos-link { color: #ff6b35; font-weight: 600; font-size: 0.95rem; }
.ver-todos-link:hover { text-decoration: underline; }

/* ===== CÓMO FUNCIONA ===== */
.como-funciona { padding: 70px 32px; background: #111; }
.como-funciona .section-title { text-align: center; }
.pasos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.paso {
    background: #1a1a1a; border-radius: 16px; padding: 36px 24px;
    text-align: center; border: 1px solid #2a2a2a; position: relative;
}
.paso-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: #ff6b35; color: #fff; width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem;
}
.paso-icon { font-size: 2.6rem; margin-bottom: 14px; }
.paso h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #f0f0f0; }
.paso p  { font-size: 0.88rem; color: #888; line-height: 1.6; }

/* ===== PRODUCTOS ===== */
.productos-section { padding: 70px 32px; background: #0d0d0d; }
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
}
.producto-card {
    border: 1px solid #222; border-radius: 14px; overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; background: #1a1a1a;
}
.producto-card:hover { box-shadow: 0 8px 28px rgba(255,107,53,0.15); transform: translateY(-3px); border-color: #ff6b35; }
.producto-img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.producto-emoji { font-size: 5rem; line-height: 1; }
.producto-card-body { padding: 16px 18px; }
.producto-card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: #f0f0f0; }
.producto-desc { font-size: 0.84rem; color: #888; line-height: 1.5; margin-bottom: 14px; }
.producto-footer { display: flex; align-items: center; justify-content: space-between; }
.precio { font-size: 1.15rem; font-weight: 800; color: #ff6b35; }

/* ===== BANNER CTA ===== */
.banner-cta { padding: 64px 32px; text-align: center; background: #111; border-top: 1px solid #1e1e1e; }
.banner-cta h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.banner-cta p  { font-size: 1rem; color: #888; margin-bottom: 28px; }

/* ===== PRODUCTO HERO (configurador) ===== */
.producto-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    background: #111;
    border-top: 1px solid #1e1e1e;
    border-bottom: 1px solid #1e1e1e;
    margin-top: 28px;
    width: 100%;
    overflow-x: hidden;
}
.ph-imagen, .ph-config { min-width: 0; }

/* Columna izquierda: imagen 1:1 define la altura */
.ph-imagen {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 72px;
    background: #0a0a0a;
    border-radius: 14px;
    overflow: hidden;
    align-self: start;
}
.ph-img-principal-wrap {
    aspect-ratio: 1 / 1;          /* imagen siempre cuadrada */
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    width: 100%;
}
.ph-img-principal-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: opacity 0.18s ease;
}

/* Flechas centradas en la zona de imagen (encima de los thumbs) */
.ph-nav-arrow {
    position: absolute;
    top: 0; bottom: 88px;         /* reserva espacio para el thumb strip */
    margin: auto;                  /* centra verticalmente en la zona de imagen */
    height: 50px;
    width: 50px;
    background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.18);
    color: #fff; font-size: 2.2rem;
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.15s;
    backdrop-filter: blur(6px); user-select: none; z-index: 20;
    line-height: 1;
}
.ph-nav-arrow:hover { background: #ff6b35; border-color: #ff6b35; transform: scale(1.1); }
.ph-nav-prev { left: 14px; }
.ph-nav-next { right: 14px; }

.ph-zoom-btn {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 1rem; width: 38px; height: 38px;
    border-radius: 8px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; backdrop-filter: blur(4px); z-index: 5;
}
.ph-zoom-btn:hover { background: #ff6b35; border-color: #ff6b35; }

/* Thumbnails horizontales */
.ph-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
    background: #0d0d0d;
    border-top: 1px solid #1a1a1a;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
    flex-shrink: 0;
}
.ph-thumbs::-webkit-scrollbar { height: 4px; }
.ph-thumbs::-webkit-scrollbar-track { background: transparent; }
.ph-thumbs::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }
.ph-thumb-wrap {
    flex-shrink: 0;
    width: 72px; height: 72px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.15s;
}
.ph-thumb-wrap:hover { transform: scale(1.05); }
.ph-thumb-wrap.activo { border-color: #ff6b35; }
.ph-thumb-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.ph-config {
    padding: 0 44px 32px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.ph-badge {
    display: inline-block;
    background: rgba(255,107,53,0.12);
    color: #ff6b35;
    border: 1px solid rgba(255,107,53,0.25);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
}
.ph-nombre {
    font-size: 2.6rem;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1.1;
    letter-spacing: -1px;
}
/* Características del producto */
.ph-caracteristicas {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.ph-caracteristicas li {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    font-size: 0.82rem;
    color: #bbb;
    line-height: 1.3;
}
.ph-caracteristicas li:first-child { padding-left: 0; }
.ph-caracteristicas li:not(:last-child) {
    border-right: 1px solid #2e2e2e;
}
.ph-caract-icon {
    display: flex;
    align-items: center;
    color: #fff;
    flex-shrink: 0;
}

/* Lista de variaciones */
.config-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid #222;
    padding-top: 14px;
}
.config-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 10px;
    gap: 10px;
    transition: border-color 0.2s;
}
.config-item.config-base {
    border-color: rgba(255,107,53,0.25);
    background: rgba(255,107,53,0.05);
}
.config-item.tiene-qty {
    border-color: rgba(255,107,53,0.4);
}
.config-item.bloqueado {
    opacity: 0.45;
    pointer-events: none;
}
.config-item.bloqueado .ci-nombre { color: #888; }
.ci-lock-msg {
    display: none;
    font-size: 0.72rem;
    color: #888;
    margin-top: 3px;
}
.config-item.bloqueado .ci-lock-msg { display: block; }

.ci-info { flex: 1; min-width: 0; }
.ci-nombre {
    font-weight: 600;
    color: #e8e8e8;
    font-size: 0.93rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ci-precio-unit {
    font-size: 0.8rem;
    color: #666;
    margin-top: 3px;
}
.ci-badge-incluido {
    background: rgba(255,107,53,0.15);
    color: #ff6b35;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.ci-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.ci-btn {
    width: 36px; height: 36px;
    border-radius: 9px;
    border: 1px solid #333;
    background: #222;
    color: #f0f0f0;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}
.ci-btn:hover { background: #ff6b35; border-color: #ff6b35; }
.ci-qty {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f0f0f0;
    min-width: 28px;
    text-align: center;
}

/* Total */
.config-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 18px 0 6px;
    border-top: 1px solid #222;
}
.config-total-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}
.config-total-precio {
    font-size: 2.4rem;
    font-weight: 900;
    color: #ff6b35;
    letter-spacing: -1px;
}

/* Botón encargar */
.btn-encargar {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 12px;
    width: 100%;
    text-align: center;
}
.ph-nota {
    font-size: 0.75rem;
    color: #444;
    text-align: center;
    margin-top: -8px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.92);
    align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
}
.lightbox.active { display: flex; }
.lb-img-wrap {
    max-width: 88vw;
    max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
.lb-img-wrap img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lb-close {
    position: fixed; top: 20px; right: 24px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 1.2rem; width: 42px; height: 42px;
    border-radius: 50%; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 10;
}
.lb-close:hover { background: #ff6b35; border-color: #ff6b35; }
.lb-arrow {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 2rem; width: 52px; height: 52px;
    border-radius: 50%; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 10; user-select: none;
}
.lb-arrow:hover { background: #ff6b35; border-color: #ff6b35; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
}

/* ===== FORMULARIO DEL PEDIDO ===== */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
    font-size: 0.82rem; font-weight: 700; color: #bbb; text-transform: uppercase; letter-spacing: 0.5px;
}
.form-label-sub { font-weight: 400; color: #555; text-transform: none; letter-spacing: 0; }
.form-input {
    background: #1a1a1a; border: 1px solid #2e2e2e; border-radius: 10px;
    color: #f0f0f0; font-size: 0.95rem; padding: 11px 14px;
    outline: none; transition: border-color 0.2s; font-family: inherit;
}
.form-input:focus { border-color: #ff6b35; }
.form-input::placeholder { color: #444; }

/* Upload slots */
.upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upload-slot {
    position: relative; aspect-ratio: 4 / 3;
    border: 2px dashed #2e2e2e; border-radius: 10px;
    overflow: hidden; cursor: pointer;
    background: #1a1a1a;
    transition: border-color 0.2s, background 0.2s;
}
.upload-slot:hover, .upload-slot.dragover {
    border-color: #ff6b35; background: rgba(255,107,53,0.06);
}
.upload-slot.tiene-foto { border-style: solid; border-color: #ff6b35; }
.upload-input {
    position: absolute; inset: 0; opacity: 0;
    width: 100%; height: 100%; cursor: pointer; z-index: 3;
}
.upload-ph {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; color: #444; font-size: 0.75rem; text-align: center; padding: 8px;
    transition: opacity 0.2s;
}
.up-icon { font-size: 1.6rem; }
.upload-preview {
    position: absolute; inset: 0; z-index: 2;
    width: 100%; height: 100%; object-fit: cover; display: none;
}
.upload-slot.tiene-foto .upload-ph { opacity: 0; }
.upload-slot.tiene-foto .upload-preview { display: block; }
.upload-rm {
    position: absolute; top: 5px; right: 5px; z-index: 4;
    background: rgba(0,0,0,0.65); border: none; color: #fff;
    width: 22px; height: 22px; border-radius: 50%; font-size: 0.7rem;
    cursor: pointer; display: none; align-items: center; justify-content: center;
    line-height: 1;
}
.upload-slot.tiene-foto .upload-rm { display: flex; }

/* ===== CARRITO ===== */
.header-inner { position: relative; }

.cart-btn {
    position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: #f0f0f0; padding: 8px; border-radius: 10px;
    transition: background 0.2s; display: flex; align-items: center;
}
.cart-btn:hover { background: rgba(255,255,255,0.08); }
.cart-badge {
    position: absolute; top: 4px; right: 4px;
    background: #ff6b35; color: #fff;
    width: 18px; height: 18px; border-radius: 50%;
    font-size: 0.62rem; font-weight: 800;
    display: none; align-items: center; justify-content: center;
    line-height: 1;
}

.cart-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); z-index: 200;
    backdrop-filter: blur(3px);
}
.cart-overlay.active { display: block; }

.cart-drawer {
    position: fixed; top: 0; right: -440px; bottom: 0;
    width: 420px; max-width: 100vw;
    background: #111; border-left: 1px solid #1e1e1e;
    z-index: 201; display: flex; flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.active { right: 0; }

.cart-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid #1e1e1e;
    flex-shrink: 0;
}
.cart-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 1rem; font-weight: 700; color: #f0f0f0;
}
.cart-close-btn {
    background: none; border: none; color: #666;
    font-size: 1.1rem; cursor: pointer; padding: 5px 9px;
    border-radius: 7px; transition: color 0.2s, background 0.2s; line-height: 1;
}
.cart-close-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }

.cart-items {
    flex: 1; overflow-y: auto; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    scrollbar-width: thin; scrollbar-color: #333 transparent;
}
.cart-empty { color: #555; text-align: center; padding: 48px 0; font-size: 0.9rem; }

.cart-item {
    background: #1a1a1a; border: 1px solid #242424;
    border-radius: 12px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 9px;
    transition: border-color 0.2s;
}
.cart-item:hover { border-color: #2e2e2e; }
.cart-item-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.cart-item-title { font-weight: 700; color: #f0f0f0; font-size: 0.88rem; line-height: 1.3; }
.cart-item-subtotal { font-size: 1rem; font-weight: 800; color: #ff6b35; white-space: nowrap; flex-shrink: 0; }
.cart-item-vars { display: flex; flex-direction: column; gap: 3px; }
.ci-var-line { font-size: 0.79rem; color: #777; }
.ci-var-price { color: #555; }
.cart-item-actions { display: flex; gap: 7px; }
.ci-action-btn {
    flex: 1; padding: 7px 10px; border-radius: 8px; border: 1px solid #2a2a2a;
    background: #1e1e1e; color: #888; font-size: 0.79rem; cursor: pointer;
    transition: all 0.18s; font-family: inherit;
}
.ci-edit:hover { border-color: #ff6b35; color: #ff6b35; background: rgba(255,107,53,0.07); }
.ci-del:hover { border-color: #cc4444; color: #cc4444; background: rgba(200,50,50,0.07); }

.cart-footer {
    padding: 16px 20px; border-top: 1px solid #1e1e1e;
    display: flex; flex-direction: column; gap: 12px; flex-shrink: 0;
}
.cart-total-row {
    display: flex; justify-content: space-between; align-items: baseline;
}
.cart-total-label { font-size: 0.84rem; color: #555; }
.cart-total-amount { font-size: 1.65rem; font-weight: 900; color: #f0f0f0; letter-spacing: -0.5px; }

/* Express toggle */
.express-toggle {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    border-radius: 10px; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}
.express-toggle input[type="checkbox"] { display: none; }
.express-toggle.activo {
    border-color: rgba(245,196,0,0.4);
    background: rgba(245,196,0,0.05);
}
.express-toggle-content { display: flex; align-items: center; gap: 10px; flex: 1; }
.express-toggle-icon { font-size: 1.1rem; }
.express-toggle-nombre { font-weight: 600; font-size: 0.9rem; color: #e8e8e8; display: block; }
.express-toggle-desc { font-size: 0.77rem; color: #666; display: block; margin-top: 1px; }
.express-switch {
    width: 40px; height: 22px; flex-shrink: 0;
    background: #333; border-radius: 11px;
    position: relative; transition: background 0.22s;
}
.express-switch-thumb {
    position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%;
    background: #777; transition: transform 0.22s, background 0.22s;
}
.express-toggle.activo .express-switch { background: #f5c400; }
.express-toggle.activo .express-switch-thumb { transform: translateX(18px); background: #fff; }

/* Fecha express */
.fecha-tachada { text-decoration: line-through; color: #cc3333 !important; }
.fecha-express { color: #4caf50; }
.ci-express-line { color: #b8900a !important; }

/* Shake si no selecciona nada */
@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%,60%  { transform: translateX(-6px); }
    40%,80%  { transform: translateX(6px); }
}
.btn-shake { animation: shake 0.45s ease; }

/* ===== CHECKOUT ===== */
.checkout-section { padding: 60px 0; min-height: calc(100vh - 160px); }
.checkout-grid {
    max-width: 960px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start;
}
@media (max-width: 720px) { .checkout-grid { grid-template-columns: 1fr; } }
.ck-title { font-size: 1.25rem; font-weight: 800; color: #f0f0f0; margin-bottom: 20px; }
.ck-summary {
    background: #111; border: 1px solid #222; border-radius: 16px;
    padding: 28px; position: sticky; top: 90px;
}
.ck-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.ck-item { background: #1a1a1a; border: 1px solid #252525; border-radius: 12px; padding: 16px; }
.ck-item-title { font-weight: 700; color: #f0f0f0; font-size: 0.97rem; margin-bottom: 8px; }
.ck-item-vars { display: flex; flex-direction: column; gap: 4px; }
.ck-item-vars span { font-size: 0.83rem; color: #666; }
.ck-item-sub { font-size: 1.05rem; font-weight: 800; color: #ff6b35; margin-top: 10px; }
.ck-total-row {
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 1px solid #222; padding-top: 16px;
}
.ck-total-row span { font-size: 0.85rem; color: #555; }
.ck-total-row strong { font-size: 1.7rem; font-weight: 900; color: #f0f0f0; letter-spacing: -0.5px; }
.ck-form-wrap { background: #111; border: 1px solid #222; border-radius: 16px; padding: 28px; }
.ck-field { margin-bottom: 18px; }
.ck-label { display: block; font-size: 0.85rem; font-weight: 600; color: #aaa; margin-bottom: 6px; }
.ck-label-sub { font-weight: 400; color: #555; }
.req { color: #ff6b35; }
.ck-input {
    width: 100%; box-sizing: border-box;
    background: #0d0d0d; border: 1px solid #2a2a2a; color: #f0f0f0;
    border-radius: 10px; padding: 11px 14px; font-size: 0.97rem;
    font-family: inherit; outline: none; transition: border-color 0.2s;
}
.ck-input:focus { border-color: #ff6b35; }
.ck-drop-zone {
    border: 2px dashed #2a2a2a; border-radius: 12px; padding: 28px 20px;
    text-align: center; color: #555; display: flex; flex-direction: column;
    align-items: center; gap: 10px; cursor: default; transition: border-color 0.2s, background 0.2s;
}
.ck-drop-zone.drag-over { border-color: #ff6b35; background: rgba(255,107,53,0.05); }
.ck-upload-btn {
    background: #1e1e1e; border: 1px solid #333; color: #aaa;
    border-radius: 8px; padding: 8px 18px; font-size: 0.86rem;
    cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.ck-upload-btn:hover { border-color: #ff6b35; color: #ff6b35; }
.ck-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.ck-preview-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; }
.ck-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ck-preview-rm {
    position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.7);
    color: #fff; border: none; border-radius: 50%; width: 22px; height: 22px;
    font-size: 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ck-error { background: rgba(200,50,50,0.12); border: 1px solid #cc4444; color: #e07070;
    border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; margin-bottom: 14px; }
.ck-submit { width: 100%; font-size: 1.1rem; padding: 14px; margin-top: 4px; }
.ck-success {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.ck-success-box {
    background: #111; border: 1px solid #222; border-radius: 20px;
    padding: 48px 40px; text-align: center; max-width: 420px;
}
.ck-success-icon {
    width: 64px; height: 64px; border-radius: 50%; background: rgba(76,175,80,0.15);
    border: 2px solid #4caf50; color: #4caf50; font-size: 2rem;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.ck-success-box h2 { font-size: 1.6rem; font-weight: 800; color: #f0f0f0; margin-bottom: 12px; }
.ck-success-box p { color: #666; font-size: 0.96rem; line-height: 1.55; }

/* ===== FOOTER — ancho completo ===== */
.site-footer {
    background: #000; border-top: 1px solid #1a1a1a;
    padding: 22px 32px; width: 100%;
    text-align: center; font-size: 0.84rem; color: #444;
}

/* Fecha estimada de envío */
.ph-entrega {
    display: flex; flex-direction: column; gap: 4px;
    background: rgba(30, 50, 110, 0.35);
    border: 1px solid rgba(80, 120, 230, 0.22);
    border-radius: 10px; padding: 10px 14px;
    font-size: 0.88rem; color: #fff;
}
.ph-entrega-main { display: flex; align-items: center; }
.ph-entrega strong { color: #fff; font-size: 1rem; font-weight: 800; }
.ph-entrega-nota { font-size: 0.75rem; color: rgba(255,255,255,0.65); padding-left: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .producto-hero { grid-template-columns: 1fr; }
    .ph-imagen { position: static; }
    .ph-config { padding: 32px 24px; }
    .ph-nombre { font-size: 2rem; }
}
@media (max-width: 900px) {
    .pasos-grid { grid-template-columns: 1fr; }
    .site-header .site-wrapper { padding: 0 16px; }
    .como-funciona, .banner-cta { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 600px) {
    .section-title { font-size: 1.5rem; }
    .slider-arrow { display: none; }
    .ph-config { padding: 28px 20px; }
    .ph-nombre { font-size: 1.7rem; }
    .config-total-precio { font-size: 1.8rem; }
}
