:root {
    --primary: #1e3a8a;       
    --primary-hover: #1d4ed8;
    --accent: #f97316;        
    --accent-hover: #ea580c;
    --bg-main: #f8fafc;       
    --bg-card: #ffffff;
    --text-main: #0f172a;     
    --text-muted: #64748b;    
    --border-color: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


[style*="display:none"], [style*="display: none"] {
    display: none !important;
}


.b-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}


.b-page__main-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 24px;
}

@media (max-width: 1200px) {
    .b-page__main-content {
        grid-template-columns: 1fr;
    }
}


.b-page__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.b-promo-banner {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    box-shadow: var(--shadow);
}
.b-promo-banner img {
    max-height: 60px;
    margin: 0 auto;
}


.b-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .b-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.b-header-company-name__img {
    max-height: 50px;
    object-fit: contain;
}


.b-search {
    display: flex;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}
.b-search:focus-within {
    border-color: var(--primary);
}
.b-search__item_type_input {
    flex-grow: 1;
}
.b-search input, .b-search__item_type_input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
}
.b-search__button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.b-search__button:hover {
    background: var(--primary-hover);
}


.b-header__popup {
    display: flex;
    align-items: center;
    gap: 16px;
}
@media (max-width: 768px) {
    .b-header__popup {
        justify-content: center;
    }
}

.b-review {
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
}
.b-review:hover {
    background: var(--primary);
    color: #fff;
}


.b-cart-button {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgb(249 115 22 / 0.2);
}
.b-cart-button:hover {
    background: var(--accent-hover);
}


.b-menu {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 0 10px;
}
.b-menu__holder {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.b-menu__item {
    position: relative;
}
.b-menu__link {
    display: block;
    padding: 16px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}
.b-menu__item:hover > .b-menu__link,
.b-menu__item_state_active > .b-menu__link {
    background: rgba(255, 255, 255, 0.1);
}


.b-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    min-width: 280px;
    list-style: none;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}
.b-menu__item:hover .b-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.b-sub-menu__item a {
    display: block;
    padding: 12px 20px;
    color: var(--text-main);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}
.b-sub-menu__item:last-child a {
    border-bottom: none;
}
.b-sub-menu__item:hover a {
    background: var(--bg-main);
    color: var(--primary);
    padding-left: 25px;
}


.b-sidebar {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
}
.b-title_type_nav::before {
    content: "Каталог товаров";
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}
.b-nav {
    list-style: none;
}
.b-nav__link {
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}
.b-sub-nav-list {
    list-style: none;
    padding-left: 10px;
}
.b-sub-nav-list__item {
    margin-bottom: 8px;
}
.b-sub-nav-list__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: block;
}
.b-sub-nav-list__link:hover {
    color: var(--primary);
}


.b-sub-nav-list-sublist {
    list-style: none;
    padding-left: 15px;
    margin-top: 4px;
    display: none;
    border-left: 1px dashed var(--border-color);
}
.b-sub-nav-list__item:hover .b-sub-nav-list-sublist {
    display: block;
}
.b-sub-nav-list-sublist__link {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    padding: 3px 0;
}
.b-sub-nav-list-sublist__link:hover {
    color: var(--accent);
}


.b-slider-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #e2e8f0;
}
.b-slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}
.b-slider-slide.active {
    opacity: 1;
}


.b-caption {
    font-size: 22px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    position: relative;
    padding-left: 15px;
}
.b-caption::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.b-product-groups-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    list-style: none;
}

.b-product-groups-list__item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.b-product-groups-list__item:hover {
    transform: translateY(-5px);
    border-color: var(--border-color);
    box-shadow: 0 12px 20px -5px rgb(0 0 0 / 0.08);
}


.b-no-image {
    width: 100%;
    height: 160px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.b-no-image::before {
    content: 'LKTrade';
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.4;
}

.b-product-groups-list__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 12px;
}


.b-product-subgroups {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.b-product-subgroups__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.b-product-subgroups__title {
    color: var(--text-main);
}
.b-product-subgroups__title:hover {
    color: var(--accent);
}
.b-product-subgroups__counter {
    background: var(--bg-main);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}


.b-show-all {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
}
.b-product-groups-list__hidden-list {
    display: none;
}

.b-product-groups-list__item_state_opened .b-product-groups-list__hidden-list {
    display: block;
    margin-top: 8px;
}


.b-user-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.b-user-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 22px;
}
.b-user-content p {
    margin-bottom: 16px;
    color: var(--text-main);
}
.ck-alert_theme_blue {
    background: aliceblue;
    border-left: 4px solid var(--primary);
    padding: 16px;
    border-radius: 4px;
    margin: 20px 0;
    font-weight: 500;
}


.b-social-links {
    display: flex;
    gap: 12px;
    list-style: none;
    margin-top: 20px;
}
.b-social-links img {
    width: 32px;
    height: 32px;
    transition: var(--transition);
}
.b-social-links img:hover {
    transform: scale(1.1);
}


.b-sidebar-side-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.b-sidebar-contacts, .b-sked__table {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
}
.b-sidebar-contacts__data-item {
    margin-bottom: 12px;
    font-size: 14px;
}
.b-sidebar-contacts__site {
    font-weight: 700;
    color: var(--primary);
}


.b-sked__row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}
.b-sked__row:last-child {
    border-bottom: none;
}
.b-sked__day {
    font-weight: 500;
}
.b-sked__time {
    color: var(--text-muted);
}
.b-sked__time:last-child::before {
    content: ' - ';
}


.b-page__footer {
    background: #0f172a;
    color: #94a3b8;
    margin-top: 60px;
    padding: 60px 0 40px 0;
    border-radius: var(--radius) var(--radius) 0 0;
}
.b-sitewide-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}
.b-sitewide-links__title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}
.b-sitewide-links__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.b-sitewide-links__list-link {
    font-size: 14px;
}
.b-sitewide-links__list-link:hover {
    color: #fff;
    padding-left: 5px;
}



.b-footer {
    background-color: #0b1329; 
    padding: 20px 20px;
    font-size: 13px;
    color: #64748b; 
    border-top: 1px solid #1e293b; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.b-footer__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1440px;
}


.b-footer a {
    color: #94a3b8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.b-footer a:hover {
    color: var(--accent, #f97316); 
    border-bottom-color: var(--accent, #f97316);
}


#google_translate_element {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}


@media (max-width: 768px) {
    .b-footer {
        padding: 24px 15px;
        font-size: 12px;
        gap: 14px;
    }
    
    .b-footer__row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}


.b-head-control-panel {
background-color: #222;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-muted, #64748b);
}
.b-promo-banner, .b-info-banner__wrapper {
 display:none; 
}

.b-head-control-panel__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


.b-head-control-panel__link_type_register {
    color: var(--text-muted, #64748b);
    font-weight: 500;
    transition: var(--transition, all 0.3s ease);
}
.b-head-control-panel__link_type_register:hover {
    color: var(--primary, #1e3a8a);
}


.b-head-control-panel__cart {
    margin-left: auto; 
}


.b-shopping-button {
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 6px;
    background: var(--bg-main, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    transition: var(--transition, all 0.3s ease);
}
.b-shopping-button:hover {
    background: var(--primary, #1e3a8a);
    color: #ffffff;
    border-color: var(--primary, #1e3a8a);
}
.b-shopping-button__wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}


.b-shopping-button__icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 10.5V6a3.75 3.75 0 10-7.5 0v4.5m11.356-1.993l1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 01-1.12-1.243l1.264-12A1.125 1.125 0 015.513 7.5h12.974c.576 0 1.059.435 1.119 1.007zM8.625 10.5a.375.375 0 11-.75 0 .375.375 0 01.75 0zm7.5 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: var(--transition, all 0.3s ease);
}
.b-shopping-button:hover .b-shopping-button__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 10.5V6a3.75 3.75 0 10-7.5 0v4.5m11.356-1.993l1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 01-1.12-1.243l1.264-12A1.125 1.125 0 015.513 7.5h12.974c.576 0 1.059.435 1.119 1.007zM8.625 10.5a.375.375 0 11-.75 0 .375.375 0 01.75 0zm7.5 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z'/%3E%3C/svg%3E");
}


.b-review-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}


.b-review-info__icon {
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M11.48 3.499c.172-.436.745-.436.92 0l2.18 5.44 5.916.42c.48.034.674.623.32.96l-4.43 4.122 1.356 5.828c.11.474-.39.839-.814.547L12 17.757l-5.228 3.488c-.423.292-.924-.073-.814-.547l1.356-5.828-4.43-4.122c-.354-.336-.161-.926.32-.96l5.916-.42 2.18-5.44z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.b-review-info__link {
    color: var(--accent, #f97316);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent, #f97316);
}
.b-review-info__link:hover {
    color: var(--accent-hover, #ea580c);
    border-bottom-style: solid;
}


@media (max-width: 640px) {
    .b-head-control-panel__container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .b-head-control-panel__cart {
        margin-left: 0;
    }
}



.b-catalog-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card, #ffffff);
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    gap: 16px;
}


.b-catalog-panel__field {
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main, #0f172a);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: var(--transition, all 0.3s);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}
.b-catalog-panel__field:hover, .b-catalog-panel__field:focus {
    border-color: var(--primary, #1e3a8a);
}


.b-catalog-panel__btn-wrap {
    display: flex;
    gap: 8px;
}
.b-catalog-panel__btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    background-color: var(--bg-main, #f8fafc);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}
.b-catalog-panel__btn_type_gallery {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%231e3a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z'/%3E%3C/svg%3E");
    background-color: #fff;
    border-color: var(--primary, #1e3a8a);
}
.b-catalog-panel__btn_type_list {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 12h16.5m-16.5 5.25h16.5m-16.5-10.5h16.5'/%3E%3C/svg%3E");
}
.b-catalog-panel__btn:hover {
    border-color: var(--primary, #1e3a8a);
}


.b-product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    list-style: none;
    margin-bottom: 30px;
}

.b-product-gallery__item {
    background: var(--bg-card, #ffffff);
    border-radius: var(--radius, 12px);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition, all 0.3s ease);
}
.b-product-gallery__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.1);
    border-color: var(--primary, #1e3a8a);
}


.b-product-gallery__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
}
.b-product-gallery__image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
.b-product-gallery__item:hover .b-product-gallery__image {
    transform: scale(1.05);
}


.b-product-gallery__order-bar {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


.b-product-gallery__sku {
    font-size: 11px;
    color: var(--text-muted, #64748b);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.b-product-gallery__sku::before {
    content: "Арт: ";
    color: #94a3b8;
}


.b-goods-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main, #0f172a);
    line-height: 1.4;
    height: 40px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.b-goods-title:hover {
    color: var(--primary, #1e3a8a);
}


.b-product-gallery__price-block {
    margin-top: auto; 
}
.b-goods-price__value_type_current {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    display: block;
    margin-bottom: 10px;
}

.b-goods-price__value_type_current:contains("уточняйте"),
.b-goods-price__value_type_current {
    font-style: italic;
    color: #475569;
    font-size: 15px;
}


.b-goods-data {
    margin-bottom: 14px;
}
.b-goods-data__state_val_avail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.b-goods-data__state_val_avail::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #16a34a;
    border-radius: 50%;
}


.b-product-gallery__btn {
    width: 100%;
}
.b-drop-phones {
    width: 100%;
}
.b-drop-phones__toggle-holder {
    position: relative;
    width: 100%;
}

.b-drop-phones__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: var(--bg-main, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    color: var(--primary, #1e3a8a);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.b-drop-phones__toggle::before {
    content: "Показать контакты";
}
.b-drop-phones__toggle:hover {
    background: var(--primary, #1e3a8a);
    color: #fff;
    border-color: var(--primary, #1e3a8a);
}


.b-drop-phones__list {
    display: none;
    position: absolute;
    bottom: 105%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    list-style: none;
    padding: 8px;
    z-index: 10;
}
.b-drop-phones_state_active .b-drop-phones__list {
    display: block;
}
.b-drop-phones__item {
    padding: 8px;
    font-weight: 600;
    text-align: center;
    color: var(--text-main);
    font-size: 14px;
}


.b-pager {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}
.b-pager-container {
    display: flex;
    align-items: center;
    gap: 6px;
}
.b-pager__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    border-radius: 6px;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #fff;
    color: var(--text-main, #0f172a);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.b-pager__link:hover {
    border-color: var(--primary, #1e3a8a);
    color: var(--primary, #1e3a8a);
}
.b-pager__link_type_current {
    background: var(--primary, #1e3a8a);
    color: #fff !important;
    border-color: var(--primary, #1e3a8a);
}
.b-pager__dotted-link {
    color: var(--text-muted);
    padding: 0 4px;
}


@media (max-width: 768px) {
    .b-catalog-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .b-product-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .b-product-gallery {
        grid-template-columns: 1fr;
    }
}


.b-product {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 40px;
    background: var(--bg-card, #ffffff);
    padding: 30px;
    border-radius: var(--radius, 12px);
    box-shadow: var(--shadow);
    align-items: flex-start;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .b-product {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
}


.b-product__image-panel {
    display: flex;
    gap: 20px;
    position: relative;
}


.b-product__images.b-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    gap: 10px;
}

.b-images__prev, .b-images__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 24px;
    font-size: 0; 
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    opacity: 0.6;
    transition: var(--transition, all 0.3s);
}
.b-images__prev:hover, .b-images__next:hover {
    opacity: 1;
}
.b-images__prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%231e3a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 15.75l7.5-7.5 7.5 7.5'/%3E%3C/svg%3E");
}
.b-images__next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%231e3a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
}

.b-images__holder {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: none; 
}
.b-images__holder::-webkit-scrollbar {
    display: none;
}

.b-images__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b-images__item {
    width: 76px;
    height: 76px;
    border: 2px solid var(--border-color, #e2e8f0);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    padding: 4px;
}
.b-images__item:hover, .b-images__item.active {
    border-color: var(--primary, #1e3a8a);
}
.b-images__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.b-product-image {
    flex-grow: 1;
    height: 450px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: var(--radius, 12px);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  max-width: 416px;
}


.b-product-image__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.b-product-image:hover .b-product-image__img {
    transform: scale(1.02);
}

@media (max-width: 580px) {
    .b-product__image-panel {
        flex-direction: column-reverse;
    }
    .b-product__images.b-images {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }
    .b-images__list {
        flex-direction: row;
    }
    .b-images__prev, .b-images__next {
        display: none; 
    }
    .b-product-image {
        height: 300px;
    }
}


.b-product__info-holder {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}


.b-caption__text {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    line-height: 1.3;
    display: block;
}


.b-product-data {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    font-size: 14px;
}
.b-product-data__item_type_available {
    background: #f0fdf4;
    color: #16a34a;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}
.b-product-data__item_type_sku {
    color: var(--text-muted, #64748b);
}
.b-product-data__item_type_sku span {
    font-weight: 600;
    color: var(--text-main);
}


.b-product-cost {
    background: var(--bg-main, #f8fafc);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent, #f97316);
    margin: 10px 0;
}
.b-product-cost__price span {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
}


.b-product__btn .b-custom-button {
    background: var(--accent, #f97316);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgb(249 115 22 / 0.3);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.b-product__btn .b-custom-button:hover {
    background: var(--accent-hover, #ea580c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(249 115 22 / 0.4);
}


.b-return-policy {
    font-size: 13px;
    color: var(--text-muted);
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.b-return-policy__text b {
    color: var(--text-main);
}


.b-sticky-panel {
    display: none !important;
}


.b-product__goods-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.b-product__block-wrap {
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}


.b-product__title-wrap {
    background: var(--bg-main, #f8fafc);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.b-product__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary, #1e3a8a);
}


.b-product__toggle {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%231e3a8a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}


.b-product__block-wrap_state_opened .b-product__toggle {
    transform: rotate(180deg);
}
.b-product__hidden-block {
    display: none;
    padding: 24px;
    border-top: 1px solid var(--border-color);
}
.b-product__block-wrap_state_opened .b-product__hidden-block {
    display: block;
}


.b-user-content h2 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 16px;
}
.b-user-content ul {
    padding-left: 20px;
    margin: 12px 0;
}
.b-user-content li {
    margin-bottom: 6px;
}


.b-product-info {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.b-product-info__header {
    background: var(--primary, #1e3a8a);
    color: #fff;
    text-align: left;
    padding: 10px 16px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.b-product-info__cell {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    color: var(--text-main);
}
.b-product-info__cell:first-child {
    font-weight: 500;
    color: var(--text-muted, #64748b);
    width: 40%;
}
.b-product-info tr:max-child {
    border-bottom: none;
}

.b-product-info tr:nth-child(even) {
    background-color: var(--bg-main, #f8fafc);
}

.b-user-content.b-product__hidden-block {
  max-width:400px;
}



