/* ───────────────────────────────────────────────
   Productos Exclusivos — Pastel Dream / Garland Lab
   ─────────────────────────────────────────────── */

:root {
    /* ─── Paleta brand "Decora con Globo GO" ─── */
    --exc-brand: #c8278a;        /* burgundy */
    --exc-brand-soft: #faecf6;   /* cream rosado */
    --exc-brand-light: #ff6fa8;  /* pink */
    --exc-brand-deep: #a01a6f;   /* burgundy oscuro */

    --exc-bg: #fffafd;
    --exc-bg-soft: #fdf2f8;
    --exc-card: rgba(255, 255, 255, 0.96);
    --exc-card-soft: rgba(255, 255, 255, 0.62);
    --exc-line: rgba(200, 39, 138, 0.10);
    --exc-text: #1f1226;
    --exc-muted: #7a5b76;

    /* Aliases para compatibilidad con clases existentes */
    --exc-mint: var(--exc-brand);
    --exc-mint-soft: var(--exc-brand-soft);
    --exc-pink: var(--exc-brand-light);
    --exc-pink-soft: #fccee8;

    --exc-shadow-sm: 0 4px 14px rgba(200, 39, 138, 0.06);
    --exc-shadow-md: 0 14px 30px rgba(200, 39, 138, 0.10);
    --exc-shadow-lg: 0 28px 60px rgba(200, 39, 138, 0.18);
    --exc-radius-sm: 16px;
    --exc-radius-md: 22px;
    --exc-radius-lg: 30px;
    --exc-stage-bg:
        radial-gradient(circle at 50% 38%, rgba(252, 206, 232, 0.55), transparent 55%),
        radial-gradient(circle at 22% 78%, rgba(250, 236, 246, 0.7), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 111, 168, 0.18), transparent 55%);
}

* { box-sizing: border-box; }

body.exc-page {
    margin: 0;
    min-height: 100vh;
    background: var(--exc-bg);
    font-family: "Inter", system-ui, sans-serif;
    color: var(--exc-text);
    overflow-x: hidden;
}

/* ─── LAYOUT GENERAL ─── */

.exc-shell {
    display: grid;
    grid-template-columns: 280px 1fr 320px;
    gap: 20px;
    padding: 22px;
    max-width: 1500px;
    margin: 0 auto;
    min-height: 100vh;
    align-items: start;
}

.exc-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 22px;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(31, 41, 55, 0.15) transparent;
}

.exc-aside::-webkit-scrollbar {
    width: 6px;
}

.exc-aside::-webkit-scrollbar-thumb {
    background: rgba(31, 41, 55, 0.15);
    border-radius: 999px;
}

/* ─── SIDEBAR IZQUIERDA ─── */

.exc-lab-card,
.exc-studio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--exc-card);
    border-radius: var(--exc-radius-sm);
    box-shadow: var(--exc-shadow-sm);
}

.exc-lab-card strong,
.exc-studio-card strong {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--exc-mint);
    font-weight: 700;
}

.exc-lab-card small,
.exc-studio-card small {
    color: var(--exc-muted);
    font-size: 0.78rem;
    display: block;
    margin-top: 2px;
}

.exc-lab-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--exc-mint-soft);
    color: var(--exc-mint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exc-lab-logo svg { width: 28px; height: 28px; }

.exc-style-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    color: var(--exc-muted);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.exc-style-add {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--exc-mint-soft);
    color: var(--exc-mint);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.exc-style-add:hover { transform: rotate(90deg); }

.exc-style-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding-right: 4px;
}

.exc-style-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: var(--exc-card);
    border-radius: var(--exc-radius-md);
    border: 2px solid transparent;
    box-shadow: var(--exc-shadow-sm);
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.exc-style-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--exc-shadow-md);
}

.exc-style-card.active {
    border-color: var(--exc-mint);
    box-shadow: 0 18px 36px rgba(109, 181, 168, 0.22);
}

.exc-style-thumb {
    aspect-ratio: 1 / 1.05;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, var(--exc-bg-soft) 100%);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exc-style-thumb canvas,
.exc-style-thumb-img {
    width: 86%;
    height: 86%;
    object-fit: contain;
    animation: excThumbFloat 5s ease-in-out infinite;
}

.exc-style-thumb-img {
    display: block;
    margin: auto;
    pointer-events: none;
}

.exc-style-card:nth-child(2) .exc-style-thumb canvas { animation-delay: 0.7s; }
.exc-style-card:nth-child(3) .exc-style-thumb canvas { animation-delay: 1.4s; }

.exc-style-card.active .exc-style-check {
    opacity: 1;
    transform: scale(1);
}

.exc-style-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--exc-mint);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 6px 14px rgba(109, 181, 168, 0.3);
}

.exc-style-name {
    margin: 12px 4px 2px;
    font-weight: 700;
    font-size: 0.95rem;
}

.exc-style-tagline {
    margin: 0 4px;
    font-size: 0.78rem;
    color: var(--exc-muted);
    letter-spacing: 0.04em;
}

@keyframes excThumbFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-6px) rotate(1.5deg); }
}

/* ─── PROGRESS ─── */

.exc-progress {
    margin-top: auto;
    padding: 14px 16px;
    background: var(--exc-card);
    border-radius: var(--exc-radius-sm);
    box-shadow: var(--exc-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.exc-progress > span:first-child {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--exc-muted);
    text-transform: uppercase;
}

.exc-progress-count {
    font-size: 0.85rem;
    color: var(--exc-text);
}

.exc-progress-count strong {
    color: var(--exc-mint);
    font-weight: 800;
}

.exc-progress-bar {
    height: 6px;
    background: var(--exc-bg-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}

.exc-progress-fill {
    height: 100%;
    width: 33%;
    background: linear-gradient(90deg, var(--exc-mint), #9bd1c5);
    border-radius: 999px;
    transition: width 0.5s ease;
}

/* ─── STAGE CENTRAL ─── */

.exc-stage {
    position: relative;
    background: var(--exc-stage-bg), var(--exc-bg);
    border-radius: var(--exc-radius-lg);
    min-height: calc(100vh - 44px);
    max-height: calc(100vh - 44px);
    overflow: hidden;
    padding: 28px 32px 24px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 8px;
}

/* ─── CTA central debajo del selector de imágenes ─── */
.exc-stage-cta {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 4px 0 2px;
    text-align: center;
}

.exc-stage-cta-btn {
    border: none;
    background: linear-gradient(135deg, var(--exc-brand) 0%, var(--exc-brand-light) 100%);
    color: white;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    padding: 16px 38px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow:
        0 20px 38px rgba(200, 39, 138, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    min-width: 240px;
    position: relative;
    overflow: hidden;
}

.exc-stage-cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 55%);
    pointer-events: none;
}

.exc-stage-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 46px rgba(200, 39, 138, 0.40),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    filter: saturate(1.1);
}

.exc-stage-cta-btn:active {
    transform: translateY(0);
}

.exc-stage-cta-meta {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--exc-muted);
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.exc-stage-cta-meta strong {
    color: var(--exc-brand);
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 0.98rem;
}

.exc-stage-cta-dot {
    opacity: 0.45;
}

.exc-stage-head {
    text-align: center;
    position: relative;
    z-index: 3;
}

.exc-stage-eyebrow {
    margin: 0;
    color: var(--exc-mint);
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    font-weight: 700;
    text-transform: uppercase;
}

.exc-stage-title {
    font-family: "Fraunces", serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin: 6px 0 4px;
    line-height: 1.05;
    color: var(--exc-mint);
    letter-spacing: -0.01em;
    font-weight: 600;
}

.exc-stage-subtitle {
    margin: 0;
    color: var(--exc-muted);
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.exc-stage-meta {
    margin-top: 14px;
    max-width: 380px;
    margin-inline: auto;
    color: var(--exc-text);
    font-size: 0.92rem;
    line-height: 1.55;
}

.exc-stage-meta p { margin: 0; }

.exc-featured-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    background: var(--exc-mint-soft);
    color: var(--exc-mint);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    font-weight: 700;
}

/* ─── SCENE ─── */

.exc-scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    perspective: 1400px;
    min-height: 0;
    overflow: hidden;
}

.exc-scene-halo {
    position: absolute;
    inset: 0;
    margin: auto;
    width: min(70%, 540px);
    height: min(70%, 540px);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(circle, rgba(216, 236, 230, 0.45) 35%, transparent 70%);
    z-index: 0;
    animation: excHaloPulse 6s ease-in-out infinite;
}

@keyframes excHaloPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.06); opacity: 1; }
}

.exc-scene-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.exc-scene-dots span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--exc-mint);
    opacity: 0.35;
    animation: excSparkle 4.5s ease-in-out infinite;
}

.exc-scene-dots span:nth-child(1) { top: 18%; left: 16%; animation-delay: 0s; background: var(--exc-pink); }
.exc-scene-dots span:nth-child(2) { top: 28%; right: 14%; animation-delay: 0.7s; }
.exc-scene-dots span:nth-child(3) { bottom: 30%; left: 10%; animation-delay: 1.4s; background: #f0b884; }
.exc-scene-dots span:nth-child(4) { bottom: 22%; right: 18%; animation-delay: 2.1s; background: var(--exc-pink); }
.exc-scene-dots span:nth-child(5) { top: 48%; left: 22%; animation-delay: 2.8s; background: var(--exc-mint); }
.exc-scene-dots span:nth-child(6) { top: 58%; right: 24%; animation-delay: 3.5s; background: #f0b884; }

@keyframes excSparkle {
    0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.2; }
    50% { transform: translateY(-12px) scale(1.4); opacity: 0.85; }
}

/* ─── Galería del escenario ─── */

.exc-gallery {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.exc-gallery-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--exc-line);
    background: rgba(255, 255, 255, 0.92);
    color: var(--exc-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--exc-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
    z-index: 4;
}

.exc-gallery-arrow:hover {
    background: var(--exc-brand);
    color: white;
    transform: scale(1.06);
    box-shadow: 0 16px 30px rgba(200, 39, 138, 0.32);
}

.exc-gallery-arrow svg {
    width: 22px;
    height: 22px;
}

.exc-gallery-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.exc-gallery-stage {
    position: relative;
    width: clamp(180px, 26vw, 290px);
    height: clamp(280px, 42vh, 440px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.exc-gallery-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: excGarlandFloat 7s ease-in-out infinite;
}

.exc-gallery-viewport img,
.exc-gallery-viewport canvas {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 30px 30px rgba(31, 18, 38, 0.18));
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

.exc-gallery-viewport.is-changing img,
.exc-gallery-viewport.is-changing canvas {
    opacity: 0;
    transform: scale(0.96) translateY(4px);
}

.exc-garland-shadow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    height: 28px;
    background: radial-gradient(ellipse, rgba(200, 39, 138, 0.28), transparent 70%);
    filter: blur(8px);
    animation: excShadowFloat 7s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes excGarlandFloat {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50% { transform: translateY(-12px) rotate(1.2deg); }
}

@keyframes excShadowFloat {
    0%, 100% { transform: translateX(-50%) scaleX(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scaleX(0.85); opacity: 0.3; }
}

/* ─── Dots ─── */

.exc-gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    z-index: 5;
    box-shadow: var(--exc-shadow-sm);
}

.exc-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(200, 39, 138, 0.22);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

.exc-gallery-dot.active {
    width: 22px;
    background: var(--exc-brand);
}

.exc-podium {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(220px, 28vw, 320px);
    height: 90px;
    background:
        radial-gradient(ellipse at top, #fff, rgba(255, 255, 255, 0.4) 60%, transparent 75%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(216, 236, 230, 0.3));
    border-radius: 50%;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 -10px 25px rgba(255, 255, 255, 0.6), 0 10px 30px rgba(31, 41, 55, 0.06);
}

.exc-podium::before {
    content: "";
    position: absolute;
    inset: 8px 26%;
    border-radius: 50%;
    background:
        linear-gradient(90deg, var(--exc-mint-soft), var(--exc-pink-soft), #ffe1cf);
    opacity: 0.45;
    filter: blur(2px);
}

.exc-hint {
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(31, 41, 55, 0.85);
    color: white;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    z-index: 4;
    pointer-events: none;
    animation: excHintBob 3.5s ease-in-out infinite;
    box-shadow: 0 10px 24px rgba(31, 41, 55, 0.18);
}

.exc-hint::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: rgba(31, 41, 55, 0.85);
}

@keyframes excHintBob {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -4px); }
}

.exc-hint.hidden {
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity 0.4s, transform 0.4s;
}

/* ─── SIDEBAR DERECHA ─── */

.exc-studio-avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--exc-mint);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.exc-studio-card > div:nth-child(2) {
    flex: 1;
    min-width: 0;
}

.exc-studio-icons {
    display: flex;
    gap: 4px;
}

.exc-studio-icon {
    background: transparent;
    border: none;
    color: var(--exc-muted);
    font-size: 1.05rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.exc-studio-icon:hover {
    background: var(--exc-bg-soft);
}

.exc-info-card {
    background: var(--exc-card);
    border-radius: var(--exc-radius-md);
    box-shadow: var(--exc-shadow-sm);
    padding: 16px 18px;
}

.exc-info-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--exc-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.exc-info-arrow {
    border: none;
    background: transparent;
    color: var(--exc-mint);
    font-size: 1.1rem;
    cursor: pointer;
}

.exc-info-grid {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exc-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-top: 1px solid var(--exc-line);
}

.exc-info-row:first-child { border-top: none; padding-top: 0; }

.exc-info-row dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--exc-muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.exc-info-row dd {
    margin: 0;
    color: var(--exc-text);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: right;
}

.exc-row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--exc-mint-soft);
    color: var(--exc-mint);
    font-size: 0.8rem;
}

.exc-palette {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.exc-palette .exc-palette-swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 10px rgba(31, 18, 38, 0.16);
    cursor: pointer;
    padding: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.exc-palette .exc-palette-swatch:hover,
.exc-palette .exc-palette-swatch:focus-visible {
    transform: scale(1.18);
    box-shadow: 0 8px 18px rgba(200, 39, 138, 0.32);
    outline: none;
}

/* Mini-card flotante con la foto real del globo */
.exc-swatch-tooltip {
    position: fixed;
    transform: translate(-50%, -100%) scale(0.92);
    background: white;
    color: var(--exc-text);
    padding: 10px 14px 10px 10px;
    border-radius: 18px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 22px 44px rgba(31, 18, 38, 0.22);
    border: 1px solid var(--exc-line);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 999;
    white-space: nowrap;
}

.exc-swatch-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 8px)) scale(1);
}

.exc-swatch-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: white;
    border-right: 1px solid var(--exc-line);
    border-bottom: 1px solid var(--exc-line);
}

.exc-swatch-tooltip-photo {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--exc-bg-soft);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(31, 18, 38, 0.16);
}

.exc-swatch-tooltip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exc-swatch-tooltip-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(31, 18, 38, 0.18);
}

.exc-swatch-tooltip-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exc-swatch-tooltip-name {
    font-weight: 800;
    color: var(--exc-text);
    font-size: 0.95rem;
}

.exc-swatch-tooltip-hex {
    color: var(--exc-muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ─── Toggle de idioma ─── */
.exc-lang-toggle {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 50;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--exc-line);
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
    box-shadow: 0 14px 30px rgba(200, 39, 138, 0.18);
    backdrop-filter: blur(8px);
}

.exc-lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--exc-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.exc-lang-btn:hover { color: var(--exc-brand); }

.exc-lang-btn.active {
    background: var(--exc-brand);
    color: white;
    box-shadow: 0 6px 14px rgba(200, 39, 138, 0.32);
}

@media (max-width: 640px) {
    .exc-lang-toggle {
        top: 12px;
        right: 12px;
        padding: 3px;
    }
    .exc-lang-btn {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

/* ─── Botón Volver al inicio ─── */
.exc-back-home {
    position: fixed;
    top: 22px;
    left: 22px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.94);
    color: var(--exc-brand);
    padding: 10px 18px 10px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 14px 30px rgba(200, 39, 138, 0.18);
    border: 1px solid var(--exc-line);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    backdrop-filter: blur(8px);
}

.exc-back-home:hover {
    background: var(--exc-brand);
    color: white;
    transform: translateX(-3px);
    box-shadow: 0 18px 36px rgba(200, 39, 138, 0.32);
}

.exc-back-home svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .exc-back-home {
        top: 12px;
        left: 12px;
        padding: 8px 14px 8px 10px;
        font-size: 0.78rem;
    }
    .exc-back-home svg { width: 16px; height: 16px; }
}

.exc-about {
    margin: 0 0 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--exc-text);
}

.exc-about strong {
    color: var(--exc-brand);
    font-weight: 800;
}

.exc-about em {
    font-style: normal;
    color: var(--exc-muted);
    font-size: 0.85rem;
}

.exc-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.exc-feature {
    background: var(--exc-bg-soft);
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    font-size: 0.72rem;
    color: var(--exc-text);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.exc-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: white;
    color: var(--exc-mint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--exc-shadow-sm);
}

/* ─── PURCHASE CARD ─── */

.exc-purchase-card {
    background: var(--exc-card);
    border-radius: var(--exc-radius-md);
    box-shadow: var(--exc-shadow-md);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.exc-purchase-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--exc-muted);
}

.exc-purchase-current {
    color: var(--exc-mint);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.exc-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.exc-size-btn {
    background: var(--exc-bg-soft);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 10px 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.exc-size-btn strong {
    font-size: 0.85rem;
    color: var(--exc-text);
}

.exc-size-btn small {
    font-size: 0.7rem;
    color: var(--exc-muted);
}

.exc-size-btn.active {
    background: white;
    border-color: var(--exc-mint);
    box-shadow: 0 10px 20px rgba(109, 181, 168, 0.18);
    transform: translateY(-2px);
}

.exc-purchase-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    color: var(--exc-muted);
}

.exc-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--exc-bg-soft);
    border-radius: 999px;
    padding: 4px 10px;
}

.exc-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--exc-text);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: var(--exc-shadow-sm);
}

.exc-qty-control span {
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 22px;
    text-align: center;
}

.exc-purchase-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-top: 1px solid var(--exc-line);
    border-bottom: 1px solid var(--exc-line);
}

.exc-purchase-total span {
    color: var(--exc-muted);
    letter-spacing: 0.1em;
    font-size: 0.78rem;
}

.exc-purchase-total strong {
    font-family: "Fraunces", serif;
    font-size: 1.6rem;
    color: var(--exc-text);
    font-weight: 700;
}

.exc-purchase-btn {
    border: none;
    background: linear-gradient(135deg, var(--exc-mint), #7cc7b8);
    color: white;
    padding: 14px 18px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 18px 32px rgba(109, 181, 168, 0.32);
    transition: transform 0.2s;
}

.exc-purchase-btn:hover { transform: translateY(-2px); }

.exc-help-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0 0;
}

.exc-help-title {
    margin: 0 0 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--exc-text);
    letter-spacing: 0.01em;
}

.exc-help-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--exc-text);
    background: var(--exc-bg-soft);
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    width: 100%;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.exc-help-option:hover {
    background: white;
    border-color: var(--exc-line);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(200, 39, 138, 0.10);
}

.exc-help-option strong {
    display: block;
    font-size: 0.9rem;
    color: var(--exc-text);
}

.exc-help-option small {
    display: block;
    font-size: 0.76rem;
    color: var(--exc-muted);
    margin-top: 2px;
}

.exc-help-option-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(31, 18, 38, 0.16);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1180px) {
    .exc-shell {
        grid-template-columns: 250px 1fr 290px;
        gap: 14px;
        padding: 14px;
    }
    .exc-stage { padding: 24px 28px 24px; }
}

@media (max-width: 980px) {
    .exc-shell {
        grid-template-columns: 1fr;
    }
    .exc-aside {
        position: static;
        max-height: none;
    }
    .exc-aside-left .exc-style-list {
        flex-direction: row;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .exc-aside-left .exc-style-card {
        flex: 0 0 220px;
    }
    .exc-aside-left .exc-progress { display: none; }
    .exc-stage {
        min-height: 80vh;
        max-height: none;
    }
    .exc-feature-grid { gap: 6px; }
}

@media (max-width: 640px) {
    .exc-shell {
        padding: 12px;
        gap: 12px;
    }

    .exc-stage {
        padding: 22px 16px 22px;
        border-radius: 22px;
    }

    .exc-stage-title { font-size: 2rem; line-height: 1.05; }
    .exc-stage-subtitle { font-size: 0.74rem; letter-spacing: 0.16em; }
    .exc-stage-meta { margin-top: 10px; font-size: 0.88rem; max-width: 100%; }
    .exc-featured-chip { font-size: 0.65rem; padding: 5px 12px; }

    .exc-aside-left .exc-style-card { flex: 0 0 160px; }
    .exc-style-thumb { aspect-ratio: 1 / 1.1; }
    .exc-style-name { font-size: 0.88rem; margin-top: 8px; }
    .exc-style-tagline { font-size: 0.72rem; }

    .exc-gallery { gap: 6px; }
    .exc-gallery-arrow { width: 38px; height: 38px; }
    .exc-gallery-arrow svg { width: 18px; height: 18px; }
    .exc-gallery-stage {
        width: clamp(180px, 65vw, 260px);
        height: clamp(280px, 50vh, 420px);
    }

    .exc-info-card { padding: 14px 16px; }
    .exc-purchase-card { padding: 16px 16px 14px; }
    .exc-purchase-total strong { font-size: 1.4rem; }

    .exc-size-grid { gap: 5px; }
    .exc-size-btn { padding: 8px 2px; }
    .exc-size-btn strong { font-size: 0.78rem; }
    .exc-size-btn small { font-size: 0.62rem; }

    .exc-feature-grid { gap: 6px; }
    .exc-feature { padding: 10px 4px; font-size: 0.66rem; }

    /* CTA central — móvil */
    .exc-stage-cta { padding: 6px 0 4px; gap: 6px; }
    .exc-stage-cta-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        min-width: min(86vw, 320px);
        box-shadow: 0 14px 28px rgba(200, 39, 138, 0.30);
    }
    .exc-stage-cta-meta { font-size: 0.76rem; gap: 6px; }
    .exc-stage-cta-meta strong { font-size: 0.9rem; }

    /* Posición del chatbot en móvil para no chocar con la galería */
    .chatbot-launcher,
    [class*=chatbot-launch] { bottom: 16px !important; right: 16px !important; }
}

@media (max-width: 380px) {
    .exc-stage-title { font-size: 1.8rem; }
    .exc-aside-left .exc-style-card { flex: 0 0 140px; }
    .exc-stage-cta-btn { padding: 13px 20px; font-size: 0.9rem; min-width: min(90vw, 300px); }
    .exc-stage-cta-meta { font-size: 0.72rem; }
}
