/* ==========================================================================
   CLIVO SECCIÓN BLOCK — ESTILOS UNIFICADOS
   Autor: Jorge CR - Clivo GE
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SECCIÓN PODIO DE PRODUCTOS ([clivo_podio])
   -------------------------------------------------------------------------- */
.csb-wrapper {
    --csb-bg-card: #1a1b18;
    --csb-gold: #c9a24b;
    --csb-silver: #d4d8df;
    --csb-bronze: #d99566;
    --csb-text: #f5f3ee;
    --csb-heading: #1a1b18;
    max-width: 1140px;
    margin: 2.5rem auto;
    padding: 1rem;
    box-sizing: border-box;
}

.csb-wrapper *,
.csb-wrapper *::before,
.csb-wrapper *::after {
    box-sizing: border-box;
}

.csb-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.csb-main-title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--csb-heading);
}

.csb-main-subtitle {
    margin: 0 auto;
    max-width: 600px;
    font-size: 1rem;
    opacity: 0.78;
    color: var(--csb-heading);
}

.csb-card {
    position: relative;
    background: var(--csb-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    color: var(--csb-text);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.csb-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.csb-actions {
    position: relative;
    z-index: 3;
    margin-top: 1rem;
}

.csb-card:hover { transform: translateY(-5px); }
.csb-card:hover .csb-media img { transform: scale(1.06); }

.csb-media-wrap { position: relative; }

.csb-media {
    overflow: hidden;
    background: #242622;
    position: relative;
    z-index: 1;
}

.csb-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.csb-badge {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.38);
}

.csb-rank-1 .csb-badge {
    background: linear-gradient(135deg, #f6d365 0%, #c9a24b 100%);
    color: #16130a;
    border: 1px solid #fff3c4;
}
.csb-rank-2 .csb-badge {
    background: linear-gradient(135deg, #f0f2f5 0%, #b8bec7 100%);
    color: #16181d;
    border: 1px solid #ffffff;
}
.csb-rank-3 .csb-badge {
    background: linear-gradient(135deg, #e5a375 0%, #a96336 100%);
    color: #1c0f06;
    border: 1px solid #ffd4b8;
}

.csb-forma-cuadrado .csb-media { border-radius: 16px; }
.csb-forma-circulo .csb-media  { border-radius: 50%; }
.csb-forma-arco .csb-media     { border-radius: 999px 999px 18px 18px; }
.csb-forma-hexagono .csb-media {
    border-radius: 28px;
    clip-path: polygon(50% 0%, 96% 24%, 96% 76%, 50% 100%, 4% 76%, 4% 24%);
}

.csb-body { padding: 1.35rem; text-align: center; }

.csb-tag {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--csb-gold);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.csb-title {
    margin: 0 0 0.45rem;
    font-size: 1.32rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--csb-text);
}

.csb-price { font-size: 1.15rem; font-weight: 600; color: var(--csb-text); }
.csb-price del { opacity: 0.55; margin-right: 6px; font-weight: 400; }
.csb-price ins { text-decoration: none; }

.csb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.7rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: var(--csb-text);
    transition: all 0.25s ease;
    cursor: pointer;
}

.csb-rank-1 .csb-btn {
    background: var(--csb-gold);
    color: #141412;
    border-color: var(--csb-gold);
}

.csb-btn:hover { filter: brightness(1.12); transform: scale(1.03); }
.csb-btn.added::after { content: " ✓"; }

/* Estilo Pedestal 3D */
.csb-estilo-pedestal .csb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 1.5rem;
    padding-top: 1.5rem;
}
.csb-estilo-pedestal .csb-card {
    background: transparent;
    border: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.csb-estilo-pedestal .csb-media-wrap {
    width: 195px;
    height: 195px;
    margin-bottom: -36px;
    z-index: 3;
}
.csb-estilo-pedestal .csb-rank-1 .csb-media-wrap { width: 230px; height: 230px; }
.csb-estilo-pedestal .csb-media {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}
.csb-estilo-pedestal .csb-rank-1 .csb-media { border-color: #f6d365; }
.csb-estilo-pedestal .csb-badge { bottom: -12px; left: 50%; transform: translateX(-50%); }

.csb-estilo-pedestal .csb-body {
    width: 100%;
    position: relative;
    padding: 3.4rem 1.25rem 1.6rem;
    border-radius: 6px 6px 12px 12px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}
.csb-estilo-pedestal .csb-body::before {
    content: "";
    position: absolute;
    top: -10px; left: -6px; right: -6px;
    height: 14px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.csb-estilo-pedestal .csb-body::after {
    content: "";
    position: absolute;
    bottom: -8px; left: -8px; right: -8px;
    height: 12px;
    border-radius: 4px 4px 8px 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
.csb-estilo-pedestal .csb-rank-1 .csb-body {
    min-height: 275px;
    background: linear-gradient(180deg, #b8913b 0%, #6f5319 100%);
    color: #fff;
}
.csb-estilo-pedestal .csb-rank-1 .csb-body::before,
.csb-estilo-pedestal .csb-rank-1 .csb-body::after {
    background: linear-gradient(90deg, #9a7528, #e6c26b, #9a7528);
}
.csb-estilo-pedestal .csb-rank-1 .csb-tag { color: #fff3c4; }

.csb-estilo-pedestal .csb-rank-2 .csb-body {
    min-height: 230px;
    background: linear-gradient(180deg, #52565e 0%, #27292e 100%);
}
.csb-estilo-pedestal .csb-rank-2 .csb-body::before,
.csb-estilo-pedestal .csb-rank-2 .csb-body::after {
    background: linear-gradient(90deg, #4b4f57, #8b919c, #4b4f57);
}

.csb-estilo-pedestal .csb-rank-3 .csb-body {
    min-height: 200px;
    background: linear-gradient(180deg, #875738 0%, #422716 100%);
}
.csb-estilo-pedestal .csb-rank-3 .csb-body::before,
.csb-estilo-pedestal .csb-rank-3 .csb-body::after {
    background: linear-gradient(90deg, #6e4429, #b87c54, #6e4429);
}

/* Estilo Bento Grid */
.csb-estilo-bento .csb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.csb-estilo-bento .csb-badge { top: 14px; left: 14px; }
.csb-estilo-bento .csb-rank-1 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #262419 0%, #171815 100%);
    border-color: rgba(201, 162, 75, 0.4);
}
.csb-estilo-bento .csb-rank-1 .csb-media-wrap { height: 320px; }
.csb-estilo-bento .csb-rank-1 .csb-media { height: 100%; }
.csb-estilo-bento .csb-rank-1 .csb-body { text-align: left; padding: 1.5rem 2rem; }
.csb-estilo-bento .csb-rank-2,
.csb-estilo-bento .csb-rank-3 { padding: 1rem; }
.csb-estilo-bento .csb-rank-2 .csb-media-wrap,
.csb-estilo-bento .csb-rank-3 .csb-media-wrap { height: 230px; }
.csb-estilo-bento .csb-rank-2 .csb-media,
.csb-estilo-bento .csb-rank-3 .csb-media { height: 100%; }

/* Estilo Tarjetas Elevadas */
.csb-estilo-tarjetas .csb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
}
.csb-estilo-tarjetas .csb-card { padding: 1rem 1rem 0.5rem; }
.csb-estilo-tarjetas .csb-badge { top: 12px; right: 12px; }
.csb-estilo-tarjetas .csb-media-wrap { aspect-ratio: 1 / 1; }
.csb-estilo-tarjetas .csb-media { width: 100%; height: 100%; }
.csb-estilo-tarjetas .csb-rank-1 {
    transform: translateY(-18px);
    border-color: rgba(201, 162, 75, 0.55);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.csb-estilo-tarjetas .csb-rank-1:hover { transform: translateY(-24px); }

@media (max-width: 768px) {
    .csb-estilo-bento .csb-grid,
    .csb-estilo-bento .csb-rank-1,
    .csb-estilo-pedestal .csb-grid,
    .csb-estilo-tarjetas .csb-grid {
        grid-template-columns: 1fr;
    }
    .csb-estilo-pedestal .csb-grid { gap: 2.5rem; }
    .csb-rank-1 { order: 1; }
    .csb-rank-2 { order: 2; }
    .csb-rank-3 { order: 3; }
    .csb-estilo-tarjetas .csb-rank-1 { transform: none; }
    .csb-estilo-bento .csb-rank-1 .csb-body { text-align: center; }
}

/* --------------------------------------------------------------------------
   2. SECCIÓN CTA CLÁSICO ([clivo_cta_clasico]) — PROPORCIÓN Y MÁRGENES
   -------------------------------------------------------------------------- */
.asesoria-container {
    --csb-cta-bg: #fcf8f9;
    --csb-cta-border: #d81b60;
    --csb-cta-btn: #25d366;
    background-color: var(--csb-cta-bg);
    border-left: 4px solid var(--csb-cta-border);
    border-radius: 14px;
    padding: 22px 30px;
    margin: 40px auto;
    max-width: 960px;
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.asesoria-content { max-width: 620px; }

.asesoria-title {
    color: #333333;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px !important;
    padding: 0 !important;
}

.asesoria-text {
    color: #666666;
    font-size: 14.5px;
    margin: 0 !important;
    line-height: 1.5;
}

.btn-whatsapp-asesoria {
    position: relative;
    z-index: 1;
    display: inline-block;
    background-color: var(--csb-cta-btn);
    color: #ffffff !important;
    font-size: 14.5px;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-whatsapp-asesoria:hover {
    filter: brightness(0.93);
    transform: scale(1.03);
}

.btn-whatsapp-asesoria::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50px;
    background-color: var(--csb-cta-btn);
    opacity: 0.45;
    z-index: -1;
    animation: csb-pulse-wave-btn 2s infinite ease-out;
    pointer-events: none;
}

@keyframes csb-pulse-wave-btn {
    0%   { transform: scale(1); opacity: 0.65; }
    100% { transform: scale(1.15, 1.4); opacity: 0; }
}

@media (max-width: 767px) {
    .asesoria-container {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
        border-left: none;
        border-top: 4px solid var(--csb-cta-border);
    }
    .btn-whatsapp-asesoria { width: 100%; box-sizing: border-box; }
}

/* --------------------------------------------------------------------------
   3. SECCIÓN CTA FORWHAT ([clivo_cta_forwhat]) — LAYOUT COMPACTO EN ESCRITORIO
   -------------------------------------------------------------------------- */
.clivo-custom-card {
    --card-bg: #ebf1ed;
    --card-border: rgba(0, 0, 0, 0.08);
    --brand-green: #2f5949;
    --text-dark: #1d1f1e;
    --text-muted: #5c635f;
    --input-bg: #ffffff;
    --input-border: #d5dfd9;

    max-width: 540px;
    width: calc(100% - 32px);
    margin: 36px auto;
    padding: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    box-sizing: border-box;
}

.clivo-custom-card * { box-sizing: border-box; }

.clivo-custom-card__inner {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 20px;
    align-items: center;
}

.clivo-custom-card__media {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background-color: #e4dad0;
}

.clivo-custom-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clivo-custom-card__kicker {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 4px;
}

.clivo-custom-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0 0 14px;
}

.clivo-custom-card__title em { font-style: italic; }

.clivo-custom-form { display: flex; flex-direction: column; gap: 10px; }
.clivo-field { display: flex; flex-direction: column; gap: 4px; }
.clivo-field label { font-size: 12px; font-weight: 500; color: var(--text-muted); padding-left: 2px; }

.clivo-field input,
.clivo-field select {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}

.clivo-field input::placeholder { color: #98a19c; }
.clivo-field input:focus,
.clivo-field select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(47, 89, 73, 0.12);
}

.clivo-select-wrap { position: relative; }
.clivo-select-wrap::after {
    content: "";
    position: absolute;
    right: 14px; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--brand-green);
    border-bottom: 1.5px solid var(--brand-green);
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.clivo-custom-btn {
    margin-top: 4px;
    width: 100%;
    height: 44px;
    padding: 0 18px;
    background-color: var(--brand-green);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: filter 0.2s ease, transform 0.15s ease;
}

.clivo-custom-btn:hover { filter: brightness(0.9); }
.clivo-custom-btn:active { transform: scale(0.99); }

@media (max-width: 640px) {
    .clivo-custom-card__inner { grid-template-columns: 1fr; }
    .clivo-custom-card__media { aspect-ratio: 16 / 10; }
}

/* --------------------------------------------------------------------------
   4. SECCIÓN GUÍA SITE ([clivo_guia_site]) — PROPORCIÓN Y MÁRGENES
   -------------------------------------------------------------------------- */
.petalos-pasos,
.petalos-pasos * { box-sizing: border-box; }

.petalos-pasos {
    --csb-guia-bg: #FCEFF1;
    --csb-guia-primary: #3B1020;
    --csb-guia-accent: #CF4165;
    width: calc(100% - 32px);
    max-width: 1080px;
    margin: 48px auto;
    padding: 52px 36px;
    background: var(--csb-guia-bg);
    border-radius: 24px;
    font-family: 'DM Sans', sans-serif;
    color: var(--csb-guia-primary);
}

.petalos-contenedor { max-width: 980px; margin: 0 auto; }
.petalos-encabezado { text-align: center; margin-bottom: 42px; }

.petalos-encabezado h2 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(32px, 3.8vw, 46px);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
    color: var(--csb-guia-primary);
    letter-spacing: -1px;
}

.petalos-encabezado h2 em { color: var(--csb-guia-accent); font-weight: 500; }

.petalos-linea {
    width: 72px;
    height: 3px;
    background: #315F4B;
    margin: 16px auto;
    border-radius: 10px;
}

.petalos-encabezado p {
    font-size: 15.5px;
    color: #634651;
    margin: 0;
    line-height: 1.6;
}

.petalos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.petalos-card { min-width: 0; }

.petalos-titulo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.petalos-numero {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--csb-guia-primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 20px;
}

.petalos-card h3 {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--csb-guia-primary);
    margin: 0;
}

.petalos-descripcion {
    font-size: 14px;
    line-height: 1.6;
    color: #634651;
    margin: 0 0 14px;
    min-height: 44px;
}

.petalos-imagen {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.petalos-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .4s ease;
}

.petalos-card:hover .petalos-imagen img { transform: scale(1.035); }

.petalos-acciones {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.petalos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 60px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .3s ease;
}

.petalos-btn-catalogo {
    background: var(--csb-guia-primary);
    color: #ffffff !important;
    border: 2px solid var(--csb-guia-primary);
}
.petalos-btn-catalogo:hover {
    background: var(--csb-guia-accent);
    border-color: var(--csb-guia-accent);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.petalos-btn-catalogo span { font-size: 19px; }

.petalos-btn-whatsapp {
    background: #19A75A;
    color: #ffffff !important;
    border: 2px solid #19A75A;
}
.petalos-btn-whatsapp:hover {
    background: #128747;
    border-color: #128747;
    color: #ffffff !important;
    transform: translateY(-2px);
}
.petalos-btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 850px) {
    .petalos-pasos { padding: 44px 24px; }
    .petalos-grid { gap: 18px; }
    .petalos-card h3 { font-size: 20px; }
}

@media (max-width: 600px) {
    .petalos-pasos {
        width: calc(100% - 24px);
        margin: 32px auto;
        padding: 38px 18px;
        border-radius: 20px;
    }
    .petalos-encabezado { margin-bottom: 30px; }
    .petalos-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 0 auto;
    }
    .petalos-descripcion { min-height: auto; }
    .petalos-acciones { flex-direction: column; gap: 12px; margin-top: 32px; }
    .petalos-btn { width: 100%; max-width: 340px; padding: 15px 18px; }
}

/* --------------------------------------------------------------------------
   5 & 6. SECCIONES MARQUEE (SUPERIOR Y CUERPO CON 3 ESTILOS)
   -------------------------------------------------------------------------- */
.csb-marquee {
    --csb-mq-bg: #1a1b18;
    --csb-mq-txt: #f5f3ee;
    --csb-mq-accent: #c9a24b;
    --csb-mq-speed: 24s;
    --csb-mq-size: 14px;
    width: 100%;
    overflow: hidden;
    background-color: var(--csb-mq-bg);
    color: var(--csb-mq-txt);
    position: relative;
    box-sizing: border-box;
}

.csb-marquee * { box-sizing: border-box; }

.csb-mq-sticky {
    position: sticky;
    top: 0;
    z-index: 9999;
}

.csb-mq-track {
    display: flex;
    width: max-content;
    animation: csb-marquee-scroll var(--csb-mq-speed) linear infinite;
}

.csb-marquee:hover .csb-mq-track { animation-play-state: paused; }

.csb-mq-group {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.csb-mq-item {
    font-size: var(--csb-mq-size);
    font-weight: 600;
    line-height: 1.2;
    padding: 0 18px;
}

.csb-mq-sep {
    color: var(--csb-mq-accent);
    font-size: calc(var(--csb-mq-size) * 0.65);
}

@keyframes csb-marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.csb-mq-sup {
    padding: 9px 0;
    --csb-mq-size: 13px;
}

.csb-mq-sup.csb-mq-estilo-borde {
    border-top: 1px solid var(--csb-mq-accent);
    border-bottom: 1px solid var(--csb-mq-accent);
}

.csb-mq-sup.csb-mq-estilo-pildora .csb-mq-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--csb-mq-accent);
    border-radius: 999px;
    padding: 4px 14px;
    margin: 0 6px;
}

.csb-mq-cuerpo {
    padding: 28px 0;
    margin: 36px 0;
    font-family: 'Bodoni Moda', Georgia, serif;
}

.csb-mq-cuerpo .csb-mq-item {
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 0 28px;
}

.csb-mq-cuerpo.csb-mq-estilo-clasico {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.csb-mq-cuerpo.csb-mq-estilo-borde .csb-mq-item {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--csb-mq-txt);
    transition: color 0.3s ease;
}
.csb-mq-cuerpo.csb-mq-estilo-borde .csb-mq-group .csb-mq-item:nth-of-type(odd) {
    color: var(--csb-mq-txt);
    -webkit-text-stroke: 0;
}

.csb-mq-cuerpo.csb-mq-estilo-pildora { padding: 34px 0; }
.csb-mq-cuerpo.csb-mq-estilo-pildora .csb-mq-item {
    font-family: 'DM Sans', sans-serif;
    border: 2px solid var(--csb-mq-accent);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 12px 32px;
    margin: 0 12px;
}
.csb-mq-cuerpo.csb-mq-estilo-pildora .csb-mq-sep { display: none; }

/* --------------------------------------------------------------------------
   7. SECCIÓN FEED INSTAGRAM (SMASH BALLOON) ([clivo_instagram])
   -------------------------------------------------------------------------- */
.csb-ig-section,
.csb-ig-section * { box-sizing: border-box; }

.csb-ig-section {
    --csb-ig-bg: #faf8f6;
    --csb-ig-primary: #1a1b18;
    --csb-ig-accent: #cf4165;
    width: calc(100% - 32px);
    max-width: 1140px;
    margin: 48px auto;
    padding: 44px 32px;
    border-radius: 24px;
    background-color: var(--csb-ig-bg);
    color: var(--csb-ig-primary);
    font-family: 'DM Sans', sans-serif;
}

.csb-ig-estilo-minimal {
    background-color: transparent !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
    padding: 44px 12px;
}

.csb-ig-estilo-enmarcado {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.csb-ig-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 30px;
}

.csb-ig-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--csb-ig-accent);
    margin-bottom: 6px;
}

.csb-ig-title {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.18;
    margin: 0 0 10px;
    color: var(--csb-ig-primary);
}

.csb-ig-title em { color: var(--csb-ig-accent); font-style: italic; font-weight: 500; }

.csb-ig-subtitle {
    font-size: 14.5px;
    line-height: 1.55;
    color: #5d575a;
    margin: 0 0 12px;
}

.csb-ig-handle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--csb-ig-primary);
    text-decoration: none;
    border-bottom: 1.5px solid var(--csb-ig-accent);
    padding-bottom: 2px;
}

.csb-ig-feed-wrap {
    width: 100%;
}

/* Armonización de Smash Balloon dentro del contenedor */
.csb-ig-feed-wrap #sb_instagram {
    padding: 0 !important;
}

.csb-ig-feed-wrap #sb_instagram #sbi_images .sbi_item .sbi_photo_wrap {
    border-radius: 14px;
    overflow: hidden;
}

.csb-ig-footer {
    text-align: center;
    margin-top: 28px;
}

.csb-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    background-color: var(--csb-ig-primary);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.csb-ig-btn:hover {
    background-color: var(--csb-ig-accent);
    transform: translateY(-2px);
}

.csb-ig-aviso {
    text-align: center;
    padding: 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 14px;
}

@media (max-width: 600px) {
    .csb-ig-section {
        width: calc(100% - 24px);
        margin: 32px auto;
        padding: 32px 16px;
        border-radius: 20px;
    }
}
