/* custom-fort storefront: grid layouts replacing owl.carousel modules */

/* theme sets .uni-module__wrapper opacity:0 until owl inits; we render statically */
.cf-grid, .cf-cat-grid, .cf-news-grid { opacity: 1 !important; }

.cf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cf-grid .product-thumb,
.cf-grid .uni-item {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}
@media (max-width: 1199px) { .cf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px)  { .cf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .cf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .cf-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* margin:0 cancels the .uni-module__wrapper -10 overflow; the 10px inline padding
   matches the product carousel's peek so cards line up with the product cards. */
.cf-cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0 10px; }
.cf-cat-grid .category-wall__item { align-items: flex-start; }
.cf-cat-grid .category-wall__image.type2 { align-self: center; }
.cf-cat-grid .category-wall__image.type2 img { max-height: 150px; width: auto; object-fit: contain; }
.cf-cat-grid .category-wall__more { color: var(--a-c, #fe7200); }
@media (max-width: 767px) { .cf-cat-grid { grid-template-columns: 1fr; } }
.cf-cat-grid .category-wall__item { width: auto !important; margin: 0 !important; float: none !important; }

/* News: 4 across at the product-card width; card is just a cover + title. */
.cf-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0 10px; }
@media (max-width: 991px) { .cf-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .cf-news-grid { grid-template-columns: 1fr; } }
.cf-news-grid .news-thumb { width: auto !important; margin: 0 !important; float: none !important; background: #fff; border-radius: var(--border-radius-1, 12px); overflow: hidden; box-shadow: 0 1px 2px rgba(20,25,30,.04), 0 10px 26px rgba(20,25,30,.05); }
.cf-news-grid .news-thumb__image { aspect-ratio: 16 / 10; }
.cf-news-grid .news-thumb__image img { width: 100%; height: 100%; object-fit: cover; }
.cf-news-grid .news-thumb__name { display: block; padding: 12px 14px 14px; font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--cf-ink, #1e2125); text-decoration: none; }
.cf-news-grid .news-thumb__name:hover { color: var(--a-c, #fe7200); }

/* Benefits: same grid width as the product block (drop the bootstrap row negative margin).
   Scoped under .home-page to beat home-banner.css, which loads after this file. */
.home-page .home-banner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 5px 0 15px; padding: 0; }
.home-page .home-banner > [class*="col-"] { width: auto; padding: 0; float: none; }
.home-page .home-banner .home-banner__item { margin: 0; height: 100%; background: #fff; border: 1px solid rgba(0, 0, 0, .06); position: relative; overflow: hidden; gap: 14px; }
.home-page .home-banner__item:after { top: 0; bottom: 0; left: 0; right: 0; border-radius: var(--border-radius-1, 12px); }
@media (max-width: 991px) { .home-page .home-banner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .home-page .home-banner { grid-template-columns: 1fr; } }

/* Section headings + welcome box align to the product-cards line (10px carousel peek). */
.home-page .heading { padding-left: 10px; padding-right: 10px; margin-top: 30px; }
.home-page .uni-wrapper { margin-left: 0; margin-right: 0; border-radius: var(--border-radius-1, 12px); }

/* Footer content to the same product-cards line (its bootstrap row overflows 10px). */
@media (min-width: 992px) { .footer .container { padding-left: 35px; padding-right: 35px; } }

/* Floating buttons: sit at the content's right edge on desktop instead of poking past it. */
@media (min-width: 992px) { .fly-block { right: 22px; align-items: flex-end; } }
.fly-block__scrollup { margin-left: auto; }

.cf-newsbanner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
@media (max-width: 767px) { .cf-newsbanner-grid { grid-template-columns: repeat(2, 1fr); } }
.cf-newsbanner {
  position: relative;
  display: block;
  border-radius: var(--border-radius-1, 12px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.cf-newsbanner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-newsbanner span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
}

.cf-hero { display: grid; grid-template-columns: 3fr 1fr; gap: 20px; margin-bottom: 30px; align-items: stretch; }
/* The slideshow's own bottom margin would inflate the grid row and push the right
   banners past the slider; drop it here (the .cf-hero margin handles spacing below). */
.cf-hero > .uni-slideshow_v2 { margin-bottom: 0; }
@media (max-width: 991px) { .cf-hero { grid-template-columns: 1fr; } }

/* Right column: two banners stacked, together matching the slideshow height. */
.cf-herobanners { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.cf-herobanner {
  flex: 1 1 0; min-height: 0;
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  border-radius: var(--border-radius-1, 12px); overflow: hidden;
  background: #f0f0f0;
}
.cf-herobanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-herobanner span {
  position: relative; padding: 14px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
@media (max-width: 991px) {
  .cf-herobanners { height: auto; }
  .cf-herobanner { flex: none; min-height: 160px; }
}

/* category page: filter sidebar + pagination */
.cf-filter { background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: var(--border-radius-1, 12px); padding: 4px 20px 12px; margin: 0 0 24px; box-shadow: 0 1px 2px rgba(20,25,30,.04), 0 10px 26px rgba(20,25,30,.05); }
.cf-filter__heading { display: flex; align-items: center; gap: 9px; font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--cf-ink, #1e2125); margin: 16px 0 4px; }
.cf-filter__heading-icon { font-size: 14px; color: var(--cf-acc, #e0662f); }
.cf-filter__group { border-top: 1px solid var(--cf-line, #e1e4e7); }
.cf-filter__group-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 13px 2px; background: none; border: 0; font: inherit; font-weight: 600; font-size: 14.5px; color: var(--cf-ink, #1e2125); text-align: left; cursor: pointer; transition: color .15s ease; }
.cf-filter__group-name:hover { color: var(--cf-acc, #e0662f); }
.cf-filter__chev { font-size: 11px; color: #aab0b6; transition: transform .18s ease, color .15s ease; }
.cf-filter__group-name:hover .cf-filter__chev { color: var(--cf-acc, #e0662f); }
.cf-filter__group.is-open .cf-filter__chev { transform: rotate(180deg); }
.cf-filter__items { padding: 2px 2px 14px; }
.cf-filter__row { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 13.5px; color: var(--cf-soft, #6b7178); cursor: pointer; transition: color .12s ease; }
.cf-filter__row:hover { color: var(--cf-ink, #1e2125); }
.cf-filter__row input { width: 15px; height: 15px; accent-color: var(--cf-acc, #e0662f); cursor: pointer; }
.cf-filter__note { margin: 12px 2px 4px; font-size: 11px; color: #b3b9bf; }
@media (max-width: 767px) { .cf-filter { display: none; } }

/* subcategory nav in the left column, above the filter */
.cf-subnav { background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: var(--border-radius-1, 12px); padding: 2px 18px 10px; margin: 0 0 20px; box-shadow: 0 1px 2px rgba(20,25,30,.04), 0 10px 26px rgba(20,25,30,.05); }
.cf-subnav__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--cf-ink, #1e2125); padding: 14px 0 8px; }
.cf-subnav__heading::-webkit-details-marker { display: none; }
.cf-subnav__heading::marker { content: ""; }
.cf-subnav__chev { font-size: 12px; color: #9aa1a8; transition: transform .18s ease; }
.cf-subnav[open] .cf-subnav__chev { transform: rotate(180deg); }
.cf-subnav__list { list-style: none; margin: 0; padding: 0; }
.cf-subnav__list li { border-top: 1px solid var(--cf-line, #e1e4e7); }
.cf-subnav__list li:first-child { border-top: 0; }
.cf-subnav__link { display: block; padding: 10px 2px; font-size: 14px; font-weight: 500; color: var(--cf-ink, #1e2125); transition: color .15s ease; }
.cf-subnav__link:hover { color: var(--cf-acc, #e0662f); }

/* Brand page left sidebar — segment categories with product counts */
.cf-mfr-side { background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: var(--border-radius-1, 12px); padding: 6px 16px 10px; margin: 0 0 20px; box-shadow: 0 1px 2px rgba(20,25,30,.04), 0 10px 26px rgba(20,25,30,.05); }
.cf-mfr-side__head { font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em; color: var(--cf-ink, #1e2125); padding: 12px 0 8px; }
.cf-mfr-side__list { list-style: none; margin: 0; padding: 0; }
.cf-mfr-side__list li { border-top: 1px solid var(--cf-line, #e1e4e7); }
.cf-mfr-side__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px; font-size: 14px; font-weight: 500; color: var(--cf-ink, #1e2125); transition: color .15s ease; }
.cf-mfr-side__link:hover { color: var(--cf-acc, #1257A8); }
.cf-mfr-side__count { flex: 0 0 auto; min-width: 24px; text-align: center; padding: 1px 8px; border-radius: 999px; background: var(--cf-ground, #eceef0); color: var(--cf-soft, #6b7178); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cf-mfr-side__link:hover .cf-mfr-side__count { background: rgba(18,87,168,.1); color: var(--cf-acc, #1257A8); }
.cf-brandfilter-note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--cf-line, #e1e4e7); border-radius: 10px; background: var(--cf-surface, #fff); color: var(--cf-soft, #6b7178); font-size: 13px; }
.cf-brandfilter-note a { color: var(--cf-acc, #1257A8); font-weight: 600; white-space: nowrap; }
.cf-pagination-wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cf-pagination-wrap .pagination { margin: 0; }
.cf-pagination-wrap .pagination-text { color: #888; font-size: 13px; }

/* "Показать ещё" — SEO-safe load-more (a real <a href="?page=N"> progressively enhanced) */
.cf-loadmore { display: flex; justify-content: center; margin: 26px 0 6px; }
.cf-loadmore__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; height: 46px; padding: 0 28px; border-radius: 10px; font-weight: 600; font-size: 15px; }
.cf-loadmore__btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.cf-loadmore__count { text-align: center; color: var(--cf-soft, #6b7178); font-size: 13px; margin: 6px 0 2px; }

/* ensure product-thumb visible inside category grid */
.products-block .product-thumb { opacity: 1 !important; }

/* cart quantity stepper (Ozon-style): replaces the add button once the item is in the cart */
.cf-cart-stepper { display: inline-flex; align-items: center; height: 34px; border: 1px solid var(--cf-acc, #e0662f); border-radius: 12px; background: #fff; color: var(--cf-acc, #e0662f); overflow: hidden; user-select: none; box-sizing: border-box; }
.cf-cart-stepper__btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 100%; background: none; border: 0; color: var(--cf-acc, #e0662f); font-size: 13px; cursor: pointer; transition: background .12s ease; }
.cf-cart-stepper__btn:hover:not(:disabled) { background: #fbede6; }
.cf-cart-stepper__btn:disabled { opacity: .5; cursor: default; }
.cf-cart-stepper__qty { display: flex; align-items: center; justify-content: center; align-self: stretch; min-width: 34px; padding: 0 6px; background: #fff; color: var(--cf-ink, #1e2125); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.cf-cart-stepper--lg { height: 48px; border-radius: 10px; }
.cf-cart-stepper--lg .cf-cart-stepper__btn { width: 54px; font-size: 15px; }
.cf-cart-stepper--lg .cf-cart-stepper__qty { min-width: 46px; font-size: 17px; }
.product-page__in-cart { display: inline-flex; align-items: center; gap: 7px; margin-left: 14px; font-weight: 600; color: var(--cf-acc, #e0662f); }

/* ---------- product page ---------- */
.cf-product-model { color: #888; font-size: 13px; margin: 0 0 16px; }
.cf-product-model::before { content: attr(data-text) " "; }

.cf-product-top { display: grid; grid-template-columns: minmax(280px, 1.1fr) 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 1199px) { .cf-product-top { grid-template-columns: 1fr 1fr; } .cf-product-right { grid-column: 1 / -1; } }
@media (max-width: 767px)  { .cf-product-top { grid-template-columns: 1fr; } }

.cf-gallery { display: flex; gap: 12px; }
.cf-gallery__thumbs { display: flex; flex-direction: column; gap: 8px; }
.cf-gallery__thumb { width: 60px; height: 60px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; padding: 4px; cursor: pointer; background: #fff; }
.cf-gallery__thumb.selected { border-color: var(--a-c, #fe7200); }
.cf-gallery__main { flex: 1; display: flex; align-items: center; justify-content: center; }
/* pointer-events:none keeps the browser's image tools (Yandex/Lens hover panel) off the photo;
   the click is captured by the .cf-gallery__overlay button on top instead. */
.cf-gallery__main img { max-width: 100%; max-height: 420px; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-drag: none; }
/* Theme shifts the main image 80px right on wide screens for its rotated thumbnail strip; our
   flex thumbnail column doesn't use that, so cancel the shift (kills the big thumbs↔photo gap). */
.cf-gallery.product-page__image.has-additional:not(.fixed) .cf-gallery__main { margin-left: 0; }

.cf-product-mid .product-data { margin: 0 0 12px; }
.cf-full-specs { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 0; padding: 0; background: none; color: var(--cf-ink, #1e2125); font-size: 14px; font-weight: 600; cursor: pointer; }
.cf-full-specs:hover { text-decoration: underline; }
.cf-full-specs .fa-arrow-down { font-size: 12px; }
.cf-cheaper { margin-top: 10px; background: #58ae43; color: #fff; border: none; border-radius: 10px; padding: 9px 18px; font-weight: 600; cursor: pointer; }

.cf-product-right { background: #f7f7f7; border-radius: var(--border-radius-1, 12px); padding: 20px; }
.cf-purchase__stock { font-weight: 600; margin: 0 0 8px; }
.cf-purchase__stock.in { color: #58ae43; }
.cf-purchase__stock.out { color: #999; }
.cf-purchase .product-page__price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 30px; font-weight: 700; margin: 0 0 6px; }
.cf-purchase .product-page__price .price-new { margin-right: 0; }
.cf-disc-solid { align-self: center; font-size: 12px; font-weight: 800; color: var(--cf-cta, #E8730C); background: transparent; border: 1.5px solid var(--cf-cta, #E8730C); padding: 2px 8px; border-radius: 7px; }
.cf-disc-txt { color: #e23b3b; font-weight: 800; }
.cf-price-oldrow { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cf-price-save { margin: 8px 0 18px; font-size: 13px; font-weight: 700; color: #2e9e5b; }
.cf-price-disc { align-self: center; font-size: 13px; font-weight: 800; color: #e23b3b; background: rgba(226,59,59,.12); padding: 4px 8px; border-radius: 8px; }
.cf-price-sub { margin: 0 0 16px; font-size: 13px; color: var(--cf-soft, #6b7178); }
.cf-price-sub .price-old { font-size: 13px; }
.cf-save-txt { color: #2e9e5b; font-weight: 700; }
/* Buy-box composition: even rhythm; a hairline splits the price info from the delivery + actions. */
.cf-purchase .cf-price-sub { margin-bottom: 18px; }
.cf-purchase .cf-purchase__delivery { margin: 0; padding-top: 18px; border-top: 1px solid var(--cf-line, #e1e4e7); }
.cf-purchase .cf-cart-status { min-height: 0; margin: 18px 0 0; }
.cf-buy-badges { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.cf-badge-promo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--cf-soft, #6b7178); background: var(--cf-ground, #eceef0); padding: 3px 9px; border-radius: 8px; }
.cf-badge-promo i { color: var(--cf-cta, #E8730C); font-size: 11px; }
.cf-purchase .price-old { font-size: 16px; color: var(--price-old-c, #888); text-decoration: line-through; }
/* Scheme «Оранжевый моно»: price is ink; orange is reserved for the CTA + discount pill. */
.cf-purchase .product-page__price,
.cf-purchase .product-page__price .price-new { color: var(--cf-ink, #1e2125); }

.cf-option { margin: 0 0 14px; }
.cf-option__name { font-weight: 600; margin: 0 0 6px; }
.cf-option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-option__item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #ddd; border-radius: 10px; cursor: pointer; background: #fff; margin: 0; font-weight: 400; }
.cf-option__item.checked { border-color: var(--a-c, #1257A8); background: #e8f1fa; }
.cf-option__item input { display: none; }

.product-page__cart { display: flex; gap: 10px; align-items: stretch; margin: 4px 0 14px; }
.cf-purchase .qty-switch { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; background: #fff; }
.cf-purchase .qty-switch__btn { border: none; background: transparent; width: 34px; cursor: pointer; color: #666; }
.cf-purchase .qty-switch__input { width: 44px; text-align: center; border: none; box-shadow: none; padding: 0; }
.cf-purchase .product-page__add-to-cart { flex: 1; background: var(--cf-cta); color: var(--cf-cta-c); border: none; border-radius: 10px; font-weight: 600; padding: 10px 16px; cursor: pointer; }
.cf-purchase .product-page__add-to-cart:hover, .cf-purchase .product-page__add-to-cart:focus, .cf-purchase .product-page__add-to-cart:active { background: var(--cf-cta-hi); color: var(--cf-cta-c); }
.cf-purchase .product-page__add-to-cart:disabled { background: #e5e5e5; color: #999; cursor: not-allowed; }
/* CTA "В корзину" on catalog cards (not the in-cart state, which keeps its own color). */
.product-thumb .add_to_cart:not(.in_cart) { background: var(--cf-cta); color: var(--cf-cta-c); }
.product-thumb .add_to_cart:not(.in_cart):hover,
.product-thumb .add_to_cart:not(.in_cart):focus,
.product-thumb .add_to_cart:not(.in_cart):active { background: var(--cf-cta-hi); color: var(--cf-cta-c); }
.product-page__wishlist-compare { display: flex; gap: 8px; }
.product-page__wishlist-compare .btn { background: #f0f0f0; border: none; border-radius: 10px; padding: 8px 10px; color: #555; cursor: pointer; font-size: 13px; }
.product-page__wishlist-compare .btn span { margin-left: 6px; }

.cf-benefits { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 24px 0; }
.cf-benefit { flex: 0 1 244px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: #f7f7f7; border-radius: var(--border-radius-1, 12px); font-weight: 600; font-size: 14px; }
.cf-benefit i { color: var(--a-c, #fe7200); font-size: 22px; }

.cf-review { padding: 14px 0; border-bottom: 1px solid #eee; }
.cf-review__head { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; }
.cf-review__stars { color: #f5a623; }
.cf-review__date { color: #999; font-size: 13px; }

.cf-review-form { margin-top: 24px; }
.cf-review-form form > div { margin: 0 0 14px; }
.cf-review-form__stars { color: #f5a623; font-size: 20px; }
.cf-review-form__star { border: none; background: transparent; padding: 2px; cursor: pointer; color: inherit; font-size: inherit; }

/* ---------- buttons ---------- */
.cf-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--btn-primary-bg, #fe7200); color: #fff; border: none; border-radius: 10px; padding: 12px 24px; font-weight: 600; cursor: pointer; text-decoration: none; }
.cf-btn-primary:hover { background: var(--btn-primary-bg-hover, #c67c0c); color: #fff; }
/* keep the label white in focus/active/visited — the ported `a:focus{color:var(--a-c-hover)}` otherwise wins on links */
.cf-btn-primary:focus, .cf-btn-primary:active, .cf-btn-primary:visited { color: #fff; }
.cf-btn-default { background: #f0f0f0; color: #555; border: none; border-radius: 10px; padding: 10px 18px; font-weight: 500; cursor: pointer; }

/* ---------- cart ---------- */
.cf-cart-empty { text-align: center; padding: 60px 20px; color: #888; }
.cf-cart-empty i { font-size: 64px; color: #cfcfcf; display: block; margin: 0 0 16px; }
.cf-cart-empty div { font-size: 18px; margin: 0 0 20px; }

.cf-cart { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 991px) { .cf-cart { grid-template-columns: 1fr; } }
.cf-cart-line { display: grid; grid-template-columns: 90px 1fr 130px 110px 40px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #eee; }
@media (max-width: 575px) { .cf-cart-line { grid-template-columns: 70px 1fr 40px; } .cf-cart-line__qty, .cf-cart-line__total { grid-column: 2; } }
.cf-cart-line__img img { width: 90px; height: 90px; object-fit: contain; }
.cf-cart-line__name { font-weight: 500; color: var(--prod-thumb-name, #333); }
.cf-cart-line__opt { font-size: 13px; color: #888; }
.cf-cart-line__price { color: #888; font-size: 13px; margin-top: 4px; }
.cf-cart-line__total { font-weight: 700; text-align: right; }
.cf-cart-line__remove { background: none; border: none; color: #bbb; cursor: pointer; font-size: 16px; }
.cf-cart-line__remove:hover { color: var(--price-new-c, #ff0000); }
.cf-cart-line .qty-switch, .cf-cart-line__qty .qty-switch { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; }
.cf-cart-line .qty-switch__btn { border: none; background: transparent; width: 30px; height: 34px; cursor: pointer; color: #666; }
.cf-cart-line .qty-switch__input { width: 40px; text-align: center; border: none; box-shadow: none; padding: 0; }

.cf-cart__side { background: #f7f7f7; border-radius: var(--border-radius-1, 12px); padding: 20px; position: sticky; top: 20px; }
.cf-coupon { display: flex; gap: 8px; margin: 0 0 16px; }
.cf-totals { margin: 0 0 16px; }
.cf-totals__row { display: flex; justify-content: space-between; padding: 6px 0; color: #555; }
.cf-totals__row--grand { font-size: 20px; font-weight: 700; color: #222; border-top: 1px solid #ddd; margin-top: 6px; padding-top: 12px; }
.cf-cart__checkout, .cf-checkout__submit { width: 100%; }

/* ---------- checkout ---------- */
.cf-checkout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 991px) { .cf-checkout { grid-template-columns: 1fr; } }
.cf-checkout__forms { display: flex; flex-direction: column; gap: 16px; }
.cf-checkout__forms .uni-wrapper { margin: 0; }
.cf-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-form-grid .cf-span2 { grid-column: 1 / -1; }
.cf-method { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #e5e5e5; border-radius: 10px; margin: 0 0 8px; cursor: pointer; font-weight: 400; }
.cf-method.checked { border-color: var(--a-c, #1257A8); background: #e8f1fa; }
.cf-method__cost { margin-left: auto; color: #888; }
.cf-method--pickup { flex-direction: column; align-items: flex-start; gap: 4px; }
.cf-pickup-point__meta { color: #888; font-size: 13px; }
.cf-checkout__summary .uni-wrapper { position: sticky; top: 20px; }
.cf-summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: #555; border-bottom: 1px dashed #eee; }
.cf-order-success { text-align: center; padding: 44px 20px; }
.cf-order-success > i { font-size: 72px; color: #58ae43; display: block; margin: 0 0 16px; }
.cf-order-success h4 { margin: 0 0 12px; }
.cf-order-success__lead { font-size: 17px; font-weight: 700; color: var(--cf-ink, #1e2125); margin: 8px auto 22px; max-width: 440px; line-height: 1.45; }
.cf-order-success__lead span { display: block; }
.cf-order-success__sub { font-size: 13.5px; color: var(--cf-soft, #6b7178); margin: 0 auto 16px; max-width: 380px; line-height: 1.45; }
.cf-order-success__socials { display: flex; justify-content: center; gap: 14px; margin: 0 0 26px; }
.cf-order-success__socials a { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--cf-ground, #eceef0); color: var(--cf-ink, #1e2125); transition: transform .15s, box-shadow .15s, filter .15s; }
.cf-order-success__socials a:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.cf-order-success__socials i { font-size: 20px; }
.cf-dialog--success { width: 380px !important; max-width: 92% !important; }
.cf-dialog--success .cf-order-success { padding: 22px 22px 26px; }
.cf-dialog--success .cf-order-success__lead { font-size: 15.5px; margin: 0 auto 14px; }
.cf-dialog--success .cf-order-success__sub { font-size: 13px; margin: 26px auto 14px; }
.cf-dialog--success .cf-order-success__socials { margin-bottom: 0; gap: 12px; }
.cf-dialog--success .cf-order-success__socials a { width: 42px; height: 42px; }
.cf-order-success__socials a.cf-soc--instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.cf-order-success__socials a.cf-soc--youtube { background: #FF0000; color: #fff; }
.cf-order-success__socials a.cf-soc--tiktok { background: #010101; color: #fff; }
.cf-order-success__socials a.cf-soc--vk { background: #0077FF; color: #fff; }
.cf-order-success__socials a.cf-soc--telegram { background: #229ED9; color: #fff; }
.cf-order-success__socials a.cf-soc--whatsapp { background: #25D366; color: #fff; }
.cf-order-success__socials a.cf-soc--facebook, .cf-order-success__socials a.cf-soc--facebook-f { background: #1877F2; color: #fff; }
.cf-order-success__socials a.cf-soc--odnoklassniki { background: #EE8208; color: #fff; }
button.header-phones__callback { background: transparent; }

/* ---------- account ---------- */
.list-group { display: flex; flex-direction: column; border-radius: var(--border-radius-1, 12px); overflow: hidden; border: 1px solid #eee; background: #fff; }
.list-group-item { padding: 12px 18px; border-bottom: 1px solid #f0f0f0; color: #555; text-decoration: none; font-size: 14px; }
.list-group-item:last-child { border-bottom: none; }
.list-group-item:hover { background: #fafafa; color: var(--a-c, #fe7200); }
.list-group-item.active { color: var(--a-c, #fe7200); font-weight: 600; background: #fff6ef; }

.cf-account-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 575px) { .cf-account-cards { grid-template-columns: 1fr; } }
.cf-account-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; align-items: start; }
.cf-account-col { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 575px) { .cf-account-cols { grid-template-columns: 1fr; } }
.cf-account-card { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid #eee; border-radius: var(--border-radius-1, 12px); text-decoration: none; color: #333; transition: box-shadow .15s; }
.cf-account-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.cf-account-card i { font-size: 26px; color: var(--a-c, #fe7200); flex: none; width: 30px; text-align: center; }
.cf-account-card__body { min-width: 0; }
.cf-account-card__title { font-weight: 600; }
.cf-account-card__text { font-size: 13px; color: #888; }
.cf-ch-pills { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.cf-ch-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff3e8; color: #d15b00; border: 1px solid #ffd7b0; white-space: nowrap; }
.cf-ch-pill svg { display: block; }
.cf-msg-badge { display: inline-block; min-width: 20px; height: 20px; line-height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 10px; background: var(--a-c, #fe7200); color: #fff; font-size: 12px; font-weight: 700; text-align: center; vertical-align: middle; }
.cf-msgs { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.cf-msg { border: 1px solid #eee; border-radius: var(--border-radius-1, 12px); padding: 16px 18px; background: #fff; }
.cf-msg.is-unread { border-color: var(--a-c, #fe7200); box-shadow: 0 0 0 1px var(--a-c, #fe7200) inset; }
.cf-msg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cf-msg__type { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--a-c, #fe7200); }
.cf-msg__date { font-size: 12px; color: #999; }
.cf-msg__title { font-weight: 600; margin-bottom: 4px; }
.cf-msg__body { margin: 0; color: #444; white-space: pre-wrap; }
.cf-msg__link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--a-c, #fe7200); text-decoration: none; }

/* Partner cards (orange, above others) */
.cf-account-cards--partner { margin-bottom: 16px; }
.cf-account-card--partner { border-color: var(--a-c, #fe7200); background: #fff8f2; }
.cf-account-card--partner i { color: var(--a-c, #fe7200); }

/* Staff marker in the cabinet greeting */
.cf-account-hello { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.cf-staff-badge { display: inline-flex; align-items: center; gap: 7px; background: #e7f0fd; color: #1257a8; border: 1px solid #cfe0f7; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.cf-staff-badge i { font-size: 13px; }

/* Partner dashboard panel — fintech card */
.cf-pp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 820px) { .cf-pp { grid-template-columns: 1fr; } }
.cf-pp__card { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #3a2417 0%, #242830 42%, #1a1d22 100%); }
.cf-pp__card::after { content: ""; position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(254,114,0,.55), transparent 62%); filter: blur(6px); pointer-events: none; }
.cf-pp__top { position: relative; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.cf-pp__eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #c7cbd1; }
.cf-pp__on { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #7ee0a6; background: rgba(126,224,166,.12); border: 1px solid rgba(126,224,166,.3); padding: 4px 10px; border-radius: 999px; }
.cf-pp__on.is-off { color: #e0a06a; background: rgba(224,160,106,.12); border-color: rgba(224,160,106,.3); }
.cf-pp__lab { position: relative; font-size: 13px; color: #b9bec6; }
.cf-pp__big { position: relative; font-family: 'Geologica', sans-serif; font-size: 42px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 2px 0 16px; font-variant-numeric: tabular-nums; }
.cf-pp__wd { position: relative; display: inline-flex; align-items: center; gap: 8px; border: none; background: linear-gradient(180deg, #ff8636, #fe7200); color: #fff; font-family: inherit; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 11px; cursor: pointer; box-shadow: 0 6px 18px rgba(254,114,0,.4); }
.cf-pp__wd:disabled { opacity: .5; box-shadow: none; cursor: default; }
.cf-pp__num { position: relative; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.cf-pp__chiprow { display: flex; align-items: center; gap: 14px; }
.cf-pp__chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #e8c07a, #c99b46); flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.cf-pp__code { font-family: monospace; font-weight: 700; font-size: 21px; letter-spacing: .22em; color: #fff; }
.cf-pp__nocode { color: #aeb4bc; font-size: 14px; }
.cf-pp__copy-ic { margin-left: auto; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cf-pp__copy-ic:hover { background: rgba(255,255,255,.18); }
.cf-pp__foot { display: flex; gap: 26px; margin-top: 16px; font-size: 13px; color: #aeb4bc; }
.cf-pp__foot b { color: #fff; font-weight: 700; }
.cf-pp__side { display: flex; flex-direction: column; gap: 12px; background: #fff8f2; border: 1px solid #f0e2d6; border-radius: 20px; padding: 20px; }
.cf-pp__side-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cf-pp__side-head h4 { margin: 0; font-size: 15px; font-weight: 700; color: #1e2125; }
.cf-pp__all { font-size: 13px; font-weight: 600; color: var(--a-c, #fe7200); white-space: nowrap; }
.cf-pp__terms { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: #6b6157; margin-top: 2px; }
.cf-pp__trow { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #f0e2d6; padding-bottom: 8px; }
.cf-pp__trow--last { border-bottom: none; padding-bottom: 0; }
.cf-pp__terms b { color: #1e2125; }
.cf-pp__reflab { font-size: 12px; color: #8a7d70; margin-top: 4px; }
.cf-pp__refrow { display: flex; gap: 8px; }
.cf-pp__refin { flex: 1; min-width: 0; height: 40px; border: 1px solid #e6ddd3; border-radius: 10px; padding: 0 12px; font-size: 13px; background: #fff; color: #333; font-family: inherit; }
.cf-pp__refcopy { border: none; background: var(--a-c, #fe7200); color: #fff; border-radius: 10px; padding: 0 14px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.cf-pp__muted { color: #8a7d70; font-size: 14px; margin: 4px 0 0; }

/* Мои промокоды — подарочный сертификат «вороненая сталь + латунь» */
.cf-promos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 22px; }
.cf-promo {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 18px;
  padding: 22px 22px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(130% 120% at 88% -12%, rgba(255,255,255,.20), transparent 52%),
    linear-gradient(150deg, #0b2f5c 0%, #16569c 56%, #0e4788 100%);
  box-shadow: 0 14px 30px -14px rgba(11,47,92,.62), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cf-promo::before { /* machined sheen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(80% 55% at 112% 118%, rgba(255,255,255,.12), transparent 50%);
}
.cf-promo:not(.is-inactive):hover { transform: translateY(-3px); box-shadow: 0 20px 38px -14px rgba(11,47,92,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.cf-promo.is-inactive {
  color: rgba(255,255,255,.86);
  background: linear-gradient(150deg, #363c44 0%, #565e68 60%, #3f454d 100%);
  box-shadow: 0 12px 26px -16px rgba(24,28,32,.55), inset 0 1px 0 rgba(255,255,255,.10);
}

/* латунный чип — единственный тёплый акцент, отсылка к гильзе */
.cf-promo__chip {
  position: absolute; top: 20px; right: 22px; width: 34px; height: 26px; border-radius: 6px;
  background: linear-gradient(135deg, #f6dca0 0%, #d8b163 45%, #b8862f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 -3px 6px rgba(120,80,20,.35);
}
.cf-promo__chip::after {
  content: ""; position: absolute; inset: 6px 5px;
  background:
    linear-gradient(rgba(120,80,20,.55), rgba(120,80,20,.55)) center/100% 1px no-repeat,
    linear-gradient(rgba(120,80,20,.55), rgba(120,80,20,.55)) center/1px 100% no-repeat;
}
.cf-promo.is-inactive .cf-promo__chip { background: linear-gradient(135deg,#c9cdd2,#9aa0a7); filter: saturate(.5); }

.cf-promo__main { display: flex; flex-direction: column; gap: 7px; padding: 0 46px 20px 0; }
.cf-promo__type { font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.70); }
.cf-promo__amount { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cf-promo__cond { font-size: 12.5px; color: rgba(255,255,255,.80); }

/* отрывной корешок с перфорацией и вырезами по краям карты */
.cf-promo__side {
  position: relative; margin: 0 -22px; padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto;
  background: rgba(255,255,255,.09);
  border-top: 2px dashed rgba(255,255,255,.40);
}
.cf-promo__side::before, .cf-promo__side::after {
  content: ""; position: absolute; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cf-surface, #fff);
}
.cf-promo__side::before { left: -10px; }
.cf-promo__side::after { right: -10px; }

.cf-promo__code {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.14); color: #fff;
  border-radius: 9px; padding: 7px 13px; font-family: ui-monospace, "SF Mono", monospace;
  font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .15s ease;
}
.cf-promo__code:not(.is-disabled):hover { background: rgba(255,255,255,.24); }
.cf-promo__code:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cf-promo__code.is-disabled { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); cursor: default; }
.cf-promo__code i { opacity: .8; }

.cf-promo__status { font-size: 11.5px; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.cf-promo__status.is-ok { color: #8ef0bd; background: rgba(52,199,123,.20); box-shadow: inset 0 0 0 1px rgba(52,199,123,.35); }
.cf-promo__status.is-used { color: rgba(255,255,255,.80); background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.cf-promo__status.is-off { color: #ffb0b0; background: rgba(255,110,110,.20); box-shadow: inset 0 0 0 1px rgba(255,110,110,.32); }

@media (prefers-reduced-motion: reduce) { .cf-promo { transition: none; } .cf-promo:not(.is-inactive):hover { transform: none; } }

/* Уведомления — каналы */
.cf-notif { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; max-width: 640px; }
.cf-notif__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 14px 16px; background: var(--cf-surface, #fff); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.cf-notif__row.is-on { border-color: #46bd7d; background: #f1faf4; }
.cf-notif__row.is-disabled { cursor: default; opacity: .72; }
.cf-notif__label { font-weight: 600; color: var(--cf-ink, #1e2125); }
.cf-notif__hint { font-size: 12.5px; color: var(--cf-soft, #6b7178); margin-top: 2px; }
.cf-notif__side { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.cf-notif__note { font-size: 12px; font-weight: 600; color: #9aa0a7; white-space: normal; text-align: right; max-width: 190px; }
.cf-notif__row.is-on .cf-notif__note { color: #12864f; }

.cf-switch { appearance: none; -webkit-appearance: none; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #cfd4da; cursor: pointer; transition: background .15s ease; flex: none; }
.cf-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s ease; }
.cf-switch:checked { background: #2fae6a; }
.cf-switch:checked::after { transform: translateX(18px); }
.cf-switch:disabled { cursor: default; opacity: .6; }
.cf-switch:focus-visible { outline: 2px solid var(--cf-acc, #1257A8); outline-offset: 2px; }

/* ===== Account sidebar (partners/staff): cabinet switcher (variant 3) ===== */
.cf-acc { display: grid; grid-template-columns: 244px 1fr; gap: 22px; align-items: start; }
@media (max-width: 768px) { .cf-acc { grid-template-columns: 1fr; } }
.cf-acc__nav { position: sticky; top: 16px; background: #fff; border: 1px solid #ececf0; border-radius: 16px; padding: 12px; }
.cf-acc-seg { display: flex; background: #eef0f2; border: 1px solid #e7e9ec; border-radius: 12px; padding: 4px; }
.cf-acc-seg button { flex: 1; border: none; background: none; padding: 9px 6px; border-radius: 9px; font-family: inherit; font-weight: 700; font-size: 12.5px; color: #6c7480; cursor: pointer; }
.cf-acc-seg button.on { background: #fff; color: var(--a-c, #fe7200); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cf-acc-cap { font-size: 11.5px; color: #9aa1ab; margin: 8px 4px 8px; text-align: center; }
.cf-acc-menu { display: flex; flex-direction: column; gap: 2px; }
.cf-acc-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: #33383f; font-size: 14px; font-weight: 500; text-decoration: none; }
.cf-acc-item__ic { width: 17px; text-align: center; color: #9aa1ab; flex: none; }
.cf-acc-item:hover { background: rgba(0,0,0,.03); }
.cf-acc-item.active { background: #fff3e9; color: var(--orange-deep, #e0662f); font-weight: 700; }
.cf-acc-item.active .cf-acc-item__ic { color: var(--a-c, #fe7200); }
.cf-acc__main { min-width: 0; }

/* ===== Моя прибыль (fintech, dark cards) ===== */
.cf-profit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 575px) { .cf-profit { grid-template-columns: 1fr; } }
.cf-profit__card { position: relative; overflow: hidden; border-radius: 16px; padding: 18px; color: #fff; background: radial-gradient(140% 160% at 100% 0%, #33231a 0%, #242830 44%, #1a1d22 100%); }
.cf-profit__card.is-ready::after { content: ""; position: absolute; right: -40px; top: -46px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(254,114,0,.5), transparent 62%); }
.cf-profit__label { position: relative; font-size: 13px; color: #b9bec6; }
.cf-profit__sum { position: relative; font-family: 'Geologica', sans-serif; font-size: 26px; font-weight: 800; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.cf-profit__card.is-ready .cf-profit__sum { color: #ffb27a; }
.cf-profit__btn { position: relative; margin-top: 2px; border: none; background: linear-gradient(180deg, #ff8636, #fe7200); color: #fff; font-weight: 700; border-radius: 10px; padding: 9px 14px; cursor: pointer; box-shadow: 0 6px 16px rgba(254,114,0,.35); }
.cf-profit__btn:disabled { opacity: .5; box-shadow: none; cursor: default; }
.cf-profit__h2 { margin-top: 28px; font-size: 18px; }
.cf-profit__rows { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cf-profit__row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; color: #eceef1; background: #232830; border: 1px solid #2c313a; }
.cf-profit__order { font-weight: 600; }
.cf-profit__state { font-size: 12px; font-weight: 600; }
.cf-profit__state.is-ready { color: #ffb27a; }
.cf-profit__state.is-paid { color: #7ee0a6; }
.cf-profit__state.is-in_process { color: #b9bec6; }
.cf-profit__amount { font-weight: 800; }
.cf-profit__date { color: #9aa3ad; font-size: 13px; }

/* ===== Партнёрский промокод (fintech, dark card) ===== */
.cf-ppromo { position: relative; overflow: hidden; margin-top: 20px; max-width: 720px; border-radius: 18px; padding: 22px 24px; color: #fff; background: radial-gradient(130% 150% at 100% 0%, #33231a 0%, #242830 44%, #1a1d22 100%); }
.cf-ppromo::after { content: ""; position: absolute; right: -50px; top: -56px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(254,114,0,.5), transparent 62%); }
.cf-ppromo__lead { position: relative; color: #c7cbd1; margin: 0 0 4px; }
.cf-ppromo__box { position: relative; display: flex; gap: 10px; margin: 16px 0; }
.cf-ppromo__input { flex: 1; min-width: 0; font-family: monospace; font-size: 22px; font-weight: 700; letter-spacing: 2px; text-align: center; border: 1.5px dashed rgba(255,255,255,.35); border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; padding: 12px; }
.cf-ppromo__copy { white-space: nowrap; }
.cf-ppromo__meta { position: relative; display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: #b9bec6; }
.cf-ppromo__meta b { color: #fff; }
.cf-ppromo__on { color: #7ee0a6; font-weight: 600; }
.cf-ppromo__off { color: #e0a06a; font-weight: 600; }

/* fintech buttons inside partner cabinet (beat theme's primary-button color) */
.cf-acc__main--fin .cf-profit__btn,
.cf-acc__main--fin .cf-ppromo__copy { background: linear-gradient(180deg, #ff8636, #fe7200); border: none; color: #fff; box-shadow: 0 6px 16px rgba(254,114,0,.35); }
.cf-acc__main--fin .cf-profit__btn:disabled { opacity: .5; box-shadow: none; }

/* Ответы на отзывы */
.cf-rcomments { margin-top: 12px; padding-left: 16px; border-left: 2px solid #eee; display: flex; flex-direction: column; gap: 10px; }
.cf-rcomment__head { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.cf-rcomment__date { color: #999; font-size: 12px; }
.cf-rcomment__text { color: #444; font-size: 14px; }
.cf-rcomment__form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-top: 4px; }
.cf-rcomment__sent { color: #16794f; font-size: 13px; margin-top: 6px; }

.cf-orders-table { width: 100%; border-collapse: collapse; }
.cf-orders-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid #eee; font-size: 13px; color: #888; font-weight: 600; }
.cf-orders-table td { padding: 12px; border-bottom: 1px solid #f2f2f2; }
.cf-order-status { display: inline-block; padding: 3px 10px; border-radius: 20px; background: #f0f2f5; color: #6b7178; font-size: 13px; }
.cf-order-status--success { background: #e6f3ec; color: #17864a; }
.cf-order-status--progress { background: #e9eff7; color: #1257a8; }
.cf-order-status--wait { background: #f7efe0; color: #a86710; }
.cf-order-status--danger { background: #fbeae7; color: #b73727; }
.cf-order-status--neutral { background: #f0f2f5; color: #6b7178; }
.cf-link { background: none; border: none; color: var(--a-c, #fe7200); cursor: pointer; text-decoration: none; padding: 0; }
.cf-link--danger { color: #d9534f; margin-left: 12px; }

.cf-address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 575px) { .cf-address-grid { grid-template-columns: 1fr; } }
.cf-address { border: 1px solid #eee; border-radius: var(--border-radius-1, 12px); padding: 16px; line-height: 1.6; color: #555; }
.cf-address__name { font-weight: 600; color: #333; }
.cf-address__actions { margin-top: 8px; }
.cf-address--add { display: flex; align-items: center; justify-content: center; gap: 8px; border-style: dashed; color: var(--a-c, #fe7200); cursor: pointer; background: none; font-weight: 500; }
.cf-order-history { list-style: none; padding: 0; }
.cf-order-history li { padding: 8px 0; border-bottom: 1px solid #f2f2f2; }
.cf-order-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.cf-order-actions__msg { margin: 8px 0 0; color: var(--cf-soft, #6b7178); font-size: 14px; }
.cf-btn-danger { background: #fbeae7; color: #b73727; border: none; border-radius: 10px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.cf-btn-danger:hover { background: #f6d8d2; }
.cf-btn-danger:disabled, .cf-btn-default:disabled { opacity: .6; cursor: default; }
.cf-link--btn { background: none; border: 0; padding: 0; font: inherit; color: var(--cf-acc, #1257A8); cursor: pointer; }
.cf-link--btn:disabled { opacity: .6; cursor: default; }
.cf-co__days { display: flex; gap: 8px; flex-wrap: wrap; }
.cf-link--danger { color: #b73727; }
.cf-return-items { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 14px; }
.cf-return-items__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cf-return-items__row select { width: 76px; flex: 0 0 auto; }
.cf-return-field { display: block; margin-bottom: 12px; font-size: 14px; color: var(--cf-soft, #6b7178); }
.cf-return-field .v3-inp { display: block; width: 100%; margin-top: 4px; }
/* --- order detail/list actions --- */
.cf-btn-blue { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: #1257A8; color: #fff; border: none; border-radius: 10px; padding: 9px 18px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none; }
.cf-btn-blue:hover, .cf-btn-blue:focus, .cf-btn-blue:active, .cf-btn-blue:visited { background: #0e4a90; color: #fff; }
.cf-btn-blue:disabled { opacity: .6; cursor: default; }
.cf-btn-danger, .cf-btn-default { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.cf-btn-plain { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: transparent; color: var(--cf-soft, #6b7178); border: 1px solid transparent !important; border-radius: 10px; padding: 9px 18px; font-weight: 600; font-size: 14px; line-height: 1.2; cursor: pointer; transition: border-color .15s ease, color .15s ease; }
.cf-btn-plain:hover { border-color: #1257A8 !important; color: #1257A8; }
.cf-btn-plain:disabled { opacity: .6; cursor: default; }
.cf-cancel-dashed { background: none; border: 0 !important; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--cf-soft, #6b7178); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 3px; cursor: pointer; }
.cf-cancel-dashed:hover { color: #b73727; }
.cf-cancel-dashed:disabled { opacity: .6; cursor: default; }
.cf-order-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 14px; }
.cf-order-head h1 { margin: 0; }
.cf-order-head .cf-order-actions { margin: 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cf-cancel-check { display: flex; align-items: center; gap: 8px; margin: 6px 0 16px; font-size: 14px; color: var(--cf-ink, #1e2125); cursor: pointer; }
.cf-cancel-check input { width: 16px; height: 16px; flex: 0 0 auto; accent-color: #b73727; }
/* align first column to the block grid (no cell inset) */
.cf-orders-table th:first-child, .cf-orders-table td:first-child { padding-left: 0; }
/* order-items table: price + total columns right-aligned; total value + buttons share the right line */
.cf-order-items th:nth-child(3), .cf-order-items td:nth-child(3),
.cf-order-items th:nth-child(4), .cf-order-items td:nth-child(4) { text-align: right; }
.cf-order-items th:last-child, .cf-order-items td:last-child { padding-right: 0; }
/* grand total row aligned to the table grid (tfoot) */
.cf-order-grand td { border-bottom: none; padding-top: 18px; }
.cf-order-grand__label { font-weight: 700; font-size: 17px; color: var(--cf-ink, #1e2125); white-space: nowrap; }
.cf-order-grand__value { font-weight: 700; font-size: 20px; color: var(--cf-ink, #1e2125); font-variant-numeric: tabular-nums; }

/* --- order list: product thumbnails (max 3 + ellipsis) --- */
.cf-order-thumbs { display: flex; align-items: center; gap: 6px; }
.cf-order-thumbs__img { width: 34px; height: 34px; object-fit: contain; border: 1px solid #eceef0; border-radius: 6px; background: #fff; flex: 0 0 auto; }
.cf-order-thumbs__ph { display: inline-block; background: #f0f2f5; }
.cf-order-thumbs__more { font-weight: 700; font-size: 18px; line-height: 1; color: #9aa0a6; letter-spacing: 1px; }

/* --- product cell (thumb + linked name) --- */
.cf-op-cell { display: flex; align-items: center; gap: 12px; white-space: normal; }
.cf-op-thumb { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid #eceef0; border-radius: 8px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.cf-op-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cf-op-thumb__ph { width: 100%; height: 100%; background: #f0f2f5; }
.cf-op-name { color: var(--cf-ink, #1e2125); font-weight: 500; text-decoration: none; }
.cf-op-name:hover { color: var(--cf-acc, #1257A8); }

/* --- status timeline --- */
.cf-status-cell { position: relative; display: inline-block; }
.cf-status-trigger { font: inherit; border: 0; cursor: pointer; }
.cf-status-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; background: #fff; border: 1px solid #e1e4e7; border-radius: 12px; box-shadow: 0 8px 28px rgba(20,25,30,.14); padding: 16px 18px 14px; white-space: normal; width: min(468px, 92vw); overflow-x: auto; }
.cf-flow { list-style: none; display: flex; padding: 0; margin: 22px 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cf-flow__step { position: relative; flex: 1 1 0; min-width: 84px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 0 10px 0 0; }
.cf-flow__step:not(:first-child)::before { content: ""; position: absolute; top: 8px; left: calc(-100% + 9px); width: 100%; height: 2px; background: #dfe3e7; z-index: 0; }
.cf-flow__dot { width: 18px; height: 18px; border-radius: 50%; background: #eceef0; border: 2px solid #dfe3e7; box-sizing: border-box; position: relative; z-index: 1; }
.cf-flow__label { margin-top: 8px; font-size: 12.5px; line-height: 1.25; color: #6b7178; }
.cf-flow__step--done .cf-flow__dot { background: #17864a; border-color: #17864a; }
.cf-flow__step--done .cf-flow__label { color: #17864a; }
.cf-flow__step--done::before { background: #17864a; }
.cf-flow__step--current .cf-flow__dot { background: #e8730c; border-color: #e8730c; box-shadow: 0 0 0 4px rgba(232,115,12,.16); }
.cf-flow__step--current .cf-flow__label { color: #b8620c; font-weight: 600; }
.cf-flow__step--current::before { background: #17864a; }
.cf-flow__step--terminal .cf-flow__dot { background: #b73727; border-color: #b73727; }
.cf-flow__step--terminal .cf-flow__label { color: #b73727; font-weight: 600; }
.cf-flow__step--terminal::before { background: #b73727; }

@media (max-width: 640px) {
  .cf-orders-table { display: block; overflow-x: auto; white-space: nowrap; }
  .cf-order-head { align-items: stretch; }
  .cf-order-head .cf-order-actions { width: 100%; }
  .cf-order-head .cf-order-actions > * { flex: 1 1 auto; }
}

.account-login__wrapper { padding: 4px; }
.uni-form__heading { font-weight: 700; font-size: 20px; margin: 0 0 16px; }
.account-login__forgotten { display: inline-block; margin-top: 8px; color: var(--a-c, #fe7200); font-size: 13px; }
.account-login__btn { margin-top: 14px; }

/* ---------- content: gallery ---------- */
.cf-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 767px) { .cf-gallery-grid { grid-template-columns: 1fr; } }
.cf-gallery-album { position: relative; display: block; border-radius: var(--border-radius-1, 12px); overflow: hidden; aspect-ratio: 4/3; }
.cf-gallery-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cf-gallery-album:hover img { transform: scale(1.05); }
.cf-gallery-album__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; flex-direction: column; }
.cf-gallery-album__caption span { font-weight: 600; }
.cf-gallery-album__caption small { opacity: .85; font-size: 12px; }
.cf-gallery-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 767px) { .cf-gallery-images { grid-template-columns: repeat(2, 1fr); } }
.cf-gallery-figure { margin: 0; }
.cf-gallery-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.cf-gallery-figure figcaption { text-align: center; color: #888; font-size: 13px; margin-top: 6px; }

/* ---------- content: contacts ---------- */
.cf-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 767px) { .cf-contacts { grid-template-columns: 1fr; } }
.cf-contacts__block { margin: 0 0 16px; line-height: 1.7; color: #444; }
.cf-contacts__label { font-weight: 700; color: #222; margin: 0 0 2px; }
.cf-contacts__block a { color: var(--a-c, #fe7200); }
.cf-map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 320px; border-radius: var(--border-radius-1, 12px); background: linear-gradient(135deg, #eef2f5, #e2e8ee); color: #667; text-decoration: none; font-weight: 600; }
.cf-map-placeholder i { font-size: 48px; color: var(--a-c, #fe7200); }

/* ---------- content: manufacturers directory ---------- */
.cf-mfr__lead { color: var(--cf-soft, #6b7178); font-size: 14px; max-width: 60ch; margin: -6px 0 18px; }

.cf-mfr__bar { position: sticky; top: 0; z-index: 5; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  padding: 10px; margin: 0 0 12px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid var(--cf-line, #e1e4e7); border-radius: var(--border-radius-1, 10px); }
.cf-mfr__search { position: relative; flex: 1 1 260px; min-width: 220px; }
.cf-mfr__search input { width: 100%; padding: 10px 32px 10px 34px; font-size: 15px; color: var(--cf-ink, #1e2125);
  background: var(--cf-raised, #f3f5f6); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 8px; }
.cf-mfr__search input::placeholder { color: var(--cf-soft, #6b7178); }
.cf-mfr__search input:focus-visible { outline: none; border-color: var(--cf-acc, #1257A8); box-shadow: 0 0 0 3px rgba(18,87,168,.2); }
.cf-mfr__search-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--cf-soft, #6b7178); font-size: 15px; pointer-events: none; }
.cf-mfr__search-clear { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; background: transparent;
  color: var(--cf-soft, #6b7178); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px 6px; border-radius: 6px; }
.cf-mfr__search-clear:hover { color: var(--cf-ink, #1e2125); background: var(--cf-line, #e1e4e7); }
.cf-mfr__sort { display: inline-flex; background: var(--cf-raised, #f3f5f6); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 8px; padding: 2px; }
.cf-mfr__sort button { border: 0; background: transparent; color: var(--cf-soft, #6b7178); font-size: 13px; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.cf-mfr__sort button[aria-pressed="true"] { background: var(--cf-acc, #1257A8); color: var(--cf-acc-ink, #fff); font-weight: 600; }
.cf-mfr__sort button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(18,87,168,.2); }

.cf-mfr__letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; }
.cf-mfr__letters button { min-width: 30px; height: 30px; padding: 0 7px; font-size: 13px; font-variant-numeric: tabular-nums;
  border: 1px solid var(--cf-line, #e1e4e7); background: var(--cf-surface, #fff); color: var(--cf-soft, #6b7178); border-radius: 7px; cursor: pointer; }
.cf-mfr__letters button:hover { color: var(--cf-ink, #1e2125); border-color: var(--cf-soft, #6b7178); }
.cf-mfr__letters button[aria-pressed="true"] { background: var(--cf-acc, #1257A8); border-color: var(--cf-acc, #1257A8); color: var(--cf-acc-ink, #fff); font-weight: 600; }
.cf-mfr__letters button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(18,87,168,.2); }

.cf-mfr__tally { font-size: 13px; color: var(--cf-soft, #6b7178); margin: 0 0 12px; }
.cf-mfr__tally b { color: var(--cf-acc, #1257A8); font-variant-numeric: tabular-nums; }

.cf-mfr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.cf-mfr__card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 118px; padding: 14px 15px 12px;
  background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: var(--border-radius-1, 10px);
  text-decoration: none; color: inherit; overflow: hidden; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.cf-mfr__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--cf-acc, #1257A8); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.cf-mfr__card:hover { transform: translateY(-3px); border-color: var(--cf-soft, #6b7178); box-shadow: 0 12px 26px -18px rgba(30,33,37,.5); }
.cf-mfr__card:hover::before { transform: scaleX(1); }
.cf-mfr__card:focus-visible { outline: none; border-color: var(--cf-acc, #1257A8); box-shadow: 0 0 0 3px rgba(18,87,168,.25); }
.cf-mfr__origin { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--cf-soft, #6b7178); }
.cf-mfr__flag { font-size: 14px; }
.cf-mfr__name { margin-top: auto; font-family: 'Geologica', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.12; color: var(--cf-ink, #1e2125); }
.cf-mfr__types { position: relative; display: flex; flex-wrap: nowrap; gap: 5px; overflow: hidden; align-items: center; }
.cf-mfr__type { flex: 0 0 auto; max-width: 120px; font-size: 11px; line-height: 1.35; padding: 4px 7px; border-radius: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--cf-raised, #f3f5f6); color: var(--cf-soft, #6b7178); border: 1px solid var(--cf-line, #e1e4e7); }
/* Trailing "…" over a short fade when the chip row overflows one line. */
.cf-mfr__types[data-more="1"]::after { content: "…"; position: absolute; right: 0; top: 0; bottom: 0;
  display: flex; align-items: center; padding: 0 2px 0 14px; color: var(--cf-soft, #6b7178); font-size: 13px;
  background: linear-gradient(to right, transparent, var(--cf-surface, #fff) 12px); pointer-events: none; }
.cf-mfr__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cf-mfr__count { font-size: 13px; color: var(--cf-soft, #6b7178); font-variant-numeric: tabular-nums; }
.cf-mfr__count b { color: var(--cf-acc, #1257A8); font-weight: 600; }
.cf-mfr__go { font-size: 16px; color: var(--cf-line, #e1e4e7); opacity: 0; transform: translateX(-4px); transition: opacity .16s, transform .16s, color .16s; }
.cf-mfr__card:hover .cf-mfr__go { opacity: 1; transform: translateX(0); color: var(--cf-acc, #1257A8); }

.cf-mfr__empty { text-align: center; padding: 52px 20px; color: var(--cf-soft, #6b7178); }
.cf-mfr__empty-big { font-size: 17px; color: var(--cf-ink, #1e2125); margin-bottom: 6px; }
.cf-mfr__empty button { margin-top: 14px; font-size: 13px; color: var(--cf-acc, #1257A8); background: transparent; border: 1px solid var(--cf-acc, #1257A8); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.cf-mfr__empty button:hover { background: var(--cf-acc, #1257A8); color: var(--cf-acc-ink, #fff); }

@media (max-width: 560px) { .cf-mfr__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .cf-mfr__name { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .cf-mfr__card, .cf-mfr__go { transition: none; } .cf-mfr__card:hover { transform: none; } }

/* news article */
.news-page__description img { max-width: 100%; border-radius: 10px; }
.news-page__description ul { padding-left: 20px; }

/* ---------- carousel (embla) ---------- */
.cf-carousel { position: relative; }
.cf-carousel__viewport { overflow: hidden; }
.cf-carousel__container { display: flex; }
.cf-carousel__slide { flex: 0 0 100%; min-width: 0; }
.cf-carousel--products .cf-carousel__slide { flex: 0 0 25%; padding: 0 10px; }
@media (max-width: 1199px) { .cf-carousel--products .cf-carousel__slide { flex: 0 0 33.333%; } }
@media (max-width: 991px)  { .cf-carousel--products .cf-carousel__slide { flex: 0 0 50%; } }
@media (max-width: 575px)  { .cf-carousel--products .cf-carousel__slide { flex: 0 0 100%; padding: 0 4px; } }
.cf-carousel--hero .cf-carousel__slide { flex: 0 0 100%; }
.cf-carousel--products .sticker { top: 8px; left: 8px; }
/* "Акция -N%" sticker: orange outline on white instead of the filled blue chip (readable over any product photo). */
.sticker__item.special { background: #fff !important; color: #fe7200 !important; border: 1.5px solid #fe7200 !important; opacity: 1; }
.cf-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--a-c, #fe7200); box-shadow: 0 4px 12px rgba(0,0,0,.15); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cf-carousel__nav--prev { left: -8px; }
.cf-carousel__nav--next { right: -8px; }
.cf-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.cf-carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--carousel-dot-bg, #ccc); cursor: pointer; padding: 0; }
.cf-carousel__dot.active { background: var(--carousel-dot-bg-active, #fe7200); }

/* hero slide — scoped to .cf-carousel--hero so it beats slideshow_v2.css (which loads later). */
.cf-carousel--hero .uni-slideshow_v2__item { display: flex; align-items: center; gap: 30px; background: #fff; border-radius: var(--border-radius-1, 12px); padding: 24px 40px; min-height: 300px; overflow: hidden; }
.cf-carousel--hero .uni-slideshow_v2__item::before { display: none !important; }
@media (max-width: 575px) { .cf-carousel--hero .uni-slideshow_v2__item { flex-direction: column; text-align: center; padding: 20px; min-height: 0; } }
.cf-carousel--hero .uni-slideshow_v2__image { flex: 0 0 44%; display: flex; align-items: center; justify-content: center; padding: 0; }
.cf-carousel--hero .uni-slideshow_v2__image img { max-width: 100%; max-height: 250px; width: auto; height: auto; object-fit: contain; pointer-events: none; -webkit-user-select: none; user-select: none; }
.cf-carousel--hero .uni-slideshow_v2__description { flex: 1; padding: 0 52px 0 0; }
.cf-carousel--hero .cf-carousel__nav--prev { left: 14px; }
.cf-carousel--hero .cf-carousel__nav--next { right: 14px; }
.cf-carousel--hero .uni-slideshow_v2__title { font-size: 26px; font-weight: 800; color: var(--cf-ink, #1e2125); text-transform: uppercase; line-height: 1.15; margin: 0 0 18px; }
.cf-carousel--hero .uni-slideshow_v2__text { color: var(--cf-soft, #6b7178); margin: 0 0 18px; }
.cf-carousel--hero .uni-slideshow_v2__btns { margin: 0 0 0 16px; }
.cf-carousel--hero .cf-carousel__dots { position: absolute; left: 0; right: 0; bottom: 18px; margin-top: 0; }
.cf-carousel--hero .uni-slideshow_v2__btn { display: inline-flex; align-items: center; background: #1257A8; color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-weight: 600; text-decoration: none; transition: background .15s; }
.cf-carousel--hero .uni-slideshow_v2__btn:hover, .cf-carousel--hero .uni-slideshow_v2__btn:focus { background: #0E4788; color: #fff; }

/* Reserve the header's height so `main` doesn't jump down while the header streams in.
   The async <Header> renders a `.header-skeleton` (0-height) fallback first, then swaps to
   the real 93-146px header — the main CLS source. Both must hold the space per breakpoint. */
header, .header-skeleton { min-height: 93px; }
@media (min-width: 768px) { header, .header-skeleton { min-height: 109px; } }
@media (min-width: 992px) { header, .header-skeleton { min-height: 134px; } }
@media (min-width: 1200px) { header, .header-skeleton { min-height: 146px; } }

/* ---------- sticky header + main nav (one block) ---------- */
@media (min-width: 992px) {
  .cf-topbar { position: sticky; top: 0; z-index: 1032; background: #fff; transition: box-shadow .2s; }
  /* Home: open catalog + banner butt directly against the nav (drop main's 25px top padding). */
  main:has(> .cf-home) { padding-top: 0; }
  /* Header sits above the nav and casts a soft shadow onto it — visually separates the two rows. */
  /* top:0 overrides the theme's --header-position-top (-34px, a sticky-hide offset); as a relative
     element inside .cf-topbar that -34 would otherwise shift the header up and leave a 34px gap above the nav. */
  .cf-topbar > header { position: relative; top: 0; z-index: 2; box-shadow: 0 3px 8px rgba(20,30,50,.07); }
  .cf-topbar:has(header.cf-header-scrolled) { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
  /* Trim the header's tall bottom whitespace so the gray nav sits close under the logo/search row.
     Real header sizes to content (no min-height reserve excess); skeleton keeps a matching reserve. */
  header { min-height: 0 !important; }
  .header-skeleton { min-height: 108px; }
  .header-block { padding-top: 10px !important; padding-bottom: 10px !important; }
}

/* ---------- mobile bottom nav ---------- */
.cf-mnav { display: none; }
@media (max-width: 991px) {
  .cf-mnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
    background: #fff; border-top: 1px solid #eee; box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  }
  .cf-mnav__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: none; color: #777; font-size: 11px; text-decoration: none; cursor: pointer;
  }
  .cf-mnav__item i { font-size: 19px; }
  .cf-mnav__item.active, .cf-mnav__item:hover { color: var(--a-c, #fe7200); }
  .cf-mnav__cart { position: relative; }
  .cf-mnav__badge { position: absolute; top: -6px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 10px; background: var(--a-c, #fe7200); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
  body { padding-bottom: 64px; }
  .fly-block { bottom: 74px !important; }
  .cf-mnav__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1041; }
  .cf-mnav__panel { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 1042; background: #fff; border-radius: 16px 16px 0 0; max-height: 70vh; overflow-y: auto; padding: 0 0 12px; }
  .cf-mnav__panel-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-weight: 700; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; background: #fff; }
  .cf-mnav__cats { list-style: none; margin: 0; padding: 6px 0; }
  .cf-mnav__cats a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; color: #444; text-decoration: none; }
  .cf-mnav__cats i { color: var(--a-c, #fe7200); }
  .cf-mnav__search { display: flex; gap: 8px; padding: 16px 18px; }
  .cf-mnav__search .cf-btn-primary { white-space: nowrap; }
}

/* ---------- mobile card CTA: stack price over a full-width button (fixes "В корзин" clipping) ---------- */
@media (max-width: 575px) {
  .product-thumb__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-thumb__foot .product-thumb__price { text-align: left; }
  .product-thumb__foot .product-thumb__cart { width: 100%; margin: 0; }
  .product-thumb__foot .product-thumb__add-to-cart { width: 100%; justify-content: center; }
}

@media (max-width: 991px) {
  .top-menu__links { display: none; }
  .header-block { padding: 8px 0; }
}

/* ---------- PWA install banner (device-aware; sits above the mobile bottom nav) ---------- */
.cf-install { position: fixed; left: 0; right: 0; top: 0; z-index: 1100; display: flex; align-items: center; gap: 12px; background: #fff; border-bottom: 1px solid #e6e6e6; box-shadow: 0 4px 18px rgba(0,0,0,.14); padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); transform: translateY(-100%); animation: cf-install-in .28s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes cf-install-in { to { transform: translateY(0); } }
.cf-install__icon { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.cf-install__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
.cf-install__text b { font-size: 14px; }
.cf-install__text span { font-size: 12px; color: #6b7178; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-install__btn { flex: none; padding: 8px 15px; border: 0; border-radius: 9px; background: var(--cf-cta, #fe7200); color: #fff; font-weight: 700; font-size: 13px; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap; }
.cf-install__close { flex: none; background: none; border: 0; font-size: 22px; line-height: 1; color: #999; cursor: pointer; padding: 0 2px; }
@media (min-width: 992px) { .cf-install { left: auto; right: 20px; top: 20px; max-width: 400px; border: 1px solid #e6e6e6; border-radius: 14px; } }

/* ---------- footer columns: accordion on mobile, always-open on desktop ---------- */
.footer__acc-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; background: none; border: 0; padding: 0; color: inherit; font-family: inherit; text-align: left; cursor: default; }
.footer__acc-chevron { display: none; }
@media (max-width: 991px) {
  .footer__column--acc { border-top: 1px solid #ececec; }
  .footer__acc-toggle { padding: 14px 2px; cursor: pointer; }
  .footer__acc-chevron { display: inline-block; color: #9aa0a6; transition: transform .2s; }
  .footer__column--acc.is-open .footer__acc-chevron { transform: rotate(180deg); }
  .footer__column--acc .footer__column-ul { display: none; padding-bottom: 10px; }
  .footer__column--acc.is-open .footer__column-ul { display: block; }
}

/* ---------- mobile: comfortable inner padding so text doesn't hug block/card edges ---------- */
@media (max-width: 991px) {
  /* Generic white content card: desktop pads it at min-width:992px; below that it was flush,
     so text sat on the card edge with square corners. */
  .uni-wrapper { padding: 16px; border-radius: 12px; }
  .modal-body .uni-wrapper { padding: 0; }
  /* Sticky tab bar still spans the padded card edge-to-edge. */
  .uni-wrapper .product-page-tabs,
  .uni-wrapper > .tab-content .nav-tabs { margin-left: -16px; margin-right: -16px; }

  /* Footer dense paragraphs: a little more side room than the bare 15px container. */
  .footer .footer__text,
  .footer .footer__legal { padding-left: 6px; padding-right: 6px; }

  /* Collapsed footer nav accordions read as empty blocks on mobile; their links live in the
     bottom nav (Инфо / Каталог), so drop them here. */
  .footer__column--acc { display: none; }

  /* Top utility bar is empty on mobile (its links/city are hidden) — drop the bare grey strip. */
  .top-menu { display: none; }

  /* Socials bar: keep the ВК icon, but not as a separate empty-looking grey block. */
  .footer__socials-payments { background: transparent; padding: 0 0 6px; }

  /* "Свяжись с нами" dropdown is left-anchored (258px) and overflowed the right edge on
     mobile, causing sideways scroll — right-anchor it so it opens inward. Selector is
     scoped to .cf-callblock to outrank the later base `.cf-callpop { left: 0 }`. */
  .cf-callblock .cf-callpop { left: auto; right: 0; }
  .cf-callblock .cf-callpop::before { left: auto; right: 26px; }
}

/* ---------- desktop mega-menu, ported from legacy UniShop2 .menu__level-* ---------- */
.header-menu { position: relative; }
.cf-catalog-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 1050;
  display: flex; align-items: stretch;
  width: max-content; max-width: calc(100vw - 80px);
  background: var(--menu-main-level-2-bg, #fff);
  border-radius: 0 0 var(--border-radius-1, 12px) var(--border-radius-1, 12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  overflow: hidden;
}
.cf-catalog-menu__list { list-style: none; margin: 0; padding: 0; flex: 0 0 250px; border-right: 1px solid var(--cf-line, #e1e4e7); }
.cf-catalog-menu__item { position: relative; }
.cf-catalog-menu__link {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  white-space: nowrap; font-weight: 600; font-size: 14px; text-decoration: none;
  color: var(--cf-ink, #20242a); border-bottom: 1px solid #eef0f3;
}
.cf-catalog-menu__item:last-child > .cf-catalog-menu__link { border-bottom: 0; }
.cf-catalog-menu__link:hover,
.cf-catalog-menu__item--active > .cf-catalog-menu__link { color: #fe7200; background: #fff7ef; }
.cf-catalog-menu__icon { width: 20px; text-align: center; flex: 0 0 auto; color: var(--cf-soft, #7a828c); }
.cf-catalog-menu__link:hover .cf-catalog-menu__icon,
.cf-catalog-menu__item--active .cf-catalog-menu__icon { color: #fe7200; }
.cf-catalog-menu__label { flex: 1 1 auto; }
/* chevron-right, rotated to point down at rest and right when the row is active (UniShop rail). */
.cf-catalog-menu__chevron { flex: 0 0 auto; font-size: 11px; color: #c2c7cd; transform: rotate(90deg); transition: transform .15s, color .15s; }
.cf-catalog-menu__item--active > .cf-catalog-menu__link .cf-catalog-menu__chevron { color: #fe7200; transform: none; }
.cf-catalog-menu__panel {
  display: flex; gap: 26px; align-items: flex-start;
  padding: 20px 26px; min-width: 300px; max-height: 80vh; overflow-y: auto;
}
.cf-catalog-menu__cols { flex: 1 1 auto; display: grid; grid-template-columns: repeat(var(--cf-mega-cols, 3), minmax(180px, 220px)); align-items: start; gap: 6px 30px; }
.cf-catalog-menu__banner {
  flex: 0 0 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 20px; text-decoration: none; border-radius: var(--border-radius-1, 12px); background: var(--cf-tint, #f2f3f5);
}
.cf-catalog-menu__banner-title { font-weight: 700; font-size: 20px; line-height: 1.15; color: var(--a-c, #e0662f); }
.cf-catalog-menu__banner-sub { font-weight: 700; font-size: 15px; color: var(--cf-ink, #1e2125); }
.cf-catalog-menu__banner-img { width: 100%; height: auto; max-height: 130px; object-fit: contain; }
.cf-catalog-menu__banner-btn {
  align-self: center; margin-top: 4px; padding: 10px 22px; border-radius: 999px; background: var(--a-c, #e0662f);
  color: #fff; font-weight: 600; font-size: 14px;
}
.cf-catalog-menu__banner-img { animation: cf-banner-fade .45s ease; }
@keyframes cf-banner-fade { from { opacity: 0; } to { opacity: 1; } }
.cf-catalog-menu__banner-dots { align-self: center; display: flex; gap: 6px; margin-top: 4px; }
.cf-catalog-menu__banner-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cf-line, #d7dbdf); transition: background .2s; }
.cf-catalog-menu__banner-dot.active { background: var(--a-c, #e0662f); }
@media (max-width: 1199px) { .cf-catalog-menu__banner { display: none; } }
/* Icon hangs in a fixed left gutter; the title text and the L3 links share the
   same left edge (the column's content-left), so they line up exactly. */
.cf-catalog-menu__col { margin: 0 0 14px; position: relative; padding-left: 30px; }
.cf-catalog-menu__col-title {
  display: block; margin: 0 0 8px; padding: 0; font-weight: 700; text-decoration: none; line-height: 1.3;
  color: #fe7200;
}
.cf-catalog-menu__col-title:hover { text-decoration: underline; }
.cf-catalog-menu__col-icon { position: absolute; left: 0; top: 1px; width: 24px; text-align: center; color: var(--cf-soft, #6b7178); }
.cf-catalog-menu__thumb { width: 22px; height: 22px; object-fit: contain; border-radius: 4px; vertical-align: middle; }
/* L2 header photo: a defined tile so the white-background product thumb is legible */
.cf-catalog-menu__col:has(.cf-catalog-menu__thumb) { padding-left: 44px; }
.cf-catalog-menu__col-icon.cf-catalog-menu__thumb { width: 34px; height: 34px; padding: 2px; background: #fff; border: 1px solid var(--cf-line, #e1e4e7); border-radius: 6px; }
.cf-catalog-menu__col-list { list-style: none; margin: 0; padding: 0; }
.cf-catalog-menu__l3 {
  display: block; padding: 3px 0; font-size: .9em; line-height: 1.35; text-decoration: none;
  color: var(--menu-main-level-3-c, #6b7178);
}
.cf-catalog-menu__l3:hover { color: #fe7200; }

/* ---------- mobile catalog drill-down (second level of cf-mnav) ---------- */
@media (max-width: 991px) {
  .cf-mnav__panel-title { display: flex; align-items: center; gap: 10px; }
  .cf-mnav__back { color: var(--a-c, #fe7200); cursor: pointer; }
  .cf-mnav__cat-btn {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 18px;
    color: #444; background: none; border: none; text-align: left;
  }
  .cf-mnav__cat-btn .cf-mnav__chevron { margin-left: auto; color: var(--a-c, #fe7200); }
}

/* ---------- empty category notice ---------- */
.cf-empty-category {
  padding: 48px 24px; text-align: center; color: var(--cf-soft, #6b7178);
  font-size: 16px; background: var(--cf-tint, #f2f3f5); border-radius: var(--border-radius-1, 12px);
}

/* ---------- brand logo (text mark) ---------- */
/* Scoped under .header-logo to outrank the theme's `.header-logo span` (em-based, fluid). */
.cf-brand-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; line-height: 1; max-width: 100%; }
.header-logo .cf-brand-logo__name {
  font-family: 'Oswald', 'Geologica', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: .055em;
  text-transform: uppercase; color: var(--cf-ink, #20242a); display: inline-flex; align-items: center; white-space: nowrap; gap: .1em;
}
.header-logo .cf-brand-logo__mark { width: .62em; height: .62em; flex: 0 0 auto; color: inherit; display: inline-flex; margin: 0 .12em; }
.header-logo .cf-brand-logo__mark svg { width: 100%; height: 100%; display: block; }
.header-logo .cf-brand-logo__subrow { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; max-width: 100%; color: var(--cf-ink, #20242a); }
.header-logo .cf-brand-logo__hr { flex: 0 0 11px; height: 2px; background: currentColor; opacity: .34; }
/* Guard against horizontal page scroll: clip the page content area. Applied to `main`
   (not html/body — that breaks position:sticky) so the sticky header/footer are unaffected.
   Real layout bugs are fixed at source; this only absorbs off-screen decorations (hidden tooltips). */
main { overflow-x: clip; }

/* Orange «Каталог» button everywhere (home matched to the default accent). */
.header-menu__btn.header-menu__btn--home { background: #fe7200; }
/* …turns dark while the mega-menu is open (the .show state), on every route. */
.header-menu__btn.show, .header-menu__btn.header-menu__btn--home.show { background: #20242a; }

/* Slimmer footer socials bar (payments block removed → no need for tall padding). */
.footer__socials-payments { padding: 7px 0; }

/* Bigger «Каталог» button, equal logo↔button↔search gaps. Logo column hugs its
   text so the gaps become fixed px (independent of the responsive logo column). */
@media (min-width: 992px) {
  .header-block__item-logo { flex: 0 0 auto; width: auto; max-width: none; padding-right: 0; }
  .header-block__item-menu { padding: 0 19px 0 24px; }
  .header-menu__btn { height: 42px; padding: 0 26px; font-size: 15px; border-radius: 11px; }
  .header-menu__btn .header-menu__icon { font-size: 16px; }
  .header-search__category-btn, .header-search__input { height: 42px; }
  .header-block__item-account, .header-block__item-wishlist, .header-block__item-cart { font-size: 14px; }
  .header-block__item-caption { margin-top: 2px; line-height: 1.1; }
  .cf-callblock__num { font-size: 14px; }
  .cf-callblock__trigger { margin-top: 1px; padding-top: 2px; padding-bottom: 2px; font-size: 12px; }
}

/* Cart takes the CTA accent once it holds items; wishlist heart stays grey (badge is orange). */
.header-cart:not(.is-empty) .header-cart__icon { color: var(--cf-cta); }
.header-wishlist:not(.is-empty) .header-wishlist__icon { color: #9aa0a6; }
/* Signed-in account glyph → grey (same as the empty-state icons). */
.header-account__icon.is-auth { color: #9aa0a6; }
/* Count badge: top-right circle with a white ring so it detaches from the same-colour glyph. */
.header-cart__total-items, .header-wishlist__total-items {
  position: absolute; top: -5px; right: -8px; left: auto; bottom: auto;
  display: flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--cf-cta); color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
  border-radius: 100%; box-shadow: 0 0 0 2px #F7A83D; transform: none; pointer-events: none; }
/* Wishlist heart glyph sits higher than the cart bag; nudge its badge to the cart badge's level. */
.header-wishlist__total-items { top: 6px; }
.header-logo .cf-brand-logo__tagline { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; color: var(--cf-ink, #20242a); opacity: .9; line-height: 1; white-space: nowrap; }
@media (max-width: 767px) {
  .header-logo .cf-brand-logo__name { font-size: 20px; letter-spacing: .02em; }
  .header-logo .cf-brand-logo__tagline { font-size: 8px; letter-spacing: .1em; }
  /* Phone block was overflowing the viewport on ≤360px screens (nowrap number + 30px pad). */
  .header-phones.has-addit { padding-right: 0; }
  .header-phones__main { font-size: 11px; }
}

/* ---------- header tweaks (account moved into header block, neutral colors) ---------- */
/* Top-bar links: black instead of the accent orange (accent only on hover). */
.top-menu .top-links__a { color: var(--cf-ink, #1e2125); }
.top-menu .top-links__a:hover { color: var(--a-c, #e0662f); }
/* free-delivery badge — quiet green-tinted pill, its own line */
.cf-freeship { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 3px 9px; border-radius: 6px;
  background: #eef7ea; color: #3e8e2a; font-size: 12px; font-weight: 600; line-height: 1.2; }
.cf-freeship i { font-size: 11px; }

/* copyable article number: a GitHub-style code pill, click anywhere to copy */
/* border via inset box-shadow — the theme forces `button { border: none !important }` */
.cf-sku { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 6px;
  background: var(--cf-wash, #f2f4f6); box-shadow: inset 0 0 0 1px var(--cf-line, #e1e4e7); color: var(--cf-ink, #1e2125);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1; cursor: pointer;
  transition: box-shadow .15s, background .15s; }
.cf-sku__toast { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%) translateY(4px); margin-bottom: 7px;
  padding: 4px 9px; border-radius: 5px; background: #1e2125; color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .12s, transform .12s; }
.cf-sku__toast::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 4px solid transparent; border-top-color: #1e2125; }
.cf-sku.is-copied .cf-sku__toast { opacity: 1; transform: translateX(-50%) translateY(0); }
.cf-sku:hover { box-shadow: inset 0 0 0 1px var(--cf-acc, #1257a8); background: #edf1f6; }
.cf-sku i { color: var(--cf-soft, #9aa0a6); font-size: 13px; }
.cf-sku:hover i { color: var(--cf-acc, #1257a8); }
.cf-sku.is-copied { box-shadow: inset 0 0 0 1px #58ae43; background: #eef7ea; }
.cf-sku.is-copied i { color: #58ae43; }

/* city selector (mock): first element of the top bar, left of the top links (Ozon-style).
   Desktop-only so it never re-overrides the mobile hide (@≤991px) below it in the cascade. */
@media (min-width: 992px) { .top-menu__links { display: flex; align-items: center; } }
.cf-city { margin-right: 20px; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0 2px; font: inherit; font-size: 12.5px; color: var(--cf-soft, #6b7178); cursor: pointer; }
.cf-city i { color: var(--cf-ink, #1e2125); font-size: 14px; }
.cf-city__name { color: var(--cf-ink, #1e2125); font-weight: 700; border-bottom: 1px dashed #9aa0a6; }
.cf-city:hover .cf-city__name { border-bottom-color: var(--cf-ink, #1e2125); }
/* Search category/filter icon: black instead of accent. */
.header-search__category-icon { color: var(--cf-ink, #1e2125); }
/* Account is now a header-block item (icon + caption + dropdown), between contacts and wishlist. */
.header-account__btn { display: inline-flex; padding: 0; background: none; border: 0; cursor: pointer; }
/* Wishlist / cart icons are grey while empty; they regain the accent color once there are items. */
.header-wishlist.is-empty .header-wishlist__icon,
.header-cart.is-empty .header-cart__icon { color: #9aa0a6; }

/* Catalog sort — pill row (active filled with the brand accent). Overrides the legacy
   text-link + up/down-arrow styling in stylesheet.css by later load order. */
.sorts-block { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 18px; }
.sorts-block__label { color: var(--cf-soft, #6b7178); font-size: 13px; white-space: nowrap; }
.sorts-block__sorts { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 1 auto; }
.sorts-block__span {
  margin: 0;
  appearance: none;
  background: var(--cf-tint, #f2f3f5);
  color: var(--cf-ink, #1e2125);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 9px 15px;
  border-radius: 999px;
  /* box-shadow, not border: the theme forces `button { border: none !important }`. */
  box-shadow: inset 0 0 0 1px var(--cf-line, #e1e4e7);
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.sorts-block__span:hover { color: var(--a-c, #e0662f); box-shadow: inset 0 0 0 1px var(--a-c, #e0662f); }
/* Selected sort stays quiet (grey), so it doesn't pull attention like the accent. */
.sorts-block__span.selected {
  background: #e2e5ea;
  color: #4a4f56;
  font-weight: 600;
  box-shadow: none;
}
.sorts-block__span.selected:hover { color: #4a4f56; box-shadow: none; }
.sorts-block__span.selected::after { content: none; }

/* Product page: delivery line in place of the stock label (matches the listing card). */
.cf-purchase__delivery { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; color: var(--cf-ink, #1e2125); }
.cf-purchase__delivery i { color: #58ae43; margin-top: 3px; }
.cf-purchase__delivery b { color: #58ae43; }
.cf-purchase__delivery-text { display: flex; flex-direction: column; line-height: 1.35; }
.cf-purchase__delivery-when { font-weight: 600; }

/* Article row: article spans the photo+middle columns, share sits in the price column
   (col 3) at its left edge — same grid as .cf-product-top so it lines up above the price. */
.breadcrumb-h1__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.breadcrumb-h1__head h1 { margin: 0; }
.breadcrumb-h1__head .product-page__share-btn {
  flex: none;
  display: inline-flex; align-items: center; padding: 4px 8px;
  background: none; color: var(--cf-soft, #6b7178); font-size: 18px;
  transition: color .15s;
}
.breadcrumb-h1__head .product-page__share-btn:hover { color: var(--a-c, #e0662f); }

/* Favorite heart next to В корзину (Ozon-style square icon button). */
.product-page__fav-btn {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; padding: 0 12px;
  background: var(--cf-tint, #f2f3f5); color: var(--cf-ink, #1e2125);
  border-radius: 10px; box-shadow: inset 0 0 0 1px var(--cf-line, #e1e4e7);
  cursor: pointer; font-size: 18px;
  transition: color .15s, box-shadow .15s;
}
.product-page__fav-btn:hover { color: var(--a-c, #e0662f); box-shadow: inset 0 0 0 1px var(--a-c, #e0662f); }
.product-page__fav-btn .fas.fa-heart { color: var(--a-c, #e0662f); }
/* Keep В корзину + heart together on one line (qty wraps above them). */
.product-page__cart .cf-buy-row { display: flex; gap: 10px; align-items: stretch; flex: 1 1 100%; }
.product-page__cart .cf-buy-row .product-page__add-to-cart { flex: 1; margin: 0; height: 48px; }
/* In-cart: stepper fills the row like the В корзину button, so the heart keeps its place. */
.product-page__cart .cf-buy-row .cf-cart-stepper { flex: 1; }
.product-page__cart .cf-buy-row .cf-cart-stepper__qty { flex: 1; }
/* Buy-box V1 polish (in-stock product purchase): larger, softer CTA + matching heart & 1-click. */
.cf-purchase .product-page__cart .cf-buy-row .product-page__add-to-cart { height: 50px; border-radius: 12px; font-weight: 800; font-size: 15px; box-shadow: 0 6px 16px rgba(232,115,12,.28); }
.cf-purchase .product-page__cart .cf-buy-row .product-page__add-to-cart:disabled { box-shadow: none; }
.cf-purchase .product-page__cart .cf-buy-row .product-page__fav-btn { min-width: 50px; width: 50px; height: 50px; border-radius: 12px; font-size: 19px; }
.cf-purchase .product-page__cart ~ .product-page__quick-order { width: 100%; height: 44px; border-radius: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
/* Reserved-height status slot so its appearance never shifts the buy row. */
.cf-cart-status { display: flex; align-items: center; gap: 6px; min-height: 18px; margin: 0 0 6px; color: var(--cf-soft, #6b7178); font-size: 13px; font-weight: 600; }
.cf-cart-status .fa-check { font-size: 12px; }

/* Sticky purchase bar (replicates the original): desktop under the header, mobile above cf-mnav. */
.cf-buybar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 1039;
  background: #edeff2; box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
/* Desktop: glued to the header's bottom edge (rendered inside <header>). No JS. */
@media (min-width: 992px) {
  .cf-buybar { position: absolute; top: 100%; }
}
.cf-buybar.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cf-buybar__row { display: flex; align-items: center; gap: 20px; height: 60px; }
.cf-buybar__name { flex: 1 1 auto; min-width: 0; font-weight: 600; font-size: 16px; color: var(--cf-ink, #1e2125); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cf-buybar__price { flex: 0 0 auto; font-weight: 700; font-size: 22px; color: var(--cf-ink, #1e2125); }
.cf-buybar__price .price-new { color: var(--price-new-c, #ff0000); }
.cf-buybar__price .price-old { margin-left: 8px; font-size: 14px; font-weight: 400; color: #888; text-decoration: line-through; }
.cf-buybar__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px; background: var(--cf-cta); color: var(--cf-cta-c); border: none; border-radius: 10px; font-weight: 600; cursor: pointer; }
.cf-buybar__btn:hover:not(:disabled) { background: var(--cf-cta-hi); }
.cf-buybar__btn:disabled { background: #e5e5e5; color: #999; cursor: not-allowed; }
@media (max-width: 991px) {
  .cf-buybar { top: auto; bottom: calc(53px + env(safe-area-inset-bottom, 0px)); transform: translateY(150%); box-shadow: 0 -4px 10px rgba(0, 0, 0, .15); }
  .cf-buybar.show { transform: translateY(0); }
  .cf-buybar__row { height: 56px; gap: 12px; padding: 0 15px; }
  .cf-buybar__name { display: none; }
  .cf-buybar__price { flex: 1 1 auto; font-size: 18px; }
  .cf-buybar__btn { height: 40px; padding: 0 18px; }
}

/* City picker modal */
.cf-city { cursor: pointer; }
.cf-city-modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 8vh 16px 16px;
}
.cf-city-modal__box {
  background: var(--cf-surface, #fff); color: inherit;
  width: 100%; max-width: 480px; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; max-height: 70vh; overflow: hidden;
}
.cf-city-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: 17px;
}
.cf-city-modal__close {
  border: none; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; opacity: .6;
}
.cf-city-modal__close:hover { opacity: 1; }
.cf-city-modal__search {
  margin: 14px 18px; padding: 10px 14px; font-size: 15px;
  border: 1px solid rgba(0, 0, 0, .15); border-radius: 8px; outline: none;
}
.cf-city-modal__search:focus { border-color: var(--cf-accent, #8a6d3b); }
.cf-city-modal__list { list-style: none; margin: 0; padding: 0 8px 12px; overflow-y: auto; }
.cf-city-modal__item {
  width: 100%; text-align: left; border: none; background: none; cursor: pointer;
  padding: 10px 12px; border-radius: 8px; font-size: 15px; color: inherit;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cf-city-modal__item:hover { background: rgba(0, 0, 0, .05); }
.cf-city-modal__item.active { background: var(--cf-accent, #8a6d3b); color: #fff; }
.cf-city-modal__tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  opacity: .6; border: 1px solid currentColor; border-radius: 6px; padding: 1px 6px;
}
.cf-city-modal__empty { padding: 16px 12px; opacity: .6; text-align: center; }

/* Out-of-stock product page: gray plaque + gray "Смотреть аналоги" button */
.cf-purchase__stock.out {
  display: inline-flex; align-items: center; gap: 8px;
  background: #eceded; color: #6b7280;
  border: 1px solid #dcdfe1; border-radius: 8px;
  padding: 8px 14px; font-weight: 600; font-size: 14px;
}
.cf-purchase__stock.out i { opacity: .8; }
.cf-price-tip { vertical-align: middle; color: var(--cf-acc, #1257A8); cursor: help; }
.cf-price-tip > i { font-size: 16px; }
.product-page__add-to-cart.cf-btn-analogs {
  background: #8a9099; border-color: #8a9099; color: #fff;
}
.product-page__add-to-cart.cf-btn-analogs:hover {
  background: #767c85; border-color: #767c85;
}

/* Listing card: out-of-stock gray plaque + "Аналоги" button */
.cf-card-stock.out {
  display: inline-flex; align-items: center; gap: 6px;
  /* sits at the same level as the in-stock freeship badge (which follows the 2-line delivery) */
  margin-top: 46px;
  background: #eceded; color: #6b7280;
  border: 1px solid #dcdfe1; border-radius: 6px;
  padding: 4px 9px; font-weight: 600; font-size: 12px; line-height: 1.2;
}
.cf-card-stock.out i { opacity: .8; font-size: 11px; }
.cf-card-analogs {
  display: inline-flex; align-items: center; gap: 6px;
  background: #8a9099; color: #fff; border-radius: 6px;
  padding: 7px 12px; font-size: 13px; font-weight: 600;
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
.cf-card-analogs:hover { background: #767c85; color: #fff; }

/* Product spec tab: visual group separation (all sizes) */
#tab-specification .cf-spec-group + .cf-spec-group{margin-top:26px}
#tab-specification .cf-spec-group .heading{margin:0 0 14px}
/* Tighter label→value gap only on tablet/desktop; mobile keeps its stacked layout */
@media (min-width:576px){
  #tab-specification .product-data__item{margin:0 0 10px}
  #tab-specification .product-data__item-div{width:340px;min-width:0;max-width:45%}
}

/* Video reviews block (YouTube / VK), under the short specs in the product mid column */
.cf-videos { margin-top: 18px; }
.cf-videos__title { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.cf-videos__tabs { display: flex; gap: 8px; margin-bottom: 10px; }
.cf-videos__tab { padding: 6px 14px; border: 1px solid #e3e6ea; border-radius: 8px; background: #f5f6f8; cursor: pointer; font-size: 13px; line-height: 1; }
.cf-videos__tab.is-active { background: var(--a-c, #2b5cff); color: #fff; border-color: transparent; }
.cf-videos__player { position: relative; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.cf-videos__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cf-videos__list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.cf-videos__item { padding: 7px 10px; border: 1px solid #e3e6ea; border-radius: 6px; background: #fff; cursor: pointer; font-size: 12px; text-align: left; }
.cf-videos__item.is-active { border-color: var(--a-c, #2b5cff); color: var(--a-c, #2b5cff); font-weight: 600; }

/* Info tooltip for spec rows (e.g. production country note) */
.cf-tip { position: relative; display: inline-flex; align-items: center; margin-left: 6px; color: #8a94a6; cursor: help; }
.cf-tip > i { font-size: 13px; }
.cf-tip__box { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; max-width: 70vw; background: #2a2f3a; color: #fff; padding: 8px 10px; border-radius: 8px; font-size: 12px; line-height: 1.4; box-shadow: 0 6px 20px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 20; pointer-events: none; white-space: normal; }
.cf-tip__box::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #2a2f3a; }
.cf-tip:hover .cf-tip__box, .cf-tip:focus .cf-tip__box, .cf-tip:focus-within .cf-tip__box { opacity: 1; visibility: visible; }

/* Cookie consent — 1:1 with кастом-форт.рф: translucent dark bar, white text, orange link + button */
.cf-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: rgba(51,51,51,.8); animation: cf-cookie-in .28s ease; }
.cf-cookie__in { max-width: 1310px; margin: 0 auto; padding: 15px; display: flex; align-items: center; gap: 20px; }
.cf-cookie__text { margin: 0; flex: 1 1 auto; font-size: 13.5px; line-height: 1.45; color: #fff; }
.cf-cookie__text a { color: #FE7200; font-weight: 600; white-space: nowrap; text-decoration: none; }
.cf-cookie__text a:hover { text-decoration: underline; }
.cf-cookie__btn { flex: 0 0 auto; height: 32px; padding: 0 18px; border: 0; border-radius: 12px; background: #FE7200; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
.cf-cookie__btn:hover { background: #e56800; }
@keyframes cf-cookie-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cf-cookie { animation: none; } }
@media (max-width: 991px) { .cf-cookie { bottom: 60px; } .cf-cookie__in { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; } .cf-cookie__btn { width: 100%; } }

/* ============================================================
   V3 storefront pages — Auth, Cart, Order success
   ============================================================ */
:root{ --v3-cta:var(--cf-cta,#E8730C); --v3-cta-ink:#c85f05; --v3-acc:var(--cf-acc,#1257A8); --v3-acc-ink:#0e447f; --v3-ok:#17864a; }
.v3-num{font-variant-numeric:tabular-nums}
.v3-inp{width:100%;height:50px;border:1.5px solid var(--cf-line,#e1e4e7);border-radius:12px;background:#fff;padding:0 14px;font:inherit;font-size:15px;color:var(--cf-ink,#1e2125);transition:border-color .15s,box-shadow .15s;outline:none}
.v3-inp::placeholder{color:#aab0b7}
.v3-inp:focus{border-color:var(--v3-acc);box-shadow:0 0 0 4px rgba(18,87,168,.12)}
.v3-inp.err{border-color:#c8442e;box-shadow:0 0 0 4px rgba(200,68,46,.1)}
.v3-field{margin-bottom:14px}
.v3-field>label{display:block;font-size:12.5px;font-weight:600;color:var(--cf-soft,#6b7178);margin:0 0 6px 2px}
.v3-field .pw{position:relative}
.v3-field .pw .tgl{position:absolute;right:8px;top:8px;height:34px;padding:0 10px;border:0;background:none;color:var(--cf-soft,#6b7178);font-size:12.5px;font-weight:600;cursor:pointer;border-radius:8px}
.v3-field .pw .tgl:hover{color:var(--v3-acc);background:rgba(18,87,168,.08)}
.v3-err{color:#c8442e;font-size:12.5px;margin:6px 2px 0}
.v3-btn{display:flex;align-items:center;justify-content:center;gap:9px;height:52px;width:100%;border:0;border-radius:12px;font-family:'Geologica',sans-serif;font-weight:700;font-size:15.5px;cursor:pointer;transition:transform .06s,background .15s;text-decoration:none}
.v3-btn:active{transform:translateY(1px)}
.v3-btn[disabled]{opacity:.6;pointer-events:none}
.v3-btn--cta{background:var(--v3-cta);color:#fff;box-shadow:0 8px 20px rgba(232,115,12,.28)}
.v3-btn--cta:hover{background:var(--v3-cta-ink);color:#fff}
.v3-btn--acc{background:var(--v3-acc);color:#fff;box-shadow:0 8px 20px rgba(18,87,168,.25)}
.v3-btn--acc:hover{background:var(--v3-acc-ink);color:#fff}
.v3-btn--ghost{background:#fff;color:var(--cf-ink,#1e2125);border:1.5px solid var(--cf-line,#e1e4e7)}
.v3-btn--ghost:hover{border-color:var(--v3-acc);color:var(--v3-acc)}
.v3-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--cf-soft,#6b7178);cursor:pointer;line-height:1.45}
.v3-check input{margin:2px 0 0;width:17px;height:17px;accent-color:var(--v3-acc);flex:0 0 auto}
.v3-check a{color:var(--v3-acc);font-weight:600}
.v3-card{background:var(--cf-surface,#fff);border:1px solid var(--cf-line,#e1e4e7);border-radius:20px;box-shadow:0 1px 2px rgba(20,25,30,.05),0 8px 24px rgba(20,25,30,.06)}
.v3-aside{background:linear-gradient(180deg,#f7f9fb,#eef2f6);border:1px solid var(--cf-line,#e1e4e7);border-radius:20px;padding:20px 22px}
.v3-aside h4{font-family:'Geologica',sans-serif;font-size:15px;margin:0 0 14px}
.v3-trow{display:flex;gap:12px;align-items:center;padding:9px 0;font-size:13px;color:var(--cf-ink,#1e2125)}
.v3-trow small{display:block;color:var(--cf-soft,#6b7178);font-weight:500;margin-top:2px}
.v3-trow .b{width:36px;height:36px;border-radius:11px;background:#fff;border:1px solid var(--cf-line,#e1e4e7);display:grid;place-items:center;color:var(--v3-acc);font-size:16px;flex:0 0 auto}
.v3-pays{display:flex;gap:8px;justify-content:center;margin-top:14px}
.v3-pay{height:26px;padding:0 10px;border-radius:6px;background:#fff;border:1px solid var(--cf-line,#e1e4e7);display:grid;place-items:center;font-size:11px;font-weight:800;color:var(--cf-soft,#6b7178)}

/* ---- Auth (login / register) ---- */
.cf-au{display:grid;grid-template-columns:1fr 330px;gap:0;overflow:hidden}
.cf-au__main{padding:34px 38px}
.cf-au__main h2{font-family:'Geologica',sans-serif;font-size:24px;margin:0 0 4px}
.cf-au__sub{color:var(--cf-soft,#6b7178);font-size:13.5px;margin:0 0 22px}
.cf-au__row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cf-au__between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:2px 0 18px}
.cf-au__aside{border-left:1px solid var(--cf-line,#e1e4e7);background:linear-gradient(180deg,#f7f9fb,#eef2f6);padding:32px 28px}
.cf-au__aside h4{font-family:'Geologica',sans-serif;font-size:15px;margin:0 0 16px}
.cf-au__guest{margin-top:8px;padding:14px;border:1.5px dashed var(--cf-line,#e1e4e7);border-radius:12px;background:#fbfcfd;font-size:13px;color:var(--cf-soft,#6b7178)}
.cf-au__guest a{color:var(--v3-acc);font-weight:600}
.cf-au__switch{text-align:center;font-size:13px;color:var(--cf-soft,#6b7178);margin-top:16px}
.cf-au__switch a{color:var(--v3-acc);font-weight:600}
@media(max-width:768px){.cf-au{grid-template-columns:1fr}.cf-au__aside{border-left:0;border-top:1px solid var(--cf-line,#e1e4e7)}.cf-au__main{padding:26px 22px}.cf-au__row2{grid-template-columns:1fr}}

/* ---- Cart ---- */
.cf-ct{display:grid;grid-template-columns:1fr 372px;gap:22px;align-items:start}
.cf-ct__pad{padding:6px 20px}
.cf-ctl__head{display:grid;grid-template-columns:40px 1fr 118px 108px 26px;gap:14px;align-items:center;padding:2px 0 10px;border-bottom:1px solid var(--cf-line,#e1e4e7);font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--cf-soft,#6b7178);font-weight:700}
.cf-ctl__hc{text-align:center} .cf-ctl__hr{text-align:right}
.cf-ctl{display:grid;grid-template-columns:40px 1fr 118px 108px 26px;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--cf-line,#e1e4e7)}
.cf-ctl:last-child{border-bottom:0}
.cf-ctl__img{width:40px;height:40px;border-radius:9px;border:1px solid var(--cf-line,#e1e4e7);background:linear-gradient(150deg,#f2f4f7,#e7ebef);overflow:hidden;display:grid;place-items:center}
.cf-ctl__img img{width:100%;height:100%;object-fit:contain}
.cf-ctl__main{min-width:0}
.cf-ctl__name{font-weight:600;font-size:13.5px;line-height:1.3;color:var(--cf-ink,#1e2125);text-decoration:none}
.cf-ctl__name:hover{color:var(--v3-acc)}
.cf-ctl__attrs{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.cf-ctl__chip{font-size:11px;color:var(--cf-soft,#6b7178);background:var(--cf-ground,#eceef0);border-radius:999px;padding:2px 8px}
.cf-ctl .cf-step{justify-self:center}
.cf-ctl__price{font-family:'Geologica',sans-serif;font-weight:700;font-size:15px;white-space:nowrap;text-align:right}
.cf-ctl__price small{display:block;text-align:right;font-family:'Montserrat',sans-serif;font-weight:600;font-size:11.5px;color:#aab0b7}
.cf-ctl__old{text-decoration:line-through}
.cf-ctl__del{border:0;background:none;color:var(--cf-soft,#6b7178);font-size:14px;cursor:pointer;padding:0;justify-self:center}
.cf-ctl__del:hover{color:#c8442e}
@media(max-width:560px){
  .cf-ctl__head{display:none}
  .cf-ctl{grid-template-columns:40px 1fr auto;row-gap:9px}
  .cf-ctl__price{grid-column:3;grid-row:1;align-self:center}
  .cf-ctl .cf-step{grid-column:2;grid-row:2;justify-self:start}
  .cf-ctl__del{grid-column:3;grid-row:2;justify-self:end}
}
.cf-step{display:inline-flex;align-items:center;border:1.5px solid var(--cf-line,#e1e4e7);border-radius:11px;overflow:hidden}
.cf-step button{width:34px;height:38px;border:0;background:#fff;font-size:16px;color:var(--v3-acc);cursor:pointer;line-height:1;display:grid;place-items:center}
.cf-step button:hover{background:rgba(18,87,168,.08)} .cf-step button[disabled]{color:#c3c8ce;pointer-events:none}
.cf-step input{width:42px;height:38px;border:0;text-align:center;font:inherit;font-weight:700;color:var(--cf-ink,#1e2125);outline:none}
.cf-ct__bar{height:6px;border-radius:999px;background:var(--cf-ground,#eceef0);overflow:hidden}
.cf-ct__bar i{display:block;height:100%;background:linear-gradient(90deg,var(--v3-ok),#2bb673);border-radius:999px;transition:width .4s}
.cf-ct__promo{display:flex;gap:8px}
.cf-ct__promo input{flex:1;height:44px;border:1.5px solid var(--cf-line,#e1e4e7);border-radius:11px;padding:0 14px;font:inherit;font-size:14px;background:var(--cf-surface,#fff);color:var(--cf-ink,#1e2125);outline:none}
.cf-ct__promo input:focus{border-color:var(--v3-acc);box-shadow:0 0 0 4px rgba(18,87,168,.12)}
.cf-ct__promo button{height:44px;padding:0 18px;border:1.5px solid var(--cf-line,#e1e4e7);background:var(--cf-surface,#fff);border-radius:11px;font-family:'Geologica',sans-serif;font-weight:700;font-size:14px;color:var(--cf-ink,#1e2125);cursor:pointer;white-space:nowrap}
.cf-ct__promo button:hover{border-color:var(--v3-acc);color:var(--v3-acc)}
.cf-ct__promo--sum{margin:14px 0}
.cf-promo-applied{display:flex;align-items:center;gap:8px;margin:14px 0}
.cf-promo-applied>span{flex:1;display:flex;flex-direction:column;line-height:1.25}
.cf-promo-code{font-size:12px;font-weight:700;color:var(--cf-muted,#8a94a3);letter-spacing:.3px}
.cf-promo-remove{border:none;background:transparent;color:var(--cf-muted,#8a94a3);font-size:20px;line-height:1;cursor:pointer;padding:0 2px}
.cf-promo-remove:hover{color:#e23b3b}
.cf-promo-remove:disabled{opacity:.4;cursor:default}
.cf-ct__back{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-weight:600;font-size:14px;color:var(--cf-ink,#1e2125);text-decoration:none}
.cf-ct__back:hover{color:#000}
/* /cart & /checkout: accent chrome in the header goes monochrome black */
.route-mono .header-logo .cf-brand-logo__dot{background:var(--cf-ink,#1e2125)}
.route-mono .header-cart:not(.is-empty) .header-cart__icon,
.route-mono .header-wishlist:not(.is-empty) .header-wishlist__icon,
.route-mono .header-account__icon,
.route-mono .cf-callblock__trigger{color:var(--cf-ink,#1e2125)}
.route-mono .cf-callblock__trigger:hover{color:#000}
.route-mono .header-cart__total-items,
.route-mono .header-wishlist__total-items{background:var(--cf-ink,#1e2125);box-shadow:0 0 0 2px #fff}
/* links go black, decorative brand colour (social chips) goes monochrome */
.route-mono .breadcrumb li a{color:var(--cf-ink,#1e2125)}
.route-mono .breadcrumb li a:hover{color:#000}
.route-mono .cf-callblock__num,
.route-mono .header-phones__main{color:var(--cf-ink,#1e2125)}
.route-mono .cf-callblock__num:hover,
.route-mono .header-phones__main:hover{color:#000}
.route-mono .footer__socials-icon{background:var(--cf-ink,#1e2125)}
.route-mono .fly-block__contacts{background:var(--cf-ink,#1e2125)}
.route-mono .footer__payments-icon{filter:grayscale(1)}

.cf-ct-sum{position:sticky;top:18px}
.cf-ct-sum__rows{padding:20px 22px 22px}
.cf-ct-sum__r{display:flex;justify-content:space-between;align-items:baseline;padding:8px 0;font-size:14px;color:var(--cf-soft,#6b7178)}
.cf-ct-sum__r b{font-family:'Geologica',sans-serif;color:var(--cf-ink,#1e2125);font-weight:700}
.cf-ct-sum__r b.is-free{color:var(--v3-ok,#17864a)}
.cf-ct-sum__r--disc b{color:var(--v3-ok,#17864a)}
.cf-ct-sum__hr{height:1px;background:var(--cf-line,#e1e4e7);margin:8px 0 14px}
.cf-ct-sum__total{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:16px}
.cf-ct-sum__total span{font-weight:700;font-size:15px;color:var(--cf-ink,#1e2125)}
.cf-ct-sum__total b{font-family:'Geologica',sans-serif;font-size:25px;font-weight:800;color:var(--cf-ink,#1e2125)}
.cf-ct-sum__cta{display:block;width:100%;text-align:center;background:var(--v3-cta,#E8730C);color:#fff;border-radius:12px;padding:14px;box-shadow:0 8px 20px rgba(232,115,12,.28);
  font-family:'Geologica',sans-serif;font-weight:700;font-size:16px;text-decoration:none;transition:background .15s}
.cf-ct-sum__cta:hover{background:var(--v3-cta-ink,#c85f05);color:#fff}
.cf-ct-sum__cta span{display:block;font-family:'Montserrat',sans-serif;font-weight:600;font-size:12px;opacity:.92;margin-top:3px}
@media(max-width:900px){.cf-ct{grid-template-columns:minmax(0,1fr)}.cf-ct>.v3-card{min-width:0}.cf-ct-sum{position:static}}

/* ---- Order success ---- */
.cf-ok__hero{background:radial-gradient(70% 120% at 50% -20%,rgba(23,134,74,.10),transparent 60%),var(--cf-surface,#fff);border:1px solid var(--cf-line,#e1e4e7);border-radius:24px;box-shadow:0 1px 2px rgba(20,25,30,.05),0 8px 24px rgba(20,25,30,.06);padding:38px 30px 34px;text-align:center}
.cf-ok__badge{width:76px;height:76px;border-radius:50%;background:#e7f4ec;border:2px solid rgba(23,134,74,.35);display:grid;place-items:center;margin:0 auto 18px;animation:cf-ok-pop .4s ease}
.cf-ok__badge svg{width:38px;height:38px}
@keyframes cf-ok-pop{0%{transform:scale(.6);opacity:0}60%{transform:scale(1.08)}100%{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.cf-ok__badge{animation:none}}
.cf-ok__hero h1{font-family:'Geologica',sans-serif;font-size:28px;margin:0 0 8px}
.cf-ok__hero p{color:var(--cf-soft,#6b7178);font-size:15px;margin:0 auto;max-width:52ch;line-height:1.55}
.cf-ok__no{display:inline-flex;align-items:center;gap:8px;margin-top:16px;background:var(--cf-ground,#eceef0);border-radius:999px;padding:8px 16px;font-weight:700;font-size:14px}
.cf-ok__grid{display:grid;grid-template-columns:1fr 340px;gap:22px;align-items:start;margin-top:22px}
.cf-ok__card{background:var(--cf-surface,#fff);border:1px solid var(--cf-line,#e1e4e7);border-radius:20px;box-shadow:0 1px 2px rgba(20,25,30,.05),0 8px 24px rgba(20,25,30,.06);padding:22px 24px}
.cf-ok__card h3{font-family:'Geologica',sans-serif;font-size:16px;margin:0 0 16px;display:flex;align-items:center;gap:9px}
.cf-oi{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--cf-line,#e1e4e7)}
.cf-oi:last-of-type{border-bottom:0}
.cf-oi .nm{font-size:14px;font-weight:600;line-height:1.35}
.cf-oi .q{color:var(--cf-soft,#6b7178);font-size:12.5px;margin-top:3px}
.cf-oi .p{margin-left:auto;font-family:'Geologica',sans-serif;font-weight:700;font-size:15px;white-space:nowrap}
.cf-ok__tot{display:flex;justify-content:space-between;align-items:baseline;margin-top:16px;padding-top:16px;border-top:1px solid var(--cf-line,#e1e4e7)}
.cf-ok__tot .big{font-family:'Geologica',sans-serif;font-weight:800;font-size:24px}
.cf-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}
.cf-facts .k{font-size:12px;color:var(--cf-soft,#6b7178);font-weight:600;margin-bottom:3px}
.cf-facts .v{font-size:14px;font-weight:600;line-height:1.4}
.cf-facts .v small{display:block;color:var(--cf-soft,#6b7178);font-weight:500;font-size:12.5px;margin-top:2px}
.cf-tl{padding-left:6px}
.cf-tl .st{display:flex;gap:14px;position:relative;padding-bottom:20px}
.cf-tl .st:last-child{padding-bottom:0}
.cf-tl .st::before{content:"";position:absolute;left:11px;top:26px;bottom:-2px;width:2px;background:var(--cf-line,#e1e4e7)}
.cf-tl .st:last-child::before{display:none}
.cf-tl .dot{width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid var(--cf-line,#e1e4e7);display:grid;place-items:center;font-size:12px;flex:0 0 auto;z-index:1;color:var(--cf-soft,#6b7178)}
.cf-tl .st.done .dot{background:var(--v3-ok);border-color:var(--v3-ok);color:#fff}
.cf-tl .st.now .dot{background:var(--v3-acc);border-color:var(--v3-acc);color:#fff;box-shadow:0 0 0 5px rgba(18,87,168,.14)}
.cf-tl .lb{font-size:13.5px;font-weight:600;padding-top:2px}
.cf-tl .lb small{display:block;color:var(--cf-soft,#6b7178);font-weight:500;font-size:12px;margin-top:2px}
.cf-tl .st.todo .lb{color:var(--cf-soft,#6b7178)}
.cf-ok__support{margin-top:16px;font-size:13px;color:var(--cf-soft,#6b7178)}
.cf-ok__support b{color:var(--cf-ink,#1e2125);font-family:'Geologica',sans-serif}
.cf-ok__support a{color:var(--v3-acc);font-weight:600}
.cf-ok__law{background:#fff8f1;border:1px solid #f6dcc1;border-radius:14px;padding:13px 16px;font-size:13px;color:#8a5220;display:flex;gap:10px}
.cf-ok__dl{margin:0;display:flex;flex-direction:column}
.cf-ok__row{display:flex;gap:14px;padding:9px 0}
.cf-ok__row + .cf-ok__row{border-top:1px dashed var(--cf-line,#e1e4e7)}
.cf-ok__row dt{flex:0 0 96px;color:var(--cf-soft,#6b7178);font-size:13px;margin:0;padding-top:1px}
.cf-ok__row dd{margin:0;font-weight:400;font-size:14.5px;line-height:1.4}
.cf-ok__soon{color:#58ae43}
.cf-ok__single{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:14px}
.cf-ok__single--flat{gap:14px}
.cf-ok__single--flat .cf-ok__hero,.cf-ok__single--flat .cf-ok__card{border:0;box-shadow:none;background:none;padding:0;border-radius:0}
.cf-ok__single--flat .cf-ok__hero{padding:0}
.cf-ok__single--flat .cf-ok__hero h1{font-size:20px;margin:0 0 4px}
.cf-ok__single--flat .cf-ok__hero p{font-size:13.5px;line-height:1.4}
.cf-ok__single--flat .cf-ok__badge{width:50px;height:50px;margin-bottom:9px}
.cf-ok__single--flat .cf-ok__badge svg{width:26px;height:26px}
.cf-ok__single--flat .cf-ok__card{border-top:1px solid var(--cf-line,#e1e4e7);padding-top:14px}
.cf-qo__done{display:flex;flex-direction:column;gap:22px}
.cf-qo__done .cf-qo__submit{width:auto;align-self:center;min-width:200px;padding:0 40px}
.cf-ok__hr{height:1px;background:var(--cf-line,#e1e4e7);margin:18px 0}
.cf-ok__col{display:flex;flex-direction:column;gap:18px;min-width:0}
.cf-ok__recip{display:flex;flex-direction:column;gap:6px}
.cf-ok__recip-name{font-weight:700;font-size:15.5px;font-family:'Geologica',sans-serif}
.cf-ok__recip-phone{font-weight:600;font-size:15px;color:var(--cf-ink,#1e2125)}
.cf-ok__card .cf-order-status{display:inline-block;margin-bottom:16px;font-size:12.5px}
.cf-ok__card .v3-btn--cta{background:var(--cf-acc,#1257A8);box-shadow:0 8px 20px rgba(18,87,168,.28)}
.cf-ok__card .v3-btn--cta:hover{background:#0f4a90;color:#fff}
.cf-ok__social{background:var(--cf-surface,#fff);border:1px solid var(--cf-line,#e1e4e7);border-radius:20px;box-shadow:0 1px 2px rgba(20,25,30,.05),0 8px 24px rgba(20,25,30,.06);padding:24px;text-align:center}
.cf-ok__social .cf-order-success__sub{font-weight:700;font-size:15px;color:var(--cf-ink,#1e2125);margin:0 auto 16px;max-width:none}
.cf-ok__social .cf-order-success__socials{margin:0}
@media(max-width:880px){.cf-ok__grid{grid-template-columns:1fr}.cf-facts{grid-template-columns:1fr}}

/* Header contacts — number + motivating trigger + contacts popover */
.cf-callblock { position: relative; }
.cf-callblock__trigger { display: inline-flex; align-items: center; gap: 6px; margin-top: 3px; padding: 3px 0 3px 28px; background: none; border: 0; font-family: 'Geologica', sans-serif; font-weight: 600; font-size: 13px; color: var(--cf-ink, #1e2125); cursor: pointer; transition: color .15s; }
.cf-callblock__trigger:hover { color: #000; }
.cf-callblock__chev { font-size: 10px; transition: transform .18s ease; }
.cf-callblock__chev.open { transform: rotate(180deg); }
.cf-callpop { position: absolute; top: 100%; left: 0; margin-top: 10px; width: 258px; background: #fff; border: 1px solid var(--cf-line, #e1e4e7); border-radius: 14px; box-shadow: 0 16px 40px rgba(20,25,30,.18); padding: 8px; z-index: 1050; animation: cf-callpop-in .16s ease; }
.cf-callpop::before { content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--cf-line, #e1e4e7); border-top: 1px solid var(--cf-line, #e1e4e7); transform: rotate(45deg); }
@keyframes cf-callpop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cf-callpop { animation: none; } }
.cf-callpop__item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border: 0; background: none; border-radius: 10px; font: inherit; text-align: left; text-decoration: none; color: var(--cf-ink, #1e2125); cursor: pointer; }
.cf-callpop__item:hover { background: var(--cf-ground, #eceef0); }
.cf-callpop__ic { width: 34px; height: 34px; border-radius: 9px; background: var(--cf-ground, #eceef0); display: grid; place-items: center; color: var(--cf-acc, #1257A8); font-size: 15px; flex: 0 0 auto; }
.cf-callpop__ic.tg { color: #29a9eb; }
.cf-callpop__ic.cta { background: rgba(232,115,12,.12); color: var(--cf-cta, #E8730C); }
.cf-callpop__tx { display: flex; flex-direction: column; line-height: 1.25; }
.cf-callpop__tx b { font-size: 14px; font-weight: 600; }
.cf-callpop__tx small { font-size: 12px; color: var(--cf-soft, #6b7178); }
.cf-callpop__sep { height: 1px; background: var(--cf-line, #e1e4e7); margin: 6px 8px; }
.cf-callpop__item--cta b { color: var(--cf-cta, #E8730C); }

/* Callback form — "when to call": segmented switch + on-demand time wheel */
.cf-callform { margin: 28px 0 4px; }
.cf-rf__sec { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--cf-ink, #1c2430); margin: 2px 0 9px; }
.cf-callform__label { display: block; font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 13px; color: var(--cf-ink, #1e2125); margin: 0 0 10px 2px; }
.cf-callform__seg { display: flex; background: var(--cf-ground, #eceef0); border-radius: 12px; padding: 4px; gap: 4px; }
.cf-callform__seg button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 9px; font-family: 'Geologica', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--cf-soft, #6b7178); cursor: pointer; transition: color .15s, background .15s; }
.cf-callform__seg button.is-on { background: #fff; color: var(--cf-ink, #1e2125); font-weight: 800; box-shadow: 0 1px 3px rgba(20,25,30,.12); }
.cf-callform__body { min-height: 128px; margin-top: 9px; display: flex; flex-direction: column; justify-content: center; }
.modal.cf-modal--center { display: flex; overflow-y: auto; padding: 18px 0; }
.modal.cf-modal--center .modal-dialog { margin: auto; }
.cf-callform__note { margin: 0; background: rgba(18,87,168,.07); border: 1px solid rgba(18,87,168,.18); border-radius: 9px; padding: 12px; font-size: 14px; font-weight: 700; text-align: center; color: var(--cf-ink, #1e2125); line-height: 1.5; display: flex; flex-direction: column; gap: 2px; }
.cf-callform__note b { color: var(--cf-acc, #1257A8); font-weight: 800; }
.cf-callform__note span { display: block; }
.cf-callform__wheel { margin: 0; display: flex; flex-direction: column; align-items: center; }
/* Time wheel (drum picker) for the callback form */
.tw { position: relative; display: inline-flex; align-items: stretch; height: 116px; padding: 0 20px; border: 1px solid #eef1f4; border-radius: 16px; background: #fff; box-shadow: 0 2px 6px rgba(20,25,30,.05), 0 12px 26px rgba(20,25,30,.07); user-select: none; }
.tw.is-disabled { opacity: .5; pointer-events: none; filter: grayscale(1); }
.tw-band { position: absolute; left: 10px; right: 10px; top: 50%; transform: translateY(-50%); height: 42px; border-radius: 12px; background: rgba(18,87,168,.09); pointer-events: none; z-index: 0; }
.tw-col { position: relative; z-index: 1; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; min-width: 32px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(180deg, transparent, #000 32%, #000 68%, transparent); }
.tw-col--h { text-align: right; }
.tw-col--m { text-align: left; }
.tw-col::-webkit-scrollbar { display: none; }
.tw-pad { height: 39px; }
.tw-item { height: 38px; line-height: 38px; scroll-snap-align: center; font-size: 17px; color: #c6ccd2; cursor: pointer; font-variant-numeric: tabular-nums; transition: color .15s ease, font-size .15s ease; }
.tw-item.is-sel { color: var(--cf-acc, #1257A8); font-weight: 800; font-size: 22px; }
.tw-colon { display: flex; align-items: center; z-index: 1; padding: 0 9px; font-size: 21px; font-weight: 800; color: var(--cf-acc, #1257A8); }

/* Callback form — consent checkbox, "tomorrow" caption, single-column wheel width */
.modal-request__agree { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 14px auto 2px; max-width: 380px; font-size: 11.5px; color: var(--cf-soft, #6b7178); cursor: pointer; line-height: 1.4; text-align: left; }
.modal-request__agree input { appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 18px; height: 18px; border: 2px solid var(--cf-cta, #E8730C); border-radius: 5px; background: #fff; cursor: pointer; position: relative; flex: 0 0 auto; transition: box-shadow .12s; }
.modal-request__agree input:checked { background: var(--cf-ink, #1e2125); border-color: var(--cf-ink, #1e2125); }
.modal-request__agree input:focus { outline: none; }
.modal-request__agree input:focus-visible { box-shadow: 0 0 0 3px rgba(232,115,12,.22); }
.modal-request__agree input:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.modal-request__agree a { color: var(--cf-ink, #1e2125); font-weight: 700; }
.modal-request__input { position: relative; }
.modal-request__ph { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-family: 'Geologica', sans-serif; font-size: 13.3px; color: var(--cf-soft, #6b7178); pointer-events: none; white-space: nowrap; }
.modal-request__ph b { color: #e0322f; font-weight: 700; margin-left: 3px; }
.modal-request__ph.is-error { color: #e2564d; }
.modal-request .form-control:focus + .modal-request__ph { opacity: 0; }
.modal-request .form-control.is-error { border-color: #e2564d; }
.modal-request .form-control.is-error::placeholder { color: #e2564d; opacity: 1; }
@keyframes cfCheckPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,115,12,0); } 50% { box-shadow: 0 0 0 5px rgba(232,115,12,.28); } }
.modal-request__agree.is-attention input { animation: cfCheckPulse 1.4s ease-in-out infinite; }
.cf-qo__agreeerr-row { display: flex; justify-content: center; }
.cf-qo__agreeerr { display: inline-flex; align-items: center; gap: 7px; margin: 10px auto 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: #fdefe0; color: var(--cf-cta, #E8730C); font-size: 12px; font-weight: 600; line-height: 1.15; text-align: left; }
.cf-qo__agreeerr i { font-size: 11px; flex: 0 0 auto; }
.cf-btn-primary:disabled, .cf-btn-primary[disabled] { background: #e6e8eb; color: #a2a8af; cursor: not-allowed; }
.cf-btn-primary:disabled:hover { background: #e6e8eb; color: #a2a8af; }

/* Quick-order modal — reworked (blocks + auth prefill + COD toggle) */
.cf-qo__title { font-size: 17px; font-weight: 800; line-height: 1.3; margin: 0; padding-right: 50px; }
.modal-header:has(.cf-qo__title) { padding: 10px 15px; }
.modal-body:has(.cf-qo), .modal-body:has(.cf-order-success), .modal-body:has(.modal-request) { padding: 12px 15px 18px; }
.cf-qo { display: flex; flex-direction: column; gap: 11px; }
.cf-qo .form-control { height: 34px; }
.cf-qo__prod { display: flex; align-items: center; gap: 12px; background: var(--cf-ground, #eceef0); border-radius: 11px; padding: 7px 12px; }
.cf-qo__thumb { width: 40px; height: 40px; border-radius: 8px; background: #fff; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--cf-soft, #6b7178); }
.cf-qo__thumb img { width: 100%; height: 100%; object-fit: contain; }
.cf-qo__pname { font-size: 13px; font-weight: 600; line-height: 1.25; }
.cf-qo__price { margin-left: auto; text-align: right; flex: none; }
.cf-qo__price b { font-size: 16px; font-weight: 800; color: var(--cf-acc, #1257A8); }
.cf-qo__price s { display: block; font-size: 11.5px; color: var(--cf-soft, #6b7178); }
.cf-qo__whorow { display: flex; align-items: center; gap: 11px; }
.cf-qo__av { width: 38px; height: 38px; border-radius: 50%; background: var(--cf-acc, #1257A8); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.cf-qo__whoinfo { min-width: 0; }
.cf-qo__whoinfo b { font-size: 14px; font-weight: 700; }
.cf-qo__whoinfo div { font-size: 12.5px; color: var(--cf-soft, #6b7178); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-qo__edit { margin-left: auto; flex: none; font-size: 12.5px; font-weight: 700; color: var(--cf-acc, #1257A8); background: none; border: 0; cursor: pointer; padding: 0; }
.cf-qo__g { border: 1px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 10px 14px; }
.cf-qo__gt { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cf-ink, #1c2430); margin-bottom: 9px; }
.cf-qo__free { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: #2e9e5b; background: rgba(46,158,91,.10); border: 1px solid rgba(46,158,91,.22); padding: 3px 9px; border-radius: 999px; }
.cf-qo__free.plain { color: var(--cf-soft, #6b7178); background: var(--cf-ground, #eceef0); border-color: var(--cf-line, #e1e4e7); }
.cf-qo__free .fas { font-size: 10px; }
.cf-qo__gi { width: 24px; height: 24px; border-radius: 7px; background: var(--cf-ground, #eceef0); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--cf-soft, #6b7178); flex: none; }
.cf-qo__sublbl { font-size: 11px; font-weight: 700; color: var(--cf-ink, #1c2430); margin: 9px 0 6px; }
.cf-qo__editclose { margin-top: 10px; }
.cf-qo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-qo__grid .cf-qo__full { grid-column: 1 / -1; }
.cf-qo__pay { display: flex; flex-wrap: wrap; gap: 6px; background: var(--cf-ground, #eceef0); border-radius: 12px; padding: 5px; position: relative; }
.cf-qo__payseg { flex: 1 1 46%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--cf-soft, #6b7178); font-weight: 700; font-size: 13.5px; padding: 9px 8px; border-radius: 9px; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.cf-qo__payseg i { font-size: 15px; }
.cf-qo__payseg .cf-qo__cardic { color: #E0A400; }
.cf-qo__stagesub { margin: 6px 0 16px; font-size: 13.5px; color: var(--cf-soft, #6b7178); text-align: center; }
.cf-qo__failic { color: #e0322f !important; }
.cf-qo__sms { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 8px 2px 6px; }
.cf-qo__sms .cf-qo__gt { justify-content: flex-start; margin: 0; }
.cf-qo__sms .cf-qo__stagesub { margin: 0; text-align: left; }
.cf-qo__otp { display: flex; gap: 12px; justify-content: center; }
.cf-qo__otpbox { width: 54px; height: 62px; text-align: center; font-size: 26px; font-weight: 700; color: var(--cf-ink, #1c2430); border: 1.5px solid var(--cf-line-strong, #d3d8e0); border-radius: 12px; background: #fff; caret-color: var(--cf-acc, #1257A8); }
.cf-qo__otpbox:focus { outline: none; border-color: var(--cf-acc, #1257A8); box-shadow: 0 0 0 3px rgba(18,87,168,.16); }
.cf-qo__otpbox.is-error { border-color: #e0322f; }
.cf-qo__smserr { text-align: center; margin: -6px 0 0; }
.cf-qo__smsbtn { align-self: center; width: auto; min-width: 190px; height: 44px; justify-content: center; }
.cf-qo__smsresend { align-self: center; background: none; border: 0; color: var(--cf-acc, #1257A8); font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 2px 6px; }
.cf-qo__fromdate { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--cf-ink, #1c2430); background: var(--cf-ground, #eceef0); border-radius: 999px; padding: 8px 14px; }
.cf-qo__fromdate .fas { color: var(--cf-soft, #6b7178); font-size: 13px; }

.cf-citysel { position: relative; }
.cf-citysel__list { position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none; background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 10px; box-shadow: 0 10px 28px rgba(20,30,45,.14); max-height: 236px; overflow-y: auto; }
.cf-citysel__opt { padding: 8px 11px; border-radius: 7px; cursor: pointer; font-size: 14px; color: var(--cf-ink, #1c2430); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-citysel__opt.is-hi { background: var(--cf-ground, #eceef0); }
.cf-qo__when { display: flex; gap: 12px; align-items: stretch; }
.cf-qo__whencol { min-width: 0; display: flex; flex-direction: column; }
.cf-qo__whencol:first-child { flex: 1; }
.cf-qo__whencol--time { flex: none; width: 160px; }
.cf-qo__sublbl i { color: #e0322f; font-style: normal; }
.cf-qo__when .cf-co__dates { flex-wrap: nowrap; margin-top: 0; }
.cf-qo__when .cf-co__chip { flex: 1; min-width: 0; padding: 5px 4px; }
.cf-qo__when .cf-co__chip small { font-size: 10px; white-space: nowrap; }
.cf-qo__when .cf-qo__timesel { width: 100%; margin-top: 0; flex: 1; }
@media (max-width: 560px) {
  .cf-qo__when { flex-wrap: wrap; }
  .cf-qo__whencol--time { width: 100%; }
}
.cf-qo__payseg.sel { background: #fff; color: var(--cf-ink, #1e2125); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.cf-qo__payseg.is-disabled { color: #a2a8af; cursor: not-allowed; }
.cf-qo__payseg.is-disabled.sel { background: transparent; box-shadow: none; }
.cf-qo__paytip { position: absolute; bottom: calc(100% + 9px); right: 0; left: auto; max-width: 300px; background: var(--cf-ink, #1e2125); color: #fff; font-size: 12px; line-height: 1.4; padding: 9px 12px; border-radius: 9px; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; z-index: 20; box-shadow: 0 8px 22px rgba(0,0,0,.24); }
.cf-qo__paytip::after { content: ""; position: absolute; top: 100%; right: 42px; border: 6px solid transparent; border-top-color: var(--cf-ink, #1e2125); }
.cf-qo__payseg.is-disabled:hover ~ .cf-qo__paytip, .cf-qo__payseg.is-disabled:focus ~ .cf-qo__paytip, .cf-qo__payseg.is-disabled:focus-visible ~ .cf-qo__paytip { opacity: 1; visibility: visible; transform: translateY(0); }
.cf-qo__comment { resize: vertical; min-height: 66px; }
.cf-co .cf-qo__comment { align-content: center; }
.cf-qo__submit { width: 100%; height: 46px; justify-content: center; font-size: 15px; background: var(--cf-cta, #E8730C); }
.cf-qo__submit:hover, .cf-qo__submit:focus, .cf-qo__submit:active { background: var(--cf-cta-hi, #C55F08); }
.cf-qo__foot { font-size: 11.5px; color: var(--cf-soft, #6b7178); text-align: center; margin-top: -6px; }
@media (max-width: 520px) {
  .cf-qo__grid { grid-template-columns: 1fr; }
  .cf-qo__submit { font-size: 14px; }
  .cf-qo__payseg { font-size: 12.5px; padding: 11px 6px; gap: 6px; }
  .cf-qo__prod { padding: 9px 11px; }
}
.modal-request__btnwrap { position: relative; display: block; }
.modal-request__btnwrap .cf-btn-primary:disabled { pointer-events: none; }
.modal-request__btnwrap .cf-tip { position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px); max-width: 260px; background: var(--cf-ink, #1e2125); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.35; text-align: center; padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; box-shadow: 0 6px 18px rgba(0,0,0,.2); z-index: 5; }
.modal-request__btnwrap .cf-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--cf-ink, #1e2125); }
.modal-request__btnwrap:hover .cf-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.modal-request__req { margin: 2px 2px 12px; font-size: 11.5px; color: var(--cf-soft, #6b7178); text-align: left; }
.cf-callform__day { text-align: center; font-size: 12.5px; color: var(--cf-soft, #6b7178); margin-bottom: 10px; }
.tw--single .tw-col { min-width: 72px; text-align: center; }

/* --- Price range facet (cf-pricefilter) --- */
.cf-pricefilter { position: relative; }
.cf-pricefilter__inputs { display: flex; align-items: center; gap: 7px; margin: 12px 0 16px; }
.cf-pricefilter__num { width: 100%; min-width: 0; height: 34px; padding: 0 9px; font-size: 13px; color: var(--cf-ink, #1e2125); background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 6px; -moz-appearance: textfield; }
.cf-pricefilter__num::-webkit-outer-spin-button, .cf-pricefilter__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cf-pricefilter__num:focus { outline: none; border-color: var(--cf-cta, #E8730C); box-shadow: 0 0 0 2px rgba(232, 115, 12, .15); }
.cf-pricefilter__sep { color: #aab0b6; font-size: 13px; }
.cf-pricefilter__cur { color: var(--cf-soft, #6b7178); font-size: 13px; }
.cf-pricefilter__slider { position: relative; height: 22px; margin: 0 4px 18px; }
.cf-pricefilter__track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; transform: translateY(-50%); background: var(--cf-line, #e1e4e7); border-radius: 2px; }
.cf-pricefilter__fill { position: absolute; top: 50%; height: 4px; transform: translateY(-50%); background: var(--cf-cta, #E8730C); border-radius: 2px; }
.cf-pricefilter__range { position: absolute; top: 0; left: 0; width: 100%; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.cf-pricefilter__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--cf-cta, #E8730C); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer; }
.cf-pricefilter__range::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--cf-cta, #E8730C); box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer; }
.cf-pricefilter__range::-webkit-slider-runnable-track { background: none; }
.cf-pricefilter__range::-moz-range-track { background: none; }
.cf-pricefilter__soon-row { opacity: .5; }
.cf-pricefilter__soon { margin: 6px 0 0; font-size: 11px; color: #b3b9bf; }
.cf-fgroup-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: inherit; }
.cf-fgroup-toggle > span:first-child { font-weight: 700; }
.cf-fgroup-toggle .cf-fgroup-chevron { flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid var(--cf-soft, #6b7178); border-bottom: 2px solid var(--cf-soft, #6b7178); transform: rotate(-45deg); transition: transform .15s; }
.cf-fgroup-toggle.is-open .cf-fgroup-chevron { transform: rotate(45deg); }
.cf-fgroup-body { margin-top: 8px; }
/* Mobile: collapse the whole filter panel behind a button so products aren't buried. */
.cf-filter-toggle, .cf-filter-close, .cf-filter-apply, .cf-filter-backdrop, .cf-filter-drawer-head { display: none; }
@media (max-width: 767px) {
  .cf-filter-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 12px 16px; font: inherit; font-weight: 700; color: var(--cf-ink, #1e2125); cursor: pointer; margin-bottom: 12px; }
  .cf-filter-toggle i { color: var(--cf-cta, #E8730C); margin-right: 8px; }
  .cf-filter-toggle.is-open .cf-fgroup-chevron { transform: rotate(45deg); }

  /* filter opens as a bottom-sheet drawer instead of pushing the products down */
  .cf-filter-body { display: none; }
  .cf-filter-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1049; }
  .cf-filter-body.is-open {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 1050;
    max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0;
    padding: 0 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0,0,0,.18);
  }
  .cf-filter-drawer-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; background: #fff; border-bottom: 1px solid #f0f0f0; }
  .cf-filter-drawer-head .heading { margin: 0; font-weight: 700; font-size: 17px; }
  .cf-filter-close { display: inline-flex; background: none; border: 0; padding: 6px; font-size: 18px; color: #777; cursor: pointer; }
  .cf-filter-apply { display: block; position: sticky; bottom: 0; width: 100%; margin-top: 12px; padding: 14px; border: 0; border-radius: 12px; background: var(--cf-cta, #E8730C); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
}

/* ---------- out-of-stock product page (analogs-first) ---------- */
.cf-oos-top { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.cf-oos-card { background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 14px; padding: 16px; }
.cf-oos-card__media { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--cf-ground, #eceef0); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
/* pointer-events:none keeps image-search browser extensions off this img; the card link still gets the click. */
.cf-oos-card__media img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.25) opacity(.85); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.cf-oos-card__badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; background: rgba(107, 113, 120, .5); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .02em; padding: 6px 14px; border-radius: 9px; }
.cf-oos-card__name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 2px; }
.cf-oos-card__brand { display: inline-block; font-size: 13px; color: var(--cf-soft, #6b7178); text-decoration: none; margin: 0 0 4px; }
a.cf-oos-card__brand:hover { color: var(--cf-acc, #1257A8); }
.cf-oos-card__link { display: block; text-decoration: none; color: inherit; }
.cf-oos-card__link:hover .cf-oos-card__media { box-shadow: inset 0 0 0 2px var(--cf-acc, #1257A8); }
.cf-oos-card__link:hover .cf-oos-card__name { color: var(--cf-acc, #1257A8); text-decoration: underline; }
.cf-oos-card__more { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 2px; font-size: 13px; font-weight: 700; color: var(--cf-acc, #1257A8); }
.cf-oos-card__more i { font-size: 11px; transition: transform .16s ease; }
.cf-oos-card__link:hover .cf-oos-card__more i { transform: translateX(3px); }
.cf-oos-back { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; font-size: 14px; font-weight: 600; color: var(--cf-soft, #6b7178); text-decoration: none; }
.cf-oos-back:hover { color: var(--cf-acc, #1257A8); }
.cf-oos-back i { font-size: 12px; }
.cf-oos-card .cf-purchase { margin-top: 6px; }
/* OOS has no cart state — drop the empty reserved status slot so the price sits near the button. */
.cf-oos-card .cf-cart-status { display: none; }
.cf-oos-card .product-page__price, .cf-oos-card .price-new { color: var(--cf-soft, #6b7178); } /* last price, muted — item is unavailable */
.cf-oos-card .price-old { opacity: .7; }
.cf-oos-card__specs { margin: 14px 0 0; }
.cf-oos-analogs .heading { margin-bottom: 14px; }
.cf-oos-empty { color: var(--cf-soft, #6b7178); font-size: 14px; padding: 18px; background: var(--cf-ground, #eceef0); border-radius: 10px; }
@media (max-width: 767px) {
  .cf-oos-top { grid-template-columns: 1fr; }
  .cf-oos-card { position: static; }
}

/* ---------- auth: compact tabbed card (login + register) ---------- */
.cf-authcard { max-width: 440px; margin: 8px auto 24px; }
.cf-authcard__card { position: relative; background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 16px; padding: 30px 30px 34px; box-shadow: 0 1px 2px rgba(20,25,30,.05), 0 14px 34px rgba(20,25,30,.08); }
.cf-authcard__card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cf-acc, #1257A8), var(--cf-cta, #E8730C)); }
.cf-authcard__brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 6px 0 20px; }
.cf-authcard__logo { width: 32px; height: 32px; border: 2px solid var(--cf-cta, #E8730C); border-radius: 8px; display: grid; place-items: center; font-weight: 800; color: var(--cf-cta, #E8730C); font-size: 15px; }
.cf-authcard__brand b { font-weight: 800; letter-spacing: .02em; font-size: 15px; }
.cf-authseg { display: flex; background: var(--cf-ground, #eceef0); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 11px; padding: 4px; margin-bottom: 22px; }
.cf-authseg button { flex: 1; height: 38px; border: 0; border-radius: 8px; background: transparent; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--cf-soft, #6b7178); cursor: pointer; transition: color .15s, background .15s; }
.cf-authseg button[aria-selected="true"] { background: var(--cf-surface, #fff); color: var(--cf-ink, #1e2125); box-shadow: 0 1px 3px rgba(20,25,30,.12); }
.cf-authcard__between { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; flex-wrap: wrap; }
.cf-authcard__alt { text-align: center; margin-top: 16px; font-size: 13px; color: var(--cf-soft, #6b7178); }
.cf-authcard__smslink { display: block; width: 100%; margin-top: 10px; background: none; border: 0; padding: 4px; color: var(--cf-acc, #1257A8); font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: center; }
.cf-authcard__smslink:hover { text-decoration: underline; }
.cf-authcard__smssub { text-align: center; margin: 0 0 16px; font-size: 13.5px; color: var(--cf-soft, #6b7178); }
.cf-authcard__smssub b { color: var(--cf-ink, #1e2125); }

/* Direction 3: split card — brand panel + form. */
.cf-authcard--split { max-width: 640px; }
.cf-authcard--split .cf-authcard__card { display: grid; grid-template-columns: 200px 1fr; padding: 0; overflow: hidden; }
.cf-authcard--split .cf-authcard__card::before { display: none; }
.cf-authcard__aside { background: linear-gradient(165deg, #1c4f8f, #0f2f57); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.cf-authcard--split .cf-authcard__aside .cf-authcard__logo { border-color: #fff; color: #fff; }
.cf-authcard__asidebrand { display: flex; align-items: center; gap: 10px; }
.cf-authcard__asidebrand b { color: #fff; font-weight: 800; letter-spacing: .02em; font-size: 14px; }
.cf-authcard__asidetitle { color: #fff; font-size: 18px; font-weight: 800; margin: 0 0 6px; line-height: 1.18; }
.cf-authcard__asidesub { font-size: 12.5px; line-height: 1.5; color: #cfe0f4; margin: 0; }
.cf-authcard__asidebadge { font-size: 11px; color: #bcd4f0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.cf-authcard__form { padding: 28px 28px 30px; }
.cf-authcard--split .cf-authcard__form { min-height: 470px; }
.cf-authcard--split .v3-btn--cta { background: var(--cf-acc, #1257A8); box-shadow: 0 8px 20px rgba(18,87,168,.28); }
.cf-authcard--split .v3-btn--cta:hover { background: #0f4a90; }
@media (max-width: 560px) {
  .cf-authcard--split .cf-authcard__card { grid-template-columns: 1fr; }
  .cf-authcard__aside { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 16px 20px; }
  .cf-authcard__asidetext, .cf-authcard__asidebadge { display: none; }
  .cf-authcard--split .cf-authcard__form { min-height: 0; padding: 20px 20px 24px; }
}

/* ---------- auth popup ---------- */
.cf-account-caption { cursor: pointer; }
.cf-account-caption:hover { color: var(--cf-acc, #1257A8); }
.cf-authmodal { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cf-authmodal__backdrop { position: absolute; inset: 0; background: rgba(15,25,40,.55); }
.cf-authmodal__dialog { position: relative; width: 100%; max-width: 680px; }
.cf-authmodal__dialog .cf-authcard { margin: 0; max-width: 100%; }
.cf-authmodal__dialog .cf-authcard__card { box-shadow: 0 24px 60px rgba(10,20,35,.4); }
/* Drop the tabs below the close button so the × never overlaps the «Регистрация» tab. */
.cf-authmodal .cf-authcard__form { padding-top: 46px; }
.cf-authcard__form .cf-qo__otp { margin-bottom: 18px; }
.cf-authmodal__close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(20,25,30,.06); color: #6b7280; font-size: 24px; line-height: 1; cursor: pointer; }
.cf-authmodal__close:hover { background: rgba(20,25,30,.12); color: #333; }
@media (max-width: 560px) {
  .cf-authmodal { padding: 0; align-items: stretch; }
  .cf-authmodal__dialog { max-width: 100%; display: flex; align-items: center; }
  .cf-authmodal__close { background: rgba(255,255,255,.16); color: #fff; }
  .cf-authmodal__close:hover { background: rgba(255,255,255,.3); color: #fff; }
}

/* ---------- account area ---------- */
.cf-logout-link { display: flex; align-items: center; gap: 6px; width: 100%; padding: 7px 10px; border: 0; background: none; text-align: left; color: #333; cursor: pointer; }
.cf-logout-link:hover { color: var(--cf-acc, #1257A8); }
.cf-page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.cf-field-label { display: block; font-size: 12.5px; font-weight: 600; color: #55606a; margin: 0 0 5px; }
.cf-acc-card { border: 1px solid var(--cf-line, #e6e9ec); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; background: #fbfcfd; }
.cf-acc-card__head { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.cf-acc-card__head h2 { margin: 0; font-size: 15px; font-weight: 800; color: #2a3138; letter-spacing: -.01em; }
.cf-acc-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: #e8f1fb; color: var(--cf-acc, #1257A8); font-size: 14px; }
.cf-contact-lbl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cf-contact-lbl .cf-field-label { margin: 0; }
.cf-verify { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--cf-soft, #6b7178); background: var(--cf-ground, #eceef0); border-radius: 999px; padding: 2px 9px; margin-bottom: 5px; }
.cf-verify i { font-size: 11px; }
.cf-verify.is-ok { color: var(--v3-ok, #17864a); background: #e7f4ec; }
.cf-form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .cf-form-grid--3 { grid-template-columns: 1fr; } }
.cf-form-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cf-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: #444; border: 1px solid var(--cf-line, #d7dde3); border-radius: 10px; padding: 12px 24px; font-weight: 600; cursor: pointer; }
.cf-btn-ghost:hover { background: #f2f4f6; }
.cf-address--form { max-width: 640px; }
.cf-address__formtitle { margin: 0 0 16px; font-size: 18px; font-weight: 800; }
.cf-account-news { margin-top: 18px; }
.cf-reviews { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.cf-review { border: 1px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 16px 18px; }
.cf-review__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cf-review__product { font-weight: 700; color: var(--cf-acc, #1257A8); text-decoration: none; }
.cf-review__product:hover { text-decoration: underline; }
.cf-review__status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.cf-review__status.is-ok { background: #e6f4ea; color: #1e7d43; }
.cf-review__status.is-pending { background: #fdf0dd; color: #b26a00; }
.cf-review__meta { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.cf-review__stars { color: #f5a623; letter-spacing: 1px; }
.cf-review__date { font-size: 12.5px; color: #8a929b; }
.cf-review__text { margin: 0; color: #3d454d; line-height: 1.55; }
.cf-co__save { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #55606a; cursor: pointer; }
.cf-co__save input { width: 16px; height: 16px; }

/* ---------- checkout (Baymard: numbered steps + sticky summary, delivery-only) ---------- */
.cf-co { display: grid; grid-template-columns: 1fr 372px; gap: 22px; align-items: start; }
.cf-co__card { background: var(--cf-surface, #fff); border: 1px solid var(--cf-line, #e1e4e7); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(20,25,30,.04); }
.cf-co__sh { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; }
.cf-co__sh h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.005em; }
.cf-co__num { width: 26px; height: 26px; flex: none; border-radius: 8px; background: #2a4a7a; color: #eceef0; font-size: 12px; line-height: 1; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.cf-co__num-t { display: inline-block; transform: translateY(0.5px); }
.cf-co__hint { margin-left: auto; font-size: 12px; color: var(--cf-soft, #6b7178); }
.cf-co__edit { margin-left: auto; font-size: 12.5px; color: var(--cf-acc, #1257A8); text-decoration: none; }
.cf-co__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-co__span2 { grid-column: 1 / -1; }
.cf-co__f label, .cf-co__flbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--cf-soft, #6b7178); margin: 0 0 6px 2px; }
.cf-co__ta { min-height: 78px; padding: 11px 14px; resize: vertical; }
.cf-co__info { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 14px 15px; background: var(--cf-ground, #eceef0); margin-top: 4px; }
.cf-co__info i { color: var(--cf-acc, #1257A8); font-size: 18px; margin-top: 2px; }
.cf-co__info b { font-size: 14px; display: block; margin-bottom: 2px; color: var(--cf-ink, #1e2125); }
.cf-co__info small { font-size: 12.5px; color: var(--cf-soft, #6b7178); line-height: 1.45; }
.cf-co__dates { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.cf-co__chip { cursor: pointer; border: 1.5px solid var(--cf-line, #e1e4e7); border-radius: 10px; padding: 7px 13px; background: var(--cf-surface, #fff); text-align: center; min-width: 58px; font-family: inherit; transition: border-color .15s, background .15s; }
.cf-co__chip small { display: block; font-size: 11px; color: var(--cf-soft, #6b7178); margin-bottom: 1px; }
.cf-co__chip b { font-size: 14px; font-weight: 700; color: var(--cf-ink, #1e2125); white-space: nowrap; }
.cf-co__chip.is-on { border-color: var(--cf-acc, #1257A8); background: rgba(18,87,168,.08); box-shadow: 0 0 0 3px rgba(18,87,168,.10); }
.cf-co__chip.is-on small { color: var(--cf-acc, #1257A8); }
.cf-co__datehint { font-size: 12px; color: var(--cf-soft, #6b7178); margin-top: 9px; }
.cf-co__opt { position: relative; display: flex; align-items: center; gap: 13px; cursor: pointer; border: 1.5px solid var(--cf-line, #e1e4e7); border-radius: 12px; padding: 13px 15px; background: var(--cf-surface, #fff); margin-bottom: 10px; transition: border-color .15s, background .15s; }
.cf-co__opt:last-child { margin-bottom: 0; }
.cf-co__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cf-co__dot { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #c3ccd6; position: relative; transition: border-color .15s; }
.cf-co__opt.is-on { border-color: var(--cf-acc, #1257A8); background: rgba(18,87,168,.08); box-shadow: 0 0 0 3px rgba(18,87,168,.10); }
.cf-co__opt.is-on .cf-co__dot { border-color: var(--cf-acc, #1257A8); }
.cf-co__opt.is-on .cf-co__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--cf-acc, #1257A8); }
.cf-co__optb { flex: 1; min-width: 0; }
.cf-co__optb b { display: block; font-size: 14.5px; font-weight: 600; color: var(--cf-ink, #1e2125); }
.cf-co__optb small { font-size: 12.5px; color: var(--cf-soft, #6b7178); }
/* sticky summary */
.cf-co__sum { position: sticky; top: 16px; }
.cf-co__line { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cf-line, #e1e4e7); }
.cf-co__b { flex: 1; min-width: 0; }
.cf-co__b b { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.3; }
.cf-co__b small { font-size: 12px; color: var(--cf-soft, #6b7178); }
.cf-co__p { font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cf-co__promo { display: flex; gap: 8px; margin: 14px 0; }
.cf-co__promo .v3-inp { height: 42px; }
.cf-co__promo button { height: 42px; padding: 0 15px; border: 1.5px solid var(--cf-line, #e1e4e7); border-radius: 10px; background: var(--cf-surface, #fff); font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--cf-ink, #1e2125); cursor: pointer; white-space: nowrap; }
.cf-co__promo button:hover { border-color: var(--cf-acc, #1257A8); color: var(--cf-acc, #1257A8); }
.cf-co__totals { margin: 6px 0 4px; }
.cf-co__trow { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; color: var(--cf-soft, #6b7178); }
.cf-co__trow span:last-child { color: var(--cf-ink, #1e2125); font-variant-numeric: tabular-nums; }
.cf-co__trow.disc span:last-child { color: #17864a; }
.cf-co__grand { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 2px; padding-top: 12px; border-top: 1px solid var(--cf-line, #e1e4e7); }
.cf-co__grand b { font-size: 16px; font-weight: 800; }
.cf-co__gv { font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cf-co__plus { font-size: 12px; color: var(--cf-soft, #6b7178); margin-top: 4px; }
.cf-co__agree { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--cf-soft, #6b7178); cursor: pointer; margin: 14px 0; }
.cf-co__agree input { width: 17px; height: 17px; accent-color: var(--cf-acc, #1257A8); margin: 1px 0 0; }
.cf-co__agree a { color: var(--cf-acc, #1257A8); }
/* Consent checkbox reuses the quick-order styling; left-aligned full-width in the sidebar column. */
.cf-co__agree2 { max-width: none; justify-content: flex-start; margin: 16px 0 2px; font-size: 12.5px; text-align: left; }
.cf-co__agree2 span { color: var(--cf-soft, #6b7178); }
.cf-co__agree2 a { color: var(--cf-ink, #1e2125); font-weight: 700; }
.cf-co .cf-qo__whencol--time { width: 186px; }
/* On mobile the 186px time column crams the date chips into ~116px so they overlap —
   stack date over time, each full width. Placed after the 186px rule to win source order. */
@media (max-width: 560px) {
  .cf-co .cf-qo__when { flex-direction: column; }
  .cf-co .cf-qo__whencol--time { width: 100%; }
}
/* Required-field asterisks in orange. */
.cf-req { color: var(--cf-cta, #E8730C); font-style: normal; }
/* Custom inset chevron for selects so the arrow isn't glued to the right edge. */
.cf-co select.v3-inp {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7178' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px;
}
/* Payment segments shouldn't stretch across the whole card. */
.cf-co .cf-qo__pay { max-width: 520px; margin-inline: auto; }
.cf-co__cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 54px; border: 0; border-radius: 12px; background: var(--cf-cta, #E8730C); color: #fff; font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(232,115,12,.28); transition: background .15s; }
.cf-co__cta:hover { background: #C55F08; }
.cf-co__cta:disabled { opacity: .7; cursor: default; }
.cf-co__sub { text-align: center; font-size: 12px; color: var(--cf-soft, #6b7178); margin-top: 10px; }
.cf-co__sub i { color: #17864a; }
.cf-co__law { display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; padding: 11px 13px; background: var(--cf-ground, #eceef0); border-radius: 10px; font-size: 12px; color: var(--cf-soft, #6b7178); line-height: 1.45; }
.cf-co__law i { color: var(--cf-cta, #E8730C); margin-top: 2px; }
@media (max-width: 900px) {
  .cf-co { grid-template-columns: 1fr; }
  .cf-co__sum { position: static; }
}
@media (max-width: 520px) { .cf-co__grid2 { grid-template-columns: 1fr; } }

/* Required fields: fake placeholder label so the red `*` sits right after the word (can't colour a real placeholder). */
.cf-qo__field { position: relative; display: block; }
.cf-qo__ph {
  position: absolute; top: 50%; left: 15px; transform: translateY(-50%);
  color: #8b9098; line-height: 1; pointer-events: none; white-space: nowrap;
}
.cf-qo__ph i { color: #e0322f; font-style: normal; }
.cf-qo__field input:focus + .cf-qo__ph,
.cf-qo__field input:not(:placeholder-shown) + .cf-qo__ph { display: none; }

/* Modal backdrop: darker veil + desaturate everything behind it (page stays greyscale, modal keeps colour). */
.modal-backdrop.in {
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: grayscale(1) brightness(.72);
  backdrop-filter: grayscale(1) brightness(.72);
  opacity: 1;
}

/* Product gallery lightbox */
.cf-gallery__main { position: relative; }
.cf-gallery__main-img { cursor: zoom-in; }
.cf-gallery__overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; margin: 0; cursor: zoom-in; }
.cf-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; }
.cf-lightbox__img { max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: default; }
.cf-lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
.cf-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cf-lightbox__nav--prev { left: 14px; }
.cf-lightbox__nav--next { right: 14px; }
.cf-lightbox__counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,.4); padding: 4px 12px; border-radius: 12px; }
@media (max-width: 575px) { .cf-lightbox__nav { width: 42px; height: 42px; font-size: 16px; } .cf-lightbox__close { font-size: 34px; } }

/* Вопросы и мнения */
.cf-qo-feed{margin-top:8px}
.cf-qo-item{padding:12px 0;border-bottom:1px solid #ececec}
.cf-qo-item__head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.cf-qo-item__badge{font-size:12px;padding:2px 8px;border-radius:10px;background:#eef;color:#446}
.cf-qo-item__badge--question{background:#eef3ff;color:#3159b3}
.cf-qo-item__badge--opinion{background:#eefbf0;color:#2e7d32}
.cf-qo-item__text{color:#333}
.cf-qo-item__answer{margin-top:8px;padding:10px 12px;background:#f7f7f5;border-left:3px solid #fe7200;border-radius:4px}
.cf-qo-form{margin-top:20px;display:flex;flex-direction:column;gap:10px;max-width:640px}
.cf-qo-form__seg{display:flex;gap:8px}
.cf-qo-form__agree{font-size:13px;color:#666;display:flex;align-items:center;gap:6px}

/* ===== App-style mobile home ===== */
/* Desktop: hide mobile-only blocks and the mobile product grid */
.cf-home__msearch, .cf-home__mcats, .cf-tabs__mgrid { display: none; }

/* Desktop home top region: vertical catalog rail + banner + popular categories */
.cf-home__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; position: relative; }

/* Uniform vertical rhythm between home sections; flex gap sidesteps margin-collapse drift. */
@media (min-width: 992px) {
  .cf-home { display: flex; flex-direction: column; gap: 16px; }
  .cf-home > * { margin: 0; }
  .cf-home__news:empty { display: none; }
  .cf-home__benefits > :first-child { margin-top: 0; }
  .cf-home__benefits > :last-child { margin-bottom: 0; }
  .cf-home__welcome > :first-child { margin-top: 0; margin-bottom: 0; }
}
/* Banner fills the right cell so its height matches the open catalog rail.
   min-width:0 on every flex link lets the slider shrink to the cell instead of
   overflowing right on its slide's intrinsic width. */
.cf-home__top .cf-home__hero { display: flex; min-width: 0; }
.cf-home__top .cf-home__hero > .cf-hero { flex: 1; display: flex; min-width: 0; }
.cf-home__top .cf-home__hero > .cf-hero > .uni-slideshow_v2 { flex: 1; margin-bottom: 0; min-height: 0; min-width: 0; }
.cf-home__top .cf-home__hero .cf-carousel,
.cf-home__top .cf-home__hero .cf-carousel__viewport { min-width: 0; max-width: 100%; }
.cf-home__top .cf-home__hero .cf-carousel--hero,
.cf-home__top .cf-home__hero .cf-carousel__viewport,
.cf-home__top .cf-home__hero .cf-carousel__container,
.cf-home__top .cf-home__hero .cf-carousel__slide,
.cf-home__top .cf-home__hero .uni-slideshow_v2__item { height: 100%; }
.cf-home__top .cf-home__hero .uni-slideshow_v2__item { display: flex; align-items: center; }
/* Homepage catalog: always-open top-level rail (250px). Hovering a category drops its subcategory
   panel over the banner — the panel covers the whole banner column (anchored to .cf-home__top). */
.cf-home-catalog { position: static; }
@keyframes cf-catalog-fade { from { opacity: 0; } to { opacity: 1; } }
.cf-catalog-menu--inline { position: static; display: block; width: auto; max-width: none; overflow: visible; border: 1px solid var(--cf-line, #e6e8ec); border-top: 0; border-radius: 0; box-shadow: none; }
.cf-catalog-menu--inline .cf-catalog-menu__list { flex: none; border-right: 0; padding: 0; }
.cf-catalog-menu--inline .cf-catalog-menu__panel {
  /* left:249 (rail right edge − 1px) — flush against the rail so the cursor crosses no gap and the flyout stays open.
     width:max-content — sized to its content like the category-page dropdown (no stretched columns), capped to the row width.
     min-height:100% covers the banner at least; height grows to fit all subcategories — no inner scroll. */
  position: absolute; left: 249px; top: 0; z-index: 1031;
  width: max-content; max-width: calc(100% - 249px);
  min-height: 100%; max-height: none; overflow: visible;
  background: #fff; border-radius: 0;
  box-shadow: -1px 0 0 var(--cf-line, #e6e8ec), 0 16px 40px rgba(20,30,50,.14);
  animation: cf-catalog-fade .16s ease;
}
@media (max-width: 991px) { .cf-home-catalog { display: none; } }

/* Slight page dim behind an open catalog menu. Layer order: dim 1030 < rail/panel
   1031 (bright above dim) < sticky header 1032 — so the open home catalog scrolls
   UNDER the header instead of over it, while still covering the dimmed banner. */
@keyframes cf-dim-fade { from { opacity: 0; } to { opacity: 1; } }
body:has(.cf-home-catalog.is-open)::after,
body:has(.cf-catnav__btn--open)::after {
  content: ""; position: fixed; inset: 0; z-index: 1030;
  background: rgba(12, 17, 29, .15); pointer-events: none;
  animation: cf-dim-fade .16s ease;
}
.cf-home-catalog.is-open .cf-catalog-menu__list { position: relative; z-index: 1031; background: #fff; }

/* ---------- main horizontal nav (desktop), UniShop style: "Каталог" cell + equal divided section cells ---------- */
.cf-mainnav { display: none; }
@media (min-width: 992px) {
  /* Nav is in page flow (not in the sticky topbar), so it scrolls away. z between the dim (1030,
     stays bright when the home flyout opens) and the sticky header (1032, nav slides behind it). */
  .cf-mainnav { display: block; background: #fff; border-top: 1px solid #eef0f3; position: relative; z-index: 1031; }
  .cf-mainnav__inner { display: flex; align-items: stretch; gap: 0; }
}
/* "Каталог" cell — solid orange, its width matches the 250px catalog rail below it. */
.cf-mainnav__cat { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 15px; }
.cf-mainnav__cat--home { flex: 0 0 250px; width: 250px; box-sizing: border-box; background: #fe7200; color: #fff; padding: 0 18px; min-height: 50px; }
.cf-mainnav__cat--home .fa-bars { font-size: 15px; }
/* Section links — equal-width cells on a light-grey bar, split by hairline dividers. */
.cf-mainnav__links { flex: 1; display: flex; align-items: stretch; background: #fff; }
.cf-mainnav__link { flex: 1; display: flex; align-items: center; justify-content: center; padding: 15px 8px; font-weight: 700; font-size: 14px; color: var(--cf-ink, #1e2125); text-decoration: none; white-space: nowrap; }
.cf-mainnav__link:hover { color: #fe7200; background: #f6f7f8; }
/* Inner pages: borderless white "Каталог" cell (solid orange fill is home-only); fills on hover/open. */
.cf-catnav { position: relative; display: flex; align-items: stretch; flex: 0 0 250px; }
/* !important overrides the theme's global `button { border: none !important }` reset. Icons inherit `color`. */
.cf-catnav__btn { width: 100%; box-sizing: border-box; display: flex; align-items: center; gap: 11px; background: #fff !important; color: var(--cf-ink, #1e2125); font-weight: 800; font-size: 15px; border: 0 !important; border-radius: 0; padding: 0 16px; margin: 0; min-height: 50px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cf-catnav__btn > i { font-size: 15px; }
.cf-catnav__btn:hover, .cf-catnav__btn--open { background: #fe7200 !important; color: #fff; }
.cf-catnav__chev { margin-left: auto; font-size: 11px; transition: transform .2s; }
.cf-catnav__btn--open .cf-catnav__chev { transform: rotate(180deg); }
.cf-catnav .cf-catalog-menu { top: 100%; left: 0; border-radius: 0 0 12px 12px; }
@media (max-width: 767px) { .cf-catnav .cf-catalog-menu { max-width: calc(100vw - 30px); } }
.cf-poptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cf-poptile { display: flex; gap: 14px; border: 1px solid #ececec; border-radius: 12px; background: #fff; padding: 14px; }
.cf-poptile:hover { border-color: #1257A8; }
.cf-poptile__photo { width: 96px; height: 96px; flex: none; border-radius: 10px; overflow: hidden; background: #f4f4f2; display: block; }
.cf-poptile__photo img { width: 100%; height: 100%; object-fit: cover; }
.cf-poptile__body { min-width: 0; display: flex; flex-direction: column; }
.cf-poptile__title { font-weight: 700; font-size: 15px; color: #1257A8; text-decoration: none; margin-bottom: 7px; line-height: 1.15; }
.cf-poptile__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cf-poptile__links a { color: #333; text-decoration: none; font-size: 13px; }
.cf-poptile__links a:hover { color: #1257A8; }
.cf-poptile__all { margin-top: auto; padding-top: 7px; color: #1257A8; font-weight: 600; font-size: 12.5px; text-decoration: none; }

/* Crawlable page-number links under a category listing — muted, centered secondary control */
.cf-page-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 20px 0 4px; }
.cf-page-link { min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ececec; border-radius: 7px; color: #9aa0a6; text-decoration: none; font-size: 13px; background: transparent; }
.cf-page-link:hover { border-color: #fe7200; color: #fe7200; }
.cf-page-link[aria-current="page"] { border-color: #fe7200; color: #fe7200; font-weight: 600; }

/* In the home top region the banner spans the full right column; promo banners sit in a row under it */
.cf-home__top .cf-hero { grid-template-columns: 1fr; margin-bottom: 0; gap: 14px; }
.cf-home__top .cf-herobanners { flex-direction: row; height: auto; }
.cf-home__top .cf-herobanner { flex: 1; min-height: 150px; }

/* Info hub (mobile "Инфо" tab target) */
.cf-info-hub { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin: 12px 0 40px; }
.cf-info-hub__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #ececec; border-radius: 12px; color: inherit; text-decoration: none; }
.cf-info-hub__item:hover { border-color: #fe7200; }
.cf-info-hub__ic { width: 40px; height: 40px; border-radius: 10px; background: #fff3e9; color: #fe7200; display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.cf-info-hub__tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cf-info-hub__tx b { font-size: 15px; }
.cf-info-hub__tx small { color: #8a8f96; font-size: 12px; }
.cf-info-hub__chev { color: #c4c8cd; }

@media (max-width: 991px) {
  /* Reorder home into app-style flow */
  .cf-home { display: flex; flex-direction: column; gap: 16px; }
  .cf-home__msearch { display: block; order: 0; }
  .cf-home__top     { display: block; order: 1; margin-bottom: 0; }  /* only the hero shows on mobile */
  .cf-home__catalog { display: none; }          /* desktop-only vertical catalog rail */
  .cf-home__popular { display: none; }          /* desktop tiles; mobile uses circular row */
  .cf-home__mcats   { display: block; order: 2; }
  .cf-home__benefits{ order: 3; }
  .cf-home__tabs    { order: 4; }
  .cf-home__news    { order: 5; }
  .cf-home__welcome { order: 6; }

  /* Mobile search */
  .cf-msearch { display: flex; align-items: center; gap: 10px; background: #f2f2f0; border-radius: 12px; padding: 12px 14px; }
  .cf-msearch__ic { color: #9a9ea3; }
  .cf-msearch__input { border: 0; background: none; outline: none; width: 100%; font-size: 15px; }

  /* Circular categories */
  .cf-mcats { display: flex; gap: 16px; overflow-x: auto; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
  .cf-mcat { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
  .cf-mcat__thumb { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: #f4f4f2; display: flex; align-items: center; justify-content: center; }
  .cf-mcat__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .cf-mcat__name { font-size: 12px; line-height: 1.2; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Delivery/benefits as 2-col tiles; minmax(0,1fr) lets columns shrink below
     content width instead of overflowing the viewport (1fr = minmax(auto,1fr)). */
  .cf-home__benefits .home-banner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
  .cf-home__benefits .col-xs-12 { width: auto; min-width: 0; padding: 0; }
  .cf-home__benefits .home-banner__item { height: 100%; min-width: 0; padding: 12px 14px; gap: 10px; }
  .cf-home__benefits .home-banner__icon { font-size: 2em; min-width: auto; }
  .cf-home__benefits .home-banner__text { min-width: 0; padding-left: 0; overflow-wrap: break-word; }

  /* Product tabs: hide desktop carousel, show 2-col grid */
  .cf-tabs__desktop { display: none; }
  .cf-tabs__mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cf-tabs .nav-tabs { display: flex; gap: 8px; overflow-x: auto; border: 0; flex-wrap: nowrap; }
  .cf-tabs .nav-tabs > li > a { white-space: nowrap; border-radius: 999px; padding: 7px 14px; background: #f2f2f0; border: 0; }
  .cf-tabs .nav-tabs > li.active > a { background: #fe7200; color: #fff; }

  /* Bottom bar: accent the central Инфо */
  .cf-mnav__item--accent i { color: #fe7200; }
}

/* Product documents tab — cards with a PDF preview */
.cf-docgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.cf-doccard { display: flex; flex-direction: column; border: 1px solid var(--cf-line, #e6e2dc); border-radius: 12px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s, transform .15s; }
.cf-doccard:hover { border-color: #fe7200; box-shadow: 0 8px 22px rgba(20,24,30,.10); transform: translateY(-2px); }
.cf-doccard__preview { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fbfcfd 0%, #eef1f5 100%); border-bottom: 1px solid var(--cf-line, #e6e2dc); overflow: hidden; }
.cf-doccard__sheet { position: relative; width: 108px; height: 136px; background: #fff; border: 1px solid var(--cf-line, #e6e2dc); border-radius: 8px; box-shadow: 0 6px 18px rgba(20,24,30,.12); display: flex; align-items: center; justify-content: center; }
.cf-doccard__sheet::after { content: ""; position: absolute; top: -1px; right: -1px; border-width: 0 18px 18px 0; border-style: solid; border-color: #e6eaef #fff; border-top-right-radius: 8px; }
.cf-doccard__pdf { font: 800 20px/1 system-ui, Arial, sans-serif; letter-spacing: 1.5px; color: #e2452c; }
.cf-doccard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.cf-doccard__name { font-size: 13.5px; font-weight: 600; color: var(--cf-ink, #1e2125); line-height: 1.35; }
.cf-doccard__open { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: #fe7200; }
@media (max-width: 767px) { .cf-doccard__preview { height: 150px; } }

/* Footer: more breathing room between a column heading and its links */
.footer .footer__column-heading { margin-bottom: 24px; }

/* Single-method payment: static method line (chip) + order summary (variant B) */
.cf-payline { display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--cf-line, #e6e2dc); border-radius: 11px; padding: 11px 13px; background: var(--cf-ground, #f6f5f3); }
.cf-payline__t { text-align: left; }
.cf-payline__icons { display: flex; gap: 6px; flex: none; }
.cf-payline__ic { width: 34px; height: 34px; border-radius: 8px; background: #fff; border: 1px solid var(--cf-line, #e6e2dc); display: flex; align-items: center; justify-content: center; color: #fe7200; font-size: 15px; }
.cf-payline__t { font-size: 13.5px; line-height: 1.35; }
.cf-payline__t b { display: block; font-weight: 700; color: var(--cf-ink, #1e2125); }
.cf-payline__t small { display: block; color: var(--cf-soft, #6b7178); font-size: 12px; margin-top: 1px; }
.cf-paysum { margin-top: 14px; }
.cf-paysum__row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 14px; }
.cf-paysum__row span { color: var(--cf-soft, #6b7178); }
.cf-paysum__row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.cf-paysum__free { color: #1f9d57; font-weight: 700; }
.cf-paysum__hr { height: 1px; background: var(--cf-line, #e6e2dc); margin: 6px 0; }
.cf-paysum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 8px; }
.cf-paysum__total span { font-weight: 700; font-size: 15px; }
.cf-paysum__total b { font-size: 20px; font-variant-numeric: tabular-nums; }
