/* Settem Suite v1.0.0 — Diseño oscuro integrado */

/* ════════════ HERO ════════════ */

/* ════════════ FIX DESBORDE DESKTOP ════════════
   Evita que los widgets empujen el ancho de la página en PC. */
.ss-hero,
.ss-hero *,
.ss-includes,
.ss-includes *,
.ss-guarantee,
.ss-guarantee *,
.ss-buy-wrap,
.ss-buy-wrap * {
    box-sizing: border-box;
}

.ss-hero {
    max-width: 100%;
    overflow: hidden;
}

.ss-hero-left,
.ss-hero-right,
.ss-player-row,
.ss-player-wave,
.ss-bump-info,
.ss-g-head,
.ss-inc-card {
    min-width: 0;
}

.ss-hero-left > *,
.ss-hero-right > *,
.ss-player,
.ss-bump-outer,
.ss-bump,
.ss-includes,
.ss-guarantee,
.ss-buy-wrap {
    max-width: 100%;
}

.ss-product-title,
.ss-artists,
.ss-g-title,
.ss-g-subtitle,
.ss-inc-card strong,
.ss-inc-card span {
    overflow-wrap: anywhere;
}


.ss-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
}
@media (max-width: 767px) {
    .ss-hero { grid-template-columns: 1fr; }
    .ss-hero-right { width: 100%; min-width: 0; overflow: hidden; }
    .ss-hero-right > * { max-width: 100%; box-sizing: border-box; }
    .ss-player { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    .ss-bump-outer, .ss-bump { width: 100% !important; max-width: 100% !important; box-sizing: border-box; }
    .ss-bump-head { flex-wrap: wrap; }
    .ss-bump-right { flex-shrink: 1; min-width: 0; }
    .ss-bump-price { font-size: 10px; }
    .ss-bump-ver-btn { font-size: 11px; padding: 4px 8px; }
    .ss-check-label { flex-wrap: wrap; }
    .ss-check-price { width: 100%; margin-left: 27px; }
}

.ss-vthumb-wrap { position: relative; width: 100%; }
.ss-vthumb-sizer { display: none; }
.ss-vthumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    overflow: hidden;
    background-color: #0d1a35;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.ss-vthumb.ss-clickable { cursor: pointer; }
.ss-vthumb-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ss-play-circle {
    position: relative; z-index: 2;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: transform .2s, border-color .2s;
}
.ss-play-circle:hover { transform: scale(1.1); border-color: #fff; }
.ss-play-icon {
    display: block; width: 0; height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
    margin-left: 4px;
}
.ss-vthumb-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    padding: 7px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.ss-vthumb-bar span { color: #fff; font-size: 12px; font-weight: 500; }

/* columna derecha */
.ss-hero-right { display: flex; flex-direction: column; gap: 12px; }

.ss-cat-badge {
    display: inline-block !important;
    width: auto !important;
    align-self: flex-start;
    background: #164ad3;
    color: #fff;
    font-size: 10px; font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.ss-product-title { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 0; }
.ss-artists { font-size: 12px; font-weight: 500; line-height: 1.6; color: #fff; opacity: .75; white-space: pre-line; }
.ss-artists p { margin: 0; line-height: 1.6; }
.ss-artists br { display: block; content: ''; margin: 0; }

.ss-price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ss-price-old { font-size: 14px; color: #666; text-decoration: line-through; }
.ss-price-new { font-size: 28px; font-weight: 700; line-height: 1; }
.ss-discount-badge {
    font-size: 11px; font-weight: 600;
    background: #dcfce7; color: #166534;
    padding: 2px 8px; border-radius: 20px;
}

/* ════════════ REPRODUCTOR ════════════ */

.ss-player {
    background: #1c1c1c;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}
.ss-player-inner {
    padding: 14px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ss-player-badge {
    font-size: 10px;
    color: rgba(255,255,255,.55);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    padding: 0;
    border-radius: 0;
    align-self: flex-start;
    background: none;
}
.ss-player-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ss-player-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: #3a82f7; border: none; padding: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    box-shadow: none;
    transition: background .15s, transform .1s;
}
.ss-player-btn:hover { background: #2563eb; transform: scale(1.06); }
.ss-player-play-icon {
    display: block; width: 0; height: 0;
    border-top: 7px solid transparent; border-bottom: 7px solid transparent;
    border-left: 12px solid #fff; margin-left: 3px;
}
.ss-player-pause { display: none; gap: 3px; align-items: center; justify-content: center; }
.ss-player-pause span { display: block; width: 3px; height: 12px; background: #fff; border-radius: 2px; }
.ss-player--playing .ss-player-play-icon { display: none; }
.ss-player--playing .ss-player-pause     { display: flex; }
.ss-player-wave {
    flex: 1;
    display: flex; align-items: center; gap: 2px;
    height: 32px; cursor: pointer;
}
.ss-player-wave-bar {
    flex: 1; border-radius: 2px; background: #3a3a3a;
    transition: background .1s; min-width: 2px; max-width: 4px;
}
.ss-player-wave-bar.ss-played { background: rgba(58,130,247,.4); }
.ss-player-wave-bar.ss-active { background: #3a82f7; }
.ss-player-time {
    font-size: 13px; font-weight: 500;
    color: rgba(255,255,255,.75); white-space: nowrap; flex-shrink: 0;
}
.ss-player-disc {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    padding: 0 16px 14px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ss-player-disc::before {
    content: 'ⓘ';
    font-size: 13px;
    opacity: .5;
    flex-shrink: 0;
}

/* ════════════ BUMP ════════════ */

.ss-bump-outer { padding-top: 12px; }
.ss-bump {
    position: relative;
    border: 2px solid #e8006a;
    border-radius: 12px;
    background: #0d0d1a;
}
.ss-bump-tag {
    position: absolute; top: -11px; left: 12px;
    background: #e8006a; color: #fff;
    font-size: 10px; font-weight: 600;
    padding: 2px 10px; border-radius: 20px;
    letter-spacing: .4px; white-space: nowrap; line-height: 1.6;
}
.ss-bump-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.ss-bump-info { flex: 1; min-width: 0; }
.ss-bump-info strong { display: block; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.35; }
.ss-bump-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.ss-bump-price { font-size: 11px; white-space: nowrap; color: #fff; opacity: 1; }
.ss-bump-price strong { color: #e8006a; font-weight: 600; }
.ss-bump-ver-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 6px; padding: 5px 12px;
    font-size: 12px; font-weight: 500; cursor: pointer;
    display: flex; align-items: center; gap: 6px;
    transition: border-color .2s, color .2s; font-family: inherit; color: #fff;
}
.ss-bump-ver-btn:hover { border-color: #3a82f7; color: #3a82f7; }
.ss-bump-chevron {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px;
    transition: transform .25s; flex-shrink: 0;
}
.ss-bump-chevron svg { display: block; width: 12px; height: 12px; }
.ss-bump-ver-btn[aria-expanded="true"] .ss-bump-chevron { transform: rotate(180deg); }
.ss-bump-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.ss-bump-body.ss-open { max-height: 600px; }
.ss-bump-body-inner { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.ss-bump-sep { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 0; }
.ss-bump-inline-player { border-radius: 8px; overflow: hidden; }
.ss-bump-inline-thumb {
    position: relative; border-radius: 8px; overflow: hidden;
    aspect-ratio: 16/9;
    background: #0d1a35 center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.ss-bump-iframe-wrap {
    position: relative;
    width: 100%; padding-bottom: 56.25%;
    background: #000; border-radius: 8px; overflow: hidden;
}
.ss-bump-iframe-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: none;
}
.ss-bump-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ss-bump-play-circle {
    position: relative; z-index: 2;
    width: 52px; height: 52px; border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: transform .15s, border-color .15s;
}
.ss-bump-play-circle:hover { transform: scale(1.08); border-color: #fff; }

/* checkbox */
.ss-bump-check-row {
    padding: 10px 14px 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-direction: column; gap: 7px;
}
.ss-check-label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.ss-check-input { position: absolute; opacity: 0; width: 0; height: 0; }
.ss-check-custom {
    width: 18px; height: 18px; min-width: 18px;
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 4px; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
    background: rgba(255,255,255,.05); flex-shrink: 0;
}
.ss-check-input:checked ~ .ss-check-custom { background: #3a82f7; border-color: #3a82f7; }
.ss-check-input:checked ~ .ss-check-custom::after {
    content: ''; display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff; border-top: none; border-left: none;
    transform: rotate(45deg) translate(-1px,-1px);
}
.ss-check-text { font-size: 13px; color: #fff; line-height: 1.4; }
.ss-check-text small { display: block; font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }
.ss-added-notice {
    display: none; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600;
    color: #4ade80;
    background: rgba(74,222,128,.1);
    border: 1px solid rgba(74,222,128,.3);
    border-radius: 7px; padding: 6px 10px;
}
.ss-added-notice.ss-visible { display: flex; }


/* ── bump inline price (in check row) ── */
.ss-bump-right .ss-bump-price { display: none; }
.ss-check-price { font-size: 12px; white-space: nowrap; color: #fff; margin-left: auto; flex-shrink: 0; }
.ss-check-price strong { color: #e8006a; font-weight: 700; }
.ss-check-label { align-items: center; flex-wrap: wrap; gap: 6px 9px; }

/* ── bump feature list ── */
.ss-bump-feat-list {
    list-style: none; margin: 0; padding: 0 0 0 20px;
    display: flex; flex-direction: column; gap: 8px;
}
.ss-bump-feat-list li {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: rgba(255,255,255,.85); line-height: 1.3;
}
.ss-bump-feat-dot {
    flex-shrink: 0;
    width: 18px; height: 18px; border-radius: 50%;
    background: #e8006a;
    color: #fff; font-size: 10px; font-style: normal;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

/* ════════════ MODAL ════════════ */

.ss-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    animation: ss-fade .2s ease;
}
.ss-modal[hidden] { display: none; }
@keyframes ss-fade { from { opacity: 0; } to { opacity: 1; } }
.ss-modal-box {
    position: relative; background: #000;
    border-radius: 8px; width: 100%; max-width: 900px;
    animation: ss-scale .25s ease;
}
@keyframes ss-scale { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ss-modal-close {
    position: absolute; top: -44px; right: 0;
    background: none; border: none; color: #fff;
    font-size: 32px; font-weight: 300; line-height: 1;
    cursor: pointer; padding: 4px 8px; opacity: .7;
    transition: opacity .2s;
}
.ss-modal-close:hover { opacity: 1; }
.ss-modal-video { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; border-radius: 8px; overflow: hidden; }
.ss-modal-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ════════════ QUÉ INCLUYE ════════════ */

.ss-includes { width: 100%; }
.ss-inc-header { margin-bottom: 1.25rem; }
.ss-inc-title { font-size: 18px; font-weight: 600; margin: 0 0 .3rem; line-height: 1.3; }
.ss-inc-subtitle { font-size: 13px; margin: 0; line-height: 1.5; opacity: .65; }
.ss-inc-grid { display: grid; gap: 10px; }
.ss-inc-cols-2 { grid-template-columns: repeat(2,1fr); }
.ss-inc-cols-3 { grid-template-columns: repeat(3,1fr); }
.ss-inc-cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 767px) {
    .ss-inc-grid { grid-template-columns: 1fr !important; }
    .ss-inc-mob-2 { grid-template-columns: 1fr 1fr !important; }
    .ss-includes { overflow: hidden; }
    .ss-vthumb { max-width: 100%; }
}
.ss-inc-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px; padding: 16px 14px;
    display: flex; flex-direction: column; gap: 8px;
}
.ss-inc-featured { border-color: #3a82f7; background: rgba(58,130,247,.08); }
.ss-inc-icon {
    width: auto; height: auto;
    border-radius: 8px;
    background: rgba(58,130,247,.2);
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px; align-self: flex-start;
}
.ss-inc-icon i,
.ss-inc-icon svg { font-size: 20px; color: #3a82f7; width: 20px; height: 20px; line-height: 1; fill: currentColor; }
.ss-inc-card strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.ss-inc-card span   { font-size: 12px; line-height: 1.5; opacity: .6; }

/* ════════════ GARANTÍA ════════════ */

.ss-guarantee {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 20px; width: 100%;
}
.ss-g-head { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.ss-g-icon-wrap {
    width: auto; height: auto;
    border-radius: 10px;
    background: rgba(58,130,247,.2);
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px; flex-shrink: 0;
}
.ss-g-icon-wrap i,
.ss-g-icon-wrap svg { font-size: 20px; color: #3a82f7; width: 20px; height: 20px; line-height: 1; fill: currentColor; }
.ss-g-title    { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.ss-g-subtitle { display: block; font-size: 12px; margin-top: 2px; opacity: .5; }
.ss-g-grid  { display: grid; gap: 12px; }
.ss-g-cols-1 { grid-template-columns: 1fr; }
.ss-g-cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .ss-g-cols-2 { grid-template-columns: 1fr; } }
.ss-g-row { display: flex; align-items: flex-start; gap: 8px; }
.ss-g-row i, .ss-g-row svg { color: #3a82f7; fill: #3a82f7; font-size: 15px; width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.ss-g-row p { font-size: 13px; line-height: 1.5; margin: 0; opacity: .75; }
.ss-g-row strong { font-weight: 600; opacity: 1; }

/* ════════════ BOTÓN COMPRAR ════════════ */

.ss-buy-wrap { width: 100%; display: flex; flex-direction: column; }
.ss-buy-btn {
    display: block; width: 100%;
    background: #164ad3; color: #fff !important;
    font-size: 15px; font-weight: 700;
    letter-spacing: 2px; text-align: center; text-transform: uppercase;
    padding: 16px 24px; border-radius: 50px;
    text-decoration: none !important; cursor: pointer;
    box-shadow: 0 0 32px rgba(232,0,106,.35);
    transition: background .2s, box-shadow .2s, transform .1s;
    line-height: 1.4;
}
.ss-buy-btn:hover {
    background: #e8006a;
    box-shadow: 0 0 44px rgba(232,0,106,.55);
    transform: translateY(-1px);
    color: #fff !important;
    text-decoration: none !important;
}
.ss-buy-btn:active { transform: translateY(0); }
.ss-buy-note { font-size: 12px; color: rgba(255,255,255,.35); text-align: center; margin-top: 10px; }


/* ── Bump: layout profesional en 2 columnas + ocultar precio tachado al seleccionar ── */
.ss-hero.ss-bump-selected .ss-price-old {
    display: none !important;
}

.ss-bump-check-row .ss-check-label {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 14px !important;
    row-gap: 4px !important;
}

.ss-bump-check-row .ss-check-custom {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin-top: 0 !important;
}

.ss-bump-check-row .ss-check-text {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
}

.ss-bump-check-row .ss-check-price {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
    text-align: right !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.ss-bump-check-row .ss-check-price strong {
    color: #e8006a !important;
}

.ss-bump-check-row,
.ss-bump-check-row * {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
    .ss-bump-check-row .ss-check-label {
        grid-template-columns: 18px minmax(0, 1fr) !important;
    }

    .ss-bump-check-row .ss-check-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        text-align: left !important;
        font-size: 16px !important;
        margin-top: 4px !important;
    }
}
