:root {
    --eld-bg: #f5f8fb;
    --eld-surface: #ffffff;
    --eld-surface-2: #eef7f8;
    --eld-text: #162334;
    --eld-muted: #66758a;
    --eld-border: #dfe8ef;
    --eld-primary: #0f7f8f;
    --eld-primary-dark: #075a69;
    --eld-primary-soft: #e5f5f7;
    --eld-accent: #2ca6a4;
    --eld-success: #198754;
    --eld-danger: #b42318;
    --eld-warning: #a15c07;
    --eld-radius-lg: 26px;
    --eld-radius-md: 18px;
    --eld-radius-sm: 12px;
    --eld-shadow: 0 18px 50px rgba(18, 46, 66, 0.10);
    --eld-shadow-soft: 0 8px 24px rgba(18, 46, 66, 0.08);
}

html,
body {
    background: var(--eld-bg);
    color: var(--eld-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
}

a {
    color: var(--eld-primary-dark);
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a:hover,
a:focus {
    color: var(--eld-primary);
    text-decoration: none;
}

.container {
    max-width: 1240px;
}

.eld-med-topbar {
    background: #0b2337;
    color: rgba(255,255,255,0.86);
    font-size: 13px;
}

.eld-med-topbar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.eld-med-topbar__trust,
.eld-med-topbar__actions,
.eld-med-account-links,
.eld-med-language,
.eld-med-currency {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eld-med-language {
    position: relative;
}

.eld-language-menu {
    position: relative;
}

.eld-language-menu__toggle {
    height: 32px;
    min-width: 142px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-radius: 999px;
    padding: 2px 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.eld-language-menu__toggle:hover,
.eld-language-menu__toggle:focus {
    border-color: rgba(255,255,255,0.48);
    background: rgba(255,255,255,0.16);
    color: #fff;
    outline: none;
}

.eld-language-menu__toggle i {
    font-size: 10px;
    opacity: 0.78;
}

.eld-language-menu__panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    width: min(260px, calc(100vw - 24px));
    max-height: min(420px, calc(100vh - 96px));
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(223, 232, 239, 0.96);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(4, 19, 31, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.eld-language-menu__panel::before {
    content: "";
    position: absolute;
    right: 26px;
    top: -6px;
    width: 12px;
    height: 12px;
    border-left: 1px solid rgba(223, 232, 239, 0.96);
    border-top: 1px solid rgba(223, 232, 239, 0.96);
    background: #ffffff;
    transform: rotate(45deg);
}

.eld-language-menu.is-open .eld-language-menu__panel {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.eld-language-menu__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--eld-text);
    padding: 8px 10px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.eld-language-menu__item:hover,
.eld-language-menu__item:focus,
.eld-language-menu__item.is-active {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    outline: none;
}

.eld-med-topbar__trust > span,
.eld-med-topbar__trust > a,
.eld-topbar-menu__toggle {
    position: relative;
    padding-left: 14px;
    color: rgba(255,255,255,0.88);
    font-weight: 700;
    white-space: nowrap;
}

.eld-med-topbar__trust > a:hover,
.eld-med-topbar__trust > a:focus,
.eld-topbar-menu__toggle:hover,
.eld-topbar-menu__toggle:focus {
    color: #ffffff;
    text-decoration: none;
}

.eld-med-topbar__trust > span::before,
.eld-med-topbar__trust > a::before,
.eld-topbar-menu__toggle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4fd1c5;
    transform: translateY(-50%);
}

.eld-topbar-menu {
    position: relative;
}

.eld-topbar-menu::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 14px;
}

.eld-topbar-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eld-topbar-menu__toggle i {
    font-size: 9px;
    opacity: 0.78;
}

.eld-topbar-menu__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 1100;
    min-width: 280px;
    max-width: min(520px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid rgba(223, 232, 239, 0.96);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 22px 54px rgba(4, 19, 31, 0.20);
    color: var(--eld-text);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    visibility: hidden;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.eld-topbar-menu__panel::before {
    content: "";
    position: absolute;
    left: 24px;
    top: -6px;
    width: 12px;
    height: 12px;
    border-left: 1px solid rgba(223, 232, 239, 0.96);
    border-top: 1px solid rgba(223, 232, 239, 0.96);
    background: #ffffff;
    transform: rotate(45deg);
}

.eld-topbar-menu:hover .eld-topbar-menu__panel,
.eld-topbar-menu:focus-within .eld-topbar-menu__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.eld-topbar-menu__panel--info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(520px, calc(100vw - 32px));
}

.eld-topbar-menu__panel--services {
    width: min(360px, calc(100vw - 32px));
}

.eld-topbar-menu__group {
    position: relative;
    padding: 10px;
    border-radius: 12px;
    background: #f7fbfd;
}

.eld-topbar-menu__group-title {
    display: block;
    margin-bottom: 6px;
    color: var(--eld-primary-dark);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eld-topbar-menu__list {
    display: grid;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eld-topbar-menu__list a {
    display: block;
    padding: 6px 8px;
    border-radius: 8px;
    color: var(--eld-text);
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.eld-topbar-menu__list a:hover,
.eld-topbar-menu__list a:focus {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    text-decoration: none;
}

.eld-med-account-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eld-med-account-links a {
    color: rgba(255,255,255,0.88);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.eld-med-account-links a:hover {
    color: #ffffff;
}

.eld-med-language select,
.eld-med-currency select {
    height: 32px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-radius: 999px;
    padding: 2px 28px 2px 12px;
}

.eld-med-language select {
    min-width: 132px;
    width: 142px;
    padding-left: 42px;
}

.eld-med-currency select {
    min-width: 104px;
}

.eld-med-language option,
.eld-med-currency option {
    color: var(--eld-text);
}

.eld-med-language__flag {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.eld-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    background-color: #eef8fb;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.eld-flag--fr { background-image: url("../img/flags/fr.svg"); }
.eld-flag--gb { background-image: url("../img/flags/gb.svg"); }
.eld-flag--de { background-image: url("../img/flags/de.svg"); }
.eld-flag--cn { background-image: url("../img/flags/cn.svg"); }
.eld-flag--es { background-image: url("../img/flags/es.svg"); }
.eld-flag--sa { background-image: url("../img/flags/sa.svg"); }
.eld-flag--br { background-image: url("../img/flags/br.svg"); }
.eld-flag--pt { background-image: url("../img/flags/pt.svg"); }
.eld-flag--ru { background-image: url("../img/flags/ru.svg"); }
.eld-flag--it { background-image: url("../img/flags/it.svg"); }
.eld-flag--kr { background-image: url("../img/flags/kr.svg"); }
.eld-flag--pl { background-image: url("../img/flags/pl.svg"); }
.eld-flag--ua { background-image: url("../img/flags/ua.svg"); }
.eld-flag--nl { background-image: url("../img/flags/nl.svg"); }
.eld-flag--ro { background-image: url("../img/flags/ro.svg"); }
.eld-flag--gr { background-image: url("../img/flags/gr.svg"); }
.eld-flag--cz { background-image: url("../img/flags/cz.svg"); }
.eld-flag--se { background-image: url("../img/flags/se.svg"); }
.eld-flag--dk { background-image: url("../img/flags/dk.svg"); }
.eld-flag--fi { background-image: url("../img/flags/fi.svg"); }
.eld-flag--no { background-image: url("../img/flags/no.svg"); }
.eld-flag--sk { background-image: url("../img/flags/sk.svg"); }
.eld-flag--ca { background-image: url("../img/flags/ca.svg"); }
.eld-flag--world { background-image: url("../img/flags/world.svg"); }

.eld-med-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(245, 248, 251, 0.92);
    border-bottom: 1px solid rgba(223, 232, 239, 0.88);
    backdrop-filter: blur(16px);
}

.eld-med-header.is-scrolled {
    box-shadow: 0 12px 32px rgba(18, 46, 66, 0.09);
}

.eld-med-header__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.eld-med-brand__link {
    display: flex;
    align-items: center;
    color: var(--eld-text);
}

.eld-med-brand__logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 45px;
    object-fit: contain;
}

.eld-med-header__search {
    flex: 0 1 360px;
    margin-left: auto;
}

.eld-med-header__search .eld-med-search {
    width: 100%;
    min-width: 0;
}

.eld-med-mini-basket {
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
}

.eld-med-mini-basket__summary {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 92px;
    line-height: 1.15;
}

.eld-med-mini-basket__summary span {
    color: var(--eld-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.eld-med-mini-basket__summary strong {
    color: var(--eld-text);
    font-size: 18px;
}

.eld-med-nav-wrap {
    padding-bottom: 16px;
}

.eld-med-mainnav {
    position: relative;
    padding: 10px;
    border: 1px solid var(--eld-border);
    background: var(--eld-surface);
    border-radius: 999px;
    box-shadow: var(--eld-shadow-soft);
    min-width: 0;
}

.eld-med-mainnav .navbar-toggler {
    border: 0;
    background: var(--eld-primary-soft);
    border-radius: 12px;
    padding: 8px 10px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 88px;
    text-align: center;
    color: var(--eld-primary-dark);
    font-weight: 800;
    line-height: 1;
}

.eld-med-mainnav .navbar-toggler-icon {
    flex: 0 0 auto;
    filter: invert(25%) sepia(60%) saturate(560%) hue-rotate(142deg);
}

.eld-med-mainnav__toggle-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.eld-med-mainnav .navbar-collapse {
    min-width: 0;
}

.eld-med-menu {
    min-width: 0;
    width: 100%;
    gap: 6px;
}

.eld-med-menu .nav-item {
    min-width: 0;
    flex: 0 1 auto;
}

.eld-med-menu .nav-link {
    color: var(--eld-text);
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 16px !important;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.eld-med-menu .nav-link:hover,
.eld-med-menu .nav-link:focus,
.eld-med-menu .show > .nav-link {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(15,127,143,0.12);
}

.eld-med-menu .dropdown {
    position: static;
}

.eld-med-menu .dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 30px;
    z-index: 1000;
    pointer-events: none;
}

.eld-med-dropdown {
    border: 1px solid var(--eld-border);
    border-radius: 16px;
    box-shadow: 0 22px 58px rgba(9, 38, 55, 0.16);
    padding: 10px;
    margin-top: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.eld-med-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -32px;
    height: 32px;
}

.eld-med-dropdown .dropdown-item {
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    color: var(--eld-text);
}

.eld-med-dropdown .dropdown-item:hover {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
}

.eld-med-category-dropdown {
    left: auto;
    min-width: min(420px, calc(100vw - 40px));
    max-width: min(680px, calc(100vw - 40px));
    overflow: visible;
    padding: 12px;
}

.eld-med-category-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(15,127,143,0.12);
}

.eld-med-category-dropdown__title {
    color: var(--eld-text);
    font-weight: 950;
    font-size: 14px;
    line-height: 1.2;
}

.eld-med-category-dropdown__title:hover,
.eld-med-category-dropdown__title:focus {
    color: var(--eld-primary-dark);
    text-decoration: none;
}

.eld-med-category-dropdown__count {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.eld-med-category-dropdown__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
}

.eld-med-category-dropdown__group {
    display: grid;
    gap: 2px;
    align-content: start;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(15,127,143,0.08);
    background: linear-gradient(180deg, rgba(238,250,251,0.72), rgba(255,255,255,0.86));
}

.eld-med-category-dropdown__link {
    display: block;
    border-radius: 9px;
    padding: 6px 8px;
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.eld-med-category-dropdown__children {
    display: grid;
    gap: 2px;
    margin-top: 2px;
}

.eld-med-category-dropdown__link:hover,
.eld-med-category-dropdown__link:focus {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    text-decoration: none;
}

.eld-med-category-dropdown__link--parent {
    color: var(--eld-text);
    font-size: 13.5px;
    font-weight: 950;
}

.eld-med-category-dropdown__link--parent::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 999px;
    background: var(--eld-primary);
    vertical-align: 1px;
}

.eld-med-mega-menu {
    left: 10px;
    right: 10px;
    width: auto;
    max-height: min(72vh, 680px);
    overflow: hidden;
    padding: 14px;
}

.eld-med-mega-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(15,127,143,0.12);
}

.eld-med-mega-menu__title {
    display: block;
    color: var(--eld-text);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
}

.eld-med-mega-menu__title:hover,
.eld-med-mega-menu__title:focus {
    color: var(--eld-primary-dark);
    text-decoration: none;
}

.eld-med-mega-menu__subtitle {
    display: block;
    margin-top: 2px;
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 750;
}

.eld-med-mega-menu__count {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.eld-med-mega-menu__top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0 4px 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--eld-border);
}

.eld-med-mega-menu__action {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-weight: 850;
}

.eld-med-mega-menu__action:hover,
.eld-med-mega-menu__action:focus {
    color: #fff;
    background: var(--eld-primary);
    text-decoration: none;
}

.eld-med-mega-menu__action--prosthetics {
    color: #fff;
    background: var(--eld-primary-dark);
    box-shadow: 0 10px 24px rgba(15, 127, 143, 0.16);
}

.eld-med-mega-menu__action--prosthetics:hover,
.eld-med-mega-menu__action--prosthetics:focus {
    background: #0a5f69;
}

.eld-med-mega-menu__body {
    max-height: min(58vh, 540px);
    overflow: auto;
    padding-right: 4px;
}

.eld-med-mega-menu__list,
.eld-med-mega-menu__children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.eld-med-mega-menu__list {
    column-count: 3;
    column-gap: 18px;
}

.eld-med-mega-menu__list.eld-med-mega-menu__grid {
    column-count: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.eld-med-mega-menu__item {
    break-inside: avoid;
    margin: 0 0 6px;
}

.eld-med-mega-menu__grid .eld-med-mega-menu__item {
    margin: 0;
}

.eld-med-mega-menu__group {
    min-width: 0;
    padding: 8px;
    border: 1px solid rgba(15,127,143,0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(238,250,251,0.78), rgba(255,255,255,0.94));
}

.eld-med-mega-menu li {
    position: relative;
}

.eld-med-mega-menu__link {
    display: block;
    border-radius: 12px;
    padding: 8px 10px;
    color: var(--eld-text);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.eld-med-mega-menu__item--level-0 > .eld-med-mega-menu__link {
    background: linear-gradient(180deg, rgba(238,250,251,0.86), rgba(255,255,255,0.94));
    border: 1px solid rgba(15,127,143,0.08);
}

.eld-med-mega-menu__group > .eld-med-mega-menu__group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 0;
    background: transparent;
    color: var(--eld-text);
    font-size: 13.5px;
    font-weight: 950;
}

.eld-med-mega-menu__group-title::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--eld-primary);
}

.eld-med-mega-menu__children {
    padding: 4px 0 0 8px;
    border-left: 1px solid rgba(15,127,143,0.12);
    margin-left: 8px;
}

.eld-med-mega-menu__group-links {
    display: grid;
    gap: 2px;
    padding: 2px 0 0;
    margin: 2px 0 0;
    border-left: 0;
}

.eld-med-mega-menu__nested-links {
    display: grid;
    gap: 1px;
    margin: 2px 0 4px 10px;
    padding: 2px 0 0 8px;
    border-left: 1px solid rgba(15,127,143,0.12);
}

.eld-med-mega-menu__group-links .eld-med-mega-menu__link,
.eld-med-mega-menu__nested-links .eld-med-mega-menu__link {
    padding: 6px 8px;
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 750;
}

.eld-med-mega-menu__item--collapsible > .eld-med-mega-menu__link {
    padding-right: 42px;
}

.eld-med-mega-menu__group.eld-med-mega-menu__item--collapsible > .eld-med-mega-menu__group-title {
    padding-right: 42px;
}

.eld-med-mega-menu__link:hover,
.eld-med-mega-menu__link:focus {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    text-decoration: none;
}

.eld-med-mega-menu__toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid rgba(15,127,143,0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--eld-primary-dark);
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}

.eld-med-mega-menu__toggle:hover,
.eld-med-mega-menu__toggle:focus-visible {
    background: var(--eld-primary-soft);
    border-color: rgba(15,127,143,0.32);
    outline: none;
}

.eld-med-mega-menu__toggle span {
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
    transition: transform .18s ease;
}

.eld-med-mega-menu__item--collapsible:not(.is-collapsed) > .eld-med-mega-menu__toggle span {
    transform: translateY(2px) rotate(225deg);
}

.eld-med-mega-menu__item--collapsible.is-collapsed > .eld-med-mega-menu__children {
    display: none;
}

.eld-med-mega-menu__children {
    margin: 2px 0 8px 10px;
    padding-left: 10px;
    border-left: 2px solid rgba(15,127,143,0.16);
}

.eld-med-mega-menu__children .eld-med-mega-menu__link {
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 750;
    padding-top: 6px;
    padding-bottom: 6px;
}

.eld-med-info-menu {
    max-width: 980px;
    left: 10px;
    right: auto;
}

.eld-med-info-menu__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
}

.eld-med-info-menu__group {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(223, 232, 239, 0.9);
    border-radius: 16px;
    background: #f8fbfd;
}

.eld-med-info-menu__group h3 {
    margin: 0 0 10px;
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eld-med-info-menu__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eld-med-info-menu__group a {
    display: block;
    padding: 7px 0;
    color: var(--eld-text);
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.eld-med-info-menu__group a:hover,
.eld-med-info-menu__group a:focus {
    color: var(--eld-primary-dark);
}

.eld-med-info-menu__bottom {
    padding-top: 12px;
    padding-bottom: 0;
    margin-top: 12px;
    margin-bottom: 0;
    border-top: 1px solid var(--eld-border);
    border-bottom: 0;
}

.eld-med-services-menu {
    max-width: 460px;
}

.eld-med-services-menu .eld-med-info-menu__grid {
    grid-template-columns: 1fr;
}

.eld-med-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(100%, 390px);
}

.eld-med-search .form-control {
    height: 42px;
    border-radius: 999px;
    border-color: var(--eld-border);
    background: #f8fbfd;
    padding-left: 18px;
    box-shadow: none;
}

.eld-med-search .form-control:focus,
.form-control:focus,
.custom-select:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: rgba(15, 127, 143, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(15, 127, 143, 0.12);
}

.eld-btn-primary,
.btn-primary {
    border: 1px solid var(--eld-primary);
    background: var(--eld-primary);
    color: #fff !important;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(15, 127, 143, 0.20);
}

.eld-btn-primary:hover,
.eld-btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--eld-primary-dark);
    background: var(--eld-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.eld-btn-outline,
.btn-outline-secondary {
    color: var(--eld-primary-dark) !important;
    border: 1px solid rgba(15, 127, 143, 0.22) !important;
    background: #fff !important;
    border-radius: 999px;
    font-weight: 800;
}

.eld-btn-outline:hover,
.btn-outline-secondary:hover {
    background: var(--eld-primary-soft) !important;
    color: var(--eld-primary-dark) !important;
}

.eld-btn-soft {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
}

.eld-btn-muted {
    border: 1px solid var(--eld-border);
    background: #edf2f6;
    color: var(--eld-muted) !important;
    border-radius: 999px;
    font-weight: 800;
}

.eld-med-page {
    padding-top: 34px;
    padding-bottom: 56px;
}

.eld-med-page__inner,
.eld-med-content {
    min-height: 48vh;
}

.eld-med-page-header {
    border: 0;
    padding: 0;
    margin: 0 0 24px;
}

.eld-med-page-header h1,
.eld-med-hero h1,
.eld-med-product-main h1 {
    color: var(--eld-text);
    font-weight: 850;
    letter-spacing: -0.045em;
}

.eld-med-page-header h1 {
    font-size: clamp(30px, 4vw, 48px);
}

.eld-med-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eld-primary-dark);
    background: var(--eld-primary-soft);
    border: 1px solid rgba(15,127,143,0.14);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.eld-med-breadcrumb-wrap {
    margin-bottom: 18px;
}

.eld-med-breadcrumb,
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.eld-med-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-height: 44px;
    padding: 6px;
    background: rgba(255,255,255,0.86);
    border: 1px solid var(--eld-border);
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(18,46,66,0.07);
}

.eld-med-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0;
    color: var(--eld-muted);
    line-height: 1.2;
}

.eld-med-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    width: 6px;
    height: 6px;
    margin: 0 3px 0 0;
    padding: 0;
    border-top: 2px solid rgba(15,127,143,0.42);
    border-right: 2px solid rgba(15,127,143,0.42);
    transform: rotate(45deg);
}

.eld-med-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    color: var(--eld-primary-dark);
    background: var(--eld-primary-soft);
    border: 1px solid rgba(15,127,143,0.14);
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.eld-med-breadcrumb a:hover {
    color: #ffffff;
    background: var(--eld-primary);
    border-color: var(--eld-primary);
}

.eld-med-breadcrumb .breadcrumb-item.active {
    max-width: min(720px, 72vw);
    padding: 0 12px 0 8px;
    color: var(--eld-text);
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eld-flatpage-content {
    color: var(--eld-text);
    font-size: 1rem;
    line-height: 1.75;
    overflow: hidden;
}

.eld-flatpage-content > *:first-child {
    margin-top: 0;
}

.eld-flatpage-content h1,
.eld-flatpage-content h2,
.eld-flatpage-content h3,
.eld-flatpage-content h4 {
    color: var(--eld-text);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 1.7rem 0 .8rem;
}

.eld-flatpage-content p,
.eld-flatpage-content ul,
.eld-flatpage-content ol {
    max-width: 78ch;
}

.eld-flatpage-content img,
.eld-flatpage-content svg,
.eld-flatpage-content video,
.eld-flatpage-content iframe {
    max-width: 100% !important;
}

.eld-flatpage-content img,
.eld-flatpage-content svg,
.eld-flatpage-content video {
    height: auto !important;
}

.eld-flatpage-content img {
    display: block;
    object-fit: contain;
}

.eld-flatpage-content figure,
.eld-flatpage-content .wp-block-image,
.eld-flatpage-content .wp-block-media-text,
.eld-flatpage-content .wp-block-gallery,
.eld-flatpage-content .wp-block-jetpack-slideshow,
.eld-flatpage-content .wp-block-cover {
    max-width: 100% !important;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.eld-flatpage-content figure img,
.eld-flatpage-content .wp-block-image img,
.eld-flatpage-content .wp-block-gallery img,
.eld-flatpage-content .wp-block-jetpack-slideshow img {
    width: auto;
    max-height: min(680px, 72vh);
}

.eld-flatpage-content .wp-block-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.eld-flatpage-content .wp-block-column {
    min-width: 0;
}

.eld-flatpage-content .wp-block-media-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.eld-flatpage-content .wp-block-media-text__media,
.eld-flatpage-content .wp-block-media-text__content {
    min-width: 0;
}

.eld-flatpage-content .wp-block-media-text__media img {
    width: 100%;
}

.eld-flatpage-content .wp-block-cover,
.eld-flatpage-content .wp-block-cover-image {
    position: relative;
    display: grid;
    align-items: center;
    min-height: clamp(260px, 42vw, 560px);
    border-radius: 8px;
}

.eld-flatpage-content .wp-block-cover img,
.eld-flatpage-content .wp-block-cover-image img,
.eld-flatpage-content img.wp-block-cover__image-background {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.eld-flatpage-content iframe {
    display: block;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    border: 0;
}

.eld-faq-page {
    display: grid;
    gap: 22px;
}

.eld-faq-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    background:
        radial-gradient(circle at 88% 22%, rgba(44, 166, 164, 0.22), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f4fbfc 58%, #e5f7f8 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-faq-hero h2 {
    max-width: 760px;
    margin: 12px 0 10px;
    color: var(--eld-text);
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
}

.eld-faq-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--eld-muted);
    font-weight: 600;
    line-height: 1.7;
}

.eld-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
    gap: 22px;
    align-items: start;
}

.eld-faq-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    background: #ffffff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-faq-visual {
    min-height: 0;
}

.eld-faq-visual:empty {
    display: none;
}

.eld-faq-visual img {
    display: block;
    width: 100% !important;
    max-width: 260px !important;
    max-height: 250px !important;
    height: auto !important;
    margin: 0 auto 4px;
    object-fit: contain;
    border-radius: var(--eld-radius-sm);
}

.eld-faq-aside strong {
    display: block;
    margin-bottom: 0;
    color: var(--eld-text);
    font-size: 1.05rem;
}

.eld-faq-aside p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-faq-accordion {
    display: grid;
    gap: 12px;
}

.eld-faq-accordion > :not(details) {
    display: none;
}

.eld-faq-accordion details {
    overflow: hidden;
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(8, 31, 49, 0.07);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.eld-faq-accordion details[open] {
    border-color: rgba(8, 139, 153, 0.34);
    box-shadow: 0 18px 44px rgba(8, 139, 153, 0.13);
}

.eld-faq-accordion details:hover {
    transform: translateY(-1px);
}

.eld-faq-accordion summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 18px 58px 18px 22px;
    color: var(--eld-text);
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.eld-faq-accordion summary::-webkit-details-marker {
    display: none;
}

.eld-faq-accordion summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e8fbfc;
    color: var(--eld-primary);
    font-size: 20px;
    line-height: 1;
    transform: translateY(-50%);
}

.eld-faq-accordion details[open] summary::after {
    content: "-";
    background: var(--eld-primary);
    color: #ffffff;
}

.eld-faq-accordion details > :not(summary) {
    margin: 0;
    padding: 0 22px 20px;
    color: var(--eld-muted);
}

.eld-faq-accordion details p {
    max-width: none;
    margin: 0;
}

.eld-faq-accordion details strong {
    color: var(--eld-text);
}

.eld-content-page {
    display: grid;
    gap: 22px;
}

.eld-content-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    background:
        radial-gradient(circle at 86% 18%, rgba(44, 166, 164, 0.20), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfd 56%, #e8f8f9 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-content-hero h1 {
    max-width: 860px;
    margin: 12px 0 10px;
    color: var(--eld-text);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
}

.eld-content-hero p {
    max-width: 820px;
    margin: 0;
    color: var(--eld-muted);
    font-weight: 600;
    line-height: 1.7;
}

.eld-content-edit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.eld-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
    gap: 22px;
    align-items: start;
}

.eld-content-card,
.eld-content-aside {
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    background: #ffffff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-content-card {
    padding: clamp(22px, 3vw, 34px);
}

.eld-content-card > h1:first-child,
.eld-content-card > h2:first-child {
    margin-top: 0;
}

.eld-content-card p,
.eld-content-card ul,
.eld-content-card ol {
    max-width: none;
}

.eld-content-card p {
    margin-bottom: 1rem;
}

.eld-content-card ul,
.eld-content-card ol {
    display: grid;
    gap: 8px;
    padding-left: 1.2rem;
}

.eld-content-card li::marker {
    color: var(--eld-primary);
}

.eld-content-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 14px;
    padding: 22px;
}

.eld-content-visual:empty {
    display: none;
}

.eld-content-visual img {
    display: block;
    width: 100% !important;
    max-width: 280px !important;
    max-height: 260px !important;
    height: auto !important;
    margin: 0 auto 4px;
    object-fit: contain;
    border-radius: var(--eld-radius-sm);
}

.eld-content-aside strong {
    color: var(--eld-text);
    font-size: 1.1rem;
    line-height: 1.25;
}

.eld-content-aside p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-content-page--policy .eld-content-card {
    overflow: visible;
}

.eld-prosthetics-offer {
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: var(--eld-radius-md);
    background: linear-gradient(135deg, #ffffff 0%, #f5fbfc 58%, #e4f8f9 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-prosthetics-offer h2 {
    margin: 8px 0 8px;
    color: var(--eld-text);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 850;
    line-height: 1.12;
}

.eld-prosthetics-offer p {
    max-width: 760px;
    margin: 0;
    color: var(--eld-muted);
    font-weight: 650;
    line-height: 1.65;
}

.eld-prosthetics-offer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--eld-primary-dark);
    color: #fff;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(15, 127, 143, 0.16);
}

.eld-prosthetics-offer__cta:hover,
.eld-prosthetics-offer__cta:focus {
    background: #0a5f69;
    color: #fff;
    text-decoration: none;
}

.eld-scanner-offer {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfc 52%, #eff8f3 100%);
}

.eld-scanner-offer__action {
    margin-top: 14px !important;
}

.eld-error-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: clamp(20px, 4vw, 34px);
    align-items: stretch;
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    background:
        radial-gradient(circle at 88% 18%, rgba(44, 166, 164, 0.18), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #f7fbfd 56%, #e8f8f9 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-error-page__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
}

.eld-error-page h1 {
    max-width: 760px;
    margin: 12px 0 14px;
    color: var(--eld-text);
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
}

.eld-error-page p {
    max-width: 720px;
    margin: 0 0 12px;
    color: var(--eld-muted);
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.7;
}

.eld-error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.eld-error-page__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 18px;
}

.eld-error-page__panel {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(15, 127, 143, 0.15);
    border-radius: var(--eld-radius-md);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 45px rgba(6, 42, 54, 0.08);
}

.eld-error-page__code {
    width: min(100%, 210px);
    padding: 18px 20px;
    border-radius: var(--eld-radius-md);
    background: var(--eld-primary);
    color: #ffffff;
    font-size: clamp(44px, 7vw, 86px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: 0 16px 34px rgba(15, 127, 143, 0.22);
}

.eld-error-page__panel h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1.25;
}

.eld-error-page__tips {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-error-page__tips li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--eld-muted);
    font-weight: 700;
    line-height: 1.45;
}

.eld-error-page__tips i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
}

.eld-error-search {
    display: grid;
    grid-template-columns: minmax(500px, 0.92fr) minmax(390px, 1fr);
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    background: #ffffff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-error-search h2 {
    margin: 8px 0 0;
    color: var(--eld-text);
    font-size: clamp(18px, 2.7vw, 30px);
    font-weight: 850;
    line-height: 1.16;
    white-space: nowrap;
}

.eld-error-search .eld-med-search {
    width: 100%;
    margin: 0;
}

.eld-error-search .eld-med-search .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.eld-error-search .eld-med-search .btn {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .eld-error-search {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .eld-error-page,
    .eld-error-search {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .eld-error-page,
    .eld-error-page p,
    .eld-error-search,
    .eld-error-search h2 {
        text-align: center;
    }

    .eld-error-page__code {
        margin: 0 auto;
    }

    .eld-error-page__actions {
        justify-content: center;
    }

    .eld-error-page__actions .btn {
        width: 100%;
    }

    .eld-error-page__tips li {
        text-align: left;
    }

    .eld-error-search .eld-med-search {
        flex-direction: column;
        align-items: stretch;
    }

    .eld-error-search .eld-med-search .btn {
        width: 100%;
    }
}

.eld-policy-page {
    display: grid;
    gap: 20px;
}

.eld-policy-lead {
    margin: 0;
    padding: 18px 20px;
    color: var(--eld-primary-dark);
    font-weight: 750;
    line-height: 1.7;
    background: linear-gradient(135deg, rgba(224, 247, 249, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: var(--eld-radius-sm);
}

.eld-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.eld-policy-section {
    position: relative;
    display: grid;
    gap: 10px;
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-sm);
    background:
        linear-gradient(180deg, rgba(247, 252, 253, 0.96), rgba(255, 255, 255, 1));
    box-shadow: 0 14px 34px rgba(18, 46, 66, 0.06);
}

.eld-policy-section::before {
    content: "";
    width: 34px;
    height: 5px;
    border-radius: 999px;
    background: var(--eld-primary);
}

.eld-policy-section h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
}

.eld-policy-section p {
    margin: 0;
    color: var(--eld-muted);
    font-size: 15px;
    line-height: 1.7;
}

.eld-services-shell {
    display: grid;
    gap: 18px;
}

.eld-services-content {
    overflow: visible;
}

.eld-services-page {
    display: grid;
    gap: clamp(18px, 3vw, 30px);
}

.eld-services-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: stretch;
    padding: clamp(26px, 4vw, 52px);
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: var(--eld-radius-lg);
    background:
        linear-gradient(135deg, #ffffff 0%, #f5fcfd 56%, #dff5f7 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-services-hero__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.eld-services-hero h1 {
    max-width: 900px;
    margin: 14px 0 14px;
    color: var(--eld-text);
    font-size: clamp(32px, 4.2vw, 58px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
}

.eld-services-hero p {
    max-width: 860px;
    margin: 0;
    color: var(--eld-muted);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.75;
}

.eld-services-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.eld-services-hero__panel {
    display: grid;
    align-content: center;
    gap: 10px;
    min-height: 260px;
    padding: 24px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: var(--eld-radius-sm);
    background: rgba(255, 255, 255, 0.78);
}

.eld-services-hero__panel strong {
    color: var(--eld-primary-dark);
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1;
}

.eld-services-hero__panel span {
    margin-bottom: 8px;
    color: var(--eld-muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
}

.eld-services-intro,
.eld-services-section,
.eld-services-process,
.eld-services-cta {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-lg);
    background: #fff;
    box-shadow: 0 14px 34px rgba(18, 46, 66, 0.055);
}

.eld-services-intro p {
    max-width: 980px;
    margin: 0;
    color: var(--eld-primary-dark);
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: 760;
    line-height: 1.65;
}

.eld-services-section {
    display: grid;
    gap: 20px;
}

.eld-services-section__header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: space-between;
}

.eld-services-section__header h2,
.eld-services-process h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 0;
}

.eld-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.eld-services-card {
    display: grid;
    gap: 12px;
    min-height: 210px;
    padding: 22px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-sm);
    background:
        linear-gradient(180deg, rgba(248, 253, 254, 0.96), rgba(255, 255, 255, 1));
}

.eld-services-card__icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--eld-primary-dark);
    border-radius: 999px;
    background: rgba(214, 246, 249, 0.9);
}

.eld-services-card h3 {
    margin: 0;
    color: var(--eld-text);
    font-size: 19px;
    font-weight: 850;
    line-height: 1.22;
}

.eld-services-card p {
    margin: 0;
    color: var(--eld-muted);
    font-size: 15px;
    line-height: 1.65;
}

.eld-services-process {
    display: grid;
    gap: 20px;
}

.eld-services-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-services-step {
    display: grid;
    gap: 10px;
    min-height: 170px;
    padding: 20px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-sm);
    background: #f8fcfd;
}

.eld-services-step > span:first-child {
    width: 38px;
    height: 5px;
    border-radius: 999px;
    background: var(--eld-primary);
}

.eld-services-step strong {
    color: var(--eld-text);
    font-size: 18px;
    line-height: 1.2;
}

.eld-services-step span:last-child {
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-services-cta {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(135deg, #08283a 0%, #0b4c5b 100%);
}

.eld-services-cta strong {
    display: block;
    max-width: 760px;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(20px, 2.3vw, 30px);
    line-height: 1.25;
}

.eld-services-cta .eld-med-eyebrow {
    color: #b9f5f8;
    border-color: rgba(185, 245, 248, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.eld-payments-page .eld-policy-section:nth-child(1)::before {
    background: #0f7f8f;
}

.eld-payments-page .eld-policy-section:nth-child(2)::before {
    background: #1954a6;
}

.eld-payments-page .eld-policy-section:nth-child(3)::before {
    background: #16a34a;
}

.eld-payments-page .eld-policy-section:nth-child(4)::before {
    background: #c0840c;
}

.eld-about-page {
    display: grid;
    gap: 18px;
}

.eld-about-admin {
    display: flex;
    justify-content: flex-end;
}

.eld-about-content {
    overflow: visible;
}

.eld-about-shell {
    display: grid;
    gap: 24px;
}

.eld-about-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, .72fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: stretch;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    background:
        linear-gradient(135deg, #ffffff 0%, #f6fbfc 58%, #dff6f7 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-about-hero h1 {
    max-width: 840px;
    margin: 12px 0 14px;
    color: var(--eld-text);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
}

.eld-about-lead {
    max-width: 800px;
    margin: 0;
    color: var(--eld-muted);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.eld-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.eld-about-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--eld-primary-dark);
    font-weight: 850;
}

.eld-about-hero__panel {
    display: grid;
    align-content: center;
    gap: 12px;
    min-width: 0;
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: var(--eld-radius);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 18px 40px rgba(8, 31, 49, 0.08);
}

.eld-about-hero__panel strong {
    color: var(--eld-text);
    font-size: 18px;
    line-height: 1.25;
}

.eld-about-proof {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid var(--eld-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--eld-muted);
    font-weight: 700;
    line-height: 1.45;
}

.eld-about-proof::before {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-top: .46em;
    border-radius: 999px;
    background: var(--eld-primary);
    box-shadow: 0 0 0 4px rgba(15, 127, 143, 0.12);
}

.eld-about-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eld-about-kpi {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius);
    background: #ffffff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-about-kpi strong {
    display: block;
    color: var(--eld-primary-dark);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1;
}

.eld-about-kpi span {
    display: block;
    margin-top: 8px;
    color: var(--eld-muted);
    font-weight: 800;
    line-height: 1.4;
}

.eld-about-section,
.eld-about-cta {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius);
    background: #ffffff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-about-section h2,
.eld-about-cta h2 {
    margin: 0 0 12px;
    color: var(--eld-text);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: 0;
}

.eld-about-section > p,
.eld-about-cta p {
    max-width: 880px;
    margin: 0;
    color: var(--eld-muted);
    font-weight: 600;
    line-height: 1.7;
}

.eld-about-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.eld-about-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 14px;
    background: #f8fcfd;
}

.eld-about-card h3 {
    margin: 0 0 8px;
    color: var(--eld-text);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0;
}

.eld-about-card p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-about-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    counter-reset: about-step;
}

.eld-about-step {
    position: relative;
    min-width: 0;
    padding: 50px 16px 18px;
    border: 1px solid var(--eld-border);
    border-radius: 14px;
    background: #ffffff;
}

.eld-about-step::before {
    counter-increment: about-step;
    content: counter(about-step);
    position: absolute;
    top: 16px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--eld-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
}

.eld-about-shell[dir="rtl"] .eld-about-step::before {
    right: 16px;
    left: auto;
}

.eld-about-step h3 {
    margin: 0 0 8px;
    color: var(--eld-text);
    font-size: 17px;
    font-weight: 850;
    letter-spacing: 0;
}

.eld-about-step p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.6;
}

.eld-about-promise {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: center;
}

.eld-about-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-about-list li {
    position: relative;
    padding: 12px 14px 12px 38px;
    border: 1px solid var(--eld-border);
    border-radius: 999px;
    background: #f8fcfd;
    color: var(--eld-text);
    font-weight: 800;
}

.eld-about-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--eld-primary);
    transform: translateY(-50%);
}

.eld-about-shell[dir="rtl"] .eld-about-list li {
    padding: 12px 38px 12px 14px;
}

.eld-about-shell[dir="rtl"] .eld-about-list li::before {
    right: 16px;
    left: auto;
}

.eld-about-cta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background:
        linear-gradient(135deg, #ffffff 0%, #f5fbfc 54%, #e6f8f9 100%);
}

.eld-about-cta .btn {
    flex: 0 0 auto;
}

.eld-med-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 22px;
    margin-bottom: 28px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--eld-radius-lg);
    background:
        radial-gradient(circle at 90% 20%, rgba(44,166,164,0.22), transparent 36%),
        linear-gradient(135deg, #ffffff, #eef8fa);
    border: 1px solid var(--eld-border);
    box-shadow: var(--eld-shadow-soft);
}

.eld-med-hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(32px, 5vw, 56px);
}

.eld-med-hero p {
    max-width: 720px;
    color: var(--eld-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.eld-med-hero__points {
    align-self: end;
    display: grid;
    gap: 10px;
}

.eld-med-hero__media {
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(96px, 1fr));
    gap: 12px;
    min-width: 0;
}

.eld-med-hero__media--single {
    grid-template-columns: minmax(220px, 1fr);
}

.eld-med-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    aspect-ratio: 4 / 3;
    padding: 12px;
    border: 1px solid rgba(43, 166, 164, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 30px rgba(18, 46, 66, 0.08);
    overflow: hidden;
}

.eld-med-hero__media--single .eld-med-hero__image {
    width: min(100%, 280px);
    aspect-ratio: 16 / 10;
    padding: 18px;
    justify-self: center;
}

.eld-med-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.eld-med-hero__points span,
.eld-med-detail-trust-row span {
    background: rgba(255,255,255,0.80);
    border: 1px solid var(--eld-border);
    border-radius: 999px;
    color: var(--eld-primary-dark);
    font-weight: 800;
    padding: 11px 14px;
    box-shadow: 0 8px 18px rgba(18,46,66,0.06);
}

.eld-med-catalogue-root .eld-med-breadcrumb-wrap {
    margin-bottom: 12px;
}

.eld-med-hero--catalogue-root {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
    align-items: center;
    margin-bottom: 18px;
    padding: clamp(18px, 2.4vw, 28px);
    border-radius: 18px;
}

.eld-med-hero--catalogue-root h1 {
    margin: 8px 0 6px;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 0;
}

.eld-med-hero--catalogue-root p {
    max-width: 780px;
    font-size: 15px;
    line-height: 1.5;
}

.eld-med-hero--catalogue-root .eld-med-hero__points {
    gap: 8px;
}

.eld-med-hero--catalogue-root .eld-med-hero__points span {
    padding: 8px 12px;
    font-size: 13px;
}

.sidebar h4,
.eld-med-sidebar-block h4 {
    color: var(--eld-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 850;
    margin: 0 0 12px;
    text-align: center;
}

.eld-med-side-card {
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    box-shadow: var(--eld-shadow-soft);
    padding: 14px;
    margin-bottom: 24px;
}

.eld-med-side-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.eld-med-side-card ul ul {
    padding-left: 12px;
    margin-top: 6px;
}

.eld-med-side-card li {
    margin: 2px 0;
}

.eld-med-side-card a {
    display: block;
    border-radius: 12px;
    padding: 9px 10px;
    color: var(--eld-muted);
    font-weight: 700;
}

.eld-med-side-card a:hover,
.eld-med-side-card a.active {
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
}

.eld-category-description-row {
    align-items: center;
    margin-bottom: 18px;
}

.eld-category-description-copy p {
    margin: 0;
    color: var(--eld-muted);
    font-weight: 600;
    line-height: 1.65;
}

.eld-category-description-media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.eld-category-description-media img {
    display: block;
    max-height: 128px;
    width: auto;
    object-fit: contain;
}

.eld-med-facet-list {
    margin: 0 0 14px;
}

.eld-med-facet-list:last-child {
    margin-bottom: 0;
}

.eld-med-facet-list__title {
    color: var(--eld-text);
    font-size: 14px;
    font-weight: 850;
    margin: 0 0 8px;
}

.eld-med-facet-list__item {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    min-height: 30px;
    margin: 0;
    padding: 3px 0;
}

.eld-med-facet-list__checkbox {
    margin: 0;
    justify-self: center;
}

.eld-med-side-card .eld-med-facet-list__label {
    display: block;
    min-width: 0;
    padding: 0;
    color: var(--eld-muted);
    font-weight: 750;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.eld-med-side-card a.eld-med-facet-list__label:hover {
    background: transparent;
    color: var(--eld-primary-dark);
    text-decoration: underline;
}

.eld-med-facet-list__count {
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.eld-med-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    box-shadow: var(--eld-shadow-soft);
}

.eld-med-results-count {
    color: var(--eld-muted);
    flex: 0 0 auto;
    font-weight: 700;
}

.eld-med-results-count strong {
    color: var(--eld-text);
}

.eld-med-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
}

.eld-med-sort {
    flex: 0 1 auto;
    margin-left: auto;
    min-width: 0;
}

.eld-med-sort .form-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 0;
}

.eld-med-sort .form-group > label,
.eld-med-sort .form-group > div {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

.eld-med-sort .form-group > label {
    color: var(--eld-muted);
    font-weight: 700;
    white-space: nowrap;
}

.eld-med-sort select {
    display: inline-block;
    width: auto;
    min-width: max-content;
    max-width: min(42vw, 260px);
    height: 38px;
    padding: 6px 34px 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
    transition: width 120ms ease;
}

.eld-med-page-size {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--eld-muted);
    font-weight: 700;
    white-space: nowrap;
}

.eld-med-page-size label,
.eld-med-page-size span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0;
    line-height: 1;
}

.eld-med-page-size select {
    flex: 0 0 auto;
    width: auto;
    min-width: 74px;
    max-width: 86px;
    height: 38px;
    padding: 6px 30px 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    transition: width 120ms ease;
}

.eld-med-product-grid {
    margin-left: -10px !important;
    margin-right: -10px !important;
}

.eld-med-product-grid > li {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .eld-med-product-grid--wide > li {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.eld-med-product-card {
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-md);
    box-shadow: var(--eld-shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.eld-med-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 127, 143, 0.30);
    box-shadow: var(--eld-shadow);
}

.eld-med-product-card__image {
    position: relative;
    height: 160px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f9fcfd, #f0f7f8);
    padding: 16px;
}

.eld-med-product-card__image img {
    width: auto;
    max-width: 100%;
    max-height: 132px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.eld-med-product-card__image-fallback {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 18px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 28px;
    font-weight: 950;
    text-transform: uppercase;
}

.eld-med-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid rgba(15, 127, 143, 0.18);
    color: var(--eld-primary-dark);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 850;
}

.eld-med-product-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
    min-height: 205px;
}

.eld-med-product-card h3 {
    height: 41px;
    min-height: 41px;
    max-height: 41px;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
    overflow: hidden;
}

.eld-med-product-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--eld-text);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.eld-med-product-card h3 a:hover {
    color: var(--eld-primary-dark);
}

.eld-med-product-card__meta {
    display: -webkit-box;
    overflow: hidden;
    color: var(--eld-muted);
    font-size: 13px;
    line-height: 1.35;
    margin: 0 0 9px;
    min-height: 32px;
    max-height: 32px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.eld-med-product-card__price,
.eld-med-product-card .product_price {
    position: static;
    width: 100%;
    margin-top: auto;
}

.eld-med-stock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 56px;
    margin-bottom: 10px;
    text-align: center;
}

.eld-med-price,
.price_color {
    margin: 0;
    color: var(--eld-primary-dark);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: normal;
}

.eld-med-price--pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(161, 92, 7, 0.18);
    border-radius: 999px;
    background: #fff7e6;
    color: var(--eld-warning);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.eld-med-availability,
.availability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    color: var(--eld-success);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    min-height: 0;
    white-space: normal;
    text-align: center;
}

.availability.unavailable,
.eld-med-availability.unavailable {
    color: var(--eld-danger);
}

.eld-med-compact-basket-form p {
    display: none;
}

.eld-med-compact-basket-form .btn,
.product_price .btn-block {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.eld-med-product-detail-card,
.eld-med-section-card {
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    box-shadow: var(--eld-shadow-soft);
}

.eld-med-product-detail-card {
    padding: clamp(16px, 3vw, 30px);
    margin-bottom: 24px;
}

.eld-med-product-gallery-col .img-thumbnail,
#product_gallery .img-thumbnail {
    border: 1px solid var(--eld-border);
    border-radius: 24px;
    background: #f8fcfd;
    box-shadow: none;
    padding: 18px;
    overflow: hidden;
    max-width: 100%;
}

#product_gallery,
#product_gallery .carousel-inner,
#product_gallery .carousel-item,
.eld-product-gallery__zoom-trigger {
    max-width: 100%;
}

#product_gallery .carousel-inner,
#product_gallery .carousel-inner > .carousel-item {
    height: auto;
    min-height: 0;
    line-height: normal;
}

#product_gallery .carousel-inner img {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.eld-product-gallery__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eld-product-gallery__zoom-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.eld-product-gallery__zoom-trigger:focus-visible {
    outline: 3px solid rgba(15, 127, 143, 0.35);
    outline-offset: 4px;
    border-radius: 18px;
}

.eld-product-gallery__stage::after {
    content: "+";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    background: var(--eld-primary);
    box-shadow: 0 12px 24px rgba(15, 127, 143, 0.24);
    pointer-events: none;
}

.eld-product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    background: rgba(5, 25, 40, 0.88);
    padding: clamp(14px, 2vw, 28px);
}

.eld-product-lightbox-open {
    overflow: hidden;
}

.eld-product-lightbox.is-open {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
}

.eld-product-lightbox__toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.eld-product-lightbox__button {
    min-width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

.eld-product-lightbox__button:hover,
.eld-product-lightbox__button:focus-visible {
    background: var(--eld-primary);
    border-color: var(--eld-primary);
}

.eld-product-lightbox__viewport {
    min-height: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.eld-product-lightbox__image-wrap {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.eld-product-lightbox__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 160ms ease;
    cursor: zoom-in;
}

.eld-product-lightbox__image.is-zoomed {
    cursor: zoom-out;
}

.eld-product-lightbox__nav {
    width: clamp(42px, 5vw, 58px);
    height: clamp(42px, 5vw, 58px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 0;
    padding: 0 0 4px;
    cursor: pointer;
}

.eld-product-lightbox__nav:hover,
.eld-product-lightbox__nav:focus-visible {
    background: var(--eld-primary);
    border-color: var(--eld-primary);
}

#product_gallery .carousel-indicators {
    position: static;
    margin: 14px 0 0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px;
}

#product_gallery .carousel-indicators li {
    width: 72px;
    height: 62px;
    opacity: 1;
    border: 1px solid var(--eld-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-indent: 0;
}

#product_gallery .carousel-indicators img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#product_gallery .carousel-indicators li.active {
    border-color: var(--eld-primary);
    box-shadow: 0 0 0 3px rgba(15, 127, 143, 0.12);
}

.eld-med-product-main {
    position: relative;
    padding-top: 6px;
}

.eld-med-product-main h1 {
    margin: 16px 0 12px;
    font-size: clamp(24px, 2.7vw, 36px);
    line-height: 1.12;
    letter-spacing: 0;
}

.eld-med-admin-edit {
    float: right;
    color: var(--eld-muted);
    font-weight: 700;
}

.eld-product-import-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 8px 0 10px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 850;
}

.eld-med-detail-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.eld-med-detail-trust-row span {
    font-size: 12px;
    padding: 8px 11px;
}

.eld-scanner-promo {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(7, 137, 150, 0.24);
    border-radius: 16px;
    background: #f0fbfd;
    color: var(--eld-text);
}

.eld-scanner-promo span {
    display: block;
    margin: 0 0 5px;
    color: var(--eld-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eld-scanner-promo strong {
    display: block;
    margin: 0 0 5px;
    color: var(--eld-text);
    font-size: 16px;
    line-height: 1.25;
}

.eld-scanner-promo p {
    margin: 0;
    color: var(--eld-muted);
    font-size: 13px;
    line-height: 1.55;
}

.eld-prosthetics-product-link {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 127, 143, 0.22);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f1fbfc 100%);
    color: var(--eld-text);
}

.eld-prosthetics-product-link span {
    display: block;
    margin: 0 0 5px;
    color: var(--eld-primary);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eld-prosthetics-product-link strong {
    display: block;
    margin: 0 0 5px;
    color: var(--eld-text);
    font-size: 16px;
    line-height: 1.25;
}

.eld-prosthetics-product-link p {
    margin: 0 0 10px;
    color: var(--eld-muted);
    font-size: 13px;
    line-height: 1.55;
}

.eld-prosthetics-product-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--eld-primary-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
}

.eld-prosthetics-product-link a:hover,
.eld-prosthetics-product-link a:focus {
    background: #0a5f69;
    color: #fff;
    text-decoration: none;
}

.eld-med-purchase-panel {
    margin-top: 20px;
    padding: 18px;
    border-radius: 22px;
    background: #f7fbfc;
    border: 1px solid var(--eld-border);
}

.eld-med-add-form .form-group,
.eld-med-add-form p {
    margin-bottom: 12px;
}

.eld-med-add-form label {
    font-size: 13px;
    color: var(--eld-muted);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.eld-med-add-form .btn-lg {
    min-height: 52px;
    font-size: 16px;
}

.eld-med-info-box,
.alert {
    border-radius: var(--eld-radius-md);
}

.eld-med-info-box {
    margin-bottom: 14px;
    padding: 14px;
    color: var(--eld-primary-dark);
    background: var(--eld-primary-soft);
    border: 1px solid rgba(15, 127, 143, 0.15);
    font-weight: 700;
}

.eld-med-stock-alert-form {
    width: 100%;
}

.eld-med-stock-alert {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(229, 245, 247, 0.9), rgba(255, 255, 255, 0.96) 62%),
        var(--eld-surface);
    box-shadow: 0 12px 30px rgba(18, 46, 66, 0.07);
}

.eld-med-stock-alert--active {
    margin-bottom: 0;
}

.eld-med-stock-alert__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: var(--eld-primary-dark);
    background: #ffffff;
    border: 1px solid rgba(15, 127, 143, 0.18);
    box-shadow: var(--eld-shadow-soft);
}

.eld-med-stock-alert__copy,
.eld-med-stock-alert__content {
    min-width: 0;
}

.eld-med-stock-alert__copy strong,
.eld-med-stock-alert__content strong {
    display: block;
    color: var(--eld-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
}

.eld-med-stock-alert__copy span,
.eld-med-stock-alert__content p {
    display: block;
    margin: 5px 0 0;
    color: var(--eld-muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.eld-med-stock-alert__field {
    margin-top: 14px;
}

.eld-med-stock-alert__field label {
    display: block;
    margin-bottom: 7px;
    color: var(--eld-primary-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eld-med-stock-alert__control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.eld-med-stock-alert__control input {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--eld-border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--eld-text);
    font-weight: 700;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.eld-med-stock-alert__control input:focus {
    border-color: var(--eld-primary);
    box-shadow: 0 0 0 4px rgba(15, 127, 143, 0.12);
}

.eld-med-stock-alert__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 900;
}

.eld-med-stock-alert__button i {
    margin-right: 6px;
}

.eld-med-stock-alert__errors {
    display: grid;
    gap: 4px;
    margin-top: 8px;
    color: var(--eld-danger);
    font-size: 13px;
    font-weight: 750;
}

.eld-med-stock-alert__help {
    display: block;
    margin-top: 8px;
    color: var(--eld-muted);
    font-weight: 650;
}

@media (max-width: 575.98px) {
    .eld-med-stock-alert {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .eld-med-stock-alert__icon {
        width: 42px;
        height: 42px;
    }

    .eld-med-stock-alert__control {
        grid-template-columns: 1fr;
    }

    .eld-med-stock-alert__button {
        width: 100%;
    }
}

.eld-med-section-card {
    padding: clamp(18px, 3vw, 30px);
    margin-bottom: 24px;
}

.eld-med-section-title {
    border-bottom: 1px solid var(--eld-border);
    margin-bottom: 20px;
    padding-bottom: 18px;
}

.eld-med-section-title h2 {
    margin: 12px 0 0;
    color: var(--eld-text);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.eld-med-description {
    color: #344456;
    font-size: 16px;
    line-height: 1.75;
}

.eld-med-description img {
    max-width: 100%;
    height: auto;
    border-radius: var(--eld-radius-md);
}

.eld-product-brochures__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.eld-product-brochure {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-sm);
    background: #fff;
    color: var(--eld-text);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.eld-product-brochure:hover,
.eld-product-brochure:focus {
    border-color: rgba(15, 127, 143, .35);
    box-shadow: 0 14px 28px rgba(4, 21, 43, .08);
    color: var(--eld-text);
    text-decoration: none;
    transform: translateY(-1px);
}

.eld-product-brochure__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(15, 127, 143, .1);
    color: var(--eld-primary);
    flex: 0 0 auto;
    font-size: 18px;
}

.eld-product-brochure__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.eld-product-brochure__text strong {
    overflow-wrap: anywhere;
}

.eld-product-brochure__text small {
    color: var(--eld-muted);
    font-weight: 800;
}

.eld-med-table {
    margin: 0;
}

.eld-med-table th,
.eld-med-table td {
    border-top: 1px solid var(--eld-border);
    padding: 14px 12px;
    vertical-align: middle;
}

.eld-med-table th {
    width: 34%;
    color: var(--eld-text);
    font-weight: 850;
    background: #f8fbfd;
}

.eld-med-table td {
    color: #35465a;
}

.eld-med-empty-state {
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    padding: 34px;
    color: var(--eld-muted);
    font-weight: 800;
    text-align: center;
}

.pagination {
    gap: 6px;
    flex-wrap: wrap;
}

.eld-pagination-nav {
    margin-top: 24px;
}

.eld-pagination {
    align-items: center;
}

.page-link {
    border-radius: 999px !important;
    color: var(--eld-primary-dark);
    border-color: var(--eld-border);
    font-weight: 800;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}

.page-item.active .page-link {
    background: var(--eld-primary);
    border-color: var(--eld-primary);
}

.eld-pagination__edge .page-link {
    min-width: 42px;
    background: rgba(216, 245, 248, 0.72);
}

.eld-pagination__ellipsis .page-link {
    min-width: 32px;
    background: transparent;
    border-color: transparent;
    color: var(--eld-muted);
}

.eld-med-footer {
    background: #0b2337;
    color: rgba(255,255,255,0.78);
    padding: 46px 0 18px;
    margin-top: 24px;
}

.eld-med-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 28px;
}

.eld-med-footer h3,
.eld-med-footer h4 {
    color: #fff;
    font-weight: 850;
}

.eld-med-footer h3 {
    font-size: 24px;
    letter-spacing: -0.03em;
}

.eld-med-footer p,
.eld-med-footer li {
    color: rgba(255,255,255,0.72);
}

.eld-med-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.eld-med-footer a {
    color: rgba(255,255,255,0.78);
}

.eld-med-footer a:hover {
    color: #fff;
}

.eld-med-footer__small {
    max-width: 440px;
}

.eld-med-footer__bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
}

.eld-med-basket-dropdown {
    width: min(420px, calc(100vw - 28px));
    min-width: 380px;
    border: 1px solid var(--eld-border);
    border-radius: 18px;
    box-shadow: var(--eld-shadow);
    padding: 10px;
}

.eld-med-basket-dropdown .basket-mini-item {
    margin: 0;
}

.eld-mini-cart-line {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) minmax(92px, auto);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--eld-border);
}

.eld-mini-cart-line__image {
    width: 64px;
    height: 64px;
    border: 1px solid var(--eld-border);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.eld-mini-cart-line__image img {
    display: block;
    max-width: 54px;
    max-height: 54px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.eld-mini-cart-line__content {
    min-width: 0;
}

.eld-mini-cart-line__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--eld-primary);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.eld-mini-cart-line__meta {
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    line-height: 1.15;
    white-space: nowrap;
}

.eld-mini-cart-line__price {
    color: var(--eld-primary);
    font-size: 15px;
    font-weight: 900;
}

.eld-mini-cart-line__qty {
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 700;
}

.eld-mini-cart-actions {
    margin: 0;
    padding: 12px 0 0;
}

.eld-mini-cart-total {
    margin: 0 0 10px;
    text-align: right;
    color: var(--eld-text);
}

.eld-mini-cart-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.eld-mini-cart-buttons .btn {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .eld-med-basket-dropdown {
        min-width: 0;
    }

    .eld-mini-cart-line {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .eld-mini-cart-line__meta {
        grid-column: 2;
        align-items: flex-start;
    }
}

.star-rating i,
.eld-med-stars i {
    color: #f5a623;
}

.eld-med-stars {
    min-height: 22px;
    margin: 0 0 10px;
    line-height: 1;
}

.alert {
    border: 0;
    box-shadow: var(--eld-shadow-soft);
}

.eld-cart-total-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
}

.eld-cart-total-message__text {
    min-width: 0;
}

.eld-cart-total-message__actions {
    display: inline-flex;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
}

.eld-cart-total-message__actions .btn {
    margin: 0;
}

.alert-success {
    background: #eaf8ef;
    color: #14532d;
}

.alert-danger {
    background: #fff0ed;
    color: var(--eld-danger);
}

.alert-warning {
    background: #fff7e8;
    color: var(--eld-warning);
}

@media (max-width: 991.98px) {
    .eld-med-topbar__inner,
    .eld-med-header__inner,
    .eld-med-toolbar,
    .eld-med-footer__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .eld-med-footer__bottom {
        align-items: flex-start;
    }

    .eld-med-topbar__inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .eld-med-topbar__trust,
    .eld-med-topbar__actions,
    .eld-med-account-links,
    .eld-med-language,
    .eld-med-currency {
        flex-wrap: wrap;
    }

    .eld-topbar-menu {
        position: static;
    }

    .eld-topbar-menu__panel {
        left: 10px;
        right: 10px;
        top: auto;
        max-width: none;
        width: auto;
    }

    .eld-topbar-menu__panel--info {
        grid-template-columns: 1fr;
        width: auto;
    }

    .eld-med-header {
        position: relative;
    }

    .eld-med-header__inner {
        min-height: auto;
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .eld-med-header__search {
        width: 100%;
        margin-left: 0;
        flex-basis: auto;
    }

    .eld-med-mainnav {
        border-radius: 22px;
    }

    .eld-med-mega-menu {
        position: static !important;
        width: 100%;
        max-height: 65vh;
        margin-top: 8px;
    }

    .eld-med-mega-menu__list {
        column-count: 2;
    }

    .eld-med-search {
        width: 100%;
        margin-top: 12px;
        min-width: 100%;
    }

    .eld-med-toolbar__actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .eld-med-page-size {
        margin-left: 0;
    }

    .eld-med-sort select {
        max-width: min(100%, 320px);
    }

    .eld-med-hero {
        grid-template-columns: 1fr;
    }

    .eld-med-hero__media {
        max-width: 520px;
    }

    .eld-faq-layout {
        grid-template-columns: 1fr;
    }

    .eld-faq-aside {
        position: static;
    }

    .eld-content-layout {
        grid-template-columns: 1fr;
    }

    .eld-content-aside {
        position: static;
    }

    .eld-about-hero,
    .eld-about-promise {
        grid-template-columns: 1fr;
    }

    .eld-about-cards,
    .eld-about-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-med-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .eld-product-lightbox {
        padding: 10px;
    }

    .eld-product-lightbox__viewport {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .eld-product-lightbox__nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
    }

    .eld-product-lightbox__nav--prev {
        left: 10px;
    }

    .eld-product-lightbox__nav--next {
        right: 10px;
    }

    .eld-med-page {
        padding-top: 22px;
    }

    .eld-med-brand__logo {
        width: auto;
        max-height: 45px;
    }

    .eld-med-product-card__image {
        min-height: 190px;
    }

    .eld-med-mega-menu__list {
        column-count: 1;
    }

    .eld-med-info-menu {
        max-width: none;
        left: 10px;
        right: 10px;
    }

    .eld-med-info-menu__grid {
        grid-template-columns: 1fr;
    }

    .eld-med-mega-menu__body {
        max-height: 55vh;
    }

    .eld-med-product-detail-card,
    .eld-med-section-card,
    .eld-med-hero {
        border-radius: 20px;
    }

    .eld-med-product-main {
        margin-top: 20px;
    }

    .eld-med-table th,
    .eld-med-table td {
        display: block;
        width: 100%;
    }

    .eld-flatpage-content {
        overflow-wrap: anywhere;
    }

    .eld-flatpage-content .wp-block-media-text {
        grid-template-columns: 1fr;
    }

    .eld-content-hero {
        flex-direction: column;
    }

    .eld-content-edit {
        align-self: flex-start;
        white-space: normal;
    }

    .eld-policy-grid {
        grid-template-columns: 1fr;
    }

    .eld-policy-section {
        min-height: 0;
        padding: 18px;
    }

    .eld-about-hero {
        padding: 22px;
    }

    .eld-about-hero h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .eld-about-kpis,
    .eld-about-cards,
    .eld-about-steps {
        grid-template-columns: 1fr;
    }

    .eld-about-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .eld-about-cta .btn {
        width: 100%;
    }

    .eld-flatpage-content figure img,
    .eld-flatpage-content .wp-block-image img,
    .eld-flatpage-content .wp-block-gallery img,
    .eld-flatpage-content .wp-block-jetpack-slideshow img {
        width: 100%;
        max-height: none;
    }

    .eld-med-topbar__trust span:nth-child(n+2) {
        display: none;
    }

    .eld-cart-total-message {
        align-items: stretch;
        flex-direction: column;
    }

    .eld-cart-total-message__actions {
        justify-content: flex-start;
        margin-left: 0;
        white-space: normal;
    }
}

.eld-bank-transfer {
    max-width: 980px;
}

.eld-checkout-currency {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 980px;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(10, 78, 96, .16);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(13, 145, 160, .1), rgba(255, 255, 255, .92));
    box-shadow: 0 10px 26px rgba(13, 62, 75, .06);
}

.eld-checkout-currency__label {
    display: block;
    color: #516173;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.eld-checkout-currency strong {
    display: block;
    color: #102136;
    font-size: 1.35rem;
    line-height: 1.2;
}

.eld-checkout-currency__form {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
}

.eld-checkout-currency__form label {
    margin: 0;
    color: #102136;
    font-weight: 800;
    white-space: nowrap;
}

.eld-checkout-currency__form select {
    width: auto;
    min-width: 108px;
    height: 42px;
    font-weight: 800;
}

@media (max-width: 575.98px) {
    .eld-checkout-currency {
        align-items: stretch;
        flex-direction: column;
    }

    .eld-checkout-currency__form {
        justify-content: space-between;
    }

    .eld-checkout-currency__form select {
        flex: 0 0 128px;
    }
}

.eld-bank-transfer__intro {
    margin-bottom: 1rem;
}

.eld-bank-transfer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.eld-bank-transfer__card {
    position: relative;
    display: grid;
    gap: .45rem;
    height: 100%;
    padding: 1rem;
    padding-top: 2.75rem;
    border: 1px solid rgba(10, 78, 96, .18);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(13, 62, 75, .07);
    cursor: pointer;
}

.eld-bank-transfer__card > input[type="radio"] {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    margin: 0;
    align-self: start;
    justify-self: start;
    flex: 0 0 18px;
    accent-color: #078895;
}

.eld-bank-transfer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    min-height: 0;
}

.eld-bank-transfer__head strong {
    min-width: 0;
    padding-right: 1rem;
    overflow-wrap: anywhere;
}

.eld-bank-transfer__head span,
.eld-bank-transfer__fee {
    display: inline-flex;
    width: fit-content;
    padding: .2rem .5rem;
    border-radius: 999px;
    color: #0a6f7d;
    background: rgba(13, 145, 160, .1);
    font-weight: 700;
    font-size: .82rem;
}

.eld-bank-transfer__head > span {
    position: absolute;
    top: .85rem;
    right: 1rem;
    max-width: calc(100% - 4.25rem);
    text-align: right;
    justify-content: center;
    line-height: 1.2;
}

.eld-bank-transfer__line,
.eld-bank-transfer__note {
    color: #516173;
    overflow-wrap: anywhere;
}

.eld-bank-transfer__note {
    padding-top: .35rem;
    border-top: 1px solid rgba(10, 78, 96, .1);
}

.eld-bank-transfer__reference {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin: .8rem 0 1.1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(13, 145, 160, .26);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(13, 145, 160, .12), rgba(255, 255, 255, .96));
    box-shadow: 0 12px 28px rgba(13, 62, 75, .07);
    color: #123047;
}

.eld-bank-transfer__reference::before {
    content: "i";
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #078895;
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

.eld-bank-transfer__reference strong,
.eld-bank-transfer__reference span {
    display: block;
}

.eld-bank-transfer__reference-copy {
    min-width: 0;
}

.eld-bank-transfer__reference strong {
    margin-bottom: .15rem;
    color: #075663;
}

.eld-bank-transfer__reference span {
    color: #516173;
    overflow-wrap: anywhere;
}

.eld-bank-transfer__summary p {
    margin-bottom: .45rem;
    overflow-wrap: anywhere;
}

.eld-affiliate {
    display: grid;
    gap: 1.25rem;
    max-width: 1040px;
}

.eld-affiliate__intro,
.eld-affiliate__form,
.eld-affiliate__links,
.eld-affiliate__table {
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--eld-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--eld-shadow-soft);
}

.eld-affiliate__intro h2,
.eld-affiliate__links h2,
.eld-affiliate__table h2 {
    margin: 0 0 .75rem;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 850;
    letter-spacing: 0;
}

.eld-affiliate__intro p {
    max-width: 760px;
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.7;
}

.eld-affiliate__status,
.eld-affiliate__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: .9rem;
}

.eld-affiliate__status > div,
.eld-affiliate__stats > div {
    padding: 1rem;
    border: 1px solid rgba(15, 127, 143, .14);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f3fbfc);
}

.eld-affiliate__status span,
.eld-affiliate__stats span,
.eld-affiliate__links label {
    display: block;
    color: var(--eld-muted);
    font-size: .82rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.eld-affiliate__status strong,
.eld-affiliate__stats strong {
    display: block;
    margin-top: .35rem;
    color: var(--eld-text);
    font-size: 1.25rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.eld-affiliate__links {
    display: grid;
    gap: .7rem;
}

.eld-affiliate__links input {
    font-weight: 700;
    color: var(--eld-primary-dark);
}

.eld-affiliate__table table {
    margin: 0;
}

.eld-affiliate__form .btn {
    min-width: 170px;
}

.eld-contact {
    display: grid;
    gap: 22px;
}

.eld-contact__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr);
    gap: 18px;
    align-items: stretch;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f6fbfc 58%, #dff6f7 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-contact__hero h1 {
    max-width: 860px;
    margin: 12px 0 14px;
    color: var(--eld-text);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: 0;
}

.eld-contact__hero p {
    max-width: 790px;
    margin: 0;
    color: var(--eld-muted);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
}

.eld-contact__hero-card {
    display: grid;
    align-content: end;
    gap: 8px;
    min-height: 170px;
    padding: 20px;
    border: 1px solid rgba(15, 127, 143, 0.15);
    border-radius: var(--eld-radius-sm);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 34px rgba(18, 46, 66, 0.08);
}

.eld-contact__hero-card::before {
    content: "";
    width: 44px;
    height: 6px;
    border-radius: 999px;
    background: var(--eld-primary);
}

.eld-contact__hero-card span {
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eld-contact__hero-card strong {
    color: var(--eld-primary-dark);
    font-size: 22px;
    line-height: 1.18;
}

.eld-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 18px;
    align-items: start;
}

.eld-contact__info {
    display: grid;
    gap: 14px;
}

.eld-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.eld-contact__info-card,
.eld-contact__form {
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-sm);
    background: linear-gradient(180deg, rgba(247, 252, 253, 0.96), rgba(255, 255, 255, 1));
    box-shadow: 0 14px 34px rgba(18, 46, 66, 0.06);
}

.eld-contact__info-card {
    display: grid;
    gap: 9px;
    align-content: start;
    min-height: 172px;
    padding: 20px;
}

.eld-contact__info-card--lead {
    min-height: 0;
    padding: 20px 22px;
    background: linear-gradient(135deg, rgba(224, 247, 249, 0.92), rgba(255, 255, 255, 0.98));
}

.eld-contact__icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-size: 16px;
}

.eld-contact__info-card h2,
.eld-contact__form-head h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 20px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
}

.eld-contact__info-card p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-contact__info-card a {
    color: var(--eld-primary-dark);
    font-weight: 800;
}

.eld-contact__info-card .eld-contact__email-link {
    display: inline-block;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.eld-contact__map {
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: var(--eld-radius-sm);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(18, 46, 66, 0.06);
}

.eld-contact__map iframe {
    display: block;
    width: 100%;
    min-height: 260px;
    border: 0;
}

.eld-contact__form {
    padding: clamp(20px, 3vw, 30px);
}

.eld-contact__form-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.eld-contact__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.eld-contact__wide {
    grid-column: 1 / -1;
}

.eld-contact label {
    color: var(--eld-text);
    font-weight: 800;
    line-height: 1.25;
}

.eld-contact__label-icon {
    display: inline-block;
    margin-right: .4rem;
}

.eld-contact-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    margin-right: .35rem;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1em;
    line-height: 1;
    vertical-align: -0.12em;
}

.eld-contact-whatsapp-icon {
    --eld-contact-whatsapp-icon-size: 21px;
    display: inline-block;
    width: var(--eld-contact-whatsapp-icon-size);
    height: var(--eld-contact-whatsapp-icon-size);
    margin-right: .35rem;
    object-fit: contain;
    vertical-align: middle;
}

.eld-contact__page-content p:has(.eld-contact-whatsapp-icon),
.eld-contact__page-content p:has(.eld-contact-inline-icon) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 .35rem;
}

.eld-contact__page-content p:has(.eld-contact-whatsapp-icon) a,
.eld-contact__page-content p:has(.eld-contact-inline-icon) a {
    display: inline-flex;
    align-items: center;
    line-height: 1.25;
}

.eld-contact textarea {
    resize: vertical;
    min-height: 150px;
}

.eld-contact__consent {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    padding-left: 0;
}

.eld-contact__consent .form-check-input {
    position: static;
    margin: .25rem 0 0;
}

.eld-contact__submit-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.eld-contact__submit-row .btn {
    flex: 0 0 auto;
}

.eld-contact__captcha {
    margin-bottom: 0;
    width: min(220px, 100%);
}

.eld-contact__captcha label {
    margin-bottom: .35rem;
}

@media (max-width: 991.98px) {
    .eld-contact__hero,
    .eld-contact__layout {
        grid-template-columns: 1fr;
    }

    .eld-contact__hero-card {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .eld-contact__hero,
    .eld-contact__form,
    .eld-contact__info-card {
        padding: 18px;
    }

    .eld-contact__hero h1 {
        font-size: clamp(30px, 11vw, 40px);
    }

    .eld-contact__info-grid,
    .eld-contact__grid {
        grid-template-columns: 1fr;
    }

    .eld-contact__submit-row {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .eld-contact__captcha {
        width: 100%;
    }
}

.eld-dental-upload {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.eld-dental-upload__panel {
    border: 1px solid var(--eld-border, #dce8ef);
    border-radius: 8px;
    background: #fff;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.eld-dental-upload__intro {
    margin-bottom: 1rem;
}

.eld-dental-upload__intro h2 {
    margin: 0 0 .35rem;
    font-size: 1.35rem;
}

.eld-dental-upload__intro p {
    margin: 0;
    color: var(--eld-muted, #607086);
}

.eld-dental-upload__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.eld-dental-upload__field--wide {
    grid-column: 1 / -1;
}

.eld-dental-upload__form .btn {
    margin-top: 1rem;
}

.eld-dental-upload__list {
    display: grid;
    gap: .85rem;
}

.eld-dental-upload__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: flex-start;
    border: 1px solid var(--eld-border, #dce8ef);
    border-radius: 8px;
    padding: 1rem;
    background: #f8fbfd;
}

.eld-dental-upload__meta,
.eld-dental-upload__actions small {
    color: var(--eld-muted, #607086);
    font-size: .9rem;
}

.eld-dental-upload__actions {
    display: grid;
    justify-items: end;
    gap: .25rem;
    min-width: 180px;
}

.eld-dental-upload__delete-form {
    margin: .4rem 0 0;
}

.eld-dental-upload__delete-form .btn {
    min-height: 34px;
    padding: .35rem .75rem;
}

.eld-dental-upload__status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .65rem;
    background: #e8f4f6;
    color: #00606a;
    font-weight: 700;
    font-size: .82rem;
}

.eld-dental-upload__status--completed {
    background: #e8f7ee;
    color: #16753b;
}

.eld-dental-upload__status--rejected {
    background: #fdebec;
    color: #b02030;
}

.eld-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.eld-account-action {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--eld-border, #dce8ef);
    border-radius: 8px;
    background: #f8fbfd;
    color: var(--eld-text, #162334);
}

.eld-account-action:hover,
.eld-account-action:focus {
    border-color: var(--eld-primary, #0f7f8f);
    color: var(--eld-primary-dark, #075a69);
    box-shadow: var(--eld-shadow-soft, 0 8px 24px rgba(18, 46, 66, 0.08));
}

.eld-account-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 999px;
    background: var(--eld-primary-soft, #e5f5f7);
    color: var(--eld-primary-dark, #075a69);
}

.eld-account-action strong,
.eld-account-action small {
    display: block;
}

.eld-account-action small {
    margin-top: 3px;
    color: var(--eld-muted, #607086);
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 767.98px) {
    .eld-account-actions,
    .eld-dental-upload__grid,
    .eld-dental-upload__item {
        grid-template-columns: 1fr;
    }

    .eld-dental-upload__actions {
        justify-items: start;
    }
}

/* Responsive hardening */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

table {
    max-width: 100%;
}

.eld-med-page,
.eld-med-page__inner,
.eld-med-content,
#content_inner {
    min-width: 0;
}

.page_inner,
.content,
.eld-flatpage-content,
.eld-med-product-card,
.eld-med-product-detail-card,
.eld-med-section-card,
.eld-contact__intro,
.eld-contact__form,
.eld-bank-transfer__card,
.eld-checkout-currency {
    overflow-wrap: anywhere;
}

.eld-med-search {
    min-width: 0;
}

.eld-med-search .form-control {
    min-width: 0;
}

.eld-med-basket-dropdown {
    max-width: min(420px, calc(100vw - 24px));
}

.eld-mini-cart-line {
    min-width: 0;
}

.eld-mini-cart-line__title,
.eld-mini-cart-line__meta,
.eld-mini-cart-total {
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .container {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .eld-med-header__inner {
        gap: 16px;
    }

    .eld-med-header__search {
        flex-basis: clamp(260px, 34vw, 360px);
    }

    .eld-med-toolbar {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .eld-med-results-count {
        flex: 1 1 220px;
    }

    .eld-med-toolbar__actions {
        flex: 999 1 520px;
    }
}

@media (max-width: 1399.98px) and (min-width: 992px) {
    .eld-med-mainnav {
        padding: 8px;
    }

    .eld-med-menu {
        gap: 3px;
    }

    .eld-med-menu .nav-link {
        padding: 9px 12px !important;
        font-size: 14px;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .eld-med-mainnav {
        padding: 7px;
    }

    .eld-med-menu {
        gap: 2px;
    }

    .eld-med-menu .nav-link {
        padding: 8px 9px !important;
        font-size: 13px;
    }
}

@media (max-width: 1069.98px) and (min-width: 992px) {
    .eld-med-menu .nav-link {
        padding: 7px 7px !important;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .eld-med-topbar__inner {
        gap: 10px;
    }

    .eld-med-topbar__trust,
    .eld-med-topbar__actions {
        width: 100%;
        justify-content: center;
    }

    .eld-med-topbar__actions {
        gap: 8px;
    }

    .eld-med-language,
    .eld-med-currency {
        align-items: center;
        justify-content: center;
    }

    .eld-med-language select,
    .eld-med-currency select {
        display: block;
        height: 32px;
        line-height: 32px;
    }

    .eld-med-account-links {
        justify-content: center;
        gap: 10px;
    }

    .eld-med-language select {
        width: 118px;
        min-width: 118px;
    }

    .eld-med-currency select {
        width: 118px;
        min-width: 96px;
    }

    .eld-med-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .eld-med-brand {
        min-width: 0;
    }

    .eld-med-header__search {
        grid-column: 1 / -1;
        order: 3;
        width: min(100%, 720px);
        margin-right: auto;
        margin-left: auto;
        justify-self: center;
    }

    .eld-med-mini-basket {
        justify-content: flex-end;
        min-width: 0;
    }

    .eld-med-mainnav {
        border-radius: 18px;
    }

    .eld-med-mainnav .navbar-collapse {
        width: 100%;
        padding-top: 10px;
    }

    .eld-med-menu {
        gap: 4px;
    }

    .eld-med-menu .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        border-radius: 10px;
        padding: 10px 12px !important;
    }

    .eld-med-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .eld-med-toolbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    .eld-med-sort {
        margin-left: 0;
        flex: 1 1 260px;
    }

    .eld-med-sort .form-group {
        justify-content: flex-start;
    }

    .eld-med-page-size {
        justify-content: flex-end;
        flex: 0 0 auto;
    }

    .eld-bank-transfer__grid {
        grid-template-columns: 1fr;
    }

    .shipping-payment {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .shipping-payment > [class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .eld-med-topbar {
        font-size: 12px;
    }

    .eld-med-topbar__trust {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    .eld-med-topbar__actions {
        justify-content: flex-start;
    }

    .eld-med-account-links {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .eld-med-language select,
    .eld-med-currency select {
        height: 34px;
        font-size: 12px;
    }

    .eld-med-header__inner {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 12px;
        padding-bottom: 10px;
    }

    .eld-med-brand__link {
        justify-content: center;
    }

    .eld-med-mini-basket {
        justify-content: center;
        width: 100%;
    }

    .eld-med-mini-basket__summary {
        text-align: center;
    }

    .eld-med-header__search {
        width: 100%;
    }

    .eld-med-nav-wrap {
        padding-bottom: 10px;
    }

    .eld-med-mainnav {
        padding: 8px;
        border-radius: 16px;
    }

    .eld-topbar-menu__panel {
        max-height: 70vh;
        overflow-y: auto;
    }

    .eld-med-breadcrumb {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }

    .eld-med-hero {
        padding: 20px;
    }

    .eld-med-hero__media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .eld-med-hero__image {
        padding: 8px;
        border-radius: 14px;
    }

    .eld-med-hero h1,
    .eld-med-page-header h1,
    .eld-med-product-main h1,
    .product_main h1 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.08;
    }

    .eld-med-toolbar {
        padding: 12px;
    }

    .eld-med-toolbar__actions,
    .eld-med-sort .form-group,
    .eld-med-page-size {
        align-items: stretch;
        width: 100%;
    }

    .eld-med-sort,
    .eld-med-sort .form-group > div,
    .eld-med-sort select,
    .eld-med-page-size select {
        width: 100%;
        max-width: 100%;
    }

    .eld-med-page-size {
        display: grid;
        grid-template-columns: auto minmax(74px, 1fr) auto;
        gap: 8px;
        justify-content: stretch;
    }

    .eld-med-product-grid {
        margin-left: -7px !important;
        margin-right: -7px !important;
    }

    .eld-med-product-grid > li {
        padding-left: 7px;
        padding-right: 7px;
        margin-bottom: 14px;
    }

    .eld-med-product-card {
        min-height: 0;
    }

    .eld-med-product-card__body {
        min-height: 0;
        padding: 14px;
    }

    .eld-med-product-card h3 {
        min-height: 0;
    }

    .eld-med-product-gallery-col,
    .product_main {
        max-width: 100%;
    }

    #product_gallery .carousel-inner img {
        max-height: 360px;
    }

    .eld-product-thumbs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }

    .eld-product-thumbs > * {
        flex: 0 0 auto;
    }

    .eld-med-section-card {
        padding: 18px;
    }

    .eld-flatpage-content table,
    .eld-med-section-card table,
    .eld-med-product-detail-card table,
    .basket-items,
    .table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .eld-flatpage-content thead,
    .eld-med-section-card thead,
    .eld-med-product-detail-card thead,
    .basket-items thead,
    .table thead,
    .eld-flatpage-content tbody,
    .eld-med-section-card tbody,
    .eld-med-product-detail-card tbody,
    .basket-items tbody,
    .table tbody {
        width: 100%;
    }

    .eld-checkout-currency,
    .eld-contact__submit-row,
    .eld-mini-cart-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .eld-mini-cart-buttons .btn,
    .eld-checkout-currency__form,
    .eld-contact__submit-row .btn {
        width: 100%;
    }

    .eld-bank-transfer__card {
        padding: 1rem;
        padding-top: 2.75rem;
    }

    .eld-med-footer__grid {
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .eld-med-page {
        padding-top: 14px;
    }

    .eld-med-page__inner {
        padding-left: 0;
        padding-right: 0;
    }

    .eld-med-brand__logo {
        max-height: 40px;
    }

    .eld-med-search {
        flex-direction: column;
        gap: 8px;
    }

    .eld-med-search .form-control,
    .eld-med-search .btn {
        width: 100%;
        border-radius: 12px;
    }

    .eld-med-mini-basket {
        flex-wrap: wrap;
    }

    .eld-med-basket-dropdown {
        left: 50% !important;
        right: auto !important;
        width: calc(100vw - 20px);
        transform: translateX(-50%);
    }

    .eld-mini-cart-line {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;
    }

    .eld-med-hero,
    .eld-med-product-detail-card,
    .eld-med-section-card,
    .eld-contact__intro,
    .eld-contact__form {
        padding: 16px;
        border-radius: 14px;
    }

    .eld-med-toolbar {
        border-radius: 14px;
    }

    .eld-med-results-count {
        font-size: 13px;
        line-height: 1.35;
    }

    .eld-med-sort .form-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .eld-med-page-size {
        grid-template-columns: 1fr;
    }

    .eld-med-page-size label,
    .eld-med-page-size span {
        min-height: 0;
    }

    .eld-med-product-grid > li {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .eld-med-product-card__image {
        height: 190px;
        min-height: 190px;
    }

    .eld-med-price,
    .price_color {
        font-size: 18px;
    }

    .eld-med-product-main h1,
    .product_main h1 {
        font-size: clamp(26px, 9vw, 34px);
    }

    .eld-contact__intro h2 {
        font-size: 24px;
    }

    .eld-contact__page-content iframe,
    .eld-flatpage-content iframe {
        min-height: 260px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }

    .pagination .page-link {
        min-width: 38px;
        text-align: center;
        border-radius: 999px;
    }

    .eld-med-breadcrumb {
        width: 100%;
        border-radius: 16px;
    }

    .eld-med-breadcrumb .breadcrumb-item.active {
        max-width: 100%;
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .eld-med-topbar__trust {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .eld-med-topbar__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
        gap: 8px 10px;
    }

    .eld-med-language,
    .eld-med-currency {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .eld-med-language select,
    .eld-med-currency select {
        width: 100%;
        min-width: 0;
        max-width: none;
        text-align: center;
        text-align-last: center;
    }

    .eld-med-account-links {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
        padding-bottom: 0;
        text-align: center;
    }

    .eld-med-account-links a {
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .eld-med-topbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .eld-med-account-links {
        grid-column: 1 / -1;
    }

    .eld-med-language,
    .eld-med-currency,
    .eld-med-language select,
    .eld-med-currency select {
        width: 100%;
        min-width: 0;
    }
}

.eld-med-stock .eld-med-price--pending,
.eld-med-stock .price_color.eld-med-price--pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(161, 92, 7, 0.18);
    border-radius: 999px;
    background: #fff7e6;
    color: var(--eld-warning);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.eld-home-page {
    padding-top: 28px;
}

.eld-home-hero,
.eld-home-section {
    background: var(--eld-surface);
    border: 1px solid var(--eld-border);
    border-radius: var(--eld-radius-lg);
    box-shadow: var(--eld-shadow-soft);
}

.eld-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
    min-height: 470px;
    padding: 42px;
    overflow: hidden;
}

.eld-home-hero__copy h1 {
    margin: 16px 0 14px;
    color: var(--eld-text);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 950;
    line-height: 0.94;
    letter-spacing: 0;
}

.eld-home-hero__copy p {
    max-width: 650px;
    margin: 0;
    color: var(--eld-muted);
    font-size: 18px;
    line-height: 1.65;
}

.eld-home-hero__actions,
.eld-home-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.eld-home-trust span,
.eld-home-trust a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.eld-home-trust a:hover,
.eld-home-trust a:focus {
    border-color: rgba(15, 127, 143, 0.34);
    background: #fff;
    color: var(--eld-primary);
}

.eld-home-hero__visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-self: stretch;
    min-height: 360px;
}

.eld-home-hero-product {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, #f5fbfc 0%, #eef8f9 100%);
}

.eld-home-hero-product:nth-child(2),
.eld-home-hero-product:nth-child(3) {
    transform: none;
}

.eld-home-hero-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
}

.eld-home-section {
    margin-top: 22px;
    padding: 28px;
}

.eld-chair-configurator {
    --eld-r1-coordinate-ratio: 720 / 430;
    /* R1 phone image controls. X: negative = left, positive = right. Y: negative = up, positive = down. */
    --eld-r1-phone-x: -67px;
    --eld-r1-phone-y: 0px;
    --eld-r1-phone-width: clamp(368px, 104vw, 519px);
    --eld-r1-small-phone-x-offset: 4px;
    --eld-r1-small-phone-y-offset: 0px;
    --eld-r1-small-phone-x: calc(var(--eld-r1-phone-x) + var(--eld-r1-small-phone-x-offset));
    --eld-r1-small-phone-y: calc(var(--eld-r1-phone-y) + var(--eld-r1-small-phone-y-offset));
    --eld-r1-small-phone-width: clamp(343px, 107vw, 469px);
    position: relative;
    margin-top: 22px;
    padding: 28px;
    overflow: visible;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: var(--eld-radius-lg);
    background: linear-gradient(180deg, rgba(246, 251, 252, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-chair-configurator__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.eld-chair-configurator__header .eld-med-eyebrow,
.eld-chair-configurator__header .btn {
    white-space: nowrap;
}

.eld-chair-configurator__header h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
}

.eld-chair-configurator__header--home {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.eld-chair-configurator__header--home > div:first-child {
    justify-self: start;
}

.eld-chair-configurator__header--home h2 {
    justify-self: center;
    text-align: center;
}

.eld-chair-configurator__header--home > .btn {
    justify-self: end;
}

.eld-chair-heading-link {
    color: inherit;
    text-decoration: none;
}

.eld-chair-heading-link:hover,
.eld-chair-heading-link:focus {
    color: var(--eld-primary);
    text-decoration: none;
}

.eld-chair-page-header {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.eld-chair-page-header h1 {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(22px, 3.2vw, 40px);
    line-height: 1.08;
    letter-spacing: 0;
    white-space: nowrap;
}

.eld-chair-page-header p {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    color: var(--eld-muted);
    font-size: 16px;
    line-height: 1.7;
}

.eld-chair-page .eld-chair-configurator {
    margin-top: 0;
    overflow: visible;
}

.eld-chair-configurator__body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(430px, 1.5fr) minmax(260px, 0.82fr);
    gap: 18px;
    align-items: start;
}

.eld-chair-configurator__panel,
.eld-chair-configurator__stage {
    border: 1px solid rgba(15, 127, 143, 0.15);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 45px rgba(18, 46, 66, 0.08);
    backdrop-filter: blur(8px);
}

.eld-chair-configurator__panel {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 14px;
    overflow: visible;
}

.eld-chair-configurator__stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto auto;
    align-self: start;
    min-width: 0;
    overflow: hidden;
}

@media (min-width: 992px) {
    .eld-chair-configurator__stage {
        will-change: transform;
    }
}

.eld-chair-configurator__panel:has([data-chair-tooltip]:hover),
.eld-chair-configurator__panel:has([data-chair-tooltip]:focus-visible) {
    z-index: 140;
}

.eld-chair-configurator__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.eld-chair-configurator__panel-head span {
    color: var(--eld-text);
    font-size: 18px;
    font-weight: 950;
    overflow-wrap: normal;
    word-break: normal;
}

.eld-chair-configurator__panel-head small {
    color: var(--eld-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.eld-chair-control-group {
    position: relative;
    display: grid;
    gap: 8px;
}

.eld-chair-control-group:has([data-chair-tooltip]:hover),
.eld-chair-control-group:has([data-chair-tooltip]:focus-visible) {
    z-index: 120;
}

.eld-chair-control-label {
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.eld-chair-reset-wrap {
    display: grid;
    margin-top: 4px;
}

.eld-chair-reset-button {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    width: 100%;
    border: 1px solid rgba(15, 127, 143, 0.22);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(237, 248, 250, 0.96) 100%);
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 950;
    text-align: center;
    box-shadow: 0 10px 24px rgba(10, 35, 54, 0.08);
    cursor: pointer;
}

.eld-chair-reset-button:hover,
.eld-chair-reset-button:focus-visible {
    border-color: rgba(15, 127, 143, 0.5);
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
}

.eld-chair-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 10px;
    background: rgba(237, 248, 250, 0.95);
}

.eld-chair-segmented button {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 38px;
    min-width: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 950;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    cursor: pointer;
}

.eld-chair-option-price {
    display: block;
    min-width: 0;
    color: var(--eld-primary-dark);
    font-size: 10px;
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

.eld-chair-segmented .eld-chair-option-price,
.eld-chair-addon .eld-chair-option-price {
    grid-column: 1 / -1;
    justify-self: center;
}

.eld-chair-addon .eld-chair-option-price {
    margin-top: -4px;
}

.eld-chair-segmented button:hover,
.eld-chair-segmented button:focus,
.eld-chair-segmented button.is-active {
    background: #fff;
    color: var(--eld-text);
    outline: 0;
    box-shadow: 0 8px 20px rgba(18, 46, 66, 0.09);
}

.eld-chair-logo-upload,
.eld-chair-logo-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(15, 127, 143, 0.22);
    border-radius: 10px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 13px;
    font-weight: 950;
    text-align: center;
    cursor: pointer;
}

.eld-chair-logo-mode {
    margin-bottom: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eld-chair-logo-tools {
    display: grid;
    gap: 8px;
}

.eld-chair-logo-tools[hidden] {
    display: none;
}

.eld-chair-logo-upload {
    margin-bottom: 0;
}

.eld-chair-logo-upload:hover,
.eld-chair-logo-upload:focus-within,
.eld-chair-logo-reset:hover,
.eld-chair-logo-reset:focus-visible {
    border-color: rgba(15, 127, 143, 0.48);
    background: var(--eld-primary-soft);
    outline: 0;
}

.eld-chair-logo-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.eld-chair-logo-help {
    display: block;
    color: var(--eld-muted);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.35;
    text-align: center;
}

.eld-chair-logo-help.is-error {
    color: #b42318;
}

.eld-chair-logo-help.is-success {
    color: var(--eld-primary-dark);
}

.eld-chair-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.eld-chair-option-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eld-chair-extra-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.eld-chair-tv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.eld-chair-stool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.eld-chair-addon-list {
    display: grid;
    gap: 8px;
}

.eld-chair-assistant-picker {
    position: relative;
    min-width: 0;
}

.eld-chair-assistant-picker .eld-chair-addon {
    width: 100%;
}

.eld-chair-addon {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(246, 251, 252, 0.92);
    color: var(--eld-text);
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.eld-chair-addon span,
.eld-chair-addon strong {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.15;
}

.eld-chair-addon span {
    font-size: 12px;
}

.eld-chair-addon strong {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 127, 143, 0.1);
    color: var(--eld-primary-dark);
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
}

.eld-chair-addon--assistant .eld-chair-assistant-change {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 0;
    color: var(--eld-primary-dark);
    font-size: 10px;
    font-weight: 950;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.eld-chair-addon:hover,
.eld-chair-addon:focus,
.eld-chair-addon.is-active {
    border-color: var(--eld-primary);
    background: #fff;
    outline: 0;
}

.eld-chair-addon.is-active strong {
    background: var(--eld-primary);
    color: #fff;
}

.eld-chair-addon:disabled,
.eld-chair-addon.is-disabled {
    cursor: not-allowed;
}

.eld-chair-addon.is-disabled {
    border-color: rgba(15, 127, 143, 0.1);
    background: rgba(244, 250, 251, 0.72);
}

.eld-chair-addon.is-disabled > span,
.eld-chair-addon.is-disabled > strong,
.eld-chair-addon.is-disabled .eld-chair-option-price {
    opacity: 0.55;
}

.eld-chair-addon.is-disabled[data-chair-tooltip]::before,
.eld-chair-addon.is-disabled[data-chair-tooltip]::after {
    opacity: 0;
}

.eld-chair-addon.is-popover-open::before,
.eld-chair-addon.is-popover-open::after {
    display: none;
}

.eld-chair-assistant-popover {
    --assistant-popover-width: min(330px, calc(100vw - 32px));
    --assistant-popover-max-height: min(560px, calc(100vh - 32px));
    --assistant-popover-columns: repeat(3, minmax(0, 1fr));
    --assistant-popover-option-image-height: 48px;
    --assistant-popover-option-min-height: 78px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 220;
    width: var(--assistant-popover-width);
    max-height: var(--assistant-popover-max-height);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border: 1px solid rgba(15, 127, 143, 0.22);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(10, 35, 54, 0.2);
    -webkit-overflow-scrolling: touch;
}

.eld-chair-assistant-popover::before {
    position: absolute;
    top: -7px;
    right: 28px;
    width: 14px;
    height: 14px;
    border-left: 1px solid rgba(15, 127, 143, 0.22);
    border-top: 1px solid rgba(15, 127, 143, 0.22);
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

.eld-chair-assistant-popover__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--eld-text);
    font-weight: 950;
}

.eld-chair-assistant-popover__head button {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(15, 127, 143, 0.2);
    border-radius: 999px;
    background: rgba(224, 247, 249, 0.76);
    color: var(--eld-primary-dark);
    cursor: pointer;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
}

.eld-chair-assistant-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--assistant-popover-columns);
    gap: 8px;
}

.eld-chair-assistant-option {
    position: relative;
    display: grid;
    grid-template-rows: var(--assistant-popover-option-image-height) auto;
    align-items: center;
    justify-items: center;
    min-width: 0;
    min-height: var(--assistant-popover-option-min-height);
    padding: 7px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(246, 251, 252, 0.92);
    color: var(--eld-text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
    text-align: center;
}

.eld-chair-assistant-option[data-chair-assistant-stool="none"] {
    grid-template-rows: 1fr;
}

.eld-chair-assistant-option img {
    width: 100%;
    height: var(--assistant-popover-option-image-height);
    object-fit: contain;
}

.eld-chair-assistant-option span {
    min-width: 0;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.eld-chair-assistant-option:hover,
.eld-chair-assistant-option:focus,
.eld-chair-assistant-option.is-active {
    border-color: var(--eld-primary);
    background: #fff;
    outline: 0;
}

.eld-chair-option,
.eld-chair-color-grid button,
.eld-chair-model-tabs button,
.eld-chair-tv,
.eld-chair-stool-option {
    cursor: pointer;
}

.eld-chair-option {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 74px auto auto;
    gap: 5px;
    min-width: 0;
    min-height: 124px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(246, 251, 252, 0.92);
    color: var(--eld-text);
    font-weight: 900;
    text-align: center;
}

.eld-chair-option img {
    width: 100%;
    height: 74px;
    object-fit: contain;
}

.eld-chair-extra-grid .eld-chair-option {
    grid-template-columns: 78px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    min-height: 86px;
    text-align: left;
}

.eld-chair-extra-grid .eld-chair-option img {
    height: 64px;
}

.eld-chair-option span {
    display: block;
    min-width: 0;
    font-size: 12px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.eld-chair-option .eld-chair-option-price {
    max-width: 100%;
    font-size: 9px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    white-space: normal;
}

.eld-chair-option:hover,
.eld-chair-option:focus,
.eld-chair-option.is-active {
    border-color: var(--eld-primary);
    background: #fff;
    outline: 0;
}

.eld-chair-option[data-chair-tooltip]:hover,
.eld-chair-option[data-chair-tooltip]:focus-visible,
.eld-chair-segmented button[data-chair-tooltip]:hover,
.eld-chair-segmented button[data-chair-tooltip]:focus-visible,
.eld-chair-model-tabs button[data-chair-tooltip]:hover,
.eld-chair-model-tabs button[data-chair-tooltip]:focus-visible,
.eld-chair-tv[data-chair-tooltip]:hover,
.eld-chair-tv[data-chair-tooltip]:focus-visible,
.eld-chair-color-grid button[data-chair-tooltip]:hover,
.eld-chair-color-grid button[data-chair-tooltip]:focus-visible,
.eld-chair-stool-option[data-chair-tooltip]:hover,
.eld-chair-stool-option[data-chair-tooltip]:focus-visible,
.eld-chair-assistant-option[data-chair-tooltip]:hover,
.eld-chair-assistant-option[data-chair-tooltip]:focus-visible,
.eld-chair-addon[data-chair-tooltip]:hover,
.eld-chair-addon[data-chair-tooltip]:focus-visible {
    z-index: 130;
}

.eld-chair-tv {
    position: relative;
    display: grid;
    grid-template-rows: 58px auto;
    gap: 6px;
    min-width: 0;
    min-height: 92px;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(246, 251, 252, 0.92);
    color: var(--eld-text);
    font-size: 12px;
    font-weight: 950;
    text-align: center;
}

.eld-chair-tv[data-chair-tv="none"] {
    grid-template-rows: 1fr;
    place-items: center;
}

.eld-chair-tv img {
    width: 100%;
    height: 58px;
    object-fit: contain;
}

.eld-chair-tv span {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}

.eld-chair-tv[data-chair-tv="none"] span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.eld-chair-tv:hover,
.eld-chair-tv:focus,
.eld-chair-tv.is-active {
    border-color: var(--eld-primary);
    background: #fff;
    outline: 0;
}

.eld-chair-stool-option {
    position: relative;
    display: grid;
    grid-template-rows: 72px auto;
    gap: 6px;
    min-width: 0;
    min-height: 100px;
    padding: 7px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: rgba(246, 251, 252, 0.92);
    color: var(--eld-text);
    font-size: 12px;
    font-weight: 950;
    text-align: center;
}

.eld-chair-option[data-chair-tooltip]::after,
.eld-chair-segmented button[data-chair-tooltip]::after,
.eld-chair-model-tabs button[data-chair-tooltip]::after,
.eld-chair-tv[data-chair-tooltip]::after,
.eld-chair-color-grid button[data-chair-tooltip]::after,
.eld-chair-stool-option[data-chair-tooltip]::after,
.eld-chair-assistant-option[data-chair-tooltip]::after,
.eld-chair-addon[data-chair-tooltip]::after {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 999;
    width: min(360px, 88vw);
    max-height: min(360px, 70vh);
    overflow-y: auto;
    padding: 14px 16px;
    border: 1px solid rgba(15, 127, 143, 0.2);
    border-radius: 12px;
    background: #fff;
    color: var(--eld-text);
    box-shadow: 0 18px 42px rgba(18, 46, 66, 0.18);
    content: attr(data-chair-tooltip);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    transform: translate(-50%, 8px);
    transition: opacity 0.12s ease, transform 0.12s ease;
    white-space: pre-line;
}

.eld-chair-option[data-chair-tooltip]::before,
.eld-chair-segmented button[data-chair-tooltip]::before,
.eld-chair-model-tabs button[data-chair-tooltip]::before,
.eld-chair-tv[data-chair-tooltip]::before,
.eld-chair-color-grid button[data-chair-tooltip]::before,
.eld-chair-stool-option[data-chair-tooltip]::before,
.eld-chair-assistant-option[data-chair-tooltip]::before,
.eld-chair-addon[data-chair-tooltip]::before {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 1000;
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(15, 127, 143, 0.2);
    border-bottom: 1px solid rgba(15, 127, 143, 0.2);
    background: #fff;
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px) rotate(45deg);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

.eld-chair-option[data-chair-tooltip]:hover::after,
.eld-chair-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-segmented button[data-chair-tooltip]:hover::after,
.eld-chair-segmented button[data-chair-tooltip]:focus-visible::after,
.eld-chair-model-tabs button[data-chair-tooltip]:hover::after,
.eld-chair-model-tabs button[data-chair-tooltip]:focus-visible::after,
.eld-chair-tv[data-chair-tooltip]:hover::after,
.eld-chair-tv[data-chair-tooltip]:focus-visible::after,
.eld-chair-color-grid button[data-chair-tooltip]:hover::after,
.eld-chair-color-grid button[data-chair-tooltip]:focus-visible::after,
.eld-chair-stool-option[data-chair-tooltip]:hover::after,
.eld-chair-stool-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-assistant-option[data-chair-tooltip]:hover::after,
.eld-chair-assistant-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-addon[data-chair-tooltip]:hover::after,
.eld-chair-addon[data-chair-tooltip]:focus-visible::after,
.eld-chair-option[data-chair-tooltip]:hover::before,
.eld-chair-option[data-chair-tooltip]:focus-visible::before,
.eld-chair-segmented button[data-chair-tooltip]:hover::before,
.eld-chair-segmented button[data-chair-tooltip]:focus-visible::before,
.eld-chair-model-tabs button[data-chair-tooltip]:hover::before,
.eld-chair-model-tabs button[data-chair-tooltip]:focus-visible::before,
.eld-chair-tv[data-chair-tooltip]:hover::before,
.eld-chair-tv[data-chair-tooltip]:focus-visible::before,
.eld-chair-color-grid button[data-chair-tooltip]:hover::before,
.eld-chair-color-grid button[data-chair-tooltip]:focus-visible::before,
.eld-chair-stool-option[data-chair-tooltip]:hover::before,
.eld-chair-stool-option[data-chair-tooltip]:focus-visible::before,
.eld-chair-assistant-option[data-chair-tooltip]:hover::before,
.eld-chair-assistant-option[data-chair-tooltip]:focus-visible::before,
.eld-chair-addon[data-chair-tooltip]:hover::before,
.eld-chair-addon[data-chair-tooltip]:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0) rotate(45deg);
}

.eld-chair-option[data-chair-tooltip]:hover::after,
.eld-chair-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-segmented button[data-chair-tooltip]:hover::after,
.eld-chair-segmented button[data-chair-tooltip]:focus-visible::after,
.eld-chair-model-tabs button[data-chair-tooltip]:hover::after,
.eld-chair-model-tabs button[data-chair-tooltip]:focus-visible::after,
.eld-chair-tv[data-chair-tooltip]:hover::after,
.eld-chair-tv[data-chair-tooltip]:focus-visible::after,
.eld-chair-color-grid button[data-chair-tooltip]:hover::after,
.eld-chair-color-grid button[data-chair-tooltip]:focus-visible::after,
.eld-chair-stool-option[data-chair-tooltip]:hover::after,
.eld-chair-stool-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-assistant-option[data-chair-tooltip]:hover::after,
.eld-chair-assistant-option[data-chair-tooltip]:focus-visible::after,
.eld-chair-addon[data-chair-tooltip]:hover::after,
.eld-chair-addon[data-chair-tooltip]:focus-visible::after {
    transform: translate(-50%, 0);
}

.eld-chair-stool-option img {
    width: 100%;
    height: 72px;
    object-fit: contain;
}

.eld-chair-stool-option[data-chair-stool="none"] {
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
}

.eld-chair-stool-option span {
    min-width: 0;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.eld-chair-stool-option:hover,
.eld-chair-stool-option:focus,
.eld-chair-stool-option.is-active {
    border-color: var(--eld-primary);
    background: #fff;
    outline: 0;
}

.eld-chair-model-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid rgba(15, 127, 143, 0.12);
}

.eld-chair-model-tabs button {
    position: relative;
    min-height: 42px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 18px;
    font-weight: 950;
}

.eld-chair-model-tabs button.is-active {
    border-color: transparent;
    background: linear-gradient(90deg, #31c5d2 0%, #1072f4 100%);
    color: #fff;
}

.eld-chair-preview {
    --eld-r1-base-x: -28px;
    --eld-r1-base-y: 0px;
    --eld-r1-base-left: 50%;
    --eld-r1-base-top: 50%;
    --eld-r1-base-width: 121%;
    --eld-r1-base-height: clamp(330px, 35vw, 430px);
    --eld-r1-base-scale: 1;
    --eld-r1-base-rotate: 0deg;
    --eld-chair-main-image-left: var(--eld-r1-base-left);
    --eld-chair-main-image-top: var(--eld-r1-base-top);
    --eld-chair-main-image-width: var(--eld-r1-base-width);
    --eld-chair-main-image-height: var(--eld-r1-base-height);
    --eld-chair-main-image-x: var(--eld-r1-base-x);
    --eld-chair-main-image-y: var(--eld-r1-base-y);
    --eld-chair-main-image-scale: var(--eld-r1-base-scale);
    --eld-chair-main-image-rotate: var(--eld-r1-base-rotate);

    /* R1 grand apercu overlay controls. Move each layer with left/top percentages. */
    --eld-r1-m1-left: 50%;
    --eld-r1-m1-top: 50%;
    --eld-r1-m1-width: 121%;
    --eld-r1-m1-scale: 1;
    --eld-r1-m1-rotate: 0deg;
    --eld-r1-m2-left: 50%;
    --eld-r1-m2-top: 50%;
    --eld-r1-m2-width: 121%;
    --eld-r1-m2-scale: 1;
    --eld-r1-m2-rotate: 0deg;
    --eld-r1-m3-left: 50%;
    --eld-r1-m3-top: 50%;
    --eld-r1-m3-width: 121%;
    --eld-r1-m3-scale: 1;
    --eld-r1-m3-rotate: 0deg;
    --eld-r1-m3-plat-left: 50%;
    --eld-r1-m3-plat-top: 50%;
    --eld-r1-m3-plat-width: 121%;
    --eld-r1-m3-plat-scale: 1;
    --eld-r1-m3-plat-rotate: 0deg;

    --eld-r1-l1-left: 50%;
    --eld-r1-l1-top: 50%;
    --eld-r1-l1-width: 121%;
    --eld-r1-l1-scale: 1;
    --eld-r1-l1-rotate: 0deg;
    --eld-r1-l2-left: 50%;
    --eld-r1-l2-top: 50%;
    --eld-r1-l2-width: 121%;
    --eld-r1-l2-scale: 1;
    --eld-r1-l2-rotate: 0deg;
    --eld-r1-l3-left: 50%;
    --eld-r1-l3-top: 50%;
    --eld-r1-l3-width: 121%;
    --eld-r1-l3-scale: 1;
    --eld-r1-l3-rotate: 0deg;
    --eld-r1-l4-left: 50%;
    --eld-r1-l4-top: 50%;
    --eld-r1-l4-width: 121%;
    --eld-r1-l4-scale: 1;
    --eld-r1-l4-rotate: 0deg;

    --eld-r1-tv1-left: 50%;
    --eld-r1-tv1-top: 50%;
    --eld-r1-tv1-width: 121%;
    --eld-r1-tv1-scale: 1;
    --eld-r1-tv1-rotate: 0deg;
    --eld-r1-tv2-left: 50%;
    --eld-r1-tv2-top: 50%;
    --eld-r1-tv2-width: 121%;
    --eld-r1-tv2-scale: 1;
    --eld-r1-tv2-rotate: 0deg;
    --eld-r1-uv-left: 50%;
    --eld-r1-uv-top: 50%;
    --eld-r1-uv-width: 121%;
    --eld-r1-uv-scale: 1;
    --eld-r1-uv-rotate: 0deg;

    --eld-r1-module-left: var(--eld-r1-m1-left);
    --eld-r1-module-top: var(--eld-r1-m1-top);
    --eld-r1-module-width: var(--eld-r1-m1-width);
    --eld-r1-module-scale: var(--eld-r1-m1-scale);
    --eld-r1-module-rotate: var(--eld-r1-m1-rotate);
    --eld-r1-lamp-left: var(--eld-r1-l1-left);
    --eld-r1-lamp-top: var(--eld-r1-l1-top);
    --eld-r1-lamp-width: var(--eld-r1-l1-width);
    --eld-r1-lamp-scale: var(--eld-r1-l1-scale);
    --eld-r1-lamp-rotate: var(--eld-r1-l1-rotate);
    --eld-r1-tv-left: var(--eld-r1-tv1-left);
    --eld-r1-tv-top: var(--eld-r1-tv1-top);
    --eld-r1-tv-width: var(--eld-r1-tv1-width);
    --eld-r1-tv-scale: var(--eld-r1-tv1-scale);
    --eld-r1-tv-rotate: var(--eld-r1-tv1-rotate);
    --eld-chair-stool-left: clamp(58px, 9%, 92px);
    --eld-chair-stool-top: 0px;
    --eld-chair-stool-right: 0px;
    --eld-chair-stool-bottom: clamp(36px, 22%, 210px);
    --eld-chair-stool-width: clamp(96px, 20%, 154px);
    --eld-chair-stool-max-height: 44%;
    --eld-chair-stool-x: 0px;
    --eld-chair-stool-y: 0px;
    --eld-chair-stool-scale: 1;
    --eld-chair-stool-rotate: 0deg;
    --eld-chair-stool-z-index: 3;
    --eld-chair-assistant-left: clamp(138px, 25%, 245px);
    --eld-chair-assistant-top: auto;
    --eld-chair-assistant-right: 0px;
    --eld-chair-assistant-bottom: clamp(36px, 22%, 220px);
    --eld-chair-assistant-width: var(--eld-chair-stool-width);
    --eld-chair-assistant-max-height: var(--eld-chair-stool-max-height);
    --eld-chair-assistant-x: 0px;
    --eld-chair-assistant-y: 0px;
    --eld-chair-assistant-scale: 1;
    --eld-chair-assistant-rotate: 0deg;
    --eld-chair-assistant-z-index: 3;
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 330px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(244, 251, 252, 0.88) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.eld-chair-preview__canvas {
    --r1-move-x: var(--eld-chair-main-image-x);
    --r1-move-y: var(--eld-chair-main-image-y);
    --r1-width: var(--eld-chair-main-image-width);
    --r1-scale: var(--eld-chair-main-image-scale);
    --r1-rotate: var(--eld-chair-main-image-rotate);
    position: relative;
    z-index: 2;
    display: block;
    width: var(--r1-width);
    aspect-ratio: var(--eld-r1-coordinate-ratio);
    height: auto;
    max-width: 720px;
    max-height: none;
    transform: translate(var(--r1-move-x), var(--r1-move-y)) scale(var(--r1-scale)) rotate(var(--r1-rotate));
    transform-origin: center;
    transition: transform 180ms ease;
}

.eld-chair-preview__canvas > img[data-eld-chair-preview] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: none;
    transform-origin: center;
    transition: opacity 160ms ease;
}

.eld-chair-option-overlay {
    --overlay-left: 50%;
    --overlay-top: 50%;
    --overlay-width: 121%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
    position: absolute;
    left: var(--overlay-left);
    top: var(--overlay-top);
    z-index: 3;
    display: block;
    width: var(--overlay-width);
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(var(--overlay-scale)) rotate(var(--overlay-rotate));
    transform-origin: center;
    transition: opacity 160ms ease, transform 180ms ease;
}

.eld-chair-option-overlay--module {
    z-index: 4;
}

.eld-chair-option-overlay--lamp {
    z-index: 5;
}

.eld-chair-option-overlay--tv {
    z-index: 6;
}

.eld-chair-option-overlay--uv {
    z-index: 7;
}

.eld-chair-option-overlay[hidden] {
    display: none;
}

.eld-chair-option-overlay--m1 {
    --overlay-left: 44.5%;
    --overlay-top: 55%;
    --overlay-width: 107%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--m2 {
    --overlay-left: 50%;
    --overlay-top: 32%;
    --overlay-width: 101%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--m3 {
    --overlay-left: 66%;
    --overlay-top: 68%;
    --overlay-width: 95%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--m3-plat {
    --overlay-left: 73%;
    --overlay-top: 66%;
    --overlay-width: 49%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--l1 {
    --overlay-left: 51%;
    --overlay-top: 38%;
    --overlay-width: 119%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--l2 {
    --overlay-left: 52%;
    --overlay-top: 40.5%;
    --overlay-width: 121%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--l3 {
    --overlay-left: 72.5%;
    --overlay-top: 13%;
    --overlay-width: 17%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--l4 {
    --overlay-left: 58%;
    --overlay-top: 43.5%;
    --overlay-width: 94%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--tv1 {
    --overlay-left: 54%;
    --overlay-top: 38%;
    --overlay-width: 77%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--tv2 {
    --overlay-left: 53%;
    --overlay-top: 37%;
    --overlay-width: 71%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-option-overlay--uv-on {
    --overlay-left: 49.5%;
    --overlay-top: 42%;
    --overlay-width: 86%;
    --overlay-scale: 1;
    --overlay-rotate: 0deg;
}

.eld-chair-preview[data-r1-module="m1"] {
    --eld-r1-module-left: var(--eld-r1-m1-left);
    --eld-r1-module-top: var(--eld-r1-m1-top);
    --eld-r1-module-width: var(--eld-r1-m1-width);
    --eld-r1-module-scale: var(--eld-r1-m1-scale);
    --eld-r1-module-rotate: var(--eld-r1-m1-rotate);
}

.eld-chair-preview[data-r1-module="m2"] {
    --eld-r1-module-left: var(--eld-r1-m2-left);
    --eld-r1-module-top: var(--eld-r1-m2-top);
    --eld-r1-module-width: var(--eld-r1-m2-width);
    --eld-r1-module-scale: var(--eld-r1-m2-scale);
    --eld-r1-module-rotate: var(--eld-r1-m2-rotate);
}

.eld-chair-preview[data-r1-module="m3"] {
    --eld-r1-module-left: var(--eld-r1-m3-left);
    --eld-r1-module-top: var(--eld-r1-m3-top);
    --eld-r1-module-width: var(--eld-r1-m3-width);
    --eld-r1-module-scale: var(--eld-r1-m3-scale);
    --eld-r1-module-rotate: var(--eld-r1-m3-rotate);
}

.eld-chair-preview[data-r1-module="m3-plat"] {
    --eld-r1-module-left: var(--eld-r1-m3-plat-left);
    --eld-r1-module-top: var(--eld-r1-m3-plat-top);
    --eld-r1-module-width: var(--eld-r1-m3-plat-width);
    --eld-r1-module-scale: var(--eld-r1-m3-plat-scale);
    --eld-r1-module-rotate: var(--eld-r1-m3-plat-rotate);
}

.eld-chair-preview[data-r1-lamp="l1"] {
    --eld-r1-lamp-left: var(--eld-r1-l1-left);
    --eld-r1-lamp-top: var(--eld-r1-l1-top);
    --eld-r1-lamp-width: var(--eld-r1-l1-width);
    --eld-r1-lamp-scale: var(--eld-r1-l1-scale);
    --eld-r1-lamp-rotate: var(--eld-r1-l1-rotate);
}

.eld-chair-preview[data-r1-lamp="l2"] {
    --eld-r1-lamp-left: var(--eld-r1-l2-left);
    --eld-r1-lamp-top: var(--eld-r1-l2-top);
    --eld-r1-lamp-width: var(--eld-r1-l2-width);
    --eld-r1-lamp-scale: var(--eld-r1-l2-scale);
    --eld-r1-lamp-rotate: var(--eld-r1-l2-rotate);
}

.eld-chair-preview[data-r1-lamp="l3"] {
    --eld-r1-lamp-left: var(--eld-r1-l3-left);
    --eld-r1-lamp-top: var(--eld-r1-l3-top);
    --eld-r1-lamp-width: var(--eld-r1-l3-width);
    --eld-r1-lamp-scale: var(--eld-r1-l3-scale);
    --eld-r1-lamp-rotate: var(--eld-r1-l3-rotate);
}

.eld-chair-preview[data-r1-lamp="l4"] {
    --eld-r1-lamp-left: var(--eld-r1-l4-left);
    --eld-r1-lamp-top: var(--eld-r1-l4-top);
    --eld-r1-lamp-width: var(--eld-r1-l4-width);
    --eld-r1-lamp-scale: var(--eld-r1-l4-scale);
    --eld-r1-lamp-rotate: var(--eld-r1-l4-rotate);
}

.eld-chair-preview[data-r1-tv="tv1"] {
    --eld-r1-tv-left: var(--eld-r1-tv1-left);
    --eld-r1-tv-top: var(--eld-r1-tv1-top);
    --eld-r1-tv-width: var(--eld-r1-tv1-width);
    --eld-r1-tv-scale: var(--eld-r1-tv1-scale);
    --eld-r1-tv-rotate: var(--eld-r1-tv1-rotate);
}

.eld-chair-preview[data-r1-tv="tv2"] {
    --eld-r1-tv-left: var(--eld-r1-tv2-left);
    --eld-r1-tv-top: var(--eld-r1-tv2-top);
    --eld-r1-tv-width: var(--eld-r1-tv2-width);
    --eld-r1-tv-scale: var(--eld-r1-tv2-scale);
    --eld-r1-tv-rotate: var(--eld-r1-tv2-rotate);
}

.eld-chair-client-logo-overlay {
    position: absolute;
    left: 40%;
    top: 88%;
    z-index: 4;
    display: block;
    width: clamp(28px, 8.5vw, 42px);
    max-height: 30px;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.7)) drop-shadow(0 2px 3px rgba(10, 35, 54, 0.16));
    transform: translate(-50%, -50%) rotate(8deg);
    transform-origin: center;
}

.eld-chair-client-logo-overlay[hidden] {
    display: none;
}

.eld-chair-preview.is-changing img[data-eld-chair-preview] {
    opacity: 0.42;
}

.eld-chair-preview.is-focus-pulse {
    outline: 3px solid rgba(14, 139, 154, 0.34);
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(14, 139, 154, 0.08);
}

.eld-chair-mobile-preview {
    display: none;
}

.eld-chair-stool-overlay {
    --move-x: 18px;
    --move-y: -141px;
    --overlay-left: var(--eld-chair-stool-left);
    --overlay-right: var(--eld-chair-stool-right);
    --overlay-top: auto;
    --overlay-bottom: var(--eld-chair-stool-bottom);
    --overlay-width: clamp(82px, 16vw, 140px);
    --overlay-max-height: 42%;
    --overlay-scale: var(--eld-chair-stool-scale);
    --overlay-rotate: var(--eld-chair-stool-rotate);
    --overlay-z-index: var(--eld-chair-stool-z-index);
    position: absolute;
    top: var(--overlay-top);
    right: var(--overlay-right);
    bottom: var(--overlay-bottom);
    left: var(--overlay-left);
    z-index: var(--overlay-z-index);
    display: block;
    width: var(--overlay-width);
    max-height: var(--overlay-max-height);
    object-fit: contain;
    object-position: left bottom;
    pointer-events: none;
    transform: translate(var(--move-x), var(--move-y)) scale(var(--overlay-scale)) rotate(var(--overlay-rotate));
    transform-origin: left bottom;
    transition: opacity 160ms ease, transform 180ms ease;
}

.eld-chair-stool-overlay--assistant {
    --move-x: -3px;
    --move-y: -139px;
    --overlay-left: var(--eld-chair-assistant-left);
    --overlay-right: var(--eld-chair-assistant-right);
    --overlay-top: var(--eld-chair-assistant-top);
    --overlay-bottom: var(--eld-chair-assistant-bottom);
    --overlay-width: var(--eld-chair-assistant-width);
    --overlay-max-height: var(--eld-chair-assistant-max-height);
    --overlay-scale: var(--eld-chair-assistant-scale);
    --overlay-rotate: var(--eld-chair-assistant-rotate);
    --overlay-z-index: var(--eld-chair-assistant-z-index);
    bottom: var(--overlay-bottom);
    object-position: left top;
    transform-origin: left top;
}

.eld-chair-stool-overlay[hidden] {
    display: none;
}

.eld-chair-color-glow {
    position: absolute;
    inset: 20% 15%;
    z-index: 1;
    border-radius: 999px;
    background: var(--chair-active-color, #4ab6bb);
    filter: blur(70px);
    opacity: 0.2;
    pointer-events: none;
}

.eld-chair-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    border-top: 1px solid rgba(15, 127, 143, 0.12);
    background: rgba(15, 127, 143, 0.12);
}

.eld-chair-summary div {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 14px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.eld-chair-summary div:nth-child(4) {
    grid-column: 1 / -1;
    order: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
}

.eld-chair-summary div:nth-child(4) span {
    flex: 0 0 auto;
    white-space: nowrap;
    overflow-wrap: normal;
}

.eld-chair-summary div:nth-child(4) strong {
    flex: 1 1 auto;
    margin-top: 0;
    line-height: 1.35;
}

.eld-chair-summary div:nth-child(5) {
    order: 4;
}

.eld-chair-summary div:nth-child(6) {
    order: 5;
}

.eld-chair-summary div:nth-child(6) strong {
    white-space: nowrap;
    overflow-wrap: normal;
    font-size: 12px;
}

.eld-chair-summary span,
.eld-chair-summary strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.eld-chair-summary span {
    color: var(--eld-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.eld-chair-summary strong {
    margin-top: 4px;
    color: var(--eld-text);
    font-size: 13px;
    font-weight: 950;
}

.eld-chair-color-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.eld-chair-color-grid button {
    position: relative;
    display: grid;
    align-items: end;
    aspect-ratio: 1.05;
    min-width: 0;
    min-height: 48px;
    padding: 5px;
    overflow: visible;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--chair-color);
}

.eld-chair-color-grid button span {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    min-height: 18px;
    padding: 3px 4px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.84);
    color: #183341;
    font-size: 8.5px;
    font-weight: 950;
    line-height: 1.05;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
}

.eld-chair-color-grid button:hover,
.eld-chair-color-grid button:focus,
.eld-chair-color-grid button.is-active {
    border-color: #ff9f1c;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 159, 28, 0.22);
}

.eld-chair-configurator__quote {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 14px;
    background: #f6fbfc;
}

.eld-chair-configurator__quote strong {
    display: block;
    color: var(--eld-text);
    font-size: 15px;
    font-weight: 950;
}

.eld-chair-configurator__quote p {
    margin: 6px 0 0;
    color: var(--eld-muted);
    font-size: 13px;
    line-height: 1.45;
}

.eld-chair-cart-box {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 8px;
    background: #f6fbfc;
}

.eld-chair-cart-box__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.eld-chair-cart-box__total span {
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.eld-chair-cart-box__total strong {
    color: var(--eld-text);
    font-size: 22px;
    font-weight: 950;
}

.eld-chair-cart-box__delivery {
    margin: -2px 0 0;
    padding: 8px 10px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 8px;
    background: rgba(227, 248, 250, 0.7);
    color: #075c68;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.eld-chair-admin-margin {
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(15, 127, 143, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.eld-chair-admin-margin[hidden] {
    display: none;
}

.eld-chair-admin-margin__head,
.eld-chair-admin-margin__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    align-items: baseline;
}

.eld-chair-admin-margin__head {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(15, 127, 143, 0.12);
}

.eld-chair-admin-margin span {
    color: var(--eld-muted);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.eld-chair-admin-margin strong {
    color: #075c68;
    font-size: 13px;
    font-weight: 950;
    text-align: right;
    white-space: nowrap;
}

.eld-chair-admin-margin__head strong {
    color: #14804a;
    font-size: 16px;
}

.eld-chair-price-delta {
    margin-left: auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.eld-chair-price-delta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.eld-chair-price-delta.is-positive {
    background: rgba(24, 152, 86, 0.12);
    color: #14804a;
}

.eld-chair-price-delta.is-negative {
    background: rgba(204, 52, 52, 0.12);
    color: #c23535;
}

.eld-chair-cart-box .btn {
    width: 100%;
    justify-content: center;
}

.eld-chair-product-features {
    margin-top: 24px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: var(--eld-radius-lg);
    background:
        radial-gradient(circle at 92% 4%, rgba(24, 165, 143, 0.14), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbf8 100%);
    box-shadow: var(--eld-shadow-soft);
}

.eld-chair-product-features__header {
    display: grid;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 26px;
}

.eld-chair-product-features__header h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: 0;
    white-space: normal;
}

.eld-chair-product-features__header p {
    margin: 0;
    color: var(--eld-muted);
    font-size: 15px;
    line-height: 1.65;
}

.eld-chair-product-features__grid {
    counter-reset: chairFeature;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.eld-chair-feature-card {
    counter-increment: chairFeature;
    position: relative;
    display: grid;
    grid-template-rows: 260px auto auto 1fr;
    gap: 14px;
    min-width: 0;
    min-height: 100%;
    padding: 18px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(248, 252, 249, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 38px rgba(12, 58, 36, 0.07);
    overflow: hidden;
}

.eld-chair-feature-card::before {
    content: counter(chairFeature, decimal-leading-zero);
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(19, 165, 100, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f7d4d;
    font-size: 13px;
    font-weight: 950;
    box-shadow: 0 10px 22px rgba(12, 58, 36, 0.08);
}

.eld-chair-feature-card__media {
    display: grid;
    place-items: center;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 127, 143, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,252,249,0.98));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.eld-chair-feature-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.eld-chair-feature-card h3 {
    margin: 0;
    color: #11581d;
    font-size: clamp(15px, 1.1vw, 19px);
    font-weight: 950;
    line-height: 1.18;
    white-space: normal;
}

.eld-chair-feature-card p {
    margin: 0;
    color: #3f653d;
    font-size: 14px;
    line-height: 1.5;
}

.eld-chair-feature-card ul,
.eld-chair-product-notes {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-chair-feature-card li,
.eld-chair-product-notes p {
    position: relative;
    margin: 0;
    padding-left: 26px;
    color: #42683d;
    font-size: 14.5px;
    line-height: 1.42;
}

.eld-chair-feature-card li::before,
.eld-chair-product-notes p::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #13a564;
    color: #fff;
    content: "\2713";
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
}

.eld-chair-product-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
    padding: 20px;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 20px;
    background: rgba(238, 250, 245, 0.9);
}

.eld-chair-product-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.eld-chair-product-specs article {
    min-width: 0;
    padding: 20px;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(12, 58, 36, 0.06);
}

.eld-chair-product-specs h3 {
    margin: 0 0 14px;
    color: var(--eld-text);
    font-size: 17px;
    font-weight: 950;
    line-height: 1.2;
}

.eld-chair-product-specs dl,
.eld-chair-product-specs ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
}

.eld-chair-product-specs dl div {
    display: grid;
    grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
    min-width: 0;
}

.eld-chair-product-specs dt {
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.eld-chair-product-specs dd {
    margin: 0;
    color: var(--eld-text);
    font-size: 14px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.eld-chair-product-specs li {
    position: relative;
    margin: 0;
    padding-left: 22px;
    color: #42683d;
    font-size: 14px;
    line-height: 1.42;
    list-style: none;
}

.eld-chair-product-specs li::before {
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--eld-primary);
    color: #fff;
    content: "\2713";
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .eld-chair-product-features__grid,
    .eld-chair-product-notes,
    .eld-chair-product-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .eld-chair-page-header h1 {
        font-size: clamp(13px, 4vw, 18px);
        white-space: nowrap;
    }

    .eld-chair-product-features {
        padding: 18px;
    }

    .eld-chair-product-features__header h2 {
        font-size: clamp(14px, 4.2vw, 20px);
        white-space: normal;
    }

    .eld-chair-feature-card {
        grid-template-rows: 190px auto auto 1fr;
    }
}

.eld-chair-cart-box p {
    min-height: 18px;
    margin: 0;
    color: var(--eld-muted);
    font-size: 12px;
    line-height: 1.35;
}

.eld-module-test-body {
    background: #f4fafb;
}

.eld-module-test-page {
    min-height: 100vh;
    padding: 18px;
    background: linear-gradient(180deg, #eef8fa 0%, #ffffff 100%);
}

.eld-module-test-shell {
    display: grid;
    gap: 14px;
    width: min(100%, 1420px);
    margin: 0 auto;
}

.eld-module-test-page .eld-chair-configurator {
    margin-top: 0;
}

.eld-module-test-language {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.eld-module-test-language a {
    display: inline-grid;
    place-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.eld-module-test-language a:hover,
.eld-module-test-language a:focus,
.eld-module-test-language a.is-active {
    border-color: var(--eld-primary);
    background: var(--eld-primary);
    color: #fff;
    outline: 0;
}

.eld-home-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.eld-home-section__header .eld-med-eyebrow {
    justify-content: center;
    text-align: center;
}

.eld-home-section__header h2 {
    margin: 8px 0 0;
    color: var(--eld-text);
    min-width: 0;
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

.eld-home-section__header a {
    font-weight: 900;
    white-space: nowrap;
}

.eld-home-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.eld-home-category-card {
    position: relative;
    display: grid;
    grid-template-rows: minmax(116px, 1fr) auto;
    justify-items: center;
    gap: 14px;
    min-height: 194px;
    padding: 12px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 18px;
    background: #f8fcfd;
    color: var(--eld-text);
    text-align: center;
    overflow: hidden;
}

.eld-home-category-card__number {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--eld-primary);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(18, 46, 66, 0.08);
}

.eld-home-category-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 116px;
    border: 1px solid rgba(15, 127, 143, 0.1);
    border-radius: 14px;
    background: linear-gradient(180deg, #f5fbfc 0%, #eef8f9 100%);
    overflow: hidden;
}

.eld-home-category-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 116px;
    object-fit: contain;
    padding: 10px;
}

.eld-home-category-card__fallback {
    color: rgba(15, 127, 143, 0.18);
    font-size: 46px;
    font-weight: 950;
    line-height: 1;
}

.eld-home-category-card strong {
    align-self: end;
    min-height: 42px;
    padding: 0 4px 4px;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
}

.eld-home-category-card:hover,
.eld-home-category-card:focus {
    border-color: rgba(15, 127, 143, 0.4);
    box-shadow: var(--eld-shadow-soft);
    transform: translateY(-2px);
}

.eld-home-product-grid {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.eld-home-product-grid > li {
    list-style: none;
}

@media (max-width: 991.98px) {
    .eld-home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 28px;
    }

    .eld-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-configurator__body {
        grid-template-columns: 1fr;
    }

    .eld-chair-configurator__stage {
        grid-row: 1;
    }

    .eld-chair-option-grid--compact,
    .eld-chair-tv-grid,
    .eld-chair-stool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eld-chair-color-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eld-chair-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .eld-home-page {
        padding-top: 16px;
    }

    .eld-home-hero,
    .eld-home-section,
    .eld-chair-configurator {
        padding: 18px;
        border-radius: 18px;
    }

    .eld-home-hero__visual,
    .eld-home-category-grid {
        grid-template-columns: 1fr;
    }

    .eld-home-hero-product:nth-child(2),
    .eld-home-hero-product:nth-child(3) {
        transform: none;
    }

    .eld-home-section__header {
        display: grid;
        align-items: start;
    }

    .eld-home-section__header h2 {
        font-size: clamp(18px, 5.4vw, 24px);
        overflow-wrap: anywhere;
    }

    .eld-chair-configurator__header {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 10px;
    }

    .eld-chair-configurator__header h2 {
        font-size: clamp(15px, 4.4vw, 22px);
        white-space: nowrap;
    }

    .eld-chair-configurator__header .eld-med-eyebrow,
    .eld-chair-configurator__header .btn {
        justify-content: center;
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .eld-chair-model-tabs {
        gap: 8px;
        padding: 10px;
    }

    .eld-chair-model-tabs button {
        min-height: 38px;
        font-size: 15px;
    }

    .eld-chair-preview {
        min-height: 260px;
        padding: 14px;
    }

    .eld-chair-option-grid--compact,
    .eld-chair-tv-grid,
    .eld-chair-stool-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eld-chair-stool-option {
        grid-template-rows: 62px auto;
        min-height: 90px;
    }

    .eld-chair-stool-option img {
        height: 62px;
    }

    .eld-chair-stool-overlay {
        --eld-chair-stool-left: clamp(28px, 9%, 62px);
        --eld-chair-stool-bottom: clamp(34px, 20%, 118px);
        --eld-chair-stool-width: clamp(70px, 24%, 118px);
        --eld-chair-stool-max-height: 46%;
        --eld-chair-assistant-left: clamp(92px, 31%, 168px);
        --eld-chair-assistant-top: auto;
        --eld-chair-assistant-bottom: clamp(34px, 20%, 118px);
        --eld-chair-assistant-width: var(--eld-chair-stool-width);
        --eld-chair-assistant-max-height: var(--eld-chair-stool-max-height);
    }

    .eld-chair-color-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eld-chair-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-summary div:last-child {
        grid-column: 1 / -1;
    }
}

/* Cart and checkout refresh */
.page_inner > .nav-checkout:first-child,
.page_inner .eld-checkout-steps {
    margin: 0 0 24px;
}

.eld-checkout-steps {
    padding: 12px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbfc 100%);
    box-shadow: 0 16px 44px rgba(18, 46, 66, 0.08);
}

.eld-checkout-steps__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-checkout-steps__item {
    min-width: 0;
}

.eld-checkout-steps__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 16px;
    background: #fff;
    color: #52647a;
    font-weight: 900;
    line-height: 1.15;
    text-decoration: none;
}

.eld-checkout-steps__number {
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #e9f7f9;
    color: var(--eld-primary);
    font-size: 13px;
    font-weight: 950;
}

.eld-checkout-steps__label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.eld-checkout-steps__item.visited .eld-checkout-steps__link,
.eld-checkout-steps__item.previous .eld-checkout-steps__link {
    border-color: rgba(15, 127, 143, 0.2);
    background: #f7fcfd;
    color: #0b6674;
}

.eld-checkout-steps__item.active .eld-checkout-steps__link {
    border-color: rgba(15, 127, 143, 0.46);
    background: linear-gradient(135deg, #0f8797 0%, #0b6f7d 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 127, 143, 0.22);
}

.eld-checkout-steps__item.active .eld-checkout-steps__number {
    background: #fff;
    color: #0b6f7d;
}

.eld-checkout-steps__item.disabled .eld-checkout-steps__link {
    opacity: .7;
}

.page_inner .sub-header {
    margin: 26px 0 14px;
    padding: 0;
    border: 0;
}

.page_inner .sub-header h1,
.page_inner .sub-header h2,
.page_inner .sub-header h3,
.page_inner > h1 {
    color: var(--eld-text);
    font-weight: 950;
    letter-spacing: 0;
}

.page_inner .lead {
    padding: 18px 20px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 18px;
    background: linear-gradient(135deg, #f7fcfd 0%, #eaf8fa 100%);
    color: #52647a;
    font-weight: 750;
}

.eld-basket-page {
    display: grid;
    gap: 18px;
}

.eld-basket-breadcrumb-wrap {
    margin-bottom: 16px;
}

.eld-basket-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 999px;
    background: rgba(247, 252, 253, 0.92);
    box-shadow: 0 10px 28px rgba(18, 46, 66, 0.05);
}

.eld-basket-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: #52647a;
    font-size: 13px;
    font-weight: 850;
}

.eld-basket-breadcrumb .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}

.eld-basket-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 8px;
    color: var(--eld-primary);
    content: "/";
    font-weight: 950;
}

.eld-basket-breadcrumb a {
    color: var(--eld-primary-dark);
}

.eld-basket-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid rgba(15, 127, 143, 0.15);
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #eefafb 100%);
    box-shadow: 0 18px 40px rgba(18, 46, 66, 0.07);
}

.eld-basket-hero h1 {
    margin: 8px 0 0;
    color: var(--eld-text);
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 950;
    line-height: .95;
    letter-spacing: 0;
}

.basket-title,
.eld-basket-title {
    margin-bottom: 10px;
    padding: 13px 16px;
    border: 1px solid rgba(15, 127, 143, 0.13);
    border-radius: 14px;
    background: #f4fbfc;
    color: #52647a;
}

.basket-title h4,
.basket-title .h4 {
    margin: 0;
    color: #52647a;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.basket-title .eld-checkout-quantity-heading {
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.basket-items,
.eld-basket-item {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 127, 143, 0.14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 46, 66, 0.05);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.eld-basket-item:hover {
    border-color: rgba(15, 127, 143, 0.28);
    box-shadow: 0 18px 38px rgba(18, 46, 66, 0.08);
}

.basket-items > .row {
    align-items: center;
}

.basket-items h3 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 950;
}

.basket-items h3 a {
    color: var(--eld-text);
}

.basket-items .availability {
    margin: 0;
    color: #15935d;
    font-size: 13px;
    font-weight: 900;
}

.basket-items .img-thumbnail,
.basket-items .image_container img {
    width: 118px;
    height: 92px;
    object-fit: contain;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 14px;
    background: linear-gradient(180deg, #f6fbfc 0%, #edf8fa 100%);
}

.checkout-quantity .input-group {
    max-width: 220px;
    overflow: hidden;
    border: 1px solid rgba(15, 127, 143, 0.18);
    border-radius: 12px;
    background: #ffffff;
}

.checkout-quantity .form-control {
    height: 42px;
    border: 0;
    border-right: 1px solid rgba(15, 127, 143, 0.16);
    font-weight: 900;
    text-align: center;
}

.checkout-quantity .input-group-append .btn {
    height: 42px;
    border-radius: 0;
    box-shadow: none;
}

.checkout-quantity .btn,
.basket-line-actions a {
    font-weight: 900;
}

.basket-line-actions {
    margin-top: 8px;
    color: #6b7d92;
    font-size: 13px;
}

.basket-line-actions a {
    color: var(--eld-primary-dark);
}

.basket-items .price_color {
    margin: 0;
    color: #139a4e;
    font-size: 16px;
    font-weight: 950;
    white-space: nowrap;
}

.eld-basket-bottom {
    align-items: flex-start;
    margin-top: 22px;
}

.eld-basket-card,
#basket_totals,
.page_inner .card.card-body.bg-light,
.page_inner .card.card-body {
    border: 1px solid rgba(15, 127, 143, 0.13);
    border-radius: 18px;
    background: #fff !important;
    box-shadow: 0 12px 34px rgba(18, 46, 66, 0.06);
}

.eld-basket-card {
    padding: 18px;
}

.eld-basket-card .sub-header {
    margin-top: 0;
}

.eld-basket-voucher {
    min-height: 154px;
}

.eld-basket-totals-card {
    position: sticky;
    top: 18px;
    overflow: hidden;
    padding: 22px;
}

.eld-basket-totals-card .sub-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(15, 127, 143, 0.1);
}

.eld-basket-totals-card .sub-header h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 24px;
    line-height: 1.1;
}

#basket_totals {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#basket_totals .table {
    width: 100%;
    margin: 0;
}

#basket_totals th,
#basket_totals td {
    padding: 11px 0;
    border-color: rgba(15, 127, 143, 0.1);
}

#basket_totals h3 {
    margin: 0;
    color: var(--eld-text);
    font-size: 16px;
    font-weight: 950;
}

#basket_totals th.total,
#basket_totals td.total,
#basket_totals .total {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

#basket_totals .total {
    color: var(--eld-text);
    font-size: 16px;
    font-weight: 950;
}

#basket_totals .price_color {
    color: #0d9448;
    font-size: 20px;
}

.eld-basket-totals-card #basket_totals table,
.eld-basket-totals-card #basket_totals tbody,
.eld-basket-totals-card #basket_totals tr,
.eld-basket-totals-card #basket_totals th,
.eld-basket-totals-card #basket_totals td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0;
    box-shadow: none !important;
    white-space: normal;
}

.eld-basket-totals-card #basket_totals tr {
    margin: 0;
}

.eld-basket-totals-card #basket_totals tr:has(> th:empty),
.eld-basket-totals-card #basket_totals tr:has(> th + td:empty) {
    display: none;
}

.eld-basket-totals-card #basket_totals tr:has(h3):not(:has(.price_color)) {
    margin-top: 16px;
    padding-top: 2px;
}

.eld-basket-totals-card #basket_totals tr:has(h3):not(:has(.price_color)):first-child {
    margin-top: 0;
}

.eld-basket-totals-card #basket_totals tr:not(:has(h3)),
.eld-basket-totals-card #basket_totals tr:has(.price_color) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 16px;
}

.eld-basket-totals-card #basket_totals tr:not(:has(h3)) {
    padding: 10px 0;
    border-bottom: 1px solid rgba(15, 127, 143, 0.08);
}

.eld-basket-totals-card #basket_totals tr:not(:has(h3)) > :last-child,
.eld-basket-totals-card #basket_totals tr:has(.price_color) > :last-child {
    text-align: right !important;
}

.eld-basket-totals-card #basket_totals h3 {
    margin: 0 0 2px;
    color: #52647a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eld-basket-totals-card #basket_totals .total {
    min-width: 0;
    color: var(--eld-text);
    font-size: 15px;
    line-height: 1.3;
}

.eld-basket-totals-card #basket_totals tr:has(.price_color) {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(234, 249, 250, 0.9), #ffffff) !important;
}

.eld-basket-totals-card #basket_totals tr:has(.price_color) h3 {
    color: var(--eld-text);
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.eld-basket-totals-card #basket_totals .price_color {
    color: #078b4a;
    font-size: 26px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
}

.eld-checkout-preview-totals {
    overflow: hidden;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(229, 249, 250, 0.95), rgba(255, 255, 255, 0.98) 52%),
        #fff;
    box-shadow: 0 18px 44px rgba(18, 46, 66, 0.08);
}

.eld-checkout-preview-totals__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(15, 127, 143, 0.12);
    background: rgba(232, 250, 251, 0.72);
}

.eld-checkout-preview-totals__header span {
    color: var(--eld-text);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eld-checkout-preview-totals__header strong {
    color: #078b4a;
    font-size: 24px;
    font-weight: 950;
    white-space: nowrap;
}

.eld-checkout-preview-totals #basket_totals {
    padding: 6px 20px 18px;
    border-radius: 0;
}

.eld-checkout-preview-totals #basket_totals table,
.eld-checkout-preview-totals #basket_totals tbody,
.eld-checkout-preview-totals #basket_totals tr,
.eld-checkout-preview-totals #basket_totals th,
.eld-checkout-preview-totals #basket_totals td {
    display: block;
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-bg: transparent;
    --bs-table-active-bg: transparent;
    --bs-table-hover-bg: transparent;
}

.eld-checkout-preview-totals #basket_totals tr {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 127, 143, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.eld-checkout-preview-totals #basket_totals tr:has(> th:empty),
.eld-checkout-preview-totals #basket_totals tr:has(> th + td:empty),
.eld-checkout-preview-totals #basket_totals tr:has(> th > h3):not(:last-child) {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.eld-checkout-preview-totals #basket_totals th,
.eld-checkout-preview-totals #basket_totals td {
    padding: 0;
    border: 0;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.eld-checkout-preview-totals #basket_totals tr:not(:has(h3)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.eld-checkout-preview-totals #basket_totals h3 {
    margin-top: 4px;
    color: #52647a;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.eld-checkout-preview-totals #basket_totals .total {
    min-width: 0;
    color: var(--eld-text);
    font-size: 15px;
    line-height: 1.25;
}

.eld-checkout-preview-totals #basket_totals .text-right {
    text-align: right !important;
}

.eld-checkout-preview-totals #basket_totals .price_color {
    margin: 0;
    color: #078b4a;
    font-size: 24px;
    font-weight: 950;
    white-space: nowrap;
}

.eld-basket-checkout {
    margin-top: 12px;
}

@media (max-width: 767.98px) {
    .eld-basket-hero {
        display: grid;
        justify-items: start;
    }

    .eld-basket-hero .btn {
        width: 100%;
    }

    .eld-basket-title {
        display: none !important;
    }

    .eld-basket-item {
        padding: 14px;
    }

    .eld-basket-item > .row {
        display: grid;
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
    }

    .eld-basket-item__media {
        grid-row: span 3;
    }

    .eld-basket-item__main,
    .eld-basket-item__quantity,
    .eld-basket-item__price,
    .eld-basket-item__total {
        min-width: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .basket-items .img-thumbnail,
    .basket-items .image_container img {
        width: 96px;
        height: 96px;
    }

    .checkout-quantity .input-group {
        max-width: 100%;
    }

    .basket-items .price_color,
    .basket-items .text-right {
        text-align: left !important;
    }

    .eld-basket-totals-card {
        position: static;
        margin-top: 14px;
    }

    .eld-basket-totals-card #basket_totals tr:not(:has(h3)),
    .eld-basket-totals-card #basket_totals tr:has(.price_color) {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .eld-basket-totals-card #basket_totals tr:not(:has(h3)) > :last-child,
    .eld-basket-totals-card #basket_totals tr:has(.price_color) > :last-child {
        text-align: left !important;
    }
}

.page_inner .btn-primary,
.page_inner .btn-info,
.page_inner .btn-success {
    border-color: transparent;
    border-radius: 999px;
    background: var(--eld-primary);
    box-shadow: 0 12px 28px rgba(15, 127, 143, 0.18);
    font-weight: 950;
}

.page_inner .btn-primary:hover,
.page_inner .btn-info:hover,
.page_inner .btn-success:hover {
    background: #0a6f7d;
}

.page_inner .btn-secondary {
    border-color: rgba(15, 127, 143, 0.18);
    border-radius: 999px;
    background: #f1fafb;
    color: #0a6f7d;
    font-weight: 900;
}

.page_inner form .form-control,
.page_inner form select,
.page_inner form textarea,
.page_inner form input[type="text"],
.page_inner form input[type="email"],
.page_inner form input[type="tel"],
.page_inner form input[type="number"] {
    border-color: rgba(15, 127, 143, 0.18);
    border-radius: 12px;
}

.page_inner form label {
    color: var(--eld-text);
    font-weight: 900;
}

.choose-block .card {
    width: 100%;
    margin-bottom: 16px;
}

.shipping-payment {
    align-items: stretch;
}

.shipping-payment .card,
.eld-bank-transfer__summary {
    height: auto;
}

.shipping-payment h3,
.eld-bank-transfer__summary h3 {
    color: var(--eld-text);
    font-size: 16px;
    font-weight: 950;
}

.shipping-payment a.float-right,
.eld-bank-transfer__summary a.float-right,
.sub-header a.float-right {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f8fa;
    color: #0a6f7d;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
}

.eld-checkout-currency {
    max-width: none;
    margin: 0 0 18px;
    border-radius: 18px;
}

.eld-bank-transfer {
    max-width: none;
}

.eld-bank-transfer__intro {
    padding: 20px;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fcfd 0%, #e8f7f9 100%);
}

.eld-bank-transfer__intro h2,
.eld-payment-method-section h3 {
    color: var(--eld-text);
    font-weight: 950;
}

.eld-bank-transfer__card {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 46, 66, 0.06);
}

.eld-bank-transfer__card:has(input[type="radio"]:checked) {
    border-color: rgba(15, 127, 143, 0.55);
    box-shadow: 0 16px 38px rgba(15, 127, 143, 0.16);
}

.eld-payment-method-section {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(15, 127, 143, 0.12);
    border-radius: 18px;
    background: #fbfefe;
}

#place_order_form,
.page_inner > .form-group:last-child {
    margin-top: 24px;
}

#place-order {
    min-height: 48px;
}

@media (max-width: 991.98px) {
    .eld-checkout-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-checkout-steps__item.step5 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .basket-title {
        display: none;
    }

    .basket-items > .row {
        gap: 10px;
    }

    .basket-items [class*="col-md-"],
    .basket-items [class*="col-sm-"] {
        text-align: left !important;
    }

    .basket-items .price_color {
        text-align: left !important;
    }

    .checkout-quantity .input-group {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .eld-checkout-steps {
        padding: 10px;
        border-radius: 16px;
    }

    .eld-checkout-steps__list {
        grid-template-columns: 1fr;
    }

    .eld-checkout-steps__link {
        min-height: 46px;
    }

    .basket-items,
    #basket_totals,
    .eld-payment-method-section,
    .eld-bank-transfer__intro {
        padding: 14px;
        border-radius: 16px;
    }

    .eld-checkout-currency__form {
        flex-wrap: wrap;
    }
}

/* Global responsive hardening */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

iframe {
    border: 0;
}

table {
    width: 100%;
}

.eld-med-page,
.eld-med-page__inner,
#content_inner,
.page_inner,
.eld-content-card,
.eld-content-aside,
.eld-policy-section,
.eld-med-product-card,
.eld-med-product-detail-card,
.eld-med-product-main,
.eld-med-product-gallery-col,
.eld-home-hero,
.eld-home-section,
.eld-chair-configurator,
.eld-bank-transfer,
.eld-payment-method-section,
.basket-items,
.shipping-payment,
.eld-fc-wp-wrap,
.eld-shell {
    min-width: 0;
}

.page_inner table,
.eld-med-product-detail-card table,
#basket_totals table,
.eld-policy-page table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.eld-med-table,
.table {
    min-width: 0;
}

.eld-med-page__inner {
    overflow-wrap: anywhere;
}

.eld-med-page__inner h1,
.eld-med-page__inner h2,
.eld-med-page__inner h3,
.eld-content-card h1,
.eld-content-card h2,
.eld-policy-section h2,
.eld-med-product-main h1 {
    overflow-wrap: anywhere;
}

.eld-med-dropdown,
.dropdown-menu {
    max-width: calc(100vw - 28px);
}

.eld-med-mega-menu__body,
.eld-med-mega-menu__grid {
    min-width: 0;
}

.eld-med-mini-basket .dropdown-menu {
    overflow-x: hidden;
}

.eld-med-mini-basket .dropdown-menu,
.eld-med-mini-basket .basket-mini-item,
.eld-med-mini-basket .basket-mini-product {
    max-width: min(420px, calc(100vw - 28px));
}

.eld-med-mini-basket strong,
.eld-med-mini-basket a,
.eld-med-mini-basket span {
    overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
    .container,
    .container-fluid {
        max-width: 100%;
    }

    .eld-med-header__inner,
    .eld-med-nav-wrap,
    .eld-med-page,
    .eld-home-page {
        padding-right: 18px;
        padding-left: 18px;
    }

    .eld-med-product-main h1 {
        font-size: clamp(28px, 4.3vw, 46px);
    }

    .eld-home-hero__copy h1 {
        font-size: clamp(42px, 7vw, 72px);
    }

    .eld-chair-configurator__body {
        grid-template-columns: 1fr;
    }

    .eld-chair-configurator__stage {
        order: -1;
    }

    .eld-chair-configurator__panel {
        width: 100%;
    }

    .eld-chair-option-grid--compact,
    .eld-chair-tv-grid,
    .eld-chair-stool-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) and (min-width: 576px) {
    .eld-chair-configurator__header--home {
        grid-template-areas:
            "eyebrow action"
            "title title";
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 14px;
        align-items: center;
    }

    .eld-chair-configurator__header--home > div:first-child {
        grid-area: eyebrow;
        justify-self: start;
        min-width: 0;
    }

    .eld-chair-configurator__header--home h2 {
        grid-area: title;
        justify-self: center;
        max-width: 100%;
        font-size: clamp(20px, 3.4vw, 26px);
        line-height: 1.15;
        white-space: normal;
    }

    .eld-chair-configurator__header--home > .btn {
        grid-area: action;
        justify-self: end;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .eld-med-topbar__inner {
        align-items: stretch;
    }

    .eld-med-topbar__trust,
    .eld-med-topbar__actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .eld-med-header__inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .eld-med-brand,
    .eld-med-header__search,
    .eld-med-mini-basket {
        width: 100%;
        justify-content: center;
    }

    .eld-med-brand {
        display: flex;
    }

    .eld-med-brand__link {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }

    .eld-med-header__search .eld-med-search {
        max-width: 720px;
        width: 100%;
    }

    .eld-med-mainnav {
        padding: 10px;
    }

    .eld-med-mainnav .navbar-toggler {
        display: inline-flex;
        min-height: 44px;
    }

    .eld-med-mainnav .navbar-toggler-icon {
        display: none;
    }

    .eld-med-mainnav__toggle-text {
        width: 100%;
    }

    .eld-med-mainnav .navbar-collapse {
        width: 100%;
        margin-top: 10px;
    }

    .eld-med-menu {
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }

    .eld-med-menu .nav-item,
    .eld-med-menu .nav-link {
        width: 100%;
    }

    .eld-med-menu .nav-link {
        justify-content: space-between;
        min-height: 44px;
        white-space: normal;
    }

    .eld-med-dropdown,
    .eld-med-mega-menu {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: 70vh;
        margin-top: 8px;
        overflow: auto;
        transform: none !important;
    }

    .eld-med-mega-menu__grid,
    .eld-med-mega-menu__list.eld-med-mega-menu__grid,
    .eld-med-mega-menu__body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-med-mega-menu__item,
    .eld-med-mega-menu__link {
        min-width: 0;
    }

    .eld-med-mega-menu__link {
        white-space: normal;
    }

    .eld-med-page {
        padding-top: 18px;
    }

    .eld-med-page__inner,
    .page_inner {
        padding: 18px;
        border-radius: 20px;
    }

    .eld-med-page__inner > .row,
    .page_inner > .row,
    .eld-med-page__inner .row,
    .page_inner .row,
    .eld-category-description-row,
    .shipping-payment,
    .eld-content-layout,
    .eld-policy-grid,
    .eld-contact,
    .eld-home-hero,
    .eld-chair-configurator__body,
    .eld-fc-wp-wrap .eld-main-grid,
    .eld-shell .eld-main-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eld-med-page__inner > .row > [class*="col-"],
    .page_inner > .row > [class*="col-"],
    .eld-med-page__inner .row > [class*="col-"],
    .page_inner .row > [class*="col-"],
    .shipping-payment > [class*="col-"],
    .eld-category-description-row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .sidebar,
    aside.sidebar {
        width: 100%;
        max-width: 100%;
        order: 2;
    }

    .eld-med-hero,
    .eld-med-hero--compact {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px;
    }

    .eld-med-hero__media,
    .eld-med-hero__points {
        width: 100%;
    }

    .eld-med-hero__points {
        align-items: stretch;
    }

    .eld-med-hero__points span {
        width: 100%;
    }

    .eld-med-product-grid,
    .eld-med-product-grid--wide,
    .eld-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-med-product-detail-card .row,
    .product_page > .row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eld-med-product-detail-card .row > [class*="col-"],
    .product_page > .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .eld-bank-transfer__grid,
    .eld-payment-method-grid,
    .choose-block .row,
    .eld-checkout-method-grid {
        grid-template-columns: 1fr;
    }

    .eld-checkout-currency {
        align-items: stretch;
    }

    .eld-home-hero__visual,
    .eld-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-configurator__stage {
        order: -1;
    }

    .eld-chair-preview {
        min-height: 300px;
    }

    .eld-chair-color-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eld-chair-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .eld-med-header__inner,
    .eld-med-nav-wrap,
    .eld-med-page,
    .eld-home-page {
        padding-right: 14px;
        padding-left: 14px;
    }

    .eld-med-topbar__inner {
        gap: 10px;
    }

    .eld-med-topbar__actions select,
    .eld-med-language select,
    .eld-med-currency select {
        max-width: 180px;
    }

    .eld-med-brand__logo {
        max-height: 54px;
        width: auto;
    }

    .eld-med-mini-basket {
        text-align: center;
    }

    .eld-med-mini-basket__summary {
        align-items: center;
    }

    .eld-med-page-header,
    .eld-med-page-header p,
    .eld-med-breadcrumb,
    .eld-content-hero,
    .eld-content-hero p,
    .eld-policy-page,
    .eld-policy-page p,
    .eld-contact__intro,
    .eld-contact__intro p,
    .eld-home-hero__copy,
    .eld-home-hero__copy p,
    .eld-home-section__header,
    .eld-home-category-card,
    .eld-chair-configurator__header,
    .eld-chair-product-features__header,
    .eld-chair-feature-card,
    .eld-med-hero,
    .eld-med-hero p,
    .product_main,
    .product_main p,
    .eld-med-product-card,
    .eld-med-product-card__meta,
    .eld-med-product-card__price,
    .eld-med-stock {
        text-align: center;
    }

    .eld-content-card,
    .eld-policy-section,
    .eld-contact__form,
    .eld-contact__form p,
    .eld-contact__form label,
    .eld-checkout-steps,
    .eld-checkout-currency,
    .eld-payment-method-section,
    .eld-bank-transfer__card,
    .eld-bank-transfer__summary,
    .basket-items,
    .shipping-payment,
    #basket_totals,
    table,
    .table {
        text-align: left;
    }

    .eld-med-search {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .eld-med-search .form-control {
        min-width: 0;
    }

    .eld-med-page__inner,
    .page_inner,
    .eld-home-hero,
    .eld-home-section,
    .eld-chair-configurator,
    .eld-content-card,
    .eld-content-aside,
    .eld-policy-section,
    .eld-med-product-detail-card,
    .eld-payment-method-section {
        padding: 16px;
        border-radius: 18px;
    }

    .breadcrumb {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
        overflow-wrap: anywhere;
    }

    .eld-med-product-grid,
    .eld-med-product-grid--wide,
    .eld-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .eld-med-product-grid > li,
    .eld-med-product-grid--wide > li,
    .eld-home-product-grid > li {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5px;
        padding-left: 5px;
        margin-bottom: 10px;
    }

    .eld-med-product-grid,
    .eld-med-product-grid--wide,
    .eld-home-product-grid {
        margin-right: -5px !important;
        margin-left: -5px !important;
    }

    .eld-home-section {
        gap: 12px;
    }

    .eld-home-section__header {
        gap: 6px;
    }

    .eld-home-section__header h2 {
        margin-top: 4px;
        font-size: 20px;
    }

    .eld-home-category-card {
        grid-template-rows: 86px auto;
        gap: 7px;
        min-height: 136px;
        padding: 8px;
        border-radius: 14px;
    }

    .eld-home-category-card__number {
        top: 7px;
        left: 7px;
        min-width: 26px;
        min-height: 22px;
        padding: 0 6px;
        font-size: 10px;
    }

    .eld-home-category-card__media {
        width: 100%;
        height: 86px;
        min-height: 86px;
        justify-self: center;
        margin-right: auto;
        margin-left: auto;
        border-radius: 11px;
    }

    .eld-home-category-card__media img {
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 6px;
        margin: auto;
        object-position: center center;
    }

    .eld-home-category-card strong {
        min-height: 30px;
        padding: 0 2px 2px;
        font-size: 12px;
        line-height: 1.15;
    }

    .eld-med-hero__media {
        justify-content: center;
        justify-items: center;
        margin-right: auto;
        margin-left: auto;
    }

    .eld-med-hero__media--single {
        grid-template-columns: minmax(0, min(100%, 280px));
    }

    .eld-med-hero__image {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .eld-med-hero__image img {
        margin: auto;
        object-position: center center;
    }

    .eld-category-description-media {
        justify-content: center;
        margin-top: 14px;
        text-align: center;
    }

    .eld-category-description-media img {
        margin-right: auto;
        margin-left: auto;
    }

    .eld-home-category-card strong,
    .eld-category-description-copy,
    .eld-category-description-copy p {
        text-align: center;
    }

    .eld-med-product-card {
        min-height: 0;
        border-radius: 12px;
    }

    .eld-med-product-card__image {
        height: 104px;
        min-height: 104px;
        padding: 8px;
    }

    .eld-med-product-card__image img {
        max-height: 88px;
    }

    .eld-med-product-card__badge {
        top: 7px;
        left: 7px;
        padding: 3px 7px;
        font-size: 9px;
    }

    .eld-med-product-card__body {
        min-height: 0;
        padding: 8px;
    }

    .eld-med-product-card h3,
    .eld-med-product-card__meta {
        overflow-wrap: anywhere;
    }

    .eld-med-product-card h3 {
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        margin-bottom: 4px;
        font-size: 11.5px;
        line-height: 1.22;
    }

    .eld-med-product-card__meta {
        min-height: 15px;
        max-height: 15px;
        margin-bottom: 5px;
        font-size: 10.5px;
        line-height: 1.25;
        -webkit-line-clamp: 1;
    }

    .eld-med-stock {
        gap: 3px;
        min-height: 34px;
        margin-bottom: 5px;
    }

    .eld-med-price,
    .price_color {
        font-size: 14px;
        line-height: 1.1;
    }

    .eld-med-price--pending {
        min-height: 26px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .eld-med-availability,
    .availability {
        gap: 4px;
        font-size: 10px;
        line-height: 1.15;
    }

    .eld-med-product-card__price,
    .eld-med-product-card .product_price {
        margin-top: 0;
    }

    .eld-med-compact-basket-form .btn,
    .eld-med-product-card .btn,
    .eld-med-product-card button {
        min-height: 31px;
        padding: 6px 5px;
        font-size: 10.5px;
        line-height: 1.15;
    }

    .eld-med-product-card .btn,
    .eld-med-product-card button,
    .product_main .btn,
    .product_main button {
        width: 100%;
        white-space: normal;
    }

    .eld-med-product-main h1,
    .page_inner > h1,
    .eld-content-hero h1,
    .eld-policy-page h1 {
        font-size: clamp(28px, 9vw, 38px);
        line-height: 1.05;
    }

    .eld-med-product-detail-card .btn-group,
    .eld-med-product-detail-card form,
    .product_main .btn-group {
        max-width: 100%;
    }

    .eld-med-product-gallery-col .img-thumbnail,
    .eld-med-product-gallery-col img {
        height: auto;
        object-fit: contain;
    }

    .pagination,
    .eld-pagination {
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .pagination .page-link,
    .eld-pagination .page-link {
        min-width: 36px;
        min-height: 36px;
    }

    .basket-items {
        padding: 14px;
    }

    .basket-items > .row {
        display: grid;
        grid-template-columns: 86px 1fr;
        gap: 12px;
    }

    .basket-items > .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .basket-items .image_container,
    .basket-items .col-sm-2,
    .basket-items .col-md-2 {
        grid-row: span 3;
    }

    .basket-items .img-thumbnail,
    .basket-items .image_container img {
        width: 78px;
        height: 78px;
    }

    .shipping-payment .card,
    .eld-bank-transfer__summary,
    #basket_totals {
        overflow: hidden;
    }

    .eld-checkout-steps__list {
        grid-template-columns: 1fr;
    }

    .eld-checkout-currency,
    .eld-checkout-currency__form,
    .eld-contact__submit-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .eld-checkout-currency__form select,
    .eld-contact__submit-row .btn,
    .eld-contact__captcha input {
        width: 100%;
    }

    .eld-bank-transfer__card {
        padding: 16px;
    }

    .eld-bank-transfer__head {
        align-items: flex-start;
        gap: 8px;
    }

    .eld-bank-transfer__head > span,
    .eld-bank-transfer__fee {
        white-space: normal;
    }

    .eld-contact__grid {
        grid-template-columns: 1fr;
    }

    .eld-contact__page-content iframe {
        width: 100%;
        min-height: 260px;
    }

    .eld-home-hero__copy h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .eld-home-hero__actions,
    .eld-home-trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .eld-home-hero__actions .btn,
    .eld-home-hero__actions a,
    .eld-home-trust a,
    .eld-home-trust span {
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .eld-home-hero__visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-configurator__body,
    .eld-chair-configurator__panel,
    .eld-chair-configurator__stage {
        min-width: 0;
    }

    .eld-chair-preview {
        min-height: 260px;
        padding: 12px;
    }

    .eld-chair-preview__canvas {
        --r1-width: 112%;
        width: var(--r1-width);
        aspect-ratio: var(--eld-r1-coordinate-ratio);
        height: auto;
        max-height: none;
    }

    .eld-chair-option-grid,
    .eld-chair-option-grid--compact,
    .eld-chair-tv-grid,
    .eld-chair-stool-grid,
    .eld-chair-extra-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eld-chair-color-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eld-chair-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-summary div {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .eld-chair-cart-box .btn,
    .eld-chair-configurator__quote {
        width: 100%;
    }

    .eld-chair-mobile-preview {
        --eld-mobile-preview-right: 12px;
        --eld-mobile-preview-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        --eld-mobile-preview-width: min(182px, calc(100vw - 24px));
        --eld-mobile-preview-x: 0px;
        --eld-mobile-preview-y: 0px;
        --eld-mobile-preview-scale: 1;
        --eld-mobile-r1-x: 0px;
        --eld-mobile-r1-y: 0px;
        --eld-mobile-r1-scale: 1;
        --eld-mobile-r1-rotate: 0deg;
        --eld-mobile-logo-left: 38%;
        --eld-mobile-logo-top: 89%;
        --eld-mobile-logo-width: 24px;
        --eld-mobile-logo-max-height: 24px;
        --eld-mobile-logo-x: 0px;
        --eld-mobile-logo-y: 0px;
        --eld-mobile-logo-rotate: 8deg;
        --eld-mobile-stool-left: 7%;
        --eld-mobile-stool-bottom: 62%;
        --eld-mobile-stool-width: 30%;
        --eld-mobile-stool-max-height: 42%;
        --eld-mobile-stool-x: 0px;
        --eld-mobile-stool-y: 0px;
        --eld-mobile-assistant-left: 17%;
        --eld-mobile-assistant-bottom: var(--eld-mobile-stool-bottom);
        --eld-mobile-assistant-width: var(--eld-mobile-stool-width);
        --eld-mobile-assistant-max-height: var(--eld-mobile-stool-max-height);
        --eld-mobile-assistant-x: var(--eld-mobile-stool-x);
        --eld-mobile-assistant-y: var(--eld-mobile-stool-y);
        position: fixed;
        right: var(--eld-mobile-preview-right);
        bottom: var(--eld-mobile-preview-bottom);
        z-index: 1050;
        display: grid;
        gap: 7px;
        width: var(--eld-mobile-preview-width);
        padding: 8px;
        border: 1px solid rgba(15, 127, 143, 0.22);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 46px rgba(10, 35, 54, 0.2);
        backdrop-filter: blur(12px);
        cursor: pointer;
        transform: translate(var(--eld-mobile-preview-x), var(--eld-mobile-preview-y)) scale(var(--eld-mobile-preview-scale));
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .eld-chair-mobile-preview.is-main-visible,
    .eld-chair-mobile-preview.is-outside-options {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(var(--eld-mobile-preview-x), calc(var(--eld-mobile-preview-y) + 10px)) scale(0.96);
    }

    .eld-chair-mobile-preview__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: var(--eld-primary-dark);
        font-size: 11px;
        font-weight: 950;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .eld-chair-mobile-preview__head button {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border: 0;
        border-radius: 999px;
        background: var(--eld-primary);
        color: #fff;
        font-size: 16px;
        font-weight: 950;
        line-height: 1;
        cursor: pointer;
    }

    .eld-chair-mobile-preview__viewport {
        position: relative;
        display: block;
        aspect-ratio: var(--eld-r1-coordinate-ratio);
        min-height: 0;
        overflow: hidden;
        border: 1px solid rgba(15, 127, 143, 0.14);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(244, 251, 252, 0.95), rgba(255, 255, 255, 0.98));
    }

    .eld-chair-mobile-preview__viewport > img[data-eld-chair-mobile-image] {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
        transform: translate(var(--eld-mobile-r1-x), var(--eld-mobile-r1-y)) scale(var(--eld-mobile-r1-scale)) rotate(var(--eld-mobile-r1-rotate));
        transform-origin: center;
    }

    .eld-chair-mobile-preview__option-overlay {
        --overlay-left: 50%;
        --overlay-top: 50%;
        --overlay-width: 136%;
        --overlay-scale: 1;
        --overlay-rotate: 0deg;
        position: absolute;
        left: var(--overlay-left);
        top: var(--overlay-top);
        z-index: 3;
        display: block;
        width: var(--overlay-width);
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        pointer-events: none;
        transform: translate(calc(-50% + var(--eld-mobile-r1-x)), calc(-50% + var(--eld-mobile-r1-y))) scale(var(--eld-mobile-r1-scale)) scale(var(--overlay-scale)) rotate(var(--eld-mobile-r1-rotate)) rotate(var(--overlay-rotate));
        transform-origin: center;
    }

    .eld-chair-mobile-preview__option-overlay--lamp {
        z-index: 4;
    }

    .eld-chair-mobile-preview__option-overlay--tv {
        z-index: 5;
    }

    .eld-chair-mobile-preview__option-overlay--uv {
        z-index: 6;
    }

    .eld-chair-mobile-preview__option-overlay[hidden] {
        display: none;
    }

    .eld-chair-mobile-preview__overlay {
        --mobile-stool-left: var(--eld-mobile-stool-left);
        --mobile-stool-bottom: var(--eld-mobile-stool-bottom);
        --mobile-stool-width: var(--eld-mobile-stool-width);
        --mobile-stool-max-height: var(--eld-mobile-stool-max-height);
        --mobile-stool-x: var(--eld-mobile-stool-x);
        --mobile-stool-y: var(--eld-mobile-stool-y);
        position: absolute;
        bottom: var(--mobile-stool-bottom);
        left: var(--mobile-stool-left);
        z-index: 7;
        width: var(--mobile-stool-width);
        max-height: var(--mobile-stool-max-height);
        object-fit: contain;
        pointer-events: none;
        transform: translate(var(--mobile-stool-x), var(--mobile-stool-y));
    }

    .eld-chair-mobile-preview__overlay--assistant {
        --mobile-stool-left: var(--eld-mobile-assistant-left);
        --mobile-stool-bottom: var(--eld-mobile-assistant-bottom);
        --mobile-stool-width: var(--eld-mobile-assistant-width);
        --mobile-stool-max-height: var(--eld-mobile-assistant-max-height);
        --mobile-stool-x: var(--eld-mobile-assistant-x);
        --mobile-stool-y: var(--eld-mobile-assistant-y);
    }

    .eld-chair-mobile-preview__logo {
        position: absolute;
        left: var(--eld-mobile-logo-left);
        top: var(--eld-mobile-logo-top);
        z-index: 8;
        display: block;
        width: var(--eld-mobile-logo-width);
        max-height: var(--eld-mobile-logo-max-height);
        object-fit: contain;
        pointer-events: none;
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.75));
        transform: translate(calc(-50% + var(--eld-mobile-logo-x)), calc(-50% + var(--eld-mobile-logo-y))) rotate(var(--eld-mobile-logo-rotate));
    }

    .eld-chair-mobile-preview__logo[hidden] {
        display: none;
    }

    .eld-chair-mobile-preview__meta {
        display: grid;
        gap: 2px;
        text-align: center;
    }

    .eld-chair-mobile-preview__meta strong {
        color: var(--eld-primary-dark);
        font-size: 15px;
        font-weight: 950;
    }

    .eld-chair-mobile-preview__meta span {
        color: var(--eld-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.25;
    }

    .eld-chair-mobile-preview.is-collapsed {
        width: auto;
        padding: 7px;
    }

    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__viewport,
    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__meta,
    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__head span {
        display: none;
    }
}

@media (max-width: 480px) {
    .eld-med-header__inner,
    .eld-med-nav-wrap,
    .eld-med-page,
    .eld-home-page {
        padding-right: 10px;
        padding-left: 10px;
    }

    .eld-med-topbar__trust,
    .eld-med-account-links {
        gap: 8px;
        font-size: 12px;
    }

    .eld-med-topbar__trust > span,
    .eld-med-topbar__trust > a,
    .eld-topbar-menu__toggle {
        padding-left: 10px;
    }

    .eld-med-brand__logo {
        max-width: 190px;
    }

    .eld-med-search {
        grid-template-columns: 1fr;
    }

    .eld-med-search .btn {
        width: 100%;
    }

    .eld-med-mega-menu__grid,
    .eld-med-mega-menu__list.eld-med-mega-menu__grid,
    .eld-med-mega-menu__body {
        grid-template-columns: 1fr;
    }

    .eld-med-page__inner,
    .page_inner,
    .eld-home-hero,
    .eld-home-section,
    .eld-chair-configurator,
    .eld-content-card,
    .eld-content-aside,
    .eld-policy-section,
    .eld-med-product-detail-card {
        padding: 14px;
        border-radius: 16px;
    }

    .eld-home-hero__visual {
        grid-template-columns: 1fr;
    }

    .eld-chair-option-grid,
    .eld-chair-option-grid--compact,
    .eld-chair-tv-grid,
    .eld-chair-stool-grid,
    .eld-chair-extra-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-chair-color-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eld-chair-summary {
        grid-template-columns: 1fr;
    }

    .basket-items > .row {
        grid-template-columns: 1fr;
    }

    .basket-items .image_container,
    .basket-items .col-sm-2,
    .basket-items .col-md-2 {
        grid-row: auto;
    }

    .basket-items .img-thumbnail,
    .basket-items .image_container img {
        width: 100%;
        height: 150px;
    }

    .eld-checkout-steps__link {
        min-height: 44px;
        padding: 9px 10px;
    }

    .eld-bank-transfer__line,
    .eld-bank-transfer__note,
    .eld-bank-transfer__reference-copy,
    .shipping-payment .card,
    #basket_totals {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 575.98px) {
    .eld-med-header__search,
    .eld-med-header__search .eld-med-search {
        width: 100%;
        justify-items: center;
        text-align: center;
    }

    .eld-med-search .form-control {
        text-align: center;
        padding-right: 18px;
        padding-left: 18px;
    }

    .eld-med-search .form-control::placeholder {
        text-align: center;
    }

    .eld-med-topbar__actions .eld-med-account-links {
        display: flex;
        justify-content: center;
        justify-self: center;
        width: 100%;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .eld-med-topbar__actions .eld-med-account-links > li {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .eld-med-topbar__actions .eld-med-account-links a {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .eld-services-hero,
    .eld-services-grid,
    .eld-services-steps {
        grid-template-columns: 1fr;
    }

    .eld-services-hero__panel {
        min-height: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .eld-services-hero,
    .eld-services-intro,
    .eld-services-section,
    .eld-services-process,
    .eld-services-cta {
        padding: 18px;
        border-radius: var(--eld-radius-sm);
    }

    .eld-services-hero h1 {
        font-size: 32px;
    }

    .eld-services-hero__actions,
    .eld-services-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .eld-services-hero__actions .btn,
    .eld-services-cta .btn {
        width: 100%;
    }

    .eld-services-hero__panel {
        grid-template-columns: 1fr;
    }
}

.eld-checkout-preview-totals #basket_totals .table-sm th.total,
.eld-checkout-preview-totals #basket_totals .table-sm td.total,
.eld-checkout-preview-totals #basket_totals .table-sm .total,
.eld-checkout-preview-totals #basket_totals .table-sm h3,
.eld-checkout-preview-totals #basket_totals .table-sm .price_color {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
}

.eld-checkout-preview-totals #basket_totals .table-sm tr,
.eld-checkout-preview-totals #basket_totals .table-sm tr:not(:has(h3)) {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
}

/* R1 responsive overlay controls - tablet */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .eld-chair-assistant-popover {
        --assistant-popover-width: min(420px, calc(100vw - 36px));
        --assistant-popover-max-height: calc(100dvh - 36px);
        --assistant-popover-columns: repeat(3, minmax(0, 1fr));
        --assistant-popover-option-image-height: 56px;
        --assistant-popover-option-min-height: 88px;
        position: fixed;
        top: 50%;
        right: 18px;
        left: auto;
        width: var(--assistant-popover-width);
        transform: translateY(-50%);
    }

    .eld-chair-assistant-popover::before {
        display: none;
    }

    .eld-chair-assistant-popover__head {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: -4px -4px 10px;
        padding: 4px;
        background: #fff;
    }

    .eld-chair-preview {
        --eld-r1-base-x: -20px;
        --eld-r1-base-y: 0px;
        --eld-r1-base-width: clamp(502px, 77vw, 653px);
        --eld-r1-base-height: clamp(300px, 46vw, 390px);
        min-height: clamp(340px, 50vw, 430px);
        overflow: hidden;
    }

    .eld-chair-preview__canvas {
        --r1-move-x: var(--eld-chair-main-image-x);
        --r1-move-y: var(--eld-chair-main-image-y);
        --r1-width: var(--eld-chair-main-image-width);
        width: var(--r1-width);
        aspect-ratio: var(--eld-r1-coordinate-ratio);
        height: auto;
        max-width: 720px;
        max-height: none;
    }

    .eld-chair-option-overlay {
        width: var(--overlay-width);
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .eld-chair-option-overlay--m1 {
        --overlay-left: 44.5%;
        --overlay-top: 55%;
        --overlay-width: 107%;
    }

    .eld-chair-option-overlay--m2 {
        --overlay-left: 50%;
        --overlay-top: 32%;
        --overlay-width: 101%;
    }

    .eld-chair-option-overlay--m3 {
        --overlay-left: 66%;
        --overlay-top: 68%;
        --overlay-width: 95%;
    }

    .eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }

    .eld-chair-option-overlay--l1 {
        --overlay-left: 51%;
        --overlay-top: 38%;
        --overlay-width: 119%;
    }

    .eld-chair-option-overlay--l2 {
        --overlay-left: 52%;
        --overlay-top: 40.5%;
        --overlay-width: 121%;
    }

    .eld-chair-option-overlay--l3 {
        --overlay-left: 72.5%;
        --overlay-top: 13%;
        --overlay-width: 17%;
    }

    .eld-chair-option-overlay--l4 {
        --overlay-left: 58%;
        --overlay-top: 43.5%;
        --overlay-width: 94%;
    }

    .eld-chair-option-overlay--tv1 {
        --overlay-left: 54%;
        --overlay-top: 38%;
        --overlay-width: 77%;
    }

    .eld-chair-option-overlay--tv2 {
        --overlay-left: 53%;
        --overlay-top: 37%;
        --overlay-width: 71%;
    }

    .eld-chair-option-overlay--uv-on {
        --overlay-left: 49.5%;
        --overlay-top: 42%;
        --overlay-width: 86%;
    }

    .eld-chair-stool-overlay {
        --move-x: 18px;
        --move-y: -141px;
        --overlay-width: clamp(82px, 16vw, 140px);
        --overlay-max-height: 42%;
    }

    .eld-chair-stool-overlay--assistant {
        --move-x: -3px;
        --move-y: -139px;
    }
}

/* R1 responsive overlay controls - phone */
@media (max-width: 767.98px) {
    .eld-chair-assistant-popover {
        --assistant-popover-width: auto;
        --assistant-popover-max-height: min(78dvh, calc(100dvh - 24px));
        --assistant-popover-columns: repeat(3, minmax(0, 1fr));
        --assistant-popover-option-image-height: 46px;
        --assistant-popover-option-min-height: 76px;
        position: fixed;
        top: auto;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: 12px;
        width: auto;
        padding: 12px;
        border-radius: 16px;
        transform: none;
    }

    .eld-chair-assistant-popover::before {
        display: none;
    }

    .eld-chair-assistant-popover__head {
        position: sticky;
        top: 0;
        z-index: 2;
        margin: -4px -4px 10px;
        padding: 4px;
        background: #fff;
    }

    .eld-chair-preview {
        --eld-r1-base-x: var(--eld-r1-phone-x);
        --eld-r1-base-y: var(--eld-r1-phone-y);
        --eld-r1-base-width: var(--eld-r1-phone-width);
        --eld-r1-base-height: clamp(220px, 62vw, 310px);
        min-height: clamp(250px, 72vw, 330px);
        overflow: hidden;
    }

    .eld-chair-preview__canvas {
        --r1-move-x: var(--eld-r1-phone-x);
        --r1-move-y: var(--eld-r1-phone-y);
        --r1-width: var(--eld-r1-phone-width);
        width: var(--r1-width);
        aspect-ratio: var(--eld-r1-coordinate-ratio);
        height: auto;
        max-width: none;
        max-height: none;
    }

    .eld-chair-option-overlay {
        width: var(--overlay-width);
        height: 100%;
        max-width: 100%;
        max-height: 100%;
    }

    .eld-chair-option-overlay--m1 {
        --overlay-left: 44.5%;
        --overlay-top: 55%;
        --overlay-width: 107%;
    }

    .eld-chair-option-overlay--m2 {
        --overlay-left: 50%;
        --overlay-top: 32%;
        --overlay-width: 101%;
    }

    .eld-chair-option-overlay--m3 {
        --overlay-left: 66%;
        --overlay-top: 68%;
        --overlay-width: 95%;
    }

    .eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }

    .eld-chair-option-overlay--l1 {
        --overlay-left: 51%;
        --overlay-top: 38%;
        --overlay-width: 119%;
    }

    .eld-chair-option-overlay--l2 {
        --overlay-left: 52%;
        --overlay-top: 40.5%;
        --overlay-width: 121%;
    }

    .eld-chair-option-overlay--l3 {
        --overlay-left: 72.5%;
        --overlay-top: 13%;
        --overlay-width: 17%;
    }

    .eld-chair-option-overlay--l4 {
        --overlay-left: 58%;
        --overlay-top: 43.5%;
        --overlay-width: 94%;
    }

    .eld-chair-option-overlay--tv1 {
        --overlay-left: 54%;
        --overlay-top: 38%;
        --overlay-width: 77%;
    }

    .eld-chair-option-overlay--tv2 {
        --overlay-left: 53%;
        --overlay-top: 37%;
        --overlay-width: 71%;
    }

    .eld-chair-option-overlay--uv-on {
        --overlay-left: 49.5%;
        --overlay-top: 42%;
        --overlay-width: 86%;
    }

    .eld-chair-client-logo-overlay {
        left: 40%;
        top: 88%;
        width: clamp(28px, 8.5vw, 42px);
        max-height: 30px;
    }

    .eld-chair-stool-overlay {
        --move-x: 18px;
        --move-y: -141px;
        --overlay-width: clamp(82px, 16vw, 140px);
        --overlay-max-height: 42%;
    }

    .eld-chair-stool-overlay--assistant {
        --move-x: -3px;
        --move-y: -139px;
    }
}

/* R1 responsive overlay controls - small phone */
@media (max-width: 480px) {
    .eld-chair-assistant-popover {
        --assistant-popover-columns: repeat(2, minmax(0, 1fr));
        --assistant-popover-option-image-height: 50px;
        --assistant-popover-option-min-height: 82px;
    }

    .eld-chair-preview {
        --eld-r1-base-x: var(--eld-r1-small-phone-x);
        --eld-r1-base-y: var(--eld-r1-small-phone-y);
        --eld-r1-base-width: var(--eld-r1-small-phone-width);
        --eld-r1-base-height: clamp(205px, 64vw, 280px);
        min-height: clamp(238px, 76vw, 305px);
    }

    .eld-chair-preview__canvas {
        --r1-move-x: var(--eld-r1-small-phone-x);
        --r1-move-y: var(--eld-r1-small-phone-y);
        --r1-width: var(--eld-r1-small-phone-width);
    }

    .eld-chair-option-overlay--m3 {
        --overlay-left: 66.5%;
        --overlay-top: 68.5%;
    }

    .eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }

    .eld-chair-stool-overlay {
        --move-x: 18px;
        --move-y: -141px;
        --overlay-width: clamp(82px, 16vw, 140px);
        --overlay-max-height: 42%;
    }

    .eld-chair-stool-overlay--assistant {
        --move-x: -3px;
        --move-y: -139px;
    }
}

/* R1 responsive overlay controls - tablet preview */
@media (max-width: 1199.98px) and (min-width: 768px) {
    .eld-chair-mobile-preview {
        --eld-mobile-preview-right: 18px;
        --eld-mobile-preview-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        --eld-mobile-preview-width: min(224px, calc(100vw - 36px));
        --eld-mobile-preview-x: 0px;
        --eld-mobile-preview-y: 0px;
        --eld-mobile-preview-scale: 1;
        --eld-mobile-r1-x: 0px;
        --eld-mobile-r1-y: 0px;
        --eld-mobile-r1-scale: 1;
        --eld-mobile-r1-rotate: 0deg;
        --eld-mobile-logo-left: 38%;
        --eld-mobile-logo-top: 89%;
        --eld-mobile-logo-width: 28px;
        --eld-mobile-logo-max-height: 28px;
        --eld-mobile-logo-x: 0px;
        --eld-mobile-logo-y: 0px;
        --eld-mobile-logo-rotate: 8deg;
        --eld-mobile-stool-left: 7%;
        --eld-mobile-stool-bottom: 62%;
        --eld-mobile-stool-width: 30%;
        --eld-mobile-stool-max-height: 42%;
        --eld-mobile-stool-x: 0px;
        --eld-mobile-stool-y: 0px;
        --eld-mobile-assistant-left: 17%;
        --eld-mobile-assistant-bottom: var(--eld-mobile-stool-bottom);
        --eld-mobile-assistant-width: var(--eld-mobile-stool-width);
        --eld-mobile-assistant-max-height: var(--eld-mobile-stool-max-height);
        --eld-mobile-assistant-x: var(--eld-mobile-stool-x);
        --eld-mobile-assistant-y: var(--eld-mobile-stool-y);
        position: fixed;
        right: var(--eld-mobile-preview-right);
        bottom: var(--eld-mobile-preview-bottom);
        z-index: 1050;
        display: grid;
        gap: 8px;
        width: var(--eld-mobile-preview-width);
        padding: 10px;
        border: 1px solid rgba(15, 127, 143, 0.22);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 46px rgba(10, 35, 54, 0.2);
        backdrop-filter: blur(12px);
        cursor: pointer;
        transform: translate(var(--eld-mobile-preview-x), var(--eld-mobile-preview-y)) scale(var(--eld-mobile-preview-scale));
        transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    }

    .eld-chair-mobile-preview.is-main-visible,
    .eld-chair-mobile-preview.is-outside-options {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(var(--eld-mobile-preview-x), calc(var(--eld-mobile-preview-y) + 10px)) scale(0.96);
    }

    .eld-chair-mobile-preview.is-main-visible:not(.is-outside-options) {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(var(--eld-mobile-preview-x), var(--eld-mobile-preview-y)) scale(var(--eld-mobile-preview-scale));
    }

    .eld-chair-mobile-preview__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        color: var(--eld-primary-dark);
        font-size: 11px;
        font-weight: 950;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .eld-chair-mobile-preview__head button {
        display: grid;
        place-items: center;
        width: 28px;
        height: 28px;
        border: 0;
        border-radius: 999px;
        background: var(--eld-primary);
        color: #fff;
        font-size: 16px;
        font-weight: 950;
        line-height: 1;
        cursor: pointer;
    }

    .eld-chair-mobile-preview__viewport {
        position: relative;
        display: block;
        aspect-ratio: var(--eld-r1-coordinate-ratio);
        min-height: 0;
        overflow: hidden;
        border: 1px solid rgba(15, 127, 143, 0.14);
        border-radius: 14px;
        background: linear-gradient(180deg, rgba(244, 251, 252, 0.95), rgba(255, 255, 255, 0.98));
    }

    .eld-chair-mobile-preview__viewport > img[data-eld-chair-mobile-image] {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: contain;
        transform: translate(var(--eld-mobile-r1-x), var(--eld-mobile-r1-y)) scale(var(--eld-mobile-r1-scale)) rotate(var(--eld-mobile-r1-rotate));
        transform-origin: center;
    }

    .eld-chair-mobile-preview__option-overlay {
        --overlay-left: 50%;
        --overlay-top: 50%;
        --overlay-width: 138%;
        --overlay-scale: 1;
        --overlay-rotate: 0deg;
        position: absolute;
        left: var(--overlay-left);
        top: var(--overlay-top);
        z-index: 3;
        display: block;
        width: var(--overlay-width);
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: contain;
        pointer-events: none;
        transform: translate(calc(-50% + var(--eld-mobile-r1-x)), calc(-50% + var(--eld-mobile-r1-y))) scale(var(--eld-mobile-r1-scale)) scale(var(--overlay-scale)) rotate(var(--eld-mobile-r1-rotate)) rotate(var(--overlay-rotate));
        transform-origin: center;
    }

    .eld-chair-mobile-preview__option-overlay--lamp {
        z-index: 4;
    }

    .eld-chair-mobile-preview__option-overlay--tv {
        z-index: 5;
    }

    .eld-chair-mobile-preview__option-overlay--uv {
        z-index: 6;
    }

    .eld-chair-mobile-preview__option-overlay[hidden] {
        display: none;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m1 {
        --overlay-left: 44%;
        --overlay-top: 55%;
        --overlay-width: 107%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m2 {
        --overlay-left: 50%;
        --overlay-top: 32%;
        --overlay-width: 101%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3 {
        --overlay-left: 66%;
        --overlay-top: 68%;
        --overlay-width: 95%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l1 {
        --overlay-left: 51%;
        --overlay-top: 38%;
        --overlay-width: 119%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l2 {
        --overlay-left: 52%;
        --overlay-top: 40.5%;
        --overlay-width: 121%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l3 {
        --overlay-left: 72.5%;
        --overlay-top: 13%;
        --overlay-width: 17%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l4 {
        --overlay-left: 58%;
        --overlay-top: 43.5%;
        --overlay-width: 94%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--tv1 {
        --overlay-left: 54%;
        --overlay-top: 38%;
        --overlay-width: 77%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--tv2 {
        --overlay-left: 53%;
        --overlay-top: 37%;
        --overlay-width: 71%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--uv-on {
        --overlay-left: 49.5%;
        --overlay-top: 42%;
        --overlay-width: 86%;
    }

    .eld-chair-mobile-preview__overlay {
        --mobile-stool-left: var(--eld-mobile-stool-left);
        --mobile-stool-bottom: var(--eld-mobile-stool-bottom);
        --mobile-stool-width: var(--eld-mobile-stool-width);
        --mobile-stool-max-height: var(--eld-mobile-stool-max-height);
        --mobile-stool-x: var(--eld-mobile-stool-x);
        --mobile-stool-y: var(--eld-mobile-stool-y);
        position: absolute;
        bottom: var(--mobile-stool-bottom);
        left: var(--mobile-stool-left);
        z-index: 7;
        width: var(--mobile-stool-width);
        max-height: var(--mobile-stool-max-height);
        object-fit: contain;
        pointer-events: none;
        transform: translate(var(--mobile-stool-x), var(--mobile-stool-y));
    }

    .eld-chair-mobile-preview__overlay--assistant {
        --mobile-stool-left: var(--eld-mobile-assistant-left);
        --mobile-stool-bottom: var(--eld-mobile-assistant-bottom);
        --mobile-stool-width: var(--eld-mobile-assistant-width);
        --mobile-stool-max-height: var(--eld-mobile-assistant-max-height);
        --mobile-stool-x: var(--eld-mobile-assistant-x);
        --mobile-stool-y: var(--eld-mobile-assistant-y);
    }

    .eld-chair-mobile-preview__logo {
        position: absolute;
        left: var(--eld-mobile-logo-left);
        top: var(--eld-mobile-logo-top);
        z-index: 8;
        display: block;
        width: var(--eld-mobile-logo-width);
        max-height: var(--eld-mobile-logo-max-height);
        object-fit: contain;
        pointer-events: none;
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.75));
        transform: translate(calc(-50% + var(--eld-mobile-logo-x)), calc(-50% + var(--eld-mobile-logo-y))) rotate(var(--eld-mobile-logo-rotate));
    }

    .eld-chair-mobile-preview__logo[hidden] {
        display: none;
    }

    .eld-chair-mobile-preview__meta {
        display: grid;
        gap: 2px;
        text-align: center;
    }

    .eld-chair-mobile-preview__meta strong {
        color: var(--eld-primary-dark);
        font-size: 16px;
        font-weight: 950;
    }

    .eld-chair-mobile-preview__meta span {
        color: var(--eld-muted);
        font-size: 11px;
        font-weight: 800;
        line-height: 1.25;
    }

    .eld-chair-mobile-preview.is-collapsed {
        width: auto;
        padding: 8px;
    }

    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__viewport,
    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__meta,
    .eld-chair-mobile-preview.is-collapsed .eld-chair-mobile-preview__head span {
        display: none;
    }
}

/* R1 responsive overlay controls - phone preview */
@media (max-width: 767.98px) {
    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m1 {
        --overlay-left: 44%;
        --overlay-top: 55%;
        --overlay-width: 107%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m2 {
        --overlay-left: 50%;
        --overlay-top: 32%;
        --overlay-width: 101%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3 {
        --overlay-left: 66%;
        --overlay-top: 68%;
        --overlay-width: 95%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l1 {
        --overlay-left: 51%;
        --overlay-top: 38%;
        --overlay-width: 119%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l2 {
        --overlay-left: 52%;
        --overlay-top: 40.5%;
        --overlay-width: 121%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l3 {
        --overlay-left: 72.5%;
        --overlay-top: 13%;
        --overlay-width: 17%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--l4 {
        --overlay-left: 58%;
        --overlay-top: 43.5%;
        --overlay-width: 94%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--tv1 {
        --overlay-left: 54%;
        --overlay-top: 38%;
        --overlay-width: 77%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--tv2 {
        --overlay-left: 53%;
        --overlay-top: 37%;
        --overlay-width: 71%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--uv-on {
        --overlay-left: 49.5%;
        --overlay-top: 42%;
        --overlay-width: 86%;
    }
}

/* R1 responsive overlay controls - small phone preview */
@media (max-width: 480px) {
    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3 {
        --overlay-left: 66.5%;
        --overlay-top: 68.5%;
    }

    .eld-chair-mobile-preview__option-overlay.eld-chair-option-overlay--m3-plat {
        --overlay-left: 73%;
        --overlay-top: 66%;
        --overlay-width: 49%;
    }
}

/* Final mobile catalogue override: keep category/product cards compact. */
@media (max-width: 767.98px) {
    .row.eld-med-product-grid,
    .row.eld-med-product-grid--wide,
    .row.eld-home-product-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        margin-right: -4px !important;
        margin-left: -4px !important;
    }

    .row.eld-med-product-grid > li,
    .row.eld-med-product-grid--wide > li,
    .row.eld-home-product-grid > li {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding-right: 4px !important;
        padding-left: 4px !important;
        margin-bottom: 8px !important;
    }

    .eld-med-toolbar {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        padding: 11px !important;
        text-align: center !important;
    }

    .eld-med-results-count {
        width: 100% !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    .eld-med-toolbar__actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .eld-med-sort,
    .eld-med-page-size {
        width: 100% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        color: var(--eld-muted) !important;
        font-size: 11.5px !important;
        font-weight: 850 !important;
        text-align: center !important;
    }

    .eld-med-sort .form-group {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        gap: 5px !important;
        align-items: center !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .eld-med-sort .form-group > label,
    .eld-med-page-size label,
    .eld-med-page-size span {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 34px !important;
        margin: 0 !important;
        color: var(--eld-muted) !important;
        font-size: 11.5px !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .eld-med-sort .form-group > div {
        width: 100% !important;
        min-width: 0 !important;
    }

    .eld-med-sort select,
    .eld-med-page-size select {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 34px !important;
        padding: 5px 28px 5px 8px !important;
        border-radius: 8px !important;
        font-size: 11.5px !important;
        line-height: 1.1 !important;
    }

    .eld-med-page-size {
        display: grid !important;
        grid-template-columns: auto minmax(48px, 62px) auto !important;
        gap: 5px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .eld-med-product-card {
        min-height: 0 !important;
        border-radius: 11px !important;
        box-shadow: 0 8px 22px rgba(18, 46, 66, 0.08) !important;
        text-align: center !important;
    }

    .eld-med-product-card__image {
        height: 96px !important;
        min-height: 96px !important;
        padding: 7px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .eld-med-product-card__image img {
        max-height: 82px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        object-position: center center !important;
    }

    .eld-med-product-card__badge {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .eld-med-product-card__body {
        align-items: center !important;
        min-height: 0 !important;
        padding: 7px !important;
        text-align: center !important;
    }

    .eld-med-product-card h3 {
        width: 100% !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        margin-bottom: 3px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .eld-med-product-card h3 a {
        text-align: center !important;
    }

    .eld-med-product-card__meta {
        width: 100% !important;
        min-height: 14px !important;
        max-height: 14px !important;
        margin-bottom: 4px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        -webkit-line-clamp: 1 !important;
        text-align: center !important;
    }

    .eld-med-product-card__price,
    .eld-med-product-card .product_price {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-top: 0 !important;
        text-align: center !important;
    }

    .eld-med-stock {
        align-items: center !important;
        gap: 2px !important;
        justify-content: center !important;
        min-height: 30px !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }

    .eld-med-price,
    .price_color {
        font-size: 13px !important;
        line-height: 1.1 !important;
    }

    .eld-med-availability,
    .availability {
        font-size: 9.5px !important;
        line-height: 1.1 !important;
    }

    .eld-med-compact-basket-form .btn,
    .eld-med-product-card .btn,
    .eld-med-product-card button {
        justify-content: center !important;
        min-height: 29px !important;
        padding: 5px 4px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        text-align: center !important;
    }

    .eld-med-compact-basket-form {
        width: 100% !important;
    }

    .eld-home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .eld-home-category-card {
        grid-template-rows: 78px auto !important;
        gap: 6px !important;
        min-height: 126px !important;
        padding: 7px !important;
        border-radius: 12px !important;
        text-align: center !important;
    }

    .eld-home-category-card__media {
        width: 100% !important;
        height: 78px !important;
        min-height: 78px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        justify-self: center !important;
    }

    .eld-home-category-card__media img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-position: center center !important;
    }

    .eld-home-category-card strong,
    .eld-category-description-copy,
    .eld-category-description-copy p {
        text-align: center !important;
    }
}

@media (max-width: 380px) {
    .eld-med-toolbar__actions {
        gap: 6px !important;
    }

    .eld-med-sort,
    .eld-med-page-size,
    .eld-med-sort .form-group > label,
    .eld-med-page-size label,
    .eld-med-page-size span,
    .eld-med-sort select,
    .eld-med-page-size select {
        font-size: 10.5px !important;
    }
}

/* B2B buying gadgets */
.eld-home-assistant {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: var(--eld-radius-md);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,248,250,0.96));
    box-shadow: var(--eld-shadow-soft);
}

.eld-home-assistant__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.eld-home-assistant__head h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 22px;
    font-weight: 950;
    line-height: 1.15;
}

.eld-home-assistant__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.eld-home-assistant__grid a {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(15, 127, 143, 0.16);
    border-radius: 16px;
    background: #fff;
    color: var(--eld-text);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.eld-home-assistant__grid a:hover,
.eld-home-assistant__grid a:focus {
    transform: translateY(-2px);
    border-color: rgba(15, 127, 143, 0.34);
    box-shadow: var(--eld-shadow-soft);
    color: var(--eld-text);
    outline: none;
}

.eld-home-assistant__grid i {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: var(--eld-primary-soft);
    color: var(--eld-primary-dark);
}

.eld-home-assistant__grid strong {
    min-height: 36px;
    color: var(--eld-text);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
}

.eld-home-assistant__grid span {
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 800;
}

.eld-home-assistant__quote i {
    background: #fff7e6;
    color: var(--eld-warning);
}

.eld-med-search {
    position: relative;
}

.eld-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 1300;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(223, 232, 239, 0.96);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(4, 19, 31, 0.20);
}

.eld-search-suggestions[hidden] {
    display: none;
}

.eld-search-suggestions p {
    margin: 0;
    padding: 10px 12px;
    color: var(--eld-muted);
    font-size: 13px;
    font-weight: 750;
}

.eld-search-suggestion {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 7px;
    border-radius: 12px;
    color: var(--eld-text);
}

.eld-search-suggestion:hover,
.eld-search-suggestion:focus {
    background: var(--eld-primary-soft);
    color: var(--eld-text);
    outline: none;
}

.eld-search-suggestion img,
.eld-search-suggestion__fallback {
    width: 56px;
    height: 48px;
    border: 1px solid var(--eld-border);
    border-radius: 10px;
    background: #f8fbfc;
    object-fit: contain;
}

.eld-search-suggestion strong,
.eld-search-suggestion small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eld-search-suggestion strong {
    color: var(--eld-text);
    font-size: 13px;
    font-weight: 900;
}

.eld-search-suggestion small {
    color: var(--eld-muted);
    font-size: 12px;
    font-weight: 700;
}

.eld-med-product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.eld-med-product-card__badges .eld-med-product-card__badge {
    position: static;
    top: auto;
    left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1;
}

.eld-med-product-card__badge--stock {
    background: #ecfdf5;
    border-color: rgba(25, 135, 84, 0.22);
    color: #116149;
}

.eld-med-product-card__badge--quote {
    background: #fff7e6;
    border-color: rgba(161, 92, 7, 0.20);
    color: var(--eld-warning);
}

.eld-med-product-card__badge--delivery {
    margin-left: auto;
    color: #29415c;
}

.eld-med-product-card__tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.eld-card-tool-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(15, 127, 143, 0.20);
    border-radius: 12px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.eld-card-tool-button:hover,
.eld-card-tool-button:focus {
    transform: translateY(-1px);
    border-color: rgba(15, 127, 143, 0.38);
    background: var(--eld-primary-soft);
    outline: none;
}

.eld-product-quote-button,
.eld-chair-quote-button {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.eld-quote-dock {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--eld-primary-dark);
    color: #fff;
    box-shadow: 0 18px 46px rgba(4, 19, 31, 0.24);
    font-weight: 900;
    cursor: pointer;
}

.eld-quote-dock[hidden] {
    display: none;
}

.eld-quote-dock strong {
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 12px;
}

.eld-quote-panel {
    position: fixed;
    right: 18px;
    bottom: 76px;
    z-index: 1501;
    width: min(420px, calc(100vw - 24px));
    max-height: min(620px, calc(100vh - 110px));
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    border: 1px solid rgba(223, 232, 239, 0.96);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(4, 19, 31, 0.24);
    overflow: hidden;
}

.eld-quote-panel[hidden] {
    display: none;
}

.eld-quote-panel__head,
.eld-quote-panel__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--eld-border);
}

.eld-quote-panel__actions {
    border-top: 1px solid var(--eld-border);
    border-bottom: 0;
}

.eld-quote-panel__head strong {
    color: var(--eld-text);
    font-size: 16px;
    font-weight: 950;
}

.eld-quote-panel__head button,
.eld-quote-item button {
    border: 0;
    background: transparent;
    color: var(--eld-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.eld-quote-panel__items {
    display: grid;
    gap: 8px;
    padding: 12px;
    overflow: auto;
}

.eld-quote-panel__empty {
    margin: 0;
    color: var(--eld-muted);
    font-size: 14px;
}

.eld-quote-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border: 1px solid var(--eld-border);
    border-radius: 14px;
    background: #fbfdff;
}

.eld-quote-item img,
.eld-quote-item__fallback {
    width: 58px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid var(--eld-border);
    background: #fff;
    object-fit: contain;
}

.eld-quote-item strong,
.eld-quote-item span,
.eld-quote-item small {
    display: block;
}

.eld-quote-item strong {
    color: var(--eld-text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
}

.eld-quote-item span,
.eld-quote-item small {
    margin-top: 3px;
    color: var(--eld-muted);
    font-size: 12px;
    line-height: 1.3;
}

.eld-quick-view-open {
    overflow: hidden;
}

.eld-quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: grid;
    place-items: center;
    padding: 20px;
}

.eld-quick-view-modal[hidden] {
    display: none;
}

.eld-quick-view-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 22, 34, 0.48);
}

.eld-quick-view-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(860px, calc(100vw - 28px));
    max-height: calc(100vh - 40px);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 32px 80px rgba(4, 19, 31, 0.28);
    overflow: auto;
}

.eld-quick-view-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--eld-text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--eld-shadow-soft);
}

.eld-quick-view {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    padding: 24px;
}

.eld-quick-view__media {
    min-height: 310px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9fcfd, #f0f7f8);
    border: 1px solid var(--eld-border);
}

.eld-quick-view__media img {
    max-width: 100%;
    max-height: 330px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.eld-quick-view__fallback {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border-radius: 20px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-size: 34px;
    font-weight: 950;
}

.eld-quick-view__body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 12px;
}

.eld-quick-view__body h2 {
    margin: 0;
    color: var(--eld-text);
    font-size: 24px;
    font-weight: 950;
    line-height: 1.15;
}

.eld-quick-view__body p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.55;
}

.eld-quick-view__actions {
    display: grid;
    gap: 8px;
}

.eld-quick-view__detail-link {
    color: var(--eld-primary-dark);
    font-weight: 900;
}

.eld-quick-view-loading {
    min-height: 180px;
    display: grid;
    place-items: center;
    color: var(--eld-muted);
    font-weight: 850;
}

.eld-mobile-purchase-bar {
    display: none;
}

.eld-summary-quote-button {
    width: 100%;
    min-height: 38px;
    margin-top: 8px;
    border: 1px solid #cfe1fa;
    border-radius: 12px;
    background: #eef5ff;
    color: #07346d;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 991px) {
    .eld-home-assistant__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .eld-home-assistant {
        padding: 16px;
    }

    .eld-home-assistant__head {
        display: grid;
        gap: 6px;
    }

    .eld-home-assistant__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-home-assistant__grid a {
        min-height: 104px;
    }

    .eld-search-suggestions {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 112px;
        max-height: 70vh;
        overflow: auto;
    }

    .eld-quick-view {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .eld-quick-view__media {
        min-height: 220px;
    }

    .eld-quote-dock {
        right: 12px;
        bottom: 12px;
    }

    .eld-has-mobile-purchase-bar .eld-quote-dock {
        bottom: 94px;
    }

    .eld-quote-panel {
        right: 12px;
        bottom: 84px;
        width: calc(100vw - 24px);
    }

    .eld-mobile-purchase-bar {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 1490;
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
        padding: 10px;
        border: 1px solid rgba(223, 232, 239, 0.96);
        border-radius: 18px;
        background: rgba(255,255,255,0.96);
        box-shadow: 0 18px 48px rgba(4, 19, 31, 0.22);
        transform: translateY(calc(100% + 18px));
        transition: transform 0.2s ease;
    }

    .eld-mobile-purchase-bar.is-visible {
        display: grid;
        transform: translateY(0);
    }

    .eld-mobile-purchase-bar__copy {
        min-width: 0;
    }

    .eld-mobile-purchase-bar__copy strong,
    .eld-mobile-purchase-bar__copy span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .eld-mobile-purchase-bar__copy strong {
        color: var(--eld-text);
        font-size: 12px;
        font-weight: 900;
    }

    .eld-mobile-purchase-bar__copy span {
        color: var(--eld-primary-dark);
        font-size: 13px;
        font-weight: 950;
    }

    .eld-mobile-purchase-bar .btn {
        min-height: 42px;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 900;
        white-space: nowrap;
    }
}

@media (max-width: 460px) {
    .eld-home-assistant__grid {
        grid-template-columns: 1fr;
    }

    .eld-med-product-card__badge--delivery {
        display: none;
    }

    .eld-card-tool-button span {
        font-size: 11px;
    }
}

.eld-home-b2b-strip,
.eld-b2b-hero,
.eld-b2b-section {
    margin: 28px 0;
}

.eld-home-b2b-strip {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 18px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(198, 213, 222, 0.84);
    border-radius: 8px;
    background: #f7fbfc;
}

.eld-home-b2b-strip h2,
.eld-b2b-section__head h2,
.eld-b2b-hero h1 {
    margin: 0;
    color: var(--eld-text);
    letter-spacing: 0;
}

.eld-home-b2b-strip nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.eld-home-b2b-strip nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid rgba(23, 97, 122, 0.18);
    border-radius: 8px;
    background: #fff;
    color: var(--eld-primary-dark);
    font-weight: 850;
    text-align: center;
}

.eld-b2b-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 22px;
    align-items: stretch;
    padding: 30px;
    border: 1px solid rgba(198, 213, 222, 0.84);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 251, 252, 0.98), rgba(255, 255, 255, 0.98)),
        #fff;
}

.eld-b2b-hero__copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.eld-b2b-hero h1 {
    max-width: 820px;
    font-size: 3.2rem;
    line-height: 1.02;
}

.eld-b2b-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--eld-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.eld-b2b-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eld-b2b-hero__proof {
    display: grid;
    gap: 10px;
    align-content: center;
}

.eld-b2b-hero__proof span {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(41, 132, 111, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--eld-text);
    font-weight: 900;
}

.eld-b2b-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.eld-b2b-section__head a {
    color: var(--eld-primary-dark);
    font-weight: 900;
}

.eld-b2b-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.eld-b2b-card {
    min-height: 210px;
    padding: 20px;
    border: 1px solid rgba(198, 213, 222, 0.84);
    border-radius: 8px;
    background: #fff;
}

.eld-b2b-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 32px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #eaf4f1;
    color: #216b5b;
    font-weight: 950;
}

.eld-b2b-card h3 {
    margin: 0 0 10px;
    color: var(--eld-text);
    font-size: 1.16rem;
}

.eld-b2b-card p {
    margin: 0;
    color: var(--eld-muted);
    line-height: 1.65;
}

.eld-b2b-product-grid {
    margin-bottom: 0;
}

.eld-b2b-steps {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(198, 213, 222, 0.84);
    border-radius: 8px;
    background: #fff;
}

.eld-b2b-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eld-b2b-steps li {
    padding: 16px;
    border-radius: 8px;
    background: #f7fbfc;
    color: var(--eld-text);
    font-weight: 750;
    line-height: 1.55;
}

.eld-b2b-steps .btn {
    justify-self: start;
}

@media (max-width: 991.98px) {
    .eld-home-b2b-strip,
    .eld-b2b-hero,
    .eld-b2b-cards,
    .eld-b2b-steps ol {
        grid-template-columns: 1fr;
    }

    .eld-home-b2b-strip nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eld-b2b-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .eld-home-b2b-strip,
    .eld-b2b-hero,
    .eld-b2b-steps {
        padding: 16px;
    }

    .eld-home-b2b-strip nav {
        grid-template-columns: 1fr;
    }

    .eld-b2b-section__head {
        display: grid;
        align-items: start;
    }

    .eld-b2b-hero h1 {
        font-size: 2rem;
    }
}
