/* Product detail tabs and collection carousel; only full product pages. */
[data-sp-product-tabs] [data-sp-details] { clear: both; margin-top: 28px; min-width: 0; }
[data-sp-product-tabs] [data-sp-details] .product-item-detail-tabs-container { width: 100%; height: auto !important; margin: 0; padding: 0; }
[data-sp-product-tabs] [data-sp-details] .product-item-detail-tabs-block { position: static !important; width: auto !important; padding: 0; background: transparent; }
[data-sp-product-tabs] [data-sp-details] .product-item-detail-tabs-scroll { margin: 0; padding: 0; overflow: hidden; }
[data-sp-product-tabs] .sp-tab-list { display: flex; position: relative; gap: 0; width: 100%; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #9bb8d8 #edf3f9; list-style: none; border-bottom: 1px solid #cbdcee; }
[data-sp-product-tabs] .sp-tab-list { background: #fff; font-family: "Museo Sans Cyrl 500", sans-serif; }
[data-sp-product-tabs] .sp-tab-list > li { display: flex; flex: 0 0 auto; margin: 0; padding: 0; }
[data-sp-product-tabs] .sp-tab { display: block; width: 100%; padding: 16px 20px 14px; background: transparent; color: #42556b; border: 0; border-bottom: 2px solid transparent; border-radius: 0; font: inherit; font-size: 14px; line-height: 20px; white-space: nowrap; text-align: center; cursor: pointer; }
[data-sp-product-tabs] .sp-tab:hover { color: #2468b7; background: #f2f7fc; }
[data-sp-product-tabs] .sp-tab[aria-selected="true"] { color: #2468b7; border-bottom-color: #2d78cf; }
[data-sp-product-tabs] .sp-tab span { margin-left: 5px; padding: 1px 4px; font-size: 11px; background: #e8eff7; border-radius: 3px; }
[data-sp-product-tabs] .sp-tab-panel { display: flow-root; width: 100%; padding: 24px 0 0; outline-offset: 3px; }
[data-sp-product-tabs] .sp-tab-panel[hidden] { display: none !important; }
[data-sp-product-tabs] .sp-tab-panel > .product-item-detail-tab-content,
[data-sp-product-tabs] .sp-tab-panel > .product-item-detail-description,
[data-sp-product-tabs] .sp-tab-panel > .product-item-detail-set-constructor { float: none; width: 100%; max-width: none; margin: 0; padding: 0; }
[data-sp-product-tabs] .sp-tab-panel .product-item-detail-description { line-height: 1.7; }
[data-sp-product-tabs] .sp-tab-panel .product-item-detail-description img { max-width: 100%; height: auto; }
[data-sp-product-tabs] .sp-collection { padding: 20px; border-radius: 10px; background: #f1f6f7; color: #263238; font-family: "Museo Sans Cyrl 500", sans-serif; }
[data-sp-product-tabs] .sp-tab-panel:has(> .sp-collection) { padding-top: 24px; }
[data-sp-product-tabs] .sp-collection-title { margin: 0 0 20px; padding: 0; color: #263238; font: inherit; font-size: 28.2px; line-height: 36px; font-weight: 400; }
[data-sp-product-tabs] .sp-collection-name { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; font-weight: 400; overflow-wrap: anywhere; }
[data-sp-product-tabs] .sp-collection-slider { position: relative; isolation: isolate; }
/* The native hover class has z-index:202. Cage every card below sibling arrows. */
[data-sp-product-tabs] .sp-collection-products { position: relative; z-index: 0; isolation: isolate; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0; }
[data-sp-product-tabs] .sp-collection-products::-webkit-scrollbar { display: none; }
[data-sp-product-tabs] .sp-collection-track { display: flex !important; flex-wrap: nowrap !important; align-items: stretch; width: auto; margin: 0 !important; padding: 0; }
[data-sp-product-tabs] .sp-collection-track::before,
[data-sp-product-tabs] .sp-collection-track::after { display: none; }
[data-sp-product-tabs] .sp-collection .sp-collection-track > [data-entity="item-col"] { display: flex; flex: 0 0 25%; float: none !important; width: 25% !important; max-width: 25%; padding: 0 !important; scroll-snap-align: start; }
[data-sp-product-tabs] .sp-collection .sp-collection-track > [data-entity="item-col"] > .product-item-container { display: flex; width: 100%; height: auto !important; min-height: 0; margin: 0; padding: 0; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item { display: flex; flex-direction: column; flex: 1; width: 100%; min-width: 0; padding: 16px 16px 24px; border: 1px solid #edf0f1; background: #fff; }
/* Native catalog hover expands absolutely; keep carousel actions inside its viewport. */
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-container .product-item { position: relative !important; top: auto !important; left: auto !important; height: auto !important; min-height: 0; box-shadow: none !important; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-hidden { display: none !important; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-image-wrapper { display: block; flex-shrink: 0; width: 100%; height: auto; min-height: 0; padding: 0; aspect-ratio: 1; background: #fff; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-image { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-image-list { top: 0; left: 0; width: 100%; height: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-image-pagination { display: none; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-brand { right: auto; bottom: 8px; left: 8px; max-width: calc(100% - 16px); height: 22px; margin: 0; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-brand img { display: block; width: auto; max-width: 100%; height: 22px; object-fit: contain; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-icons-container { top: 4px; right: 4px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-quick-view { top: auto; right: 4px; bottom: 4px; left: auto; width: 32px; height: 32px; margin: 0; padding: 0; border-radius: 2px; line-height: 32px; text-align: center; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-quick-view > i { margin: 0; font-size: 18px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-quick-view > span { display: none; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-properties-block { display: none !important; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-article { min-width: 0; margin-top: 8px; overflow: hidden; color: #53687e; font-size: 12px; line-height: 18px; text-overflow: ellipsis; white-space: nowrap; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-article + .product-item-article { margin-top: 2px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-title { display: -webkit-box; flex: 0 0 57px; height: 57px !important; min-height: 57px; margin: 8px 0 0; padding: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14.8px; line-height: 19px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-title > a { color: #263238; font: inherit; line-height: inherit; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-info-container { display: block; position: static; width: 100%; height: auto !important; min-height: 0 !important; margin: auto 0 0; padding: 24px 0 0; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-info-block { display: block; position: static; width: 100%; height: auto !important; min-height: 0; max-width: 100%; padding: 0; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-info { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-blocks { display: block; flex: 1; min-width: 0; max-width: none; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-container { width: auto; min-width: 0; max-width: none; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price { width: auto; max-width: none; overflow: visible; text-overflow: clip; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-button-container { display: block; flex: 0 0 32%; width: 32%; min-width: 32px; margin: 0; padding: 0; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-current { font-size: 18px; font-weight: 600; white-space: nowrap; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-measure { font-size: 11px; }
[data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-button-container .btn { width: 100%; min-width: 32px !important; max-width: none; height: 44px; min-height: 44px !important; padding: 0; }
[data-sp-product-tabs] .sp-collection-arrow { display: flex; position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; color: #fff; background: #2466a7; border: 1px solid #fff; border-radius: 50%; box-shadow: 0 2px 5px #29466333; cursor: pointer; }
[data-sp-product-tabs] .sp-collection-prev { left: -19px; }
[data-sp-product-tabs] .sp-collection-next { right: -19px; }
[data-sp-product-tabs] .sp-collection-arrow:hover:not(:disabled) { background: #174b83; }
[data-sp-product-tabs] .sp-collection-arrow:disabled { opacity: 1; background: #7c9ab5; cursor: default; }
[data-sp-product-tabs] .sp-collection-all { display: table; min-width: 184px; margin: 24px auto 0; padding: 10px 24px; color: #215994; border: 2px solid #215994; border-radius: 2px; font-size: 14px; line-height: 20px; text-align: center; text-decoration: none; }
[data-sp-product-tabs] .sp-collection-all:hover { background: #2468b7; color: #fff; text-decoration: none; }
[data-sp-product-tabs] .sp-tab:focus-visible,
[data-sp-product-tabs] .sp-collection-arrow:focus-visible,
[data-sp-product-tabs] .sp-collection-products:focus-visible,
[data-sp-product-tabs] .sp-collection-all:focus-visible { outline: 2px solid #185fa9; outline-offset: 3px; }
@media (max-width: 1042px) {
    /* Restore the fixed contact launcher as soon as the collection leaves view. */
    body.sp-collection-in-view > .tpwidget { visibility: hidden; pointer-events: none; }
    [data-sp-product-tabs] [data-sp-details] { margin-top: 22px; }
    [data-sp-product-tabs] .sp-tab { padding: 16px 20px 14px; font-size: 16px; line-height: 24px; }
    [data-sp-product-tabs] .sp-tab-list > li { flex-grow: 0; }
    [data-sp-product-tabs] .sp-tab-panel:has(> .sp-collection) { padding-top: 0; }
    [data-sp-product-tabs] .sp-collection { width: calc(100% + 36px); margin: 0 -18px; padding: 20px 0; }
    [data-sp-product-tabs] .sp-collection-title { max-width: 28ch; margin: 0 20px 24px; font-size: 24px; line-height: 36px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track > [data-entity="item-col"] { flex-basis: 50%; width: 50% !important; max-width: 50%; padding: 0 !important; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item { padding: 12px 12px 18px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-current { font-size: 16px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-button-container { flex: 0 0 32px; width: 32px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-button-container .btn { height: 32px; min-height: 32px !important; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-article { display: none; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-title { flex-basis: 60px; height: 60px !important; min-height: 60px; font-size: 16px; line-height: 20px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-brand,
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-brand img { height: 18px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-info-container { padding-top: 20px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-info { gap: 4px; }
    [data-sp-product-tabs] .sp-collection-arrow { width: 36px; height: 36px; }
    [data-sp-product-tabs] .sp-collection-prev { left: 20px; }
    [data-sp-product-tabs] .sp-collection-next { right: 20px; }
    [data-sp-product-tabs] .sp-collection-all { display: block; width: calc(100% - 40px); margin: 20px 20px 0; height: 46px; padding: 10px 30px; border-radius: 4px; font-size: 18px; line-height: 22px; }
}

@media (max-width: 359px) {
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-current { font-size: 14px; }
    [data-sp-product-tabs] .sp-collection .sp-collection-track .product-item-price-measure { display: none; }
}
