/* Стили карточки товара на витрине и в каталоге RIEKER (в фирменных цветах бренда RIEKER #e40134) */

.productCatalogCard a{
    text-decoration: none;
}

.catalogPart .parts,
.parts.row,
.parts{
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.product-offer-card,
.part.product-offer-card,
.catalogPart .part.product-offer-card{
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 100% !important;
    border: 1px solid transparent;
    border-radius: 8px;
    position: relative;
    overflow: visible;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-offer-card:hover,
.product-offer-card:has(.product-card-articul--open),
.product-offer-card:has(.product-card-original-badge--open){
    border-color: #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    background: #fff;
    z-index: 100;
}

.product-offer-card form{
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    position: static;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: flex-start !important;
}

.product-offer-card form > div[style*="position"]{
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.product-offer-card .productCard{
    flex: 0 0 auto;
    width: 100% !important;
    padding: 0 0 28px 0 !important;
    margin: 0 !important;
    background: #F8FAFC !important;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%) !important;
    overflow: hidden;
    position: relative;
    border-radius: 8px 8px 0 0 !important;
    touch-action: pan-y;
}

.product-offer-card .product-card-photo-overlay{
    position: absolute;
    inset: 0;
    z-index: 24;
    pointer-events: none;
}

.product-offer-card .product-card-favorite.favAction{
    position: absolute;
    top: 6px;
    right: 8px;
    left: auto;
    z-index: 12;
    width: 28px!important;
    height: 28px!important;
    color: #212529;
    pointer-events: auto;
    filter: drop-shadow(0 1px 2px rgba(255,255,255,.85));
    transform-origin: center;
    transition: transform .18s ease, filter .18s ease, color .18s ease;
}

.product-offer-card .product-card-favorite.favAction:hover,
.product-offer-card .product-card-favorite.favAction:focus{
    color: var(--brandColor, #e40134);
    transform: scale(1.08);
    filter: drop-shadow(0 2px 4px rgba(228,1,52,.25));
}

.product-offer-card .product-card-favorite.favAction[data-favorite="1"],
.product-offer-card .product-card-favorite.favAction.active{
    color: var(--brandColor, #e40134);
}

.product-offer-card .product-card-favorite-backdrop{
    display: block;
    color: #ffffff;
    opacity: .95;
    pointer-events: none;
}

.product-offer-card .product-card-favorite.favAction .favAdd{
    fill: none;
    stroke: currentColor;
    stroke-width: 1.1px;
}

.product-offer-card .product-card-favorite.favAction .favDel{
    fill: currentColor;
    stroke: none;
}

/* Верхние статусные стикеры больше не используются - все стикеры внизу */
.product-offer-card .product-card-photo-stickers-top{
    display: none !important;
}

/* Все стикеры карточки («Скидка», «Последняя пара», «Акция», «Новинка») слева под фото */
.product-offer-card .product-card-photo-stickers{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap-reverse !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    position: absolute !important;
    left: 8px !important;
    bottom: 4px !important;
    z-index: 15 !important;
    width: auto !important;
    max-width: calc(100% - 16px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    border: none !important;
}

.product-offer-card .product-card-photo-stickers:empty{
    display: none !important;
}

.product-offer-card .product-card-photo-stickers a,
.product-offer-card .product-card-photo-stickers .badge{
    pointer-events: auto !important;
}

.product-offer-card .product-card-photo-stickers a{
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.product-offer-card .product-card-stickers-top,
.product-offer-card .product-card-stickers-bottom{
    display: none !important;
}

/* Легкие современные стили стикеров */
.product-offer-card .badge-discount,
.product-offer-card .badge-sale,
.product-offer-card .labelSale{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 20px !important;
    box-sizing: border-box !important;
    padding: 0 6px !important;
    border-radius: 4px !important;
    background: #E11D48 !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.product-offer-card .badge-new,
.product-offer-card .labelNew{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 20px !important;
    box-sizing: border-box !important;
    padding: 0 6px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.product-offer-card .badge-promo,
.product-offer-card .labelBlackFridaySale{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 20px !important;
    box-sizing: border-box !important;
    padding: 0 6px !important;
    border-radius: 4px !important;
    background: #111827 !important;
    color: #FFFFFF !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.product-offer-card .badge-last-pair{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 20px !important;
    box-sizing: border-box !important;
    gap: 4px !important;
    padding: 0 6px !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    margin: 0 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.product-offer-card .badge-last-pair .badge-dot{
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #EA580C;
    flex-shrink: 0;
}

.product-offer-card .product-card-photo-box{
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 12 !important;
    overflow: hidden;
    background: #F8FAFC;
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
}

.product-offer-card .product-card-photo-link{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.product-offer-card .previewImg,
.product-offer-card .product-card-photo-link .previewImg,
.product-offer-card .productCard img.previewImg{
    display: block !important;
    box-sizing: border-box !important;
    aspect-ratio: 9 / 12 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    transform: none !important;
    mix-blend-mode: multiply;
}

.product-offer-card .productCard .previewOffer{
    --preview-count: 1;
    --preview-index: 0;
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: auto;
    mix-blend-mode: multiply;
    touch-action: pan-y;
}

.product-offer-card .productCard .previewOffer > a{
    box-sizing: border-box;
    display: block;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    border-bottom: 0;
    box-shadow: none;
    position: static;
    z-index: 5;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
}

.product-offer-card .productCard .previewOffer > a > span{
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    mix-blend-mode: multiply;
}

.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(2):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(2):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(2):last-child){ --preview-count: 2; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(3):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(3):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(3):last-child){ --preview-count: 3; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(4):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(4):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(4):last-child){ --preview-count: 4; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(5):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(5):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(5):last-child){ --preview-count: 5; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(6):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(6):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(6):last-child){ --preview-count: 6; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(7):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(7):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(7):last-child){ --preview-count: 7; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(8):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(8):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(8):last-child){ --preview-count: 8; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(9):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(9):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(9):last-child){ --preview-count: 9; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(10):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(10):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(10):last-child){ --preview-count: 10; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(11):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(11):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(11):last-child){ --preview-count: 11; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(12):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(12):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(12):last-child){ --preview-count: 12; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(13):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(13):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(13):last-child){ --preview-count: 13; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(14):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(14):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(14):last-child){ --preview-count: 14; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(15):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(15):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(15):last-child){ --preview-count: 15; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(16):last-child),
.product-offer-card .productCard:has(.previewOffer > a:nth-child(16):last-child),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(16):last-child){ --preview-count: 16; }

.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(1) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(1) .showPreview){ --preview-index: 0; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(2) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(2) .showPreview){ --preview-index: 1; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(3) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(3) .showPreview){ --preview-index: 2; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(4) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(4) .showPreview){ --preview-index: 3; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(5) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(5) .showPreview){ --preview-index: 4; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(6) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(6) .showPreview){ --preview-index: 5; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(7) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(7) .showPreview){ --preview-index: 6; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(8) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(8) .showPreview){ --preview-index: 7; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(9) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(9) .showPreview){ --preview-index: 8; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(10) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(10) .showPreview){ --preview-index: 9; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(11) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(11) .showPreview){ --preview-index: 10; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(12) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(12) .showPreview){ --preview-index: 11; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(13) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(13) .showPreview){ --preview-index: 12; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(14) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(14) .showPreview){ --preview-index: 13; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(15) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(15) .showPreview){ --preview-index: 14; }
.product-offer-card .productCard:has(> .product-card-photo-box > .previewOffer > a:nth-child(16) .showPreview),
.product-offer-card .productCard .previewOffer:has(> a:nth-child(16) .showPreview){ --preview-index: 15; }

/* Полоски-индикаторы кадра фото под стикерами */
.product-offer-card .productCard:has(.showPreview):before{
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    z-index: 12;
    height: 2.5px;
    border-radius: 2px;
    background: #e5e7eb;
    pointer-events: none !important;
}

.product-offer-card .productCard:has(.showPreview):after{
    content: "";
    display: block;
    position: absolute;
    left: calc(10px + var(--preview-index, 0) * (100% - 20px) / var(--preview-count, 1));
    width: calc((100% - 20px) / var(--preview-count, 1));
    bottom: 0;
    z-index: 13;
    height: 2.5px;
    border-radius: 2px;
    background: var(--brandColor, #111827);
    pointer-events: none !important;
}

.product-offer-card .productCard .previewOffer > a .showPreview{
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    bottom: 0 !important;
    right: 0 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.product-offer-card .productName{
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    margin-top: 14px;
    overflow: visible;
}

.product-offer-card .simplePrice,
.product-offer-card .currentPrice{
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #111827 !important;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.product-offer-card .oldPrice{
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #9ca3af !important;
    text-decoration: line-through !important;
    margin-left: 6px;
    white-space: nowrap;
}

.product-offer-card .productName > font{
    display: block;
    padding-top: 0 !important;
}

.product-offer-card .product-card-price-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding-top: 0;
    line-height: 1.1;
    margin-bottom: 18px;
    width: 100%;
    flex-wrap: nowrap;
}

.product-offer-card .product-card-price-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    text-decoration: none;
    gap: 6px;
    flex-wrap: nowrap;
}

.product-offer-card .product-card-price-group{
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
}

.product-offer-card .product-card-discount-badge{
    display: none !important;
}

.product-offer-card .product-card-price-row .discount-label{
    display: none;
}

.product-offer-card .product-card-price-row .yandexPay{
    flex: 1 0 100%;
}

.product-offer-card .product-card-original{
    display: none;
}

.product-offer-card .product-card-name-link{
    display: flex;
    flex-direction: column;
    margin-top: 0;
    color: #222;
    text-decoration: none;
}

.product-offer-card .product-card-original-badge{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    user-select: none;
}

.product-offer-card .product-card-original-badge svg{
    width: 11px;
    height: 11px;
    display: block;
    transition: transform .15s ease;
}

.product-offer-card .product-card-original-badge:hover svg,
.product-offer-card .product-card-original-badge:focus svg,
.product-offer-card .product-card-original-badge.product-card-original-badge--open svg{
    transform: scale(1.15);
}

/* Всплывающая подсказка "Оригинальный товар" */
.product-offer-card .product-card-original-badge:after{
    content: "Оригинальный товар";
    position: absolute;
    left: -4px;
    bottom: calc(100% + 8px);
    z-index: 150;
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.06);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    text-transform: none;
    letter-spacing: normal;
}

/* Стрелочка тултипа оригинала */
.product-offer-card .product-card-original-badge:before{
    content: "";
    position: absolute;
    left: 2px;
    bottom: calc(100% + 3px);
    z-index: 151;
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    transform: rotate(45deg) translateY(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.product-offer-card .product-card-original-badge.product-card-original-badge--open:after{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-offer-card .product-card-original-badge.product-card-original-badge--open:before{
    opacity: 1;
    visibility: visible;
    transform: rotate(45deg) translateY(0);
}

@media (hover: hover) and (pointer: fine){
    .product-offer-card .product-card-original-badge:hover:after{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .product-offer-card .product-card-original-badge:hover:before{
        opacity: 1;
        visibility: visible;
        transform: rotate(45deg) translateY(0);
    }
}

.product-offer-card .productName,
.product-offer-card .shoeSize,
.product-offer-card .product-card-actions,
.product-offer-card .card-text,
.product-offer-card form > .row.mt-2{
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
}

.product-offer-card .product-card-brand-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    margin-bottom: 6px;
}

.product-offer-card .product-card-brand-group{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
}

.product-offer-card .product-card-brand-name{
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Артикул справа (чистый минималистичный текст) */
.product-offer-card .product-card-articul-badge{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    max-width: 95px;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #6B7280 !important;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    user-select: none;
    margin-top: 0;
    transition: color .15s ease;
}

.product-offer-card .product-card-articul-badge:hover,
.product-offer-card .product-card-articul-badge.product-card-articul--open{
    background: transparent !important;
    color: #111827 !important;
}

.product-offer-card .product-card-articul-text{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Всплывающий тултип с полным артикулом при наведении или клике/тапе */
.product-offer-card .product-card-articul-badge:after{
    content: attr(data-articul);
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 150;
    display: block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #FFFFFF;
    color: #111827;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.06);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    text-transform: none;
    letter-spacing: normal;
}

.product-offer-card .product-card-articul-badge:before{
    content: "";
    position: absolute;
    right: 14px;
    bottom: calc(100% + 3px);
    z-index: 151;
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-right: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    transform: rotate(45deg) translateY(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.product-offer-card .product-card-articul-badge.product-card-articul--open:after{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-offer-card .product-card-articul-badge.product-card-articul--open:before{
    opacity: 1;
    visibility: visible;
    transform: rotate(45deg) translateY(0);
}

@media (hover: hover) and (pointer: fine){
    .product-offer-card .product-card-articul-badge:hover:after{
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .product-offer-card .product-card-articul-badge:hover:before{
        opacity: 1;
        visibility: visible;
        transform: rotate(45deg) translateY(0);
    }
}

.product-offer-card .product-card-name-line{
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    font-size: 13.5px !important;
    line-height: 1.35 !important;
    height: auto !important;
    min-height: 18px !important;
    max-height: 37px !important;
    word-break: break-word !important;
    color: #374151 !important;
    font-weight: 400 !important;
    margin-bottom: 10px !important;
}

.product-offer-card .product-card-name-line.product-card-name-line--row-2{
    height: 37px !important;
    min-height: 37px !important;
}

.product-offer-card .product-card-name-line b,
.product-offer-card .product-card-name-line strong{
    font-weight: 700;
}

.product-offer-card .product-card-articul-badge,
.product-offer-card .product-card-articul{
    display: none !important;
}

.product-offer-card .shoeSize{
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px;
    height: auto !important;
    min-height: 32px;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    overflow: visible;
    margin: 0 0 11px 0 !important;
    list-style: none;
    width: 100% !important;
    text-align: left !important;
}

.product-offer-card .shoeSize::-webkit-scrollbar{
    display: none;
}

.product-offer-card .shoeSize .size,
.product-offer-card .shoeSize li{
    flex: 0 0 auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
    float: none !important;
}

.product-offer-card .shoeSize input[type=radio]{
    display: none;
}

.product-offer-card .shoeSize .labelSize,
.product-offer-card .shoeSize li a{
    box-sizing: border-box;
    min-width: 34px;
    height: 32px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E7EB !important;
    border-radius: 6px !important;
    background: #FFFFFF !important;
    box-shadow: none !important;
    color: #374151 !important;
    padding: 0 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all .15s ease;
    float: none !important;
}

.product-offer-card .shoeSize .labelSize:hover,
.product-offer-card .shoeSize li a:hover,
.product-offer-card .shoeSize .labelSize:focus,
.product-offer-card .shoeSize li a:focus{
    border-color: #6B7280 !important;
    color: #111827 !important;
    background: #F9FAFB !important;
}

.product-offer-card .shoeSize .size input[type=radio]:checked ~ .labelSize{
    background: #e9ecef !important;
    border-color: #ced4da !important;
    color: #212529 !important;
    font-weight: 700 !important;
}

.product-offer-card .skip-block{
    height: 33px !important;
}

.product-offer-card form > .row.mt-2{
    flex: 0 0 auto;
    margin-top: .5rem !important;
}

.product-offer-card .buttonShow{
    height: 42px;
}

.product-offer-card .product-card-actions{
    position: absolute;
    top: calc(100% - 1px);
    left: -1px;
    right: -1px;
    width: calc(100% + 2px);
    box-sizing: border-box;
    z-index: 110;
    height: auto;
    min-height: auto;
    display: none;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
    padding: 0 13px 12px;
    border: 1px solid #f1cfd7;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(228,1,52,.10);
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.product-offer-card .product-card-actions__main{
    width: 100%;
}

.product-offer-card .product-card-actions__col{
    padding-left:3px !important;
    padding-right:3px !important;
    margin-bottom:0 !important;
}

.product-offer-card .product-card-actions a.gotoBasket{
    width:100%;
}

.product-offer-card .buttonShow.product-card-action{
    width:100%;
    height:40px;
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:0 !important;
    border-radius:6px !important;
    padding:0 10px;
    box-shadow:none !important;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
    text-align:center;
    white-space:normal;
    transition:background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.product-offer-card .product-card-action svg{
    flex:0 0 auto;
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.product-offer-card .product-card-action .product-card-action__basket-icon{
    display:inline-block !important;
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
}

.product-offer-card .product-card-action span{
    min-width:0;
}

.product-offer-card .product-card-action .product-card-action__text{
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.product-offer-card .product-card-action .product-card-action__title{
    font-size: clamp(11.5px, 0.9vw, 13px) !important;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap !important;
}

.product-offer-card .buttonShow.product-card-action .product-delivery-term--mobile{
    display: none !important;
}

.product-offer-card .buttonShow.product-card-action .product-delivery-term--desktop{
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.product-offer-card .buttonShow.product-card-action .delivery-term--desktop-full{
    display: inline !important;
    white-space: nowrap !important;
}

.product-offer-card .buttonShow.product-card-action .delivery-term--desktop-compact{
    display: none !important;
    white-space: nowrap !important;
}

@media(max-width: 1199.98px){
    .product-offer-card .buttonShow.product-card-action .delivery-term--desktop-full{
        display: none !important;
    }
    .product-offer-card .buttonShow.product-card-action .delivery-term--desktop-compact{
        display: inline !important;
    }
}

@container (max-width: 245px){
    .product-offer-card .buttonShow.product-card-action .delivery-term--desktop-full{
        display: none !important;
    }
    .product-offer-card .buttonShow.product-card-action .delivery-term--desktop-compact{
        display: inline !important;
    }
}

.product-offer-card .product-card-action .product-card-action__delivery{
    display: inline-flex;
    align-items: baseline;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.85;
    white-space: nowrap;
}

.product-offer-card .product-card-action .product-card-action__delivery::before{
    content: "·";
    margin-right: 6px;
    opacity: 0.7;
}

.product-offer-card .product-card-action--cart,
.product-offer-card .product-card-action--checkout{
    border:1px solid var(--brandColor, #e40134);
    background:var(--brandColor, #e40134);
    color:#fff;
}

.product-offer-card .product-card-action--cart:hover,
.product-offer-card .product-card-action--cart:focus,
.product-offer-card .product-card-action--checkout:hover,
.product-offer-card .product-card-action--checkout:focus{
    border-color:#b8002a;
    background:#b8002a;
    color:#fff;
    transform:translateY(-1px);
}

.product-offer-card .product-card-action--quick{
    border:1px solid var(--brandColor, #e40134);
    background:#fdf2f4;
    color:var(--brandColor, #e40134);
}

.product-offer-card .product-card-action--quick:hover,
.product-offer-card .product-card-action--quick:focus{
    border-color:#c3002a;
    background:var(--brandColor, #e40134);
    color:#fff;
    transform:translateY(-1px);
}

.product-offer-card .product-card-quick-link{
    align-self: center;
    border: 0;
    background: transparent;
    color: #7d5d64;
    padding: 0;
    font-size: 13px;
    line-height: 18px;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none !important;
}

.product-offer-card .product-card-quick-link:hover,
.product-offer-card .product-card-quick-link:focus{
    color: var(--brandColor, #e40134);
    outline: none;
}

@media (hover: hover) and (pointer: fine) and (min-width: 768px){
    .container-sm-fluid:has(.product-offer-card:hover),
    .container-fluid:has(.product-offer-card:hover),
    .container:has(.product-offer-card:hover){
        position: relative !important;
        z-index: 50 !important;
    }

    .autoplay:has(.product-offer-card:hover),
    .slick-slider:has(.product-offer-card:hover){
        position: relative !important;
        z-index: 55 !important;
    }

    .slick-slide:has(.product-offer-card:hover){
        position: relative !important;
        z-index: 60 !important;
    }

    .offerCol:has(.product-offer-card:hover),
    [class*="col-"]:has(.product-offer-card:hover),
    .productCatalogCard:has(.product-offer-card:hover){
        position: relative !important;
        z-index: 70 !important;
    }

    .product-offer-card:hover{
        border-bottom-color: transparent !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        position: relative !important;
        z-index: 100 !important;
        background: #ffffff !important;
    }

    .product-offer-card:not(:hover) .product-card-actions{
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .product-offer-card .product-card-actions{
        position: absolute !important;
        top: calc(100% - 1px) !important;
        left: -1px !important;
        right: -1px !important;
        width: calc(100% + 2px) !important;
        box-sizing: border-box !important;
        z-index: 110 !important;
        height: auto !important;
        min-height: auto !important;
        display: none;
        margin-top: 0 !important;
        padding: 0 13px 12px !important;
        border: 1px solid #f1cfd7 !important;
        border-top: 0 !important;
        border-radius: 0 0 8px 8px !important;
        background: #ffffff !important;
        box-shadow: 0 16px 34px rgba(228,1,52,.10) !important;
        overflow: visible !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: none !important;
        transition: none !important;
    }

    .product-offer-card:hover .product-card-actions,
    .product-offer-card:focus-within .product-card-actions{
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: #ffffff !important;
        transform: none !important;
    }

    .slick-slider .slick-list,
    .autoplay .slick-list,
    .autoplay.slick-initialized .slick-list{
        padding-bottom: 96px !important;
    }

    .slick-slider .product-offer-card .product-card-actions,
    .autoplay.slick-initialized .product-offer-card .product-card-actions{
        left: -1px;
        right: -1px;
        width: calc(100% + 2px);
        box-sizing: border-box;
        flex-direction: column !important;
        gap: 6px !important;
        padding: 0 13px 12px !important;
        border: 1px solid #f1cfd7;
        border-top: 0;
        border-radius: 0 0 8px 8px;
        background: #ffffff !important;
        box-shadow: 0 16px 34px rgba(228,1,52,.10);
        transform: none;
    }

    .slick-slider .product-offer-card .product-card-actions__main,
    .autoplay.slick-initialized .product-offer-card .product-card-actions__main{
        width:100%;
    }

    .slick-slider .product-offer-card .buttonShow.product-card-action,
    .autoplay.slick-initialized .product-offer-card .buttonShow.product-card-action{
        height:40px;
        min-height:40px;
        padding:0 10px;
        font-size:12px;
    }

    .slick-slider .product-offer-card .product-card-quick-link,
    .autoplay.slick-initialized .product-offer-card .product-card-quick-link{
        font-size:12px;
        line-height:16px;
    }

    /* Единая высота названия и блока размеров в десктопных слайдерах для строгого выравнивания цен и размеров */
    .slick-slider .product-offer-card .product-card-name-line,
    .autoplay .product-offer-card .product-card-name-line,
    [data-widget="slickSlider"] .product-offer-card .product-card-name-line{
        height: 37px !important;
        min-height: 37px !important;
        max-height: 37px !important;
        -webkit-line-clamp: 2 !important;
    }

    .slick-slider .product-offer-card .shoeSize,
    .slick-track .product-offer-card .shoeSize,
    .slick-slide.product-offer-card .shoeSize,
    .autoplay .product-offer-card .shoeSize,
    [data-widget="slickSlider"] .product-offer-card .shoeSize{
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        overflow: hidden !important;
    }
}

/* Мобильная версия карточки товара по эталонному макету */
@media(max-width: 767.98px){
    .catalogPart .parts,
    .parts{
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: stretch !important;
    }

    .product-offer-card,
    .part.product-offer-card,
    .catalogPart .part.product-offer-card{
        display: flex !important;
        flex-direction: column !important;
        align-self: stretch !important;
        padding: 0 0 10px 0 !important;
        margin: 0 0 4px 0 !important;
        border: 1px solid #f3f4f6 !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        height: auto !important;
    }

    /* 2 колонки строго внутри сетки каталога */
    .catalogPart .parts > .product-offer-card,
    .catalogPart .parts > .part.product-offer-card,
    .parts > .product-offer-card,
    .parts > .part.product-offer-card{
        flex: 0 0 calc(50% - 4px) !important;
        max-width: calc(50% - 4px) !important;
        width: calc(50% - 4px) !important;
    }

    /* Для слайдеров (Недавно вы смотрели и др.) размером управляет slick-slider */
    .slick-slider .product-offer-card,
    .slick-track .product-offer-card,
    .slick-slide.product-offer-card,
    .autoplay .product-offer-card,
    [data-widget="slickSlider"] .product-offer-card{
        flex: 0 0 auto !important;
        max-width: none !important;
    }

    /* Единая высота названия в слайдерах, чтобы размеры и кнопки шли строго по единой горизонтали */
    .slick-slider .product-offer-card .product-card-name-line,
    .slick-track .product-offer-card .product-card-name-line,
    .slick-slide.product-offer-card .product-card-name-line,
    .autoplay .product-offer-card .product-card-name-line,
    [data-widget="slickSlider"] .product-offer-card .product-card-name-line{
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
        -webkit-line-clamp: 3 !important;
    }

    .slick-slider .product-offer-card .shoeSize,
    .slick-track .product-offer-card .shoeSize,
    .slick-slide.product-offer-card .shoeSize,
    .autoplay .product-offer-card .shoeSize,
    [data-widget="slickSlider"] .product-offer-card .shoeSize{
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        overflow: hidden !important;
    }

    .product-offer-card form{
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-height: 100% !important;
        height: auto !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-offer-card form > div[style*="position"]{
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .product-offer-card:hover,
    .product-offer-card:focus-within{
        border-color: #e5e7eb !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        border-radius: 8px !important;
    }

    .product-offer-card .productCard{
        border-radius: 8px 8px 0 0 !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 24px 0 !important;
    }

    .product-offer-card .product-card-photo-box{
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        aspect-ratio: 9 / 12 !important;
    }

    .product-offer-card .previewImg{
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 9 / 12 !important;
        object-fit: contain !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .product-offer-card .product-card-favorite.favAction{
        top: 6px !important;
        right: 8px !important;
        left: auto !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        display: block !important;
        color: #212529 !important;
        z-index: 12 !important;
        padding: 0 !important;
        filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .85)) !important;
    }

    .product-offer-card .product-card-favorite.favAction svg{
        width: 28px !important;
        height: 28px !important;
    }

    .product-offer-card .product-card-favorite.favAction[data-favorite="1"],
    .product-offer-card .product-card-favorite.favAction.active{
        color: var(--brandColor, #e40134) !important;
    }

    .product-offer-card .product-card-photo-stickers a{
        height: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .product-offer-card .product-card-photo-stickers{
        left: 6px !important;
        bottom: 3px !important;
        max-width: calc(100% - 12px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 !important;
        gap: 5px !important;
        overflow: visible !important;
        flex-direction: row !important;
        flex-wrap: wrap-reverse !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
    }

    .product-offer-card .badge-discount,
    .product-offer-card .badge-sale,
    .product-offer-card .labelSale{
        height: 18px !important;
        font-size: 9.5px !important;
        font-weight: 700 !important;
        padding: 0 5px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-offer-card .badge-last-pair{
        height: 18px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        padding: 0 5px !important;
        border-radius: 4px !important;
        background: #ffffff !important;
        color: #111827 !important;
        border: none !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
        gap: 3px !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-offer-card .badge-last-pair .badge-dot{
        width: 4px !important;
        height: 4px !important;
    }

    .product-offer-card .badge-promo,
    .product-offer-card .labelBlackFridaySale{
        height: 18px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        padding: 0 5px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
        border: none !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-offer-card .badge-new,
    .product-offer-card .labelNew{
        height: 18px !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        padding: 0 5px !important;
        border-radius: 4px !important;
        background: #ffffff !important;
        color: #111827 !important;
        border: none !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .product-offer-card .productCard:has(.showPreview):before{
        content: "";
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 0;
        z-index: 12;
        height: 2px;
        border-radius: 2px;
        background: #e5e7eb;
        pointer-events: none !important;
    }

    .product-offer-card .productCard:has(.showPreview):after{
        content: "";
        display: block !important;
        position: absolute;
        left: calc(8px + var(--preview-index, 0) * (100% - 16px) / var(--preview-count, 1));
        width: calc((100% - 16px) / var(--preview-count, 1));
        bottom: 0;
        z-index: 13;
        height: 2px;
        border-radius: 2px;
        background: var(--brandColor, #111827);
        pointer-events: none !important;
    }

    .product-offer-card .productName,
    .product-offer-card .shoeSize,
    .product-offer-card .product-card-actions,
    .product-offer-card .card-text,
    .product-offer-card form > .row.mt-2{
        padding-left: 8px !important;
        padding-right: 8px !important;
        box-sizing: border-box !important;
    }

    .product-offer-card .product-card-original-badge{
        width: 10.5px !important;
        height: 10.5px !important;
        min-width: 10.5px !important;
        flex-shrink: 0 !important;
    }

    .product-offer-card .product-card-original-badge svg{
        width: 10.5px !important;
        height: 10.5px !important;
    }

    .product-offer-card .product-card-articul-badge{
        flex: 0 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-align: right !important;
    }

    .product-offer-card .product-card-articul-text,
    .product-offer-card .product-card-articul{
        font-size: 11px !important;
        color: #9ca3af !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
    }

    .product-offer-card .productName{
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin-top: 13px !important;
        padding-top: 0 !important;
        overflow: visible !important;
    }

    .product-offer-card .productName > font{
        display: block !important;
        padding-top: 0 !important;
    }

    .product-offer-card .product-card-price-row{
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 0 !important;
        margin-bottom: 16px !important;
        flex-wrap: nowrap !important;
    }

    .product-offer-card .simplePrice,
    .product-offer-card .currentPrice{
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        color: #111827 !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }

    /* Адаптивный размер цен при наличии старой цены (длинные 5-6 значные числа) */
    .product-offer-card .product-card-price-group:has(.oldPrice) .currentPrice,
    .product-offer-card .product-card-price-group:has(.oldPrice) .simplePrice,
    .product-offer-card .product-card-price-row:has(.oldPrice) .currentPrice,
    .product-offer-card .product-card-price-row:has(.oldPrice) .simplePrice{
        font-size: clamp(15px, 4.3vw, 16.5px) !important;
        letter-spacing: -0.03em !important;
    }

    .product-offer-card .oldPrice{
        font-size: clamp(11.5px, 3.2vw, 12.5px) !important;
        font-weight: 400 !important;
        color: #9ca3af !important;
        text-decoration: line-through !important;
        margin-left: 4px !important;
        letter-spacing: -0.02em !important;
        white-space: nowrap !important;
    }

    .product-offer-card .product-card-discount-badge{
        display: none !important;
    }

    .product-offer-card .product-card-brand-row{
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }

    .product-offer-card .product-card-brand-name{
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.03em !important;
        text-transform: uppercase !important;
        color: #111827 !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        flex-shrink: 0 !important;
    }

    .product-offer-card .product-card-name-line{
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        color: #374151 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        height: auto !important;
        min-height: 37px !important;
        max-height: 55px !important;
        word-break: break-word !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .product-offer-card .product-card-name-line.product-card-name-line--row-3{
        height: 55px !important;
        min-height: 55px !important;
    }

    .product-offer-card .shoeSize{
        display: flex !important;
        flex-wrap: wrap !important;
        align-content: flex-start !important;
        align-items: center !important;
        gap: 6px !important;
        height: auto !important;
        min-height: 30px !important;
        max-height: none !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        padding-top: 0 !important;
        overflow: visible !important;
    }

    .product-offer-card .shoeSize::-webkit-scrollbar{
        display: none !important;
    }

    .product-offer-card .shoeSize .size,
    .product-offer-card .shoeSize li{
        flex: 0 0 auto !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }

    .product-offer-card .shoeSize .labelSize,
    .product-offer-card .shoeSize li a{
        box-sizing: border-box !important;
        min-width: 32px !important;
        height: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        box-shadow: none !important;
        color: #374151 !important;
        padding: 0 6px !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        cursor: pointer !important;
        transition: all .15s ease !important;
        float: none !important;
    }

    .product-offer-card .shoeSize .labelSize:hover,
    .product-offer-card .shoeSize li a:hover{
        border-color: #6b7280 !important;
        color: #111827 !important;
        background: #f9fafb !important;
        text-decoration: none !important;
    }

    .product-offer-card .shoeSize .size input[type=radio]:checked ~ .labelSize{
        background: #e9ecef !important;
        border-color: #ced4da !important;
        color: #212529 !important;
        font-weight: 700 !important;
    }

    .product-offer-card .skip-block{
        height: 0 !important;
    }

    .product-offer-card .product-card-actions{
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin-top: auto !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        z-index: auto !important;
    }

    .product-offer-card .product-card-actions__main{
        position: static !important;
        width: 100% !important;
        height: auto !important;
    }

    .product-offer-card .product-card-actions a.gotoBasket{
        width: 100% !important;
        height: auto !important;
    }

    .product-offer-card .product-card-actions a.gotoBasket[style*="display: none"],
    .product-offer-card .product-card-actions a.gotoBasket[style*="display:none"]{
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action{
        width: 100% !important;
        height: 35px !important;
        min-height: 35px !important;
        max-height: 35px !important;
        border-radius: 6px !important;
        background: var(--brandColor, #e40134) !important;
        border: 1px solid var(--brandColor, #e40134) !important;
        color: #ffffff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 0 8px !important;
        margin: 0 !important;
        box-shadow: none !important;
        transform: none !important;
        transition: background-color .15s ease !important;
    }

    .product-offer-card .buttonShow.product-card-action:hover,
    .product-offer-card .buttonShow.product-card-action:focus{
        border-color: #b8002a !important;
        background: #b8002a !important;
        color: #ffffff !important;
        transform: none !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-card-action__basket-icon{
        display: inline-block !important;
        position: static !important;
        width: 14px !important;
        height: 14px !important;
        margin: 0 !important;
        color: #ffffff !important;
        filter: none !important;
        transform: none !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-delivery-term--desktop{
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-delivery-term--mobile{
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
    }

    .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-full{
        display: inline !important;
        white-space: nowrap !important;
    }

    .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-tiny{
        display: none !important;
        white-space: nowrap !important;
    }

    .product-offer-card .buttonShow.product-card-action span:not(.product-delivery-term--desktop){
        position: static !important;
        inset: auto !important;
        font-size: clamp(10.5px, 3.1vw, 12px) !important;
        line-height: 1 !important;
        color: #ffffff !important;
        overflow: visible !important;
        white-space: nowrap !important;
    }

    @media(max-width: 360px){
        .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-full{
            display: none !important;
        }
        .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-tiny{
            display: inline !important;
        }
    }

    @container (max-width: 160px){
        .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-full{
            display: none !important;
        }
        .product-offer-card .buttonShow.product-card-action .delivery-term--mobile-tiny{
            display: inline !important;
        }
    }

    .product-offer-card .buttonShow.product-card-action .product-card-action__text{
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        line-height: 1 !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-card-action__title{
        display: inline !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-card-action__delivery{
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action .product-card-action__delivery::before{
        content: none !important;
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action--cart:before{
        content: none !important;
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action--cart:after{
        content: none !important;
        display: none !important;
    }

    .product-offer-card .buttonShow.product-card-action--checkout{
        background: #059669 !important;
        border-color: #059669 !important;
    }

    .product-offer-card .buttonShow.product-card-action--checkout span{
        display: inline !important;
    }

    .product-offer-card .product-card-quick-link{
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 11.5px !important;
        color: #5d677d !important;
        text-decoration: underline !important;
        text-underline-offset: 2px !important;
        padding: 2px 0 !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        cursor: pointer !important;
    }

    .product-offer-card .product-card-quick-link:hover,
    .product-offer-card .product-card-quick-link:focus{
        color: var(--brandColor, #e40134) !important;
    }
}

/* Стили модального окна "Купить в один клик" */
#buyOneClick .size,
#modalBuy .size{
    display: inline-flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    float: none !important;
    width: auto !important;
}

#buyOneClick .size input[type=radio],
#modalBuy .size input[type=radio]{
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

#buyOneClick .size label,
#modalBuy .size label{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #212529 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all .15s ease !important;
}

#buyOneClick .size label:hover,
#modalBuy .size label:hover{
    border-color: #9ca3af !important;
    background: #f9fafb !important;
}

#buyOneClick .size input[type=radio]:checked ~ label,
#modalBuy .size input[type=radio]:checked ~ label{
    background: var(--brandColor, #e40134) !important;
    border-color: var(--brandColor, #e40134) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* Всплывающий белый тултип для избранного */
.tooltip-white.show{
    background-color: transparent !important;
    z-index: 9999 !important;
    opacity: 1 !important;
}

.tooltip-white .arrow{
    display: none !important;
}

.tooltip-white .tooltip-inner,
.tooltip-inner-white{
    color: #212529 !important;
    background-color: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.15) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    border-radius: 4px !important;
    text-align: center !important;
}

.tooltip-white.bs-tooltip-bottom .arrow:before,
.tooltip-white.bs-tooltip-auto[x-placement^="bottom"] .arrow:before{
    border-bottom-color: #fff !important;
}

.tooltip-white.bs-tooltip-top .arrow:before,
.tooltip-white.bs-tooltip-auto[x-placement^="top"] .arrow:before{
    border-top-color: #fff !important;
}

.tooltip-white.bs-tooltip-left .arrow:before,
.tooltip-white.bs-tooltip-auto[x-placement^="left"] .arrow:before{
    border-left-color: #fff !important;
}

.tooltip-white.bs-tooltip-right .arrow:before,
.tooltip-white.bs-tooltip-auto[x-placement^="right"] .arrow:before{
    border-right-color: #fff !important;
}

.tooltip-white a{
    color: var(--brandColor, #e40134) !important;
    font-weight: 600;
    text-decoration: underline;
}
