.lcm {
    --lcm-background: #f3ede9;
    --lcm-card: #fff;
    --lcm-title: #303943;
    --lcm-muted: #4d5c6d;
    --lcm-accent: #1755df;
    --lcm-bronze: #a17a60;
    --lcm-panel: #fff;
    --lcm-green: #168600;
    --lcm-card-width: calc((100% - 4 * var(--lcm-gap)) / 4.35);
    --lcm-gap: 12px;
    background: var(--lcm-background);
    color: var(--lcm-title);
    padding: 26px 22px 17px;
    font-family: Montserrat, Arial, sans-serif;
    min-width: 0;
    width: 100%;
    box-sizing: border-box
}

.lcm * {
    box-sizing: border-box
}

.lcm button,
.lcm a {
    font-family: inherit
}

.lcm-track-wrap {
    position: relative;
    min-width: 0
}

.lcm-track {
    display: flex;
    align-items: stretch;
    gap: var(--lcm-gap);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 5px 22px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain
}

.lcm-track::-webkit-scrollbar {
    display: none
}

.lcm-card {
    position: relative;
    flex: 0 0 var(--lcm-card-width);
    width: var(--lcm-card-width);
    border-radius: 7px;
    background: var(--lcm-card);
    box-shadow: 0 2px 8px #00000018;
    padding: 12px 17px 14px;
    min-height: 440px;
    border: 2px solid transparent;
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    scroll-snap-align: center;
    overflow: hidden
}

.lcm-card.is-active {
    border-color: #c7dbff;
    box-shadow: 0 3px 8px #263b5866;
    transform: scale(1.025);
    z-index: 2
}

.lcm-card-select {
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    cursor: pointer;
    display: block;
    text-align: left;
    width: 100%;
    box-shadow: none !important
}

.lcm-image {
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px
}

.lcm-image img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.lcm-placeholder {
    color: #84909c;
    font-size: 10px;
    text-align: center;
    border: 1px dashed #d3d3d3;
    padding: 10px
}

.lcm-model-name {
    display: block;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 14px;
    color: var(--lcm-title)
}

.lcm-ribbon {
    position: absolute;
    right: -33px;
    top: 17px;
    width: 130px;
    transform: rotate(32deg);
    background: var(--lcm-ribbon, var(--lcm-green));
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 5px 2px;
    z-index: 3;
    pointer-events: none
}

.lcm-details {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.lcm-detail {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0
}

.lcm-detail-icon {
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    color: #1c489a;
    display: flex;
    align-items: center;
    justify-content: center
}

.lcm-detail-icon svg,
.lcm-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.lcm-detail-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    gap: 1px
}

.lcm-detail-copy span {
    font-size: 12px;
    color: var(--lcm-muted)
}

.lcm-detail-copy strong {
    font-size: 12px;
    font-weight: 700;
    color: var(--lcm-title)
}

.lcm-card-button {
    width: 100%;
    border: 1.4px solid var(--lcm-bronze) !important;
    color: var(--lcm-bronze) !important;
    background: transparent !important;
    border-radius: 30px;
    padding: 5px 8px;
    line-height: 1.15;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    min-height: 32px;
    margin-top: 12px
}

.lcm-card-button:hover,
.lcm-card-button:focus-visible {
    background: var(--lcm-bronze) !important;
    color: white !important
}

.lcm-card-select:focus-visible,
.lcm-close:focus-visible,
.lcm-arrow:focus-visible {
    outline: 3px solid var(--lcm-accent);
    outline-offset: 3px
}

.lcm-arrow {
    position: absolute;
    top: 43%;
    border-radius: 50%;
    border: 1px solid #d4d4d4 !important;
    background: white !important;
    color: var(--lcm-accent) !important;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0 2px 7px #0002;
    padding: 0
}

.lcm-arrow--prev {
    left: -20px
}

.lcm-arrow--next {
    right: -20px
}

.lcm-arrow[disabled] {
    opacity: .3;
    cursor: default
}

.lcm-footnote {
    font-size: 9px;
    color: #606060;
    margin: 14px 4px 22px !important;
    line-height: 1.4
}

.lcm-panels {
    width: 100%
}

.lcm-panel {
    position: relative;
    background: var(--lcm-panel);
    border-radius: 13px;
    padding: 25px 42px 27px;
    box-shadow: none
}

.lcm-panel[hidden] {
    display: none !important
}

.lcm-close {
    position: absolute;
    right: 18px;
    top: 17px;
    border: 1px solid #c8a788 !important;
    border-radius: 50%;
    background: transparent !important;
    color: #bc9473 !important;
    width: 24px;
    height: 24px;
    padding: 0 !important;
    font-weight: 400;
    font-size: 21px;
    line-height: 20px;
    cursor: pointer
}

.lcm-panel-header h3 {
    font-size: 15px;
    line-height: 1.3;
    color: var(--lcm-muted);
    font-weight: 700;
    margin: 0 36px 12px 0
}

.lcm-panel-header p {
    font-size: 12px;
    line-height: 1.4;
    color: var(--lcm-muted);
    margin: 0 0 16px;
    max-width: 1000px
}

.lcm-details--panel {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
    justify-items: start;
    align-items: center;
    column-gap: clamp(20px, 3.2vw, 46px);
    row-gap: 14px;
    width: 100%;
    margin: 0 auto 20px
}

.lcm-details--panel .lcm-detail-icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    color: #c7ae9a
}

.lcm-details--panel .lcm-detail-copy span {
    font-size: 12px
}

.lcm-details--panel .lcm-detail-copy strong {
    font-size: 12px
}

.lcm-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px
}

.lcm-price>span {
    color: var(--lcm-bronze);
    font-size: 16px;
    font-weight: 700
}

.lcm-price strong {
    color: #204587;
    font-size: 31px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.7px
}

.lcm-price small {
    font-size: 9px;
    color: var(--lcm-muted)
}

.lcm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-top: 14px
}

.lcm-action {
    border: 2px solid var(--lcm-accent);
    border-radius: 36px;
    padding: 9px 12px;
    min-height: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    transition: .2s
}

.lcm-action--primary {
    background: #1454D7;
}

.lcm-action--outline {
    background: #fff;
    color: #1454D7!important
}

.lcm-action--disabled {
    opacity: .65;
    cursor: default
}

.lcm-action[href]:hover {
    filter: brightness(.91)
}

@media(min-width:768px) and (max-width:1050px) {
    .lcm {
        --lcm-card-width: calc((100% - 3 * var(--lcm-gap)) / 3.35)
    }

    .lcm-card {
        min-height: 400px
    }

    .lcm-image {
        height: 170px
    }
}

@media(max-width:767px) {
    .lcm {
        padding: 10px 10px 24px;
        --lcm-card-width: min(72vw, 285px);
        --lcm-gap: 14px
    }

    .lcm-track {
        padding: 10px 34px 18px;
        scroll-padding-left: 34px;
    }

    .lcm-card {
        padding: 12px 15px 15px;
        min-height: 430px;
        border-radius: 7px
    }

    .lcm-image {
        height: 185px;
        margin-bottom: 14px
    }

    .lcm-model-name {
        font-size: 14px;
        margin-bottom: 15px
    }

    .lcm-detail {
        gap: 10px
    }

    .lcm-detail-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px
    }

    .lcm-detail-copy span {
        font-size: 12px
    }

    .lcm-detail-copy strong {
        font-size: 12px
    }

    .lcm-details {
        gap: 11px
    }

    .lcm-ribbon {
        top: 15px;
        right: -35px;
        width: 137px
    }

    .lcm-card-button {
        margin-top: 16px;
        font-size: 11px;
        min-height: 30px
    }

    .lcm-arrow {
        display: none
    }

    .lcm-footnote {
        font-size: 8px;
        margin: 12px 14px 26px !important
    }

    .lcm-panel {
        padding: 37px 12px 22px;
        border-radius: 13px
    }

    .lcm-close {
        top: 12px;
        right: 12px
    }

    .lcm-panel-header h3 {
        font-size: 14px;
        margin: 0 20px 14px 0
    }

    .lcm-panel-header p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.32
    }

    .lcm-details--panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        justify-items: stretch;
        align-items: center;
        column-gap: 12px;
        row-gap: 22px;
        width: 100%;
        max-width: 338px;
        margin: 8px auto 30px;
    }

    .lcm-details--panel .lcm-detail {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        justify-content: start;
        gap: 9px;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .lcm-details--panel .lcm-detail-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        min-width: 28px;
    }

    .lcm-details--panel .lcm-detail-copy span {
        font-size: 12px
    }

    .lcm-details--panel .lcm-detail-copy strong {
        font-size: 12px
    }

    .lcm-price>span {
        font-size: 16px
    }

    .lcm-price strong {
        font-size: 27px;
        letter-spacing: -.6px
    }

    .lcm-price small {
        font-size: 9px
    }

    .lcm-actions {
        gap: 7px;
        margin-top: 16px
    }

    .lcm-action {
        font-size: 11px;
        min-height: 36px;
        padding: 7px 5px
    }
}

@media(prefers-reduced-motion:reduce) {
    .lcm-track {
        scroll-behavior: auto
    }

    .lcm-card,
    .lcm-action {
        transition: none
    }
}
/* Cintilla subida como imagen desde Elementor. No rotar: el SVG ya contiene la forma. */
.lcm-card { position: relative; overflow: hidden; }
.lcm-ribbon-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 118px;
    height: auto;
    max-width: 85%;
    display: block;
    z-index: 4;
    pointer-events: none;
    line-height: 0;
}
.lcm-ribbon-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Panel desplegable: íconos y textos alineados sin afectar las tarjetas. */
.lcm .lcm-details--panel .lcm-detail {
    min-width: 0;
    text-align: left;
}
.lcm .lcm-details--panel .lcm-detail-copy {
    min-width: 0;
    text-align: left;
}
.lcm .lcm-details--panel .lcm-detail-copy span,
.lcm .lcm-details--panel .lcm-detail-copy strong {
    text-align: left;
}
@media (min-width: 768px) {
    .lcm .lcm-details--panel .lcm-detail {
        display: grid;
        grid-template-columns: 30px max-content;
        align-items: center;
        column-gap: 20px;
    }
    .lcm .lcm-details--panel .lcm-detail-icon {
        width: 40px!important;
        height: 40px!important;
        flex-basis: 30px;
    }
}
@media (max-width: 767px) {
    .lcm .lcm-details--panel .lcm-detail-copy strong {
        overflow-wrap: break-word;
    }
}
