.productColumnFix {
    width: 410px;
    max-width: 100%;
}

/* newcart */
.product__newcart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-radius: 6px;
    background: #f5f5f5;
    width: 100%;
    max-width: 328px
}

.product__newcart>*+* {
    margin-top: 12px;
}

.product__newcart-price {
    align-self: flex-start;
    display: block;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    color: #000;
}

.product__newcart-delivery {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    text-align: center;
    color: #000;
}

.product__newcart-delivery span {
    font-weight: 500;
}

.product__newcart .btn {
    font-size: 16px;
    line-height: 120%;
    height: 42px;
}

/* detail text (description) */
.product__detail-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    padding: 0 0 10px;
}

/* params */
.product__params {
    width: 100%;
    display: none;
}

.product__params-item {
    width: 100%;
}

.product__params-toggler {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.product__params-toggler::before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-180deg);
    width: 24px;
    height: 24px;
    background: url('/images/product/chevron-up-cb.svg') no-repeat center center / 24px;
    transition: all .2s;
}

.product__params-toggler.active::before {
    transform: translateY(-50%) rotate(0);
}

.product__params-item {
    display: flex;
    align-items: flex-end;
}

.product__params-item-prop {
    order: 1;
}

.product__params-item-value {
    order: 3;
}

.product__params-item:after {
    margin: 0 16px;
    order: 2;
    content: '';
    flex-grow: 1;
    border-bottom: 2px dotted #DFDFDF;
}

/* shop */
.product__shop {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 24px;
    color:#000000
}

.product__shop>*+* {
    margin-left: 16px;
}

.product__shop-image {
    display: flex;
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    background: #000;
    border-radius: 50%;
    overflow: hidden;
}

.product__shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__shop-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product__shop-content>*+* {
    margin-top: 4px;
}

.product__shop-name {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
}

.product__shop-status {
    display: flex;
    align-items: center;
}

.product__shop-status>*+* {
    position: relative;
    padding-left: 8px;
    margin-left: 8px;
}

.product__shop-status>*+*::before {
    content: '';
    display: block;
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #8F8F8F;
    border-radius: 50%;
}

.product__shop-stars {
    padding-left: 20px;
    background: url('/images/v2/star-active.svg') no-repeat left center / 14px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

.product__shop-commends,
.product__shop-buyers {
    color: #8F8F8F;
    font-weight: 500;
}

.reviews__filter {
    margin-bottom: 20px;
    display: flex;
}

.reviews__filter>*+* {
    margin-left: 8px;
}

.reviews__main-block+.reviews__main-block {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ECECEC;
}

.reviews__main-item {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.reviews__main-item+.reviews__main-item {
    margin-top: 16px;
}

.reviews__main-item+.reviews__main-item .reviews__main-item-avatar {
    display: none;
}

.reviews__filter {}

.reviews__filter>*+* {
    margin-left: 8px;
}

.reviews__filter-item {
    padding: 7px 10px;
    background: #F5F5F5;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: -0.4px;
    border-radius: 8px;
    cursor: pointer;
}

.reviews__filter-item:hover {
    background: #F9f9f9;
}

.reviews__filter-item.active {
    background: #F66;
    color: #fff;
    cursor: default;
}

.reviews__galery-item {
    display: flex;
}

.customers-image.thisVideo {
    position: relative;
}

.customers-image.thisVideo::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('/new/play-cw.svg') no-repeat center center / 20px;
    margin: 0;
}

.reviews__statistic-label {
    padding-left: 3px;
    display: flex;
    align-items: center;
}

.reviews__statistic-label+.reviews__statistic-label {
    margin-top: 8px;
}

.reviews__statistic-label .checkbox.mini input[type=checkbox] {
    min-width: 16px;
    width: 16px;
    height: 16px;
}

.reviews__statistic-label .checkbox.mini input[type=checkbox]::before {
    min-width: 16px;
    width: 16px;
    height: 16px;
}

.reviews__statistic-label .reviews__statistic-review {
    display: flex;
    align-items: center;
}

.reviews__statistic-label .reviews__statistic-review span {
    line-height: 16px;
}

.carefulPanels {
    margin: 64px 0;
    display: flex;
}

.carefulPanels>*+* {
    margin-left: 32px;
}

.carefulPanels__item {
    width: 425px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.carefulPanels__item>*+* {
    margin-top: 10px;
}

.carefulPanels__item-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.carefulPanels__item[data-styles*=protect] .carefulPanels__item-title {
    padding-left: 44px;
    background: url('/images/product/careful-1.svg') no-repeat left center / 32px;
}

.carefulPanels__item[data-styles*=cancel] .carefulPanels__item-title {
    padding-left: 44px;
    background: url('/images/product/careful-2.svg') no-repeat left center / 32px;
}

.carefulPanels__item-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
}

@media (max-width: 994px) {
    .product__item {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .carefulPanels {
        flex-direction: column;
    }

    .carefulPanels>*+* {
        margin-left: 0;
        margin-top: 32px;
    }

    .carefulPanels__item {
        width: 100%;
    }
}

@media (max-width: 450px) {
    .product__shop-status {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        overflow: hidden;
    }

    .product__shop-status>* {
        transform: translateX(-16px);
    }

    .product__shop-status>*:first-child {
        margin-left: 16px;
    }
}
.product__newcart-delivery:not(.isCalculated)
{
   opacity: 0;
}
.product__item-title.product__params-toggler + .product__item-group {
    margin-bottom: -35px;
}
.product__item-title.product__params-toggler.active + .product__item-group {
    margin-bottom: -20px;
}
.product__size + .product__size {
    bottom: 55px;
}
@media (max-width: 992px) {
    .product__size + .product__size {
        top: 55px;
    }
}
.href-button {
    background-color: #e9e9e9;
    padding: 3px 13px;
    border-radius: 15px;
    color: #000;
    margin: 3px;
    display: inline-grid;
}
.characteristic
{
    margin-top: 10px;
}

.color-block {
    cursor: pointer;
    text-align: center;
}
.color-block.active .color-circle {
    border: 2px solid rgb(239 68 68);
    opacity: 1;
}
.color-circle {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid #adb4be;
    transition: all;
    display: block;
    margin: 0 auto;
    opacity: .5;
}
.color-container {
    justify-content: left;
    align-items: flex-start;
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.color-text {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1px;
}
.main__products-item-tag {
    padding: 2.5px 12px;
    border-radius: 100px;
    z-index: 500;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: auto;
    pointer-events: none;
    background-color: #f66;
    display: block;
    margin-bottom: 0;
    color: #fff;
    white-space: nowrap;
    position: static
}
.tags-list {
    position: absolute;
    top: 12px;
    left: 8px;
    padding: 0;
    z-index: 500;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    cursor: auto;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px
}

/* Mobile adaptive: show slider, hide gallery on screens <= 552px */
.bc-552-remove {
    display: block;
}

@media (max-width: 552px) {
    .bc-552-remove {
        display: none !important;
    }
}

.bc-552-add {
    display: none;
}

@media (max-width: 552px) {
    .bc-552-add {
        display: block;
    }
}

/* ======================================
   Improved Product Gallery Thumbnails
   Added: 2026-01-10
   ====================================== */

/* Thumbnail container - horizontal layout under main image */
.gallery-thumbs {
    margin-top: 12px;
}

.gallery-thumbs .swiper-slide {
    width: 80px !important;
    height: 80px;
}

.gallery-thumbs .swiper-thumbs-item {
    width: 80px;
    height: 80px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gallery-thumbs .swiper-thumbs-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs .swiper-thumbs-item:hover {
    border-color: #999;
}

.gallery-thumbs .swiper-slide-thumb-active .swiper-thumbs-item {
    border-color: #FF6B6B;
}

/* Fix: Ensure product layout is flex (may not load from v2/page/style.css) */
.product__container {
    display: flex;
    gap: 40px;
    height: max-content;
}
@media (max-width: 992px) {
    .product__container {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
}

/* ======================================
   Product Gallery with Thumbnails
   Main image + horizontal thumbnails below
   ====================================== */

/* Main image container */
.product__galery-main {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
}

.product__galery-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* Horizontal thumbnails row */
.product__galery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Individual thumbnail */
.product__thumb {
    width: 80px;
    height: 80px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product__thumb:hover {
    border-color: #999;
}

.product__thumb.active {
    border-color: #FF6B6B;
}

/* Mobile adjustments */
@media (max-width: 552px) {
    .product__galery-thumbs {
        gap: 8px;
    }

    .product__thumb {
        width: 60px;
        height: 60px;
    }
}

/* Mobile: hide counter, thumbs are in swiper */
@media (max-width: 552px) {
    .gallery-thumbs .swiper-slide {
        width: 60px !important;
        height: 60px;
    }

    .gallery-thumbs .swiper-thumbs-item {
        width: 60px;
        height: 60px;
    }

    .product-card-gallery .photo-counter {
        bottom: 12px;
        right: 12px;
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* Tulip pack: show full photo in the main gallery without cropping */
.tulip-pack-page .product-card-gallery__item-img {
    background: #f0d4d4;
}
.tulip-pack-page .product-card-gallery__item-img img {
    object-fit: contain;
    object-position: center;
}

/* Tulip pack mobile slider: prevent cropping from global .product__slider img { object-fit: cover } */
@media (max-width: 552px) {
    .tulip-pack-page .product__slider .swiper-zoom-container {
        background: #f0d4d4;
    }
    .tulip-pack-page .product__slider .swiper-zoom-container picture {
        display: block;
        width: 100%;
        height: 100%;
    }
    .tulip-pack-page .product__slider img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        -o-object-fit: contain !important;
        object-position: center;
    }
}

/* Tulip price hint */
.tulip-price-hint {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    line-height: 1.4;
}
/* Tulip color timeline */
.tulip-color-timeline {
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 8px 0 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.tulip-color-timeline__step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    padding-bottom: 12px;
    padding-left: 4px;
}
.tulip-color-timeline__step:last-child {
    padding-bottom: 0;
}
.tulip-color-timeline__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 26px;
    bottom: 0;
    width: 2px;
    background: #FFE082;
}
.tulip-color-timeline__icon {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.tulip-color-timeline__text {
    font-size: 14px;
    color: #5D4037;
    line-height: 1.4;
    padding-top: 1px;
}
/* Tulip wrapping card */
.tulip-wrapping-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    transition: border-color 0.2s, background 0.2s;
}
.tulip-wrapping-card--active {
    border-color: #E53935;
    background: #FFF5F5;
}
.tulip-wrapping-card__body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.tulip-wrapping-card__img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.tulip-wrapping-card__info {
    flex: 1;
    min-width: 0;
}
.tulip-wrapping-card__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2px;
}
.tulip-wrapping-card__desc {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
}
.tulip-wrapping-card__price-unit {
    font-size: 14px;
    font-weight: 500;
    color: #222;
}
.tulip-wrapping-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tulip-wrapping-qty {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.tulip-wrapping-qty__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
    padding: 0;
    color: #333;
}
.tulip-wrapping-qty__btn:hover {
    border-color: #999;
    background: #f5f5f5;
}
.tulip-wrapping-qty__btn:active {
    background: #eee;
}
.tulip-wrapping-qty__value {
    font-size: 16px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}
.tulip-wrapping-card__total {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .tulip-wrapping-card__body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tulip-wrapping-card__img {
        width: 80px;
        height: 80px;
    }
}

/* Overlay header on mobile gallery (v2 style) */
.product__slider {
    position: relative;
}

.product__overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
}

.product__overlay-actions {
    display: flex;
    gap: 8px;
}

.product__overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #1f2937;
    cursor: pointer;
    transition: background 0.15s;
}

.product__overlay-btn:active {
    background: #fff;
}

/* V2-style product title */
.product__title-v2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

@media (max-width: 552px) {
    .product__title-v2 {
        font-size: 20px;
        padding: 0;
    }
}

/* Immersive mobile product page */
@media (max-width: 552px) {
    /* 1. Hide tabs, rating line (header hidden by JS on product page only) */
    .main__tabs {
        display: none !important;
    }

    .product__header .product__info {
        display: none;
    }

    /* 2. Reduce gap between slider and title */
    .product__column {
        padding-top: 0 !important;
    }

    .product__title-v2 {
        margin-top: 12px;
    }

    /* Collapse empty spaces and gaps */
    .product__group {
        gap: 8px !important;
    }

    .product__group-column {
        gap: 8px !important;
    }

    /* 3. Inline composition (comma-separated) */
    .product__consist-inline {
        font-size: 14px;
        color: #888;
        line-height: 1.4;
        margin: 4px 0 12px;
    }

    /* 4. Swiper dots overlay on photo */
    .product__slider .swiper-pagination {
        bottom: 12px !important;
    }

    /* 5. Sticky price + button bar */
    #buttonCart {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 100 !important;
        background: #fff !important;
        padding: 10px 16px !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        height: auto !important;
    }

    #buttonCart .product__cart-price {
        flex-shrink: 0;
        font-size: 20px;
        font-weight: 700;
        white-space: nowrap;
    }

    #buttonCart .btn.btn-danger,
    #buttonCart .js-city-delivery-check {
        flex: 1;
        margin: 0;
        min-width: 0;
    }

    /* Hide non-essential cart elements in sticky bar */
    #buttonCart .product__stock-alert,
    #buttonCart .product__free-delivery,
    #buttonCart .product__guarantee,
    #buttonCart .product__cart-bonuses,
    #buttonCart .product__cart-item,
    #buttonCart .tulip-stem-info,
    #buttonCart .tulip-price-hint,
    #buttonCart .product__newcart-delivery,
    #buttonCart .js-delivery-time {
        display: none !important;
    }

    /* "К оформлению" — solid style */
    #buttonCart .js-place-order {
        flex: 1;
        margin: 0;
    }

    #buttonCart .js-place-order .btn {
        width: 100%;
        margin: 0;
        background: #f66;
        color: #fff;
        border-color: #f66;
    }

    /* Sticky counter: [🗑 1 + 🛒] */
    .product__sticky-counter {
        display: flex;
        align-items: center;
        gap: 0;
        background: #f5f5f5;
        border-radius: 12px;
        overflow: hidden;
        margin-left: auto;
    }

    .product__sticky-counter.out {
        display: none !important;
    }

    .product__sticky-counter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #666;
        font-size: 20px;
        font-weight: 500;
        -webkit-tap-highlight-color: transparent;
    }

    .product__sticky-counter-btn:active {
        background: #e8e8e8;
    }

    .product__sticky-counter-add {
        color: #222;
        font-size: 24px;
    }

    .product__sticky-counter-qty {
        min-width: 28px;
        text-align: center;
        font-size: 17px;
        font-weight: 600;
        color: #222;
    }

    .product__sticky-counter-go {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: #f66;
        border-left: 1px solid #e0e0e0;
        pointer-events: auto;
        cursor: pointer;
        text-decoration: none;
        position: relative;
        z-index: 101;
    }

    /* 6. Compact shop card */
    .product__shop {
        padding: 12px 16px;
    }

    .product__shop-image {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .product__shop-name {
        font-size: 16px;
    }

    .product__shop-stars {
        font-size: 13px;
        background-size: 12px;
        padding-left: 16px;
    }

    /* No extra padding on columns */
    .product__column:first-of-type {
        padding-bottom: 0 !important;
    }

    /* Reduce gaps around product */
    .product {
        margin-bottom: 0 !important;
    }

    /* Hide empty js-product-info placeholder */
    #js-product-info:empty {
        display: none;
    }

    /* Sticky bar spacer — on body, not on product columns */
    body {
        padding-bottom: 70px;
    }
}
