.quick_cart_panel .panel-top {
	z-index: 4!important;
    padding: 20px 20px 25px!important;
}
.quick_cart_panel .panel-bottom {
    padding: 20px 20px 20px!important;
}
.quick_cart_panel .panel-middle {
    padding-top: 35px!important;
    padding-bottom: 80px!important;
}

@media (max-width: 1699px) {
    .quick_cart_panel .panel-top {
        padding: 20px 18px 25px!important;
    }
    .quick_cart_panel .panel-bottom {
        padding:20px!important;
    }
}
@media (max-width: 1199px){
	.quick_cart_panel .panel-middle {
    padding-top: 23px !important;
}
	    .quick_cart_panel .panel-top {
        padding: 15px 15px 17px !important;
    }
}
.category ul li {
	width: calc(25% - 40px);
}
.products-grid .product_card_layout.favorite_card_layout {
	width: calc(33.3333333% - 40px);
}
.products-grid .product_card_layout {
	width: calc(25% - 40px);
}
.blog-preview-item {
	width: calc(33.3333333% - 40px);
}
.blog-wrapper .blog-preview-item {
	width: calc(50% - 40px);
}
.personal_area .personal-settings .personal-delivery-holder .form-group.setting-group{
	width: calc(50% - 20px);
}
.personal_area .personal-settings .personal-delivery-holder .form-row{
	width: calc(50% - 20px);
}
.personal_area .personal-settings .form-group.setting-group{
	width: calc(33.3333333% - 20px);
}
@media (max-width: 1499px){
	.blog-wrapper .blog-preview-item {
    width: calc(50% - 30px);
}
	.products-grid .product_card_layout.favorite_card_layout {
    width: calc(33.3333333% - 30px);
}
.blog-preview-item {
	width: calc(33.3333333% - 30px);
}
	.category ul li {
	width: calc(25% - 30px);
}
	.products-grid .product_card_layout {
		width: calc(25% - 30px);
	}
}
@media (max-width: 1199px){
	.blog-wrapper .blog-preview-item {
    width: calc(50% - 15px);
}
	.blog-preview-item {
	width: calc(33.3333333% - 15px);
}
	.products-grid .product_card_layout {
		width: calc(33.3333333% - 15px);
	}
		.category ul li {
	width: calc(25% - 15px);
}
.products-grid .product_card_layout.favorite_card_layout {
    width: calc(50% - 15px);
}
	.personal_area .personal-settings .form-group.setting-group {
    width: calc(50% - 20px);
}
}
@media(max-width: 991px){
	.blog-wrapper .blog-preview-list .blog-preview-item{
		width: calc(50% - 15px);
		min-width: 100px;
	}
	.products-grid .product_card_layout.favorite_card_layout {
    width: calc(50% - 15px);
}
	.personal_area .personal-settings .personal-delivery-holder .form-group.setting-group {
    width: 100%;
}
.personal_area .personal-settings .personal-delivery-holder .form-row {
    width: 100%;
}
	.products-grid .product_card_layout {
    width: calc(50% - 15px);
}
	.personal_area .personal-settings .form-group.setting-group {
    width:100%;
}
}
@media(max-width: 767px){
	.products-grid .product_card_layout.favorite_card_layout {
    width: calc(50% - 10px);
}
	.category ul li {
    width: calc(50% - 10px);
}
	.products-grid .product_card_layout {
    width: calc(50% - 10px);
}
}
@media (max-width: 575px){
	.blog-wrapper .blog-preview-list .blog-preview-item{
		width: 100%;
		min-width: 100px;
	}
}


/* FIX SWIPER*/
.swiper-button-prev.swiper-button-disabled + .swiper-button-next.swiper-button-disabled {
    display: none;
}

.swiper-button-next.swiper-button-disabled + .swiper-button-prev.swiper-button-disabled {
    display: none;
}

.swiper-btns-holder:has(.swiper-button-prev.swiper-button-disabled):has(.swiper-button-next.swiper-button-disabled) {
    display: none;
}


.personal_area .products-grid .product_card_layout.favorite_card_layout .default-checkbox {
  left: auto;
  right: 15px;
  top: 15px;
  z-index: 10;
}

/*FIX SLY*/
#color-sly {
  touch-action: pan-y;
}


@font-face {
  font-family: 'Evolventa';
  src: url('/fonts/Evolventa-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Evolventa';
  src: url('/fonts/Evolventa-Bold.woff2') format('woff2');
  font-weight: 700;
}

/*Font fix*/
b, strong {
    font-weight: 700!important;
	font-family: Evolventa-Bold!important;
}
/*Title Blog Fix*/
@media (max-width: 575px) {
    .blog-wrapper .blog-preview-list .blog-preview-item a.blog-preview-title {
        width: 80%!important;
    }
}

/* Базовая плитка уже есть (tile_label), делаем вариацию под Black Friday */
.tile_label.tile_bf {
    background-color: #212121;
    color: #fff;
    text-transform: uppercase;
    border-radius: 30px 30px 30px 8px;
    -webkit-border-radius: 30px 30px 30px 8px;
	text-align: center;
    width: auto;
	padding: 0px 10px 0px 10px;
    height: 30px;
    line-height: 1;
    font-size: 18px;
}


@media (max-width: 767px) {
    .tile_label.tile_bf {
        width: auto;
        height: 20px;
        line-height: 1;
        font-size: 10px;
        border-radius: 30px 30px 30px 4px;
        -moz-border-radius: 30px 30px 30px 4px;
        -webkit-border-radius: 30px 30px 30px 4px;
        padding-top: 0;
    }
}



/* Компактная версия BF-стикера для карточек в каталоге / каруселях */
.product-card .product-stickers .tile_label.tile_bf,
.product_card_layout .product-stickers .tile_label.tile_bf {
    width: auto;
    height: auto;
    padding: 5px 12px 5px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 30px 30px 30px 6px;
    -webkit-border-radius: 30px 30px 30px 6px;
    text-align: center;
}


@media (max-width: 767px) {
    .product-card .product-stickers .tile_label.tile_bf,
    .product_card_layout .product-stickers .tile_label.tile_bf {
        font-size: 10px;
        padding: 3px 8px 3px;
        border-radius: 30px 30px 30px 4px;
        -webkit-border-radius: 30px 30px 30px 4px;
    }
}


 .product-together .product-stickers .tile_label {
    padding: 2px 5px;
    font-size: 10px!important;
    border-radius: 2px;
    max-width: 100%!important;
    white-space: normal;
    text-align: center;
	padding: 5px!important;
  }

  @media (max-width: 991px) {
    .product_card_layout.together_card .tile_label {
        width: 28px;
        height: 12px!important;
        font-size: 9px;
    }
}


/* ===================== NAZVA Фотосет 2 (перемикач фотосесій) ===================== */
.photoset-hidden { display: none !important; }

.photoset-toggle-wrap {
	display: flex;
	justify-content: center;
	margin: 0 0 6px;
}
/* десктоп: тумблер ПОЗА float-потоком (absolute), щоб не ламати обтікання .right-product; top ставить JS по висоті активної стрічки */
.left-product-wrapper { position: relative; }
.photoset-toggle-wrap:not(.photoset-toggle-mobile) {
	position: absolute;
	left: 0;
	width: 61%;
}
.photoset-toggle {
	position: relative;
	display: inline-flex;
	background: #f0f0f0;
	border-radius: 42px;
	padding: 6px;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
	-webkit-user-select: none;
	user-select: none;
}
.photoset-toggle-thumb {
	position: absolute;
	top: 6px; left: 6px; bottom: 6px;
	width: calc(50% - 6px);
	background: #212121;
	border-radius: 42px;
	transition: transform .38s cubic-bezier(.34, 1.4, .5, 1);
	z-index: 0;
}
.photoset-toggle[data-active="2"] .photoset-toggle-thumb { transform: translateX(100%); }
.photoset-btn {
	position: relative;
	z-index: 1;
	flex: 1 0 auto;
	border: 0;
	background: transparent;
	padding: 10px 32px;
	/* font-family: 'Evolventa-Bold', sans-serif; */
	font-size: 17px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	white-space: nowrap;
	transition: color .25s ease;
}
.photoset-btn.is-active { color: #fff; }

/* брейкпоінт галереї nazva = 992px (desktop-стрічка .left-product-wrapper з'являється з 992) */
@media (min-width: 992px) {
	.photoset-toggle-mobile { display: none !important; }
}
@media (max-width: 991px) {
	.photoset-toggle-wrap:not(.photoset-toggle-mobile) { display: none !important; }
	.photoset-toggle-wrap { width: 100%; }
	.photoset-btn { padding: 9px 26px; font-size: 15px; }
}
/* ===================== /NAZVA Фотосет 2 ===================== */


/* ===================== NAZVA Reviews (секция відгуків на картці) ===================== */
.rv-section { padding: 48px 0 8px; }
.rv-section__inner { }
.rv-section__title.h2 {
	color: #212121;
	margin-top: 0;
	margin-bottom: 35px;
}
.rv-grid {
	display: grid;
	grid-template-columns: 484px 1fr;
	gap: 24px;
	align-items: start;
}

/* --- ЛЕВЫЙ: сводка (ширша 484px, нижча - як евро) --- */
.rv-summary {
	background: #fff;
	border-radius: 18px;
	padding: 18px 28px;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
	position: sticky;
	top: 100px;
}
.rv-summary__top { display: flex; align-items: center; gap: 20px; margin-bottom: 12px; }
.rv-summary__avg {
	font-family: 'Evolventa-Regular', sans-serif;
	font-weight: 400;
	font-size: 60px;
	line-height: 1;
	color: #212121;
}
.rv-summary__meta { display: flex; flex-direction: column; gap: 8px; }
.rv-summary__count { font-size: 15px; color: #8a8a8a; line-height: 1.35; }

.rv-stars { display: inline-flex; gap: 3px; white-space: nowrap; }
.rv-stars .icon-star { color: #f5b50a; font-size: 15px; filter: none; text-shadow: none; }
.rv-stars .icon-inactive { color: #d9d9d9; }
.rv-stars--lg .icon-star { font-size: 19px; }
/* R4: половинчасті зірки (overlay по точному рейтингу) */
.rv-stars-rate { position: relative; display: inline-block; line-height: 1; align-self: flex-start; width: -webkit-fit-content; width: fit-content; }
.rv-stars-rate .rv-stars-row { display: flex; gap: 3px; flex-wrap: nowrap; }
.rv-stars-rate .icon-star { font-size: 19px; flex: 0 0 auto; filter: none; text-shadow: none; }
.rv-stars-rate .rv-stars-bg .icon-star { color: #d9d9d9; }
.rv-stars-fill { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; justify-content: flex-start; }
.rv-stars-fill .icon-star { color: #f5b50a; }

.rv-bars { display: flex; flex-direction: column; gap: 0; }
.rv-bar { display: grid; grid-template-columns: 30px 1fr 26px; align-items: center; gap: 10px; }
.rv-bar__label { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: #555; }
.rv-bar__label .icon-star { color: #f5b50a; font-size: 12px; filter: none; text-shadow: none; }
.rv-bar__track { height: 8px; background: #ececec; border-radius: 5px; overflow: hidden; }
.rv-bar__fill { display: block; height: 100%; background: #212121; border-radius: 5px; transition: width .4s ease; }
.rv-bar__num { font-size: 13px; color: #8a8a8a; text-align: right; }

/* --- ПРАВЫЙ: список --- */
.rv-main { min-width: 0; }
.rv-main__top {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	background: #fff; border-radius: 18px; padding: 16px 22px;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05); margin-bottom: 18px;
}
.rv-sort { display: flex; align-items: center; gap: 10px; }
.rv-sort__label { font-size: 15px; color: #212121; }

/* нативный системний select (для кожної ОС свій) */
.rv-sort__native {
	font-family: 'Evolventa-Bold', sans-serif;
	font-size: 15px; color: #212121;
	padding: 6px 26px 6px 4px; border: 0; background: transparent; cursor: pointer;
	-webkit-appearance: menulist; -moz-appearance: menulist; appearance: auto;
}

.rv-write-btn { flex: 0 0 auto; }

/* порожній стан (товар без відгуків) - як евро */
.rv-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff; border-radius: 18px; box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05); padding: 48px 32px; min-height: 268px; }
.rv-empty__title { font-family: 'Evolventa-Bold', sans-serif; font-size: 24px; color: #212121; margin: 0 0 10px; }
.rv-empty__text { font-size: 15px; color: #888; line-height: 1.5; margin: 0 0 22px; max-width: 380px; }

/* карточка отзыва */
.rv-list { display: flex; flex-direction: column; gap: 16px; }
.rv-card {
	background: #fff; border-radius: 18px; padding: 24px 26px;
	box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
}
.rv-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.rv-card__author { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rv-card__name { font-family: 'Evolventa-Bold', sans-serif; font-size: 17px; color: #212121; }
.rv-card__date { font-size: 13px; color: #a0a0a0; white-space: nowrap; flex: 0 0 auto; }
.rv-card__text { font-size: 15px; line-height: 1.6; color: #444; }
.rv-card__images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rv-card__image { position: relative; width: 88px; height: 88px; border-radius: 11px; background-size: cover; background-position: center; cursor: zoom-in !important; overflow: hidden; }
.rv-card__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.32); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.rv-card__image:hover .rv-card__zoom { opacity: 1; }

/* завантажити ще (евро-стиль, ліворуч, спіннер + плавність) */
.rv-more-wrap { display: flex; justify-content: flex-start; margin-top: 22px; }
.rv-more-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
	border: 1px solid #cfcfcf; background: transparent; border-radius: 12px;
	min-height: calc(4.5rem + 2px); padding: 0 2.8rem;
	font-family: 'Evolventa-Bold', sans-serif; font-size: 15px; color: #212121;
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.rv-more-btn:hover { background: #212121; color: #fff; border-color: #212121; }
.rv-more-icon { display: inline-flex; align-items: center; }
.rv-more-btn.is-loading { pointer-events: none; }
.rv-more-btn.is-loading .rv-more-icon { animation: rv-spin .7s linear infinite; }
@keyframes rv-spin { to { transform: rotate(360deg); } }
.rv-card.rv-fade-in { animation: rv-fade .45s ease both; }
@keyframes rv-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* рейтинг в шапке карточки (напротив наличия) */
.total-rating.rv-head-rating { display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.rv-head-rating .rating { display: inline-flex; align-items: center; gap: 2px; line-height: 1; }
.rv-head-rating .icon-star { color: #f5b50a; font-size: 14px; line-height: 1; vertical-align: middle; filter: none; text-shadow: none; }
.rv-head-rating .icon-inactive { color: #d9d9d9; }
.rv-head-rating .rv-head-count { color: #777; font-size: 14px; line-height: 1; text-decoration: underline; cursor: pointer; white-space: nowrap; margin-left: 6px !important; position: relative; top: 0 !important; }
.rv-head-rating .rv-head-count:hover { color: #212121; }

/* half-star overlay в шапке карточки (точная заливка вместо округления) */
.rv-head-rating .rv-stars-rate { align-self: center; }
.rv-head-rating .rv-stars-row { gap: 2px; }
.rv-head-rating .rv-stars-rate .icon-star { font-size: 14px; }
.rv-head-rating .rv-stars-bg .icon-star { color: #d9d9d9; }
.rv-head-rating .rv-stars-fill .icon-star { color: #f5b50a; }

/* рейтинг в плитке каталога (под заголовком, над описанием; показывается всегда, для 0 отзывов серые + (0)) */
.product-card_content .card-rating { display: flex; align-items: center; gap: 5px; margin: 7px 0; line-height: 1; }
.product_card_layout .product-card .product-card_content .product-card__title { margin-bottom: 0; }
.product-card_content .card-rating__stars .icon-star { font-size: 12px; }
.product-card_content .card-rating__stars .rv-stars-row { gap: 2px; }
.product-card_content .card-rating .rv-stars-bg .icon-star { color: #d9d9d9; }
.product-card_content .card-rating .rv-stars-fill .icon-star { color: #f5b50a; }
.product-card_content .card-rating__count { font-size: 12px; color: #777; }

/* мобайл <=480: уравновесить панель размеров (обнулить нижний margin + увеличить шрифт <li> до 10px). Перебивает global.css спецификой .product-card */
@media (max-width: 480px) {
	.product_card_layout .product-card .product-card_content .size-panel { margin-bottom: 0; }
	.product_card_layout .product-card .product-card_content .size-panel li { font-size: 10px; }
	.product-card_content .card-rating { margin-top: 4px; }
}

/* планшет/мобайл */
@media (max-width: 991px) {
	.rv-grid { grid-template-columns: 1fr; gap: 16px; }
	.rv-summary { position: static; }
	.rv-more-wrap { justify-content: center; }
}
@media (max-width: 767px) {
	.rv-section { padding: 32px 0 4px; }
	.rv-section__title.h2 { font-size: 23px; margin-bottom: 20px; }
	.rv-summary { padding: 22px 20px; }
	.rv-summary__avg { font-size: 48px; }
	.rv-main__top { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
	.rv-write-btn { width: 100%; }
	.rv-card { padding: 20px; }
	/* шапка картки як евро: наявність зліва + рейтинг справа над заголовком */
	.product-wrapper .product-info-holder .availability.desktop-label { display: inline-block !important; }
	.product-wrapper .price-panel .availability.mobile-label { display: none !important; }
	.product-wrapper .product-info-top { justify-content: space-between; align-items: center; }
	/* відступи зверху/знизу - перекриваємо global.css (.product-info-top margin-bottom:0) через id-специфічність #content_page (1,1,0 > 0,2,0) */
	#content_page.product-wrapper .product-info-top { margin-top: 15px; margin-bottom: 10px; }
	/* немає переключателя фотосесій (товар без фотосетів) → прибрати верхній відступ, щоб не було великої відстані від картинок */
	#content_page.product-wrapper:not(:has(.photoset-toggle-mobile)) .product-info-top { margin-top: 0; }
	/* перемикач фотосесій: розтягнути на всю ширину + поджати висоту */
	.photoset-toggle { width: 100%; }
	.photoset-btn { padding: 7px 18px; font-size: 14px; }
}
/* страховка: схлопнуть осиротевшую пустую вкладку відгуків в аккордеоне */
.product-accordion .panel-title:empty { display: none; }

/* R6/R7: модалка форми відгуку (поджата + шапка евро + компактний блок фото) */
#leave_review_modal .modal-content { max-height: 94vh; overflow-y: auto; overflow-x: hidden; }
#leave_review_modal .modal-header { padding-bottom: 0; padding-top: 48px; }
#leave_review_modal .modal-title { font-size: 26px; }
#leave_review_modal .modal-body { padding-top: 2px; padding-bottom: 18px; }
#leave_review_modal .custom-input { padding-top: 9px; padding-bottom: 9px; }
#leave_review_modal .interactive-rating { margin-top: 5px; margin-bottom: 10px; }
#leave_review_modal .rating-area { max-width: 300px; margin: 0 auto; }
/* зірки рейтингу: зменшити відстань між ними (~вдвічі) - звужуємо label-обгортку зірки.
   ≥1200 гліф 36px (global) → width 58; ≤1199 гліф 20px (global) → вужче, інакше великі проміжки */
#leave_review_modal .interactive-rating .rating-area:not(:checked) > label { width: 58px; }
@media (max-width: 1199px) {
	#leave_review_modal .interactive-rating .rating-area:not(:checked) > label { width: 44px; }
}
#leave_review_modal .rating-bottom { display: none; }
#leave_review_modal .form-group { margin-bottom: 6px; }
#leave_review_modal .form-group .custom-label { margin-bottom: 2px; }
#leave_review_modal textarea.custom-input { min-height: 56px; }
#leave_review_modal .uploader { margin-bottom: 8px; }
#leave_review_modal .buttons.review-buttons { margin-top: 24px; }
#leave_review_modal .rv-form-subtitle { text-align: center; color: #9a9a9a; font-size: 14px; margin-top: 4px; }
/* R7v2: блок завантаження фото (заголовок + прев'ю + dashed drop-зона + формати) */
#leave_review_modal .uploader { padding: 0 !important; border: 0 !important; background: transparent !important; border-radius: 0 !important; margin-bottom: 0 !important; }
#leave_review_modal .rv-photo-title { font-family: 'Evolventa-Bold', sans-serif; font-size: 17px; color: #212121; margin-bottom: 10px; }
#leave_review_modal .image-uploader { display: flex; flex-direction: column; gap: 12px; }
/* прев'ю картинок в ряд (зверху) */
#leave_review_modal .uploaded { order: 0; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 0; }
#leave_review_modal .uploaded:empty { display: none; }
#leave_review_modal .uploaded .uploaded-image { position: relative; flex: 0 0 auto; width: 50px !important; height: 50px !important; padding: 0 !important; border: 0 !important; border-radius: 10px; overflow: hidden; }
#leave_review_modal .uploaded .uploaded-image img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; border-radius: 10px; display: block; }
/* крестик: оверлей по центру на hover, × з двох ліній */
#leave_review_modal .uploaded .uploaded-image .delete-image { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 10px; background: rgba(0, 0, 0, 0.45) !important; opacity: 0; transition: opacity .2s ease; cursor: pointer; }
#leave_review_modal .uploaded .uploaded-image:hover .delete-image { opacity: 1; }
#leave_review_modal .uploaded .uploaded-image .delete-image i { display: none !important; }
#leave_review_modal .uploaded .uploaded-image .delete-image::before,
#leave_review_modal .uploaded .uploaded-image .delete-image::after { content: ''; position: absolute; top: 50%; left: 50%; width: 22px; height: 2px; background: #fff; border-radius: 1px; }
#leave_review_modal .uploaded .uploaded-image .delete-image::before { transform: translate(-50%, -50%) rotate(45deg); }
#leave_review_modal .uploaded .uploaded-image .delete-image::after { transform: translate(-50%, -50%) rotate(-45deg); }
/* dashed drop-зона */
#leave_review_modal .upload-text { order: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; border: 1.5px dashed #c4cad6; border-radius: 12px; color: #8a93a6; font-size: 16px; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
#leave_review_modal .upload-text:hover { border-color: #8a93a6; color: #5a6275; }
#leave_review_modal .upload-text:hover span { color: #5a6275; }
#leave_review_modal .upload-text span { border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; color: inherit; font: inherit; }
#leave_review_modal .upload-text i.iui-cloud-upload { display: none; }
#leave_review_modal .rv-photo-formats { font-size: 13px; color: #aeb4c2; margin-top: 10px; }
#leave_review_modal .rv-upload-error { color: #e6326e; font-size: 13px; margin-top: 8px; }
#leave_review_modal .rv-upload-error:empty { display: none; }
/* текст помилок форми (валідація/завантаження) - дрібний червоний, малі відступи */
#leave_review_modal .help-text { font-size: 13px !important; line-height: 1.35; color: #e6326e !important; margin: 5px 0 0 !important; display: block; }
#leave_review_modal .form-group .help-text { padding-left: 2px; }
/* ===================== /NAZVA Reviews ===================== */

/* ===================== NAZVA Instagram Reviews (UGC-карусель на картці) ===================== */
/* ВІДСТУП ЗВЕРХУ СЕКЦІЇ - регулювати тут (між блоком "Також купують" і інста-відгуками).
   Заголовок = рідний .h2 (global.css), стрілки = рідні .swiper-button (related), без саморобок. */
.ig-section { padding-top: 56px; padding-bottom: 40px; }
.ig-section__head { margin-bottom: 20px; }
/* мало слайдів - Swiper блокує навігацію (watchOverflow): ховаємо стрілки */
.ig-section .swiper-button-lock { display: none !important; }

.ig-carousel { overflow: hidden; }
.ig-slide { height: auto; }
.ig-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 4px 0 rgba(33, 33, 33, .1); margin: 10px 0; }
/* стабілізація composite-шару слайдів (Swiper не композитить дальні слайди → box-shadow панелі перемальовувалась і "моргала") */
.ig-slide { transform: translateZ(0); }
/* fix: нативний drag посилань/медіа ламає скрол каруселі - вимикаємо */
.ig-card a, .ig-card__poster, .ig-card__video { -webkit-user-drag: none; user-select: none; }

.ig-card__media { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: transparent; text-decoration: none; flex: 0 0 auto; }
.ig-card__poster, .ig-card__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-card__poster { background-size: cover; background-position: center; }
.ig-card__video { object-fit: cover; border: 0; }

/* біла панель знизу: верх ПРЯМИЙ (без скруглень), низ обрізається радіусом картки; тінь зверху завжди */
.ig-card__panel { position: relative; z-index: 1; background: #fff; padding: 12px 16px; }
.ig-card__head { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.ig-card__avatar { width: 34px; height: 34px; border-radius: 50%; background-size: cover; background-position: center; background-color: #ececec; flex-shrink: 0; }
.ig-card__user { font-size: 15px; color: #212121; font-weight: 500; text-decoration: none; }
a.ig-card__user:hover { text-decoration: underline; }

@media (max-width: 767px) {
	.ig-section { padding-top: 36px; padding-bottom: 32px; }
	.ig-section__head { margin-bottom: 18px; }
	.ig-card { border-radius: 14px; }
	.ig-card__panel { padding: 12px 14px; }
}
/* ===================== /NAZVA Instagram Reviews ===================== */

/* ===================== NAZVA Кнопки дій в Історії замовлень ===================== */
/* десктоп: блок зліва над деталями (grid); мобайл: внизу замовлення (flex order) */
#content .personal-order-list-item-holder { display: grid; grid-template-columns: 28% 72%; grid-template-rows: auto 1fr; align-items: start; }
#content .personal-order-list-item-holder .personal-order-actions { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; padding: 25px 15px 18px 33px; border-right: 1px solid #d8dae1; }
#content .personal-order-list-item-holder .personal-data-list { grid-column: 1; grid-row: 2; width: auto; align-self: stretch; }
#content .personal-order-list-item-holder .personal-order-product-wrapper { grid-column: 2; grid-row: 1 / span 2; width: auto; }

.po-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 13px 14px; border-radius: 10px; border: 0; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; font-family: inherit; text-decoration: none; transition: opacity .15s; }
.po-btn:hover { opacity: .88; text-decoration: none; }
.po-btn--repeat { background: #2b2b2b; color: #fff; }
.po-btn--review { background: #e7eefb; color: #2f6fb0; }
.po-btn--return { background: #fce9e9; color: #cf4040; }
.personal-order-actions .po-btn--return:hover { color: #cf4040; }

@media (max-width: 767px) {
	#content .personal-order-list-item-holder { display: flex; flex-direction: column; }
	#content .personal-order-list-item-holder .personal-data-list { order: 1; width: 100%; box-sizing: border-box; }
	#content .personal-order-list-item-holder .personal-order-product-wrapper { order: 2; width: 100%; box-sizing: border-box; }
	#content .personal-order-list-item-holder .personal-order-product-wrapper .personal-order-list-item-bottom { padding-bottom: 12px; }
	#content .personal-order-list-item-holder .personal-order-actions { order: 3; width: 100%; box-sizing: border-box; padding: 0 25px 25px; border-right: 0; }
}
/* ===================== /NAZVA Кнопки дій ===================== */

/* каретка дропдаунів (bootstrap-select) у Налаштуваннях доставки ЛК: відсунути від краю + крупніше */
.personal_area .selector-holder .bootstrap-select > .dropdown-toggle:before { font-size: 27px; right: 20px; }
/* нативний select (selectpicker не ініціалізований у ЛК) - власна стрілка: відсунута від краю + крупніша */
.personal_area .personal-settings .selector-holder select.select-default {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%23212121' stroke-width='1.4' d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 20px center;
	background-size: 14px 9px;
	padding-right: 46px;
}
