/* ============================================================
   COTIZADOR DE EQUIPOS - SMART GAMER
   Paleta del proyecto: #fed700 (amarillo), #242424 (oscuro)
   ============================================================ */

.cotizador-area {
    background: #f4f4f4;
}

/* ---------- Hero / selector de modo ---------- */
.ctz-hero {
    background: #242424 url('../images/bg-banner/2.jpg') center/cover no-repeat;
    position: relative;
    padding: 50px 0 60px;
    text-align: center;
    color: #fff;
}
.ctz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(36, 36, 36, 0.88);
}
.ctz-hero > .container { position: relative; z-index: 2; }
.ctz-hero h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.ctz-hero h1 span { color: #fed700; }
.ctz-hero p { color: #cfcfcf; max-width: 640px; margin: 0 auto 25px; }

.ctz-mode-switch {
    display: inline-flex;
    background: #363f4d;
    border-radius: 50px;
    padding: 5px;
    gap: 5px;
}
.ctz-mode-switch button {
    border: none;
    background: transparent;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}
.ctz-mode-switch button.active {
    background: #fed700;
    color: #242424;
}

/* ---------- Barra de progreso del armado ---------- */
.ctz-progress-wrap {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    padding: 14px 0;
    position: sticky;
    /* Debajo del menú sticky del sitio (51px de alto) para que no quede oculta */
    top: 51px;
    z-index: 50;
}
.ctz-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 6px;
}
.ctz-progress-labels .pct { color: #e80f0f; }
.ctz-progress-labels .pct.done { color: #2e9e5b; }
.ctz-progress-bar {
    height: 8px;
    background: #ebebeb;
    border-radius: 8px;
    overflow: hidden;
}
.ctz-progress-bar > span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #fed700, #ffb700);
    border-radius: 8px;
    transition: width .4s ease;
}

/* ---------- Pre-armados ---------- */
.ctz-presets .single-preset {
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    padding: 30px 25px;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.ctz-presets .single-preset:hover {
    border-color: #fed700;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
    transform: translateY(-4px);
}
.single-preset .preset-badge {
    position: absolute;
    top: 14px;
    right: -32px;
    background: #e80f0f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(38deg);
    text-transform: uppercase;
}
.single-preset .preset-icon {
    font-size: 46px;
    color: #fed700;
    background: #242424;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    margin: 0 auto 18px;
}
.single-preset h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.single-preset .preset-target { color: #7a7a7a; font-size: 13px; margin-bottom: 15px; }
.single-preset ul {
    text-align: left;
    font-size: 13px;
    color: #555;
    margin-bottom: 18px;
    padding-left: 0;
    list-style: none;
}
.single-preset ul li { padding: 4px 0; border-bottom: 1px dashed #ebebeb; }
.single-preset ul li i { color: #fed700; margin-right: 8px; width: 15px; text-align: center; }
.single-preset .preset-price {
    font-size: 24px;
    font-weight: 700;
    color: #242424;
    display: block;
    margin-bottom: 15px;
}
.single-preset .preset-price small { font-size: 12px; color: #7a7a7a; font-weight: 400; display: block; }

/* ---------- Slots de componentes ---------- */
.ctz-slot {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-left: 4px solid #e1e1e1;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all .25s ease;
    cursor: pointer;
    position: relative;
}
.ctz-slot:hover { border-color: #fed700; box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.ctz-slot.filled { border-left-color: #2e9e5b; }
.ctz-slot.incompatible { border-left-color: #e80f0f; background: #fff6f6; }
.ctz-slot.optional-empty { opacity: .85; }

.ctz-slot .slot-icon {
    flex: 0 0 56px;
    height: 56px;
    line-height: 56px;
    text-align: center;
    font-size: 26px;
    background: #242424;
    color: #fed700;
    border-radius: 50%;
    transition: all .25s ease;
}
.ctz-slot.filled .slot-icon { background: #fed700; color: #242424; }

.ctz-slot .slot-info { flex: 1 1 auto; min-width: 0; }
.ctz-slot .slot-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #7a7a7a;
    margin-bottom: 2px;
}
.ctz-slot .slot-cat .req { color: #e80f0f; }
.ctz-slot .slot-name {
    font-size: 15px;
    font-weight: 600;
    color: #242424;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ctz-slot .slot-name.empty { color: #a4a4a4; font-weight: 400; font-style: italic; }
.ctz-slot .slot-meta { font-size: 12px; color: #7a7a7a; }
.ctz-slot .slot-meta .warn { color: #e80f0f; font-weight: 600; }

.ctz-slot .slot-price {
    font-size: 16px;
    font-weight: 700;
    color: #242424;
    white-space: nowrap;
}
.ctz-slot .slot-price.owned { text-decoration: line-through; color: #a4a4a4; }

.ctz-slot .slot-actions { display: flex; gap: 8px; align-items: center; }
.ctz-slot .slot-btn {
    border: none;
    background: #fed700;
    color: #242424;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .3s ease;
    white-space: nowrap;
}
.ctz-slot .slot-btn:hover { background: #242424; color: #fed700; }
.ctz-slot .slot-btn.ghost {
    background: transparent;
    border: 1px solid #e1e1e1;
    color: #7a7a7a;
    padding: 7px 10px;
}
.ctz-slot .slot-btn.ghost:hover { border-color: #e80f0f; color: #e80f0f; background: transparent; }

/* Chip "ya lo tengo" (modo actualizar) */
.owned-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: #7a7a7a;
    border: 1px dashed #a4a4a4;
    border-radius: 30px;
    padding: 4px 12px;
    user-select: none;
    transition: all .25s ease;
}
.owned-chip.on { background: #2e9e5b; border-color: #2e9e5b; color: #fff; }
.owned-chip input { display: none; }

/* ---------- Resumen (sidebar) ---------- */
.ctz-summary {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    position: sticky;
    /* Menú (51px) + barra de progreso (61px) + margen */
    top: 124px;
}
.ctz-summary .sum-head {
    background: #242424;
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px 4px 0 0;
}
.ctz-summary .sum-head i { color: #fed700; margin-right: 8px; }
.ctz-summary .sum-body { padding: 18px 20px; }

/* Preview del equipo armado */
.sum-preview {
    position: relative;
    padding: 12px 12px 0;
    background: #fff;
}
.sum-preview img {
    width: 100%;
    display: block;
    border-radius: 5px;
    border: 2px solid #ebebeb;
    transition: filter .6s ease, opacity .6s ease, box-shadow .6s ease, border-color .6s ease;
}
.sum-preview.done img {
    border-color: #fed700;
    box-shadow: 0 0 0 3px rgba(254, 215, 0, .35), 0 8px 22px rgba(254, 215, 0, .3);
}
/* Tarjetas flotantes de specs sobre la imagen (estilo tarjeta de producto) */
/* Superposicion de piezas reales (chasis, monitor...) sobre el preview — prueba */
.preview-parts {
    position: absolute;
    inset: 12px 12px 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    border-radius: 5px;
}
.sum-preview .part-img {
    position: absolute;
    width: auto;
    max-width: 55%;
    height: auto;
    border: none;
    border-radius: 0;
    opacity: 0;
    transform: scale(.82);
    transition: opacity .5s ease, transform .5s ease;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .4));
}
.sum-preview .part-img.show { opacity: 1; transform: scale(1); }
.sum-preview .part-chasis { left: 2%; bottom: 35%; width: 45%; max-width: 75%; z-index: 2; }
.sum-preview .part-monitor { left: 35%; top: 18%; width: 75%; max-width: 75%; z-index: 3; }
.sum-preview .part-laptop { left: 0%; bottom: 0%; width: 100%; max-width: 100%; z-index: 3; }

.preview-badges {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    pointer-events: none;
    max-width: 62%;
}
.pv-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(36, 36, 36, .92);
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
    animation: pvPop .35s ease backwards;
    max-width: 100%;
}
.pv-badge:nth-child(2) { animation-delay: .06s; }
.pv-badge:nth-child(3) { animation-delay: .12s; }
.pv-badge:nth-child(4) { animation-delay: .18s; }
.pv-badge:nth-child(5) { animation-delay: .24s; }
.pv-badge:nth-child(6) { animation-delay: .30s; }
.pv-badge:nth-child(7) { animation-delay: .36s; }
.pv-badge .ic {
    flex: 0 0 26px;
    height: 26px;
    background: #fed700;
    color: #242424;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pv-badge .ic svg { width: 16px; height: 16px; display: block; }
.pv-badge .tx {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}
@keyframes pvPop {
    from { opacity: 0; transform: translateX(-12px) scale(.9); }
    to   { opacity: 1; transform: none; }
}

/* Logos de marca (Intel / Ryzen / NVIDIA) en la parte inferior del preview */
.preview-brands {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100% - 44px);
    z-index: 4;
}
.pv-brand {
    height: 38px;
    width: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
    animation: pvPop .35s ease backwards;
}
.pv-brand:nth-child(2) { animation-delay: .08s; }
.pv-brand.wide { height: 32px; }

.preview-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 62px;
    z-index: 4;
    background: rgba(36, 36, 36, .85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 7px 10px;
    border-radius: 30px;
    pointer-events: none;
}
.preview-overlay i { color: #fed700; margin-right: 6px; }
.preview-check {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: #fed700;
    color: #242424;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
    display: none;
    animation: ctzPop .4s ease;
}
.preview-check i { margin-right: 4px; }
.sum-preview.done .preview-check { display: inline-block; }
.sum-lines { max-height: 240px; overflow-y: auto; margin-bottom: 12px; }
.sum-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px dashed #ebebeb;
}
.sum-line .n { color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-line .n i { color: #fed700; margin-right: 6px; }
.sum-line .p { font-weight: 600; color: #242424; white-space: nowrap; }
.sum-line.owned .n, .sum-line.owned .p { color: #a4a4a4; text-decoration: line-through; }
.sum-empty { color: #a4a4a4; font-size: 13px; text-align: center; padding: 18px 0; }

.sum-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 4px;
    border-top: 2px solid #242424;
}
.sum-total .lbl { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.sum-total .val { font-size: 24px; font-weight: 700; color: #242424; }
.sum-save-note { font-size: 12px; color: #2e9e5b; font-weight: 600; text-align: right; min-height: 18px; }

/* Medidores */
.sum-meter { margin: 14px 0; }
.sum-meter .m-head {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 5px;
}
.sum-meter .m-bar { height: 8px; background: #ebebeb; border-radius: 8px; overflow: hidden; }
.sum-meter .m-bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 8px;
    transition: width .5s ease, background .5s ease;
    background: #fed700;
}
.sum-meter .m-bar > span.ok { background: #2e9e5b; }
.sum-meter .m-bar > span.mid { background: #fed700; }
.sum-meter .m-bar > span.bad { background: #e80f0f; }
.sum-meter .m-note { font-size: 11px; color: #7a7a7a; margin-top: 4px; }

/* Medidor de FPS */
.sum-fps {
    margin: 14px 0;
    background: #f7f7f7;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    padding: 12px 14px;
}
.sum-fps .m-head { margin-bottom: 10px; }
.fps-tabs {
    display: flex;
    background: #ebebeb;
    border-radius: 30px;
    padding: 3px;
    gap: 3px;
    margin-bottom: 12px;
}
.fps-tabs button {
    flex: 1;
    border: none;
    background: transparent;
    color: #7a7a7a;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 0;
    border-radius: 30px;
    cursor: pointer;
    transition: all .25s ease;
}
.fps-tabs button.active { background: #fed700; color: #242424; }
.fps-tabs button:hover:not(.active) { color: #242424; }

.fps-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.fps-row .g {
    flex: 0 0 96px;
    font-size: 12px;
    font-weight: 600;
    color: #242424;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fps-row .track {
    flex: 1;
    height: 6px;
    background: #e1e1e1;
    border-radius: 6px;
    overflow: hidden;
}
.fps-row .fill {
    display: block;
    height: 100%;
    border-radius: 6px;
    transition: width .5s ease;
}
.fps-row .fill.hi  { background: #2e9e5b; }
.fps-row .fill.mid { background: #fed700; }
.fps-row .fill.lo  { background: #e80f0f; }
.fps-badge {
    flex: 0 0 52px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 0;
    border-radius: 4px;
}
.fps-badge::after { content: ' FPS'; font-weight: 400; font-size: 9px; }
.fps-badge.hi  { background: #e3f4ea; color: #217a45; }
.fps-badge.mid { background: #fff6d8; color: #6b5c00; }
.fps-badge.lo  { background: #ffecec; color: #a30000; }
.fps-empty {
    font-size: 12px;
    color: #a4a4a4;
    text-align: center;
    padding: 10px 0;
}

.sum-alert {
    font-size: 12px;
    border-radius: 4px;
    padding: 10px 12px;
    margin-bottom: 10px;
    display: none;
}
.sum-alert.show { display: block; }
.sum-alert.warn { background: #fff6d8; border: 1px solid #fed700; color: #6b5c00; }
.sum-alert.error { background: #ffecec; border: 1px solid #e80f0f; color: #a30000; }

.sum-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.sum-btns .ctz-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    border-radius: 3px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}
.ctz-btn.primary { background: #fed700; color: #242424; }
.ctz-btn.primary:hover { background: #242424; color: #fed700; }
.ctz-btn.dark { background: #242424; color: #fff; }
.ctz-btn.dark:hover { background: #fed700; color: #242424; }
.ctz-btn.whatsapp { background: #25d366; color: #fff; }
.ctz-btn.whatsapp:hover { background: #1da851; color: #fff; }
.ctz-btn.outline { background: transparent; border: 1px solid #e1e1e1; color: #7a7a7a; }
.ctz-btn.outline:hover { border-color: #e80f0f; color: #e80f0f; }
.ctz-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Modal ---------- */
.ctz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(36,36,36,.75);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ctz-modal-overlay.open { display: flex; animation: ctzFade .25s ease; }
@keyframes ctzFade { from { opacity: 0; } to { opacity: 1; } }

.ctz-modal {
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ctzPop .3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
@keyframes ctzPop { from { transform: translateY(25px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

.ctz-modal .cm-head {
    background: #242424;
    color: #fff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ctz-modal .cm-head h4 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}
.ctz-modal .cm-head h4 i { color: #fed700; margin-right: 10px; }
.ctz-modal .cm-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: color .2s;
    line-height: 1;
}
.ctz-modal .cm-close:hover { color: #fed700; }

.ctz-modal .cm-body { padding: 20px 22px; overflow-y: auto; }

/* Tarjetas de opciones dentro del modal */
.cm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.cm-option {
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    padding: 15px;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    background: #fff;
}
.cm-option:hover { border-color: #fed700; box-shadow: 0 5px 15px rgba(0,0,0,.08); }
.cm-option.selected { border-color: #fed700; background: #fffbe6; }
.cm-option.selected::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fed700;
    color: #242424;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.cm-option.disabled { opacity: .45; cursor: not-allowed; }
.cm-option.disabled:hover { border-color: #e1e1e1; box-shadow: none; }
.cm-option .o-brand {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: #242424;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.cm-option .o-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #fff;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    margin-left: 6px;
}
.cm-option .o-cat.gamer { background: #e80f0f; }
.cm-option .o-cat.oficina { background: #4a6fa5; }
.cm-option .o-cat.estudiantes { background: #2e9e4f; }
.cm-option .o-cat.diseno { background: #8b5cf6; }
.cm-option .o-name { font-size: 14px; font-weight: 600; color: #242424; margin-bottom: 6px; line-height: 1.3; }
.cm-option .o-specs { font-size: 12px; color: #7a7a7a; margin-bottom: 10px; min-height: 32px; }
.cm-option .o-foot { display: flex; justify-content: space-between; align-items: center; }
.cm-option .o-price { font-size: 16px; font-weight: 700; color: #242424; }
.cm-option .o-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 30px;
    background: #eceff8;
    color: #363f4d;
}
.cm-option .o-tag.hot { background: #e80f0f; color: #fff; }
.cm-option .o-incomp {
    font-size: 11px;
    color: #e80f0f;
    font-weight: 600;
    margin-top: 6px;
    display: block;
}

/* Secciones dentro del modal (disco principal / segundo disco) */
.cm-subhead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #242424;
    letter-spacing: .5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fed700;
}
.cm-subhead.mt { margin-top: 22px; }
.cm-subhead i { color: #fed700; background: #242424; width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 50%; margin-right: 8px; font-size: 12px; }
.cm-remove-disk {
    border: 1px solid #e1e1e1;
    background: transparent;
    color: #7a7a7a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    transition: all .25s ease;
}
.cm-remove-disk:hover { border-color: #e80f0f; color: #e80f0f; }
.cm-remove-disk i { background: none; color: inherit; width: auto; height: auto; line-height: inherit; margin-right: 4px; }

.cm-add-disk {
    display: block;
    width: 100%;
    margin-top: 20px;
    background: #fffbe6;
    border: 2px dashed #fed700;
    border-radius: 6px;
    color: #242424;
    font-size: 14px;
    font-weight: 600;
    padding: 16px 18px;
    cursor: pointer;
    text-align: center;
    transition: all .25s ease;
}
.cm-add-disk:hover { background: #fed700; }
.cm-add-disk i { margin-right: 8px; }

/* Sliders (RAM / almacenamiento) */
.cm-slider-block {
    background: #f7f7f7;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 18px;
}
.cm-slider-block .sl-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.cm-slider-block .sl-head .t { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #242424; }
.cm-slider-block .sl-head .v {
    font-size: 22px;
    font-weight: 700;
    color: #242424;
    background: #fed700;
    padding: 2px 14px;
    border-radius: 4px;
}
.ctz-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 24px;
    background: transparent;
    outline: none;
    margin: 2px 0 4px;
}
/* Riel: con pseudo-elementos para que siempre se pinte (evita bug de Chrome con varios sliders) */
.ctz-range::-webkit-slider-runnable-track {
    height: 8px;
    background: #e1e1e1;
    border-radius: 8px;
}
.ctz-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    margin-top: -8px;
    border-radius: 50%;
    background: #fed700;
    border: 3px solid #242424;
    cursor: grab;
    transition: transform .15s ease;
}
.ctz-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.ctz-range::-moz-range-track {
    height: 8px;
    background: #e1e1e1;
    border-radius: 8px;
}
.ctz-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fed700;
    border: 3px solid #242424;
    cursor: grab;
}
.sl-marks { display: flex; justify-content: space-between; font-size: 11px; color: #7a7a7a; font-weight: 600; }
.sl-note { font-size: 12px; color: #7a7a7a; margin-top: 8px; }
.sl-note b { color: #242424; }

.cm-foot {
    padding: 14px 22px;
    border-top: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fafafa;
}
.cm-foot .cm-sel-price { font-size: 18px; font-weight: 700; }
.cm-foot .cm-sel-price small { font-size: 12px; color: #7a7a7a; font-weight: 400; }

/* ---------- Cotizaciones guardadas ---------- */
.ctz-saved-table { background: #fff; border: 1px solid #e1e1e1; border-radius: 4px; overflow: hidden; }
.ctz-saved-table table { margin: 0; width: 100%; }
.ctz-saved-table th {
    background: #242424;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px 15px;
    border: none;
}
.ctz-saved-table td { padding: 12px 15px; font-size: 13px; vertical-align: middle; border-top: 1px solid #ebebeb; }
.ctz-saved-table .act-btn {
    border: none;
    background: #fed700;
    color: #242424;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-right: 5px;
    transition: all .3s;
}
.ctz-saved-table .act-btn:hover { background: #242424; color: #fed700; }
.ctz-saved-table .act-btn.del { background: #e80f0f; color: #fff; }
.ctz-saved-table .act-btn.del:hover { background: #a30000; }

/* ---------- Zona de portátiles ---------- */
.lp-grid { margin-bottom: 5px; }
.lp-card .lp-base {
    background: #f7f7f7;
    border-radius: 4px;
    padding: 6px 8px;
    font-weight: 600;
    color: #555;
    min-height: 0;
}
.lp-card .warn-txt { color: #e80f0f; font-weight: 700; }
.lp-upgrades-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #242424;
    letter-spacing: .5px;
    margin: 22px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fed700;
}
.lp-upgrades-title i { color: #fed700; background: #242424; width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 50%; margin-right: 8px; font-size: 13px; }
.lp-hint {
    text-align: center;
    color: #a4a4a4;
    font-size: 14px;
    padding: 22px 0 8px;
}
.lp-hint i { margin-right: 8px; color: #fed700; }
.lp-info {
    background: #f7f7f7;
    border-left: 4px solid #fed700;
    border-radius: 4px;
    font-size: 13px;
    color: #555;
    padding: 12px 15px;
    margin-top: 16px;
}
.lp-info i { color: #b89b00; margin-right: 6px; }

/* ---------- Catálogo completo de equipos armados (Intel/AMD) ---------- */
.pa-wrap { margin-top: 40px; }
.pa-section { margin-bottom: 35px; }
.pa-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid #0071c5;
}
.pa-section-head.pa-amd { border-bottom-color: #ed1c24; }
.pa-section-head h4 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #242424;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pa-section-head h4 i { color: #0071c5; }
.pa-section-head.pa-amd h4 i { color: #ed1c24; }
.pa-section-head h4 span {
    background: #ebebeb;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 30px;
}
/* Tarjetas de equipos: reutilizan .single-preset, con ajustes por tener mas items */
.pa-preset { text-align: left; padding: 25px 22px; }
.pa-preset .preset-icon { margin: 0 auto 14px; overflow: hidden; text-align: center; }
.pa-preset .preset-icon i { line-height: 90px; }
.pa-preset h3 { text-align: center; font-size: 17px; }
.pa-preset .preset-target { text-align: center; margin-bottom: 12px; }
.pa-preset ul li {
    font-size: 12.5px;
    line-height: 1.4;
    padding: 5px 0;
}
.pa-preset .preset-price { text-align: center; display: block; }
.pa-preset .preset-price small { color: #a4a4a4; }
.pa-preset .ctz-btn { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; margin-top: 10px; }
.pa-preset .ctz-btn.primary { background: #fed700; color: #242424; }
.pa-preset .ctz-btn.primary:hover { background: #e0c000; color: #242424; }
.pa-preset .ctz-btn.whatsapp { background: #25d366; color: #fff; margin-top: 8px; }
.pa-preset .ctz-btn.whatsapp:hover { background: #1da851; color: #fff; }
.pa-gen-head { margin: 6px 0 16px; padding: 7px 14px; background: #f5f5f5; border-left: 4px solid #fed700; font-size: 14px; font-weight: 700; color: #242424; text-transform: uppercase; border-radius: 4px; }
.pa-gen-head i { color: #d4b400; margin-right: 6px; }
.ctz-summary.pa-flash { animation: paFlash 1s ease; }
@keyframes paFlash { 0% { box-shadow: 0 0 0 4px rgba(254,215,0,.8); } 100% { box-shadow: 0 0 0 0 rgba(254,215,0,0); } }

/* Toast propio del cotizador */
.ctz-toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #242424;
    color: #fff;
    padding: 13px 26px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: all .35s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,.3);
    pointer-events: none;
}
.ctz-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.ctz-toast i { color: #fed700; margin-right: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .ctz-summary { position: static; margin-top: 25px; }
    .ctz-progress-wrap { top: 0; }
}
@media (max-width: 575px) {
    .ctz-hero h1 { font-size: 24px; }
    .ctz-slot { flex-wrap: wrap; }
    .ctz-slot .slot-actions { width: 100%; justify-content: flex-end; }
    .cm-grid { grid-template-columns: 1fr; }
    .ctz-mode-switch button { padding: 9px 16px; font-size: 12px; }
}
