.svp-model-card .svp-home-product-body {display:flex;flex-direction:column;gap:0}
.svp-model-card .svp-home-product-image {position:relative}
.svp-model-card .svp-model-promo {position:absolute;left:10px;top:10px;background:#f00;color:#fff;border-radius:4px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1.1}
.svp-model-card .svp-model-promo[hidden] {display:none}
.svp-model-card .svp-model-controls {position:relative;z-index:4;margin:4px 0 12px;display:grid;gap:8px}
.svp-model-card .svp-model-field {border:0;padding:0;margin:0;min-width:0}
.svp-model-card .svp-model-field legend {font-size:11px;line-height:1.4;color:#526176;font-weight:600;padding:0;margin-bottom:4px}
.svp-model-card .svp-model-options {display:flex;flex-wrap:wrap;gap:5px}
.svp-model-card .svp-model-option {display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:32px;min-height:30px;padding:4px 8px;border:1px solid #c4cfdf;border-radius:7px;background:#fff;color:#172033;font-family:inherit;font-weight:600;font-size:11px;line-height:1.3;cursor:pointer}
.svp-model-card .svp-model-option[aria-pressed="true"] {border-color:#0043d4;color:#0043d4;background:#e4edff;box-shadow:inset 0 0 0 1px #0043d4}
.svp-model-card .svp-model-option:focus-visible {outline:2px solid #0043d4;outline-offset:3px}
.svp-model-card .svp-model-option .swatch {display:block;width:13px;height:13px;border-radius:50%;border:1px solid #94a3b8;background:var(--swatch)}
.svp-model-card .svp-model-option[data-dimension="storage_capacity"] {border-radius:999px}
.svp-model-card .svp-model-option.is-color-swatch {width:34px;height:34px;min-width:34px;padding:4px!important;border-radius:50%;background:transparent}
.svp-model-card .svp-model-option.is-color-swatch .swatch {width:24px;height:24px;background:var(--swatch,#cbd5e1)}
.svp-model-card .is-color-swatch .svp-model-option-label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.svp-model-card .svp-model-field:is([data-field="cosmetic_grade"],[data-field="color"],[data-field="storage_capacity"]) legend {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.svp-model-card .svp-model-option[data-dimension="cosmetic_grade"] {color:#e88a10;font-size:17px;letter-spacing:1px;line-height:1;min-height:30px;padding:4px 7px}
html body .svp-home-main .svp-section .is-carousel>.svp-home-product-card.svp-model-card .svp-home-product-image {aspect-ratio:4/3!important}
html body .svp-home-main .svp-section .is-carousel>.svp-home-product-card.svp-model-card .svp-home-product-title {min-height:34px!important;margin-bottom:4px!important;font-weight:600!important}
.svp-model-card .svp-model-price-block {margin-top:auto;padding-top:5px;color:#172033}
.svp-model-card .svp-model-full-price {font-size:12px;line-height:1.5;margin-bottom:4px}
.svp-model-card .svp-model-full-price strong {font-weight:700}
.svp-model-card .svp-model-cash-row {display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 7px}
.svp-model-card .svp-model-cash-price {font-size:24px;font-weight:700;line-height:1.25;letter-spacing:-.6px;white-space:nowrap}
.svp-model-card .svp-model-cash-label {font-size:11px;white-space:nowrap}
.svp-model-card .svp-model-cash-terms {display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.svp-model-card .svp-model-discount {display:inline-flex;background:#0043d4;color:white;font-size:11px;line-height:1.4;font-weight:700;border-radius:20px;padding:3px 7px;white-space:nowrap}
.svp-model-card .svp-model-installment {font-size:11px;line-height:1.5;color:#526176;margin:6px 0 0}
.svp-model-card .svp-model-summary {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.svp-model-card .svp-home-product-title {min-height:36px!important;margin-bottom:2px!important}
.svp-model-card .svp-home-canje-note {display:flex;align-items:flex-start;gap:7px;color:#172033;font-size:12px;line-height:1.4;margin:6px 0 10px!important}
.svp-model-card .svp-home-canje-note strong {color:#15803d;font-weight:700}
.svp-model-card .svp-home-canje-icon {width:18px;height:18px;flex:0 0 18px;color:#15803d}
.svp-model-card .svp-home-canje-name {white-space:nowrap}
.svp-model-card .svp-free-shipping {margin-top:12px!important}
.svp-model-card .svp-model-open {position:relative;z-index:4;display:block;border:1px solid #0043d4;border-radius:8px;margin-top:12px;padding:9px 12px;color:#0043d4;text-align:center;font-size:12px;font-weight:700;text-decoration:none;background:#fff}
:is(body.dark,body.dark-mode,body.svp-dark,html.dark,html.dark-mode,html.svp-dark) .svp-model-card :is(.svp-model-price-block,.svp-home-canje-note) {color:#e2e8f0}
:is(body.dark,body.dark-mode,body.svp-dark,html.dark,html.dark-mode,html.svp-dark) .svp-model-card :is(.svp-model-field legend,.svp-model-installment) {color:#bac7db}
:is(body.dark,body.dark-mode,body.svp-dark,html.dark,html.dark-mode,html.svp-dark) .svp-model-card .svp-home-canje-note strong {color:#86efac}
@media(min-width:1051px) and (max-width:1599px) {
  html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel>.svp-model-card {flex:0 0 calc((100% - 48px)/4)!important;width:calc((100% - 48px)/4)!important;max-width:calc((100% - 48px)/4)!important}
  .svp-model-card .svp-model-cash-price {font-size:22px}
}
@media(max-width:640px) {
  html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel>.svp-model-card {flex:0 0 calc((100% - 32px)/2)!important;width:calc((100% - 32px)/2)!important;max-width:calc((100% - 32px)/2)!important}
  .svp-model-card .svp-model-option {min-height:30px;padding:4px 6px;font-size:10px}
  .svp-model-card .svp-model-cash-price {font-size:19px;letter-spacing:-.4px}
  .svp-model-card .svp-model-full-price {font-size:11px}
  .svp-model-card .svp-model-cash-row {gap:4px}
  .svp-model-card .svp-model-cash-label,.svp-model-card .svp-model-discount {font-size:10px}
  .svp-model-card .svp-model-installment {font-size:10px}
}

/* Heights come from the actual content in each carousel, at its current width. */
html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel > .svp-home-product-card.svp-model-card {
    height: auto !important;
    align-self: stretch !important;
    transform: none !important;
}

html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel > .svp-home-product-card.svp-model-card .svp-model-aligned-row {
    min-height: var(--svp-aligned-row-height) !important;
    box-sizing: border-box;
}
.svp-model-card .svp-model-field-placeholder { visibility: hidden; pointer-events: none; }
@media (max-width: 640px) {
    html body .svp-home-main .svp-section .svp-product-carousel-wrap:has(> .svp-home-product-grid.is-carousel > .svp-model-card) {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
    html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel:has(> .svp-model-card) {
        padding: 0 0 8px !important;
        gap: 10px !important;
        scroll-padding-inline: 0 !important;
        scroll-snap-type: x mandatory;
    }
    html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel > .svp-home-product-card.svp-model-card {
        flex: 0 0 calc((100% - 10px) / 2) !important;
        width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Mobile: two complete cards, a small next-card preview and less dead space. */
.svp-model-swipe-hint {display:none}
@media (max-width:640px) {
    .svp-home-main .svp-model-swipe-hint {display:block;text-align:right;font-size:11px;font-weight:600;line-height:16px;color:#526176;margin:0 -2px 6px}
    html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel > .svp-home-product-card.svp-model-card {
        flex:0 0 calc((100% - 36px) / 2) !important;
        width:calc((100% - 36px) / 2) !important;
        max-width:calc((100% - 36px) / 2) !important;
        align-self:flex-start !important;
        scroll-snap-align:none !important;
    }
    html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel > .svp-home-product-card.svp-model-card:nth-child(odd) {scroll-snap-align:start !important}
    html body .svp-home-main .svp-section .svp-home-product-grid.is-carousel:has(> .svp-model-card) {align-items:flex-start !important;scroll-padding-right:26px !important}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-body {padding:6px 3px 6px !important}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-title {font-size:12px !important;line-height:16px !important;min-height:32px !important;margin:0 0 3px !important}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-ml-soldline {line-height:14px;min-height:14px;margin-bottom:2px}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-model-controls {display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:2px 0 4px}
    .svp-home-main .svp-model-card .svp-model-options {gap:4px}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-image img {transform:none !important}
    .svp-home-main .svp-model-card .svp-model-option {min-height:28px;padding:4px 6px;font-size:10px}
    .svp-home-main .svp-model-card .svp-model-option[data-dimension="cosmetic_grade"] {font-size:13px;letter-spacing:0;min-height:28px;padding:4px}
    .svp-home-main .svp-model-card .svp-model-option.is-color-swatch {width:30px;height:30px;min-width:30px;padding:3px !important}
    .svp-home-main .svp-model-card .svp-model-option.is-color-swatch .swatch {width:22px;height:22px}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-home-canje-note {font-size:11px;line-height:14px;gap:4px;margin:4px 0 5px !important}
    .svp-home-main .svp-model-card .svp-home-canje-icon {width:15px;height:15px;flex-basis:15px}
    .svp-home-main .svp-model-card .svp-model-price-block {padding-top:2px;margin-top:0}
    .svp-home-main .svp-model-card .svp-model-full-price {font-size:11px;line-height:14px;margin-bottom:4px}
    .svp-home-main .svp-model-card .svp-model-cash-price {font-size:19px;line-height:23px}
    .svp-home-main .svp-model-card .svp-model-cash-row {gap:3px 4px}
    .svp-home-main .svp-model-card .svp-model-installment {font-size:10px;line-height:14px;margin:4px 0 0}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-free-shipping {font-size:12px !important;line-height:16px !important;margin:3px 0 0 !important}
    html body .svp-home-main .svp-section .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-urgency {font-size:11px !important;line-height:15px !important;margin:2px 0 0 !important;padding-top:0 !important}
    .svp-home-main .svp-model-card .svp-model-open {font-size:11px;line-height:16px;padding:8px 6px;margin-top:6px;min-height:34px}
    .svp-home-main #categorias {scroll-margin-top:54px}
    .svp-home-main [id^="svpcat-"] {scroll-margin-top:80px}
}

/* Approved option B. */
@media (max-width:640px) {
    html body .svp-home-main #categorias > .svp-cat-panel > .svp-product-carousel-wrap {
        min-height:calc(100vh - 44px);
        min-height:calc(100dvh - 44px);
        box-sizing:border-box;
    }
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-image {
        aspect-ratio:1/1 !important;
    }
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-body {
        padding:8px 3px !important;
    }
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-title {
        font-size:14px !important;line-height:18px !important;min-height:36px !important;margin-bottom:5px !important;
    }
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-model-controls {
        gap:6px;margin:3px 0 6px;
    }
    .svp-home-main #categorias .svp-model-card .svp-model-option {min-height:32px;font-size:11px;padding:4px 6px}
    .svp-home-main #categorias .svp-model-card .svp-model-option[data-dimension="cosmetic_grade"] {min-height:32px;font-size:15px;padding:4px;letter-spacing:0}
    .svp-home-main #categorias .svp-model-card .svp-model-option.is-color-swatch {width:34px;height:34px;min-width:34px}
    .svp-home-main #categorias .svp-model-card .svp-model-option.is-color-swatch .swatch {width:26px;height:26px}
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-home-canje-note {font-size:12px;line-height:16px;margin:5px 0 7px !important}
    .svp-home-main #categorias .svp-model-card .svp-model-full-price {font-size:12px;line-height:16px;margin-bottom:5px}
    .svp-home-main #categorias .svp-model-card .svp-model-cash-price {font-size:22px;line-height:27px}
    .svp-home-main #categorias .svp-model-card .svp-model-cash-label,.svp-home-main #categorias .svp-model-card .svp-model-discount {font-size:11px}
    .svp-home-main #categorias .svp-model-card .svp-model-installment {font-size:11px;line-height:16px;margin-top:6px}
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-free-shipping {font-size:13px !important;line-height:18px !important;margin-top:6px !important}
    html body .svp-home-main #categorias .is-carousel > .svp-home-product-card.svp-model-card .svp-home-product-urgency {font-size:12px !important;line-height:17px !important;margin-top:4px !important}
    .svp-home-main #categorias .svp-model-card .svp-model-open {font-size:12px;line-height:18px;padding:10px 6px;margin-top:9px;min-height:40px}
}
