/* ════════════════════════════════════════════════════════════════════════════
   COMBOS (portada) — la foto del combo es la protagonista; al costado van sus datos.
   La tarjeta usa su propia paleta clara (también en modo oscuro).
   ════════════════════════════════════════════════════════════════════════════ */
.cc-cmb-section {
    padding: .5rem 1rem var(--wp--preset--spacing--80, 4rem);
    box-sizing: border-box;
}

/* Encabezado de la sección (igual al de las otras secciones del inicio) */
.cc-cmb-head { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.cc-cmb-head__eyebrow {
    margin: 0 0 .65rem; color: var(--wp--preset--color--accent, #C27B2E);
    font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.cc-cmb-head__title {
    margin: 0 0 .9rem; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.2; letter-spacing: -.01em;
    font-family: var(--wp--preset--font-family--playfair, 'Playfair Display', Georgia, serif);
}
.cc-cmb-head__title span { color: var(--wp--preset--color--accent, #C27B2E); font-style: italic; }
.cc-cmb-head__sub { margin: 0; color: var(--wp--preset--color--text-muted, #6B6B6B); font-size: 1rem; line-height: 1.5; }
.cc-cmb-head::after {
    content: ""; display: block; width: 64px; height: 4px; margin: 1.1rem auto 0;
    background: var(--wp--preset--color--accent, #C27B2E); border-radius: 2px;
}

/* Tarjeta */
.cc-cmb {
    --cmb-bg: #FFFFFF;
    --cmb-ink: #1C1C1C;
    --cmb-muted: #6B6B6B;
    --cmb-line: #E2D9C5;
    --cmb-accent: #C27B2E;
    --cmb-accent-dark: #A8661F;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: var(--cmb-bg);
    color: var(--cmb-ink);
    border: 1px solid var(--cmb-line);
    box-shadow: 0 1px 2px rgba(28, 28, 28, .04), 0 22px 48px rgba(122, 84, 30, .14);
}

/* ── Foto protagonista ─────────────────────────────────────────────────────── */
.cc-cmb__stage { position: relative; aspect-ratio: 1 / 1; background: #F3ECDC; overflow: hidden; }
.cc-cmb__shot {
    position: absolute; inset: 0; display: block;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .7s ease, visibility 0s linear .7s;
}
.cc-cmb__shot.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; transition-delay: 0s; }
.cc-cmb__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .8s ease; }
.cc-cmb__shot:hover .cc-cmb__img { transform: scale(1.035); }
.cc-cmb__tag {
    position: absolute; top: 18px; left: 18px; z-index: 3;
    background: var(--cmb-accent); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
    padding: .42rem .8rem; border-radius: 8px; box-shadow: 0 6px 16px rgba(194, 123, 46, .45);
}
.cc-cmb__arrow {
    position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
    width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--cmb-ink); cursor: pointer;
    box-shadow: 0 6px 18px rgba(28, 28, 28, .22); transition: background .15s, color .15s, transform .15s;
}
.cc-cmb__arrow:hover { background: var(--cmb-accent); color: #fff; transform: translateY(-50%) scale(1.06); }
.cc-cmb__arrow svg { width: 18px; height: 18px; }
.cc-cmb__arrow--prev { left: 14px; }
.cc-cmb__arrow--prev svg { transform: scaleX(-1); }
.cc-cmb__arrow--next { right: 14px; }

/* ── Datos ─────────────────────────────────────────────────────────────────── */
.cc-cmb__side {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem;
    padding: 2.4rem 2.6rem 2rem; min-width: 0; isolation: isolate;
}
.cc-cmb__info-stack { display: grid; }
.cc-cmb__info {
    grid-area: 1 / 1; min-width: 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.cc-cmb__info.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cc-cmb__kicker {
    display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .8rem;
    color: var(--cmb-accent); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.cc-cmb__kicker::before { content: ""; width: 28px; height: 2px; background: var(--cmb-accent); border-radius: 2px; }
.cc-cmb__name {
    margin: 0 0 1.1rem; font-weight: 700; line-height: 1.12; letter-spacing: -.01em;
    font-size: clamp(1.8rem, 2.9vw, 2.6rem);
    font-family: var(--wp--preset--font-family--playfair, 'Playfair Display', Georgia, serif);
}
.cc-cmb__name a { color: var(--cmb-ink); text-decoration: none; }
.cc-cmb__price { margin: 0 0 .6rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .8rem; }
.cc-cmb__price strong { font-size: clamp(1.9rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1; color: var(--cmb-accent); }
.cc-cmb__price del { font-size: 1rem; color: var(--cmb-muted); }
.cc-cmb__perks { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .3rem; font-size: .95rem; color: var(--cmb-muted); }
.cc-cmb__perks strong { color: var(--cmb-ink); font-weight: 700; }
.cc-cmb__perks em { font-style: normal; font-size: .72rem; font-weight: 700; color: #2E7D4F; background: #E4F2E9; padding: .1rem .4rem; border-radius: 6px; margin-left: .3rem; }
.cc-cmb__cta {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.7rem; border-radius: 12px;
    background: var(--cmb-accent); color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 10px 22px rgba(194, 123, 46, .35); transition: background .15s, transform .15s;
}
.cc-cmb__cta:hover { background: var(--cmb-accent-dark); transform: translateY(-1px); color: #fff; }
.cc-cmb__cta svg, .cc-cmb__all svg { width: 17px; height: 17px; flex: none; }

/* Pie: miniaturas de los combos + enlace */
.cc-cmb__foot { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.cc-cmb__thumbs { display: flex; gap: .55rem; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cc-cmb__thumbs::-webkit-scrollbar { display: none; }
.cc-cmb__thumb {
    flex: none; width: 58px; height: 58px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer;
    background: #F3ECDC; opacity: .62; scroll-snap-align: center; transition: opacity .2s, border-color .2s, transform .2s;
}
.cc-cmb__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cc-cmb__thumb:hover { opacity: 1; }
.cc-cmb__thumb.is-active { opacity: 1; border-color: var(--cmb-accent); transform: translateY(-2px); }
.cc-cmb__all {
    align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; color: var(--cmb-ink); font-size: .92rem; font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--cmb-accent); padding-bottom: 2px;
}
.cc-cmb__all:hover { color: var(--cmb-accent-dark); }
.cc-cmb a:focus-visible, .cc-cmb button:focus-visible { outline: 2px solid var(--cmb-accent); outline-offset: 3px; border-radius: 8px; }

/* ── Notebook / tablet horizontal ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cc-cmb__side { padding: 1.8rem 1.8rem 1.6rem; gap: 1.2rem; }
    .cc-cmb__name { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .8rem; }
    .cc-cmb__price strong { font-size: 1.9rem; }
    .cc-cmb__cta { padding: .85rem 1.4rem; font-size: .88rem; }
    .cc-cmb__thumb { width: 52px; height: 52px; }
}
/* ── Tablet vertical: foto arriba, datos abajo ─────────────────────────────── */
@media (max-width: 860px) {
    .cc-cmb { grid-template-columns: 1fr; }
    .cc-cmb__stage { aspect-ratio: 4 / 3; }
    .cc-cmb__side { padding: 1.7rem 1.8rem 1.6rem; }
    .cc-cmb__name { font-size: 2rem; }
}
/* ── Celular ───────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .cc-cmb-section { padding: .25rem .75rem 2.5rem; }
    .cc-cmb-head { margin-bottom: 1.4rem; }
    .cc-cmb { border-radius: 20px; }
    .cc-cmb__stage { aspect-ratio: 1 / 1; }
    .cc-cmb__tag { top: 14px; left: 14px; font-size: .68rem; padding: .36rem .66rem; }
    .cc-cmb__arrow { width: 40px; height: 40px; }
    .cc-cmb__arrow--prev { left: 10px; }
    .cc-cmb__arrow--next { right: 10px; }
    .cc-cmb__side { padding: 1.3rem 1.2rem 1.3rem; gap: 1.1rem; }
    .cc-cmb__kicker { margin-bottom: .55rem; font-size: .72rem; }
    .cc-cmb__name { font-size: 1.65rem; margin-bottom: .7rem; }
    .cc-cmb__price strong { font-size: 1.85rem; }
    .cc-cmb__perks { font-size: .88rem; margin-bottom: 1.1rem; }
    .cc-cmb__cta { display: flex; width: 100%; padding: 1rem 1.2rem; }
    .cc-cmb__thumb { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
    .cc-cmb__shot, .cc-cmb__info, .cc-cmb__img { transition: none; }
}
