/* v3 */
/* BESHOPPING, блок рекомендаций в карточке товара (rel575, 17.10.2026, макет Юли фото 2 msg 369):
   розовая скруглённая панель «ДОПОЛНИ ОБРАЗ / 99% девушек вместе с этим взяли» с сердечком и стрелками,
   горизонтальная карусель компактных карточек (фото с сердечком, название, цена, цвета, розовая «В корзину»),
   внизу полоса из трёх иконок. Стилизует родной контейнер Tilda .t-store__relevants__container (класс cr-rel ставит cr-related.js).
   Префикс #allrecords нужен, чтобы перебить правила каталога html.cr-cat (cr-catalog.css) и inline-стили Tilda #recNNN. */
#allrecords .cr-rel{background:#fbe9ee!important;border-radius:20px;padding:20px 0 16px!important;margin:26px 0 0!important;position:relative;overflow:hidden}
#allrecords .cr-rel .t-store__relevants__title-wrapper,#allrecords .cr-rel .t-store__scroll-icon-wrapper{display:none!important}
#allrecords .cr-rel .t-store__relevants-grid-cont,#allrecords .cr-rel .t-store__grid-cont,#allrecords .cr-rel .t-container,#allrecords .cr-rel .t-store__card-list{padding:0;margin:0!important;max-width:none!important;width:auto!important}
/* шапка */
#allrecords .cr-rel__head{position:relative;padding:0 16px 4px}
#allrecords .cr-rel__kicker{display:block;font:500 11px/1 var(--t-text-font,'Inter',Arial,sans-serif);letter-spacing:.22em;text-transform:uppercase;color:#c08a9a;margin:4px 0 10px}
#allrecords .cr-rel__title{margin:0;padding-right:0;font:italic 400 30px/1.1 Georgia,'Times New Roman',serif;color:#1c1c1c;letter-spacing:-.01em}
#allrecords .cr-rel__title img{display:inline-block;width:34px;height:34px;vertical-align:-6px;margin-left:10px;object-fit:contain}
#allrecords .cr-rel__nav{position:absolute;right:16px;top:-6px;display:flex;gap:8px}
#allrecords .cr-rel__nav button{width:38px;height:38px;border-radius:50%;border:0;background:#fff;box-shadow:0 2px 10px rgba(120,60,80,.12);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;margin:0}
#allrecords .cr-rel__nav button svg{width:15px;height:15px;stroke:#1c1c1c;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#allrecords .cr-rel__nav button:disabled{opacity:.35;cursor:default}
/* карусель */
#allrecords .cr-rel .t-store__card-list{display:flex!important;flex-wrap:nowrap!important;gap:10px!important;column-gap:10px!important;row-gap:0!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:14px 16px 6px!important;margin:0!important;width:auto!important;justify-content:flex-start!important}
#allrecords .cr-rel .t-store__card-list::-webkit-scrollbar{display:none}
#allrecords .cr-rel .t-store__card{flex:0 0 44%!important;width:44%!important;max-width:none!important;min-width:0;margin:0!important;padding:8px!important;scroll-snap-align:start;background:#fff!important;border-radius:14px!important;box-shadow:0 4px 14px rgba(120,60,80,.08)!important;border:0!important;box-sizing:border-box;position:relative;float:none!important;display:block!important;opacity:1!important;transform:none!important}
#allrecords .cr-rel .t-store__card>a{display:block}
#allrecords .cr-rel .t-store__card__imgwrapper{border-radius:10px!important;overflow:hidden;padding-bottom:133%!important}
#allrecords .cr-rel .t1002__addBtn{top:14px!important;right:14px!important;width:30px!important;height:30px!important;left:auto!important}
#allrecords .cr-rel .t1002__addBtn svg{width:15px!important;height:14px!important}
#allrecords .cr-rel .cr-badge,#allrecords .cr-rel .cr-dots{display:none!important}
#allrecords .cr-rel .t-store__card__textwrapper{padding:10px 0 0!important}
#allrecords .cr-rel .t-store__card__title{font:500 13px/1.3 var(--t-text-font,'Inter',Arial,sans-serif)!important;color:#1c1c1c!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px}
#allrecords .cr-rel .t-store__card__sku,#allrecords .cr-rel .t-store__card__descr{display:none!important}
#allrecords .cr-rel .t-store__card__price-wrapper{margin:6px 0 0!important}
#allrecords .cr-rel .store__card__wrap_txt-and-opts{margin-bottom:0!important}
#allrecords .cr-rel .t-store__card__price-value{font:700 16px/1.1 var(--t-text-font,'Inter',Arial,sans-serif)!important;color:#1c1c1c!important}
#allrecords .cr-rel .t-store__card__price-currency{font-size:0!important}
#allrecords .cr-rel .t-store__card__price-currency::after{content:'₽';font:700 16px/1.1 var(--t-text-font,'Inter',Arial,sans-serif);color:#1c1c1c;margin-left:3px}
#allrecords .cr-rel .t-store__card__price_old{display:none!important}
/* опции: только кружки цвета 20px; размер выбирается уже в карточке товара */
#allrecords .cr-rel .t-store__card__prod-controls-wrapper{padding:0!important}
#allrecords .cr-rel .t-product__option{margin:7px 0 0!important}
#allrecords .cr-rel .t-product__option-title{display:none!important}
#allrecords .cr-rel .t-product__option[data-option-type="regular"],#allrecords .cr-rel .t-product__option:not(:has(.t-product__option-variants_color)),#allrecords .cr-rel .t-product__option-variants_regular{display:none!important}
#allrecords .cr-rel .t-product__option-variants_color{display:flex!important;flex-wrap:nowrap;gap:7px;overflow:hidden;padding:3px 0 3px 3px;margin:0!important}
#allrecords .cr-rel .t-product__option-item_color{margin:0!important}
#allrecords .cr-rel .t-product__option-checkmark_color{width:20px!important;height:20px!important;border-radius:50%!important;box-shadow:0 0 0 1px #e9dde1!important;border:0!important}
#allrecords .cr-rel .t-product__option-item_active .t-product__option-checkmark_color{box-shadow:0 0 0 2px #fff,0 0 0 3px #7a4a57!important}
/* кнопки: одна розовая «В корзину» с пакетом; «Подробнее» скрыта (фото и название открывают товар) */
#allrecords .cr-rel .t-store__card__btns-wrapper{display:flex!important;flex-direction:column;gap:0!important;padding:10px 0 0!important;margin:0!important}
#allrecords .cr-rel .t-store__card__btns-wrapper a.t-store__card__btn:not(.t-store__card__btn_second){display:none!important}
#allrecords .cr-rel .t-store__card__btns-wrapper a.t-store__card__btn_second{order:1;background:#ee91ae!important;color:#fff!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:10px!important;height:38px!important;width:100%!important;margin:0!important;padding:0 6px!important;font:600 13px/1 var(--t-text-font,'Inter',Arial,sans-serif)!important;display:flex!important;align-items:center;justify-content:center;white-space:nowrap}
#allrecords .cr-rel .t-store__card__btns-wrapper a.t-store__card__btn_second table,#allrecords .cr-rel .t-store__card__btns-wrapper a.t-store__card__btn_second td{height:auto!important;padding:0!important;color:#fff!important;font:inherit!important}
#allrecords .cr-rel .t-store__card__btn_second .t-store__card__btn-text::before{content:'';display:inline-block;width:14px;height:14px;margin-right:7px;vertical-align:-2px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 12.2a1.6 1.6 0 0 1-1.6 1.3H7.8a1.6 1.6 0 0 1-1.6-1.3z'/%3E%3Cpath d='M8.5 10V6.8a3.5 3.5 0 0 1 7 0V10'/%3E%3C/svg%3E") no-repeat center/contain}
/* полоса иконок */
#allrecords .cr-rel__foot{display:grid;grid-template-columns:1fr 1.22fr .95fr;margin:16px 16px 0;padding:14px 0 0;border-top:1px solid #f1d6de}
#allrecords .cr-rel__foot div{display:flex;align-items:center;gap:6px;padding:0 5px;font:400 10px/1.25 var(--t-text-font,'Inter',Arial,sans-serif);color:#3a2a30;min-width:0;hyphens:auto;-webkit-hyphens:auto}
#allrecords .cr-rel__foot br{display:none}
#allrecords .cr-rel__foot div:first-child{padding-left:0}
#allrecords .cr-rel__foot div+div{border-left:1px solid #f1d6de}
#allrecords .cr-rel__foot svg{width:24px;height:24px;flex:none;stroke:#d9527f;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* иконки преимуществ над блоком по макету розовые (cr-product.css рисует их золотистыми) */
#allrecords .t-store__prod-popup__info .cr-benefit svg{stroke:#d9527f}
@media(max-width:359px){#allrecords .cr-rel__title{font-size:26px}#allrecords .cr-rel__foot div{font-size:10px;gap:5px}}
@media(min-width:760px){#allrecords .cr-rel{padding:28px 0 22px!important;border-radius:24px}#allrecords .cr-rel__head{padding:0 24px 8px}#allrecords .cr-rel__kicker{font-size:12px;margin-bottom:12px}#allrecords .cr-rel__title{font-size:44px;padding-right:120px}#allrecords .cr-rel__foot br{display:inline}#allrecords .cr-rel__title img{width:48px;height:48px;vertical-align:-8px;margin-left:16px}#allrecords .cr-rel__nav{right:24px;top:4px}#allrecords .cr-rel__nav button{width:44px;height:44px}#allrecords .cr-rel .t-store__card-list{padding:16px 24px 8px!important;gap:16px!important;column-gap:16px!important}#allrecords .cr-rel .t-store__card{flex:0 0 calc(25% - 12px)!important;width:calc(25% - 12px)!important;padding:10px!important}#allrecords .cr-rel .t-store__card__title{font-size:14px!important}#allrecords .cr-rel .t-store__card__price-value,#allrecords .cr-rel .t-store__card__price-currency::after{font-size:18px!important}#allrecords .cr-rel .t-product__option-checkmark_color{width:24px!important;height:24px!important}#allrecords .cr-rel .t-store__card__btns-wrapper a.t-store__card__btn_second{height:44px!important;font-size:14px!important}#allrecords .cr-rel__foot{margin:22px 24px 0;padding-top:18px;grid-template-columns:1fr 1fr 1fr}#allrecords .cr-rel__foot div{font-size:14px;gap:12px;padding:0 14px;hyphens:manual}#allrecords .cr-rel__foot svg{width:36px;height:36px}}
