/* =====================================================================
   BF redesign 2026-11 — page blocks (home and shared modules)
   Black / orange / white, Manrope. Loaded from template/common/header.twig.
   ===================================================================== */

/* ---------- Advantages (module oct_benefits, #rm-shop-advantages-N) ---------- */
.bf-adv {
    margin: 64px 0 0;
    font-family: 'Manrope', Arial, sans-serif;
}
.bf-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.bf-adv-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #161616;
    border: 1px solid #2c2c2c;
    border-radius: 16px;
    transition: border-color .2s;
}
.bf-adv-item:hover { border-color: #ff680a; }
.bf-adv-num {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ff680a;
    color: #000;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}
.bf-adv-body { min-width: 0; }
.bf-adv-title,
a.bf-adv-title,
a.bf-adv-title:visited {
    display: block;
    margin-bottom: 6px;
    color: #fff !important;
    font-weight: 800;
    font-size: 17px;
    line-height: 1.3;
    text-decoration: none;
}
a.bf-adv-title:hover { color: #ff680a !important; }
.bf-adv-text {
    color: #b5b5b5 !important;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
    .bf-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .bf-adv { margin-top: 24px; }
    .bf-adv-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .bf-adv-item { padding: 16px; gap: 14px; }
    .bf-adv-num { flex-basis: 40px; width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }
    .bf-adv-title, a.bf-adv-title { font-size: 16px; }
}

/* =====================================================================
   v2 — dark site background + home page blocks
   (categories wall, products of the day, product modules,
    blog, reviews, slideshow banner)
   ===================================================================== */

/* ---------- Global ---------- */
body {
    background: #0b0b0b !important;
}
/* text that sits directly on the page background */
.sc-module-header,
.sc-page-title,
h1.sc-page-title {
    color: #fff !important;
}
.sc-breadcrumb,
.sc-breadcrumb a,
.sc-breadcrumb-item,
.sc-breadcrumb-item a { color: #9a9a9a !important; }
.sc-breadcrumb a:hover,
.sc-breadcrumb-item a:hover { color: #ff680a !important; }

/* section headings (Рекомендовані, Блог, Відгуки…) */
.sc-module-header {
    padding: 0 !important;
    margin: 48px 0 20px !important;
    font-family: 'Unbounded', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 36px !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    text-transform: none !important;
    text-align: left !important;
}
@media (max-width: 767.98px) {
    .sc-module-header { font-size: 26px !important; margin: 32px 0 14px !important; }
}

/* ---------- Home: shared card skin ---------- */
#common-home { font-family: 'Manrope', Arial, sans-serif; }
#common-home .content-block,
#common-home .content-block-p24 {
    background: #161616 !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 16px !important;
    color: #c9c9c9;
    box-shadow: none !important;
    transition: border-color .2s;
}
#common-home .content-block:hover,
#common-home .content-block-p24:hover { border-color: #444 !important; }
#common-home .dark-text { color: #fff !important; }
#common-home .light-text { color: #9a9a9a !important; }
#common-home a.dark-text:hover,
#common-home .dark-text a:hover { color: #ff680a !important; }

/* stickers / badges */
#common-home .sc-module-sticker {
    background: #ff680a !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    border-radius: 6px !important;
    text-transform: none;
}
#common-home .sc-module-sticker-image { background: none !important; }

/* rating */
#common-home .sc-module-rating { background: #222 !important; border-radius: 6px; }

/* orange primary buttons (to cart, see more) */
#common-home .sc-btn-primary:not([disabled]),
#common-home .sc-module-cart-btn {
    background: #ff680a !important;
    border-color: #ff680a !important;
    color: #000 !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
}
#common-home .sc-btn-primary:not([disabled]) .sc-btn-text { color: #000 !important; }
#common-home .sc-btn-primary:not([disabled]):hover { background: #ff7f2e !important; }
#common-home .sc-btn-primary .sc-btn-icon { background: #000 !important; }
#common-home .sc-btn-primary img.sc-btn-icon,
#common-home .sc-btn-icon-cart-img { filter: brightness(0); background: none !important; }

/* outline buttons (wishlist, compare, slider arrows) */
#common-home .sc-btn-outline-secondary {
    background: #1c1c1c !important;
    border: 1px solid #333 !important;
    border-radius: 10px !important;
}
#common-home .sc-btn-outline-secondary .sc-btn-icon { background: #fff !important; }
#common-home .sc-btn-outline-secondary:hover { border-color: #ff680a !important; }
#common-home .sc-btn-outline-secondary:hover .sc-btn-icon { background: #ff680a !important; }

/* product photos stay on white so cut-outs look right */
#common-home .sc-module-img,
#common-home .sc-slideshow-plus-specials-item .d-flex > a:first-child {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
#common-home .sc-module-img img { padding: 8px; }

/* ---------- Product modules (Рекомендовані, Розпродаж…) ---------- */
#common-home .sc-module-title,
#common-home .sc-module-title > a,
#common-home .sc-module-title > a:visited {
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}
#common-home .sc-module-item:hover .sc-module-title > a { color: #ff680a !important; }
#common-home .sc-module-price {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}
#common-home .sc-module-price-old { color: #9a9a9a !important; }
#common-home .sc-module-quantity {
    background: #1c1c1c !important;
    border: 1px solid #333;
    border-radius: 10px !important;
}
#common-home .sc-module-quantity .form-control {
    background: transparent !important;
    color: #fff !important;
    border: 0 !important;
}
#common-home .sc-module-quantity-btn { color: #fff !important; }
#common-home .sc-module-item-attr { color: #c9c9c9 !important; }
#common-home .sc-module-model { color: #8a8a8a !important; }

/* ---------- Products of the day (oct_slideshow_plus specials) ---------- */
#common-home .products-of-the-day > .fsz-20 {
    padding: 0 !important;
    margin: 48px 0 20px;
    color: #fff;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 900 !important;
    font-size: 36px !important;
    line-height: 1.1;
    letter-spacing: -1px;
}
@media (max-width: 767.98px) {
    #common-home .products-of-the-day > .fsz-20 { font-size: 26px !important; margin: 32px 0 14px; }
}
#common-home .sc-slideshow-plus-specials-item { margin: 0 8px; }
#common-home .sc-slideshow-plus-specials-item img { display: block; width: 72px; height: 72px; object-fit: contain; padding: 4px; }
#common-home .sc-slideshow-plus-specials-block-title { color: #fff !important; line-height: 1.35; }
#common-home .sc-slideshow-plus-specials-block-title:hover { color: #ff680a !important; }
#common-home .sc-slideshow-plus-specials-block-price-new { color: #ff680a !important; }
#common-home .sc-slideshow-plus-specials-block-price-old { color: #9a9a9a !important; }

/* ---------- Slideshow banner (gift set etc.) ---------- */
#common-home .sc-slideshow-plus-item {
    background: #0b0b0b !important;
    border: 1px solid #2c2c2c !important;
    border-radius: 20px !important;
}
#common-home .sc-slideshow-plus-item .h1 {
    color: #fff !important;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: -1px;
}
#common-home .sc-slideshow-plus-item p { color: #c9c9c9 !important; }
#common-home .sc-slideshow-plus-item .sc-btn {
    background: #ff680a !important;
    color: #000 !important;
    border-radius: 12px !important;
    font-weight: 800;
    padding: 14px 28px;
}

/* ---------- Category wall (Категорії) ---------- */
#common-home .sc-category-wall-item .content-block { padding: 20px !important; }
#common-home .sc-category-wall-item img {
    background: #fff;
    border-radius: 12px;
    padding: 6px;
}
#common-home .sc-category-wall-title {
    color: #fff !important;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.25;
}
#common-home .sc-category-wall-item:hover .content-block { border-color: #ff680a !important; }
#common-home .sc-category-wall-item:hover .sc-category-wall-title { color: #ff680a !important; }
#common-home .sc-category-wall-item-list { background: #161616; }
#common-home .sc-category-wall-item-list .blue-link { color: #c9c9c9 !important; }
#common-home .sc-category-wall-item-list .blue-link:hover { color: #ff680a !important; }

/* ---------- Blog ---------- */
#common-home .sc-last-news-item .content-block { padding: 0 !important; overflow: hidden; }
#common-home .sc-last-news-item img { width: 100%; height: auto; display: block; }
#common-home .sc-last-news-title {
    color: #fff !important;
    font-family: 'Unbounded', Arial, sans-serif;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.35;
    padding-bottom: 8px;
}
#common-home .sc-last-news-title:hover { color: #ff680a !important; }
#common-home .sc-last-news-item-date { color: #8a8a8a !important; font-weight: 700; }

/* ---------- Reviews ---------- */
#common-home .sc-last-reviews-item .content-block { padding: 24px !important; gap: 4px; }
#common-home .sc-last-reviews-info img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}
#common-home .sc-last-reviews-author-name { color: #fff !important; font-weight: 800 !important; font-size: 16px; }
#common-home .sc-last-reviews-date { color: #8a8a8a !important; }
#common-home .sc-last-reviews-title,
#common-home .sc-last-reviews-title:visited { color: #ff680a !important; line-height: 1.35; }
#common-home .sc-last-reviews-title:hover { color: #fff !important; }
#common-home .sc-last-reviews-text { color: #c9c9c9 !important; font-size: 14px !important; line-height: 1.6; }

/* slick arrows on dark */
#common-home .slick-slider-btn { background: #1c1c1c !important; border: 1px solid #333 !important; }
#common-home .slick-slider-btn .sc-btn-icon { background: #fff !important; }
#common-home .slick-dots li button { background: #333; }
