@font-face {
    font-family: "Gothic No60";
    src: url("/template/font/Gothic60-Regular.woff2") format("woff2"),
        url("/template/font/Gothic60-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Houschka Pro";
    src: url("/template/font/HouschkaPro-Light.woff2") format("woff2"),
        url("/template/font/HouschkaPro-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Houschka Pro";
    src: url("/template/font/HouschkaPro-Medium.woff2") format("woff2"),
        url("/template/font/HouschkaPro-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Houschka Pro";
    src: url("/template/font/HouschkaPro-Bold.woff2") format("woff2"),
        url("/template/font/HouschkaPro-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

HTML,
BODY {
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
}

BODY {
    margin: 0 auto;
    background-color: #222;
    color: #fff;
}

* {
    font-family: "Houschka Pro", serif;
    box-sizing: border-box;
}

HTML {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 300;
}

A {
    color: #fff;
    transition: all 0.3s ease-in-out;
}

IMG {
    vertical-align: middle;
}

H1,
H2,
H3,
.title {
    font-family: "Gothic No60";
}

A:hover {
    text-decoration: none;
    color: #00894E;
}

.wrapper {
    position: relative;
    min-width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.wrapper>.content {
    flex-grow: 1;
    padding: 100px 10px 10px 10px;
}

.wrapper.home>.content {
    padding: 0px;
}

.wrapper.home>.content {
    max-width: none;
}

.widther {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.half-widther {
    max-width: 700px;
}

/* Палитра */

.default-bg-gray {
    background-color: #F8F8F8;
}

.default-bg-gray-hover:hover {
    transition: background-color 0.3s linear;
    background-color: #eeeeee;
}

.default-bg {
    background-color: #00894E;
    color: #fff;
}

.default-bg-alt {
    background-color: #017d47;
    color: #fff;
}

.default-bg-hover:hover {
    transition: background-color 0.3s linear;
    background-color: #017d47;
}

.default-border {
    border: 2px solid #00894E;
}

.default-color {
    color: #00894E;
}

.default-padding {
    padding: 10px;
}

.default-border-radius {
    border-radius: 16px;
}

.default-shadow {
    box-shadow: -3px 8px 10px 2px rgba(0, 0, 0, 0.1);
}

.to-top {
    background-color: #00894E;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-image: url("/template/img/top.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    z-index: 2;
    border-radius: 50%;
}

/* Header */

.header {
    position: fixed;
    z-index: 3;
    top: 0px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background-color: #222
}

.header a {
    text-decoration: none;
}

.header>div.widther {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

.header .menu {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.header .menu ul {
    padding: 0px;
    margin: 0px;
    display: flex;
}

.header .menu ul li {
    position: relative;
    list-style: none;
    margin-right: 20px;
    padding: 10px 0px;
    white-space: nowrap;
}

.header .menu ul li a.selected {
    font-weight: bold;
}

.header .menu ul li ul {
    position: absolute;
    top: 100%;
    flex-direction: column;
    padding: 20px 10px 10px 10px;
    margin-left: -20px;
    background-color: #fff;
    border-radius: 16px;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.5s ease-in-out;
}

.header .menu ul li:hover ul {
    visibility: visible;
    opacity: 1;
}

.header .menu ul li ul li {
    margin-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 0px;
}

.header .menu ul li ul li a {
    color: #000;
}

.header .logo {
    cursor: pointer;
}

.header .logo a {
    display: block;
    position: relative;
    margin: 0px;
    width: 250px;
    padding-right: 180px;
}

.header .logo img {
    width: 100px;
}

.header .mobile-menu-button {
    position: relative;
    display: none;
    background-image: url("/template/img/menu.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    margin-right: 20px;
}

.header .mobile-menu-button.opened {
    background-image: url("/template/img/menu-close.svg");
}

.header .phone {
    position: relative;
}

.header .phone a {
    position: relative;
    display: block;
    padding: 9px 10px 8px 40px;
    min-width: 32px;
    min-height: 32px;
    background-image: url("/template/img/phone.svg");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: left 10px center;
    font-weight: 500;
}

.header .phone p {
    padding: 0px;
    margin: 0px;
}

.home .header.scrolled .mobile-menu-button::before {
    display: none;
}

.header .lk {
    color: #00894E;
    font-weight: bold;
    padding: 10px 10px 9px 10px;
    margin-left: 20px;
    border-radius: 16px;
}

.slick-prev,
.slick-next {
    border-radius: 0px;
    width: 30px;
    height: 30px;
    top: -30px;
    background-color: #00894E;
    background-size: 18px;
    background-image: url("/template/img/arrow-left.svg");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
}

.slick-prev {
    right: 60px;
    left: auto;
}

.slick-next {
    left: auto;
    right: 10px;
    background-image: url("/template/img/arrow-right.svg");
}

.slick-prev:before,
.slick-next:before {
    display: none;
    background-image: url("/template/img/left-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
}

/* Home */

.bgg {
    background-color: #f8f8f8;
    margin: 40px 0px;
}

.home .header {
    /* background-color: transparent; */
    transition: top 0.5s, background-color 0.5s;
}

.home .header.scrolled {
    /* background-color: rgba(255, 255, 255, .8); */
}

.home .header>.widther {
    /* background-color: rgba(255, 255, 255, 1); */
    transition: padding 0.5s, background-color 0.5s;
}

.home .header.scrolled>.widther {
    /* background-color: rgba(255, 255, 255, 0); */
    /* padding: 0px 10px; */
}

.home>.widther {
    max-width: none;
}

.slider-1 {
    position: relative;
    background-color: #777;
    width: 100%;
    height: 80vh;
}

.slider-1>div {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.slider-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-1>div>div {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    filter: grayscale(.8);
}

.slider-1 div.on {
    transition: scale 14s linear, filter 14s linear;
    filter: grayscale(.2);
    scale: 110%;
}

.slider-1 .text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    color: #fff;
    text-shadow: 0px 0px 15px #000000, 0px 0px 15px #000000;
}

.slider-1 .text h1 {
    font-size: 2.5em;
    margin: 0px;
}

.slider-1 .text h2 {
    font-size: 2em;
    margin: 0px;
}

.slider-1 .text h3 {
    max-width: 600px;
    font-size: 1.2em;
    font-weight: 500;
}

.home-1-wrapper {
    position: relative;
}

.home-1 {
    position: absolute;
    top: -140px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-1>div {
    display: flex;
}

.home-1>div:first-child {
    padding: 20px;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}

.home-1 .cifri {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.home-1 .cifri>div {
    display: flex;
    align-items: center;
    font-size: 2em;
    padding: 30px;
    background-color: #fff;
    white-space: nowrap;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
}

.home-1 .cifri>div>div:first-child {
    font-weight: bold;
    font-size: 1.2em;
    background-color: #00894E;
    color: #fff;
    padding: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.home-1 .cifri>div>div:last-child {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 0.8em;
}

.home-1 .cifri>div>div:last-child>div {
    font-size: initial;
    opacity: 0.5;
}

.home .vse {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 60px 10px 40px 10px;
}

.vse a {
    display: block;
    position: relative;
    color: #777;
    text-decoration: none;
}

.vse a:hover {
    color: #00894E;
}

.vse a:hover::before {
    width: 0px;
    background-color: #00894E;
}

.slider-3 img {
    width: 255px;
}

.slider-3 {
    margin: 40px 0px;
}

.slider-3 .slick-slide>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Menu */

.mobile-menu {
    position: fixed;
    top: 52px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 3;
    overflow-y: auto;
    background-color: #222;
    display: none;
}

.mobile-menu ul,
.mobile-menu li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.mobile-menu>ul {
    width: 100%;
    font-size: 1.1em;
}

.mobile-menu ul li ul {
    margin-top: 10px;
    padding: 0px 0px 0px 15px;
    border-left: 2px solid #ddd;
}

.mobile-menu ul li ul li {
    padding-bottom: 10px;
    opacity: 0.6;
    font-size: 0.9em;
}

.mobile-menu ul li ul>li:last-child {
    padding-bottom: 0px;
}

.mobile-menu>ul>li {
    padding: 20px;
}

.mobile-menu>ul>li {
    border-top: 1px solid #eee;
}

.mobile-menu li a {
    display: block;
    font-size: 1.1em;
    text-decoration: none;
}

.home .header.scrolled+.mobile-menu {
    top: 52px;
}

/* Modal */

.modal {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.modal>div {
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 0px;
    min-width: 200px;
    min-height: 50px;
    max-width: calc(100% - 30px);
    max-height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
}

.modal>div>div:last-child {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.modal>div>div:last-child::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal>div>.close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-color: transparent;
}

.modal>div>.close:after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: #e63619;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal>div>.close:before {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background-color: #e63619;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Form */

.form input,
.form-input,
.form textarea {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #eee;
    border-radius: 16px;
}

.form input[type=checkbox] {
    width: auto;
    margin-right: 5px;
}

.form>div {
    margin: 20px 0px;
}

.form label {
    display: block;
    margin-bottom: 6px;
}

.form label.check {
    display: flex;
    align-items: center;
}

button,
.form-button {
    display: inline-flex;
    padding: 15px 20px;
    border: none;
    background-color: #00894E;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 1em;
    border-radius: 16px;
}

button:hover,
.form-button:hover {
    background-color: #017d47;
}

.form .error {
    color: #e63619;
    margin: 10px 0px;
}

/* Page */

.page {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.page>a {
    color: #000;
    padding: 5px;
    margin: 5px;
    line-height: 20px;
    min-width: 30px;
    text-align: center;
}

.page>a:hover {
    text-decoration: none;
}

.page>a:first-child {
    margin-left: 0px;
}

.page .selected {
    color: #fff;
}

.page .first:before {
    content: "Первая";
}

.page .last:before {
    content: "Последняя (";
}

.page .last:after {
    content: ")";
}

/* Title */

.title {
    padding: 20px 0px;
    position: relative;
    font-size: 2.5em;
    font-weight: 500;
}

.title::before {
    content: "";
    display: block;
    width: 100%;
    background-color: #dddddd;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: none;
}

.title::after {
    content: "";
    display: block;
    width: 40px;
    background-color: #00894E;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    display: none;
}

/* Price */

.price {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
}

.price::after {
    content: "\20BD";
    font-weight: bold;
    margin-left: 3px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-bottom: 3px;
}

/* Breadcrumb */

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9em;
    margin: 10px 0px 20px 0px;
}

.breadcrumbs>div {
    position: relative;
    padding-right: 25px;
}

.breadcrumbs>div:last-child {
    padding-right: 0px;
}

.breadcrumbs>div::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.5;
}

.breadcrumbs>div:last-child::after {
    display: none;
}

.breadcrumbs a {
    opacity: 0.5;
}

/* Shop */

.shop>.items {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.shop .items .items {
    display: none;
    grid-template-columns: 1fr auto auto auto;
}

.shop .items .items>div {
    padding: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.shop .items div.category {
    padding: 15px 15px 15px 30px;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
    background-image: url("/template/img/right-arrow.svg");
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 12px;
}

.shop .items div.category.opened {
    background-image: url("/template/img/top-arrow.svg");
}

.shop .items .sub {
    display: none;
}

.shop .items .sub .category {
    padding-left: 50px;
    background-position: left 30px center;
}

.shop .items .sub .items>div {
    padding-left: 30px;
}

.shop .items .price {
    min-width: 80px;
    justify-content: flex-end;
    font-weight: bold;
}

.shop .items .za {
    min-width: 70px;
    text-align: center;
}

/* Footer */

.footer-wrapper {
    margin-top: 100px;
    background-color: #000;
    background-image: url("/template/img/footerbg.webp");
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.home+.footer-wrapper {
    margin-top: 0px;
}

.footer {
    padding: 100px 0px;
    color: #fff;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    opacity: 1;
}

.footer>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer>div>div {
    padding-left: 60px;
}

.footer>div>div:first-child {
    padding-left: 0px;
}

.footer ul {
    display: flex;
    flex-direction: column;
}

.footer ul,
.footer li {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.footer li {
    padding: 12px;
}

.footer li a {
    text-decoration: none;
}

.footer p {
    margin: 0px;
    padding: 10px 0px;
}

.footer .logo img {
    width: 100%;
    max-width: 80px;
}

.footer .logo {
    margin-bottom: 20px;
    display: block;
}

.footer .phone,
.footer .email,
.footer .address {
    padding-left: 30px;
    line-height: 24px;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 16px;
    background-image: url("/template/img/phone_w.svg");
}

.footer .email {
    background-image: url("/template/img/email_w.svg");
    background-size: 18px;
}

.footer .address {
    background-image: url("/template/img/address_w.svg");
    background-size: 20px;
}

.footer .social {
    margin: 15px 0px 10px 0px;
}

/* Custom*/

.custom-menu ul {
    display: flex;
    margin: 10px 0px 20px 0px;
    padding: 0px;
}

.custom-menu li {
    padding: 10px 10px 8px 10px;
    border-radius: 16px;
    margin-right: 20px;
    list-style: none;
}

.custom-menu li a {
    text-decoration: none;
}

.custom-menu li.selected {
    background-color: #00894E;
    color: #fff;
}

.custom-menu li.selected a {
    color: #fff;
    transition: none;
}

.custom-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 40px;
}

.custom-items>div {
    position: relative;
}

.custom-items-block .item {
    padding: 10px;
}

.custom-items-block .item>a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.custom-items-block .item .name {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.custom-items .image,
.custom-items-block .image {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

.custom-items .item-40 .image,
.custom-items .item-39 .image,
.custom-items .item-38 .image,
.custom-items .item-37 .image {
    aspect-ratio: 3 / 4;
}

.custom-items img,
.custom-items-block img {
    transition: all 0.5s ease-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.custom-items .item:hover img,
.custom-items-block .item:hover img {
    width: 110%;
    height: 110%;
    border-radius: 16px;
}

.custom-items .name,
.custom-items-block .name {
    margin: 10px 0px;
    font-weight: 500;
    margin-top: 20px;
}

.custom-items .address,
.custom-items-block .address,
.custom-items .square,
.custom-items-block .square {
    font-size: 0.8em;
    opacity: 0.5;
}

.custom-items .date,
.custom-items-block .date {
    position: absolute;
    background-color: #00894E;
    color: #fff;
    font-size: 0.9em;
    font-weight: 500;
    padding: 5px 10px;
    margin: 8px;
    top: 0px;
    border-radius: 16px;
}

.custom-items .square,
.custom-items-block .square {
    margin: 10px 0px;
}

.custom-items .square::before,
.custom-items-block .square::before,
.custom-item .square::before {
    content: "Площадь: ";
}

.custom-items .square::after,
.custom-items-block .square::after,
.custom-item .square::after {
    content: " м²";
}

.custom-item .image {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
}

.custom-item .image img {
    width: 100%;
}

.custom-item .date {
    opacity: 0.5;
    font-style: italic;
}

.custom-item .address {
    margin: 10px 0px;
    font-weight: bold;
}

.custom-item .square {
    opacity: 0.5;
}

.yslygi .category {
    position: relative;
    padding: 10px;
    border-radius: 16px;
    overflow: hidden;
}

.yslygi .category .image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

.yslygi .category img {
    transition: all 0.3s ease-out;
    width: 100%;
    border-radius: 16px;
}

.yslygi .category:hover img {
    width: 105%;
}

.yslygi .category .name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 10px 20px 10px;
    font-size: 1.1em;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.yslygi .category .name a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

/* Cart */

.cart .cart-items:empty {
    display: block;
}

.cart:before {
    font-size: 2em;
    font-weight: 500;
}

.cart:empty::before {
    content: "Корзина пуста";
}

.cart .cart-items:empty+div {
    display: none;
}

.cart .cart-items {
    display: grid;
    border-top: 1px solid #ddd;
    grid-template-columns: 1fr auto auto auto auto auto;
    margin-top: 20px;
}

.cart .cart-items>div {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart .cart-items .delete {
    display: flex;
    align-items: center;
    position: relative;
    color: #e63619;
    background-image: url("/template/img/delete.svg");
    background-position: left center;
    background-size: 14px;
    width: 16px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.cart .cart-items .delete::after {
    display: none;
}

.cart .cart-items .price-cart,
.cart .cart-items .price-cart>div:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart .sum {
    padding: 20px;
    font-size: 1.5em;
}

.cart .sum>div {
    display: flex;
    margin: 5px 0px;
    justify-content: flex-end;
}

.cart .sum .order-sum:before,
.cart .sum .order-sale:before {
    margin-right: 20px;
}

.cart .sum .order-sale {
    color: #e63619;
}

.cart-order {
    padding: 10px;
}

.cart .cart-info {
    margin-top: 0px;
}

.cart .form>div.cart-info {
    margin-top: 0px;
}

.cart .form>div.cart-info p {
    font-style: italic;
    padding: 0px;
    margin: 0px;
}

.cart .check p {
    padding: 0px;
    margin: 0px;
}

.header-cart {
    cursor: pointer;
    position: relative;
    background-color: #00894E;
    border-radius: 50%;
    height: 20px;
    line-height: 22px;
    text-align: center;
    color: #fff;
    min-width: 20px;
    font-size: 0.9em;
    margin-bottom: 30px;
    margin-left: 35px;
}

.header-cart::before {
    content: "";
    display: block;
    background-image: url("/template/img/cart.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    width: 28px;
    height: 28px;
    position: absolute;
    right: 14px;
    top: 10px;
}

.header-cart:empty {
    display: none;
}

.to-cart button {
    padding: 9px 10px 7px 10px;
}

.cart-count {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px 0px;
}

.cart-count input {
    border: none;
    width: 90px;
    padding: 4px;
    text-align: center;
}

.cart-count>div.dec,
.cart-count>div.inc {
    position: absolute;
    left: 0px;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0px;
    background-color: #00894E;
    color: #fff;
    transition: all 0.1s ease-in-out;
}

.cart-count>div.inc {
    left: auto;
    right: 0px;
}

.cart-count>div.dec:before,
.cart-count>div.inc:before {
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    content: "-";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    line-height: 15px;
}

.cart-count>div.dec:before {
    padding-bottom: 2px;
}

.cart-count>div.inc:before {
    content: "+";
}

/* Forma */

.forma form label {
    opacity: 0.5;
}

.forma form>div:first-child {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.forma form>div:nth-child(2)>div:last-child {
    display: inline-grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    margin-top: 5px;
}

.forma form>div:nth-child(2)>div:last-child label {
    opacity: 1;
}

.forma form>div:nth-child(2)>div:last-child label {
    display: flex;
    align-items: center;
}

.forma form>div:nth-child(2) input {
    width: auto;
    margin: 0px 8px 2px 0px;
}

.forma .soglasie input {
    margin: 2px 8px 0px 0px;
}

.forma a {
    text-decoration: underline;
}

.forma .select2-container--default .select2-selection--single {
    background-color: #eee;
    border: none;
}

.forma .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
}

.forma h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
    font-weight: normal;
}

.forma-wrapper {
    padding: 60px 0px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px 0px;
}

.forma-wrapper>div:first-child {
    display: flex;
    justify-content: flex-end;
}

.forma-wrapper .forma {
    position: relative;
    padding: 20px;
    background-color: #fff;
}

.forma-wrapper .forma form>div:last-child {
    margin-bottom: 0px;
}

.forma form.success {
    position: relative;
}

.forma form.success::before {
    content: "";
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #fff;
    z-index: 1;
}

.forma form.success::after {
    content: "Спасибо! Ваше обращение было отправлено.";
    font-size: 2em;
    position: absolute;
    display: block;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
    z-index: 1;
}

/* Cont */

.home .cont {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
}

.home .cont>div {
    width: 50%;
}

.home .cont>div:first-child>div {
    position: relative;
    max-width: 700px;
    padding: 40px;
    margin-left: -100px;
    background-color: #fff;
    z-index: 2;
}

.home .cont>div:first-child>div::before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    position: absolute;
    left: 0px;
    top: -100px;
    background-color: #00894E;
    background-image: url("/template/img/address_w.svg");
    background-size: 50px;
    background-position: center;
    background-repeat: no-repeat;
}

.map {
    /* filter: grayscale();
    -webkit-filter: grayscale(100%); */
}

.user-menu {
    display: flex;
}

.user-menu>div {
    padding: 10px 10px 0px 0px;
}

.user-menu .selected {
    font-weight: bold;
}

.orders {
    display: table;
    border-collapse: collapse;
    margin-top: 20px;
}

.orders>div {
    display: table-row;
}

.orders>div>div {
    display: table-cell;
    padding: 5px 10px;
    border: 1px solid #CCC;
    cursor: pointer;
}

.orders>div:first-child {
    text-align: center;
    font-weight: bold;
    cursor: inherit;
}

.orders>div:first-child>div {
    cursor: inherit;
}

.user .order {
    margin-top: 20px;
}

.user .order>div {
    margin: 10px 0px;
}

.user .order>div::before {
    font-weight: 500;
}

.user .order .id:before {
    content: "ID: ";
}

.user .order .date:before {
    content: "Дата: ";
}

.user .order .name:before {
    content: "ФИО: ";
}

.user .order .phone:before {
    content: "Номер телефона: ";
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

.user .order .email:before {
    content: "Электронная почта: ";
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

.user .order .comment:before {
    content: "Комментарий: ";
}

.user .order .items {
    margin: 20px 0px;
    display: table;
    border-collapse: collapse;
}

.user .order .items>div {
    display: table-row;
}

.user .order .items>div>div {
    display: table-cell;
    padding: 5px;
    border: 1px solid #ddd;
    text-align: center;
}

.user .order .items>div>div:first-child {
    text-align: left;
}

.user .order .sum {
    font-size: 1.2em;
}

.user .order .sum:before {
    content: "Сумма заказа:";
    margin-right: 5px
}

.pdf {
    display: inline-block;
    background-image: url("/template/img/pdf.svg");
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 32px;
    text-decoration: none;
    font-weight: 500;
    background-color: #f8f8f8;
    border-radius: 16px;
    padding: 10px 10px 10px 50px;
}

@media (max-width: 1024px) {

    .wrapper>.content {
        padding-top: 60px;
    }

    .header .menu {
        display: none;
    }

    .header .mobile-menu-button {
        display: block;
    }

    .header .logo {
        flex-grow: 1;
        width: auto;
    }

    .home .header {
        top: 0px;
    }

    .header .phone a {
        background-size: 18px;
    }

    .header-cart {
        margin-bottom: 12px;
    }

    .header .phone {
        font-size: 0px;
    }

    .custom-items {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 20px;
    }

    .forma-wrapper {
        grid-template-columns: auto;
    }

    .forma h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .forma-wrapper>div {
        min-width: 200px;
    }

    .forma-wrapper .forma {
        padding: 10px 20px 0px 10px;
    }

    .footer>div {
        grid-template-columns: repeat(4, auto);
    }

    .footer>div>div {
        padding-left: 20px;
    }
}

@media (max-width: 768px) {

    h1 {
        font-size: 1.5em;
    }

    .header .logo {
        width: 60px;
        padding: 0px;
    }

    .header .logo img {
        width: 40px;
    }

    .logo a::after {
        display: none;
    }

    .home .header .phone {
        margin-left: 20px;
    }

    .home .header>.widther {
        padding: 10px;
    }

    .header .lk {
        background-color: transparent;
        font-size: 0px;
        width: 32px;
        height: 32px;
        background-image: url("/template/img/user.svg");
        background-position: center;
        background-size: 20px;
        background-repeat: no-repeat;
        margin-left: 0px;
        border: none;
    }

    .title {
        font-size: 2em;
    }

    .slider-1 {
        height: calc(100vh - 180px);
    }

    .home-1-wrapper {
        height: auto;
    }

    .home-1 {
        top: auto;
        position: relative;
    }

    .home-1 .cifri {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .home-1 .cifri>div {
        padding: 0px;
        font-size: 1.6em;
    }

    .home-1 .cifri>div>div:first-child {
        font-size: 1em;
        width: 60px;
        height: 60px;
    }

    .vse a {
        font-size: 1em;
        white-space: nowrap;
    }

    .vse a::before {
        display: none;
    }

    .forma form>div:first-child {
        grid-template-columns: 1fr;
    }

    .forma form>div:nth-child(2)>div:last-child {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .forma-wrapper {
        margin: 0px;
        padding: 0px;
        background-color: transparent;
    }

    .forma-wrapper>div {
        margin-bottom: 40px;
    }

    .home .cont>div:first-child>div {
        margin-left: -70px;
        margin-top: 140px;
        padding: 20px;
    }

    .home .cont>div:first-child>div::before {
        width: 70px;
        height: 70px;
        background-size: 40px;
        top: -70px;
    }

    .home .cont>div {
        width: auto;
        min-width: 140px;
    }

    .footer {
        padding: 50px 0px;
    }

    .footer>div {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        grid-template-columns: none;
    }

    .footer>div>div {
        width: 320px;
        padding: 20px 0px;
        text-align: center;
    }

    .footer-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .shop h1 {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .shop .items .price {
        white-space: nowrap;
        min-width: 60px;
    }

    .shop .items>.items>div {
        padding: 10px 5px;
    }

    .shop .items .za {
        min-width: 40px;
        font-size: 0.9em;
    }

    .to-cart {
        min-width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .to-cart button {
        font-size: 0px;
        min-width: 32px;
        min-height: 32px;
        background-image: url("/template/img/cart_w.svg");
        background-size: 16px;
        background-position: center;
        background-repeat: no-repeat;
    }

    .cart-count input {
        width: 70px;
    }

    .cart::before {
        padding: 10px;
    }
}
/* ===== Full Redesign 2026 ===== */
:root {
    --bg-page: #eef2f8;
    --bg-page-alt: #f7f9fd;
    --surface: #ffffff;
    --surface-alt: #f4f7fc;
    --surface-glass: rgba(255, 255, 255, 0.86);
    --line-soft: rgba(18, 35, 62, 0.12);
    --line-strong: rgba(18, 35, 62, 0.2);
    --brand-navy: #101e37;
    --brand-navy-2: #1a2f56;
    --brand-steel: #d2dae8;
    --text-primary: #12223e;
    --text-secondary: #4f607c;
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 30px;
    --radius-xl: 38px;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 32px rgba(16, 30, 55, 0.1);
    --shadow-strong: 0 24px 60px rgba(16, 30, 55, 0.2);
    --shadow-3d: 0 14px 26px rgba(15, 27, 47, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(3, 8, 17, 0.2);
    --btn-gradient: linear-gradient(150deg, #0f1b35 0%, #1d3157 55%, #3b5078 100%);
}

html,
body {
    color: var(--text-primary);
}

body {
    position: relative;
    min-height: 100%;
    background-color: #f0f4fb;
    background-image: url("/template/img/bg.webp");
    background-repeat: repeat;
    background-size: 500px;
    background-position: left top;
}

body::before,
body::after {
    content: none;
    display: none;
}

* {
    font-family: "Manrope", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.title {
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--brand-navy);
}

a {
    color: var(--brand-navy-2);
}

a:hover {
    color: var(--brand-navy);
}

.widther {
    max-width: 1520px;
    padding: 0 20px;
}

.wrapper {
    background: transparent;
}

.wrapper > .content {
    padding: 126px 0 20px;
}

.wrapper.home > .content {
    padding-top: 104px;
}

.default-border-radius {
    border-radius: var(--radius-md);
}

.default-shadow {
    box-shadow: var(--shadow-soft);
}

.default-bg {
    background: var(--btn-gradient);
    color: #f5f8ff;
}

.default-bg-alt {
    background: linear-gradient(145deg, #132548, #1d335e);
    color: #f5f8ff;
}

.default-bg-gray {
    background-color: var(--surface-alt);
    color: var(--text-primary);
}

.default-bg-gray-hover:hover {
    background-color: #e8edf7;
}

.default-border {
    border: 1px solid var(--line-strong);
}

.default-color {
    color: var(--brand-navy);
}

.to-top {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: #132548;
    background-image: url("/template/img/top.svg"), var(--btn-gradient);
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: 20px, cover;
    box-shadow: var(--shadow-3d);
    bottom: 18px;
    right: 18px;
}

button,
.form-button,
.to-cart button,
.next,
.page > a,
.header .phone a,
.header .menu ul li > a,
.custom-menu li > a,
.header-cart,
.header-login-register,
.header-user a,
.cart-count > div.dec,
.cart-count > div.inc {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

button,
.form-button,
.to-cart button {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background: var(--btn-gradient);
    color: #f6f9ff;
    box-shadow: var(--shadow-3d);
}

button:hover,
.form-button:hover,
.to-cart button:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #16284a 0%, #223a68 55%, #425a86 100%);
}

.header {
    top: 0;
    left: 0;
    transform: none;
    background: transparent;
    padding: 0 16px;
}

.header > div.widther {
    max-width: 1520px;
    margin: 14px auto 0;
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    gap: 14px;
}

.header.scrolled > div.widther {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.92);
}

.header .logo {
    min-width: fit-content;
}

.header .logo a {
    width: auto;
    padding-right: 0;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.header .logo img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(7, 13, 25, 0.25));
}

.header .logo span {
    font-size: clamp(2rem, 2.9vw, 3rem);
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1;
    letter-spacing: 0.04em;
}

.header .menu {
    flex-grow: 1;
}

.header .menu ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.header .menu ul li {
    margin: 0;
    padding: 0;
}

.header .menu ul li > a {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid transparent;
}

.header .menu ul li > a:hover,
.header .menu ul li > a.selected {
    color: var(--brand-navy);
    border-color: var(--line-soft);
    background: var(--surface);
    box-shadow: 0 8px 18px rgba(15, 30, 56, 0.12);
}

.header .menu ul li ul {
    top: calc(100% + 10px);
    margin-left: 0;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-soft);
    background: var(--surface);
    min-width: 220px;
}

.header .menu ul li ul li {
    margin: 0;
}

.header .menu ul li ul li a {
    padding: 8px 10px;
    border-radius: 12px;
    display: block;
    color: var(--text-primary);
}

.header .menu ul li ul li a:hover {
    background: var(--surface-alt);
}

.header .phone a {
    padding: 12px 16px 12px 50px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-soft);
    background-color: var(--surface);
    background-position: left 18px center;
    background-size: 18px;
    color: var(--text-primary);
    box-shadow: 0 10px 22px rgba(12, 26, 46, 0.1);
    font-weight: 700;
}

.header .phone a:hover {
    transform: translateY(-2px);
}

.header .phone p {
    margin: 0;
}

.header-cart {
    min-width: 50px;
    height: 50px;
    margin: 0 0 0 12px;
    border-radius: 16px;
    line-height: 50px;
    background: var(--btn-gradient);
    box-shadow: var(--shadow-3d);
    font-weight: 700;
    color: #f6f9ff;
}

.header-cart::before {
    width: 34px;
    height: 34px;
    top: 8px;
    right: 33px;
    border-radius: 12px;
    background-color: #ebf0f8;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 6px 12px rgba(10, 21, 39, 0.2);
    background-size: 18px;
}

.header-cart:empty {
    display: none;
}

.header .mobile-menu-button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    margin-right: 0;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background-color: var(--surface);
    background-size: 22px;
    box-shadow: 0 8px 18px rgba(13, 28, 52, 0.12);
}

.header-login-register,
.header-user a {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: 0 8px 18px rgba(13, 28, 52, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.header-login-register::before,
.header-user a::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("/template/img/user.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.header-user a {
    font-size: 0;
}

.slider-wrapper {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
}

.slider-1 {
    width: 100%;
    height: clamp(420px, 72vh, 760px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: var(--shadow-strong);
}

.slider-1 > div,
.slider-1 > div > div {
    border-radius: inherit;
}

.slider-1 > div > div {
    filter: none;
    background: transparent;
}

.slider-1 > div > div::after {
    display: none;
}

.slider-1 div.on {
    scale: 100%;
    filter: none;
}

.slider-1 .text {
    left: 64px;
    right: 64px;
    bottom: 56px;
    top: auto;
    transform: none;
    text-align: left;
    max-width: 760px;
    color: #f4f8ff;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.slider-1 .text h1 {
    font-size: clamp(1.6rem, 3vw, 2.7rem);
    margin: 0;
}

.slider-1 .text h2 {
    font-size: clamp(1.05rem, 1.9vw, 1.5rem);
    margin: 10px 0 0;
    font-weight: 700;
}

.slider-1 .text h3 {
    max-width: 680px;
    margin: 14px 0 0;
    font-size: clamp(0.95rem, 1.35vw, 1.1rem);
    font-weight: 500;
}

.home-1-wrapper {
    display: none;
}

.home-1 {
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    bottom: auto;
    display: block;
}

.home-1 > div {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

.home-1 > div:first-child {
    padding: 0;
    text-align: left;
}

.home-1 > div:first-child > div {
    width: 100%;
    border-radius: 34px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    padding: clamp(22px, 3vw, 40px);
    box-shadow: var(--shadow-soft);
}

.home .vse {
    margin: 16px 0 18px;
    gap: 20px;
}

.title,
.title-custom {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    padding: 0;
    margin: 0;
}

.vse a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    padding: 11px 18px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: 0 10px 22px rgba(15, 31, 56, 0.1);
    color: var(--brand-navy);
    font-weight: 700;
}

.vse a:hover {
    transform: translateY(-2px);
}

.slick-prev,
.slick-next {
    width: 42px;
    height: 42px;
    top: -56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    background-image: url("/template/img/arrow-left.svg"), var(--btn-gradient);
    background-size: 16px, cover;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: var(--shadow-3d);
}

.slick-next {
    background-image: url("/template/img/arrow-right.svg"), var(--btn-gradient);
}

.slick-prev:hover,
.slick-next:hover {
    transform: translateY(-2px);
}

.custom-menu ul {
    margin: 16px 0 24px;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.custom-menu li {
    margin: 0;
    padding: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    white-space: nowrap;
}

.custom-menu li > a,
.custom-menu li.selected {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 8px 18px rgba(15, 30, 56, 0.08);
}

.custom-menu li.selected,
.custom-menu li.selected a {
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--btn-gradient);
    color: #f6f9ff;
}

.custom-items,
.custom-items-block,
.yslygi {
    gap: 24px;
}

.custom-items > div,
.custom-items-block .item,
.yslygi .category,
.custom-item,
.shop > .items,
.cart .cart-order,
.cart .cart-pay,
.user > div,
.orders,
.order {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.custom-items > div,
.custom-items-block .item,
.yslygi .category {
    padding: 14px;
}

.custom-items .image,
.custom-items-block .image,
.yslygi .category .image,
.custom-item .image img,
.custom-items img,
.custom-items-block img {
    border-radius: 20px;
}

.custom-items .name,
.custom-items-block .name,
.custom-item h1,
.custom-item .address {
    color: var(--brand-navy);
    font-weight: 700;
}

.custom-item {
    padding: 24px;
}

.custom-items .address,
.custom-items-block .address,
.custom-items .square,
.custom-items-block .square,
.custom-items .date,
.custom-items-block .date,
.custom-item .date,
.custom-item .square,
.custom-item .description {
    color: var(--text-secondary);
    opacity: 1;
}

.custom-items .date,
.custom-items-block .date {
    background: var(--btn-gradient);
    color: #f6f9ff;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-3d);
    margin: 12px;
    padding: 7px 12px;
}

.shop h1,
.user h1,
.cart h1,
.favorite h1 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    color: var(--brand-navy);
}

.shop > .items {
    margin-top: 18px;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    gap: 12px;
}

.shop .items div.category {
    padding: 16px 20px 16px 50px;
    border-radius: 20px;
    border: 1px solid var(--line-soft);
    background-color: var(--surface);
    background-position: left 20px center;
    box-shadow: 0 10px 22px rgba(13, 29, 54, 0.1);
    color: var(--brand-navy);
}

.shop .items div.category.opened {
    background-color: #eaf0fa;
}

.shop .items .items {
    grid-template-columns: minmax(200px, 1fr) 120px 92px 150px;
    gap: 8px 0;
    margin: 4px 0 0;
}

.shop .items .items > div {
    border: 1px solid var(--line-soft);
    background: var(--surface);
    padding: 14px 16px;
    box-shadow: 0 8px 16px rgba(13, 29, 54, 0.06);
}

.shop .items .items > div:nth-child(4n + 1) {
    border-radius: 16px 0 0 16px;
    border-right: none;
    color: var(--text-primary);
    font-weight: 600;
}

.shop .items .items > div:nth-child(4n + 2),
.shop .items .items > div:nth-child(4n + 3) {
    border-right: none;
}

.shop .items .items > div:nth-child(4n) {
    border-radius: 0 16px 16px 0;
}

.shop .items .price {
    white-space: nowrap;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}

.shop .items .price > div:first-child {
    font-size: 1.02rem;
    color: var(--brand-navy);
}

.shop .items .price > div:first-child:empty {
    display: none;
}

.shop .items .price > div:last-child {
    color: var(--text-secondary);
    opacity: 0.75;
    text-decoration: line-through;
}

.shop .items .price > div:first-child:empty + div {
    text-decoration: none;
    color: var(--brand-navy);
    opacity: 1;
}

.shop .items .za {
    min-width: 92px;
    color: var(--text-secondary);
}

.price {
    color: var(--brand-navy);
}

.price::after {
    color: var(--brand-navy);
}

.to-cart {
    display: flex;
    justify-content: flex-end;
}

.to-cart > div {
    display: flex;
    justify-content: flex-end;
}

.to-cart button {
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
}

.shop .items .to-cart .cart-count {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    padding: 3px;
}

.shop .items .to-cart .cart-count > div:nth-child(2) {
    min-width: 46px;
}

.shop .items .to-cart .cart-count > div.dec,
.shop .items .to-cart .cart-count > div.inc {
    min-width: 26px;
    width: 26px;
    height: 26px;
}

.to-cart button::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-image: url("/template/img/cart_w.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.shop .items .sub .items > div {
    padding-left: 24px;
}

.next {
    margin: 22px auto 0;
    width: max-content;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: 0 10px 22px rgba(14, 30, 55, 0.12);
    font-weight: 700;
    color: var(--brand-navy);
}

.next:hover {
    transform: translateY(-2px);
}

.page {
    margin-top: 18px;
    gap: 6px;
}

.page > a {
    min-width: 40px;
    margin: 0;
    padding: 8px 10px;
    line-height: 22px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 8px 16px rgba(14, 30, 55, 0.08);
    color: var(--text-primary);
}

.page > a.selected,
.page .selected {
    color: #f6f9ff;
    background: var(--btn-gradient);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-3d);
}

.form input,
.form-input,
.form textarea,
.select2-container--default .select2-selection--single {
    border: 1px solid var(--line-soft);
    background-color: #f7faff;
    color: var(--text-primary);
    border-radius: 14px;
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

.form label {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
}

.form .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form .buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    color: var(--brand-navy);
    text-decoration: none;
    font-weight: 700;
}

.form .buttons a:hover {
    transform: translateY(-2px);
}

.modal {
    background-color: rgba(17, 28, 49, 0.3);
}

.modal > div {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-strong);
    background: var(--surface);
    padding: 26px;
}

.modal > div > .close::before,
.modal > div > .close::after {
    background-color: var(--brand-navy);
}

.mobile-menu {
    top: 94px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border-radius: 26px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-strong);
    padding: 8px;
}

.mobile-menu > ul > li {
    border-top: 1px solid var(--line-soft);
    padding: 14px 10px;
}

.mobile-menu li a {
    color: var(--text-primary);
}

.mobile-menu ul li ul {
    border-left-color: #d2dced;
}

.cart {
    margin-top: 16px;
}

.cart .cart-items {
    margin-top: 16px;
    border-top: none;
    gap: 8px 0;
}

.cart .cart-items > div {
    border: 1px solid var(--line-soft);
    background: var(--surface);
    padding: 12px 14px;
}

.cart .cart-items > div:nth-child(6n + 1) {
    border-radius: 16px 0 0 16px;
    border-right: none;
    font-weight: 600;
}

.cart .cart-items > div:nth-child(6n + 2),
.cart .cart-items > div:nth-child(6n + 3),
.cart .cart-items > div:nth-child(6n + 4),
.cart .cart-items > div:nth-child(6n + 5) {
    border-right: none;
}

.cart .cart-items > div:nth-child(6n) {
    border-radius: 0 16px 16px 0;
}

.cart .cart-items .delete {
    width: 34px;
    height: 34px;
    background-position: center;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background-color: #f8fbff;
}

.cart .sum {
    color: var(--brand-navy);
}

.cart-order,
.cart-pay {
    margin-top: 16px;
    padding: 18px;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    background: #f8fbff;
}

.cart-count > div:nth-child(2) {
    min-width: 70px;
}

.cart-count input {
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--brand-navy);
    font-weight: 700;
}

.cart-count > div.dec,
.cart-count > div.inc {
    position: static;
    min-width: 30px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--btn-gradient);
    box-shadow: var(--shadow-3d);
}

.cart-count > div.dec::before,
.cart-count > div.inc::before {
    position: static;
    transform: none;
    line-height: 30px;
    text-align: center;
    width: 100%;
    color: #f6f9ff;
    font-size: 18px;
    display: block;
    padding: 0;
}

.forma-wrapper {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 28px;
    margin: 76px 0;
}

.forma-wrapper .forma {
    padding: 0;
    background: transparent;
}

.footer-wrapper {
    margin-top: 84px;
    background: transparent;
    padding: 0 20px 24px;
}

.home + .footer-wrapper {
    margin-top: 84px;
}

.footer {
    padding: 0;
    color: var(--text-primary);
}

.footer .widther {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    align-items: start;
    border-radius: 36px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.footer a {
    color: var(--brand-navy);
}

.footer > div > div {
    padding-left: 0;
}

.footer .logo {
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer .logo img {
    width: 64px;
    height: 64px;
    max-width: none;
    object-fit: contain;
}

.footer .logo span {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--brand-navy);
}

.footer ul {
    gap: 6px;
}

.footer li {
    padding: 0;
}

.footer .phone,
.footer .email,
.footer .address {
    padding-left: 30px;
    background-image: url("/template/img/phone.svg");
    background-size: 16px;
    color: var(--text-primary);
}

.footer .email {
    background-image: url("/template/img/email.svg");
}

.footer .address {
    background-image: url("/template/img/address.svg");
}

.user > div {
    margin-top: 14px;
    padding: 16px;
}

.user-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.user-menu > div {
    padding: 0;
}

.user-menu > div > a,
.user-menu .logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: var(--surface-alt);
    font-weight: 700;
    cursor: pointer;
}

.user-menu .selected > a,
.user-menu .selected {
    background: var(--btn-gradient);
    color: #f6f9ff;
    border-color: rgba(255, 255, 255, 0.2);
}

.orders,
.user .order .items {
    display: block;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 16px;
    border-radius: 16px;
    overflow: hidden;
}

.orders > div,
.user .order .items > div {
    display: grid;
    grid-template-columns: minmax(70px, 120px) minmax(120px, 180px) 1fr;
}

.user .order .items > div {
    grid-template-columns: 1fr auto auto auto;
}

.orders > div > div,
.user .order .items > div > div {
    display: block;
    border: 1px solid var(--line-soft);
    border-right: none;
    border-top: none;
    padding: 10px 12px;
}

.orders > div > div:last-child,
.user .order .items > div > div:last-child {
    border-right: 1px solid var(--line-soft);
}

.orders > div:first-child > div,
.user .order .items > div:first-child > div {
    border-top: 1px solid var(--line-soft);
    font-weight: 700;
    background: var(--surface-alt);
}

.user .order .sum {
    margin-top: 16px;
    color: var(--brand-navy);
    font-weight: 800;
}

.pdf {
    border: 1px solid var(--line-soft);
    background-color: var(--surface);
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(12, 27, 50, 0.1);
    color: var(--brand-navy);
}

.tip {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 6;
    border-radius: 20px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-strong);
    padding: 12px;
    max-height: 70vh;
    overflow-y: auto;
    display: none;
}

.search-history,
.search-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.search-history a,
.search-categories a {
    text-decoration: none;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-pill);
    padding: 8px 12px;
    background: var(--surface-alt);
    color: var(--text-primary);
    font-size: 0.92rem;
}

.search-items.shop-items {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 6px 0;
}

.search-items.shop-items > div {
    border: 1px solid var(--line-soft);
    background: var(--surface);
    padding: 10px;
}

.search-items.shop-items > div:nth-child(4n + 1) {
    border-radius: 14px 0 0 14px;
    border-right: none;
}

.search-items.shop-items > div:nth-child(4n + 2),
.search-items.shop-items > div:nth-child(4n + 3) {
    border-right: none;
}

.search-items.shop-items > div:nth-child(4n) {
    border-radius: 0 14px 14px 0;
}

@media (max-width: 1200px) {
    .header .logo img {
        width: 64px;
        height: 64px;
    }

    .header .logo span {
        font-size: clamp(1.6rem, 3vw, 2.3rem);
    }

    .header .menu ul li > a {
        padding: 9px 14px;
    }

    .home-1-wrapper {
        display: none;
    }
}

@media (max-width: 1024px) {
    .wrapper > .content {
        padding-top: 118px;
    }

    .header {
        padding: 0 10px;
    }

    .header > div.widther {
        margin-top: 10px;
        padding: 10px 12px;
    }

    .header .menu {
        display: none;
    }

    .header .mobile-menu-button {
        display: block;
    }

    .header .logo {
        flex-grow: 1;
    }

    .header .logo a {
        gap: 10px;
    }

    .header .phone {
        font-size: 0;
    }

    .header .phone a {
        width: 46px;
        height: 46px;
        min-width: 46px;
        padding: 0;
        background-position: center;
    }

    .header-cart {
        min-width: 46px;
        height: 46px;
        line-height: 46px;
        margin-left: 0;
    }

    .header-cart::before {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 29px;
    }

    .slider-wrapper {
        padding: 0 12px;
    }

    .slider-1 {
        border-radius: 30px;
        height: min(68vh, 620px);
    }

    .slider-1 .text {
        left: 28px;
        right: 28px;
        bottom: 30px;
    }

    .home-1-wrapper {
        display: none;
    }

    .home .vse {
        margin: 16px 0 16px;
        flex-wrap: wrap;
    }

    .custom-items,
    .custom-items-block {
        gap: 16px;
    }

    .custom-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop .items .items {
        grid-template-columns: minmax(160px, 1fr) auto auto auto;
    }

    .footer-wrapper {
        padding: 0 12px 20px;
    }

    .footer .widther {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 24px;
    }

    .footer-left {
        grid-column: span 2;
    }

    .forma-wrapper {
        margin: 56px 0;
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .wrapper.home > .content,
    .wrapper > .content {
        padding-top: 82px;
    }

    .widther {
        padding: 0 12px;
    }

    .header > div.widther {
        border-radius: 22px;
        gap: 8px;
    }

    .header .logo img {
        width: 48px;
        height: 48px;
    }

    .header .logo {
        width: auto;
    }

    .header .logo span {
        font-size: 1.5rem;
    }

    .header .phone {
        display: none;
    }

    .header-cart {
        display: block;
        min-width: 50px;
        height: 50px;
        line-height: 50px;
        margin: 0 0 0 12px;
        border-radius: 16px;
        font-size: 0.9em;
    }

    .header-cart:empty {
        display: none;
    }

    .header-cart::before {
        width: 34px;
        height: 34px;
        top: 8px;
        right: 33px;
        border-radius: 12px;
        background-color: #ebf0f8;
        box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 6px 12px rgba(10, 21, 39, 0.2);
        background-size: 18px;
    }

    .mobile-menu {
        top: 78px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 20px;
    }

    .slider-1 {
        border-radius: 22px;
        height: calc(100vh - 230px);
        min-height: 360px;
    }

    .slider-1 .text {
        left: 20px;
        right: 20px;
        bottom: 24px;
    }

    .home-1-wrapper {
        display: none;
    }

    .home-1 > div:first-child > div {
        border-radius: 22px;
        padding: 20px;
    }

    .title,
    .title-custom {
        font-size: clamp(1.5rem, 7vw, 2.1rem);
    }

    .custom-items {
        grid-template-columns: 1fr;
    }

    .shop .items .items {
        grid-template-columns: minmax(140px, 1fr) auto auto;
        gap: 4px;
    }

    .shop .items .items > div:nth-child(4n + 1) {
        grid-column: 1 / 4;
        border-radius: 12px 12px 0 0;
        border-right: 1px solid var(--line-soft);
        border-bottom: none;
    }

    .shop .items .items > div:nth-child(4n + 2) {
        grid-column: 1 / 2;
        border-radius: 0 0 0 12px;
        border-right: none;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .shop .items .items > div:nth-child(4n + 3) {
        grid-column: 2 / 3;
        border-radius: 0;
        border-right: none;
        min-width: 54px;
        justify-content: center;
        white-space: nowrap;
    }

    .shop .items .items > div:nth-child(4n + 4) {
        grid-column: 3 / 4;
        border-radius: 0 0 12px 0;
        min-width: 56px;
        justify-content: center;
    }

    .shop .items .price {
        min-width: 80px;
        white-space: nowrap;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    .shop .items .price > div {
        white-space: nowrap;
    }

    .shop .items .price > div:last-child {
        display: none;
    }

    .shop .items .price > div:first-child:empty + div {
        display: inline;
        text-decoration: none;
        opacity: 1;
        color: var(--brand-navy);
    }

    .shop .items .to-cart {
        min-width: 56px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .shop .items .to-cart > div {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .shop .items .to-cart button {
        width: 44px;
        min-width: 44px;
        min-height: 42px;
        padding: 0;
        border-radius: 12px;
        font-size: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        background-position: center, center;
    }

    .shop .items .to-cart button::before {
        margin-right: 0;
        width: 15px;
        height: 15px;
        flex-shrink: 0;
    }

    .shop .items .to-cart button::after {
        content: "";
        font-size: 0;
        line-height: 0;
    }

    .shop .items .to-cart .cart-count {
        width: 100%;
        min-height: 42px;
        justify-content: space-between;
    }

    .shop .items .to-cart .cart-count > div:nth-child(2) {
        min-width: 36px;
    }

    .shop .items .to-cart .cart-count input {
        font-size: 0.95rem;
    }

    .cart .cart-items {
        grid-template-columns: 1fr;
    }

    .cart .cart-items > div {
        border-radius: 12px;
        border-right: 1px solid var(--line-soft);
    }

    .cart-count {
        width: 100%;
        justify-content: space-between;
    }

    .footer .widther {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 24px;
    }

    .footer-left {
        grid-column: auto;
    }

    .footer > div > div,
    .footer .footer-menu,
    .footer .footer-cont {
        width: 100%;
        text-align: left;
    }

    .forma-wrapper {
        margin: 40px 0;
        padding: 14px;
        border-radius: 20px;
    }

    .orders > div,
    .user .order .items > div {
        grid-template-columns: 1fr;
    }

    .orders > div > div,
    .user .order .items > div > div {
        border-right: 1px solid var(--line-soft);
    }

    .search-items.shop-items {
        grid-template-columns: 1fr;
    }

    .search-items.shop-items > div {
        border-right: 1px solid var(--line-soft);
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .header .logo span {
        font-size: 1.2rem;
    }

    .slider-1 {
        height: calc(100vh - 210px);
        min-height: 320px;
    }

    .slider-1 .text h1 {
        font-size: 1.35rem;
    }

    .slider-1 .text h2 {
        font-size: 0.95rem;
    }

    .home .vse a,
    .custom-menu li > a,
    .next {
        width: 100%;
        justify-content: center;
    }

    .page > a {
        min-width: 34px;
        padding: 7px 8px;
        font-size: 0.9rem;
    }
}

/* Layout refinements */
.slider-wrapper {
    background: none;
    box-shadow: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.slider-1,
.slider-1 > div,
.slider-1 > div > div,
.slider-1 .text {
    background: none;
}

.home,
.home > div,
.home > div > .widther,
.wrapper.home > .content,
.content.widther {
    background: transparent;
}

.breadcrumbs {
    padding: 8px 12px;
    border-radius: 14px;
}

.custom-item .image {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.title,
.title-custom {
    padding: 6px 0 10px;
    margin: 0 0 8px;
}

@media (max-width: 1024px) {
    .wrapper .mobile-menu {
        top: 74px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 20px;
        background: #ffffff;
        border: 1px solid rgba(18, 35, 62, 0.16);
        box-shadow: 0 18px 46px rgba(15, 30, 56, 0.22);
    }

    .wrapper .mobile-menu > ul > li {
        border-top: 1px solid rgba(18, 35, 62, 0.1);
    }

    .wrapper .mobile-menu li a {
        color: #12223e;
        opacity: 1;
    }

    .wrapper .mobile-menu ul li ul {
        background: #f7faff;
        border-left: 2px solid rgba(18, 35, 62, 0.16);
        padding: 10px 0 10px 12px;
    }
}

/* Fluid cart/prices reset */
.price,
.price > div,
.shop .items .price,
.shop .items .price > div,
.cart .price,
.cart .price > div {
    white-space: nowrap;
}

.to-cart,
.shop .items .to-cart {
    min-width: 0;
    width: auto;
}

.to-cart > div:not(.cart-count),
.shop .items .to-cart > div:not(.cart-count) {
    width: auto;
}

.to-cart button,
.shop .items .to-cart button {
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 11px 18px;
    font-size: inherit;
    line-height: normal;
    letter-spacing: normal;
    white-space: nowrap;
}

.to-cart button::after,
.shop .items .to-cart button::after {
    white-space: nowrap;
    font-size: inherit;
    line-height: normal;
    letter-spacing: normal;
}

.shop .items .items {
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
}

.shop .items .to-cart .cart-count {
    width: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: 8px;
}

.shop .items .to-cart .cart-count > div:nth-child(2) {
    min-width: auto;
}

.shop .items .to-cart .cart-count input {
    width: 3em;
}

@media (max-width: 768px) {
    .custom-item .image {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .shop .items .items {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 4px 0;
    }

    .shop .items .items > div:nth-child(4n + 1) {
        grid-column: 1 / 4;
        border-radius: 12px 12px 0 0;
        border-right: 1px solid var(--line-soft);
        border-bottom: none;
        white-space: normal;
    }

    .shop .items .items > div:nth-child(4n + 2) {
        grid-column: 1 / 2;
        border-radius: 0 0 0 12px;
        border-right: none;
        min-width: 0;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .shop .items .items > div:nth-child(4n + 3) {
        grid-column: 2 / 3;
        border-radius: 0;
        border-right: none;
        min-width: 0;
        justify-content: center;
        white-space: nowrap;
    }

    .shop .items .items > div:nth-child(4n + 4) {
        grid-column: 3 / 4;
        border-radius: 0 12px 12px 0;
        min-width: max-content;
        justify-content: center;
    }

    .shop .items .price {
        min-width: 0;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        white-space: nowrap;
    }

    .shop .items .price > div:last-child {
        display: block;
    }

    .shop .items .to-cart {
        min-width: max-content;
        width: auto;
        justify-content: center;
        align-items: center;
    }

    .shop .items .to-cart > div:not(.cart-count) {
        width: auto;
        justify-content: center;
    }

    .shop .items .to-cart button {
        width: 44px;
        min-width: 44px;
        min-height: 42px;
        padding: 0;
        font-size: 0;
        gap: 0;
    }

    .shop .items .to-cart button::before {
        margin-right: 0;
        width: 15px;
        height: 15px;
    }

    .shop .items .to-cart button::after {
        content: "";
        font-size: 0;
        line-height: 0;
    }

    .shop .items .to-cart .cart-count {
        display: inline-flex;
        align-items: center;
        width: auto;
        min-height: 0;
        justify-content: space-between;
        gap: 4px;
        padding: 4px;
    }

    .shop .items .to-cart .cart-count > div.dec,
    .shop .items .to-cart .cart-count > div.inc {
        position: static;
        left: auto;
        right: auto;
        min-width: 30px;
        width: 30px;
        height: 30px;
        margin: 0;
    }

    .shop .items .to-cart .cart-count > div.dec::before,
    .shop .items .to-cart .cart-count > div.inc::before {
        position: static;
        transform: none;
        line-height: 30px;
        text-align: center;
        width: 100%;
        display: block;
    }

    .shop .items .to-cart .cart-count > div:nth-child(2) {
        min-width: 34px;
        flex: 0 0 auto;
    }

    .shop .items .to-cart .cart-count input {
        width: 2.5em;
        min-width: 2.5em;
    }

    .cart .cart-items {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 4px 0;
    }

    .cart .cart-items > div {
        min-width: 0;
        border-radius: 0;
    }

    .cart .cart-items > div:nth-child(6n + 1) {
        grid-column: 1 / 4;
        border-radius: 12px 12px 0 0;
        border-right: 1px solid var(--line-soft);
        border-bottom: none;
        white-space: normal;
    }

    .cart .cart-items > div:nth-child(6n + 2) {
        grid-column: 1 / 2;
        border-radius: 0 0 0 12px;
        border-right: none;
        justify-content: flex-start;
        white-space: nowrap;
    }

    .cart .cart-items > div:nth-child(6n + 3),
    .cart .cart-items > div:nth-child(6n) {
        display: none;
    }

    .cart .cart-items > div:nth-child(6n + 4) {
        grid-column: 2 / 3;
        border-right: none;
        justify-content: center;
    }

    .cart .cart-items > div:nth-child(6n + 5) {
        grid-column: 3 / 4;
        border-radius: 0 0 12px 0;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .cart .cart-items > div:nth-child(6n + 4) .cart-count {
        width: auto;
        justify-content: center;
        gap: 4px;
        padding: 4px;
    }

    .cart .cart-items > div:nth-child(6n + 4) .cart-count > div:nth-child(2) {
        min-width: 34px;
        flex: 0 0 auto;
    }

    .cart .cart-items > div:nth-child(6n + 4) .cart-count input {
        width: 2.5em;
        min-width: 2.5em;
    }
}

/* Strict one-line prices */
.price,
.price > div,
.shop .items .price,
.shop .items .price > div,
.cart .price,
.cart .price > div {
    white-space: nowrap;
}

.price {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 4px;
}

.price::after {
    content: "\00a0\20BD";
    white-space: nowrap;
    display: inline-block;
    margin-left: 0;
}

.shop .items .price {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
}

.shop .items .price > div {
    display: inline;
}

.shop .items .price > div:empty {
    display: none;
}
