

/* Start:/local/templates/shop.qwelp.ru/components/bitrix/catalog/main/style.css?17696775982360*/
.catalog-grid__col:first-child {
    order: 2;
}

/* Ensure overlay layers (SKU) can escape the grid cells without clipping */
.catalog-grid,
.catalog-grid__wrapper,
.catalog-grid__col { overflow: visible; }

/* In products grid rows, allow overflow for absolute children */
.products.products_card [data-entity="items-row"]{
    display:grid;
    grid-template-columns:repeat(var(--line-element-count, 4), minmax(255px,1fr));
    gap:20px !important;
    align-items:stretch; /* важно */
    overflow: visible; /* allow children overlays to be visible outside cell */

    margin-bottom: 0;
    gap: 0 !important;

    .card-compact {
        border-radius: 0;
        border-left: 0;
        border-top: 0;
    }
}

/* Количество колонок задаётся через inline style --line-element-count из параметра компонента LINE_ELEMENT_COUNT */

.products.products_card {
    border-left: 1px solid var(--color-stroke) !important;
}

/* LINE_CATALOG view - горизонтальные карточки в одну колонку */
.products.products_line_catalog [data-entity="items-row"] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.products.products_line_catalog .product__item {
    width: 100%;
}

.products.products_line_catalog .card-horizontal:first-child {
    border-radius: var(--border-radius-m, 12px) var(--border-radius-m, 12px) 0 0;
}

.products.products_line_catalog [data-entity="items-row"]:last-child .product__item:last-child .card-horizontal {
    border-radius: 0 0 var(--border-radius-m, 12px) var(--border-radius-m, 12px);
}

.products.products_line_catalog .card-horizontal {
    border-radius: 0;
    border-bottom: none;
}

.products.products_line_catalog [data-entity="items-row"]:last-child .product__item:last-child .card-horizontal {
    border-bottom: 1px solid var(--color-stroke, #e5e7eb);
}


.products.products_card [data-entity="items-row"]:first-child .card-compact {
    border-top: 1px solid var(--color-stroke) !important;
}

.products.products_card [data-entity="items-row"]:last-child {
    border-bottom-color: transparent !important;
}

.products.products_card [data-entity="items-row"]:last-child .card-compact {
    border-bottom: 1px solid var(--color-stroke) !important;
}
/* End */


/* Start:/local/templates/shop.qwelp.ru/components/bitrix/catalog/main/bitrix/catalog.element/qwelp/style.css?176960399929852*/
/* =========================================
   RESET & VARIABLES
   ========================================= */
:root {
    --pd-color-primary: #0d2480;
    --pd-color-bg: #FFFFFF;
    --pd-color-bg-gray: #F8F9FB;
    --pd-color-text: #25262B;
    --pd-color-text-mute: #76767D;
    --pd-color-border: #E5E7EB;
    --pd-color-yellow: #FFC64A;
    --pd-color-yellow-hover: #fdd835;
    --pd-color-red: #dc2626;
    --pd-color-green: #10b981;
    --pd-font: "Nunito", "Helvetica Neue", Arial, sans-serif;
    --pd-radius: 12px;
}

.product-detail-page {
    font-family: var(--pd-font);
    color: var(--pd-color-text);
    background: #fff;
    margin: 0 auto;
    box-sizing: border-box;
}

.product-detail-page * {
    box-sizing: border-box;
}

/* =========================================
   TOP HEADER
   ========================================= */
.pd-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.pd-top-left {
    flex-grow: 1;
}

.pd-main-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px 0;
    color: var(--pd-color-text);
}

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 14px;
}

.pd-rating-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pd-stars {
    display: flex;
    color: var(--pd-color-yellow);
}

.pd-rating-val {
    font-weight: 700;
    color: var(--pd-color-text);
}

.pd-reviews-link {
    color: var(--pd-color-text-mute);
    text-decoration: underline;
    text-decoration-color: #ddd;
}

.pd-product-code {
    color: var(--pd-color-text-mute);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd-product-code__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--pd-color-text-mute);
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}

.pd-product-code__copy:hover {
    background: var(--pd-color-bg-gray);
    color: var(--pd-color-primary);
}

.pd-product-code__copy.copied {
    color: var(--pd-color-green);
}

.pd-product-code__copy.copied svg {
    stroke: var(--pd-color-green);
}

.pd-top-actions {
    display: flex;
    gap: 20px;
    position: relative;
    bottom: -6px;
}

.pd-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pd-color-text-mute);
    cursor: pointer;
    transition: 0.2s;
    user-select: none;
}

.pd-action-btn:hover {
    color: var(--pd-color-primary);
}

.pd-share-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.pd-share-copied {
    color: #16a34a;
}

.pd-action-btn svg {
    width: 18px;
    height: 18px;
}

/* =========================================
   GRID LAYOUT
   ========================================= */
.pd-grid {
    display: grid;
    grid-template-columns: 700px 1fr 380px;
    gap: 20px;
    margin-bottom: 40px;
    align-items: start;
}

@media (max-width: 1200px) {
    .pd-grid {
        grid-template-columns: 590px 1fr 300px;
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .pd-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "gallery info" "buy buy";
    }

    .pd-col-gallery {
        grid-area: gallery;
    }

    .pd-col-info {
        grid-area: info;
    }

    .pd-col-buy {
        grid-area: buy;
        position: static !important;
        margin-top: 20px;
    }

    .pd-top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .pd-grid {
        display: flex;
        flex-direction: column;
    }
}

/* =========================================
   1. GALLERY COLUMN
   ========================================= */
.pd-col-gallery {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .pd-col-gallery {
        flex-direction: column;
    }
}

/* Main Container */
.pd-gallery-container {
    border: none;
    border-radius: var(--pd-radius);
    background: #fff;
    padding: 0;
    position: relative;
    height: 600px;
    width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    overflow: visible;
    flex: 1;
}

@media (max-width: 767px) {
    .pd-gallery-container {
        margin-bottom: 15px;
        width: 100%;
    }
}

/* FIX: Popup Fullscreen Styles */
.pd-gallery-container.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden; /* Prevent body scroll */
}

.pd-gallery-container.popup .pd-image-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-gallery-container.popup .pd-slider-image {
    position: absolute;
    width: 100%;
    height: 100%;
}

.pd-gallery-container.popup .pd-slider-image img {
    max-height: 90vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Close button */
.product-item-detail-slider-close {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 10000;
}

.product-item-detail-slider-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.pd-gallery-container.popup .product-item-detail-slider-close {
    display: block;
}

.pd-gallery-container.popup .product-item-detail-slider-left,
.pd-gallery-container.popup .product-item-detail-slider-right {
    opacity: 1;
    pointer-events: auto;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pd-gallery-container.popup .product-item-detail-slider-left:hover,
.pd-gallery-container.popup .product-item-detail-slider-right:hover {
    background: #f5f5f5;
}

.pd-gallery-container.popup .product-item-detail-slider-left {
    left: 30px;
}

.pd-gallery-container.popup .product-item-detail-slider-right {
    right: 30px;
}

.product-item-detail-slider-close:before, .product-item-detail-slider-close:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    top: 19px;
    left: 10px;
    transform: rotate(45deg);
}

.product-item-detail-slider-close:after {
    transform: rotate(-45deg);
}

/* Images */
.pd-image-wrapper, .pd-slider-images {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
}

.pd-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pd-slider-image.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.pd-slider-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.product-item-detail-slider-left,
.product-item-detail-slider-right {
    display: flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.25s ease, background 0.2s ease;
    color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.pd-image-wrapper:hover .product-item-detail-slider-left,
.pd-image-wrapper:hover .product-item-detail-slider-right {
    opacity: 1;
    pointer-events: auto;
}

.product-item-detail-slider-left:hover,
.product-item-detail-slider-right:hover {
    background: #fff;
}

.product-item-detail-slider-left {
    left: 0;
}

.product-item-detail-slider-right {
    right: 0;
}

/* Badges */
.pd-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 13px;
    align-items: flex-start;
}

.pd-badge {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.pd-badge--sale {
    background: var(--pd-color-red);
}

.pd-badge--hit {
    background: var(--pd-color-primary);
}

/* Thumbnails */
.pd-thumbnails-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    flex-shrink: 0;
}

.pd-thumbnails-arrow {
    position: absolute;
    left: 0;
    width: 100%;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255);
    border: none;
    cursor: pointer;
    color: #76767D;
    transition: opacity 0.25s ease, color 0.2s ease;
    padding: 0;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
}

.pd-thumbnails-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.pd-thumbnails-arrow svg {
    width: 16px;
    height: 16px;
}

.pd-thumbnails-arrow:hover {
    color: #111827;
}

.pd-thumbnails-arrow-up {
    top: 0;
}

.pd-thumbnails-arrow-down {
    bottom: 0;
}

.pd-thumbnails-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
}

.pd-thumbnails-row::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

@media (max-width: 767px) {
    .pd-thumbnails-wrap {
        width: 100%;
    }

    .pd-thumbnails-arrow {
        display: none;
    }

    .pd-thumbnails-row {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        max-height: none;
        overflow-y: visible;
        overflow-x: auto;
    }

    .pd-thumbnails-row .pd-thumb-item {
        width: calc(20% - 8px) !important;
        min-width: calc(20% - 8px);
    }
}

.pd-thumbnails-group {
    display: contents !important;
}

.pd-thumbnails-group[style*="display: none"] {
    display: none !important;
}

.pd-gallery-container.popup .pd-thumbnails-row--popup {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 520px;
    padding: 12px;
    border-radius: 12px;
    background: var(--color-white);
    border: 1px solid var(--pd-color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.pd-thumb-item {
    aspect-ratio: 3/4;
    width: 100% !important;
    height: auto !important;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    background: transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.pd-thumb-item.active {
    border-color: #969696;
}

.pd-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   2. INFO COLUMN
   ========================================= */
.pd-col-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-sku-block {
    margin-top: 0;
}

.pd-sku-row {
    margin-bottom: 16px;
}

.pd-sku-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--pd-color-text);
}

.pd-sku-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-sku-item-text {
    border: 1px solid var(--pd-color-border);
    border-radius: 8px;
    padding: 0 14px;
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    background: #fff;
    color: var(--pd-color-text);
}

.pd-sku-item-text:hover {
    border-color: var(--pd-color-primary);
}

.pd-sku-item-text.selected {
    border-color: var(--pd-color-primary);
    background: var(--pd-color-bg-gray);
    color: var(--pd-color-primary);
    box-shadow: 0 0 0 1px var(--pd-color-primary);
}

.pd-sku-item-text.notallowed {
    opacity: 0.5;
    text-decoration: line-through;
    cursor: not-allowed;
}

.pd-sku-item-pict {
    width: 40px;
    height: 40px;
    border: 1px solid var(--pd-color-border);
    border-radius: 50%;
    padding: 2px;
    cursor: pointer;
}

.pd-sku-item-pict.selected {
    border-color: var(--pd-color-primary);
}

.pd-sku-pict-box {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.pd-sku-pict-box span {
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Offer photo thumbnails */
.pd-offer-thumbs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.pd-offer-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid var(--pd-color-border);
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    overflow: hidden;
}

.pd-offer-thumb.selected {
    border-color: var(--pd-color-primary);
}

.pd-offer-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.pd-specs-block {
    margin-top: 0;
}

.pd-specs-block > .pd-block-title {
    display: none;
}

.pd-block-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--pd-color-text);
}

.pd-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-spec-item {
    display: flex;
    font-size: 14px;
    line-height: 1.5;
    align-items: baseline;
}

.pd-spec-name {
    color: #777;
    white-space: nowrap;
    position: relative;
    z-index: 1;
    padding-right: 4px;
    background: #fff;
}

.pd-spec-dots {
    border-bottom: 1px dotted #ccc;
    flex-grow: 1;
    position: relative;
    top: -4px;
    z-index: 0;
    min-width: 20px;
}

.pd-spec-val {
    font-weight: 700;
    color: var(--pd-color-text);
    padding-left: 4px;
    background: #fff;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    min-width: 50%;
}

.pd-all-specs-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 14px;
    color: var(--pd-color-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pd-all-specs-link:hover {
    color: var(--pd-color-primary);
}

.pd-all-specs-link svg {
    flex-shrink: 0;
}

.pd-brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--pd-color-bg-gray);
    border-radius: 12px;
    margin-top: 10px;
    width: 300px;
}

.pd-brand-logo {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--pd-color-primary);
    font-size: 20px;
}

.pd-brand-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--pd-color-primary);
    text-decoration: none;
}

/* FIX: List Markers */
.pd-features-block {
    margin-top: 10px;
}

.pd-features-list {
    padding-left: 20px;
    color: var(--pd-color-text);
    font-size: 14px;
    line-height: 1.6;
    list-style-type: disc; /* Ensure markers are shown */
}

.pd-features-list li {
    margin-bottom: 4px;
}

/* =========================================
   3. BUY COLUMN
   ========================================= */
.pd-col-buy {
    position: sticky;
    top: 20px;
    z-index: 90;
}

.pd-buy-card {
    border-radius: 16px;
    padding: 24px;
    background-color: var(--pd-color-bg-gray);
}

.pd-price-block {
    margin-bottom: 20px;
}

.pd-price-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--pd-color-text);
    line-height: 1;
    margin-bottom: 8px;
}

.pd-price-row-bottom {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pd-price-old {
    font-size: 16px;
    text-decoration: line-through;
    color: var(--pd-color-text-mute);
}

.pd-economy {
    font-size: 12px;
    font-weight: 600;
    color: var(--pd-color-red);
    background: rgba(220, 38, 38, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.pd-stock-status {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pd-color-green);
}

/* FIX: Quantity Buttons */
.pd-quantity-control {
    display: flex;
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pd-quant-btn {
    width: 36px;
    height: 36px;
    background: #F0F2F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    user-select: none;
    font-size: 18px;
    color: var(--pd-color-text-mute);
    transition: 0.2s;
}

.pd-quant-btn:hover {
    background: #e4e6ea;
    color: var(--pd-color-primary);
}

.pd-quant-input {
    width: 44px;
    height: 36px;
    background: #F0F2F5;
    border-radius: 8px;
    border: none;
    text-align: center;
    font-weight: 700;
    outline: none;
    color: var(--pd-color-text);
}

/* Buttons */
.pd-actions {
    margin-bottom: 24px;
}

.pd-actions > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: 0.2s;
    border: none;
    outline: none;
    width: 100%;
    cursor: pointer;
}

.pd-btn-cart {
    background: var(--pd-color-primary);
    color: var(--color-white);
    gap: 10px;
}

.pd-btn-cart:hover {
    background: var(--pd-color-yellow-hover);
}

.pd-btn-buy {
    background: #fff;
    border: 1px solid var(--pd-color-border);
    color: var(--pd-color-text);
    font-size: 15px;
}

.pd-btn-buy:hover {
    border-color: var(--pd-color-primary);
    color: var(--pd-color-primary);
}

.pd-delivery-info {
    border-top: 1px solid var(--pd-color-border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-delivery-item {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.pd-delivery-icon {
    color: var(--pd-color-primary);
    flex-shrink: 0;
}

.pd-delivery-title {
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.pd-delivery-desc {
    color: var(--pd-color-text-mute);
    font-size: 13px;
}

.pd-delivery-link {
    color: var(--pd-color-primary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}

/* =========================================
   4. TABS
   ========================================= */
.pd-tabs-wrapper {
    margin-top: 60px;
}

.pd-tabs-header {
    border-bottom: 1px solid var(--pd-color-border);
    margin-bottom: 30px;
}

.pd-tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 32px;
}

.pd-tab {
    padding-bottom: 14px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--pd-color-text-mute);
    border-bottom: 3px solid transparent;
    transition: 0.2s;
}

.pd-tab:hover {
    color: #25262B;
}

.pd-tab.active {
    color: var(--pd-color-text);
    border-color: var(--pd-color-primary);
}

/* Основной контейнер вкладок */
.pd-tab-content {
    display: none;
    font-size: 16px;
    line-height: 1.6;
    color: var(--pd-color-text);
}

.pd-tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

/* Сетка для списка свойств */
.pd-props-dl {
    display: grid;
    grid-template-columns: minmax(360px, auto) 1fr;
    margin: 0;
    padding: 0;
    gap: 0;
}

/* Общие стили для ячеек */
.pd-props-dl dt,
.pd-props-dl dd {
    padding: 14px 16px;
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.4;
    border: none;
    background-color: transparent;
}

/* Стили заголовков (ключей) */
.pd-props-dl dt {
    font-weight: 400;
    color: #76767D;
}

/* Стили значений */
.pd-props-dl dd {
    color: #25262B;
    font-weight: 600;
    justify-content: flex-start;
    text-align: left;
}

/* Чередующийся серый фон для строк */
.pd-props-dl dt:nth-of-type(odd),
.pd-props-dl dd:nth-of-type(odd) {
    background-color: #F8F9FB;
}

/* Стилизация кнопки-подсказки (?) */
.pd-props-help {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    margin-left: 6px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pd-props-help:hover {
    background: transparent;
    border-color: #0d2480;
    color: #0d2480;
}

/* Тултип через BX.PopupWindowManager (стили для попапа) */
.pd-props-help-popup {
    padding: 12px 14px;
    font-size: 14px;
    color: #111827;
    max-width: 260px;
    line-height: 1.5;
}

/* Центрирование стрелки попапа */
.popup-window-angly-top {
    left: 31px !important;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .pd-props-dl {
        display: block;
    }

    .pd-props-dl dt {
        background: #fff !important;
        color: #76767D;
        padding-bottom: 6px;
        font-size: 13px;
        border-top: 1px solid #e5e7eb;
        font-weight: 400;
    }

    .pd-props-dl dt:first-of-type {
        border-top: none;
    }

    .pd-props-dl dd {
        padding-top: 0;
        padding-bottom: 16px;
        font-size: 15px;
        background: #fff !important;
        color: #76767D;
        font-weight: 600;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   STICKY PRODUCT BAR
   ========================================= */
.sticky-product-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%);
    transition: transform var(--transition-duration-longer);
}

.sticky-product-bar.active {
    transform: translateY(0);
}

.sticky-product-bar .sticky-inner {
    display: flex;
    flex-direction: column;
}

.sticky-product-bar .sticky-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: var(--border-width-s) solid var(--color-stroke);
    gap: 20px;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.sticky-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: var(--border-width-s) solid var(--color-stroke);
    border-radius: var(--border-radius-xxs);
    padding: 2px;
    background: var(--color-white);
}

.sticky-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sticky-sku {
    font-size: 12px;
    color: var(--color-grey-600);
}

.sticky-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-title);
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sticky-price-block {
    text-align: right;
}

.sticky-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-title);
    display: block;
}

.sticky-old-price {
    font-size: 13px;
    color: var(--color-grey-600);
    text-decoration: line-through;
}

.sticky-btn {
    background: var(--pd-color-primary);
    color: var(--color-white);
    font-weight: 700;
    padding: 0 18px;
    height: 40px;
    border-radius: var(--border-radius-xs);
    font-size: 14px;
    transition: var(--transition-duration);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sticky-btn:hover {
    background: var(--color-primary);
}

.sticky-icons {
    display: flex;
    gap: 10px;
    color: var(--color-grey-600);
}

.sticky-icon-btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.sticky-icon-btn:hover {
    color: var(--color-primary);
}

.sticky-nav-row {
    display: flex;
    gap: 26px;
    padding: 0;
    align-items: center;
}

.sticky-nav-link {
    padding: 12px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-grey-600);
    cursor: pointer;
    border-bottom: var(--border-width-m) solid transparent;
    transition: var(--transition-duration);
    text-decoration: none;
}

.sticky-nav-link:hover,
.sticky-nav-link.active {
    color: var(--color-title);
    border-color: var(--color-primary);
}

@media (max-width: 991px) {
    .sticky-product-bar .sticky-top-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sticky-actions {
        justify-content: flex-start;
    }

    .sticky-title {
        max-width: 100%;
    }

    .sticky-nav-row {
        overflow-x: auto;
        gap: 18px;
        padding-bottom: 4px;
    }
}

@media (max-width: 767px) {
    .sticky-actions {
        width: 100%;
        justify-content: space-between;
    }

    .sticky-price-block {
        text-align: left;
    }
}

/* =========================================
   BASKET POPUP REDESIGN
   ========================================= */
/* Основной контейнер попапа */
.popup-window.popup-window-with-titlebar.bx-blue {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    overflow: hidden !important;
    max-width: 440px !important;
}

/* Шапка попапа */
.popup-window.bx-blue .popup-window-titlebar {
    background: var(--pd-color-primary) !important;
    color: #fff !important;
    padding: 18px 24px !important;
    border-bottom: none !important;
}

.popup-window.bx-blue .popup-window-titlebar-text {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

/* Кнопка закрытия */
.popup-window.bx-blue .popup-window-close-icon {
    background: transparent !important;
    width: 24px !important;
    height: 24px !important;
    top: 18px !important;
    right: 20px !important;
    opacity: 0.8 !important;
}

.popup-window.bx-blue .popup-window-close-icon:hover {
    opacity: 1 !important;
}

.popup-window.bx-blue .popup-window-close-icon::before,
.popup-window.bx-blue .popup-window-close-icon::after {
    background: #fff !important;
    height: 2px !important;
}

/* Контент попапа */
.popup-window.bx-blue .popup-window-content {
    padding: 32px 24px !important;
    background: #fff !important;
}

.popup-window.bx-blue .popup-window-content > div {
    text-align: center !important;
}

.popup-window.bx-blue .popup-window-content img {
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border: 1px solid #f0f0f0 !important;
    padding: 8px !important;
}

.popup-window.bx-blue .popup-window-content p {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--pd-color-text) !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Кнопки попапа */
.popup-window.bx-blue .popup-window-buttons {
    padding: 20px 24px 24px !important;
    background: #fff !important;
    display: flex !important;
    gap: 12px !important;
    border-top: 1px solid #e5e7eb !important;
}

.popup-window.bx-blue .popup-window-buttons .btn {
    flex: 1 !important;
    height: 52px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.popup-window.bx-blue .popup-window-buttons .btn:first-child {
    background: var(--pd-color-primary) !important;
    color: #fff !important;
}

.popup-window.bx-blue .popup-window-buttons .btn:first-child:hover {
    background: #0a1d6b !important;
}

.popup-window.bx-blue .popup-window-buttons .btn:last-child {
    background: #fff !important;
    color: var(--pd-color-text) !important;
    border: 1px solid var(--pd-color-border) !important;
}

.popup-window.bx-blue .popup-window-buttons .btn:last-child:hover {
    border-color: var(--pd-color-primary) !important;
    color: var(--pd-color-primary) !important;
}

/* End */


/* Start:/local/templates/shop.qwelp.ru/components/bitrix/catalog/main/bitrix/catalog.element/qwelp/themes/blue/style.min.css?1736263198902*/
.bx-blue .product-item-image-slider-progress-bar{background-color:#0083d1}.bx-blue .product-item-image-slider-control:hover{background-color:rgba(0,131,209,.8)}.bx-blue .product-item-image-slider-control.active,.bx-blue .product-item-image-slider-control:hover{background-color:#0083d1}.bx-blue .product-item-selected-scu,.bx-blue .product-item-detail-slider-controls-image:hover,.bx-blue .product-item-detail-slider-controls-image.active{outline-color:#006cc0}.bx-blue .product-item-scu-item-text-block:hover,.bx-blue .product-item-scu-item-color-block:hover,.bx-blue .product-item-scu-item-text-container.selected .product-item-scu-item-text-block,.bx-blue .product-item-scu-item-color-container.selected .product-item-scu-item-color-block{outline-color:#006cc0}.bx-blue .product-item-amount-field:focus{border-color:#006cc0}.bx-blue .product-item-detail-slider-progress-bar{background-color:#006cc0}
/* End */


/* Start:/local/templates/shop.qwelp.ru/components/bitrix/catalog.products.viewed/qwelp_viewed/style.css?17696113603020*/
/* =========================================
   СТИЛИ ДЛЯ БЛОКА "ВЫ СМОТРЕЛИ"
   ========================================= */

/* 1. Основная секция */
.viewed-products {
    margin-top: 40px;
    position: relative;
}

/* Шапка с заголовком и навигацией */
.viewed-products__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.viewed-products__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #25262B;
}

/* 2. Навигация (стрелки слайдера) */
.viewed-products__navigation {
    display: flex !important;
    gap: 8px;
}

.viewed-products .swiper-button-disabled {
    display: block !important;
}

.viewed-products__nav-btn {
    display: flex !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid #E5E7EB !important;
    border-radius: 50% !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff !important;
    transition: all 0.2s ease;
    color: #76767D;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    margin: 0 !important;
}

.viewed-products__nav-btn:hover {
    border-color: #0D2480 !important;
    color: #0D2480;
}

.viewed-products__nav-btn:disabled,
.viewed-products__nav-btn.swiper-button-disabled {
    opacity: 0.4 !important;
    cursor: default;
}

.viewed-products__nav-btn svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

/* Убираем стандартные стрелки swiper если они есть */
.viewed-products__nav-btn::after {
    display: none !important;
    content: none !important;
}

/* Slider wrapper */
.viewed-products__slider-wrapper {
    position: relative;
}

.viewed-products__slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
}

/* Swiper wrapper для slidesPerView: auto */
.viewed-products__slider .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

/* Slide - для корректной работы slidesPerView: auto */
.viewed-products__slide {
    height: auto;
    width: 204px !important;
    min-width: 204px;
    max-width: 204px;
    flex: 0 0 auto;
}

.viewed-item__price {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.viewed-item__old-price {
    font-size: 13px !important;
}

/* Responsive */
@media (max-width: 992px) {
    .viewed-products__navigation {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .viewed-products {
        padding: 32px 0 40px 0;
        margin-top: 32px;
    }

    .viewed-products__header {
        margin-bottom: 20px;
    }

    .viewed-products__title {
        font-size: 20px;
    }
}

/* End */
/* /local/templates/shop.qwelp.ru/components/bitrix/catalog/main/style.css?17696775982360 */
/* /local/templates/shop.qwelp.ru/components/bitrix/catalog/main/bitrix/catalog.element/qwelp/style.css?176960399929852 */
/* /local/templates/shop.qwelp.ru/components/bitrix/catalog/main/bitrix/catalog.element/qwelp/themes/blue/style.min.css?1736263198902 */
/* /local/templates/shop.qwelp.ru/components/bitrix/catalog.products.viewed/qwelp_viewed/style.css?17696113603020 */
