/* ============================================================================
   BACAR sdi.css v4.4 - FULL REDESIGN (header + product cards use theme layout)
   Based on bacar-final-preview.html reference
   
   Loaded from template/common/header.twig line 120
   (loads AFTER all other theme styles = highest priority)
============================================================================ */

/* Manrope font loaded via <link> in header.twig for better performance */


/* ============================================================================
   1. ORIGINAL BACAR CUSTOM STYLES (preserved - was working before)
============================================================================ */

.podbor {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-gap: 40px;
    margin-top: 50px;
    padding: 1rem;
    background: var(--ds-white-color);
    border: var(--ds-main-border);
    transition: box-shadow 0.25s ease;
    border-radius: .25rem;
}
.podbor:hover { box-shadow: var(--ds-medium-shadow); }
.podbor_right {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-gap: 14px;
}
.podbor_right .item {
    border-radius: 100%;
    border: var(--ds-main-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.podbor_right .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.podbor_right .item:hover { box-shadow: var(--ds-medium-shadow); }
.podbor_right .item::marker { font-size: 0; display: none; }
.podbor_right .item a img { max-width: 70%; object-fit: contain; }
.podbor_left p {
    color: var(--ds-links-color);
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    margin-bottom: 15px;
}
.sub_categories_new {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-gap: 40px;
    padding: 1rem;
    background: var(--ds-white-color);
    border: var(--ds-main-border);
    transition: box-shadow 0.25s ease;
    border-radius: .25rem;
}
.sub_categories_new .sub_categories_new_left p {
    color: var(--ds-links-color);
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    margin-bottom: 15px;
}
.ds-subcategories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 8px;
}
.ds-subcategories > a {
    width: 100%;
    background: var(--ds-primary-light-color);
    border: var(--ds-main-border);
    padding: .5rem .75rem;
    border-radius: .4375rem !important;
}

@media (max-width: 991.98px) {
    .podbor { grid-gap: 20px; grid-template-columns: 1fr; }
    .podbor_right { grid-template-columns: repeat(4, 1fr); grid-gap: 8px; }
    .sub_categories_new { grid-gap: 20px; grid-template-columns: 1fr; }
    .ds-subcategories { grid-template-columns: repeat(2, 1fr); }
    .ds-mobile-bottom-nav-item-icon {
        width: 22px; height: 26px;
        -webkit-mask-size: 30px; mask-size: 30px;
        display: flex; align-items: center; justify-content: center;
    }
    .ds-mobile-bottom-nav-item-icon.button-icon-cart {
        -webkit-mask-size: 21px; mask-size: 21px;
    }
    .ds-mobile-bottom-nav-item-badge { background-color: var(--ds-red-color); }
}
@media (max-width: 767.98px) {
    .ds-footer-item { width: 50%; }
    #logo { max-width: 65px; }
}

.ds-product-options .radio label { font-size: 0.9rem; }

.options_info {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    padding: 14px 16px 14px 44px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #f46913 !important;
    font-size: 13px !important;
    position: relative !important;
    color: #374151 !important;
    line-height: 1.5 !important;
}
.options_info:before {
    position: absolute !important;
    content: '' !important;
    left: 14px !important;
    top: 14px !important;
    width: 20px !important;
    height: 20px !important;
    background: #f46913 !important;
    border-radius: 50% !important;
    -webkit-mask: none !important;
    mask: none !important;
}
.options_info:after {
    position: absolute !important;
    content: '!' !important;
    left: 14px !important;
    top: 14px !important;
    width: 20px !important;
    height: 20px !important;
    line-height: 20px !important;
    text-align: center !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
}
.options_info b { font-weight: 600 !important; color: #1d1d1f !important; }
.options_info ul { padding: 0 !important; margin: 6px 0 0 16px !important; }
.options_info ul li { position: relative !important; padding-left: 0 !important; margin-bottom: 2px !important; list-style: disc !important; }
.options_info ul li::marker { color: #f46913 !important; font-size: inherit !important; display: list-item !important; }
.options_info ul li:before { display: none !important; }

.ds-product-options .radio label {
    padding: .775rem 1.5rem;
    background-color: var(--ds-white-color);
}
.ds-product-options .radio label.selected { background-color: var(--ds-white-color); }

.thumb_text_now {
    position: absolute;
    right: 15px; top: 15px;
    background: #fff;
    border: 2px solid #eeeeee;
    padding: 5px 15px 5px 7px;
    font-size: 13px;
    color: #f46913;
    font-weight: 600;
    border-radius: 100px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    z-index: 10;
}
.thumb_text_now span {
    font-weight: 700;
    background: #fdf2de;
    color: #000;
    padding: 0 10px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin-left: 5px;
}

.ds-product-images-additional .swiper,
.ds-product-images-additional {
    padding-top: 0;
    border-radius: 0 !important;
}
.ds-menu-catalog.ds-menu-main-catalog.active > .ds-menu-catalog-inner { min-height: 500px; }

@media (max-width: 769px) {
    .ds-product-tab-content-text .img-fluid {
        height: auto !important;
        max-width: 100% !important;
    }
    .srav_block span:nth-of-type(1) { display: none; }
    .srav_optimal .srav_title,
    .srav_individual .srav_title {
        padding-left: 10px;
        padding-right: 10px;
        white-space: nowrap;
        overflow-x: auto;
    }
    .srav { overflow-x: auto; }
    .srav_block ul { padding: 0; }
}

.align-items-stretch { gap: .25rem !important; }
.ds-product-advantages-payments-item { padding: .35rem .35rem !important; }
#back-top { bottom: 156px; }

.sdi_product_bottom {
    display: none;
    position: fixed;
    bottom: -80px;
    z-index: 10;
    width: calc(100% - 25px);
    left: 50%;
    transform: translateX(-50%);
    grid-template-columns: 1fr 1fr;
    padding: .5rem .7rem !important;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: bottom 0.3s ease-in-out;
}
@media (max-width: 991.98px) {
    .sdi_product_bottom { display: grid; }
    .sdi_product_bottom.active { bottom: 80px; }
}

.crdt { display: grid; grid-template-columns: 1fr 100px; grid-gap: 16px; }
.crdt_left_inner {
    align-items: center;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-gap: 16px;
}
.crdt_left span,
.crdt_left span * {
    color: var(--bs-orange) !important;
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}
.crdt_middle ul {
    display: flex; gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0; margin: 0;
}
.crdt_middle ul li {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border: var(--ds-main-border);
    border-radius: 8px;
    position: relative;
}
.crdt_middle ul li span {
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 7px;
    padding: 0.04rem 0.2rem;
    color: var(--ds-primary-dark-color);
    background: var(--ds-popup-backdrop-bg-dark);
    position: absolute;
    right: -10px; top: -10px;
}
.crdt_middle ul li:before {
    position: absolute;
    content: '';
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 18px; height: 18px;
    background: url(../images/pp.png) no-repeat center;
    background-size: contain;
}
.crdt_middle ul li.mn:before { background: url(../images/mn.png) no-repeat center; background-size: contain; }
.crdt_middle ul li.gl:before { background: url(../images/gl.png) no-repeat center; background-size: contain; }
.crdt_middle ul li.ab2:before { background: url(../images/abank2.png) no-repeat center; background-size: contain; }
.crdt_middle ul li.otp:before { background: url(../images/otp.png) no-repeat center; background-size: contain; }
.crdt_right button { width: 100%; }

.ds-product-main-price { display: flex; align-items: center; grid-gap: 35px; }
.ds-product-main-price .align-items-stretch { width: 100%; }

.oct-official-representative { padding: .35rem; width: 100%; margin: 0 !important; }
.oct-official-representative * { line-height: 1.15; }

@media (max-width: 991.98px) {
    .crdt { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .ds-product-main-price { grid-gap: 24px; }
    .oct-official-representative { width: initial; }
    .oct-official-representative * { font-size: 11px; }
    .oct-official-representative .official-rep-text { min-width: 72px; }
    .oct-official-representative img { width: 40px; height: 40px; }
}

.ds-module-sticker-image {
    padding: .35rem !important;
    border: var(--ds-main-border);
    border-radius: 8px;
}
.ds-module-sticker-image img {
    max-width: 28px !important;
    max-height: 28px !important;
}

.sdi_social_header_items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4px;
    width: 100%;
}
.fsz-24 {
    width: 100%;
    justify-content: center;
    display: flex;
}

/* Payment badges */
.ds-product-advantages-payments {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: .35rem !important;
    margin-bottom: 1rem !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
}
.ds-product-advantages-payments-item {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #f46913 !important;
    border-radius: .35rem !important;
    padding: .15rem .45rem !important;
    background: #fffaf7 !important;
    transition: all 0.25s ease !important;
}
.ds-product-advantages-payments-item:hover {
    border-color: #ff6f2c !important;
    background: #fff2eb !important;
    transform: scale(1.03) !important;
    box-shadow: 0 2px 6px rgba(244,105,19,0.25) !important;
}
.ds-product-advantages-payments-item img {
    width: auto !important;
    max-height: 25px !important;
    margin-right: 6px !important;
    transition: transform 0.25s ease !important;
}
.ds-product-advantages-payments-item:hover img {
    transform: scale(1.1) !important;
}
.ds-product-advantages-payments-item span {
    font-weight: 400 !important;
    font-size: 10px !important;
    color: #141414 !important;
    white-space: nowrap !important;
}

#product .ds-product-main-price {
    border: 2px solid #f46913 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 0 22px rgba(244,105,19,.35) !important;
    padding: 16px !important;
    transition: box-shadow .3s ease-in-out !important;
}
.sdi_product_bottom {
    border: 2px solid #f46913 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 0 22px rgba(244,105,19,.35) !important;
    transition: box-shadow .3s ease-in-out !important;
}

/* ============================================================================
   COMPARISON TABLE - based on user's working solution
============================================================================ */

.srav_bg {
    width: 100%;
    margin-bottom: 40px;
    background: #fff;
    border: 1.5px solid rgba(244,105,19,.2);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(244,105,19,.10);
    padding: 12px;
    overflow: visible;
    position: relative;
}
.srav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 8px;
    align-items: stretch;
    width: 100%;
}
.srav_block {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: all 0.2s ease;
}
.srav_block:hover {
    border-color: #f46913;
    box-shadow: 0 8px 20px rgba(244,105,19,.12);
    transform: translateY(-2px);
}
.srav_block.srav_fynction {
    background: #fafafa;
    border-color: #efefef;
}
.srav_block.srav_fynction:hover {
    transform: none;
    box-shadow: none;
    border-color: #efefef;
}
.srav_block.srav_individual {
    background: linear-gradient(180deg, #fff7ed 0%, #fff 70%);
    border-color: #f46913;
    box-shadow: 0 4px 14px rgba(244,105,19,.10);
}
.srav .srav_block:nth-of-type(3)::before {
    content: 'TOP';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f46913;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 100px;
    white-space: nowrap;
    z-index: 3;
    letter-spacing: 0.08em;
}

/* KEY FIX: fixed height on ALL headers simultaneously */
.srav_title,
.srav_title_black {
    height: 58px;
    min-height: 58px;
    padding: 8px 6px;
    line-height: 1.2;
    border-bottom: 1px solid #f3f4f6;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.srav_title {
    font-weight: 700;
    font-size: 13px;
    color: #f46913;
}
.srav_title_black {
    color: #111827;
}
.srav_title_black .version {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
    white-space: nowrap;
}
.srav_title_black > span:not(.version) {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* KEY FIX: fixed height on ALL rows simultaneously */
.srav_block ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.srav_block ul li {
    height: 42px !important;
    min-height: 42px !important;
    padding: 6px 4px !important;
    border-bottom: 1px solid #f3f4f6 !important;
    font-size: 12.5px !important;
    color: #374151 !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    /* Reset any inherited list styles */
    list-style: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.srav_block ul li:last-child { border-bottom: none !important; }
.srav_block.srav_fynction ul li {
    text-align: left !important;
    justify-content: flex-start !important;
    padding-left: 10px !important;
    color: #6b7280 !important;
}

/* Plus/Minus - li is flex container, ::before is the circle */
.srav_block ul li.plus,
.srav_block ul li.minus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}
.srav_block .plus::before,
.srav_block .minus::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}
.srav_block .plus::before {
    content: '✓';
    background: #10b981;
    font-size: 14px;
}
.srav_block .minus::before {
    content: '✕';
    background: #f87171;
    font-size: 12px;
}

/* Mobile - no horizontal scroll, 4 columns always fit */
@media (max-width: 769px) {
    .srav_bg { padding: 8px; overflow: visible; }
    .srav {
        grid-template-columns: 23.5% 24.5% 25.5% 26.5%;
        gap: 4px;
        overflow: visible;
    }
    .srav_block { min-width: 0; border-radius: 10px; }
    .srav_title,
    .srav_title_black {
        height: 58px;
        min-height: 58px;
        padding: 7px 2px 6px;
        line-height: 1.08;
    }
    .srav_title { font-size: 10px; }
    .srav_title_black .version {
        font-size: 8px;
        letter-spacing: 0.04em;
        margin-bottom: 3px;
    }
    .srav_title_black > span:not(.version) {
        font-size: 12px;
        line-height: 1.05;
        letter-spacing: -0.04em;
        overflow-wrap: anywhere;
    }
    .srav_block ul li {
        height: 40px;
        min-height: 40px;
        padding: 5px 2px;
        font-size: 10.2px;
        line-height: 1.08;
    }
    .srav_block.srav_fynction ul li {
        padding-left: 5px;
        font-size: 10px;
    }
    .srav_block ul li.plus,
    .srav_block ul li.minus { padding: 0 !important; }
    .srav_block .plus::before,
    .srav_block .minus::before {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    .srav_block .minus::before { font-size: 10px; }
    .srav .srav_block:nth-of-type(3)::before {
        top: -8px;
        font-size: 8px;
        padding: 2px 8px;
    }
}

@media (max-width: 360px) {
    .srav_bg { padding: 6px; }
    .srav { gap: 3px; }
    .srav_title,
    .srav_title_black { height: 56px; min-height: 56px; }
    .srav_title { font-size: 9.2px; }
    .srav_title_black .version { font-size: 7.5px; }
    .srav_title_black > span:not(.version) { font-size: 11px; }
    .srav_block ul li { height: 38px; min-height: 38px; font-size: 9.4px; }
    .srav_block.srav_fynction ul li { font-size: 9.2px; padding-left: 4px; }
    .srav_block ul li.plus,
    .srav_block ul li.minus { padding: 0 !important; }
    .srav_block .plus::before,
    .srav_block .minus::before { width: 20px; height: 20px; }
}


/* ============================================================================
   2. BACAR v4.0 REDESIGN - NEW STYLES
============================================================================ */

/* Apply Manrope everywhere */
body,
.ds-header,
.ds-footer,
.ds-module-title,
.ds-module-price,
.ds-category-sort,
.ds-page-title,
button,
input,
select {
    font-family: 'Manrope', 'Ubuntu', system-ui, sans-serif !important;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.ds-page-title h1 {
    letter-spacing: -0.02em;
    font-weight: 700;
}


/* ============================================================================
   3. HEADER - DEFAULT (no custom styles, theme controls everything)
   All header styling removed per user request - uses oct_deals defaults.
============================================================================ */


/* ============================================================================
   4. HERO BANNER (home.twig)
============================================================================ */

.bc-hero { padding: 24px 0 32px; }
.bc-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}
@media (max-width: 991px) {
    .bc-hero-grid { grid-template-columns: 1fr; }
}

.bc-hero-main {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0f05 0%, #2a1810 50%, #1a0a0a 100%);
    border-radius: 24px;
    padding: 56px 64px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}
.bc-hero-main::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244,105,19,0.35), transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}
@media (max-width: 768px) {
    .bc-hero-main { padding: 32px 24px; min-height: 260px; }
}

.bc-hero-badge {
    display: inline-block;
    background: rgba(244,105,19,0.18);
    color: #fdba74;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
    position: relative;
    z-index: 1;
}

.bc-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}
.bc-hero-title span { color: #f46913; }

@media (max-width: 768px) {
    .bc-hero-title { font-size: 28px; }
}

.bc-hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.bc-hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.bc-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f46913;
    color: #ffffff !important;
    padding: 14px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.bc-hero-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(244,105,19,0.4);
}
.bc-hero-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
}
.bc-hero-btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    box-shadow: none;
}

.bc-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 991px) {
    .bc-hero-side {
        grid-template-rows: auto auto;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 576px) {
    .bc-hero-side { grid-template-columns: 1fr; }
}

.bc-hero-card {
    padding: 28px;
    border-radius: 20px;
    color: #ffffff !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 140px;
}
.bc-hero-card:hover {
    transform: translateY(-3px);
    border-color: #f46913;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.bc-hero-card-label {
    background: #f46913;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}
.bc-hero-card-label-green { background: #10b981; }
.bc-hero-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
}
.bc-hero-card p {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}


/* ============================================================================
   5. SECTION HEADERS (home.twig)
============================================================================ */

.bc-section { margin: 40px 0; }
.bc-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.bc-section-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0;
}
.bc-section-link {
    color: #f46913;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s;
}
.bc-section-link:hover {
    color: #ea580c;
    gap: 8px;
}
@media (max-width: 576px) {
    .bc-section-title { font-size: 20px; }
}


/* ============================================================================
   6. BRANDS BLOCK - Square cards (override circle default)
============================================================================ */

.podbor {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 20px !important;
    padding: 28px !important;
    margin-top: 32px !important;
    transition: box-shadow 0.25s !important;
}
.podbor:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important; }

.podbor_left p {
    color: #f46913 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}
.podbor_left span,
.sub_categories_new .sub_categories_new_left span {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.podbor_right { grid-gap: 10px !important; }
@media (max-width: 1200px) {
    .podbor_right { grid-template-columns: repeat(6, 1fr) !important; }
}
@media (max-width: 768px) {
    .podbor_right { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 480px) {
    .podbor_right { grid-template-columns: repeat(3, 1fr) !important; }
}

.podbor_right .item {
    border-radius: 14px !important;
    border: 1.5px solid #e5e7eb !important;
    background: #ffffff !important;
    aspect-ratio: 1 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.podbor_right .item:hover {
    border-color: #f46913 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(244,105,19,0.2) !important;
}
.podbor_right .item a { padding: 12px; }
.podbor_right .item a img {
    max-height: 50px !important;
    filter: grayscale(0.15);
    transition: filter 0.2s, transform 0.25s;
}
.podbor_right .item:hover a img {
    filter: grayscale(0);
    transform: scale(1.08);
}

.sub_categories_new {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 20px !important;
    padding: 28px !important;
}
.sub_categories_new .sub_categories_new_left p {
    color: #f46913 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}
.ds-subcategories > a {
    width: 100% !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #111827 !important;
    transition: all 0.2s !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-decoration: none !important;
}
.ds-subcategories > a::after {
    content: '→';
    opacity: 0;
    transition: all 0.2s;
    color: #f46913;
    font-weight: 700;
    margin-left: 8px;
}
.ds-subcategories > a:hover {
    background: #fff7ed !important;
    border-color: #f46913 !important;
    color: #f46913 !important;
    transform: translateX(2px);
}
.ds-subcategories > a:hover::after { opacity: 1; }

/* Subcategories - compact on mobile */
@media (max-width: 991px) {
    .ds-subcategories {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 6px !important;
    }
    .ds-subcategories > a {
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
    .ds-subcategories > a::after {
        display: none !important;
    }
    .sub_categories_new {
        padding: 16px !important;
        border-radius: 16px !important;
    }
}


/* ============================================================================
   7. H1 / Page title
============================================================================ */

.ds-page-title h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
}
@media (max-width: 768px) {
    .ds-page-title h1 { font-size: 22px !important; }
}


/* ============================================================================
   8. BREADCRUMBS
============================================================================ */

.ds-breadcrumb {
    padding: 16px 0 12px !important;
    font-size: 13px !important;
}
.ds-breadcrumb-item a {
    color: #6b7280 !important;
    text-decoration: none !important;
    transition: color 0.15s;
}
.ds-breadcrumb-item a:hover { color: #f46913 !important; }


/* ============================================================================
   9. SORT / LIMIT PANEL
============================================================================ */

.ds-category-sort {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    margin-bottom: 16px !important;
}
.ds-category-sort-select,
.ds-category-limit-select {
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 8px 28px 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background-color: #fafafa !important;
    transition: all 0.15s;
}
.ds-category-sort-select:hover,
.ds-category-limit-select:hover { border-color: #f46913 !important; }
.ds-category-sort-select:focus,
.ds-category-limit-select:focus {
    border-color: #f46913 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px #fff7ed !important;
}


/* ============================================================================
   10. PRODUCT CARDS IN LIST - Soft redesign (preserves theme layout)
   Only colors/borders/shadows/hover - NO display/padding/width/height overrides
   that would break OCTemplates card structure.
============================================================================ */

/* Product card container - rounded border + hover */
.ds-category-products .product-layout .content-block,
.ds-column-products .content-block,
.ds-module .ds-module-item .content-block,
.ds-module .ds-module-item > .content-block {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.ds-category-products .product-layout .content-block:hover,
.ds-column-products .content-block:hover,
.ds-module .ds-module-item .content-block:hover,
.ds-module .ds-module-item > .content-block:hover {
    border-color: #f46913 !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
}

/* Product image background - soft gradient (keep theme padding/sizing) */
.ds-category-products .ds-module-img-box,
.ds-column-products .ds-module-img-box,
.ds-module .ds-module-img-box {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%) !important;
}
html.dark-theme .ds-category-products .ds-module-img-box,
html.dark-theme .ds-column-products .ds-module-img-box,
html.dark-theme .ds-module .ds-module-img-box {
    background: linear-gradient(135deg, #1a1a1a, #141414) !important;
}

/* Product image zoom on card hover */
.ds-category-products .ds-module-img-box img,
.ds-column-products .ds-module-img-box img,
.ds-module .ds-module-img-box img {
    transition: transform 0.35s ease !important;
}
.ds-category-products .product-layout .content-block:hover .ds-module-img-box img,
.ds-column-products .content-block:hover .ds-module-img-box img,
.ds-module .ds-module-item .content-block:hover .ds-module-img-box img {
    transform: scale(1.05);
}

/* Stickers (Hit/New/Sale) - style only, keep theme positioning */
.ds-module-sticker {
    border-radius: 6px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}
.ds-module-sticker.red-bg { background: #ef4444 !important; }

/* Action buttons on card (wishlist/compare) - color and border only */
.ds-module-button {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    transition: all 0.15s !important;
}
.ds-module-button:hover,
.ds-module-button.active {
    background: #f46913 !important;
    border-color: #f46913 !important;
}
.ds-module-button:hover svg path,
.ds-module-button.active svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Product title - orange on hover */
.ds-module-title a { text-decoration: none !important; }
.ds-module-item:hover .ds-module-title,
.ds-module-title a:hover {
    color: #f46913 !important;
}

/* Stock indicator - green */
.ds-module-stock {
    color: #10b981 !important;
    font-weight: 600 !important;
}

/* Rating stars */
.ds-module-rating-star svg { fill: #e5e7eb !important; }
.ds-module-rating-star-is svg { fill: #f59e0b !important; }

/* Price colors - no border, no margin changes */
.ds-module-price {
    font-weight: 800 !important;
    color: #111827 !important;
}
.ds-module-price-new { color: #f46913 !important; }
.ds-module-price-old {
    color: #9ca3af !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

/* Cart button in card - outline orange, fills on hover */
.ds-module-cart-btn {
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
    border-color: #f46913 !important;
    color: #f46913 !important;
    background: transparent !important;
}
.ds-module-cart-btn:hover:not([disabled]) {
    background: #f46913 !important;
    color: #ffffff !important;
}
.ds-module-cart-btn:hover:not([disabled]) svg path {
    fill: #ffffff !important;
}

/* Quantity input - rounded */
.ds-module-quantity {
    border-radius: 10px !important;
}

/* "Load more" button */
.oct-load-more-button {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    color: #111827 !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}
.oct-load-more-button:hover {
    border-color: #f46913 !important;
    color: #f46913 !important;
    background: #fff7ed !important;
    transform: translateY(-1px);
}


/* Credit tag icons background */
.ds-module-sticker-images {
    background: #fafafa !important;
    border-radius: 8px !important;
    border: none !important;
}

/* BEFORE-AFTER FEATURE: Credit tags in product list card (bank badges) */
.credit-tag,
.product-card .credit-tag,
.ds-module-credit-tag {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    padding: 3px 7px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    margin-right: 4px !important;
    transition: all 0.15s ease !important;
}
.credit-tag:hover,
.product-card .credit-tag:hover,
.ds-module-credit-tag:hover {
    border-color: #f46913 !important;
    color: #f46913 !important;
}

/* Featured comparison card moved to main srav section */


/* ============================================================================
   11. PRODUCT PAGE
============================================================================ */

.ds-product-title,
#product h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 12px !important;
}
@media (max-width: 768px) {
    .ds-product-title, #product h1 { font-size: 20px !important; }
}

.ds-product-manufacturer a {
    color: #f46913 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.ds-product-tabs .nav-link,
.nav-tabs .nav-link {
    padding: 12px 20px !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #6b7280 !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: all 0.15s;
}
.ds-product-tabs .nav-link.active,
.nav-tabs .nav-link.active {
    color: #f46913 !important;
    border-bottom-color: #f46913 !important;
    background: transparent !important;
    font-weight: 600 !important;
}

.ds-product-options .radio label,
.ds-product-options .checkbox label {
    padding: 12px 18px !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    transition: all 0.15s;
}
.ds-product-options .radio label:hover,
.ds-product-options .checkbox label:hover {
    border-color: #fed7aa !important;
    background: #fff7ed !important;
}
.ds-product-options .radio label.selected,
.ds-product-options .checkbox label.selected,
.ds-product-options input:checked + label {
    border-color: #f46913 !important;
    background: #fff7ed !important;
    color: #f46913 !important;
    font-weight: 600 !important;
}

.ds-product-main-attributes > div:nth-child(odd),
.ds-product-attribute-group-item:nth-child(odd) {
    background-color: rgba(0,0,0,0.02);
    border-radius: 8px;
    padding: 4px 8px;
}

.ds-review-item,
.ds-product-review-item {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 12px !important;
    transition: border-color 0.15s;
}
.ds-review-item:hover,
.ds-product-review-item:hover { border-color: #fed7aa !important; }

#button-cart {
    background: #f46913 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: all 0.2s !important;
    letter-spacing: 0.01em;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}
#button-cart:hover:not([disabled]) {
    background: #ea580c !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(244,105,19,0.3);
}


/* ============================================================================
   11b. PRODUCT PAGE - Right block (bacar-redesign.html) via CSS ONLY
   SAFE: zero HTML changes, all JS functions intact
   Maps OCTemplates classes to pp-* design from reference
============================================================================ */

/* --- Price block: ds-price-new/old -> pp-price style --- */

/* Keep existing #product .ds-product-main-price border/shadow from section 11 */
/* Only override font sizes and colors */
#product .ds-price-new {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}
#product .ds-price-old {
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #6e6e73 !important;
    text-decoration: line-through !important;
}
@media (max-width: 991px) {
    #product .ds-price-new { font-size: 34px !important; }
}

/* --- Options: .radio label -> pp-option cards --- */
/* Container: flex -> grid 2x2 */
#ds-product-options .options-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}
/* options_info (yellow warning block) - full width, not in 2-col grid */
#ds-product-options .options-box .options_info {
    grid-column: 1 / -1 !important;
    margin-bottom: 4px !important;
}
/* Spacing between option groups */
#ds-product-options .form-group {
    margin-bottom: 20px !important;
}
#ds-product-options .form-group:last-child {
    margin-bottom: 0 !important;
}

/* Each option wrapper */
#ds-product-options .radio {
    display: contents !important;
}
/* Label = pp-option card */
#ds-product-options .radio label.ds-radio {
    position: relative !important;
    padding: 12px 16px 12px 14px !important;
    border: 2px solid #e5e5e7 !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    line-height: 1.3 !important;
    text-align: left !important;
    margin: 0 !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    padding-right: 36px !important;
}
#ds-product-options .radio label.ds-radio:hover {
    border-color: #d2d2d7 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}
/* Active option: .selected -> pp-option.is-active */
#ds-product-options .radio label.ds-radio.selected {
    border-color: #ff6b1a !important;
    background: #fff4ed !important;
    color: #e04e00 !important;
    transform: none !important;
    box-shadow: none !important;
}
/* Option label: two-line layout (main size + sub type) */
#ds-product-options .radio label.ds-radio {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
}
.bc-opt-main {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    line-height: 1.2;
    display: block;
}
.bc-opt-sub {
    font-size: 12px;
    font-weight: 500;
    color: #6e6e73;
    line-height: 1.2;
    display: block;
}
#ds-product-options .radio label.ds-radio.selected .bc-opt-sub {
    color: #e04e00 !important;
}

/* Checkmark top-right on active (::after pseudo on label) */
#ds-product-options .radio label.ds-radio.selected::after {
    content: '' !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #ff6b1a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat !important;
}
/* Hide the real radio input */
#ds-product-options .radio input[type=radio] { display: none !important; }

/* --- Buy button: #button-cart -> pp-btn-primary --- */
#button-cart {
    background: #ff6b1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(255,107,26,0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    letter-spacing: 0 !important;
    margin-top: 8px !important;
}
#button-cart:hover:not([disabled]) {
    background: #e04e00 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(255,107,26,0.35) !important;
}
#button-cart:active:not([disabled]) { transform: translateY(0) !important; }
@media (max-width: 991px) {
    #button-cart { font-size: 15px !important; padding: 16px 20px !important; }
    #product .ds-price-new { font-size: 34px !important; }

    /* Options: wrap text naturally in 2 lines inside 2-col grid */
    #ds-product-options .options-box {
        gap: 8px !important;
    }
    #ds-product-options .radio label.ds-radio {
        font-size: 13px !important;
        padding: 10px 32px 10px 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        align-items: flex-start !important;
        line-height: 1.4 !important;
    }
    #ds-product-options .radio label.ds-radio.selected::after {
        width: 16px !important;
        height: 16px !important;
        top: 8px !important;
        right: 8px !important;
    }
}

/* --- Credit block: .crdt -> pp-credit --- */


/* --- Mobile sticky bottom --- */
/* Price - left aligned, bigger */
.sdi_product_bottom #sdi-price-new {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    text-align: left !important;
    letter-spacing: -0.02em !important;
}
.sdi_product_bottom .price_cost {
    text-align: left !important;
    align-items: flex-start !important;
}
/* Hide empty percent block so price aligns left */
.sdi_product_bottom .price_percent:empty {
    display: none !important;
}
.sdi_product_bottom .price_percent {
    min-width: 0 !important;
    flex-shrink: 1 !important;
}


/* ============================================================================
   11c. PRODUCT DESCRIPTION - preserve bold/strong text
   Fix: theme uses fw-300 on description which breaks <strong> rendering
============================================================================ */

/* Reset font-weight on description so bold works */
.ds-product-tab-content-text {
    font-weight: 400 !important;
}
.ds-product-tab-content-text strong,
.ds-product-tab-content-text b {
    font-weight: 700 !important;
}
.ds-product-tab-content-text em,
.ds-product-tab-content-text i {
    font-style: italic !important;
}
/* Preserve inline colors set via WYSIWYG editor */
.ds-product-tab-content-text span[style*="color"] {
    color: inherit;
}
.ds-product-tab-content-text h1,
.ds-product-tab-content-text h2,
.ds-product-tab-content-text h3,
.ds-product-tab-content-text h4 {
    font-weight: 700 !important;
}


/* ============================================================================
   11d. DELIVERY & PAYMENT BLOCKS redesign
============================================================================ */

/* Wrapper */
.ds-product-advantages {
    background: #ffffff !important;
    border: 1px solid #e5e5e7 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    gap: 0 !important;
}

/* Section title (Delivery / Payment) */
.ds-product-advantages-item > .dark-text.fw-500.fsz-16 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    padding-bottom: 10px !important;
    margin-bottom: 12px !important;
    border-bottom: 2px solid #f46913 !important;
    display: inline-block !important;
}

/* Delivery item row - compact single line */
.ds-product-advantages-item-text {
    padding: 10px 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e5e7 !important;
    border-radius: 10px !important;
    margin-bottom: 6px !important;
    transition: border-color 0.15s ease !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    min-height: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.ds-product-advantages-item-text:hover {
    border-color: #f46913 !important;
}
.ds-product-advantages-item-text:last-child {
    margin-bottom: 0 !important;
}

/* Delivery icon - smaller */
.ds-product-advantages-item-text-img {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 6px !important;
    background: #fff4ed !important;
    border-radius: 8px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Delivery inner row: icon + text, price takes only what it needs */
.ds-product-advantages-item-text > .d-flex.align-items-center {
    min-width: 0 !important;
    flex-shrink: 1 !important;
}

/* Delivery text block - grows to fill space, price takes minimum */
.ds-product-advantages-item-text .d-flex.flex-column.fsz-12 {
    min-width: 0 !important;
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
}
.ds-product-advantages-item-text .d-flex.flex-column.fsz-12 span:first-child {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #1d1d1f !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    display: block !important;
}
/* Override secondary-text color inside delivery card */
.ds-product-advantages-item-text span.secondary-text {
    color: #1d1d1f !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}
.ds-product-advantages-item-text .d-flex.flex-column.fsz-12 span:last-child {
    font-size: 11px !important;
    color: #6e6e73 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

/* Delivery price - compact, stays inside card */
.ds-product-advantages-item-text-price {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    padding-left: 8px !important;
}
.ds-product-advantages-item-text-price .dark-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #f46913 !important;
    white-space: nowrap !important;
    display: block !important;
    text-align: right !important;
}

/* Divider between delivery and payment sections */
.ds-product-advantages-item + .ds-product-advantages-item {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #f3f3f5 !important;
}

/* Payment items grid 2x2 */
.ds-product-advantages-payments {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
}

/* Payment item card */
.ds-product-advantages-payments-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e5e7 !important;
    border-radius: 12px !important;
    transition: border-color 0.15s ease !important;
}
.ds-product-advantages-payments-item:hover {
    border-color: #f46913 !important;
    background: #fff4ed !important;
}

/* Payment icon */
.ds-product-advantages-payments-item img {
    width: 32px !important;
    height: 32px !important;
    max-height: 32px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    margin-right: 0 !important;
}

/* Payment title */
.ds-product-advantages-payments-item span {
    font-size: 11.5px !important;
    font-weight: 500 !important;
    color: #1d1d1f !important;
    white-space: normal !important;
    line-height: 1.3 !important;
}

/* Mobile */
@media (max-width: 575px) {
    .ds-product-advantages-payments {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }
    .ds-product-advantages-payments-item {
        padding: 8px 10px !important;
    }
    .ds-product-advantages-payments-item img {
        width: 26px !important;
        height: 26px !important;
        max-height: 26px !important;
    }
    .ds-product-advantages-payments-item span {
        font-size: 11px !important;
    }
    .ds-product-advantages {
        padding: 16px !important;
        border-radius: 16px !important;
    }
}


/* ============================================================================
   12. CATALOG MENU (dropdown)
============================================================================ */

.ds-menu-catalog,
.ds-menu-main-catalog {
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden;
}
.ds-menu-catalog-item {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    transition: background 0.15s !important;
    margin: 2px 6px !important;
}
.ds-menu-catalog-item:hover { background: #fff7ed !important; }
.ds-menu-catalog-item:hover .ds-menu-maincategories-item-title { color: #f46913 !important; }


/* ============================================================================
   13. DARK FOOTER
============================================================================ */

html.light-theme .ds-footer {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    padding-top: 56px !important;
    border-top: none !important;
}
html.light-theme .ds-footer-item-title,
html.light-theme .ds-footer h5,
html.light-theme .ds-footer h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 16px !important;
}
html.light-theme .ds-footer a,
html.light-theme .ds-footer-item a,
html.light-theme .ds-footer-item li {
    color: #94a3b8 !important;
    transition: color 0.15s !important;
}
html.light-theme .ds-footer a:not(.button):not(.btn):not([class*="button"]):hover { color: #f46913 !important; }

/* Footer contact button - white text on hover (over orange bg) */
html.light-theme .ds-footer .button:hover,
html.light-theme .ds-footer .btn:hover,
html.light-theme .ds-footer a.button:hover,
html.light-theme .ds-footer a[class*="button"]:hover {
    background: #f46913 !important;
    color: #ffffff !important;
    border-color: #f46913 !important;
}
html.light-theme .ds-footer .button:hover *,
html.light-theme .ds-footer .btn:hover * {
    color: #ffffff !important;
}
html.light-theme .ds-footer-item-title svg path { fill: #ffffff !important; }


/* ============================================================================
   14. FEATURES BLOCK (home.twig)
============================================================================ */

.bc-features {
    background: #fafafa;
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 40px 0;
}
@media (max-width: 991px) {
    .bc-features { grid-template-columns: repeat(2, 1fr); padding: 28px; gap: 24px; }
}
@media (max-width: 576px) {
    .bc-features { grid-template-columns: 1fr; padding: 24px; }
}
html.dark-theme .bc-features { background: #1a1a1a; }

.bc-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.bc-feature-icon {
    width: 48px;
    height: 48px;
    background: #fff7ed;
    color: #f46913;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bc-feature h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #111827;
}
.bc-feature p {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}


/* ============================================================================
   15. FLOATING BUTTONS
============================================================================ */

.ds-feedback-btn,
.ds-feedback {
    bottom: 20px !important;
    right: 20px !important;
}
.ds-feedback-btn {
    width: 56px !important;
    height: 56px !important;
    background: #f46913 !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 24px rgba(244,105,19,0.35) !important;
    transition: all 0.2s !important;
}
.ds-feedback-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(244,105,19,0.5) !important;
}

/* dropshipper styles removed - was breaking dashboard */


/* ============================================================================
   16. SCROLLBAR + SELECTION
============================================================================ */

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(128,128,128,0.3);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(128,128,128,0.5);
    background-clip: padding-box;
    border: 2px solid transparent;
}
::selection {
    background: #f46913;
    color: #ffffff;
}


/* ============================================================================
   17. TABLET HEADER - REMOVED (header uses theme defaults)
============================================================================ */



/* ============================================================================
   18. FINAL POLISH (v4.1 additions)
============================================================================ */

/* Hero main - subtle shine animation on load */
@keyframes heroShine {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
.bc-hero-main { animation: heroShine 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.bc-hero-card { animation: heroShine 0.7s cubic-bezier(0.4, 0, 0.2, 1); }

/* Card: "Buy" button hover - fill animation */
.ds-module-cart-btn {
    background: transparent !important;
    border: 1.5px solid #f46913 !important;
    color: #f46913 !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}
.ds-module-cart-btn:hover:not([disabled]) {
    background: #f46913 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(244, 105, 19, 0.35) !important;
}

/* Stock indicator - green dot before "In Stock" */
.ds-module-stock,
.in-stock-msg {
    color: #10b981 !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

/* Product title hover - orange */
.ds-module-title a:hover,
.ds-module-item:hover .ds-module-title {
    color: #f46913 !important;
}

/* Price NEW (discount) - orange accent */
.ds-module-price-new,
.price-new { color: #f46913 !important; }

.ds-module-price-old,
.price-old {
    color: #9ca3af !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
}

/* Hero card-label - slight shadow */
.bc-hero-card-label {
    box-shadow: 0 2px 8px rgba(244, 105, 19, 0.3);
}
.bc-hero-card-label-green,
.bc-hero-card-label.green {
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Hero buttons - SVG arrow animation */
.bc-hero-btn svg { transition: transform 0.2s ease; }
.bc-hero-btn:hover svg { transform: translateX(3px); }

/* Brand cards - pulse glow on active/visit */
.podbor_right .item:active {
    transform: translateY(-1px) scale(0.98) !important;
}

/* Features block - hover effect on each feature card */
.bc-feature {
    transition: transform 0.2s ease;
    cursor: default;
}
.bc-feature:hover .bc-feature-icon {
    background: #f46913 !important;
    color: #ffffff !important;
    transform: scale(1.08);
}
.bc-feature-icon { transition: all 0.2s ease; }

/* Scroll-to-top button - use theme defaults (no custom styles) */

/* Cookie notification - sleeker */
.cookie-notification,
.cookie-banner {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid #e5e7eb !important;
}

/* Empty state / "nothing found" messages */
.empty-state,
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

/* Reviews section - card hover */
.review-item,
.ds-review-item,
.ds-product-review-item {
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}
.review-item:hover,
.ds-review-item:hover,
.ds-product-review-item:hover {
    border-color: #fed7aa !important;
    box-shadow: 0 4px 12px rgba(244, 105, 19, 0.08) !important;
}

/* Rating stars - warm gold */
.rating-star,
.ds-module-rating-star-is svg,
.rating-is svg { fill: #f59e0b !important; }

/* Product "Credit" button (installment) */
.crdt_right button,
.credit-btn {
    background: #f46913 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
}
.crdt_right button:hover,
.credit-btn:hover {
    background: #dc5a0a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(244, 105, 19, 0.3) !important;
}

/* Breadcrumb home icon - orange on hover */
.ds-breadcrumb-item:first-child a:hover svg path,
.ds-breadcrumb-item:first-child a:hover svg { fill: #f46913 !important; }

/* Modal / Popup refinement */
.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

/* Forms (contact, feedback) */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    transition: all 0.2s ease !important;
}
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #f46913 !important;
    box-shadow: 0 0 0 3px rgba(244, 105, 19, 0.1) !important;
    outline: none !important;
}



/* ============================================================================
   CLS FIXES - prevent layout shifts
============================================================================ */

/* Hero banner - reserved space prevents CLS */
.bc-hero { min-height: 360px; }
@media (max-width: 991px) { .bc-hero { min-height: 200px; } }

/* Brand cards - fixed aspect ratio prevents CLS when images load */
.podbor_right .item {
    aspect-ratio: 1 !important;
    min-height: 80px !important;
}

/* Product card image - reserved space */
.ds-module-img-box {
    aspect-ratio: 1 !important;
    overflow: hidden !important;
}

/* Product page main image - reserved height */
.ds-product-images-main {
    min-height: 300px !important;
}
@media (max-width: 767px) {
    .ds-product-images-main { min-height: 220px !important; }
}

/* Manrope font - prevent FOIT/FOUT */
body {
    font-display: swap;
}

/* Mobile header - orange bottom border (variant B) */
@media (max-width: 991px) {
    .ds-header {
        border-bottom: 2px solid #f46913 !important;
        box-shadow: none !important;
    }
}

/* ============================================================================
   END sdi.css v4.4
============================================================================ */
