:root {
    --ek-sill-orange: #f56a00;
    --ek-sill-orange-dark: #d85700;
    --ek-sill-ink: #202321;
    --ek-sill-muted: #69706c;
    --ek-sill-green: #2f8656;
    --ek-sill-line: #e1e5e0;
    --ek-sill-soft: #f5f5f1;
    --ek-sill-preview-color: #f1f1ed;
}

.ek-sill-breadcrumb {
    border-bottom: 1px solid #e8eae6;
    background: #f7f7f4;
}

.ek-sill-breadcrumb .page-title h2 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.ek-sill-product {
    overflow: clip;
    color: var(--ek-sill-ink);
    background: #fff;
}

.ek-sill-product .container {
    max-width: 1360px;
}

.ek-sill-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--ek-sill-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ek-sill-eyebrow::before {
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    content: '';
}

.ek-sill-hero {
    padding: 54px 0 68px;
}

.ek-sill-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr);
    gap: clamp(42px, 6vw, 88px);
    align-items: center;
}

.ek-sill-media {
    position: relative;
    min-height: 515px;
    overflow: hidden;
    border-radius: 28px;
    background: #e8ebe7;
    box-shadow: 0 24px 70px rgba(27, 31, 28, .14);
}

.ek-sill-media > img {
    display: block;
    width: 100%;
    height: 515px;
    object-fit: cover;
}

.ek-sill-media-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 44px);
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 999px;
    color: var(--ek-sill-ink);
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 12px 35px rgba(20, 24, 21, .16);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.ek-sill-media-badge i {
    display: grid;
    flex: 0 0 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ek-sill-green);
}

.ek-sill-hero-copy h1 {
    max-width: 680px;
    margin: 0 0 22px;
    color: var(--ek-sill-ink);
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    text-transform: none;
}

.ek-sill-lead {
    max-width: 660px;
    margin: 0;
    color: #525955;
    font-size: 19px;
    line-height: 1.62;
}

.ek-sill-benefits {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.ek-sill-benefits li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ek-sill-benefits li > i {
    display: grid;
    flex: 0 0 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--ek-sill-green);
}

.ek-sill-benefits span {
    display: grid;
    gap: 2px;
}

.ek-sill-benefits strong {
    color: var(--ek-sill-ink);
    font-size: 16px;
}

.ek-sill-benefits small {
    color: var(--ek-sill-muted);
    font-size: 14px;
    line-height: 1.45;
}

.ek-sill-start {
    min-width: 275px;
    padding: 17px 26px;
    border-radius: 12px;
    font-size: 16px;
    text-transform: none;
}

.ek-sill-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.ek-sill-compare { display:inline-flex; min-height:48px; align-items:center; gap:8px; color:var(--ek-sill-ink); font-size:14px; font-weight:800; }
.ek-sill-compare:hover { color:var(--ek-sill-orange); }

.ek-sill-family {
    padding: 76px 0 82px;
    border-top: 1px solid #eceeea;
    background: var(--ek-sill-soft);
}

.ek-sill-section-heading,
.ek-sill-builder-heading {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.ek-sill-section-heading h2,
.ek-sill-builder-heading h2,
.ek-sill-content-grid h2 {
    margin: 0 0 13px;
    color: var(--ek-sill-ink);
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.06;
    text-transform: none;
}

.ek-sill-section-heading p,
.ek-sill-builder-heading p {
    margin: 0;
    color: var(--ek-sill-muted);
    font-size: 17px;
    line-height: 1.55;
}

.ek-sill-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ek-sill-family-card {
    position: relative;
    display: grid;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 22px;
    color: var(--ek-sill-ink);
    background: #fff;
    box-shadow: 0 12px 38px rgba(31, 36, 32, .07);
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ek-sill-family-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 106, 0, .48);
    color: var(--ek-sill-ink);
    box-shadow: 0 18px 44px rgba(31, 36, 32, .12);
}

.ek-sill-family-card.is-active {
    border-color: var(--ek-sill-orange);
    box-shadow: 0 18px 46px rgba(245, 106, 0, .16);
}

.ek-sill-family-photo {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #e8ebe7;
}

.ek-sill-family-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.ek-sill-family-card:hover .ek-sill-family-photo img {
    transform: scale(1.025);
}

.ek-sill-family-body {
    display: grid;
    min-height: 220px;
    grid-template-rows: auto auto 1fr auto;
    gap: 9px;
    padding: 24px;
}

.ek-sill-family-body > small {
    color: var(--ek-sill-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ek-sill-family-body > strong {
    color: var(--ek-sill-ink);
    font-size: 22px;
    line-height: 1.15;
}

.ek-sill-family-body > span {
    color: var(--ek-sill-muted);
    font-size: 15px;
    line-height: 1.5;
}

.ek-sill-family-body > em {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 9px;
    color: var(--ek-sill-orange);
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
}

.ek-sill-family-card.is-active .ek-sill-family-body > em {
    color: var(--ek-sill-green);
}

.ek-sill-builder {
    padding: 78px 0 90px;
    background: #fff;
}

.ek-sill-builder-grid {
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: start;
}

.ek-sill-preview-card,
.ek-sill-configurator-panel {
    border: 1px solid var(--ek-sill-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(28, 34, 30, .08);
}

.ek-sill-preview-card {
    position: sticky;
    top: 104px;
    overflow: hidden;
}

.ek-sill-preview-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--ek-sill-line);
}

.ek-sill-preview-topline > span {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 800;
}

.ek-sill-preview-topline > span i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ek-sill-green);
    box-shadow: 0 0 0 5px rgba(47, 134, 86, .12);
}

.ek-sill-preview-topline small {
    max-width: 62%;
    color: var(--ek-sill-muted);
    font-size: 13px;
    line-height: 1.3;
    text-align: right;
}

.ek-sill-preview-stage {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f6f2 0%, #e4e8e2 100%);
}

.ek-sill-preview-stage::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(207, 210, 204, .42), rgba(236, 238, 233, .9));
    content: '';
}

.ek-sill-window {
    position: absolute;
    top: 48px;
    left: 50%;
    width: 235px;
    height: 185px;
    transform: translateX(-50%);
    border: 19px solid #fff;
    border-bottom-width: 25px;
    background: #a9bdc0;
    box-shadow: 0 15px 30px rgba(40, 47, 42, .14), inset 0 0 0 2px #d7dad6;
    transition: width .22s ease;
}

.ek-sill-window span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .32), rgba(78, 103, 106, .16));
}

.ek-sill-preview-object {
    position: absolute;
    top: 234px;
    left: 50%;
    width: 330px;
    height: var(--ek-sill-visual-depth, 72px);
    transform: translateX(-50%) perspective(700px) rotateX(58deg);
    transform-origin: top center;
    border: 1px solid rgba(32, 35, 33, .2);
    border-radius: 2px 2px 6px 6px;
    background: var(--ek-sill-preview-color);
    box-shadow: 0 18px 24px rgba(31, 37, 32, .22);
    transition: width .22s ease, height .22s ease, background-color .22s ease;
}

.ek-sill-preview-object .ek-sill-surface {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    background-color: var(--ek-sill-preview-color);
    background-image: linear-gradient(105deg, rgba(255, 255, 255, .32), transparent 35%, rgba(0, 0, 0, .08)), var(--ek-sill-preview-texture, none);
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 130px 130px;
}

.ek-sill-preview-object .ek-sill-nose {
    position: absolute;
    z-index: 2;
    right: -1px;
    bottom: -15px;
    left: -1px;
    height: 17px;
    border-radius: 0 0 5px 5px;
    background-color: color-mix(in srgb, var(--ek-sill-preview-color), #222 12%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .2), rgba(0, 0, 0, .08)), var(--ek-sill-preview-texture, none);
    background-position: center, center bottom;
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 130px 130px;
}

.ek-sill-cap {
    position: absolute;
    z-index: 4;
    top: -3px;
    bottom: -20px;
    display: none;
    width: 9px;
    border: 1px solid rgba(23, 27, 24, .28);
    background: color-mix(in srgb, var(--ek-sill-preview-color), #252a27 18%);
    box-shadow: 0 3px 5px rgba(26, 31, 27, .18);
}

.ek-sill-preview-object.has-caps .ek-sill-cap { display: block; }
.ek-sill-cap-left { left: -8px; border-radius: 4px 0 0 5px; }
.ek-sill-cap-right { right: -8px; border-radius: 0 4px 5px 0; }

.ek-sill-preview-object.caps-aluminum .ek-sill-cap {
    width: 7px;
    background: color-mix(in srgb, var(--ek-sill-preview-color), #111 25%);
}

.ek-sill-preview-object.caps-before-plaster .ek-sill-cap { width: 12px; }

.ek-sill-preview-object.type-7 .ek-sill-nose {
    bottom: -18px;
    height: 20px;
    border-radius: 0 0 9px 9px;
}

.ek-sill-preview-object.type-9 {
    border-width: 2px;
    box-shadow: 0 19px 25px rgba(31, 37, 32, .25);
}

.ek-sill-dimension {
    position: absolute;
    z-index: 3;
    color: #5e6661;
    font-size: 12px;
    font-weight: 800;
}

.ek-sill-dimension::before,
.ek-sill-dimension::after {
    position: absolute;
    background: #8d9590;
    content: '';
}

.ek-sill-dimension-length {
    top: 350px;
    left: 50%;
    width: min(72%, 350px);
    transform: translateX(-50%);
    border-top: 1px solid #8d9590;
    text-align: center;
}

.ek-sill-dimension-length::before,
.ek-sill-dimension-length::after {
    top: -5px;
    width: 1px;
    height: 10px;
}

.ek-sill-dimension-length::before { left: 0; }
.ek-sill-dimension-length::after { right: 0; }

.ek-sill-dimension-length span {
    position: relative;
    top: 8px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
}

.ek-sill-dimension-depth {
    top: 255px;
    right: auto;
    left: calc(50% + 190px);
    height: 86px;
    border-left: 1px solid #8d9590;
}

.ek-sill-dimension-depth::before,
.ek-sill-dimension-depth::after {
    left: -5px;
    width: 10px;
    height: 1px;
}

.ek-sill-dimension-depth::before { top: 0; }
.ek-sill-dimension-depth::after { bottom: 0; }

.ek-sill-dimension-depth span {
    position: absolute;
    top: 50%;
    left: 10px;
    width: max-content;
    transform: translateY(-50%);
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
}

.ek-sill-preview-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    color: var(--ek-sill-muted);
    border-top: 1px solid var(--ek-sill-line);
    font-size: 13px;
    line-height: 1.45;
}

.ek-sill-preview-note i {
    margin-top: 2px;
    color: var(--ek-sill-orange);
}

.ek-sill-measure-link {
    display: grid;
    width: calc(100% - 28px);
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    margin: 0 14px 14px;
    padding: 15px;
    border: 0;
    border-radius: 14px;
    color: var(--ek-sill-ink);
    background: #f7f7f3;
    text-align: left;
    cursor: pointer;
}

.ek-sill-measure-link > span:first-child {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: var(--ek-sill-orange);
    background: #fff;
}

.ek-sill-measure-link > span:nth-child(2) {
    display: grid;
    gap: 2px;
}

.ek-sill-measure-link strong { font-size: 14px; }
.ek-sill-measure-link small { color: var(--ek-sill-muted); font-size: 12px; }
.ek-sill-measure-link > i { color: var(--ek-sill-orange); }

.ek-sill-configurator-panel {
    overflow: hidden;
    padding: 0;
}

.ek-sill-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 26px 28px 22px;
    border-bottom: 1px solid var(--ek-sill-line);
    list-style: none;
}

.ek-sill-progress li {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
    color: #abb0ac;
    font-weight: 800;
    text-align: center;
}

.ek-sill-progress li::after {
    position: absolute;
    z-index: 0;
    top: 17px;
    right: calc(-50% + 17px);
    left: calc(50% + 17px);
    height: 2px;
    background: #dfe2de;
    content: '';
}

.ek-sill-progress li:last-child::after { display: none; }

.ek-sill-progress li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 3px solid #d5d9d4;
    border-radius: 50%;
    color: #9ea49f;
    background: #fff;
    font-size: 14px;
}

.ek-sill-progress li > small {
    position: relative;
    z-index: 1;
    padding: 0 9px;
    background: #fff;
    font-size: 13px;
}

.ek-sill-progress li.is-active { color: var(--ek-sill-ink); }
.ek-sill-progress li.is-active > span { border-color: var(--ek-sill-orange); color: #fff; background: var(--ek-sill-orange); }
.ek-sill-progress li.is-complete { color: var(--ek-sill-green); }
.ek-sill-progress li.is-complete > span { border-color: var(--ek-sill-green); color: #fff; background: var(--ek-sill-green); }
.ek-sill-progress li.is-complete::after { background: var(--ek-sill-green); }

.ek-sill-panel {
    scroll-margin-top: 112px;
    padding: 32px 32px 34px;
}

.ek-sill-panel[hidden] { display: none !important; }

.ek-sill-step-heading {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 26px;
}

.ek-sill-step-heading > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--ek-sill-orange);
    font-weight: 800;
}

.ek-sill-step-heading h3 {
    margin: 0 0 3px;
    color: var(--ek-sill-ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-transform: none;
}

.ek-sill-step-heading p {
    margin: 0;
    color: var(--ek-sill-muted);
    font-size: 14px;
}

.ek-sill-prefill {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 15px 17px;
    border: 1px solid #cfe4d6;
    border-radius: 13px;
    color: #285f42;
    background: #eff8f2;
    font-size: 14px;
    line-height: 1.45;
}

.ek-sill-prefill > i { margin-top: 3px; font-size: 18px; }

.ek-sill-dimensions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.ek-sill-field label,
.ek-sill-quantity label {
    display: block;
    margin-bottom: 9px;
    color: var(--ek-sill-ink);
    font-size: 15px;
    font-weight: 800;
}

.ek-sill-field .input-group,
.ek-sill-quantity .input-group {
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
}

.ek-sill-field .form-control,
.ek-sill-quantity .form-control {
    width: 1%;
    min-width: 0;
    flex: 1 1 auto;
    height: 58px;
    border: 2px solid #d8ddd8;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    color: var(--ek-sill-ink);
    background: #fff;
    font-size: 18px;
    font-weight: 700;
}

/* Quantity does not always have a unit suffix. Keep the standalone input
   visually closed and contained inside its card in the final step. */
.ek-sill-quantity .input-group > .form-control:last-child {
    border-right: 2px solid #d8ddd8;
    border-radius: 12px;
}

.ek-sill-quantity .input-group > .form-control:last-child:focus {
    border-right-color: var(--ek-sill-orange);
}

.ek-sill-field .form-control:focus,
.ek-sill-quantity .form-control:focus {
    border-color: var(--ek-sill-orange);
    box-shadow: 0 0 0 4px rgba(245, 106, 0, .1);
}

.ek-sill-field .form-control.is-invalid {
    border-color: #c53a32;
}

.ek-sill-field .input-group-text,
.ek-sill-quantity .input-group-text {
    min-width: 62px;
    justify-content: center;
    border: 2px solid #d8ddd8;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    color: #555d58;
    background: #f4f5f2;
    font-size: 16px;
    font-weight: 800;
}

.ek-sill-field > small {
    display: block;
    margin-top: 8px;
    color: var(--ek-sill-muted);
    font-size: 13px;
}

.ek-sill-inline-help {
    margin: 16px 0 0;
    padding: 0;
    border: 0;
    color: var(--ek-sill-orange-dark);
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.ek-sill-form-errors {
    display: none;
    margin: 0 32px 0;
    padding: 13px 16px;
    border: 1px solid #efc5c2;
    border-radius: 12px;
    color: #a52d27;
    background: #fff3f2;
    font-size: 13px;
}

.ek-sill-form-errors:has(*) { display: block; margin-top: 24px; }
.ek-sill-form-errors label { margin: 0; }

.ek-sill-panel-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.ek-sill-panel-actions-end { justify-content: flex-end; }

.ek-sill-panel-actions .btn {
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
}

.ek-sill-btn-secondary {
    border: 1px solid #d5dad5;
    color: var(--ek-sill-ink);
    background: #fff;
}

.ek-sill-options .row.product-accordion,
.ek-sill-options .accordion {
    margin: 0;
    padding: 0;
}

.ek-sill-options .col-md-12 { padding: 0; }

.ek-sill-options .card {
    position: relative;
    overflow: visible;
    margin: 0 0 14px;
    border: 1px solid #dfe3df;
    border-radius: 16px;
    background: #fff;
}

.ek-sill-options .card.ek-sill-option-missing {
    border-color: #c83b33;
    box-shadow: 0 0 0 3px rgba(200, 59, 51, .1);
}

.ek-sill-options .card-header {
    min-height: 76px;
    padding: 0;
    border: 0;
    border-radius: 16px !important;
    background: #fff;
}

.ek-sill-options .card-header h5 {
    position: relative;
    min-height: 76px;
    margin: 0;
}

.ek-sill-options .card-header .btn-link {
    display: flex !important;
    width: 100%;
    min-height: 76px;
    align-items: center;
    padding: 18px 215px 18px 20px;
    border: 0;
    color: var(--ek-sill-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}

.ek-sill-options .card-header .btn-link::after {
    position: absolute;
    right: 18px;
    width: 28px;
    height: 28px;
    border: 1px solid #dce0dc;
    border-radius: 50%;
    color: var(--ek-sill-orange);
    background: #f7f8f5;
    content: '\f107';
    font: normal normal normal 16px/28px FontAwesome;
    text-align: center;
    transition: transform .2s ease;
}

.ek-sill-options .card-header .btn-link[aria-expanded='true']::after { transform: rotate(180deg); }

.ek-sill-options .card-header .el-popover {
    position: absolute;
    top: 50%;
    right: 54px;
    z-index: 3;
    transform: translateY(-50%);
    color: #777f7a;
    pointer-events: auto;
}

.ek-sill-options .card-header .el-popover i { font-size: 19px; }

.ek-sill-options .card-header .help-block {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 82px;
    max-width: 125px;
    overflow: hidden;
    transform: translateY(-50%);
    color: var(--ek-sill-orange);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.ek-sill-options .card-header .help-block.modified { color: var(--ek-sill-green); }

.ek-sill-options .card-header h5 > small {
    display: block;
    padding: 0 20px 14px;
    color: var(--ek-sill-muted);
    font-size: 11px;
    line-height: 1.4;
}

.ek-sill-options .card-body {
    padding: 10px;
    border-top: 1px solid var(--ek-sill-line);
}

.ek-sill-options .list-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ek-sill-options .list-group-item {
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e4df !important;
    border-radius: 12px !important;
    color: var(--ek-sill-ink);
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ek-sill-options .list-group-item:hover {
    border-color: #f1a069 !important;
    background: #fffaf6;
}

.ek-sill-options .list-group-item:has(input:checked) {
    border-color: var(--ek-sill-orange) !important;
    background: #fff8f2;
    box-shadow: 0 0 0 2px rgba(245, 106, 0, .1);
}

.ek-sill-options .list-group-item > .row {
    min-height: 72px;
    align-items: center;
    margin: 0;
}

.ek-sill-options .list-group-item [class*='col-md-'] {
    padding: 10px;
}

.ek-sill-options .list-group-item .col-md-2 {
    display: grid;
    flex: 0 0 46px;
    max-width: 46px;
    place-items: center;
}

.ek-sill-options .list-group-item .col-md-10,
.ek-sill-options .list-group-item .col-md-6 {
    flex: 1;
    max-width: none;
}

.ek-sill-options .list-group-item .col-md-4 {
    flex: 0 0 70px;
    max-width: 70px;
}

.ek-sill-options .list-group-item .col-md-4 img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
}

.ek-sill-options .list-group-item .col-md-4.ek-sill-color-fallback::before {
    display: block;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(32, 35, 33, .12);
    border-radius: 10px;
    background: var(--ek-sill-fallback-color, #e8e9e5);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .26);
    content: '';
}

.ek-sill-options .list-group-item .card-body {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    gap: 4px 7px;
    align-items: center;
    padding: 6px 4px;
    border: 0;
}

.ek-sill-options .list-group-item .fw-bold {
    flex: 1 1 100%;
    font-size: 14px;
    line-height: 1.35;
}

.ek-sill-options .list-group-item .badge {
    color: #53605a !important;
    background: #f0f2ef !important;
    font-size: 12px;
}

.ek-sill-options input.form-check-input {
    width: 22px;
    height: 22px;
    margin: 0 !important;
    border: 2px solid #bfc5c0;
    accent-color: var(--ek-sill-orange);
    cursor: pointer;
}

.ek-sill-options input.form-check-input:checked {
    border-color: var(--ek-sill-orange);
    background-color: var(--ek-sill-orange);
}

.ek-sill-selection-summary {
    display: grid;
    margin: 0 0 24px;
    border: 1px solid var(--ek-sill-line);
    border-radius: 15px;
    background: #fafaf7;
}

.ek-sill-selection-summary > div {
    display: grid;
    grid-template-columns: minmax(120px, .75fr) minmax(0, 1.25fr);
    gap: 18px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--ek-sill-line);
}

.ek-sill-selection-summary > div:last-child { border-bottom: 0; }
.ek-sill-selection-summary dt { color: var(--ek-sill-muted); font-size: 13px; font-weight: 700; }
.ek-sill-selection-summary dd { margin: 0; color: var(--ek-sill-ink); font-size: 14px; font-weight: 800; text-align: right; }

.ek-sill-order-grid {
    display: grid;
    grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
    gap: 16px;
    align-items: stretch;
}

.ek-sill-order-grid > * {
    min-width: 0;
}

.ek-sill-quantity {
    display: grid;
    min-width: 0;
    align-content: center;
    padding: 19px;
    border: 1px solid var(--ek-sill-line);
    border-radius: 15px;
}

.ek-sill-price-summary {
    display: grid;
    align-content: center;
    justify-items: end;
    padding: 20px 22px;
    border-radius: 15px;
    color: #fff;
    background: var(--ek-sill-ink);
    text-align: right;
}

.ek-sill-price-summary small { color: rgba(255, 255, 255, .72); font-size: 13px; }
.ek-sill-price-summary strong { display: flex; align-items: baseline; gap: 2px; margin: 4px 0; font-size: 34px; font-weight: 800; line-height: 1; }
.ek-sill-price-summary strong .productPrice { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; }
.ek-sill-price-summary > span { max-width: 310px; color: rgba(255, 255, 255, .72); font-size: 12px; line-height: 1.4; }

.ek-sill-order-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 18px 0 0;
    padding: 0;
    color: #44504a;
    font-size: 13px;
    list-style: none;
}

.ek-sill-order-benefits i { margin-right: 6px; color: var(--ek-sill-green); }
.ek-sill-add-to-cart { min-width: 210px; }

.ek-sill-content-section {
    padding: 82px 0 90px;
    color: #fff;
    background: #202321;
}

.ek-sill-content-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: start;
}

.ek-sill-product .ek-sill-content-section .ek-sill-content-grid h2 {
    color: #fff !important;
}

.ek-sill-product .ek-sill-content-section .ek-sill-content-grid > div:first-child > p {
    max-width: 580px;
    margin: 0;
    color: #c5cbc7 !important;
    font-size: 17px;
    line-height: 1.65;
}

.ek-sill-content-points {
    display: grid;
    gap: 18px;
}

.ek-sill-content-points article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 17px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.ek-sill-content-points article:last-child { padding-bottom: 0; border-bottom: 0; }
.ek-sill-content-points article > span { color: var(--ek-sill-orange); font-size: 14px; font-weight: 800; }
.ek-sill-product .ek-sill-content-section .ek-sill-content-points h3 {
    margin: 0 0 5px;
    color: #f7f8f6 !important;
    font-size: 18px;
    font-weight: 800;
    text-transform: none;
}

.ek-sill-product .ek-sill-content-section .ek-sill-content-points p {
    margin: 0;
    color: #bfc5c1 !important;
    font-size: 14px;
    line-height: 1.55;
}

.ek-sill-admin-section {
    padding: 80px 0 92px;
    background: #fff;
}

.ek-sill-admin-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.ek-sill-admin-heading h2 {
    margin: 0;
    color: var(--ek-sill-ink);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-transform: none;
}

.ek-sill-admin-content {
    display: flow-root;
    max-width: none;
    color: #535b56;
    font-size: 16px;
    line-height: 1.7;
}

.ek-sill-admin-content p {
    max-width: 900px;
    margin: 0 0 22px;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.ek-sill-admin-content strong {
    color: var(--ek-sill-ink);
}

.ek-sill-admin-content h2,
.ek-sill-admin-content h3,
.ek-sill-admin-content h4 {
    margin: 34px 0 14px;
    color: var(--ek-sill-ink);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-transform: none;
}

.ek-sill-admin-content img {
    display: block;
    width: auto !important;
    max-width: min(100%, 760px) !important;
    height: auto !important;
    margin: 28px 0 !important;
    float: none !important;
    border-radius: 18px;
    background: #f2f3f0;
    box-shadow: 0 16px 42px rgba(28, 34, 30, .1);
}

.ek-sill-admin-content ul,
.ek-sill-admin-content ol {
    display: grid;
    max-width: 900px;
    gap: 9px;
    margin: 0 0 24px;
    padding-left: 22px;
}

.ek-sill-measure-modal .modal-dialog { max-width: 880px; }
.ek-sill-measure-modal .modal-content { overflow: hidden; border: 0; border-radius: 24px; box-shadow: 0 28px 80px rgba(22, 27, 23, .25); }
.ek-sill-measure-modal .modal-header { align-items: flex-start; padding: 28px 30px 20px; border: 0; }
.ek-sill-measure-modal .modal-header .ek-sill-eyebrow { margin-bottom: 8px; }
.ek-sill-measure-modal .modal-title { color: var(--ek-sill-ink); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-transform: none; }
.ek-sill-measure-modal .modal-body { padding: 0 30px 28px; }
.ek-sill-measure-modal .modal-footer { padding: 18px 30px 26px; border: 0; background: #f6f7f4; }
.ek-sill-measure-modal .modal-footer .btn { padding: 13px 22px; border-radius: 10px; text-transform: none; }

.ek-sill-measure-diagram {
    position: relative;
    height: 210px;
    margin-bottom: 26px;
    overflow: hidden;
    border-radius: 17px;
    background: linear-gradient(145deg, #f1f3ef, #dfe4de);
}

.ek-sill-measure-diagram .frame {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 210px;
    height: 115px;
    transform: translateX(-50%);
    border: 18px solid #fff;
    background: #a6b7bb;
    box-shadow: 0 12px 25px rgba(28, 34, 30, .14);
}

.ek-sill-measure-diagram .sill {
    position: absolute;
    top: 139px;
    left: 50%;
    width: 355px;
    height: 38px;
    transform: translateX(-50%) skewX(-15deg);
    border-bottom: 12px solid #c5c8c4;
    background: #f5f5f1;
    box-shadow: 0 10px 15px rgba(28, 34, 30, .13);
}

.ek-sill-measure-diagram i {
    position: absolute;
    z-index: 2;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--ek-sill-orange);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.ek-sill-measure-diagram .length { bottom: 12px; left: 50%; transform: translateX(-50%); }
.ek-sill-measure-diagram .depth { top: 130px; right: 22%; }

.ek-sill-measure-steps {
    display: grid;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ek-sill-measure-steps li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 13px;
    align-items: start;
}

.ek-sill-measure-steps li > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: var(--ek-sill-orange);
    background: #fff2e8;
    font-weight: 800;
}

.ek-sill-measure-steps strong { display: block; margin: 1px 0 4px; color: var(--ek-sill-ink); font-size: 15px; }
.ek-sill-measure-steps p { margin: 0; color: var(--ek-sill-muted); font-size: 14px; line-height: 1.5; }

.ek-sill-measure-warning {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin-top: 23px;
    padding: 17px;
    border: 1px solid #f0d4bd;
    border-radius: 14px;
    background: #fff8f1;
}

.ek-sill-measure-warning > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: #fff; background: var(--ek-sill-orange); font-size: 19px; }
.ek-sill-measure-warning strong { display: block; margin-bottom: 3px; color: var(--ek-sill-ink); font-size: 14px; }
.ek-sill-measure-warning p { margin: 0; color: var(--ek-sill-muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 1199px) {
    .ek-sill-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 42px; }
    .ek-sill-media, .ek-sill-media > img { min-height: 460px; height: 460px; }
    .ek-sill-builder-grid { grid-template-columns: minmax(315px, .74fr) minmax(0, 1.26fr); }
    .ek-sill-options .list-group { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .ek-sill-product { display:flex; flex-direction:column; }
    .ek-sill-hero { order:1; }
    .ek-sill-builder { order:2; }
    .ek-sill-family { order:3; }
    .ek-sill-content-section { order:4; }
    .ek-sill-admin-section { order:5; }
    .ek-sill-measure-modal { order:6; }
    .ek-sill-hero { padding: 38px 0 52px; }
    .ek-sill-hero-grid, .ek-sill-builder-grid, .ek-sill-content-grid { grid-template-columns: 1fr; }
    .ek-sill-hero-copy, .ek-sill-configurator-panel { order:1; }
    .ek-sill-media, .ek-sill-preview-card { order:2; }
    .ek-sill-media, .ek-sill-media > img { min-height: 430px; height: 430px; }
    .ek-sill-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ek-sill-family-card:first-child { grid-column: 1 / -1; grid-template-columns: .8fr 1.2fr; }
    .ek-sill-family-card:first-child .ek-sill-family-photo { height: 100%; min-height: 220px; }
    .ek-sill-preview-card { position: relative; top: auto; }
    .ek-sill-preview-stage { min-height: 390px; }
}

@media (max-width: 767px) {
    .ek-sill-breadcrumb .row > div:last-child { display: none; }
    .ek-sill-hero { padding: 24px 0 42px; }
    .ek-sill-media { min-height: 330px; border-radius: 20px; }
    .ek-sill-media > img { height: 330px; min-height: 330px; }
    .ek-sill-media-badge { right: 13px; bottom: 13px; max-width: calc(100% - 26px); padding: 10px 13px; border-radius: 14px; font-size: 12px; }
    .ek-sill-hero-copy h1 { font-size: clamp(34px, 11vw, 48px); }
    .ek-sill-lead { font-size: 17px; }
    .ek-sill-start { width: 100%; min-width: 0; }
    .ek-sill-hero-actions { display:grid; grid-template-columns:1fr; gap:6px; }
    .ek-sill-compare { justify-content:center; }
    .ek-sill-family, .ek-sill-builder, .ek-sill-content-section, .ek-sill-admin-section { padding: 56px 0 62px; }
    .ek-sill-section-heading, .ek-sill-builder-heading { margin-bottom: 28px; text-align: left; }
    .ek-sill-family-grid { grid-template-columns: 1fr; }
    .ek-sill-family-card:first-child { grid-column: auto; grid-template-columns: 1fr; }
    .ek-sill-family-card:first-child .ek-sill-family-photo, .ek-sill-family-photo { height: 190px; min-height: 0; }
    .ek-sill-family-body { min-height: 0; padding: 20px; }
    .ek-sill-preview-card, .ek-sill-configurator-panel { border-radius: 18px; }
    .ek-sill-preview-stage { min-height: 340px; }
    .ek-sill-window { top: 38px; width: 190px; height: 145px; border-width: 15px; border-bottom-width: 21px; }
    .ek-sill-preview-object { top: 183px; max-width: 78%; }
    .ek-sill-dimension-length { top: 288px; }
    .ek-sill-dimension-depth { top: 198px; right: 76px; height: 74px; }
    .ek-sill-progress { padding: 20px 15px 18px; }
    .ek-sill-progress li > small { padding: 0 4px; font-size: 11px; }
    .ek-sill-panel { padding: 25px 18px 26px; }
    .ek-sill-step-heading { grid-template-columns: 39px 1fr; gap: 11px; }
    .ek-sill-step-heading > span { width: 39px; height: 39px; border-radius: 11px; }
    .ek-sill-step-heading h3 { font-size: 20px; }
    .ek-sill-panel-actions { flex-direction: column-reverse; }
    .ek-sill-panel-actions-end { flex-direction: column; }
    .ek-sill-panel-actions .btn { width: 100%; }
    .ek-sill-options .card-header .btn-link { min-height: 84px; padding: 17px 48px 38px 16px; font-size: 16px; }
    .ek-sill-options .card-header .help-block { top: auto; right: 48px; bottom: 15px; left: 16px; max-width: calc(100% - 64px); transform: none; text-align: left; }
    .ek-sill-options .card-header .el-popover { right: 48px; }
    .ek-sill-options .card-header .btn-link::after { right: 12px; }
    .ek-sill-options .list-group-item .col-md-4 { flex: 0 0 62px; max-width: 62px; }
    .ek-sill-order-grid { grid-template-columns: 1fr; }
    .ek-sill-price-summary { justify-items: start; text-align: left; }
    .ek-sill-selection-summary > div { grid-template-columns: .8fr 1.2fr; gap: 10px; }
    .ek-sill-content-points article { grid-template-columns: 40px 1fr; gap: 12px; }
    .ek-sill-measure-modal .modal-dialog { margin: 10px; }
    .ek-sill-measure-modal .modal-content { border-radius: 18px; }
    .ek-sill-measure-modal .modal-header { padding: 22px 20px 16px; }
    .ek-sill-measure-modal .modal-body { padding: 0 20px 22px; }
    .ek-sill-measure-modal .modal-title { font-size: 25px; }
    .ek-sill-measure-diagram { height: 180px; }
    .ek-sill-measure-diagram .frame { width: 170px; height: 98px; }
    .ek-sill-measure-diagram .sill { top: 124px; width: 270px; }
    .ek-sill-measure-diagram .depth { right: 8%; }
}

@media (max-width: 420px) {
    .ek-sill-media, .ek-sill-media > img { min-height: 285px; height: 285px; }
    .ek-sill-preview-topline { padding: 17px; }
    .ek-sill-preview-topline small { max-width: 130px; }
    .ek-sill-preview-stage { min-height: 315px; }
    .ek-sill-dimension-depth { right: 70px; }
    .ek-sill-measure-link { grid-template-columns: 38px 1fr auto; }
    .ek-sill-measure-link > span:first-child { width: 38px; height: 38px; }
}
