﻿@font-face {
    font-family: 'SoyuzGrotesk';
    src: url('../fonts/SoyuzGrotesk-Regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SoyuzGrotesk';
    src: url('../fonts/SoyuzGrotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #232222;
    background: #f4f4f4;
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

.r,
.t-rec,
.t-records,
.t396,
.t396__artboard,
.t396__carrier,
.t396__filter,
.t396__elem,
.tn-atom,
.tn-atom__gallery,
.t123,
.t-container_100,
.t-width,
.t-width_100 {
    box-sizing: border-box;
}

.r,
.t-rec {
    position: relative;
}

.t396 {
    position: relative;
    -webkit-text-size-adjust: 100%;
}

.t396__artboard {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow: visible;
}

.t396__carrier,
.t396__filter {
    position: absolute;
    inset: 0;
}

.t396__elem {
    position: absolute;
    display: table;
}

.tn-atom {
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.t396 .tn-atom h1,
.t396 .tn-atom h2,
.t396 .tn-atom h3,
.t396 .tn-atom h4,
.t396 .tn-atom h5,
.t396 .tn-atom h6,
.t396 .tn-atom p {
    margin: 0;
    font: inherit;
    line-height: inherit;
    color: inherit;
}

.t396 .tn-atom a {
    color: inherit;
    text-decoration: none;
}

.tn-atom__img,
.t-img {
    display: block;
    width: 100%;
}

.t-bgimg,
.tn-atom[style*="background-image"] {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.t-animate {
    opacity: 1 !important;
    transform: none !important;
}

.t-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.t-col {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.t-col_6 {
    width: 50%;
}

.t-name,
.t-title,
.t-descr,
.t-text {
    margin: 0;
}

.t-name_md,
.t-descr_xs,
.t-descr_xxs,
.t-text_xs,
.t-text_md {
    font-family: 'Manrope', sans-serif;
}

.t-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px;
}

.t-popup.t-popup_show {
    display: flex;
}

.t-popup[hidden] {
    display: none !important;
}

.t-popup__bg {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.62);
    backdrop-filter: blur(4px);
}

.t-popup__container {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.ruelka-modal__container--narrow {
    width: min(620px, 100%);
}

.ruelka-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 34, 34, 0.08);
    cursor: pointer;
    z-index: 3;
}

.ruelka-modal__close span {
    position: absolute;
    inset: 20px 11px auto;
    height: 2px;
    background: #232222;
}

.ruelka-modal__close span:first-child {
    transform: rotate(45deg);
}

.ruelka-modal__close span:last-child {
    transform: rotate(-45deg);
}

.ruelka-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ruelka-btn:hover {
    transform: translateY(-1px);
}

.ruelka-btn--primary {
    background: #de2525;
    color: #f4f4f4;
}

.ruelka-btn--primary:hover {
    background: #ff7d49;
}

.ruelka-btn--ghost {
    background: #ffffff;
    color: #232222;
    border-color: rgba(35, 34, 34, 0.14);
}

.ruelka-catalog {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.ruelka-catalog__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ruelka-catalog__col {
    width: calc(25% - 15px);
}

.ruelka-catalog__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 52px;
}

.ruelka-catalog__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: #9f9f9f;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ruelka-catalog__page.is-number:hover {
    color: #232222;
}

.ruelka-catalog__page.is-active {
    color: #232222;
    border-color: #de2525;
}

.ruelka-catalog__page.is-arrow {
    width: auto;
    min-width: 26px;
    height: 36px;
    border: 0;
    border-radius: 0;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #a5a5a5;
}

.ruelka-catalog__page.is-arrow:hover {
    color: #232222;
}

.ruelka-catalog__page:disabled {
    opacity: 0.4;
    cursor: default;
}

.ruelka-product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.ruelka-product-card__imgwrapper {
    display: block;
    aspect-ratio: 1 / 1;
    background: #efefef;
    overflow: hidden;
}

.ruelka-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.ruelka-product-card__textwrapper {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0;
    padding: 20px 20px 16px;
}

.ruelka-product-card__title {
    min-height: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
}

.ruelka-product-card__title,
.ruelka-product-card__title a {
    color: #232222;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.ruelka-product-card__sku,
.ruelka-product-card__descr {
    color: #232222;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 1.3;
}

.ruelka-product-card__sku {
    display: none !important;
}

.ruelka-product-card__descr {
    margin-top: 8px;
    display: block;
    overflow: visible;
    min-height: 0;
}

.ruelka-product-card__price-wrapper {
    margin-top: 12px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.ruelka-product-card__price-old {
    color: #8e8e8e;
    font-size: 14px;
    text-decoration: line-through;
}

.ruelka-product-card__price {
    color: #232222;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.ruelka-product-card__btn-wrapper {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    justify-content: center;
    background: transparent !important;
}

.ruelka-product-card__btn {
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 45px;
    padding: 0 30px;
    border-radius: 20px !important;
    background-color: #de2525 !important;
    color: #f4f4f4 !important;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.ruelka-product-popup {
    display: grid;
    grid-template-columns: minmax(0, 47%) minmax(0, 53%);
    width: min(1860px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
    overflow: hidden;
}

.ruelka-product-popup .ruelka-modal__close {
    top: 16px;
    right: 16px;
    width: 25px;
    height: 25px;
    border-radius: 0;
    background: transparent;
}

.ruelka-product-popup .ruelka-modal__close span {
    inset: 16px 6px auto;
    background: #de2525;
    height: 2px;
}

.ruelka-product-popup__media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 52px 56px;
    background: #ffffff;
    border-right: 1px solid #f0f0f0;
    overflow: hidden;
}

.ruelka-product-popup__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 156px);
    object-fit: contain;
    object-position: center;
}

.ruelka-product-popup__content {
    padding: 56px 62px 44px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.ruelka-product-popup__title {
    margin: 0;
    font-size: clamp(38px, 2.25vw, 58px);
    line-height: 1.12;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    color: #232222;
    letter-spacing: 0;
}

.ruelka-product-popup__article {
    margin-top: 6px;
    color: #232222;
    opacity: 0.75;
    font-size: clamp(15px, 0.95vw, 22px);
    line-height: 1.25;
    font-weight: 600;
}

.ruelka-product-popup__price-box {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.ruelka-product-popup__price-old {
    color: #888888;
    text-decoration: line-through;
    font-size: clamp(22px, 1.2vw, 30px);
}

.ruelka-product-popup__price {
    color: #232222;
    font-size: clamp(36px, 2.15vw, 54px);
    font-weight: 700;
    line-height: 1;
}

.ruelka-product-popup__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ruelka-product-popup__qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0 12px;
    border-radius: 24px;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    min-height: 62px;
}

.ruelka-product-popup__qty-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #7a7a7a;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.ruelka-product-popup__qty-input {
    width: 52px;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #232222;
}

.ruelka-product-popup__qty-input::-webkit-outer-spin-button,
.ruelka-product-popup__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ruelka-product-popup .js-ruelka-order-now {
    min-height: 62px;
    min-width: 196px;
    padding: 0 42px;
    border-radius: 24px;
    font-size: clamp(20px, 1.15vw, 28px);
    font-weight: 500;
}

.ruelka-product-popup__details,
.ruelka-product-popup__details * {
    font-family: 'Manrope', sans-serif !important;
    font-size: clamp(17px, 0.95vw, 24px);
    line-height: 1.42;
    color: #232222;
    font-weight: 400;
}

.ruelka-product-popup__details-block {
    margin: 0;
}

.ruelka-product-popup__details-sep {
    height: 16px;
}

.ruelka-product-popup__details p,
.ruelka-product-popup__details ul,
.ruelka-product-popup__details ol,
.ruelka-product-popup__details table {
    margin: 0 0 10px;
}

.ruelka-product-popup__details p {
    text-align: left;
}


.ruelka-product-popup__details img,
.ruelka-product-popup__details picture,
.ruelka-product-popup__details figure {
    display: none !important;
}

.ruelka-popup-form {
    padding: 42px;
}

.ruelka-popup-form__title {
    margin: 0 0 10px;
    font-size: 32px;
    font-family: 'SoyuzGrotesk', 'Manrope', sans-serif;
    line-height: 1;
}

.ruelka-popup-form__subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    line-height: 1.5;
}

.ruelka-order-section {
    padding: 30px 20px;
}

.ruelka-order-section__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
}


.ruelka-order-section__inner--services {
    position: relative;
    background: #f4f4f4;
}

.ruelka-order-section__inner--services::after {
    content: '';
    position: absolute;
    right: 20px;
    bottom: -12px;
    width: 560px;
    height: 680px;
    background: url('../images/services-form-bg.svg') right bottom / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.ruelka-order-section__inner--services .ruelka-order-section__content {
    position: relative;
    z-index: 2;
}

.ruelka-order-section__inner--front {
    background-size: cover;
    background-position: center;
}

.ruelka-order-section__content {
    padding: 54px 60px 60px;
}

.ruelka-order-section__content--light {
    color: #ffffff;
}

.ruelka-order-section__content--light .ruelka-form__label,
.ruelka-order-section__content--light .ruelka-order-section__subtitle,
.ruelka-order-section__content--light .ruelka-form__checkbox,
.ruelka-order-section__content--light .ruelka-form__checkbox a {
    color: #f4f4f4;
}

.ruelka-order-section__content--light .ruelka-form input {
    background: #f4f4f4;
    color: #070707;
}

.ruelka-order-section__content--light .ruelka-form .ruelka-btn--primary {
    background: #f4f4f4;
    color: #070707;
}

.ruelka-order-section__title {
    margin: 0;
    font-size: 50px;
    line-height: 1;
    font-family: 'SoyuzGrotesk', 'Manrope', sans-serif;
}

.ruelka-order-section__subtitle {
    margin: 18px 0 28px;
    max-width: 620px;
    font-size: 12px;
    line-height: 1.45;
}

.ruelka-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ruelka-form__response {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.ruelka-form__response.is-success {
    background: rgba(76, 175, 80, 0.14);
    color: #1b5e20;
}

.ruelka-form__response.is-error {
    background: rgba(222, 37, 37, 0.12);
    color: #8f1515;
}

.ruelka-form__product {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    padding-right: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
}

.ruelka-form__product-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ruelka-form__product-remove:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ruelka-form__product-remove--main {
    position: absolute;
    top: 14px;
    right: 14px;
}

.ruelka-form__product-title {
    font-size: 14px;
    font-weight: 700;
}

.ruelka-form__product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12px;
    line-height: 1.4;
}

.ruelka-form__product-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.ruelka-form__product-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    line-height: 1.4;
}

.ruelka-form__product-item-name {
    flex: 1 1 auto;
}

.ruelka-form__product-item-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.ruelka-form__product-item-meta {
    white-space: nowrap;
    opacity: 0.8;
}

.ruelka-order-section__content:not(.ruelka-order-section__content--light) .ruelka-form__product {
    background: #f4f4f4;
}

.ruelka-order-section__content:not(.ruelka-order-section__content--light) .ruelka-form__product-remove {
    border-color: rgba(35, 34, 34, 0.35);
}

.ruelka-order-section__content:not(.ruelka-order-section__content--light) .ruelka-form__product-remove:hover {
    background: rgba(35, 34, 34, 0.08);
}

.ruelka-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ruelka-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ruelka-form__label {
    font-size: 12px;
    font-weight: 600;
}

.ruelka-form input {
    height: 50px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #f4f4f4;
    color: #000000;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
}

.ruelka-form input:focus {
    outline: 2px solid rgba(255, 125, 73, 0.35);
    outline-offset: 1px;
}

.ruelka-form__checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
}

.ruelka-form__checkbox input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    min-height: 16px;
    padding: 0;
}

.ruelka-form__checkbox a {
    color: inherit;
}

.ruelka-map {
    padding: 0 20px 30px;
}

.ruelka-map__title-wrap,
.ruelka-map__frame {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.ruelka-map__title-wrap {
    padding: 30px 0 20px;
}

.ruelka-map__title {
    margin: 0;
    font-family: 'SoyuzGrotesk', 'Manrope', sans-serif;
    font-size: 50px;
    line-height: 1;
}

.ruelka-map__frame {
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}


.ruelka-cart-toast {
    position: fixed;
    right: 26px;
    bottom: 30px;
    z-index: 9300;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ruelka-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ruelka-cart-toast__inner {
    min-width: 240px;
    max-width: min(420px, calc(100vw - 36px));
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(35, 34, 34, 0.94);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.35;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.ruelka-cart-widget {
    position: fixed;
    right: 26px;
    top: 34%;
    z-index: 9200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid #f1f1f1;
    border-radius: 999px;
    background: #ffffff;
    color: #de2525;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transform-origin: 50% 50%;
    will-change: transform;
}

.ruelka-cart-widget:not([hidden]) {
    animation: ruelka-cart-wobble 4.2s ease-in-out infinite;
}

@keyframes ruelka-cart-wobble {
    0%,
    84%,
    100% { transform: rotate(0deg); }
    88% { transform: rotate(-4deg); }
    92% { transform: rotate(4deg); }
    96% { transform: rotate(-2deg); }
}

.ruelka-cart-widget__icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
}

.ruelka-cart-widget__icon svg {
    width: 100%;
    height: 100%;
}

.ruelka-cart-widget__counter {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #de2525;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ruelka-cart-popup__container {
    width: min(620px, calc(100vw - 28px));
}

.ruelka-cart-popup__content {
    padding-top: 54px;
}

.ruelka-cart-popup__empty {
    margin: 2px 0 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.45;
}

.ruelka-form--popup-order .ruelka-btn {
    width: 100%;
}

.ruelka-cookie {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000;
}

.ruelka-cookie.t887_closed,
.ruelka-cookie[hidden] {
    display: none !important;
}

.ruelka-cookie .t887__wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(400px, calc(100vw - 40px));
    padding: 16px 18px;
    border-radius: 12px;
    background: #de2525;
    color: #f4f4f4;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ruelka-cookie .t887__close-button {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
}

.ruelka-footer {
    padding: 0 20px 30px;
}

.ruelka-footer__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.1fr) minmax(0, 1.4fr);
    gap: 40px;
    padding: 48px 40px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.ruelka-footer__logo {
    width: 197px;
    max-width: 100%;
}

.ruelka-footer__requisites {
    margin-top: 24px;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.64;
}

.ruelka-footer__requisites p,
.ruelka-footer__text,
.ruelka-footer__legal-link,
.ruelka-footer__link {
    margin: 0 0 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.45;
}

.ruelka-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.ruelka-footer__heading {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.ruelka-footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.ruelka-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    border-radius: 999px;
    background: #ffffff;
    color: #232222;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}

.ruelka-footer__col--legal {
    align-self: end;
}

.ruelka-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.ruelka-gallery__slide {
    display: none;
    width: 100%;
    height: 100%;
}

.ruelka-gallery__slide.is-active {
    display: block;
}

.ruelka-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ruelka-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(222, 37, 37, 0.92);
    color: #ffffff;
    cursor: pointer;
}

.ruelka-gallery__nav--prev {
    left: 10px;
}

.ruelka-gallery__nav--next {
    right: 10px;
}

.ruelka-gallery__dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.ruelka-gallery__dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    padding: 0;
    cursor: pointer;
}

.ruelka-gallery__dot.is-active {
    background: #ffffff;
}

.ruelka-gallery--zoomable .ruelka-gallery__image {
    cursor: zoom-in;
}

.ruelka-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 74px;
}

.ruelka-gallery-lightbox.is-open {
    display: flex;
}

.ruelka-gallery-lightbox__viewport {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ruelka-gallery-lightbox__image {
    max-width: calc(100vw - 260px);
    max-height: calc(100vh - 130px);
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-in;
    user-select: none;
}

.ruelka-gallery-lightbox.is-zoomed .ruelka-gallery-lightbox__viewport {
    overflow: auto;
}

.ruelka-gallery-lightbox.is-zoomed .ruelka-gallery-lightbox__image {
    cursor: zoom-out;
    max-width: none;
    max-height: none;
}

.ruelka-gallery-lightbox__btn,
.ruelka-gallery-lightbox__arrow {
    border: 0;
    background: transparent;
    color: #111111;
    cursor: pointer;
    font-family: 'Manrope', Arial, sans-serif;
}

.ruelka-gallery-lightbox__btn {
    position: absolute;
    top: 24px;
    width: 44px;
    height: 44px;
    font-size: 42px;
    line-height: 1;
    z-index: 3;
}

.ruelka-gallery-lightbox__btn--zoom {
    right: 96px;
    font-size: 17px;
}

.ruelka-gallery-lightbox__btn--close {
    right: 30px;
}

.ruelka-gallery-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    font-size: 72px;
    line-height: 0.7;
    z-index: 3;
}

.ruelka-gallery-lightbox__arrow--prev {
    left: 24px;
}

.ruelka-gallery-lightbox__arrow--next {
    right: 24px;
}

.ruelka-gallery-lightbox__counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
    color: #1d1d1f;
    opacity: 0.72;
    z-index: 3;
}

@media screen and (max-width: 960px) {
    .ruelka-gallery-lightbox {
        padding: 22px 18px 30px;
    }

    .ruelka-gallery-lightbox__image {
        max-width: calc(100vw - 80px);
        max-height: calc(100vh - 120px);
    }

    .ruelka-gallery-lightbox__btn {
        top: 10px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .ruelka-gallery-lightbox__btn--zoom {
        right: 54px;
        font-size: 26px;
    }

    .ruelka-gallery-lightbox__btn--close {
        right: 10px;
    }

    .ruelka-gallery-lightbox__arrow {
        width: 34px;
        height: 34px;
        font-size: 42px;
    }

    .ruelka-gallery-lightbox__arrow--prev {
        left: 4px;
    }

    .ruelka-gallery-lightbox__arrow--next {
        right: 4px;
    }

    .ruelka-gallery-lightbox__counter {
        bottom: 8px;
        font-size: 12px;
    }
}

.tn-atom__pin {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #e02423;
    cursor: pointer;
    z-index: 15;
}

.tn-atom__tip {
    position: fixed;
    display: none;
    width: 280px;
    padding: 15px;
    border-radius: 10px;
    background: #ffffff;
    color: #232222;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 0 13px rgba(0, 0, 0, 0.3);
}

.tn-atom__pin:hover .tn-atom__tip,
.tn-atom__pin.is-open .tn-atom__tip {
    display: block;
}

.t450__overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1001;
}

.t450__overlay_bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.t450 {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1002;
    width: min(320px, 86vw);
    background: #f4f4f4;
    transform: translateX(-110%);
    transition: transform 0.25s ease;
    box-shadow: 12px 0 32px rgba(0, 0, 0, 0.18);
}

.t450__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.t450.t450__menu_show {
    transform: translateX(0);
}

.t450__overlay.t450__menu_show {
    display: block;
}

body.t450__body_menushowed {
    overflow: hidden;
}

.ruelka-desktop-header-phone {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 991;
    transform: translateX(310px);
}

.ruelka-desktop-header-phone__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    color: #232222;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

@media (hover), (min-width:0\0) {
    .ruelka-desktop-header-phone__link:hover {
        color: #de2525;
    }
}

@media screen and (max-width: 1199px) {
    .ruelka-desktop-header-phone {
        transform: translateX(210px);
    }
}

@media screen and (max-width: 980px) {
    .ruelka-desktop-header-phone {
        display: none;
    }

    .ruelka-mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 990;
    }

    .ruelka-mobile-header__bar {
        margin: 0 10px 0 10px;
        min-height: 50px;
        padding: 7px 14px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 60px;
        border-radius: 20px;
        background: #ffffff;
        box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
    }

    .ruelka-mobile-header__logo img {
        display: block;
        width: min(148px, 38vw);
        height: auto;
    }

    .ruelka-mobile-header__phone {
        justify-self: center;
        color: #232222;
        font-size: clamp(14px, 2.9vw, 22px);
        font-weight: 500;
        letter-spacing: 0.01em;
        text-decoration: none;
        white-space: nowrap;
    }

    .ruelka-mobile-header__burger {
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 999px;
        background: #de2525;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        padding: 0;
    }

    .ruelka-mobile-header__burger span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .ruelka-mobile-header__burger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .ruelka-mobile-header__burger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .ruelka-mobile-header__burger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .ruelka-mobile-drawer {
        padding: 16px 18px 20px;
    }

    .ruelka-mobile-drawer__close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 2;
    }

    .ruelka-mobile-drawer__close span {
        position: absolute;
        left: 9px;
        top: 19px;
        width: 22px;
        height: 2px;
        border-radius: 999px;
        background: #232222;
    }

    .ruelka-mobile-drawer__close span:first-child {
        transform: rotate(45deg);
    }

    .ruelka-mobile-drawer__close span:last-child {
        transform: rotate(-45deg);
    }

    .t450__top {
        padding-top: 12px;
    }

    .t450__logowrapper {
        display: inline-block;
    }

    .t450__logoimg {
        display: block;
        width: min(154px, 52vw);
        height: auto;
    }

    .t450__menu {
        margin-top: 24px;
    }

    .t450__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .t450__menu .t-menu__link-item {
        display: inline-block;
        color: #232222;
        font-size: 17px;
        line-height: 1.25;
        font-weight: 600;
        text-decoration: none;
    }

    .ruelka-mobile-drawer__bottom {
        margin-top: auto;
        padding-top: 22px;
    }

    .ruelka-mobile-drawer__phone-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 999px;
        background: #de2525;
    }

    .ruelka-mobile-drawer__phone-btn svg {
        width: 24px;
        height: 24px;
    }

    .ruelka-mobile-drawer__phone-btn path {
        fill: #ffffff;
    }
}

@media screen and (max-width: 640px) {
    .ruelka-mobile-header__bar {
        margin: 0 8px 0 8px;
        min-height: 46px;
        padding: 6px 10px;
        gap: 18px;
        border-radius: 16px;
    }

    .ruelka-mobile-header__logo img {
        width: min(132px, 36vw);
    }

    .ruelka-mobile-header__phone {
        font-size: clamp(12px, 3vw, 17px);
    }

    .ruelka-mobile-header__burger {
        width: 36px;
        height: 36px;
    }
}

@media screen and (max-width: 480px) {
    .ruelka-mobile-header__bar {
        margin: 0 6px 0 6px;
        grid-template-columns: auto 1fr auto;
        min-height: 42px;
        padding: 5px 8px;
        gap: 12px;
        border-radius: 14px;
    }

    .ruelka-mobile-header__logo img {
        width: min(118px, 34vw);
    }

    .ruelka-mobile-header__phone {
        justify-self: start;
        font-size: 12px;
    }

    .ruelka-mobile-header__burger {
        width: 34px;
        height: 34px;
    }

    .ruelka-mobile-header__burger span {
        width: 16px;
    }
}

@media screen and (max-width: 1200px) {
    .ruelka-catalog,
    .ruelka-order-section__inner,
    .ruelka-map__title-wrap,
    .ruelka-map__frame,
    .ruelka-footer__inner {
        width: min(920px, 100%);
    }

    .ruelka-catalog__col {
        width: calc(50% - 10px);
    }

    .ruelka-product-popup {
        grid-template-columns: minmax(0, 45%) minmax(0, 55%);
        width: min(1340px, calc(100vw - 28px));
    }

    .ruelka-product-popup__media {
        padding: 34px 32px;
    }

    .ruelka-product-popup__img {
        max-height: calc(100vh - 142px);
    }

    .ruelka-product-popup__content {
        padding: 38px 34px 30px;
    }

    .ruelka-product-popup__title {
        font-size: clamp(34px, 3.2vw, 48px);
    }

    .ruelka-product-popup__article {
        font-size: 18px;
    }

    .ruelka-product-popup__price {
        font-size: clamp(34px, 3.2vw, 48px);
    }

    .ruelka-product-popup__price-old {
        font-size: 22px;
    }

    .ruelka-product-popup__qty {
        min-height: 56px;
    }

    .ruelka-product-popup__qty-btn {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .ruelka-product-popup__qty-input {
        font-size: 22px;
        width: 28px;
    }

    .ruelka-product-popup .js-ruelka-order-now {
        min-height: 56px;
        min-width: 132px;
        padding: 0 34px;
        font-size: 20px;
    }

    .ruelka-product-popup__details,
    .ruelka-product-popup__details * {
        font-size: 15px;
    }
}

@media screen and (max-width: 980px) {
    .t-screenmin-980px { display: none !important; }

    .ruelka-product-popup {
        grid-template-columns: 1fr;
        width: min(980px, calc(100vw - 20px));
    }

    .ruelka-product-popup__media {
        padding: 24px 22px;
        border-right: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .ruelka-product-popup__img {
        max-height: 420px;
    }

    .ruelka-form__grid,
    .ruelka-footer__cols,
    .ruelka-footer__inner {
        grid-template-columns: 1fr;
    }

    .ruelka-order-section__content,
    .ruelka-popup-form,
    .ruelka-product-popup__content {
        padding: 32px 24px;
    }

    .ruelka-order-section__title,
    .ruelka-map__title,
    .ruelka-product-popup__title {
        font-size: 35px;
    }

    .t-col_6 {
        width: 100%;
    }
}

@media screen and (min-width: 981px) {
    .t-screenmax-980px { display: none !important; }
}

@media screen and (max-width: 640px) {
    .t-screenmin-640px { display: none !important; }

    .ruelka-cart-widget {
        right: 14px;
        top: auto;
        bottom: 86px;
        width: 70px;
        height: 70px;
    }

    .ruelka-cart-widget__icon {
        width: 30px;
        height: 30px;
    }

    .ruelka-cart-widget__counter {
        right: 4px;
        bottom: 4px;
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .ruelka-cart-toast {
        right: 10px;
        left: 10px;
        bottom: 14px;
    }

    .ruelka-cart-toast__inner {
        min-width: 0;
        max-width: 100%;
    }

    .ruelka-catalog__col {
        width: 100%;
    }

    .ruelka-catalog__pagination {
        margin-top: 36px;
        gap: 10px;
    }

    .ruelka-catalog__page {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .ruelka-catalog__page.is-arrow {
        min-width: 22px;
        height: 32px;
        font-size: 24px;
    }

    .ruelka-form__grid {
        grid-template-columns: 1fr;
    }

    .ruelka-order-section,
    .ruelka-map,
    .ruelka-footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .ruelka-order-section__content,
    .ruelka-popup-form,
    .ruelka-product-popup__content,
    .ruelka-footer__inner {
        padding: 24px 20px;
    }

    .ruelka-product-popup {
        width: min(100vw, calc(100vw - 8px));
        max-height: calc(100vh - 8px);
    }

    .ruelka-product-popup__media {
        padding: 14px;
    }

    .ruelka-product-popup__img {
        max-height: 300px;
    }

    .ruelka-product-popup__article {
        font-size: 14px;
    }

    .ruelka-product-popup__price {
        font-size: 24px;
    }

    .ruelka-product-popup__controls {
        gap: 10px;
    }

    .ruelka-product-popup__qty {
        min-height: 48px;
        padding: 0 8px;
    }

    .ruelka-product-popup__qty-btn {
        width: 28px;
        height: 28px;
        font-size: 22px;
    }

    .ruelka-product-popup__qty-input {
        width: 42px;
        font-size: 20px;
    }

    .ruelka-product-popup .js-ruelka-order-now {
        min-height: 48px;
        min-width: 0;
        width: auto;
        padding: 0 24px;
        font-size: 18px;
    }

    .ruelka-product-popup__details,
    .ruelka-product-popup__details * {
        font-size: 15px;
    }
}



/* Mobile calibration: keep main homepage blocks visually centered */
@media screen and (max-width: 640px) {
    body.home .t396__elem[data-elem-type="shape"][data-field-width-res-480-value="459"] {
        left: 50% !important;
        transform: translateX(-50%);
    }

    body.home .t396__elem[data-elem-type="shape"][data-field-width-res-320-value="300"] {
        left: 50% !important;
        transform: translateX(-50%);
    }
}
@media screen and (min-width: 641px) {
    .t-screenmax-640px { display: none !important; }
}

@media screen and (max-width: 480px) {
    .t-screenmin-480px { display: none !important; }

    .ruelka-order-section__title,
    .ruelka-map__title,
    .ruelka-product-popup__title,
    .ruelka-popup-form__title {
        font-size: 25px;
    }

    .ruelka-catalog__grid {
        gap: 16px;
    }
}

@media screen and (min-width: 481px) {
    .t-screenmax-480px { display: none !important; }
}


/* Product popup: tuned to match reference Tilda layout */
#prodpopup.t-popup {
    padding: 0;
    align-items: flex-start;
}

#prodpopup .t-popup__bg {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: none;
}

#prodpopup .t-popup__container {
    width: min(1240px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

#prodpopup .ruelka-product-popup {
    display: grid;
    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
    width: 100%;
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

#prodpopup .ruelka-product-popup__media {
    padding: 40px;
    border-right: 1px solid #efefef;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

#prodpopup .ruelka-product-popup__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    object-position: center top;
}

#prodpopup .ruelka-product-popup__content {
    padding: 40px 36px 160px;
    gap: 18px;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#prodpopup .ruelka-product-popup__title {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    line-height: 1.16;
    font-weight: 500;
    letter-spacing: 0;
    color: #232222;
}

#prodpopup .ruelka-product-popup__article {
    margin-top: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #777777;
    opacity: 1;
}

#prodpopup .ruelka-product-popup__price-box {
    gap: 8px;
}

#prodpopup .ruelka-product-popup__price {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: #232222;
}

#prodpopup .ruelka-product-popup__price-old {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #bdbdbd;
}

#prodpopup .ruelka-product-popup__controls {
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
}

#prodpopup .ruelka-product-popup__qty {
    min-height: 45px;
    height: 45px;
    border-radius: 24px;
    border: 1px solid #cfcfcf;
    padding: 0 8px;
    min-width: 132px;
    justify-content: space-between;
}

#prodpopup .ruelka-product-popup__qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 0.8;
    color: #8c8c8c;
    font-weight: 300;
}

#prodpopup .ruelka-product-popup__qty-input {
    width: 28px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    color: #232222;
}

#prodpopup .ruelka-product-popup .js-ruelka-order-now {
    height: 45px;
    min-height: 45px;
    min-width: 180px;
    border-radius: 24px;
    padding: 0 30px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
}

#prodpopup .ruelka-product-popup__details,
#prodpopup .ruelka-product-popup__details * {
    font-family: 'Manrope', sans-serif !important;
    font-size: 12px;
    line-height: 1.55;
    color: #232222;
    font-weight: 400;
}

#prodpopup .ruelka-product-popup__details-sep {
    height: 14px;
}

#prodpopup .ruelka-product-popup__details p {
    margin: 0 0 6px;
    text-align: left;
}

#prodpopup .ruelka-product-popup__details {
    padding-bottom: 120px;
}

#prodpopup .ruelka-product-popup__details img,
#prodpopup .ruelka-product-popup__details picture,
#prodpopup .ruelka-product-popup__details figure,
#prodpopup .ruelka-product-popup__details a[href$=".jpg"],
#prodpopup .ruelka-product-popup__details a[href$=".jpeg"],
#prodpopup .ruelka-product-popup__details a[href$=".png"],
#prodpopup .ruelka-product-popup__details a[href$=".webp"] {
    display: none !important;
}

@media screen and (max-width: 1200px) {
    #prodpopup .t-popup__container {
        width: min(1100px, calc(100vw - 28px));
        max-height: calc(100vh - 28px);
        margin: 14px auto;
    }

    #prodpopup .ruelka-product-popup {
        height: calc(100vh - 28px);
        max-height: calc(100vh - 28px);
    }

    #prodpopup .ruelka-product-popup__media {
        padding: 28px;
    }

    #prodpopup .ruelka-product-popup__img {
        max-height: calc(100vh - 112px);
    }

    #prodpopup .ruelka-product-popup__content {
        padding: 30px 28px 120px;
        height: 100%;
        max-height: 100%;
    }

    #prodpopup .ruelka-product-popup__title {
        font-size: 20px;
    }

    #prodpopup .ruelka-product-popup__price {
        font-size: 24px;
    }

    #prodpopup .ruelka-product-popup .js-ruelka-order-now {
        font-size: 14px;
        min-width: 170px;
    }
}

@media screen and (max-width: 980px) {
    #prodpopup.t-popup {
        align-items: center;
        padding: 0;
    }

    #prodpopup .t-popup__container {
        width: min(980px, calc(100vw - 16px));
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        overflow-y: auto;
    }

    #prodpopup .ruelka-product-popup {
        grid-template-columns: 1fr;
        max-height: none;
        overflow: visible;
    }

    #prodpopup .ruelka-product-popup__media {
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid #efefef;
    }

    #prodpopup .ruelka-product-popup__img {
        max-height: 360px;
    }

    #prodpopup .ruelka-product-popup__content {
        padding: 22px 20px 20px;
        gap: 14px;
        max-height: none;
        overflow: visible;
    }

    #prodpopup .ruelka-product-popup__title {
        font-size: 18px;
    }

    #prodpopup .ruelka-product-popup__price {
        font-size: 18px;
    }

    #prodpopup .ruelka-product-popup .js-ruelka-order-now {
        font-size: 14px;
        min-width: 160px;
    }
}

@media screen and (max-width: 640px) {
    #prodpopup .t-popup__container {
        width: calc(100vw - 8px);
        max-height: calc(100vh - 8px);
        margin: 4px auto;
    }

    #prodpopup .ruelka-product-popup__title {
        font-size: 18px;
    }

    #prodpopup .ruelka-product-popup__article {
        font-size: 12px;
    }

    #prodpopup .ruelka-product-popup__price {
        font-size: 24px;
    }

    #prodpopup .ruelka-product-popup__controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    #prodpopup .ruelka-product-popup__qty {
        width: 132px;
        min-width: 132px;
        min-height: 45px;
        height: 45px;
    }

    #prodpopup .ruelka-product-popup__qty-btn {
        width: 25px;
        height: 25px;
        font-size: 20px;
    }

    #prodpopup .ruelka-product-popup__qty-input {
        font-size: 18px;
        width: 42px;
    }

    #prodpopup .ruelka-product-popup .js-ruelka-order-now {
        min-width: 0;
        width: calc(100% - 142px);
        max-width: 280px;
        height: 50px;
        min-height: 50px;
        font-size: 18px;
        padding: 0 20px;
    }

    #prodpopup .ruelka-product-popup__details,
    #prodpopup .ruelka-product-popup__details * {
        font-size: 12px;
        line-height: 1.55;
    }
}


@media screen and (max-width: 640px) {
    .ruelka-product-card__title {
        min-height: 0;
    }

    .ruelka-product-card__title,
    .ruelka-product-card__title a {
        font-size: 12px;
    }

    .ruelka-product-card__sku,
    .ruelka-product-card__descr {
        font-size: 12px;
    }

    .ruelka-product-card__price {
        font-size: 14px;
    }

    .ruelka-product-card__btn {
        min-width: 0 !important;
        padding: 0 24px;
    }
}





@media (prefers-reduced-motion: reduce) {
    .ruelka-cart-widget:not([hidden]) {
        animation: none;
    }

    #ruelka-cart-widget.ruelka-cart-widget::after {
        animation: none;
        opacity: 0.18;
    }
}


/* Cart widget final calibration to match ru-elka.ru */
#ruelka-cart-widget.ruelka-cart-widget {
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
    overflow: visible;
    transform-origin: 50% 50%;
    will-change: transform;
}

#ruelka-cart-widget.ruelka-cart-widget::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #d9d9d9;
    opacity: 0.42;
    pointer-events: none;
    animation: ruelka-cart-pulse 2.2s ease-out 0.7s infinite;
}

#ruelka-cart-widget.ruelka-cart-widget:not([hidden]) {
    animation: ruelka-cart-pop 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both,
        ruelka-cart-wobble-float 4.2s ease-in-out 0.9s infinite;
}

@keyframes ruelka-cart-pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ruelka-cart-wobble-float {
    0%,
    84%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-4px) rotate(0deg);
    }

    50% {
        transform: translateY(0) rotate(0deg);
    }

    75% {
        transform: translateY(-2px) rotate(0deg);
    }

    88% {
        transform: translateY(0) rotate(-4deg);
    }

    92% {
        transform: translateY(-1px) rotate(4deg);
    }

    96% {
        transform: translateY(0) rotate(-2deg);
    }
}

@keyframes ruelka-cart-pulse {
    0% {
        transform: scale(1);
        opacity: 0.42;
    }

    70% {
        transform: scale(1.58);
        opacity: 0;
    }

    100% {
        transform: scale(1.72);
        opacity: 0;
    }
}

#ruelka-cart-widget .ruelka-cart-widget__icon {
    width: 35px;
    height: 35px;
    transform: translateY(-2px);
    position: relative;
    z-index: 2;
}

#ruelka-cart-widget .ruelka-cart-widget__icon svg path {
    stroke-width: 1.45;
}

#ruelka-cart-widget .ruelka-cart-widget__counter {
    right: 3px;
    bottom: 3px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    z-index: 3;
}

@media screen and (max-width: 640px) {
    #ruelka-cart-widget.ruelka-cart-widget {
        width: 70px;
        height: 70px;
    }

    #ruelka-cart-widget .ruelka-cart-widget__icon {
        width: 30px;
        height: 30px;
    }

    #ruelka-cart-widget .ruelka-cart-widget__counter {
        right: 3px;
        bottom: 3px;
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 13px;
    }
}


/* Showcase video popup (T331): match ru-elka.ru behavior */
.t-popup[data-tooltip-hook^="#popup:youtubevideo"],
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] {
    z-index: 10010;
    padding: 18px 20px;
    align-items: center;
    justify-content: center;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__bg,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__bg {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: none;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__container,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__container {
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t331__wrap-video,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t331__wrap-video {
    width: min(calc(100vw - 64px), calc((100vh - 90px) * 16 / 9));
    max-width: 1778px;
    max-height: calc(100vh - 90px);
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000;
    overflow: hidden;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-video-lazyload,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-video-lazyload {
    width: 100%;
    height: 100%;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-video-lazyload iframe,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-video-lazyload iframe,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-video-lazyload video {
    display: block;
    width: 100%;
    height: 100%;
}

.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-video-lazyload video {
    object-fit: contain;
    background: #000;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__block-close,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__block-close {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    z-index: 10011;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__close-wrapper,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__close-wrapper {
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__close-icon,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__close-icon {
    width: 24px;
    height: 24px;
}

.t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__close-icon g,
.t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__close-icon g {
    fill: #ffffff;
}

@media (max-width: 960px) {
    .t-popup[data-tooltip-hook^="#popup:youtubevideo"],
    .t-popup[data-tooltip-hook^="#popup:showcasevideo-"] {
        padding: 14px 10px;
    }

    .t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t331__wrap-video,
    .t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t331__wrap-video {
        width: min(calc(100vw - 20px), calc((100vh - 74px) * 16 / 9));
        max-height: calc(100vh - 74px);
    }

    .t-popup[data-tooltip-hook^="#popup:youtubevideo"] .t-popup__block-close,
    .t-popup[data-tooltip-hook^="#popup:showcasevideo-"] .t-popup__block-close {
        top: 6px;
        right: 6px;
        width: 40px;
        height: 40px;
    }
}

.ruelka-showcase-admin-block {
    background: #f4f4f4;
    padding: 24px 0 44px;
}

.ruelka-showcase-admin-block .t-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    box-sizing: border-box;
}

.ruelka-showcase-admin-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ruelka-showcase-admin-card {
    position: relative;
    display: block;
    min-height: 190px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background-image: var(--ruelka-showcase-cover);
    background-size: cover;
    background-position: center;
}

.ruelka-showcase-admin-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ruelka-showcase-hover);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.ruelka-showcase-admin-card:hover::before,
.ruelka-showcase-admin-card:focus-visible::before {
    opacity: 1;
}

.ruelka-showcase-admin-card__title,
.ruelka-showcase-admin-card__duration,
.ruelka-showcase-admin-card__plus,
.ruelka-showcase-admin-card__play {
    position: absolute;
    z-index: 1;
}

.ruelka-showcase-admin-card__title {
    top: 20px;
    left: 20px;
    right: 52px;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
    text-transform: uppercase;
}

.ruelka-showcase-admin-card__plus {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #de2525;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
}

.ruelka-showcase-admin-card__play {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid rgba(255, 255, 255, 0.92);
}

.ruelka-showcase-admin-card__duration {
    left: 20px;
    bottom: 18px;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 400;
    opacity: 0.82;
}

@media screen and (max-width: 1199px) {
    .ruelka-showcase-admin-block .t-container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 959px) {
    .ruelka-showcase-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ruelka-showcase-admin-card {
        min-height: 255px;
    }
}

@media screen and (max-width: 639px) {
    .ruelka-showcase-admin-block {
        padding: 20px 0 32px;
    }

    .ruelka-showcase-admin-block .t-container {
        padding: 0 10px;
    }

    .ruelka-showcase-admin-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ruelka-showcase-admin-card {
        min-height: 228px;
    }
}



@media screen and (max-width: 1199px) {
    .ruelka-order-section__inner--services::after {
        right: 8px;
        width: 470px;
        height: 580px;
    }
}


@media screen and (max-width: 959px) {
    .ruelka-order-section__inner--services::after {
        right: -18px;
        bottom: -8px;
        width: 360px;
        height: 450px;
    }
}


@media screen and (max-width: 639px) {
    .ruelka-order-section__inner--services::after {
        right: -8px;
        bottom: 0;
        width: 230px;
        height: 300px;
    }
}


