.tmk-shell,
#footer.tmk-shell-footer {
    --tmk-blue: #053e89;
    --tmk-ink: #173b61;
    --tmk-edge: #d9e2ee;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.tmk-shell *,
#footer.tmk-shell-footer * {
    box-sizing: border-box;
}

body.tmk26-preview:has(.tmk-shell) #foundation {
    overflow: visible;
}

html:has(.tmk-shell) {
    scroll-padding-top: calc(var(--tmk-sticky-size, 145px) + 16px);
}

.tmk-shell {
    position: sticky;
    top: calc(-1 * var(--tmk-utility-size, 72px));
    z-index: 1100;
    isolation: isolate;
    color: var(--tmk-ink);
    background: #fff;
}

.tmk-width {
    width: calc(100% - 64px);
    max-width: 1280px;
    margin-inline: auto;
}

.tmk-shell #headerLine2.tmk-utility,
.tmk-shell #subHeader5.tmk-masthead {
    position: static;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 0;
    line-height: normal;
}

.tmk-shell #headerLine2.tmk-utility {
    background: #f5f7fa;
    border-bottom: 1px solid #e2e8f0;
}

.tmk-shell #subHeader5.tmk-masthead {
    overflow: visible;
    background: #fff;
}

.tmk-utility-inner {
    display: grid;
    grid-template-columns: max-content minmax(150px, 1fr) max-content;
    gap: 0 14px;
    align-items: center;
    padding-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.tmk-utility-links,
.tmk-section-links {
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: auto hidden;
    scrollbar-width: none;
}

.tmk-utility-links {
    grid-column: 1 / -1;
    gap: 20px;
    padding-block: 4px;
}

.tmk-utility-links > *,
.tmk-section-links > a {
    flex: none;
    white-space: nowrap;
}

.tmk-utility-links a {
    color: #52657b;
    font-size: 14px;
    line-height: 21px;
    text-decoration: none;
}

.tmk-shell #headerLine2 #topAuth {
    display: block;
    margin: 0 0 0 auto;
}

.tmk-shell #headerLine2 #topAuth > ul {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.tmk-shell #headerLine2 #topAuth > ul > li {
    margin: 0;
    padding: 0;
}

.tmk-shell #headerLine2 #topAuth > ul > li::after {
    display: none;
}

.tmk-shell #headerLine2 #topAuth a {
    color: var(--tmk-blue);
}

.tmk-shell #headerLine2 #geoPosition {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0;
}

.tmk-shell #geo-location-ref-window:not(.visible) {
    display: none;
}

.tmk-shell #geoPosition .user-geo-position-label {
    display: none;
}

.tmk-shell #geoPosition .user-geo-position-value-link {
    color: var(--tmk-blue);
    font-weight: 500;
    text-decoration: underline dashed #9dafc5 !important;
    text-underline-offset: 4px;
}

.tmk-shell #headerLine2 .user-geo-position-value-link,
.tmk-shell #headerLine2 .user-geo-position-value-link span {
    max-width: 160px;
}

.tmk-shell #geoPosition .user-geo-position-value-link::after {
    display: none;
}

.tmk-address,
.tmk-address .rk-header-address {
    color: #5d6e81;
    font-size: 14px;
    line-height: 1.4;
}

.tmk-shell .tmk-address br {
    display: none;
}

.tmk-contact {
    display: grid;
    grid-template-columns: repeat(4, max-content);
    align-items: center;
    gap: 0 12px;
}

.tmk-shell #headerLine2 #topCallBack {
    display: contents;
}

.tmk-contact > a {
    grid-column: 1;
    grid-row: 1;
    color: var(--tmk-ink);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.tmk-contact > a[href^="mailto:"] {
    grid-column: 3;
    padding-left: 16px;
    border-left: 1px solid #cfd9e6;
    color: var(--tmk-blue);
}

.tmk-contact #topCallBack a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
    color: var(--tmk-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-color: #a4b9d3;
    text-underline-offset: 4px;
}

.tmk-callback {
    grid-column: 2;
    grid-row: 1;
}

.tmk-message {
    grid-column: 4;
    grid-row: 1;
}

.tmk-masthead-inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 264px;
    align-items: center;
    gap: 18px;
    padding-block: 14px;
}

.tmk-brand {
    display: block;
    color: var(--tmk-blue);
    text-decoration: none;
}

.tmk-brand img {
    display: block;
    width: min(244px, 100%);
    height: auto;
}

.tmk-brand small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 750;
}

.tmk-shell #subHeader5 #topSearchLine {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.tmk-shell #topSearchLine .rk-header-search {
    display: flex;
    gap: 0;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 2px solid var(--tmk-blue);
    border-radius: 8px;
    background: linear-gradient(to right, #f5f8fb 0 calc(100% - 48px), var(--tmk-blue) 0);
}

.tmk-shell #topSearchLine .rk-header-search input {
    min-width: 0;
    width: 100%;
    height: 50px;
    padding: 0 16px;
    margin: 0;
    border: 0;
    border-radius: 6px 0 0 6px;
    color: var(--tmk-ink);
    background: transparent;
    font: inherit;
    font-size: 17px;
}

.tmk-shell #topSearchLine .rk-header-search button {
    position: relative;
    display: block;
    flex: 0 0 48px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    height: 50px;
    background: var(--tmk-blue);
    color: #fff;
    font-size: 0;
    line-height: 0;
}

.tmk-shell #topSearchLine .rk-header-search:focus-within {
    border-color: var(--tmk-blue);
}

.tmk-shell #topSearchLine .rk-header-search button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 21px;
    transform: translate(-50%, -50%);
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
    pointer-events: none;
}

.tmk-shell #subHeader5 .toolsContainer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.tmk-shell #subHeader5 .toolsContainer > div {
    display: block;
    float: none;
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    color: #52657b;
    line-height: 1.35;
}

.tmk-shell #subHeader5 :is(#flushTopCompare, #flushTopwishlist, #flushTopCart) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px !important;
    min-height: 24px;
    margin: 0;
    padding: 0;
}

.tmk-shell #subHeader5 .toolsContainer :is(a.text, a.countLink) {
    display: inline-flex;
    position: static;
    float: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 35px;
    min-height: 24px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.tmk-shell .topCompare {
    --tmk-tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M4 7h7v12H4zM13 4h7v15h-7zM7.5 4v3M16.5 19v2'/%3E%3C/svg%3E");
}

.tmk-shell .topWishlist {
    --tmk-tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 20 4.5 12.6C.5 8.7 6.3 2.8 12 8c5.7-5.2 11.5.7 7.5 4.6z'/%3E%3C/svg%3E");
}

.tmk-shell .cart {
    --tmk-tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 5h2l2 11h12l2-8H6M9 20h.01M18 20h.01'/%3E%3C/svg%3E");
}

.tmk-shell #subHeader5 .toolsContainer a.text .icon,
.tmk-shell #subHeader5 .toolsContainer a.countLink::before {
    content: "";
    display: inline-block;
    position: static;
    margin: 0;
    width: 21px;
    height: 23px;
    background: var(--tmk-blue);
    mask: var(--tmk-tool-icon) center / contain no-repeat;
}

.tmk-shell #subHeader5 .toolsContainer > div::after {
    display: block;
    margin-top: 5px;
    font-size: 16px;
    pointer-events: none;
}

.tmk-shell .toolsContainer > .topCompare::after { content: "Сравнение"; }
.tmk-shell .toolsContainer > .topWishlist::after { content: "Избранное"; }
.tmk-shell .toolsContainer > .cart::after { content: "Корзина"; }
.tmk-shell #subHeader5 .cart .heading { display: none; }

.tmk-shell #subHeader5 .toolsContainer :is(.value, .count) {
    position: static;
    min-width: 17px;
    width: auto;
    height: 20px;
    padding: 0 3px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: var(--tmk-blue);
    color: #fff;
    font: 650 13px / 20px system-ui, sans-serif;
}

.tmk-nav-wrap {
    background: #fff;
    border-block: 1px solid var(--tmk-edge);
}

.tmk-nav-inner {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding-block: 6px;
}

.tmk-shell .tmk-catalog-button,
.tmk-shell .tmk-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.tmk-shell .tmk-catalog-button {
    background: var(--tmk-blue);
    color: #fff;
    font-size: 17px;
    font-weight: 650;
}

.tmk-section-links {
    justify-content: space-between;
    gap: 16px;
}

.tmk-section-links > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--tmk-ink);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.tmk-section-links > a:hover,
.tmk-utility-links a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tmk-shell .tmk-quote {
    border: 1px solid #ccdbee;
    background: #edf3fb;
    color: var(--tmk-blue);
}

#tmk-catalog-panel {
    position: absolute;
    inset: 100% auto auto 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: min(1280px, calc(100vw - 32px));
    margin: 0;
    max-height: 75dvh;
    overflow: auto;
    padding: 24px;
    border: 1px solid var(--tmk-edge);
    border-radius: 0 0 10px 10px;
    color: #172b43;
    background: white;
    box-shadow: 0 15px 35px #18233124;
    overscroll-behavior: contain;
}

#tmk-catalog-panel:not([open]) {
    display: none;
}

.tmk-catalog-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tmk-edge);
}

.tmk-catalog-heading h2 {
    margin: 0;
    font: 650 24px / 1.22 system-ui, sans-serif;
}

#tmk-catalog-panel button {
    min-width: 40px;
    min-height: 40px;
    padding: 1px 6px;
    border: 1px solid #b9cdea;
    background: white;
    color: var(--tmk-blue);
    font: inherit;
    font-size: 18px;
    cursor: pointer;
}

#tmk-catalog-panel .tmk-catalog-close {
    width: 30px;
    min-width: 30px;
    padding: 0;
    color: #596575;
    background: transparent;
    border: 0;
    font-size: 28px;
}

#tmk-catalog-panel .tmk-catalog-back {
    margin-top: 12px;
    padding-inline: 12px;
}

.tmk-catalog-status:empty {
    display: none;
}

.tmk-catalog-entries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.tmk-catalog-entries > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #c9d9ed;
    border-radius: 6px;
}

.tmk-catalog-entries a,
.tmk-catalog-full {
    color: inherit;
    font-size: 18px;
    line-height: 1.4;
    text-decoration: none;
}

.tmk-catalog-entries a {
    flex: 1;
    min-height: 40px;
    overflow-wrap: anywhere;
}

.tmk-catalog-full {
    display: block;
    color: var(--tmk-blue);
    font-weight: 700;
}

#footer.tmk-shell-footer {
    height: auto;
    padding-block: 32px 24px;
    color: #fff;
    background: var(--tmk-blue);
    font-size: 18px;
    line-height: 1.7;
}

#footer.tmk-shell-footer :is(h3, .heading, a) {
    font-family: inherit;
}

.tmk-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr;
    gap: 28px;
}

#footer.tmk-shell-footer .tmk-footer-grid h3,
#footer.tmk-shell-footer .heading {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.22;
}

#footer.tmk-shell-footer .tmk-footer-grid :is(a, p, .rk-header-address) {
    display: block;
    margin: 7px 0 0;
    color: #ffffffc9;
    font-size: 18px;
    line-height: 1.7;
}

#footer.tmk-shell-footer a {
    text-decoration: none;
}

#footer.tmk-shell-footer a:hover,
#footer.tmk-shell-footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

#footer.tmk-shell-footer .tmk-brand strong {
    display: inline-block;
    width: min(220px, 100%);
    padding: 9px 12px;
    border-radius: 6px;
    background: white;
}

#footer.tmk-shell-footer .tmk-brand img {
    width: min(196px, 100%);
}

#footer.tmk-shell-footer #rowFooter {
    display: block !important;
    width: min(1280px, calc(100% - 64px)) !important;
    margin: 26px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid #ffffff50;
}

#footer.tmk-shell-footer.variant_7 #rowFooter > :is(#leftFooter, #rightFooter) {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    border: 0;
    background: transparent;
}

#footer.tmk-shell-footer #leftFooter > .footerRow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

#footer.tmk-shell-footer #leftFooter > .footerRow > .column:first-child {
    grid-column: span 2;
}

#footer.tmk-shell-footer.variant_7 #leftFooter .column {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#footer.tmk-shell-footer #leftFooter .heading {
    display: block;
    margin: 0 0 14px;
    padding: 0 !important;
    border: 0;
    background: none;
    color: #fff;
    text-transform: none;
    font-size: 20px !important;
    line-height: 1.22 !important;
}

#footer.tmk-shell-footer :is(.footerMenu a, #rightFooter, #rightFooter a, .tmk-footer-actions a) {
    color: #ffffffc9;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

#footer.tmk-shell-footer .footerMenu {
    display: block;
    margin: 0;
    padding-left: 0;
}

#footer.tmk-shell-footer #leftFooter .column:first-child .footerMenu {
    columns: 2 !important;
    column-gap: 24px;
}

#footer.tmk-shell-footer .footerMenu li {
    break-inside: avoid;
    padding: 0;
    border: 0 !important;
    margin: 0 0 9px;
}

#footer.tmk-shell-footer .footerMenu a {
    padding: 0;
    border: 0 !important;
}

#footer.tmk-shell-footer .rk-footer-logo {
    display: none;
}

#footer.tmk-shell-footer.variant_7 #rowFooter > #rightFooter {
    margin-top: 24px;
    padding-top: 22px !important;
    border-top: 1px solid #ffffff50;
}

#footer.tmk-shell-footer #rightFooter .rightTable {
    display: block;
    width: 100%;
}

#footer.tmk-shell-footer #rightFooter tbody {
    display: block;
}

#footer.tmk-shell-footer #rightFooter .rightTable tr {
    display: grid !important;
    grid-template-columns: 2fr 1fr;
    gap: 14px 30px;
}

#footer.tmk-shell-footer.variant_7 #rightFooter .rightTable :is(td, .wrap) {
    display: contents !important;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: #eef4ff;
    background: transparent;
}

#footer.tmk-shell-footer #rightFooter p {
    margin: 0;
    color: #ffffffba;
    font-family: inherit;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

#footer.tmk-shell-footer #rightFooter p strong,
#footer.tmk-shell-footer #rightFooter p a {
    color: inherit;
    font: inherit !important;
}

#footer.tmk-shell-footer #rightFooter p a {
    display: inline;
}

#footer.tmk-shell-footer #rightFooter p br {
    display: none;
}

#footer.tmk-shell-footer #rightFooter p a::after {
    content: " ";
    white-space: pre;
}

#footer.tmk-shell-footer #footerBottom {
    min-height: 0;
    height: auto;
    width: min(1280px, calc(100% - 64px));
    padding: 0;
    margin-inline: auto;
    border: 0;
    background: transparent;
}

.tmk-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 14px;
}

@media (max-width: 1100px) {
    .tmk-utility-inner { grid-template-columns: max-content minmax(0, 1fr); }
    .tmk-contact { grid-column: 1 / -1; }
    .tmk-masthead-inner { grid-template-columns: minmax(0, 1fr) 264px; }
    .tmk-masthead-inner #topSearchLine { grid-column: 1 / -1; grid-row: 2; }
    .tmk-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    #footer.tmk-shell-footer #leftFooter .heading { padding-inline-end: 28px !important; }
    #footer.tmk-shell-footer #leftFooter .heading:not(.noTabs)::after { right: 0; }
}

@media (max-width: 900px) {
    .tmk-width { width: calc(100% - 40px); }
    #footer.tmk-shell-footer #rowFooter { width: calc(100% - 40px) !important; }
    .tmk-catalog-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #footer.tmk-shell-footer #leftFooter > .footerRow { grid-template-columns: 1fr 1fr; }
    #footer.tmk-shell-footer #leftFooter > .footerRow > .column:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .tmk-contact { grid-template-columns: repeat(2, minmax(0, max-content)); }
    .tmk-contact > a[href^="mailto:"] { grid-column: 1; grid-row: 2; padding: 0; border: 0; }
    .tmk-message { grid-column: 2; grid-row: 2; }
}

@media (max-width: 670px) {
    .tmk-width { width: calc(100% - 28px); }
    #footer.tmk-shell-footer #rowFooter { width: calc(100% - 28px) !important; }
    .tmk-utility-inner { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-bottom: 8px; }
    .tmk-contact #topCallBack a { text-wrap: balance; }
    .tmk-shell #headerLine2 #geoPosition { min-height: 30px; }
    .tmk-shell #headerLine2 #topAuth { margin-left: 0; }
    .tmk-masthead-inner { grid-template-columns: minmax(0, 1fr) 132px; gap: 10px 12px; padding-block: 10px; }
    .tmk-masthead-inner .tmk-brand { grid-column: 1 / -1; }
    .tmk-masthead-inner #topSearchLine { grid-row: 3; }
    .tmk-shell #subHeader5 .toolsContainer { grid-column: 2; grid-row: 2; gap: 6px; }
    .tmk-shell #subHeader5 .toolsContainer > div::after { display: none; }
    .tmk-masthead-inner .tmk-catalog-button { grid-column: 1; grid-row: 2; justify-self: start; }
    .tmk-nav-inner { grid-template-columns: minmax(0, 1fr); gap: 5px; padding-block: 2px; }
    .tmk-nav-inner > .tmk-catalog-button { justify-self: start; }
    .tmk-section-links { justify-content: flex-start; }
    .tmk-catalog-entries { grid-template-columns: minmax(0, 1fr); }
    #footer.tmk-shell-footer { padding-block: 28px 22px; }
    .tmk-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
    .tmk-footer-grid > div:first-child { grid-column: 1 / -1; }
    #footer.tmk-shell-footer #leftFooter > .footerRow { gap: 22px 18px; }
    #footer.tmk-shell-footer #rightFooter .rightTable tr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .tmk-footer-actions { gap: 10px 15px; }
}

@media (max-width: 400px) {
    .tmk-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tmk-contact > a[href^="mailto:"] { grid-column: 2; grid-row: 1; }
    .tmk-callback { grid-column: 1; grid-row: 2; }
}

@media (max-width: 360px) {
    .tmk-contact { grid-template-columns: minmax(0, 1fr); }
    .tmk-contact > a[href^="mailto:"] { grid-column: 1; grid-row: 3; }
    .tmk-message { grid-column: 1; grid-row: 4; }
    #footer.tmk-shell-footer #leftFooter > .footerRow { grid-template-columns: minmax(0, 1fr); }
    #footer.tmk-shell-footer #leftFooter > .footerRow > .column:first-child { grid-column: 1 / -1; }
    #footer.tmk-shell-footer #leftFooter .column:first-child .footerMenu { columns: 1 !important; }
    #footer.tmk-shell-footer #rightFooter p br { display: initial; }
    #footer.tmk-shell-footer #rightFooter p a::after { content: none; }
}

.tmk-shell .tmk-masthead-inner .tmk-brand {
    display: block; justify-self: start; width: 244px; max-width: 100%; container-type: inline-size;
}
.tmk-shell .tmk-masthead-inner .tmk-brand strong { display: block; }
body.tmk26-preview #footerLine {
    position: static !important;
    inset: auto;
    border-top-color: #dce5f0;
}
.tmk-shell .tmk-masthead-inner .tmk-brand small {
    width: 100%; text-align: center; white-space: nowrap; font-size: clamp(9px, 5.4cqw, 13px);
}

/* Геомодали Dresscode открываются в body, поверх липкой шапки. */
body.tmk26-preview #geo-location-window {
    z-index: 1400;
}
body.tmk26-preview #geo-location-window .geo-location-window-container {
    top: 50%;
    left: 50%;
    width: min(660px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    overflow: auto;
    border-radius: 12px;
    transform: translate(-50%, -50%);
}
body.tmk26-preview #geo-location-window .geo-location-window-container-bg {
    box-sizing: border-box;
    padding: clamp(14px, 3vw, 24px);
    border-radius: 12px;
    color: #173b61;
}
body.tmk26-preview #geo-location-window .geo-location-window-heading {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 44px;
    padding-inline: 38px;
    color: #173b61;
    font: 650 18px/1.3 system-ui, sans-serif;
}
body.tmk26-preview #geo-location-window .geo-location-window-exit {
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
}
body.tmk26-preview #geo-location-window .geo-location-window-search-input {
    box-sizing: border-box;
    border-color: #b7c9dd;
    border-radius: 8px;
    background: #fff;
    color: #173b61;
}
body.tmk26-preview #geo-location-window .geo-location-window-search-input:focus {
    border-color: #053e89;
    outline: 2px solid #dbe8f9;
}
body.tmk26-preview #geo-location-ref-window.visible {
    width: min(342px, calc(100vw - 32px)) !important;
}
body.tmk26-preview #geo-location-ref-window .geo-location-ref-window-city-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    font-family: system-ui, sans-serif;
}
body.tmk26-preview #geo-location-ref-window :is(.geo-location-ref-window-city-label, .geo-location-ref-window-city-value) {
    grid-column: 1 / -1;
    margin: 0;
    color: #173b61;
}
body.tmk26-preview #geo-location-ref-window :is(.get-location-ref-window-confirm, .get-location-ref-window-change) {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}
body.tmk26-preview #geo-location-window .geo-location-window-button,
body.tmk26-preview #geo-location-ref-window :is(.get-location-ref-window-confirm-button, .get-location-ref-window-change-button) {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #053e89;
    border-radius: 8px;
    background: #053e89 !important;
    color: #fff !important;
    font: 650 15px/1.35 system-ui, sans-serif;
    text-align: center;
    text-decoration: none !important;
}
body.tmk26-preview #geo-location-ref-window :is(.get-location-ref-window-confirm-button, .get-location-ref-window-change-button) {
    width: 100%;
}
body.tmk26-preview #geo-location-ref-window .get-location-ref-window-change-button {
    background: #fff !important;
    color: #053e89 !important;
}
body.tmk26-preview #geo-location-window .geo-location-window-button:not(.disabled):hover,
body.tmk26-preview #geo-location-ref-window .get-location-ref-window-confirm-button:hover {
    background: #173b61 !important;
}
body.tmk26-preview #geo-location-ref-window .get-location-ref-window-change-button:hover {
    background: #edf4ff !important;
}
body.tmk26-preview #geo-location-window .geo-location-window-button.disabled {
    border-color: #d3deec;
    background: #e8eef6 !important;
    color: #4a637d !important;
    opacity: 1;
    pointer-events: none;
}
body.tmk26-preview #geo-location-window :is(.geo-location-window-button, .geo-location-window-exit):focus-visible,
body.tmk26-preview #geo-location-ref-window a:focus-visible {
    outline: 2px solid #5780ba;
    outline-offset: 3px;
}
body.tmk26-preview #geo-location-window .geo-location-list-item-link {
    color: #053e89;
}
body.tmk26-preview #geo-location-window .geo-location-list-item-link:hover {
    color: #173b61;
}

#footer.tmk-shell-footer {
    margin-bottom: 0;
}
body.tmk26-preview #footerLine {
    display: flow-root;
    border-top: 0;
    box-shadow: none;
}
body.tmk26-preview:has(.tamakko-privacy > .tmk-privacy-footer) {
    background-color: #0d2235;
}
body.tmk26-preview:has(.tamakko-privacy > .tmk-privacy-footer) #foundation,
body.tmk26-preview .tamakko-privacy .tmk-recently-viewed {
    background-color: #fff;
}
body.tmk26-preview .tamakko-privacy:has(> .tmk-privacy-footer) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
body.tmk26-preview .tamakko-privacy > .tmk-privacy-footer {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 10px max(14px, calc((100% - 1280px) / 2)) 14px;
    background: #0d2235;
}
body.tmk26-preview .tmk-privacy-footer :is(a, button) {
    color: #eef4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 900px) {
    #footer.tmk-shell-footer.variant_7 #rightFooter .rightTable :is(tr, td, .wrap) {
        display: block !important;
        width: 100% !important;
        min-width: 0;
    }
    #footer.tmk-shell-footer #rightFooter p + p,
    #footer.tmk-shell-footer #rightFooter td + td {
        margin-top: 12px;
    }
}

/* The native footer splits actions between two containers and reloads the three counters together. */
body.tmk26-preview #footerLine {
    height: auto;
    min-height: 0;
}
body.tmk26-preview #footerLine > .wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    box-sizing: border-box;
    width: min(1280px, calc(100% - 64px));
    min-width: 0;
    height: auto;
    margin: 0 auto;
    padding: 14px 0 10px;
}
body.tmk26-preview #footerLine > .wrapper > .col,
body.tmk26-preview #footerLine #flushFooterCart {
    display: contents;
}
body.tmk26-preview #footerLine .item {
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
}
body.tmk26-preview #footerLine .item:not(:has(> a)) {
    display: none !important;
}
body.tmk26-preview #footerLine .item > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-sizing: border-box;
    height: 100%;
    min-height: 46px;
    margin: 0;
    padding: 7px 12px !important;
    border: 1px solid #405b74;
    border-radius: 9px;
    background: #19344b;
    color: #f1f6fc;
    font: 600 15px/1.2 system-ui, sans-serif;
    text-transform: none;
    text-decoration: none;
}
body.tmk26-preview #footerLine .item > a:hover,
body.tmk26-preview #footerLine .item > a:focus-visible {
    border-color: #9ab8d5;
    background: #254760;
    color: #fff;
}
body.tmk26-preview #footerLine .item > a:focus-visible,
body.tmk26-preview .tmk-privacy-footer :is(a, button):focus-visible {
    outline: 2px solid #b5d3f0;
    outline-offset: 2px;
}
body.tmk26-preview #footerLine .item .icon {
    display: inline-block;
    flex: none;
    vertical-align: middle;
    margin: 0 !important;
}
body.tmk26-preview #footerLine .item .textLabel {
    min-width: 0;
    font: inherit;
    white-space: normal;
}
body.tmk26-preview #footerLine .item .mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 24px !important;
    min-height: 22px;
    margin: 0 0 0 auto !important;
    padding: 3px 4px !important;
    border-radius: 5px;
    background: #2f4d65;
    color: #f1f6fc;
    font: 600 13px/1 system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}
body.tmk26-preview .tamakko-privacy > .tmk-privacy-footer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: start;
    align-items: start;
    gap: 5px 10px;
    padding: 0 max(32px, calc((100% - 1280px) / 2)) 13px;
}
body.tmk26-preview .tmk-privacy-footer :is(a, button) {
    display: inline-flex;
    align-items: flex-start;
    box-sizing: border-box;
    min-height: 40px;
    margin: 0;
    padding: 6px 12px;
    font: 500 14px/1.35 system-ui, sans-serif;
    text-align: left;
}
body.tmk26-preview .tmk-privacy-footer a {
    grid-column: span 2;
}
@media (max-width: 1100px) {
    body.tmk26-preview:has(.tmk-home-reference .home-shortcuts) {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }
}
@media (min-width: 671px) and (max-width: 1100px) {
    body.tmk26-preview:has(.tmk-home-reference .home-shortcuts) #upButton {
        bottom: calc(254px + env(safe-area-inset-bottom)) !important;
    }
}
@media (max-width: 900px) {
    body.tmk26-preview #footerLine > .wrapper {
        width: calc(100% - 40px);
    }
    body.tmk26-preview .tamakko-privacy > .tmk-privacy-footer {
        padding-inline: 20px;
    }
}
@media (max-width: 840px) {
    body.tmk26-preview #footerLine > .wrapper,
    body.tmk26-preview .tamakko-privacy > .tmk-privacy-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.tmk26-preview .tmk-privacy-footer a {
        grid-column: auto;
    }
}
@media (max-width: 670px) {
    body.tmk26-preview #footerLine > .wrapper {
        width: calc(100% - 28px);
        gap: 8px;
    }
    body.tmk26-preview #footerLine .item > a {
        padding-inline: 8px !important;
        gap: 6px;
        font-size: 14px;
    }
    body.tmk26-preview .tamakko-privacy > .tmk-privacy-footer {
        gap: 5px 8px;
        padding-inline: 14px;
    }
    body.tmk26-preview .tmk-privacy-footer :is(a, button) {
        padding-inline: 8px;
    }
}
@media (max-width: 360px) {
    body.tmk26-preview #footerLine .item > a {
        gap: 4px;
        font-size: 13px;
    }
    body.tmk26-preview #footerLine .item .mark {
        min-width: 20px !important;
        min-height: 20px;
        padding-inline: 3px !important;
        font-size: 12px;
    }
}

/* General form resets must leave the native consent indicator visible. */
body.tmk26-preview .tmk-form-consent label > input[type=checkbox] {
    appearance: auto !important;
    flex: 0 0 18px !important;
    box-sizing: border-box;
    position: static;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: revert !important;
    background: revert !important;
    box-shadow: none !important;
    accent-color: #053e89;
    cursor: pointer;
}
body.tmk26-preview .tmk-form-consent {
    align-items: center;
}
body.tmk26-preview .tmk-form-consent > label {
    align-items: center;
    min-width: 0;
    max-width: 100%;
    cursor: pointer;
}
body.tmk26-preview .tmk-form-consent > button[data-privacy-consent] {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: start;
    box-sizing: border-box;
    width: max-content !important;
    min-width: 0 !important;
    max-width: 100%;
    height: auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 1px solid #b5cbe6 !important;
    border-radius: 8px;
    background: #edf4ff !important;
    color: #053e89 !important;
    box-shadow: none !important;
    font: 600 14px/1.35 system-ui, sans-serif;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    cursor: pointer;
}
body.tmk26-preview .tmk-form-consent > button[data-privacy-consent]:hover {
    border-color: #7596bd !important;
    background: #e2eeff !important;
}
body.tmk26-preview .tmk-form-consent :is(input[type=checkbox], button[data-privacy-consent]):focus-visible {
    outline: 2px solid #2d66ab;
    outline-offset: 3px;
}
body.tmk26-preview .tmk-auxiliary-page.rk-auth-shell .tmk-form-consent > a {
    min-height: 40px;
}
@media (max-width: 670px) {
    body.tmk26-preview .tmk-form-consent > label {
        flex: 1 1 152px;
        font-size: 14px !important;
    }
    body.tmk26-preview .tmk-form-consent > button[data-privacy-consent] {
        padding-inline: 10px !important;
        font-size: 13px;
    }
}

body.tmk26-preview::selection,
body.tmk26-preview ::selection {
    background-color: #bfdbfe;
    color: #123663;
}

body.tmk26-preview .tmk-home-reference .rvd-form {
    grid-template-areas: "length dn pressure" "fit-a fit-b attachment"
        "contact contact contact" "consent consent send";
}
body.tmk26-preview .tmk-home-reference .rvd-form > .tmk-form-consent {
    grid-area: consent;
    align-self: center;
}
body.tmk26-preview .tmk-home-reference .engineer-form > .home-engineer-actions {
    grid-column: 1 / -1;
}
body.tmk26-preview .tmk-home-reference .home-company-upload {
    box-sizing: border-box;
    min-width: 0;
    padding: 8px 10px;
    border: 1px dashed #b5cbe6;
    border-radius: 8px;
    background: #fff;
    color: #173b61;
}
body.tmk26-preview .tmk-home-reference .home-company-upload input[type=file] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    font: inherit;
    font-size: 13px;
}
@media (max-width: 600px) {
    body.tmk26-preview .tmk-home-reference .rvd-form {
        grid-template-areas: "length dn" "pressure pressure" "fit-a fit-b"
            "attachment attachment" "contact contact" "consent consent" "send send";
    }
}
