/* Подключаем локальный шрифт Marmelad */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('/fonts/CormorantGaramond-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* Общие стили */
body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-size: 1em;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #555555;
    text-decoration: underline;
}

/* Стили хедера */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: #f4f4f4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    font-family: 'Cormorant Garamond';
    font-size: 1.5rem;
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 1rem;
    font-size: 16px;
}

.nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #333;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.digits {
    font-size: 16px;
    vertical-align: baseline;
    /* Или try: middle / text-top / -0.1em */
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #f4f4f4;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav a {
        padding: 1rem;
        border-bottom: 1px solid #ddd;
    }

    .menu-toggle {
        display: block;
    }

    .nav.open {
        display: flex;
    }

    .header {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        padding: 0 16px;
        border-bottom: 1px solid #eee;
    }

    .logo {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .menu-toggle {
        position: absolute;
        left: 16px;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav {
        position: absolute;
        right: 16px;
    }

    .menu-toggle {
        position: absolute;
        left: 16px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: #222;
    }

    .menu-icon {
        display: block;
        width: 24px;
        height: 24px;
        stroke: #222;
        transition: stroke 0.3s;
    }

    .menu-toggle:hover .menu-icon {
        stroke: #777;
        /* легкое затемнение при наведении */
    }
}

.top-text {
    background-color: #333;
    color: white;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    padding: 2px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-text span {
    opacity: 0;
    animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== Header actions ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    text-decoration: none;
    color: inherit;
    border-radius: 50%;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.cart-icon-wrapper:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cart-icon-wrapper:active {
    background: rgba(0, 0, 0, 0.08);
}

.cart-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}

.cart-icon-wrapper:hover .cart-icon {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #1a1a1a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Manrope', sans-serif;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge:not(:empty) {
    display: flex;
}

/* Скрываем бейдж если 0 */
.cart-badge[data-count="0"],
.cart-badge:empty {
    display: none;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 60px;
        padding: 0 16px;
        border-bottom: 1px solid #eee;
    }

    .logo {
        font-size: 1.4rem;
        font-weight: 500;
    }

    /* Меню слева */
    .menu-toggle {
        position: absolute;
        left: 16px;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        color: #222;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-icon {
        display: block;
        width: 24px;
        height: 24px;
        stroke: #222;
        transition: stroke 0.3s;
    }

    .menu-toggle:hover .menu-icon {
        stroke: #777;
    }

    /* Корзина справа */
    .header-actions {
        position: absolute;
        right: 16px;
        gap: 8px;
    }
    
    .cart-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .cart-icon {
        width: 20px;
        height: 20px;
    }
    
    .cart-badge {
        min-width: 16px;
        height: 16px;
        font-size: 11px;
        padding: 0 3px;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #f4f4f4;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav a {
        padding: 1rem;
        border-bottom: 1px solid #ddd;
        margin: 0;
    }

    .nav.open {
        display: flex;
    }
}


/* ===== Шапка страницы корзины ===== */
.cart-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 0;
    background: #fff;
}

.cart-header__logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; 
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .cart-header__logo {
        font-size: 1.5rem;
    }
}

.cart-header__logo:hover {
    opacity: 0.7;
}

.cart-header__divider { 
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: #d0d0d0;
    margin: 16px 0;
}

.cart-header__title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.cart-header__back {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease, background 0.2s ease;
}

.cart-header__back:hover {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.04);
}

.cart-header__back:active {
    background: rgba(0, 0, 0, 0.08);
}

.cart-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 0.01em;
}

/* ===== Обновляем отступы страницы ===== */
.cart-page {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* Убираем старый заголовок, если был */
.cart-page__title {
    display: none;
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes placeholderShimmer {
    0% {
        background-position: -100%0
    }

    to {
        background-position: 100%0
    }
}

h2 {
    margin-top: 0;
    margin-bottom: .5rem
}

.product-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px
}

.product-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    overflow: hidden
}

.image-container,.product-images {
    position: relative;
    width: 100%;
    max-width: 500px
}

.selected-image {
    display: block;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain
}

.selected-image.hidden {
    visibility: hidden;
    opacity: 0
}

.selected-image:not(.hidden) {
    visibility: visible;
    opacity: 1
}

.thumbnail-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px
}

.thumbnail {
    position: relative;
    overflow: hidden
}

.thumbnail:hover {
    border-color: #333
}

.thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.5);
    opacity: 0;
    transition: opacity .2s
}

.size-custom-inline button.is-active,.thumbnail:active::before {
    opacity: 1
}

.arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: 0 0;
    border: 0;
    cursor: pointer;
    z-index: 10
}

.arrow-button img {
    width: 30px;
    height: 30px
}

.arrow-left {
    left: 10px
}

.arrow-right {
    right: 10px
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.order-button {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: inherit;
    display: block;
    width: 100%;
    max-width: 330px;
    padding: 8px 20px;
    margin: 1rem 0 .5rem;
    background-color: #333;
    color: #fff;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color .3s ease;
    -webkit-tap-highlight-color: rgba(255,255,255,.1);
    outline: 0
}

.order-button:hover {
    background-color: #555
}

.order-button.outlined {
    background: 0 0!important;
    background-color: transparent;
    color: #333;
    padding: 6.5px 18px;
    border: 1.5px solid currentColor;
    box-shadow: none
}

.order-button.outlined:hover {
    background: rgba(0,0,0,.05)
}

.order-button.outlined:active {
    background: rgba(0,0,0,.1)
}

.order-button.outlined:focus-visible {
    outline: 2px solid #8ab4f8;
    outline-offset: 2px
}

.hidden-section {
    display: none
}

.contact-options {
    background: #f8f8f8;
    border-radius: 5px;
    padding: 15px;
    margin-top: 0;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    animation: fadeIn .3s ease
}

.contact-options-container {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    gap: 1rem
}

.email-button,.instagram-button,.telegram-button,.viber-button {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1em;
    margin-bottom: 10px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    outline: 0;
    transition: filter .2s ease,opacity .2s ease
}

.telegram-button {
    background-color: #08c
}

.viber-button {
    background-color: #7360f2
}

.instagram-button {
    background: linear-gradient(45deg,#f09433 0,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%)
}

.email-button {
    background-color: #d44638
}

.email-button:hover,.instagram-button:hover,.telegram-button:hover,.viber-button:hover {
    filter: brightness(1.1);
    opacity: .9
}

.email-button:active,.instagram-button:active,.telegram-button:active,.viber-button:active {
    filter: brightness(.95)
}

.email-icon,.instagram-icon,.telegram-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px
}

.email-button,.email-button:active,.email-button:focus,.email-button:hover,.email-button:visited,.instagram-button,.instagram-button:active,.instagram-button:focus,.instagram-button:hover,.instagram-button:visited,.telegram-button,.telegram-button:active,.telegram-button:focus,.telegram-button:hover,.telegram-button:visited,.viber-button,.viber-button:active,.viber-button:focus,.viber-button:hover,.viber-button:visited {
    color: #fff!important;
    text-decoration: none!important
}

.email-button span,.instagram-button span,.telegram-button span,.viber-button span {
    color: inherit;
    text-decoration: inherit
}

.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s,opacity .25s linear
}

.notDisplay {
    display: none
}

.svg-icon-button {
    width: 24px;
    height: 24px;
    padding-right: .7rem;
    fill: currentColor;
    transition: inherit;
    vertical-align: middle;
    display: inline-block
}

.product-details-name {
    font-size: 18px;
    font-weight: 400
}

.header-placeholder--min {
    min-height: 61px
}

.metrika-noscript {
    position: absolute;
    left: -9999px
}

.ring-size-trigger-wrapper {
    margin-top: 0
}

.current-stone--spaced {
    margin-top: 4px
}

.order-button-top-space {
    height: 1rem
}

.product-description {
    margin-top: 0;
    margin-bottom: 0
}

.inline-form {
    display: inline
}

.order-button--compact {
    margin-top: 0;
    margin-bottom: 1rem
}

.form-group--compact {
    margin-top: 0
}

.order-input--phone {
    margin-top: .5rem
}

.order-input--name {
    margin-top: 1rem
}

.order-success-message {
    margin-top: .25rem;
    margin-bottom: 0;
    font-size: 17px;
    font-weight: 500
}

.order-success-message-secondary {
    margin-top: .25rem;
    margin-bottom: 0;
    font-size: 15px
}

.form-actions--compact {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 0
}

.order-button--confirm {
    margin-top: 1rem;
    margin-bottom: 0
}

p.product-price {
    font-size: 14px;
    font-weight: 300;
    margin: .25rem 0 0
}

.order-form label,p.product-details_fields {
    font-size: 15px;
    font-weight: 400
}

p.product-details-material {
    font-size: 1.05em;
    margin-top: 0;
    margin-bottom: 0;
    color: #444
}

p.product-details_size {
    margin: .5rem 0
}

.form-group {
    margin-bottom: 1rem
}

.order-form label {
    display: block
}

.order-form input,.order-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: border-color .3s
}

.order-form input:focus,.order-form textarea:focus {
    border-color: #4a90e2;
    outline: 0;
    box-shadow: 0 0 5px rgba(74,144,226,.3)
}

.toast {
    visibility: hidden;
    min-width: 200px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px 24px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity .3s,bottom .3s;
    display: flex;
    align-items: center;
    gap: 8px
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 60px
}

.toast::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: 0 0;
    border-radius: 4px
}

.toast.show::before {
    background: url(images/logo.png)no-repeat center/contain
}

.ring-size-wrapper {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 15px 10px;
    margin-bottom: 0
}

.ring-size-heading {
    margin: 0;
    white-space: nowrap;
    align-self: center;
    flex-shrink: 0;
    font-size: 15px
}

.ring-size-squares {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    flex: 1
}

.size-square {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    height: 29px;
    padding-left: 6px;
    padding-right: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background-color: #fff;
    transition: all .2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
    user-select: none;
    -webkit-touch-callout: none
}

.not-in-stock {
    color: #888;
    border-color: #ddd
}

.size-square:focus,.swipeable-gallery-slide video:focus {
    outline: 0
}

.size-square.selected,.size-square:active {
    background-color: #f0f0f0;
    border-color: #aaa
}

.size-square.selected {
    border-color: #333
}

.stock-indicator {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #888
}

.under-order-message {
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: 16px;
    font-weight: 300;
    opacity: 1;
    white-space: pre-line
}

#ring-size-trigger-wrapper:empty+#under-order-message {
    margin-top: .5rem
}

#ring-size-trigger-wrapper:not(:empty)+#under-order-message {
    margin-top: 0
}

.swipeable-gallery-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -ms-touch-action: pinch-zoom pan-y
}

.swipeable-gallery-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 300ms ease
}

.swipeable-gallery-slide {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0
}

.swipeable-gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.swipeable-gallery-slide,.swipeable-gallery-slide img,.swipeable-gallery-slide video {
    touch-action: pan-y pinch-zoom
}

.swipeable-gallery-pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10
}

.swipeable-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 0;
    background-color: rgba(0,0,0,.3);
    border: 0;
    cursor: pointer;
    transition: transform .3s ease,background-color .3s ease
}

.swipeable-gallery-dot.active {
    background-color: #333;
    transform: scale(1.2)
}

.thumbnail-gallery {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 4px;
    width: 100%;
    max-width: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px 5px;
    box-sizing: border-box;
    justify-content: flex-start;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 8px;
    scroll-padding-right: 8px
}

.thumbnail.active {
    border-color: #333
}

.thumbnail-gallery::-webkit-scrollbar {
    height: 2px
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.05);
    border-radius: 2px
}

.thumbnail-gallery:hover::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.1)
}

@media (min-width:768px) {
    .product-details {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:767px) {
    .product-details {
        padding: 0;
        gap: .5rem
    }

    .product-info {
        padding: 0 20px 20px
    }

    .arrow-button {
        display: none
    }

    .selected-image {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        display: block
    }

    .thumbnail-images {
        margin-top: .5rem
    }

    .contact-options,.order-button {
        max-width: none
    }

    .product-details-name {
        margin-bottom: .25rem;
        line-height: 1.3
    }

    p.product-price {
        margin: .5rem 0 0
    }

    p.product-details-material {
        font-size: 1.05em
    }

    p.product-details_size {
        margin: .25rem 0 .5rem
    }
}

.content-placeholder {
    background: linear-gradient(90deg,#f0f0f0 0,#e6e6e6 50%,#f0f0f0 100%);
    background-size: 200% 100%;
    animation: placeholderShimmer 1.5s infinite;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity .3s ease-in-out
}

.stone-color-selector {
    margin-top: .5rem;
    margin-bottom: 0
}

.selector-label {
    font-size: 15px;
    font-weight: 400;
    margin-bottom: .25rem
}

.current-stone {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #999;
    border-radius: 6px;
    padding: 0 3px 0 0;
    cursor: pointer;
    background-color: #fff;
    -webkit-tap-highlight-color: transparent
}

.current-stone:active {
    background: #f5f5f5
}

.current-stone img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    margin-right: 6px
}

.selector-indicator {
    display: flex;
    align-items: center
}

.stone-options-dropdown {
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px
}

.stone-options-dropdown.active {
    display: block
}

.stone-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 4px
}

/* Добавьте медиа-запрос для больших экранов */
@media (min-width: 1024px) {
    .stone-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Добавьте медиа-запрос для больших экранов */
@media (min-width: 1366px) {
    .stone-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.stone-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border-radius: 4px
}

.stone-option:hover {
    background-color: #f5f5f5
}

.stone-option img {
    width: 100%;
    max-width: 86px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 4px
}

.stone-name {
    font-size: 11px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.stone-options-dropdown {
    padding: 6px;
    max-height: 300px;
    overflow-y: auto
}

.current-stone-name {
    flex-grow: 1;
    margin: 0 2px 0 6px;
    font-size: 15px
}

.compact-stone-selector {
    margin-top: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    display: none
}

.compact-stones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px
}

.compact-stone-option {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease
}

.compact-stone-option:hover {
    transform: scale(1.1)
}

.compact-stone-option.selected {
    border-color: #333;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1)
}

.compact-stone-option img,.swipeable-gallery-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

#order-success-message,#order-success-message_2,.design-invitation {
    text-align: center
}

.design-message {
    margin: 0 0 15px;
    font-size: 1.05em;
    color: #666;
    line-height: 1.4
}

.compact-design-button {
    background: #2c2c2c;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease
}

.compact-design-button:hover {
    background: #1a1a1a;
    transform: translateY(-1px)
}

.swipeable-gallery-slide video {
    cursor: pointer;
    outline: 0;
    -webkit-tap-highlight-color: transparent
}

.swipeable-gallery-slide video::-webkit-media-controls {
    display: none
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0,0,0,.35);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent
}

.swipeable-gallery-slide {
    position: relative;
    -webkit-tap-highlight-color: transparent
}

.thumbnail,.thumbnail-container {
    width: 48px;
    height: 48px;
    min-width: 48px;
    flex: 0 0 auto;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: border-color .3s ease;
    scroll-snap-align: start
}

.thumbnail-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-touch-callout: none
}

@media (min-width:768px) {
    .thumbnail-container:hover {
        border-color: #333
    }
}

.thumbnail-container.active {
    border-color: #333
}

.thumbnail-container .thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: 0;
    cursor: inherit;
    transition: none
}

.thumbnail {
    object-fit: cover
}

.thumbnail-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: rgba(0,0,0,.35);
    color: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none
}

.thumbnail-play-icon svg {
    margin-left: 1px
}

.video-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-color: #999;
    cursor: pointer;
    opacity: .3;
    transition: opacity .3s ease,height .2s ease
}

.video-progress-bar {
    height: 100%;
    background-color: #222;
    width: 0%;
    border-radius: 0 5px 5px 0;
    transition: width .25s linear
}

.video-progress-container:hover {
    height: 6px
}

.contact-link {
    font-size: 32px;
    margin: 0;
    color: #333;
    transition: transform .2s ease,color .2s ease;
    -webkit-tap-highlight-color: transparent
}

.contact-link:hover {
    transform: scale(1.2)
}

.viber:hover {
    color: #7360f2
}

.telegram:hover {
    color: #08c
}

.instagram:hover {
    color: #e1306c
}

.email:hover {
    color: #d44638
}

.contact-link,.contact-link:active,.contact-link:hover,.contact-link:visited {
    text-decoration: none
}

.svg-icon {
    width: 32px;
    height: 32px;
    margin-left: .5rem;
    margin-right: .5rem;
    fill: currentColor;
    transition: inherit;
    vertical-align: middle;
    display: inline-block
}

.contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center
}

.order-form .checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
    margin: .5rem 0;
    -webkit-tap-highlight-color: transparent
}

.order-form .checkbox input[type=checkbox] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #333
}

.order-form .checkbox+.checkbox {
    margin-top: .25rem
}

.order-form input[type=checkbox]:focus-visible {
    outline: 2px solid #8ab4f8;
    outline-offset: 2px;
    border-radius: 3px
}

.size-square[data-size="99"] .size-custom-input {
    cursor: text
}

.size-square[data-size="99"] .size-custom-input::placeholder {
    color: #666;
    opacity: 1;
    transition: opacity .15s ease
}

.size-square[data-size="99"] .size-custom-input:focus {
    border: 0;
    box-shadow: none;
    outline: 0
}

.size-custom-input:focus {
    outline: 0;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,.15)
}

.size-square[data-size="99"] {
    padding-left: 6px;
    padding-right: 6px
}

.size-square[data-size="99"] [data-role=size-text] {
    display: none
}

.size-square[data-size="99"] .size-custom-input {
    display: inline-block;
    flex: 0 0 auto;
    width: max-content;
    min-width: 8ch;
    max-width: 12ch;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: 0 0;
    box-shadow: none;
    outline: 0;
    font: inherit;
    color: inherit;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none
}

.size-square:focus-within {
    border-color: #333;
    background-color: #f0f0f0
}

.size-square[data-size="99"] .size-custom-input:focus::placeholder {
    opacity: 0
}

.size-square[data-size="99"] .size-custom-input::-webkit-input-placeholder {
    color: #222;
    opacity: 1;
    transition: opacity .15s ease
}

.size-square[data-size="99"] .size-custom-input:focus::-webkit-input-placeholder {
    opacity: 0
}

.related-products-section {
    padding: 1rem 20px 20px
}

.related-products-section.hidden {
    display: none
}

.related-products-section h3.catalog {
    padding: 0 0 .75rem;
    margin-top: .5rem;
    font-weight: 500
}

.related-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 6px;
    scroll-snap-type: x proximity;
    list-style: none;
    margin: 0
}

.related-scroll-item {
    list-style: none;
    flex: 0 0 auto
}

.related-scroll::-webkit-scrollbar {
    height: 4px
}

.related-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.1);
    border-radius: 2px
}

.related-card {
    display: block;
    flex: 0 0 auto;
    width: 190px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.05);
    scroll-snap-align: start
}

.related-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,.08)
}

.related-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
    -webkit-user-drag: none
}

.related-card .related-body {
    padding: 6px 8px 10px
}

.related-card .related-title {
    font-size: 14px;
    margin: .25rem 0 .2rem;
    font-weight: 500;
    line-height: 1.25
}

.related-card .home-price-byn,.related-card .home-price-rub {
    margin: .1rem 0 0;
    font-size: 14px;
    font-weight: 300
}

@media (max-width:767px) {
    .related-products-section {
        padding: 0rem 20px 20px
    }

    .related-card {
        width: 46vw;
        max-width: 240px
    }
}

.related-label {
    font-size: 1.05em;
    margin-left: 10px;
    margin-top: 0
}

.related-card,.related-card:active,.related-card:focus,.related-card:hover,.related-card:link,.related-card:visited {
    text-decoration: none;
    color: inherit;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none
}

.related-card .home-price-byn,.related-card .home-price-rub,.related-card .related-title {
    text-decoration: none;
    color: inherit
}

.info-accordions {
    margin-top: 0
}

.info-accordions details.accordion {
    border-bottom: 1px solid #e6e6e6
}

.info-accordions summary {
    list-style: none;
    -webkit-tap-highlight-color: transparent
}

.info-accordions summary::-webkit-details-marker {
    display: none
}

.accordion__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1rem 0;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: 0 0
}

.accordion__summary:active {
    background: 0 0
}

.accordion__summary:focus {
    outline: 0
}

.accordion__summary:focus-visible {
    outline: 2px solid #8ab4f8;
    outline-offset: 2px;
    border-radius: 4px
}

.accordion__title {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 15px
}

.accordion__title .icon {
    width: 16px;
    height: 16px;
    opacity: .9
}

.accordion__plus {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    transform: rotate(0deg);
    transition: transform 200ms cubic-bezier(.2,.8,.2,1),color 160ms;
    color: #333
}

.accordion__plus::after,.accordion__plus::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 1.2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center center;
    transition: transform 180ms ease,opacity 160ms ease;
    transform: translate(-50%,-50%)
}

.accordion__plus::after {
    transform: translate(-50%,-50%) rotate(90deg);
    opacity: 1
}

.accordion__content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 160ms ease,opacity 160ms ease;
    will-change: max-height,opacity
}

.accordion__content-inner {
    padding: 0 0 1rem;
    color: #222;
    line-height: 1.4;
    font-size: 15px;
    font-weight: 400
}

details[open] .accordion__plus {
    transform: rotate(180deg)
}

details[open] .accordion__plus::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(.6)
}

@media (prefers-reduced-motion:reduce) {
    .accordion__content,.accordion__plus::after {
        transition: none
    }
}

.contact-phone,.contact-phone * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    background-color: transparent!important
}

.contact-phone:active,.contact-phone:focus {
    background: 0 0!important;
    outline: 0
}

.size-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease
}

.size-drawer-overlay.open {
    opacity: 1;
    visibility: visible
}

.size-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: 100%;
    max-width: 440px;
    background: #fff;
    box-shadow: -4px 0 18px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain
}

@media (min-width:780px) {
    .size-drawer {
        width: 420px
    }
}

.size-drawer.open {
    transform: translateX(0)
}

.size-drawer__header {
    padding: 16px 20px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee
}

.size-drawer__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1
}

.size-drawer__close {
    background: 0 0;
    border: 0;
    padding: 6px;
    cursor: pointer;
    border-radius: 6px
}

.size-drawer__close:active {
    background: #f2f2f2
}

.size-drawer__content {
    padding: 1rem 1rem 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin
}

.size-help {
    font-size: 13px;
    line-height: 1.4;
    color: #444;
    margin-bottom: 22px
}

.size-trigger {
    position: relative
}

.size-trigger:active {
    background: 0 0
}

.size-trigger::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    right: -10px;
    border-radius: 10px;
    background: 0 0;
    pointer-events: none;
    transition: background .15s ease;
    z-index: -1
}

.size-trigger__left {
    gap: 1rem
}

.size-trigger__label {
    font-size: 15px;
    font-weight: 400;
    color: #222
}

.size-trigger__right {
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.size-trigger__chevron {
    width: 16px;
    height: 16px;
    color: #999
}

body.drawer-lock,body.size-drawer-lock,html.drawer-lock,html.size-drawer-lock {
    overflow: hidden;
    touch-action: none
}

.size-list {
    margin: 0 0 22px
}

.size-row {
    padding: 12px 4px;
    border-radius: 0;
    transition: color .18s
}

.size-row.selected {
    background: #111
}

.size-row__size {
    font-weight: 500;
    font-size: 15px;
    padding-left: .25rem;
    letter-spacing: .3px
}

.size-row__tag {
    padding-right: .25rem
}

.size-custom-box-alt {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: 0 0
}

.size-custom-hint {
    margin: 1.5rem 0 .5rem .25rem;
    font-size: 15px;
    font-weight: 400;
    color: #444
}

.size-custom-inline {
    display: flex;
    gap: 8px
}

.size-custom-inline input {
    flex: 1;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 400;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: 0
}

.size-custom-inline input:focus {
    border-color: #111
}

.size-custom-inline button {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 0;
    background: #111;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    opacity: .35;
    transition: opacity .2s ease;
    -webkit-tap-highlight-color: transparent
}

.size-custom-inline button:active {
    opacity: .85
}

.size-drawer-overlay {
    z-index: 10010
}

.size-drawer {
    z-index: 10020
}

.size-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0-1rem 12px;
    padding: 0;
    list-style: none
}

.size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 1rem;
    border: 0;
    border-bottom: 0;
    background: 0 0;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    line-height: 1.25;
    -webkit-tap-highlight-color: transparent;
    user-select: none
}

.size-row:active {
    background: #f5f5f5
}

.size-row.selected {
    background: 0 0;
    color: inherit;
    border-color: #eee
}

.size-row__tag {
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    white-space: pre-line;
    line-height: 1.2;
    min-width: 88px
}

.size-row[data-state=stock] .size-row__tag {
    color: #10b981
}

.size-row[data-state=fast] .size-row__tag {
    color: #f59e0b
}

.size-row[data-state=order] .size-row__tag {
    color: #666
}

.order-drawer__header::after,.size-row::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    background: #eee
}

.size-row::after {
    left: 1rem;
    right: 1rem
}

.order-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 12000
}

.order-drawer-overlay.open {
    opacity: 1;
    visibility: visible
}

.order-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    max-height: 75dvh;
    background: #fff;
    box-shadow: 0-8px 24px rgba(0,0,0,.15);
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    z-index: 12010;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain
}

.order-drawer.open {
    transform: translateY(0)
}

.order-drawer__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 10px;
    border-bottom: 0;
    position: relative
}

.order-drawer__header::after {
    left: 16px;
    right: 16px
}

.order-drawer__title {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    flex: 1
}

.order-drawer__close {
    background: 0 0;
    border: 0;
    padding: 6px;
    cursor: pointer;
    border-radius: 6px
}

.order-drawer__close:active {
    background: #f2f2f2
}

.order-drawer__content {
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    flex: 1 1 auto;
    min-height: 0
}

@media (min-width:768px) {
    .order-drawer {
        top: 0;
        right: 0;
        left: auto;
        height: 100dvh;
        max-height: none;
        width: 440px;
        border-radius: 0;
        box-shadow: -4px 0 18px rgba(0,0,0,.12);
        transform: translateX(100%)
    }

    .order-drawer.open {
        transform: translateX(0)
    }

    .order-drawer__content {
        padding: 1rem 1rem 24px;
        height: auto;
        flex: 1 1 auto;
        min-height: 0
    }
}

.order-drawer .contact-options,.order-drawer .contact-options-container {
    background: 0 0;
    border: 0;
    padding: 0;
    gap: .5rem;
    margin-bottom: 0;
    box-shadow: none
}

.order-drawer .order-intro {
    margin: .25rem 0 0;
    font-size: 15px;
    font-weight: 400;
    color: #222
}

.order-drawer .order-form .form-group {
    margin-bottom: 0
}

.order-drawer .order-form input,.order-drawer .order-form textarea {
    border: 1px solid #ddd;
    border-radius: 6px
}

.order-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: .5rem 0
}

.order-divider::after,.order-divider::before {
    content: "";
    height: 1px;
    background: #e6e6e6;
    flex: 1
}

.messenger-list {
    display: flex;
    flex-direction: row;
    gap: 10px
}

.order-drawer .svg-icon {
    width: 42px;
    height: 42px
}

.order-drawer .messenger-list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.order-drawer .contacts.messenger-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    align-items: stretch;
    justify-items: stretch
}

.order-drawer .contact-link {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background: 0 0!important;
    transition: background .2s ease,border-color .2s ease;
    letter-spacing: 1.5px;
    font-size: 14px;
    font-weight: 400
}

.order-drawer .contact-link.outlined {
    border: 1px solid currentColor;
    box-shadow: none
}

.order-drawer .order-button {
    max-width: inherit
}

.order-drawer .contact-link.outlined:hover {
    background: rgba(0,0,0,.05);
    border-color: currentColor
}

.order-drawer .contact-link.outlined:active {
    background: rgba(0,0,0,.1)
}

.order-drawer .contact-link.outlined:focus-visible {
    outline: 2px solid #8ab4f8;
    outline-offset: 2px
}

.order-drawer .contact-link .svg-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: currentColor
}

.order-drawer .svg-icon {
    margin-left: .25rem
}

.order-drawer .contact-link {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent
}

.order-drawer .contact-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: 0 0;
    transition: background 180ms ease
}

.order-drawer .contact-link:active::after {
    background: rgba(0,0,0,.1);
    transition-duration: 60ms
}

.order-drawer .contact-link:focus-visible::after {
    background: rgba(0,0,0,.08)
}

.order-drawer .contact-link:active,.order-drawer .contact-link:hover {
    transform: none;
    color: #333
}

.order-drawer .contact-link.outlined:active {
    background: 0 0;
    border-color: currentColor
}

.order-drawer.details-mode .order-drawer__title {
    visibility: hidden
}

.order-drawer.details-mode {
    max-height: 100dvh
}

.order-summary {
    margin: 0 0 .5rem;
    padding: 0 0 2px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.order-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap
}

.order-summary__title {
    font-size: 16px;
    font-weight: 500;
    color: #111;
    padding: 2px 0 6px
}

.order-summary__key {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    flex: 1 1 auto;
    min-width: 0
}

.order-summary__value-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    border: 1px solid #999;
    border-radius: 5px;
    padding: 0 6px 0 12px;
    width: max-content;
    max-width: 100%;
    box-sizing: border-box
}

.order-summary__value {
    font-size: 15px;
    font-weight: 400;
    color: #444;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%
}

.order-summary__close,.size-trigger {
    align-items: center;
    background: 0 0;
    border: 0;
    cursor: pointer
}

.order-summary__close {
    display: inline-flex;
    justify-content: center;
    line-height: 0;
    padding: 6px;
    border-radius: 6px;
    color: #888;
    flex: 0 0 auto
}

.order-summary__close:active {
    background: #f2f2f2
}

.order-summary__close svg {
    display: block;
    margin: 0
}

.size-trigger {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: .5rem 0 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    gap: 10px
}

.size-trigger__left,.size-trigger__valuebox {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.size-trigger__valuebox {
    gap: 2px;
    border: 1px solid #999;
    border-radius: 6px;
    padding: 0 3px 0 12px;
    color: inherit;
    background: #fff
}

.size-trigger__value {
    font-size: 16px;
    font-weight: 400;
    color: #222
}

.size-trigger__pencil {
    width: 12px;
    height: 12px;
    padding: 9px;
    color: #333;
    flex: 0 0 12px
}

.size-trigger:active .size-trigger__valuebox {
    background: #f5f5f5
}

.size-trigger__chevron {
    display: none
}

.order-select {
    width: 100%;
    padding: 10px 40px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
    appearance: none;
    background-color: #fff;
    color: #222;
    cursor: pointer
}

.order-select:focus {
    border-color: #4a90e2;
    outline: 0;
    box-shadow: 0 0 5px rgba(74,144,226,.3)
}

.select-chevron {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none
}

.contact-preference-label {
    margin-top: .5rem
}

.cselect {
    position: relative;
    font-family: inherit
}

.cselect__button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .9rem;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: border-color .15s ease,box-shadow .15s ease,background-color .15s ease
}

.cselect__button:hover {
    border-color: rgba(0,0,0,.2);
    background: #fff
}

.cselect__button:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(16,185,129,.25)
}

.cselect__value {
    flex: 1 1 auto;
    text-align: left;
    font-size: 15px;
    line-height: 1.2;
    color: #111
}

.cselect__arrow {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    position: relative;
    transition: transform .18s ease
}

.cselect__arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 6px;
    height: 6px;
    color: #333;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg)
}

.cselect.cselect--open .cselect__arrow {
    transform: rotate(180deg)
}

.cselect__list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 13000;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,.06),0 2px 6px rgba(0,0,0,.05);
    overflow: auto;
    max-height: 320px;
    padding: 6px;
    transform-origin: top center;
    transform: translateY(-4px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: transform .16s ease,opacity .16s ease
}

.cselect.cselect--open .cselect__list {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto
}

.cselect.cselect--open-up .cselect__list {
    bottom: calc(100% + 6px);
    top: auto;
    transform-origin: bottom center
}

.cselect__item {
    font-size: 15px;
    padding: .6rem .7rem;
    border-radius: 8px;
    cursor: pointer;
    color: #111;
    transition: background-color .12s ease,color .12s ease
}

.cselect__item:active,.cselect__item:hover {
    background: rgba(16,185,129,.08)
}

.cselect__item.cselect__item--selected {
    font-weight: 600;
    position: relative
}

.cselect__item.cselect__item--selected::after {
    content: "✓";
    position: absolute;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #10b981
}

.select-wrapper {
    position: relative;
    overflow: visible
}

.order-drawer__content.cselect-open-content {
    overflow: visible!important
}

.cselect__button,.cselect__item {
    -webkit-tap-highlight-color: transparent
}

.cselect__button:active {
    background: #f5f5f5;
    border-radius: 10px
}

.cselect__item:active {
    background: rgba(0,0,0,.08);
    border-radius: 8px
}

.size-trigger__valuebox:active {
    background: #f5f5f5
}

.size-trigger {
    pointer-events: none
}

.size-trigger__valuebox {
    pointer-events: auto;
    cursor: pointer
}

.youtube-promo-block {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0 0 0;
    text-align: center;
}

.youtube-promo-block__title {
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 12px;
}

.youtube-promo-block__description {
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    margin: 0 auto 1rem auto;
    color: #333;
}

.youtube-promo-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px 7px 16px;
    background-color: transparent;     
    color: #333;                      
    border: 1.5px solid #333;            
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 7px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; 
    -webkit-tap-highlight-color: transparent;
}

.youtube-promo-block__button:hover {
    background-color: #f5f5f5;      
    color: #fff;            
    background-color: #666;       
    text-decoration: none;
}

.youtube-promo-block__icon {    
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.size-trigger-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
}

.quick-sizes-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-sizes {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-size-btn {
    min-width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(102, 102, 102, 0.4);
}

.quick-size-btn:hover {
    color: #333;
    text-decoration-color: rgba(51, 51, 51, 0.6);
}

.quick-size-btn:active {
    color: #000;
}

/* ===== Уведомление о добавлении в корзину ===== */
.cart-notification {
    position: fixed;
    bottom: 20px;
    left: 16px;
    right: 16px;
    transform: translateY(100px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 340px;
    margin: 0 auto;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
}

.cart-notification--visible {
    transform: translateY(0);
    opacity: 1;
}

.cart-notification__content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cart-notification__icon {
    flex-shrink: 0;
    color: #10B981;
    margin-top: 2px;
}

.cart-notification__text {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

.cart-notification__text strong {
    font-weight: 600;
}

.cart-notification__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.cart-notification__link:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.cart-notification__link:active {
    background: #444;
}
