/*
Theme Name:Stockhohlm-outlet
Theme URI:Description:https://stockhohlm-outlet.ru/
Version: 1.00
Author:Pronin Andrey, Matytcin Stanislav
Author URI:https://ra-atmosfera.ru/
*/

/* CSS Document */
body {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    background-repeat: repeat;
    font-weight: lighter;
    font-family: 'FuturaPT-Book';
    background: #fff;
}

a {
    text-decoration: none;
}

ul,li,p,h1,h2,h3,h4,h5,h6 {
    padding: 0px;
    margin: 0px;
    font-weight: lighter;
    color: #2E2E2E;
}

ul,ol {
    list-style: none;
}

@font-face {
    font-family: 'FuturaPT-Book';
    src: url('fonts/FuturaPT-Book.woff2') format('woff2'), url('fonts/FuturaPT-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaPT-Demi';
    src: url('fonts/FuturaPT-Demi.woff2') format('woff2'), url('fonts/FuturaPT-Demi.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaPT-Medium';
    src: url('fonts/FuturaPT-Medium.woff2') format('woff2'), url('fonts/FuturaPT-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FuturaPT-Bold';
    src: url('fonts/FuturaPT-Bold.woff2') format('woff2'), url('fonts/FuturaPT-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Header */
header {
    width: 100%;
}

header .container {
    width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    z-index: 999999;
    left: 0;
    right: 0;
}

#header {
    width: 1170px;
    margin: 0 auto;
}

a.logo {
    height: 33px;
    display: block;
}

.logo {
    width: 100%;
    max-width: 215px;
    background: url('images/logo.svg') no-repeat;
    background-size: 100%;
    margin: 50px 0px 0px 0px;
    float: left;
    height: 65px;
}

nav {
    float: right;
    margin: 56px 0px 0px 0px;
}

nav ul li {
    float: left;
    margin: 0px 0px 0px 50px;
    display: block;
}

nav ul li a {
    color: #2E2E2E;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'FuturaPT-Demi';
    letter-spacing: 2px;
}

nav ul li a:hover {
    text-decoration: underline;
}

.container .content {
    margin: 0 auto;
}

.client-slider {
    margin: 0px auto;
    min-width: 320px;
}

.client-slider .title-content {
    margin: 90px 0px 30px 0px;
}

.title-content {
    font-family: 'FuturaPT-Medium';
    font-size: 26px;
    line-height: 53px;
    text-align: center;
    color: #2E2E2E;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.brand {
    border-bottom: 1px solid #707070;
    padding-bottom: 75px;
}

.container {
    width: 100%;
    margin: 0;
    clear: both;
}

.hits-slider .title-content {
    margin: 48px 0px 60px 0px;
}

.box-product {
    margin: 0px auto;
    width: 270px;
    height: auto;
    margin: 0px 0px;
    display: block;
}

.box-product .image {
    margin: 0px 0px 15px 0px;
    overflow: hidden;
}

.box-product .image img {
    width: 100%;
    height: auto;
}

.box-product .description {
    clear: both;
    width: 100%;
    display: inline-block;
}

.box-product:hover .order-btn {
    transition: 1s;
    opacity: 1;
}

.box-product .title {
    min-height: 70px;
}

.box-product .title-2, .box-product .title-1 {
    height: 20px;
    font-family: 'FuturaPT-Book';
    font-size: 12px;
    line-height: 24px;
    margin: 0px 0px 5px 0px;
    color: #2E2E2E;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.box-product .size {
    min-height: 70px;
}

.size-M, .size-L, .size-XL, .size-S {
    width: 29px;
    height: 29px;
    float: right;
    margin: 0px 0px 6px 6px;
    border: 1px solid #2E2E2E;
    color: #2E2E2E;
    line-height: 29px;
    font-size: 14px;
    text-align: center;
    font-family: 'FuturaPT-Book';
}

.box-product .price {
    font-family: 'FuturaPT-Bold';
    font-size: 20px;
    line-height: 24px;
    color: #2E2E2E;
    margin: 0px 0px 0px 0px;
}

.order-btn {
    width: 89px;
    height: 26px;
    margin: -7px 0px 0px 0px;
    float: right;
    opacity: 0;
    transition: 1s;
}

.order-btn a {
    background: #2E2E2E;
    color: #fff;
    line-height: 26px;
    font-size: 10px;
    display: block;
    text-align: center;
    color: #fff;
    font-family: 'FuturaPT-Medium';
    letter-spacing: 2px;
    text-transform: uppercase;
}

.slick-slide {
    margin: 0px 0px;
}

.slick-slide img {
    width: 100%;
}

.slick-prev:before, .slick-next:before {
    color: black;
}

.slick-slide {
    transition: all ease-in-out .3s;
    opacity: 1;
}

.slick-active {
    opacity: 1;
}

.slick-current {
    opacity: 1;
}

.home-about {
    margin: 0px auto 0px auto;
    min-width: 320px;
}

.home-about .title-content {
    clear: both;
    margin: 0px 0px 38px 0px;
    text-align: left;
}

.home-about p {
    font-size: 18px;
    line-height: 30px;
    padding: 0 0px;
    font-family: 'FuturaPT-Book';
}

.home-advantage {
    margin: 0px auto 0px auto;
}

.advantage {
    float: left;
    width: 100%;
    height: auto;
}

.advantage .title-content {
    margin: 85px 0px 45px 0px;
}

.box-advantage img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0px auto 0px auto;
}

.box-advantage h5 {
    font-family: 'FuturaPT-Demi';
    font-size: 14px;
    line-height: 53px;
    margin: 5px 0px 0px 0px;
    text-align: center;
    letter-spacing: 2px;
}

.box-advantage p {
    font-family: 'FuturaPT-Book';
    font-size: 18px;
    line-height: 30px;
    text-align: center;
}

.cert-slider {
    width: 100%;
    min-width: 320px;
    float: left;
}

.cert-slider .title-content {
    margin: 100px 0px 45px 0px;
}

.lookbook {
    margin: 75px auto 65px auto;
}

.lookbook p {
    text-align: center;
    font-family: 'FuturaPT-Book';
    font-size: 18px;
    line-height: 30px;
}

.content-sale {
    width: 100%;
    background: url('images/sale.jpg') no-repeat center center;
    height: 497px;
}

.sale {
    width: 1200px;
    margin: 0 auto;
}

.sale-wrap {
    width: 1170px;
    margin: 0 auto;
}

.sale-wrap h1 {
    font-family: 'FuturaPT-Medium';
    font-size: 51px;
    line-height: 53px;
    letter-spacing: 5px;
    margin: 70px 0px 30px 0px;
    float: left;
}

.sale-wrap p {
    font-size: 18px;
    line-height: 30px;
    clear: both;
}

.social {
    width: 150px;
    height: 25px;
    margin: 55px 0px 0px 13px;
}

.vk {
    background: url('images/vk.png') no-repeat;
    width: 31px;
    height: 18px;
    float: left;
    margin: 4px 25px 0px 0px;
}

.facebook {
    background: url('images/facebook.png') no-repeat;
    width: 14px;
    height: 25px;
    float: left;
}

.instagram {
    background: url('images/instagram.png') no-repeat;
    width: 25px;
    height: 25px;
    float: left;
    margin: 0px 0px 0px 25px;
}

.button-sale {
    font-family: 'FuturaPT-Medium';
    position: absolute;
    width: 145px;
    height: 38px;
    margin: 58px 0px 0px 0px;
    float: left;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.button-sale a {
    background: #2E2E2E;
    color: #fff;
    width: 100%;
    line-height: 40px;
    height: 100%;
    font-size: 12px;
    display: block;
    text-align: center;
    border: 2px solid #2E2E2E;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.button-sale a:hover {
    background: #fff;
    color: #2E2E2E;
}

.content-map {
    width: 1200px;
    margin: 0 auto;
}

.map {
    margin: 0 auto;
    margin: 0 15px;
    border-bottom: none;
}

.map-right > ymaps:first-child {
    width: 100% !important;
}

.map-left {
    width: 400px;
    float: left;
    margin: 100px 0px 100px 0px;
}

.map-left h4 {
    font-family: 'FuturaPT-Medium';
    font-size: 26px;
    line-height: 53px;
    margin: 0px 0px 0px 0px;
    letter-spacing: 2px;
}

.map-left p {
    font-family: 'FuturaPT-Medium';
    font-size: 22px;
    line-height: 43px;
    margin: 60px 0px 0px 0px;
    letter-spacing: 2px;
}

.map-right {
    width: 726px;
    float: right;
    margin: 100px 0px 0px 0px;
}

.comment {
    float: left;
}

.comment .title-content {
    margin: 40px 0px 40px 0px;
}

.box-comment {
    width: 270px;
}

.box-comment h5 {
    margin: 18px 0px 0px 0px;
    font-family: 'FuturaPT-Medium';
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.box-comment a {
    margin: 10px 0px 0px 0px;
    font-family: 'FuturaPT-Book';
    font-size: 18px;
    line-height: 30px;
    color: #2E2E2E;
    text-decoration: underline;
}

.box-comment a:hover {
    text-decoration: none;
}

.box-comment p {
    margin: 22px 0px 48px 0px;
    font-size: 18px;
    line-height: 30px;
    min-height: 250px;
}

footer {
    background: #EFEFEF;
    width: 100%;
    clear: both;
}

.footer {
    margin: 0px auto 0px auto;
}

.footer a.logo {
    width: 128px;
    height: 23px;
    display: block;
}

.footer .logo {
    width: 105px;
    height: 17px;
    background: url('images/logo-footer.svg') no-repeat;
    background-size: 100%;
    margin: 45px 0px 0px 0px;
}

.footer p a {
    float: none;
    font-family: 'FuturaPT-Book';
    font-size: 14px;
    line-height: 30px;
    color: #2E2E2E;
    text-decoration: underline;
    text-align: center;
}

.footer p a:hover {
    text-decoration: none;
}

a.atmosfera {
    width: 107px;
    height: 17px;
    display: block;
    float: right;
}

.atmosfera {
    width: 107px;
    height: 17px;
    background: url('images/atmosfera.svg')no-repeat;
    background-size: 100%;
    margin: 45px 0px 0px 0px;
    float: right;
}

#fancybox-wrap.fancybox-ie div#fancybox-outer div#fancybox-content {
    background: #F1F1F1;
}

.form2 {
    height: auto;
    background: #F1F1F1;
    border: none !important;
    width: 460px;
}

.form2-title h2 {
    color: #2E2E2E;
    font-size: 38px;
    line-height: 44px;
    font-family: 'FuturaPT-Medium';
    text-align: center;
    margin: 50px 0px 0px 0px;
    max-width: 460px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.form2-title p {
    color: #2E2E2E;
    font-size: 18px;
    line-height: 28px;
    font-family: 'FuturaPT-Book';
    text-align: center;
    margin: 18px 0px 0px 0px;
}

div#fancybox-wrap.fancybox-ie div#fancybox-outer {
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
}

#fancybox-wrap.fancybox-ie div#fancybox-outer div#fancybox-content {
    border: none;
}

div#fancybox-wrap.fancybox-ie {
    width: 460px !important;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    width: 356px;
    background: #fff;
    height: 51px;
    border: 1px solid #707070;
    margin: 25px 0px 0px 40px;
    color: #2E2E2E;
    font-size: 18px;
    line-height: 28px;
    font-family: 'FuturaPT-Book';
    padding: 0px 0px 0px 20px;
}

span.wpcf7-list-item label input#access {
    float: left;
}

div.form2-pol1 p {
    float: left;
    margin: 0px 10px 0px 20px;
}

.form2 div.form2-pol1 p label span.wpcf7-form-control-wrap.acceptance-431 span.wpcf7-form-control.wpcf7-acceptance {
    position: absolute;
    margin: 55px 0px 0px 0px;
}

div.form2-pol p {
    font-family: 'FuturaPT-Book';
    font-size: 12px;
    line-height: 15px;
    color: #2E2E2E;
    width: 341px;
    margin: 40px 0px 0px 80px;
}

p input.wpcf7-form-control.wpcf7-submit {
    margin: 55px 0px 60px 170px;
    width: 122px;
    height: 38px;
    border: 1px solid #2E2E2E;
    font-size: 14x;
    line-height: 38px;
    cursor: pointer;
    background: #2E2E2E;
    color: #fff;
    font-family: 'FuturaPT-Medium';
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

p input.wpcf7-form-control.wpcf7-submit:hover {
    background: #fff;
    color: #2E2E2E;
}

span.wpcf7-not-valid-tip {
    text-align: center;
    color: red !important;
    margin: 15px 0px 10px 0px;
    font-size: 16px !important;
}

div.wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
    width: 450px;
    color: red;
    border: none;
    font-family: 'FuturaPT-Book';
    text-align: center;
    margin: -45px 0px 20px 0px;
    font-size: 16px;
    padding: 0 5px;
}

div.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    color: #2E2E2E;
    border: none;
    font-family: 'FuturaPT-Book';
    text-align: center;
    margin: -35px 0px 20px 0px;
    font-size: 16px;
    padding: 0 15px;
}

div.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ng {
    width: 290px;
    color: yellow;
    border: none;
    font-family: 'FuturaPT-Book';
    text-align: center;
    margin: -40px 0px 20px 0px;
    font-size: 16px;
    padding: 0 0px;
}

.comment-entry div#wpcf7-f163-o2.wpcf7 form.wpcf7-form.failed div.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ng {
    width: 100%;
    text-align: left;
    color: red !important;
    margin: 0px 0px 20px 17px;
}

input::-moz-placeholder {
    color: #2E2E2E;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #2E2E2E;
    opacity: 1;
}

input::-webkit-input-placeholder {
    color: #2E2E2E !important;
    font-family: 'FuturaPT-Book';
}

input:-moz-placeholder {

    /* Firefox 18- */
    color: #2E2E2E !important;
    font-family: 'FuturaPT-Book';
}

input::-moz-placeholder {

    /* Firefox 19+ */
    color: #2E2E2E !important;
    font-family: 'FuturaPT-Book';
}

input:-ms-input-placeholder {
    color: #2E2E2E !important;
    font-family: 'FuturaPT-Book';
}

.callback div#example2.cssmodal.dialog figure div#wpcf7-f37-o1.wpcf7 form.wpcf7-form.invalid {
    width: 296px;
}

div.scrollup {
    position: fixed;
    color: #fff;
    background-color: #2E2E2E;
    right: 20px;
    bottom: 0px;
    padding: 4px 10px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    text-align: center;
    opacity: 1;
}

div.scrollup:hover {
    background-color: #2E2E2E;
    opacity: 0.5;
}

.box-product .title-2, .box-product .title-1 {
    line-height: 18px;
}

/* Выравнивание карточек товаров внутри существующего Slick-слайдера. */
.hits-slider .slider-hits .box-product {
    box-sizing: border-box;
    padding: 0 12px;
}

.hits-slider .box-product .image {
    width: 100%;
    height: 320px;
    margin: 0 0 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hits-slider .box-product .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hits-slider .box-product .description {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 12px 0;
    width: 100%;
    margin: 0;
}

.hits-slider .box-product .description::before, .hits-slider .box-product .description::after, .hits-slider .box-product .bottom::before, .hits-slider .box-product .bottom::after {
    display: none;
}

.hits-slider .box-product .title, .hits-slider .box-product .size {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 54px;
    padding: 0;
}

.hits-slider .box-product .title {
    padding-right: 10px;
}

.hits-slider .box-product .title-1 {
    height: auto;
    margin: 0;
    line-height: 18px;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 54px;
}

.hits-slider .box-product .bottom {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 32px;
    gap: 8px;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hits-slider .box-product .price {
    flex: 1 1 auto;
    float: none;
    width: 100%;
    font-size: clamp(14px, 1.65vw, 20px);
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.hits-slider .box-product .order-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    flex: 0 0 100px;
    float: none;
    width: 100px;
    height: auto;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.hits-slider .box-product:hover .order-btn, .hits-slider .box-product:focus-within .order-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hits-slider .box-product .order-btn a {
    width: 100%;
    line-height: 32px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hits-slider .box-product .image {
        height: 280px;
    }

}

/* На сенсорных экранах заказ доступен без наведения. */
@media (hover:none) {
    .hits-slider .box-product .bottom {
        padding-bottom: 40px;
    }

    .hits-slider .box-product .order-btn {
        top: auto;
        bottom: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

}

/* Единый вертикальный ритм секций главной страницы. */
body {
    --section-space: 64px;
    --section-title-space: 28px;
}

#hits, #about, #about + .container, .content-sale_block, .content-sale_block + .container, .content-sale_block + .container + .container {
    padding-top: var(--section-space);
    padding-bottom: 0;
}

.hits-slider .title-content, .home-about .title-content, .advantage .title-content, .comment .title-content {
    margin-top: 0;
    margin-bottom: var(--section-title-space);
}

.home-about, .advantage, .comment, .map {
    margin-top: 0;
    margin-bottom: 0;
}

.map-left, .map-right {
    margin-top: 0;
    margin-bottom: 0;
}

.map {
    padding-bottom: 0;
}

.box-comment p {
    margin-bottom: 0;
}

.comment {
    padding-bottom: var(--section-space);
}

@media (max-width: 768px) {
    body {
        --section-space: 40px;
        --section-title-space: 20px;
    }

    .map-right {
        margin-top: var(--section-title-space);
    }

}

/* Контейнер учитывает высоту плавающего блока преимуществ. */
#about + .container {
    display: flow-root;
}

.content-sale_block {
    clear: both;
    display: flow-root;
}

/* Белый зазор перед баннером задаётся внутри блока преимуществ. */
body .advantage {
    box-sizing: border-box;
    padding-bottom: 64px;
    padding-bottom: var(--section-space, 64px);
}

body .content-sale_block {
    padding-top: 0;
}

@media (max-width: 768px) {
    body .advantage {
        padding-bottom: 40px;
        padding-bottom: var(--section-space, 40px);
    }

}

/* Социальные ссылки: одинаковый цвет и выравнивание. */
.social {
    display: flex;
    align-items: center;
    gap: 22px;
    width: auto;
    min-height: 25px;
}

.social > a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    float: none;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    color: #606060;
    line-height: 1;
}

.social > a .vk, .social > a .instagram, .social > a .telegram {
    float: none;
    margin: 0;
    flex: 0 0 auto;
}

.social > a .telegram {
    display: block;
    width: 25px;
    height: 25px;
    background: #606060;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 3.2 18.5 20c-.2 1.2-.9 1.5-1.9.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1L18 6.4c.4-.4-.1-.6-.6-.3L5.8 13.4l-5-1.6c-1.1-.3-1.1-1.1.2-1.6L20.5 2.7c.9-.3 1.6.2 1.3.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.8 3.2 18.5 20c-.2 1.2-.9 1.5-1.9.9l-5-3.7-2.4 2.3c-.3.3-.5.5-1 .5l.4-5.1L18 6.4c.4-.4-.1-.6-.6-.3L5.8 13.4l-5-1.6c-1.1-.3-1.1-1.1.2-1.6L20.5 2.7c.9-.3 1.6.2 1.3.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Центрирование социальных ссылок только в подвале. */
footer .footer .social {
    justify-content: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Информационное окно заказа без плагинов. */
.order-dialog {
    box-sizing: border-box;
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    margin: auto;
    padding: 40px 28px 28px;
    border: 0;
    background: #f1f1f1;
    color: #2e2e2e;
    box-shadow: 0 12px 48px rgba(0,0,0,.25);
    font-family: 'FuturaPT-Book', sans-serif;
}

.order-dialog::backdrop {
    background: rgba(0,0,0,.55);
}

.order-dialog h2 {
    margin: 0 0 18px;
    font-family: 'FuturaPT-Medium', sans-serif;
    font-size: 26px;
    line-height: 1.25;
    text-align: center;
}

.order-dialog p {
    font-size: 17px;
    line-height: 1.5;
}

.order-dialog-close {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #2e2e2e;
    font-size: 30px;
    cursor: pointer;
}

.order-dialog-product {
    margin: 20px 0;
    padding: 14px;
    background: #fff;
}

.order-dialog-product .order-dialog-name {
    overflow-wrap: anywhere;
}

.order-dialog-product .order-dialog-price {
    margin-top: 8px;
    font-weight: bold;
}

.order-dialog-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-dialog-links a {
    display: block;
    padding: 12px;
    background: #2e2e2e;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
}

.order-dialog .order-dialog-links a {
    transition: background-color .18s ease;
}

.order-dialog .order-dialog-links a:link, .order-dialog .order-dialog-links a:visited, .order-dialog .order-dialog-links a:hover, .order-dialog .order-dialog-links a:focus, .order-dialog .order-dialog-links a:active {
    color: #fff;
    text-decoration: none;
}

.order-dialog .order-dialog-links a:hover, .order-dialog .order-dialog-links a:focus-visible {
    background: #444;
}

.order-dialog .order-dialog-links a:active {
    background: #222;
}

.order-dialog a:focus-visible, .order-dialog button:focus-visible {
    outline: 2px solid #606060;
    outline-offset: 3px;
}

/* Страница товара. */
.product-title-link, .product-title-link:visited {
    color: inherit;
    text-decoration: none;
}

.product-title-link:hover {
    color: inherit;
    text-decoration: underline;
}

.product-page {
    padding-top: 48px;
    padding-bottom: 64px;
}

.product-back {
    display: inline-block;
    margin-bottom: 28px;
    color: #2e2e2e;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
}

.product-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 780px;
    object-fit: contain;
}

.product-detail-info h1 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.product-detail-price {
    font-size: 26px;
    font-family: 'FuturaPT-Medium', sans-serif;
    margin-bottom: 24px;
}

.product-detail-sizes {
    margin-bottom: 24px;
}

.product-detail-sizes p {
    margin-bottom: 10px;
    font-size: 18px;
}

.product-detail-sizes span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #707070;
    margin: 0 6px 6px 0;
}

.product-detail-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
    overflow-wrap: anywhere;
}

.product-detail-description p {
    margin-bottom: 16px;
}

.product-detail-description img {
    max-width: 100%;
    height: auto;
}

.product-detail-order, .product-detail-order:visited {
    display: inline-block;
    padding: 14px 36px;
    background: #2e2e2e;
    color: #fff;
    text-decoration: none;
    transition: background .18s ease;
}

.product-detail-order:hover, .product-detail-order:focus {
    color: #fff;
    background: #444;
    text-decoration: none;
}

.product-detail-note {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .product-page {
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .product-detail-info h1 {
        font-size: 24px;
    }

}

/* Футер у нижнего края окна на странице товара. */
html {
    height: 100%;
    min-height: 100%;
}

body.outlet-product-view {
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
}

body.outlet-product-view > header, body.outlet-product-view > footer {
    flex-shrink: 0;
}

body > .product-page {
    flex: 1 0 auto;
}

body.outlet-product-view > footer {
    margin-top: auto;
}

.product-page .product-back, .product-page .product-back:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin-bottom: 28px;
    padding: 8px 0;
    color: #2e2e2e;
    font-family: 'FuturaPT-Medium', sans-serif;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .18s ease;
}

.product-page .product-back::before {
    content: '';
    width: 9px;
    height: 9px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: 3px;
}

.product-page .product-back:hover {
    color: #707070;
    text-decoration: none;
}

.product-page .product-back:focus-visible {
    outline: 2px solid #707070;
    outline-offset: 4px;
}

/* Отдельный каталог всех товаров. */
.catalog-page {
    flex: 1 0 auto;
    padding-top: 48px;
    padding-bottom: 64px;
    font-family: 'FuturaPT-Book', sans-serif;
}
.catalog-page > h1 {
    margin: 0 0 36px;
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
}
.catalog-card { min-width: 0; display: flex; flex-direction: column; }
.catalog-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
    color: #606060;
}
.catalog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.catalog-card h2 { margin: 16px 0 12px; font-size: 14px; line-height: 20px; letter-spacing: 1px; text-transform: uppercase; }
.catalog-card h2 a, .catalog-card h2 a:visited { color: #2e2e2e; text-decoration: none; }
.catalog-card h2 a:hover { text-decoration: underline; }
.catalog-card-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.catalog-card-sizes span { padding: 3px 8px; border: 1px solid #707070; font-size: 14px; }
.catalog-card-bottom { position: relative; min-height: 32px; margin-top: auto; display: flex; align-items: center; }
.catalog-card-bottom p { font-size: 20px; line-height: 32px; font-family: 'FuturaPT-Medium', sans-serif; overflow-wrap: anywhere; }
.catalog-card-bottom > a, .catalog-card-bottom > a:visited {
    position: absolute;
    right: 0;
    padding: 0 14px;
    background: #2e2e2e;
    color: #fff;
    line-height: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    text-decoration: none;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.catalog-card:hover .catalog-card-bottom > a,
.catalog-card:focus-within .catalog-card-bottom > a { opacity: 1; pointer-events: auto; }
.catalog-card-bottom > a:hover { color: #fff; background: #444; text-decoration: none; }
@media (max-width: 1199px) { .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
    .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .catalog-page { padding-top: 32px; padding-bottom: 40px; }
}
@media (hover: none) {
    .catalog-card-bottom { flex-wrap: wrap; gap: 8px; }
    .catalog-card-bottom p { width: 100%; }
    .catalog-card-bottom > a { position: static; opacity: 1; pointer-events: auto; }
}
