/* Homepage product catalogue. The shop archive keeps its own card layout. */
body .skm-home-products.skm-product-showcase.e-con {
    --catalog-ink: #0a2843;
    --catalog-blue: #0072a5;
    --catalog-line: #d6e4ef;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: none;
    padding: clamp(44px, 4.8vw, 76px) max(4vw, calc((100% - 1460px) / 2));
    gap: clamp(24px, 2.6vw, 42px);
    background: radial-gradient(ellipse at 75% 5%, #f2faff, transparent 55%), #fbfdff;
    color: var(--catalog-ink);
}
.skm-home-products.skm-product-showcase::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: clamp(170px, 21vw, 300px);
    z-index: -1;
    pointer-events: none;
    opacity: .7;
    background:
        url("reference-molecule.svg") 6% -35px / 130px auto no-repeat,
        radial-gradient(85% 34% at -46% 46%, transparent 88%, #b2e5ff70 88.4%, #a6e3ff95 92%, transparent 92.4%),
        radial-gradient(70% 39% at 140% 52%, transparent 88%, #c7efff65 88.4%, #95dbfb95 93%, transparent 93.4%);
}
.skm-home-products.skm-product-showcase .skm-home-section-heading.e-con {
    width: 100%;
    padding: 0;
    gap: 16px;
    align-items: flex-end;
}
.skm-home-products.skm-product-showcase .skm-home-section-title.e-con { padding: 0; gap: 10px; }
.skm-home-products.skm-product-showcase .skm-showcase-intro-title .elementor-heading-title {
    margin: 0;
    font-size: clamp(33px, 3.4vw, 56px);
    line-height: 1.38;
    color: var(--catalog-ink);
}
.skm-home-products.skm-product-showcase .skm-products-label,
.skm-home-products.skm-product-showcase .skm-products-description { display: none; }
.skm-home-products.skm-product-showcase .skm-home-section-heading > .elementor-widget-button .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid #153852;
    border-radius: 9px;
    color: #153852;
    background: white;
    text-decoration: none;
}
.skm-product-showcase-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(11px, 1.45vw, 24px);
}
.skm-product-showcase [hidden] { display: none !important; }
.skm-elementor-main [data-product-showcase] .skm-el-card.skm-product-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--catalog-line, #d6e4ef);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 20px #184a6b0d;
}
.skm-elementor-main [data-product-showcase] .skm-product-card > .elementor { height: 100%; }
.skm-elementor-main [data-product-showcase] .skm-product-card .skm-el-card-inner.e-con {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: clamp(10px, 1.2vw, 19px);
    height: 100%;
    min-width: 0;
}
.skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.skm-field-image) {
    display: block;
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.22;
    border-radius: 11px;
    overflow: hidden;
    background: linear-gradient(150deg, #f4f8fb, #e3edf5);
}
[data-product-showcase] .skm-field-image,
[data-product-showcase] .skm-field-image > div,
[data-product-showcase] .elementor-widget-container:has(.skm-field-image) { height: 100%; }
.skm-elementor-main [data-product-showcase] .skm-product-card .skm-field-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 4px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.skm-elementor-main [data-product-showcase] .skm-product-card h3 {
    padding: 0;
    margin: 0;
    min-height: 0;
    font-size: clamp(17px, 1.4vw, 24px);
    line-height: 1.55;
    color: var(--catalog-ink, #0a2843);
    overflow-wrap: anywhere;
}
[data-product-showcase] .skm-product-snippet { display: none; }
.skm-elementor-main [data-product-showcase] .skm-product-card .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--catalog-blue, #0072a5);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.quote-add) {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #e4edf3;
}
.skm-elementor-main [data-product-showcase] .skm-product-card .quote-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 7px 9px;
    border: 1px solid #cbdce8;
    border-radius: 9px;
    background: #fbfdff;
    color: var(--catalog-ink, #0a2843);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
    white-space: normal;
    text-align: center;
}
.skm-elementor-main [data-product-showcase] .quote-add:disabled { color: #275c66; background: #e9f4f5; }
.skm-elementor-main [data-product-showcase] .quote-add [data-quote-label] {
    position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
}
.skm-elementor-main [data-product-showcase] .quote-add .skm-quote-compact { display: none; }
.skm-product-showcase .skm-product-bookmark,
.skm-product-showcase .skm-product-arrows button {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    margin: 0;
    padding: 0;
    border: 1px solid #cbdce7;
    border-radius: 50%;
    background: #fff;
    color: #093752;
    box-shadow: 0 2px 6px #16334c0d;
    cursor: pointer;
}
.skm-product-showcase .skm-product-bookmark {
    position: absolute;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    border-radius: 10px;
}
.skm-product-bookmark svg,
.skm-product-arrows svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.skm-product-bookmark[aria-pressed="true"] { color: #00638e; background: #e8f6ff; }
.skm-product-bookmark[aria-pressed="true"] svg { fill: currentColor; }
.skm-product-showcase-controls {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 44px);
    margin-top: clamp(16px, 2.1vw, 30px);
}
.skm-product-showcase-status { color: #445e71; font-size: 14px; }
.skm-product-progress {
    flex: 1;
    height: 7px;
    width: 100%;
    min-width: 0;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    background: #d6e2eb;
    color: #0089ba;
    accent-color: #0089ba;
}
.skm-product-progress::-webkit-progress-bar { background: #d6e2eb; }
.skm-product-progress::-webkit-progress-value { background: #0089ba; border-radius: 5px; }
.skm-product-progress::-moz-progress-bar { background: #0089ba; border-radius: 5px; }
.skm-product-arrows { display: flex; gap: 8px; }
.skm-product-showcase .skm-product-arrows button:disabled { color: #71828d; background: #f3f7fa; cursor: default; }
.skm-home-products.skm-product-showcase :is(button, a):focus-visible { outline: 3px solid #027caa; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
    .skm-elementor-main [data-product-showcase] .skm-product-card:is(:hover,:focus-within) { border-color: #058fc0; box-shadow: 0 7px 18px #007da71a; }
    .skm-elementor-main [data-product-showcase] .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
    .skm-product-showcase .skm-product-bookmark { opacity: 0; }
    .skm-product-card:is(:hover, :focus-within) .skm-product-bookmark { opacity: 1; }
}
@media (max-width: 767px) {
    body .skm-home-products.skm-product-showcase.e-con { padding: 36px clamp(14px, 4vw, 28px) 27px; gap: 22px; }
    .skm-home-products.skm-product-showcase::before {
        inset: 0;
        height: auto;
        background:
            url("reference-molecule.svg") -27px -8px / 112px auto no-repeat,
            radial-gradient(130% 16% at 20% 86%, transparent 82%, #dbf2ff80 83%, #c2edfb66 93%, transparent 94%);
    }
    .skm-home-products.skm-product-showcase .skm-home-section-heading.e-con { flex-direction: column; align-items: stretch; gap: 16px; }
    .skm-home-products.skm-product-showcase .skm-home-section-title.e-con { width: 100%; }
    .skm-home-products.skm-product-showcase .skm-showcase-intro-title .elementor-heading-title { font-size: clamp(29px, 6.9vw, 40px); line-height: 1.4; }
    .skm-home-products.skm-product-showcase .skm-products-label,
    .skm-home-products.skm-product-showcase .skm-products-description { display: block; }
    .skm-products-label p, .skm-products-description p { margin: 0; }
    .skm-products-label p { display: flex; align-items: center; gap: 9px; color: #075c70; font-weight: 650; }
    .skm-products-label p::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: #008da8; }
    .skm-products-description p { max-width: 43ch; color: #486376; font-size: 14px; line-height: 1.85; }
    .skm-home-products.skm-product-showcase .skm-home-section-heading > .elementor-widget-button { align-self: center; width: auto; }
    .skm-home-products.skm-product-showcase .skm-home-section-heading > .elementor-widget-button .elementor-button { border-color: #075078; background: #075078; color: white; }
    .skm-product-showcase-track { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .skm-elementor-main [data-product-showcase] .skm-product-card .skm-el-card-inner.e-con {
        display: grid;
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
        grid-template-rows: minmax(min-content, 1fr) auto auto;
        grid-template-areas: "photo title" "photo details" "photo quote";
        align-items: start;
        gap: 0 clamp(9px, 2.4vw, 16px);
        padding: 7px;
    }
    .skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.skm-field-image) {
        grid-area: photo; position: relative; align-self: stretch; aspect-ratio: auto; height: auto; min-height: 152px; max-height: none;
    }
    .skm-elementor-main [data-product-showcase] .skm-product-card .skm-field-image { position: absolute; inset: 0; }
    .skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.skm-field-title) { grid-area: title; padding-top: 3px; }
    .skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.text-link) { grid-area: details; }
    .skm-elementor-main [data-product-showcase] .skm-el-card-inner > .elementor-widget:has(.quote-add) { grid-area: quote; margin: 0; padding: 0; }
    .skm-elementor-main [data-product-showcase] .skm-product-card h3 { font-size: clamp(16px, 4.3vw, 21px); line-height: 1.5; }
    [data-product-showcase] .skm-product-snippet {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        margin: 4px 0 0;
        color: #4c6272;
        font-size: 13px;
        line-height: 1.65;
    }
    .skm-elementor-main [data-product-showcase] .skm-product-card :is(.text-link, .quote-add) { font-size: 12px; }
    .skm-elementor-main [data-product-showcase] .skm-product-card .quote-add {
        justify-content: flex-start; padding: 3px 0; border: 0; background: none;
    }
    .skm-product-showcase .skm-product-bookmark { inset-block-start: 8px; inset-inline-start: 8px; }
    .skm-product-showcase-controls { justify-content: space-between; gap: 10px; margin-top: 16px; }
    .skm-product-showcase-controls .skm-product-progress { display: none; }
    .skm-product-showcase .skm-product-arrows button { border-radius: 10px; }
    .skm-product-showcase .skm-product-arrows button:not(:disabled) { color: #fff; background: #173f58; }
}
