@import url('https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --purple-default: #3D337C;
    --purple-darker: #211759;
    --purple-darker-2: #0d082b;
    --purple-light: #5B2F71;
    --red-light: #952051;
    --red-default: #BC0F35;
}

html, body {
    color: #fff;
    background: #272727;
}

.quantico-regular {
    font-family: "Quantico", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.quantico-bold {
    font-family: "Quantico", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.quantico-regular-italic {
    font-family: "Quantico", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.quantico-bold-italic {
    font-family: "Quantico", sans-serif;
    font-weight: 700;
    font-style: italic;
}

@media (max-width: 768px) {
    body {
        background: #272727;
    }

    #product #wrapper {
        padding-top: 25px;
    }

    #wrapper {
        padding-top: 100px;

    }

    #header .header-top {
        padding: 0;
        /*background: #000;*/
    }

    #header .header-nav,
    #header .header-nav .blockcart {
        background-color: #000;
        border-color: #000;
    }

    #header .header-nav .material-icons,
    #header .header-nav .blockcart,
    #header .header-nav .cart-preview .shopping-cart {
        color: #fff;
    }

    #header .header-nav .cart-preview.active {
        background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    }

    #search_widget form input {
        background-color: #272727;;
    }

}


@media (min-width: 768px) {
    #header .logo {
        max-width: 250px;
    }

    #header .header-nav {
        display: none;
    }

    #header .header-top > .container-fluid > .row {
        display: flex;
        align-items: center;
    }

    #header .header-top .header-top-right {
        display: flex;
        height: 40px;
    }

    /*.user-info a span,*/
    .blockcart.cart-preview div a span.hidden-sm-down,
    .blockcart.cart-preview div span.hidden-sm-down {
        display: none;
    }

    #_desktop_user_info,
    #_desktop_cart {
        margin-left: auto;
    }

    .right-side {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 20px;
        position: relative;
    }

    #search_widget {
        margin: auto;
        color: #fff;
        overflow: hidden;
    }

    .header-top #search_widget input {
        padding: 10px 10px 10px 25px;
        width: 25px;
        background: none;
        color: #fff;
    }

    #search_widget form i {
        cursor: pointer;

    }

    .long {
        padding: 10px 10px 10px 40px !important;
        width: auto !important;
        background-color: #fff !important;
        color: #333333 !important;
    }

    #header {
        background: none;
    }

    #header .header-top {
        backdrop-filter: blur(15px) saturate(100%);
        -webkit-backdrop-filter: blur(15px) saturate(100%);

    }

    .header-top {
        transition: background-color 0.5s ease; /* Animacja zmiany koloru */
        background-color: transparent; /* Początkowy kolor */
    }

    .header-top.scrolled {
        background-color: rgba(0, 0, 0, 0.6); /* Kolor po przewinięciu */
    }

    #index #wrapper {
        /*background: url(/img/gtabg.jpg);
        background-repeat: no-repeat;
        background-position: top;
        background-size: cover;*/
        padding-top: 500px;
    }

    #wrapper {
        padding-top: 140px;

    }

    #header a,
    #header .header-top a[data-depth="0"] {
        color: #fff;
        text-transform: none;
        font-size: 15px;
    }

    #header .header-top .menu {
        flex-grow: 0.4;
        text-align: center;
    }

}

.breadcrumb span {
    color: #fff;
}

#header {
    position: fixed;
    top: 0;
    width: 100%;
}

.background,
.background-home-page {
    position: absolute;
    top: -50px;
    max-height: 1090px;
    width: 100%;
    overflow: hidden;
}

.background-home-page > picture {
    width: 100%;
    overflow: hidden;
    display: block;
}

.background > picture {
    width: 100%;
    height: 1000px;
    overflow: hidden;
    display: block;
}

.background > picture > img,
.background-home-page > picture > img {
    width: 100%;
    height: auto;
    opacity: 0; /* Początkowa przezroczystość */
    transition: opacity 1s ease-in-out; /* Czas trwania i typ animacji */
}

.background > picture > img.loaded {
    opacity: 1; /* Pełna widoczność po załadowaniu */
    filter: brightness(0.5);
}
.background-home-page > picture > img.loaded {
    opacity: 1; /* Pełna widoczność po załadowaniu */
    filter: brightness(1);
}

.background > picture:after,
.background-home-page > picture:after {
    /*Stara wersja ze ścietym dołem*/
    /*background: #272727;
    bottom: -1px;
    clip-path: polygon(0 100%, 100% 100%, 0 0);
    content: "";
    height: 60px;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 0;
    border: 0;*/
    background: #272727;
    bottom: -20px;
    /* clip-path: polygon(0 14%, 100% 100%, 0 0); */
    content: "";
    height: 60px;
    position: absolute;
    overflow: hidden;
    filter: blur(10px);
    left: -100px;
    width: 150%;
    z-index: 0;
    border: 0;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .background,
    .background-home-page {
        top: 50px;
    }
}

@media (max-width: 768px) {
    .background,
    .background-home-page {
        top: 50px;
    }

    #hpg {
        /*width: auto !important;*/
        top: -70px !important;
        left: 0;
    }

    #index .page-home {
        padding-top: 200px;
    }

}

#wrapper .breadcrumb ol {
    filter: drop-shadow(1mm 0mm 4mm rgb(200, 200, 210));
    margin-bottom: 20px;
}

#wrapper .breadcrumb {
    position: relative;
    text-align: center;
}

@media only screen and (min-width: 992px) {
    #search_widget {
        min-width: auto;
    }
}

#wrapper {
    background: #272727;
}

body#checkout section.checkout-step {
    background: none;
}

#footer {
    background-color: rgb(0 0 0 / 90%);
}
#product .product-additional-info .tabs button {
    white-space: wrap;
    text-transform: none;
}
@media (max-width: 768px) {
    #footer {
        padding-bottom: 65px;
    }
}
main section#wrapper {
    min-height: calc(100vh - 492px);
}

.product-miniature .thumbnail-container .product-thumbnail picture {
    height: auto;
    display: block;
    background: #272727;
}

.product-miniature .product-description {
    background: #272727;
    padding: .25rem 0;
    min-height: 105px;
    height: auto;
}

/*.product-miniature .thumbnail-container {
    box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 1);
}*/

.product-miniature .product-title a,
.product-miniature .product-price-and-shipping {
    color: #fff;
    margin: 5px 0 5px 0;
    padding: 0 5px;
}

.product-price,
.current-price {
    margin-bottom: 0 !important;
}

.product-miniature .regular-price,
.regular-price {
    color: #f37575 !important;
}

#products .products-section-title, .featured-products .products-section-title, .product-accessories .products-section-title {
    color: #fff;
    text-align: left;
}

.product-container.js-product-container > .col-md-7 {
    /*position: sticky;*/
    /*top: 115px;*/
}

.product-cover {
    border-radius: 0 15px;
    padding: 0 15px;
    overflow: hidden;
}

.product-container.js-product-container > .col-md-5 {
    backdrop-filter: blur(30px);
    border-radius: 0 15px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
}

#product .product-prices .tax-shipping-delivery-label {
    display: inline;
}

#product .h1, .h2, .h3, .h4, body,
#product .product-prices .tax-shipping-delivery-label,
#product p,
#product .product-actions .control-label,
#product span,
#product #product-comments-list-header {
    color: #fff;
}

#product .tabs,
#product .product-comment-list-item,
#product .product-features > dl.data-sheet dd.value, .product-features > dl.data-sheet dt.name,
#product .definition-list dl dd:nth-of-type(even),
#product .definition-list dl dt:nth-of-type(even),
#product .product-features > dl.data-sheet dd.value:nth-of-type(even),
#product .product-features > dl.data-sheet dt.name:nth-of-type(even) {
    background: #272727;
}

#product .product-discount .regular-price {
    color: #f37575;
}

.product-miniature .highlighted-informations {
    display: none;
}

#product #wrapper {
    margin-top: 140px;
}

.product-miniature .product-flags li.product-flag,
.product-flags li.product-flag,
#main .images-container .js-qv-mask {
    display: none;
}

.product-quantity .qty,
.control-label {
    /*display: none !important;*/
}

.product-actions .add-to-cart {
    border-radius: 0 0 15px 0;
}

.product-quantity .add,
.product-actions .add-to-cart {
    width: 100%;

}

.product-quantity {
    width: 100%;
}

.product-prices .discount {
    border-radius: 15px 0;
}

.product-actions .add-to-cart,
.product-prices .discount {
    padding: .7rem 1.5rem;
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    border: none;
}

#product #content {
    max-width: none;
}

.btn-primary, .btn-primary:hover {
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #780921, transparent) #2b2358;
}

a {
    color: #c0b6f4;
}

a:hover,
.account-list a:hover, .block_newsletter form button[type=submit] .search:hover, .footer-container li a:hover {
    color: #a699f5;
}

#product .h1 {
    padding-right: 30px;
    text-align: center;
}

#block_myaccount_infos .myaccount-title a,
.block-contact .block-contact-title,
#footer .block_newsletter #block-newsletter-label,
#product-details .label {
    color: #fff;
}

.block_newsletter {
    background: rgb(0, 0, 0, 0);
}

.block_newsletter form .row .col-xs-12:first-of-type .btn-primary:first-of-type {
    margin-left: 0;
}

.js-mailalert > button {
    width: 100%;
}

.hpg-product-name h2 {
    font-size: 2em;
    text-shadow: 0px 0px 7px black;
}

.hpg-prices {
    margin: 35px 0;
}

.hpg-promo {
    background: linear-gradient(45deg, #780921, transparent) #2b2358;
    padding: 7px 25px;
    margin: 10px 0;
    font-size: 1em;
    margin-right: 10px;
    border-radius: 0 15px;
}

#hpg {
    position: absolute;
    top: -350px;
    height: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 15px;
}

.hpg-price {
    font-size: 1.2em;
    text-shadow: 0px 0px 10px black;
    font-weight: 700;
}

.hpg-check a {
    background: linear-gradient(45deg, #780921, transparent) #2b2358;
    color: white;
    padding: 10px;
    display: block;
    border-radius: 0 15px;
    text-align: center;
}

.wishlist-modal .modal-header,
.wishlist-modal .modal-body,
.wishlist-modal .modal-footer {
    background: #000;
}

.wishlist-modal .modal-header h5,
.wishlist-modal .modal-body p {
    color: #fff;
}

.wishlist-modal .modal-footer button {
    border-radius: 0 0 0 15px;
    max-height: 35px;
}

.wishlist-modal .modal-footer a {
    border-radius: 0 15px 0 0;
    max-height: 35px;

}

form .form-control-label {
    color: #fff;
}

.page-authentication #content, .page-registration #content {
    background: #272727;
}

.wishlist-button-add {
    top: 5px;
    right: 5px;
    position: absolute;
}

.wishlist-modal .modal-content {
    box-shadow: 0px 0px 24px 5px rgba(255, 255, 255, 1);
}

#authentication .breadcrumb {
    display: none;
}

/* qty */
.product-quantity .qty {
    /*border: 1px solid #C2C2C2;*/
    width: 140px;
    margin-right: 0;
}

.product-quantity .qty .input-group {
    display: grid;
    place-content: center;
    justify-items: center;
    width: 100%;
    height: 44px;
    border: none;
    background-color: unset;
    text-align: center;
    padding: 0
}

.product-quantity .qty .input-group-btn-vertical {
    background-color: #fff;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-radius: 15px 0 0 0;
    background: #BC0E35;
    height: 44px;
}

.product-quantity .qty .input-group-btn-vertical .btn {
    width: 30px;
    border: none;
    display: grid;
    margin: 0;
    height: 44px;
    float: unset;
    background: #BC0E35;
    color: #fff;
    border-radius: 15px 0 0;
}

.product-quantity .qty .input-group-btn-vertical .btn:hover {
    background-color: unset
}

.product-quantity .qty .input-group-btn-vertical .btn::after {
    font-size: 23px
}

.product-quantity .qty .input-group-btn-vertical .btn i {
    font-size: 0
}

.product-quantity .qty .input-group-btn-vertical .bootstrap-touchspin-up {
    order: 1
}

.product-quantity .qty .input-group-btn-vertical .bootstrap-touchspin-up::after {
    content: '+'
}

.product-quantity .qty .input-group-btn-vertical .bootstrap-touchspin-down {
    order: 0
}

.product-quantity .qty .input-group-btn-vertical .bootstrap-touchspin-down::after {
    content: '-'
}

.product-quantity #quantity_wanted {
    z-index: 100;
    display: block;
    background: #BC0E35;
    border-radius: 15px 0 0 0;
    color: #fff;
}

/* qty */
.page-my-account #content .links a span.link-item {
    background: #272727;
    box-shadow: 0px 0px 3px 0px rgba(255, 255, 255, 1);
    transition: all 0.15s ease-out;
}

.page-my-account #content .links a span.link-item i,
.wishlist-add-to-new i,
.input-group .input-group-btn > .btn[data-action=show-password] {
    color: #ffffff !important;
}

.input-group .input-group-btn > .btn[data-action=show-password] {
    background: #535353;
}

.page-my-account #content .links a:hover i,
#header a:hover {
    color: #826ef6;
}

.page-my-account #content .links a:hover span {
    box-shadow: 0px 0px 15px 0px rgba(255, 255, 255, 1);
    background-color: rgba(255, 255, 255, 0.1);

}

.page-my-account #content .links a,
.page-my-account #content .links a:hover,
.wishlist-list .wishlist-list-item p,
.form-control-label,
.wishlist-modal .modal-body .form-group .form-control {
    color: #fff !important;
}

.wishlist-modal .modal-body .form-group .form-control {
    border: 1px solid rgba(255, 255, 255, .25);
}

.form-control:focus {
    color: #232323;
    background-color: #fff;
    outline: .1875rem solid #826ef6;
}

.wishlist-list .wishlist-list-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.page-customer-account #content,
.card {
    background: #272727;
}

.label, label,
.cart-summary-line .label,
.cart-summary-line .value,
.h1, .h2, .h3, .h4, body,
.product-line-grid-right .cart-line-product-actions, .product-line-grid-right .product-price,
.product-line-grid-right .cart-line-product-actions .remove-from-cart, .product-line-grid-right .product-price .remove-from-cart {
    color: #fff;
}

.cart-item {

    margin-bottom: 10px;
}

.separator {
    border-color: #fff;
}

#search_filters_brands .facet .facet-label, #search_filters_suppliers .facet .facet-label {
    color: #000;
}

@media (max-width: 991px) {
    .product-quantity .qty .input-group-btn-vertical .btn {
        display: none;
    }
}

.wishlist-button-add {
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    background-color: #3D327C !important;
}

.wishlist-button-add i {
    color: #fff !important;
}

.blockreassurance_product p {
    font-size: 12px;
}

.blockreassurance_product .block-title {
    font-size: 14px;
}

.col-md-7 > .product-description {
    backdrop-filter: blur(30px);
    border-radius: 0 15px;
    padding: 30px 15px;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.blockreassurance_product {
    padding: 1.25rem 0;
    margin-top: 25px;
    border-top: 1px solid white;
}

.ui-autocomplete.searchbar-autocomplete {
    background: #272727;
    box-shadow: 0px 0px 24px 5px rgba(0, 0, 0);

}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
    width: 70px;
}

.ui-autocomplete.searchbar-autocomplete li a:hover {
    background-color: #2d2d2d;
}

.ui-autocomplete.searchbar-autocomplete li a {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 0.8em;
}

.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
    width: 70px;
}

body#product {
    background: #272727;
}

.scroll-box-arrows.scroll {
    display: none;
}

.pegi {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px !important;
    z-index: 1;
    transform: scale(1.0) !important;
}

@media (max-width: 991px) {
    .pegi {
        width: 50px !important;
    }
}

.product-cover img {
    transform: scale(1.05);
}

.platform {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 15px;
}

.platform-icon img {
    width: 30px;
    margin-right: 5px;
}

.platform-dist img {
    width: 25px;
    margin-right: 5px;
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);

}

#search_filters_brands,
#search_filters_suppliers {
    display: none;
}

.block-categories,
#search_filters,
#search_filters_brands,
#search_filters_suppliers,
.brands-sort .select-title, .products-sort-order .select-title, .suppliers-sort .select-title {
    background: #272727;
    color: #fff;
}

.brands-sort .select-title, .products-sort-order .select-title, .suppliers-sort .select-title {
    border: 1px solid #fff;
}

#search_filters .facet .facet-label a, #search_filters_brands .facet .facet-label a, #search_filters_suppliers .facet .facet-label a,
.block-categories a, .facets-title,
#search_filters .facet .facet-title, #search_filters_brands .facet .facet-title, #search_filters_suppliers .facet .facet-title,
#category #left-column #search_filters .facet .facet-title {
    color: #fff;
}

#search_filters .facet .facet-title, #search_filters_brands .facet .facet-title, #search_filters_suppliers .facet .facet-title {
    /*border-bottom: 1px solid #BC0E35;
    padding: 0 0 5px 0;*/
    display: none;
}

.brands-sort .select-list:hover, .products-sort-order .select-list:hover, .suppliers-sort .select-list:hover {
    background: #BC0E35;
    color: #fff;
}

.products-sort-order .dropdown-menu {
    padding: 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: #826ef6 !important;
}

.swiper-scrollbar-drag {
    background: #826ef6 !important;
}

.gallery-header {
    padding: 25px 0;
    border-top: 1px solid #BC0E35;
}

.tabs .nav-tabs {
    border-bottom: 2px solid #BC0E35;
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    border: 0;
    border-bottom: #BC0E35 3px solid;
}

.tabs .nav-tabs .nav-link.active {
    background: #BC0E35;
    color: #fff;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p {
    margin-bottom: 1.5rem;
}

.product-description {
    line-height: 1.75em;
}

.product-price {
    font-size: 1.5rem;
}

.platform-dist,
.platform-icon {
    display: flex;
    align-items: center;
    gap: 5px;
}

#blockcart-modal .product-price {
    padding-bottom: 10px;
}

#blockcart-modal .modal-body .divide-right span,
#blockcart-modal .product-name,
#blockcart-modal .cart-content p.cart-products-count,
#blockcart-modal .cart-content p .label,
#blockcart-modal .cart-content p span {
    color: #000;
}

#form_ets_onepagecheckout {
    background: #272727;
}

.onepagecheckout-left p {
    color: #fff;
}

body#checkout #footer {
    background: #000 !important;
}

#form_ets_onepagecheckout .row.delivery-option:hover,
.ets_payment_method:hover {
    background: none;
    /*box-shadow: 0px 0px 6px 2px rgba(255, 255, 255, 0.15);*/
}

.block-onepagecheckout .payment-options {
    padding: 0;
}

.page-content.page-cms {
    background: #272727;
    color: #c9c9c9;
}

.page-content.page-cms h2,
.page-content.page-cms h3,
.page-content.page-cms h4,
.page-content.page-cms h5 {
    color: #ffffff;
}

.page-content.page-cms p {
    color: #e1e1e1;
}

.page-content.page-cms ul {
    color: #e1e1e1;
    padding-left: 15px;
}

.page-content.page-cms ul li,
.page-content.page-cms ol li,
.page-content.page-cms ol ol,
.page-content.page-cms ol ul,
.page-content.page-cms ul ol,
.page-content.page-cms ul ul {
    margin-bottom: 10px;
}

.page-content.page-cms hr {
    border-top: 1px solid rgba(255, 255, 255, .2);
    margin: 1.5rem 0 1.5rem 0;
}

.page-content.page-cms ul.list-no-mark li {
    list-style: none;
    padding-left: 1rem;
}

/*.block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up::before,
.block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down::before,
.block-onepagecheckout .input-group.bootstrap-touchspin input.js-cart-line-product-quantity {
    color: black !important;
}*/
.block-category.card.card-block {
    padding: 0 !important;
}

.block-category .block-category-inner #category-description strong {
    color: #E1E1E1;
    font-weight: 800;
}

.block-category .block-category-inner #category-description p,
#category-description h1,
#category-description h2,
#category-description h3,
#category-description h4,
#category-description h5 {
    color: #E1E1E1;
    letter-spacing: 0.6px;
}

.pagination .page-list {
    background: #272727;
}

.pagination a,
.pagination > div:first-child {
    color: #fff;
}

.menu .category a.dropdown-item::before {
    display: inline-block;
    margin-right: 5px;
    width: 23px;
    height: 23px;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/* Dostosuj ikony dla poszczególnych kategorii */
.menu .category:nth-child(1) a.dropdown-item::before { /* PC */
    background-image: url('/img/pc.svg');
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

.menu .category:nth-child(2) a.dropdown-item::before { /* Nintendo Switch */
    background-image: url('/img/xbox.svg');
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

.menu .category:nth-child(3) a.dropdown-item::before { /* PS5 */
    background-image: url('/img/playstation.svg');
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

.menu .category:nth-child(4) a.dropdown-item::before { /* Xbox */
    background-image: url('/img/nintendo.svg');
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

.menu .category:nth-child(5) a.dropdown-item::before { /* Xbox One */
    background-image: url('/img/coins.svg');
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

#header .top-menu a[data-depth="0"]:hover {
    background: #2e2e2e;
    color: #fff;
    border-radius: 15px 0 15px 0;
}

#header .menu > ul > li.current {
    background: #392e77;
    border-radius: 15px 0 15px 0;
    transition: background-color 1s ease-out;
}

.product-quantities {
    display: none !important;
}

.product-features {
    margin-left: 0;
}

div#extra-0 ul li {
    margin-bottom: 10px;
}

/*ANIMOWANE MENU*/

.menu-toggle {
    display: none;
    position: fixed; /* Zmiana na fixed, aby przycisk był zawsze w tej samej pozycji */
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.6s ease;;
    background: transparent;
    transform-origin: center; /* Przycisk obraca się w miejscu */
}

.menu-toggle:focus {
    outline: none;
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

@media (min-width: 768px) and (max-width: 1200px) {
    .menu {
        display: block;
        position: fixed; /* Pozycjonowanie na fixed */
        left: 50%;
        top: 95px; /* Dodane, aby menu rozsuwało się od przycisku */
        transform: translateX(-50%) scaleX(0); /* Początkowy stan menu jako skompresowany poziomo */
        transform-origin: center; /* Skala od środka */
        padding: 10px 0;
        /*background-color: rgba(0, 0, 0, 0.6);*/
        border-radius: 0 0 15px 15px;
        width: 100%;
        /*transition: transform 0.5s ease, opacity 0.2s ease;*/
        transition: opacity 0.2s ease 0.3s, transform 0.5s ease 0.3s; /* 0.3s opóźnienia */
        opacity: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu.show {
        opacity: 1;
        transform: translateX(-50%) scaleX(1);
        transition-delay: 0.3s;
    }

    .menu.hide {
        opacity: 0;
        transform: translateX(-50%) scaleX(0);
        transition-delay: 0s; /* natychmiastowe zamknięcie */
    }

    .menu-toggle.active {
        transform: translateX(-50%) rotate(90deg); /* Obrót w miejscu */
        background-color: #000;

    }

    .header-top {
        height: 95px;
        transition: height 0.3s ease, background-color 0.5s ease;;
    }

    .header-top.animate {
        background-color: rgba(0, 0, 0, 0.6);
        height: 156px;
    }
}

@media (min-width: 576px) {
    .header-top .search-widgets {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #header {
        box-shadow: 0 5px 13px 0 rgba(255, 255, 255, .31);
    }

    .header-top {
        background: #272727;
    }

    .header-top #search_widget input::placeholder,
    #search_widget form,
    #search_widget {
        color: #fff;
        opacity: 0.8;
    }
}


/* Ukrywanie menu i przycisku dla odpowiednich szerokości */
/*.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
}

.menu-toggle img {
    width: 24px;
    height: 24px;
    filter: invert(99%) sepia(1%) saturate(665%) hue-rotate(189deg) brightness(112%) contrast(100%);
}

.menu {
    transition: opacity 1s ease, visibility 1s ease;
}

@media (max-width: 1200px) {
    .menu {
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 90%;
        padding: 10px;
        border-radius: 15px;
        transition: opacity 1s ease;
        z-index: 1000;
    }

    .menu-toggle {
        display: flex;
    }

    .menu.open {
        opacity: 1;
        visibility: visible;
        position: absolute;
        left: 50%;
        transition: opacity 1s ease;

        transform: translateX(-50%);
        bottom: -63px;
        padding: 10px 0;
        background-color: rgba(0, 0, 0, 0.85);
        border-radius: 0 0 15px 15px;
        width: 100vw;
    }
}*/

/*ANIMOWANE MENU*/
.product-miniature h3.product-title {
    margin-bottom: 5px;
    margin-top: 5px;
}

#custom-text {
    padding: 0;
    margin: 1rem 0;
    background: #272727;
}

@media (max-width: 998px) {
    .platform {
        flex-direction: column;
    }
}

.products article .wishlist-button-add {
    display: none !important;
}

.article-console-icon {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    background: #272727;
    display: flex;
    border-radius: 0 0 50%;
    z-index: 2;
}

.article-console-icon img {
    width: 25px;
    margin-left: 6px;
    margin-top: 6px;
    height: 25px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(41%) saturate(0%) hue-rotate(288deg) brightness(110%) contrast(101%);
}

@media (min-width: 1200px) {
    #header .header-top .menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.homefeaturedslider article {
    padding: 0 !important;
    margin: 0 !important;
}

#order-items {
    border-right: 0;
}

#order-confirmation .card-block {
    padding: 1.25rem 1.25rem .5rem;
    background: #3a3939;
    border-radius: 15px 0 15px 0;
    box-shadow: rgba(0, 0, 0, .2) 0px 6px 8px;
}

#order-confirmation .definition-list dl dd,
#order-confirmation .definition-list dl dt,
#order-confirmation #order-items table tr.total-value {
    background: none;
}

.product-accessories p.h5,
.featured-products h2 {
    padding: 25px 0;
    font-size: 21px;
    text-transform: none;
    text-align: center;
}

#product .tabs {
    padding: 1.25rem 0;
}

.product-accessories {
    max-width: 100%;
    overflow: hidden;
}

h2.h3.product-title a {
    padding: 0 10px;
    // height: 32px !important;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swipper-product-accessories .js-product.product {
    padding: 0 15px;
}

.swipper-product-accessories .wishlist-button-add {
    display: none;
}

@media (min-width: 991px) {
    #cart .cart-grid-body {
        width: calc(66.66667% - 15px);
        margin-right: 15px;

    }
}

@media (max-width: 991px) {
    #cart .cart-grid-body,
    #cart .cart-grid-right {
        margin: 15px;
    }
}

#cart .cart-grid-body,
#cart .cart-grid-right {
    border-radius: 15px 0 15px 0;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, .2) 0px 6px 8px;
}

#cart .cart-grid-body,
#cart .cart-grid-right,
#cart .cart-summary,
#cart .cart-grid-body .card-block,
#cart .cart-grid-body .cart-overview {
    background: #3a3939;
}

#cart .product-price {
    font-size: 16px;
}

.block-onepagecheckout, .ets_pr_gift_products .cart-gift-container, .block-onepagecheckout.block-displayReassurance .blockreassurance_product, .block-onepagecheckout.block-displayReassurance #block-reassurance, body#checkout #gift_message, .box_more_fee_shipping .box_shipping_free {
    background: #3a3939;
    box-shadow: rgba(0, 0, 0, .2) 0px 6px 8px;
}

#form_ets_onepagecheckout {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.block-onepagecheckout .custom-radio input[type="radio"]:checked + span {
    background-color: #a61945 !important;
}

#form_ets_onepagecheckout .btn-primary {
    background-color: #3D327C !important;
}

#checkout .block-onepagecheckout.block-address div#delivery-addresses input.form-control,
#checkout .type-checkout-option input.form-control,
#checkout .block-onepagecheckout.block-address div#delivery-addresses select.form-control,
.block-onepagecheckout.block-address div#invoice-addresses input.form-control,
#checkout .ets_opc_select {
    background-color: #ebebeb;
    color: #000;
}

#checkout .block-onepagecheckout.block-address div#delivery-addresses input.form-control:focus {
    color: #000;
    border: 2px solid greenyellow;
}

#checkout .product-price,
.block-onepagecheckout .card-block.cart-summary-totals .cart-summary-line.cart-total .label,
.block-onepagecheckout .card-block.cart-summary-totals .cart-summary-line.cart-total .value,
.cart-summary-line .label,
.cart-summary-line .value {
    font-size: 14px !important;
}

.block-onepagecheckout .input-group.bootstrap-touchspin input.js-cart-line-product-quantity {
    height: 30px;
}

form#form_ets_onepagecheckout.layout.layout_4 .product-line-grid-right.product-line-actions {
    margin-top: 10px;
}

.block-onepagecheckout .cart-item {
    border-bottom: 1px solid #fff !important;
}

.block-onepagecheckout .cart-item:last-child {
    border-bottom: none !important;
}

#ets_onepagecheckout a {
    font-weight: 800;
}

/*cart*/
#cart .qty .input-group,
#checkout .qty .input-group {
    display: grid;
    place-content: center;
    justify-items: center;
    width: 100%;
    height: 35px;
    border: none;
    background-color: unset;
    text-align: center;
    padding: 0;
    overflow: hidden;
    border-radius: 15px 0;
    box-shadow: 0 0 8px 3px rgba(255, 255, 255, 0.2);
}

#cart .qty .bootstrap-touchspin input.form-control, .bootstrap-touchspin input.input-group,
#checkout .qty .bootstrap-touchspin input.form-control, .bootstrap-touchspin input.input-group {
    z-index: 100;
    /* background: #BC0E35; */
    width: 35px;
    height: 35px;
    padding: .175rem .5rem;
    color: #fff;
    background-color: transparent;
    text-align: center;
    border: none;
}

#cart .qty span.input-group-btn-vertical,
#checkout.qty span.input-group-btn-vertical {
    background-color: transparent;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* border-radius: 15px 0 0 0; */
    /* background: #BC0E35; */
    height: 35px;
    overflow: hidden;
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
#checkout .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    order: 1;
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down, #cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
#checkout .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down, #checkout .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
    width: 30px;
    border: none;
    display: flex;
    margin: 0;
    height: 35px;
    float: unset;
    background-color: transparent;
    /* background: #BC0E35; */
    color: #fff;
    /* border-radius: 15px 0 0; */
    /* align-items: center; */
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up:after {
    content: '+';
    color: #fff;
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down:after {
    content: '-';
    color: #fff;
}

#checkout .qty .bootstrap-touchspin input.form-control {
    border: none !important;
}

.block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down::before,
.block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up::before {
    color: #fff !important;
}

#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up i,
#checkout .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up i,
#cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down i,
#checkout .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down i {
    display: none;
}

#cart .checkout .btn-primary,
#checkout .checkout .btn-primary {
    border-radius: 15px 0;
}

#checkout .product-line-grid-right .qty:before,
#checkout .product-line-grid-right .form_price:before,
#checkout .product-line-grid-right .form_total_price:before {
    color: #fff;
}

@media (max-width: 991px) {
    #cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down, #cart .qty .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
        display: none;
    }

    .card-block.checkout {
        padding: 0;
    }

    #cart .btn-primary {
        padding: 15px 0;
    }
}

@media (min-width: 991px) {
    #cart .product-line-grid {
        display: flex;
        align-items: center;
    }
}

/*cart*/
#history table th,
#history table td {
    background: #4e4e4e;;
    border: none;
    color: #fff;
    border-bottom: 1px solid #fff;

}

#order-detail #content {
    color: #ffffff;
    background-color: #272727;

}

.page-order-detail .box {
    background: #4e4e4e;

}

.page-order-detail h3 {
    color: #fff;
}

body#checkout .ets_payment_method .additional-information {
    display: none !important;
}

.has-discount .discount {
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    border-radius: 15px 0 15px 0;
    margin: 0;
}

#cart .product-line-info.product-price .current-price {
    display: none;
}

div#ets_onepagecheckout .current-price,
div#ets_onepagecheckout #cart-subtotal-shipping {
    display: none !important;
}

#form_ets_onepagecheckout .btn-primary[name="submitCompleteMyOrder"] {
    height: 42px;
    border-radius: 15px 0 15px 0;
}

#form_ets_onepagecheckout .btn-primary:not(.loading):hover,
#form_ets_onepagecheckout .btn-primary:not(.loading):active {
    background: linear-gradient(45deg, #780921, transparent) #2b2358 !important;
}

#module-przelewy24-paymentConfirmation .p24-payment-return-page.przelewy-24 p {
    color: #fff;
}

.featured-products h2 {
    padding: 0;
    margin-top: .6rem;
    margin-bottom: .6rem;
}

.footer-container {
    background: #272727;
}

.cart-image-discount {
    position: absolute;
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    border-radius: 15px 0 0 0;
    margin: 0;
    padding: 5px;
    font-size: 14px;
    right: 15px;
    bottom: 0;
}

@media (max-width: 575px) {
    .cart-image-discount {
        right: 0;
    }
}

#cart .product-discount {
    display: none;
}

.block-onepagecheckout {
    border-color: #fff !important;
}

.block-onepagecheckout .title-heading,
.block-onepagecheckout .product-line-info.product_info_name .label {
    color: #fff !important;
}

.custom-checkbox input[type=checkbox] + span .checkbox-checked {
    color: #fff;
}

#checkout .block-onepagecheckout.block-address div#delivery-addresses input.form-control:focus {
    border: 2px solid #D5869F;
}

.payments-logo img {
    height: 30px;
    width: auto;
}

.payments-logo {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    /*filter: grayscale(1);*/
}

.copyright {
    border-top: 2px solid rgb(0 0 0 / 90%);
    padding: 15px 0px;
}

.copyright-text p {
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
}

.footer-stars {
    display: flex;
    align-items: center;
}

.footer-stars span img {
    height: 21px;
}

.footer-right-info p {
    margin-bottom: 5px;
}

.footer-right-info ul li {
    font-size: 14px;
    color: #cccccc;
}

@media (max-width: 992px) {
    .payments-logo {
        margin-bottom: 1.5rem;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .footer-container .links ul {
        margin-bottom: 0;
        background-color: #272727;
    }

    .footer-container .links ul > li a {
        color: #fff;
        padding: 0 0 0 25px;
    }
}

#product .product-additional-info .tabs button {
    margin: 0 !important;
    border-radius: 0 0 15px 0;
}

#product .product-additional-info .tabs input {
    border-radius: 15px 0 0 0;
}

#product .product-additional-info .tabs {
    background: none;
}

.custom-radio input[type=radio]:checked + span {
    background-color: #c0b6f4;
}

#order-detail .carriers,
#order-detail .order-message-form,
#order-detail .addresses,
#order-detail .box-basic-infos {
    display: none !important;
}

.page-authentication #content, .page-registration #content {
    max-width: none;
}

.contact-form {
    background: rgba(0 0 0 / 30%);
}

.contact-form h3 {
    color: #fff;
}

#contact .group-span-filestyle .btn-default {
    background: #535353;
}

.table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid #191919;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #191919;
}

.thead-default th {
    color: #ffffff;
    background-color: #191919;
}

.dlc {
    border-top: 1px solid #fff;
    padding: 10px 0;
    display: flex;
    gap: 15px;
    align-items: center;
}

.dlc span {
    color: #fff !important;
    font-size: 12px;
}

.dlc img {
    width: 45px;
    filter: drop-shadow(3px 3px 5px black);
}

.blockreassurance_product > div:nth-child(3) p {
    margin: 0;
}

/* Subcategories */
.subcategories ul li .subcategory-image {
    display: none;
}
.subcategories ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 767px) {
    .subcategories ul li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        height: 50%;
        border-right: 2px solid #fff;
    }
}
@media (max-width: 767px) {
    .subcategories ul li {
        border-radius: 15px 0 15px 0;
        background: #2e2e2e;
    }
}

.subcategories ul li {
    width: auto;
    min-width: auto;
    padding: 15px 10px;
    margin: 0;
}
.subcategories ul li:hover {
    border-radius: 15px 0 15px 0;
    background: #252525;
}
.subcategories ul li:last-child {
    border-right: 0;
}
.subcategories ul li h5 {
    margin: 0;
    color: #000 !important;
}
.subcategories ul li a {
    color: #fff !important;
}

.subcategories ul li {
    position: relative;
}
.subcategories .subcategory-heading {
    display: none;
}
.subcategories {
    background: #2e2e2e;
    border: none;
    border-radius: 15px 0 15px 0;
    padding: 10px 0;
    margin: 10px 0 25px 0;
}

/* --- wspólne reset/układ --- */
.subcategories {
    background: #2e2e2e;
    border: none;
    border-radius: 15px 0 15px 0;
    padding: 10px 0;
    margin: 10px 0 25px 0;
}
.subcategories .subcategory-heading { display: none; }
.subcategories .subcategory-image { display: none; }
.subcategories .cat_desc { display: none; }  /* hide opisy – to właśnie „rozlewało” slajdy */

.subcats-swiper { padding: 0 10px; }
.subcats-swiper .swiper-wrapper {
    margin: 0; padding: 0; list-style: none;
}


/* pastylka */
.subcats-swiper .swiper-slide {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: auto !important;                 /* klucz: nie 100% */
    padding: 12px 16px;
    /*border-radius: 15px 0 15px 0;*/
    /*border-right: 2px solid white;*/
    background: #2e2e2e;
    white-space: nowrap;                     /* 1 linia */
}
.subcats-swiper .swiper-slide:last-child {
    border-right: none;
}

.subcats-swiper .swiper-slide:active { background: #252525; }

.subcategories h5 { margin: 0; color: #000 !important; }
.subcategories a { color: #fff; text-decoration: none; }
.subcategories .subcategory-name {
    display: block;
    max-width: 100%;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* --- MOBILE: Swiper włączony --- */
.subcats-swiper.swiper-initialized .swiper-scrollbar { display: block; }
@media (max-width: 767px) {
    .subcats-swiper .swiper-slide { background: #2e2e2e; }
}
@media (max-width: 1200px) {
    .subcategories .swiper-slide:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        height: 50%;
        border-right: 2px solid #fff;
    }
    .subcats-swiper .swiper-slide {
        margin-left: 12px;
    }
}

/* --- DESKTOP: brak inicjalizacji Swipera = zachowanie starego layoutu --- */
.subcats-swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.subcats-swiper:not(.swiper-initialized) .swiper-slide {
    background: transparent;
    padding: 15px 10px;
}
@media (min-width: 767px) {
    .subcats-swiper:not(.swiper-initialized) .swiper-slide:not(:last-child)::after {
        content: "";
        position: absolute;
        right: -12px;
        top: 50%;
        transform: translateY(-50%);
        height: 50%;
        border-right: 2px solid #fff;
    }
    /* strzałki/scrollbar niepotrzebne na desktopie */
    .subcats-scrollbar, .subcats-nav { display: none; }
}
.subcategories .subcats-swiper.swiper-initialized .swiper-scrollbar {
    display: none !important;
}
/* NAVI */
/* POZWÓL NAWIGACJI ŻYĆ */
.subcats-nav { display: flex !important; }
/* pozycjonowanie kontenera nawigacji względem slidera */
.subcats-swiper {
    position: relative; /* dla absolutnego pozycjonowania strzałek */
}

/* same strzałki */
.subcats-swiper .swiper-button-prev,
.subcats-swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-25%);
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(2px);
    z-index: 2;
}

/* odległości od krawędzi */
.subcats-swiper .swiper-button-prev { left: 6px; }
.subcats-swiper .swiper-button-next { right: 6px; }

/* rozmiar strzałek (ikonek) – Swiper używa zmiennej */
.subcats-swiper {
    --swiper-navigation-size: 18px;
}

/* hover/focus – opcjonalnie */
.subcats-swiper .swiper-button-prev:hover,
.subcats-swiper .swiper-button-next:hover {
    background: rgba(0,0,0,.5);
}

/* NAVI */
.subcategory-heading {
    margin-bottom: .5rem;
}
.subcategory-heading a {
    text-decoration: none;
    color: #fff;
}
.subcategories .swiper-slide:hover,
.open-subcategory {
    background: #272727 !important;
    border-radius: 15px 0 15px 0;
}

.block-category {
    min-height: auto !important;
}
/*.top-menu .sub-menu, .top-menu .sub-menu.collapse {
    display: none !important;
}*/

.presta-studio-price-history-text,
.presta-studio-price-history-price {
    color: #b3b3b3 !important;
    font-size: 12.5px !important;
    margin-top: 5px;
}
#product .product-prices .discount {
    display: none !important;
}
.product-miniature .product-price-and-shipping .discount-product {
    display: inline-block;
}
.product-miniature .product-price-and-shipping .discount-product {
    background: linear-gradient(45deg, #BC0E35, transparent) #3D327C;
    padding: 0px 9px;
    margin-top: 5px;
    margin-right: 4px;
    font-size: 15px;
    font-weight: 400;
    border-radius: 15px 0;
}
picture.lazy-image img {
    opacity: 0;
    transition: opacity .25s ease-in;
    filter: blur(2px);
}

picture.lazy-image.is-loaded img {
    opacity: 1;
    filter: none;
}

/* Kontener */
.lazy-wrap {
    /*position: relative;*/
    display: block;
    overflow: hidden;
    background-color: #272727;
}

/* Spinner w centrum */
.lazy-spinner {
    position: absolute !important;
    inset: 0;
    margin: auto;
    width: 48px;   /* dostosuj do swojego GIF-a */
    height: 48px;
    opacity: 1;
    transition: opacity .2s ease;
    pointer-events: none;
}

/* Fade-in obrazka po załadowaniu */
picture.lazy-image img {
    opacity: 0;
    transition: opacity .25s ease-in;
}
picture.lazy-image.is-loaded img {
    opacity: 1;
}

/* Schowanie spinnera, gdy obrazek gotowy */
picture.lazy-image.is-loaded ~ .lazy-spinner {
    position: absolute;
    opacity: 0;
    /* opcjonalnie:
    visibility: hidden;
    */
}

/* Mobile clamp: max 4 linie + overlay + toggle */
/* --- CLAMP: lepsza widoczność --- */
@media (max-width: 768px) {
    .product-description.clamped {
        position: relative;
        --clamp-lines: 6;          /* możesz zmienić JS-em lub data-lines */
        max-height: calc(var(--clamp-lines) * 1.75em);
        overflow: hidden;
    }

    /* dłuższy, ciemniejszy gradient; pod treścią (z-index:0) */
    .product-description.clamped::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: 3.4em; /* było ~2.4em */
        background: linear-gradient(
                to bottom,
                rgba(0,0,0,0) 0%,
                rgba(0,0,0,.55) 50%,
                rgba(0,0,0,.78) 100%
        );
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 0;
    }

    /* przycisk nad gradientem (z-index:1), pigułka + kursywa + kontrast */
    .product-description .clamp-toggle {
        position: absolute;
        right: 10px;
        bottom: 10px;
        z-index: 1;
        border: 1px solid rgba(255,255,255,.25);
        background: rgba(0,0,0,.85);
        color: #fff;
        padding: .28rem .6rem;
        border-radius: 999px;
        font: italic 600 0.95rem/1.2 inherit; /* kursywa + półpogrubienie */
        letter-spacing: .2px;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(0,0,0,.35);
        text-shadow: 0 1px 2px rgba(0,0,0,.6);
        cursor: pointer;
    }
    .product-description .clamp-toggle::before {
        content: "… ";
        opacity: .9;
    }
    .product-description .clamp-toggle:hover,
    .product-description .clamp-toggle:focus {
        background: rgba(0,0,0,.95);
        border-color: rgba(255,255,255,.35);
        outline: none;
    }

    /* stan rozwinięty */
    .product-description.clamped.is-expanded {
        max-height: none;
        overflow: visible;
    }
    .product-description.clamped.is-expanded::after { opacity: 0; }
    .product-description.clamped.is-expanded .clamp-toggle {
        position: static;
        margin-top: .5rem;
    }
    .product-description.clamped.is-expanded .clamp-toggle::before { content: ""; }
}
/* 05.10.2025 */
.product-miniature.js-product-miniature {
    position: relative;
    margin-bottom: 1rem;
    /*margin-bottom: 1.563rem;*/
}

.product-miniature::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    width: 100%;
    height: 30%;
    box-shadow: 0 0 10px -5px rgba(0, 0, 0, 1);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

.product-miniature .thumbnail-container {
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    /* Twoje reguły */
    .product-miniature .thumbnail-container { display: flex; align-items: center; }
    .product-miniature .thumbnail-top { max-width: 45%; height: auto; }
    .product-miniature .product-description { width: 55%; }

    /* Wyjątek: gdy w .hpp-products – przywróć „normalny” układ */
    .hpp-products .product-miniature .thumbnail-container { display: block; align-items: initial; }
    .hpp-products .product-miniature .thumbnail-top { max-width: 100%; }
    .hpp-products .product-miniature .product-description { width: auto; }
}
.quickview .modal-content {
    background: #272727;
}
.quickview .modal-content #product .h1 {
    font-size: 14px;
}
.quickview .modal-content #product-description-short {
    color: #fff;
    font-size: 12px;
    margin-bottom: 15px;
}
.accessory-box {
    margin-bottom: 10px;
    padding: 0;
    overflow: hidden;
}
.accessory-box .product-miniature.js-product-miniature {
    margin: 0;
}
.accessory-box .thumbnail-container {
    display: flex;
    width: 100%;
    align-items: center;
    margin-bottom: 0;
}

.accessory-box .thumbnail-top {
    max-width: 200px;
    height: auto;
}

.accessory-box-actions {
    display: flex;
    gap: 20px;
    margin-left: auto;
    padding-right: 15px;
    align-items: center;
}
.accessory-box h2.h3.product-title a {
    height: auto !important;
}

.accessory-box .product-miniature::after {
    content: none;
}

.accessory-box {
    border: 2px solid #7a7a7a;
    border-radius: 15px 0 15px 0;
}
.accessory-box h2.h3.product-title {
    margin: 0;
}

.accessory-box .product-miniature .product-description {
    display: flex;
    align-items: center;
}
.accessory-box .product-miniature .thumbnail-container:hover .product-description::after {
    content: none;
}
.accessory-box .product-miniature .product-price-and-shipping .discount-product {
    font-size: 12px;
}
.accessory-box .product-miniature .product-price-and-shipping {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.accessory-box .quick-view img {
    width: 30px;
}

/* Kontekst pozycjonowania + przycięcie listy */
.product-accessories { position: relative; }
.product-accessories .products {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}

/* Overlay z przyciskiem (bazowo) */
.hide-accessories{
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 100px; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; /* overlay nie łapie klików, tylko button */
}
.hide-accessories .show-more{
    pointer-events: auto;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.6);
    color: #fff; font-size: 14px; line-height: 1;
    cursor: pointer; backdrop-filter: blur(2px);
}
.hide-accessories img{ width: 30px; transition: transform .25s ease; }

/* Gradient tylko w stanie ZWINIĘTYM */
.product-accessories:not(.expanded) .hide-accessories{
    background: linear-gradient(
            to top,
            rgba(39,39,39,1) 0%,
            rgba(39,39,39,.92) 25%,
            rgba(39,39,39,.6) 55%,
            rgba(39,39,39,0) 100%
    );
}

/* Teksty przycisku: pokaż więcej/mniej */
.product-accessories .show-more span:first-of-type{ display: inline; } /* Pokaż więcej */
.product-accessories .show-more span:last-of-type{  display: none;  } /* Pokaż mniej  */
.product-accessories.expanded .show-more span:first-of-type{ display: none; }
.product-accessories.expanded .show-more span:last-of-type{  display: inline; }

/* Stan ROZWINIĘTY: usuń ograniczenia i zdejmij overlay, przycisk zostaje pod listą */
.product-accessories.expanded .products{
    max-height: none; overflow: visible;
}
.product-accessories.expanded .hide-accessories{
    position: static; height: auto; background: none; padding-top: 16px;
}
.product-accessories.expanded .hide-accessories img{ transform: rotate(180deg); }
.hide-accessories .show-more:focus { outline: none; }

@media (max-width: 768px)  {
    .accessory-box .thumbnail-top {
        max-width: 135px;
        height: auto;
    }
    .accessory-box h2.h3.product-title {
        font-size: 12px;
    }
    .accessory-box-actions {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        font-size: 12px;
    }
    .product-accessories .hide-accessories .show-more span {
        display: none !important; /* !important jeśli nie masz pewności co do kolejności */
    }
    .product-accessories .hide-accessories .show-more { gap: 0; padding: 10px; } /* opcjonalnie, kompaktowo */

}
.pagination .current a {
    color: #BC0E35;
}
/* Nawigacja fasoetowa nowa */
/* Kontener z facetami */
.search_facets_flex {
    --gap: 14px;   /* odstep miedzy elementami */
    --cols: 2;     /* domyslnie (telefony): 2 w wierszu */
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

/* Pojedynczy facet */
.search_facets_flex .facet {
    box-sizing: border-box;
    /* szerokość = (100% - suma przerw) / liczba kolumn */
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
}
.search_facets_flex .facet:last-child {
    flex: 1 0 100%;
}
/* Uporządkowanie środka, żeby dropdowny i suwaki nie wychodziły poza kafelek */
.search_facets_flex .facet .facet-dropdown,
.search_facets_flex .facet .select-title,
.search_facets_flex .facet .dropdown-menu,
.search_facets_flex .facet ul,
.search_facets_flex .facet li {
    width: 100%;
}
@media (max-width: 768px) {
    .search_facets_flex {
        display: block;
    }
}
/* Breakpointy: 2 -> 3 -> 4 -> 5 kolumn */
@media (min-width: 768px) {        /* tablety / mniejsze laptopy */
    .search_facets_flex { --cols: 3; }
}

@media (min-width: 1200px) {       /* szer. ~desktop */
    .search_facets_flex { --cols: 4; }
}

@media (min-width: 1600px) {       /* bardzo szerokie ekrany */
    .search_facets_flex { --cols: 4; }
}
@media (max-width: 1200px) {

}

/* Opcjonalnie: minimalna szerokość kafelka, by treść nie „pękała” */
.search_facets_flex .facet { min-width: 220px; }
/* ostatni kafelek zawsze pełna szerokość */


.search_facets_flex .facet-title {
    border: 0 !important;
}
.search_facets_flex p {
    margin-bottom: 0;
}
.search_facets_flex ul li p {
    margin-bottom: 15px;
}
.search_facets_flex ul li .facet-dropdown {
    margin: 0;
    padding: 0;
    border: 0;

}
.search_facets_flex #search_filters .facet .facet-title {
    display: none !important;
}
.search_facets_flex .facet-dropdown .select-title {
    color: #fff;
    background: #3a3a3a;
    border-radius: 15px 0;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    border-bottom: none;
}
#search_filters {
    padding: 1.563rem 0;
}
.search_facets_flex .facet .dropdown-menu a{
    color: #fff;
    background: #3a3a3a;
}
.facet-dropdown .dropdown-menu,
.search_facets_flex ul li .facet-dropdown {
    box-shadow: none;
    -webkit-box-shadow: none;
    margin-top: 0;
    border-radius: 15px 0;
    background: #3a3a3a;
}
.search_facets_flex ul li .facet-dropdown.open > a {
    background: #3a3a3a;
    border-radius: 15px 0 0 0;
    border: 1px solid #dfdfdf;
    border-bottom: none;
}
.search_facets_flex ul li .facet-dropdown.open > .dropdown-menu a {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
}
.search_facets_flex ul li .facet-dropdown.open > .dropdown-menu a:last-child {
    border-bottom: 1px solid #dfdfdf;
}
.search_facets_flex ul li .facet-dropdown.open > .dropdown-menu a:hover,
.search_facets_flex ul li .facet-dropdown.open > a:hover,
.search_facets_flex .facet .select-title:hover {
    background: #474747 !important;
    color: #fff !important;
}
.search_facets_flex #search_filters .facet .collapse li > p {
    color: #fff;
}
.active_filters {
    background: #3a3a3a;
    color: #fff;
    border-radius: 15px 0;
    padding: .625rem .625rem 0 .625rem;
}
.active_filters .filter-block {
    background: #474747;
    color: #fff;
}
#search_filters > p.h6 {
    cursor: pointer;
    font-size: 1.3125rem;
    line-height: 1.1;
    font-weight: 700;
}

/* nagłówek jako "przycisk" */
#search_filters > p.h6 {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* lekka animacja */
#search_filters .search_facets_flex {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
            max-height 0.25s ease,
            opacity 0.25s ease;
}

/* stan otwarty – ustawiamy na kontenerze lub bezpośrednio na panelu */
#search_filters.is-open .search_facets_flex {
    max-height: 3000px;   /* wystarczająco dużo, żeby objąć całą zawartość */
    opacity: 1;
    overflow: visible;
}

/* opcjonalnie obrót strzałki */
#search_filters > p.h6 img {
    transition: transform 0.25s ease;
}
#search_filters.is-open > p.h6 img {
    transform: rotate(180deg);
}

/* Nawigacja fasoetowa nowa */
.swiper-pagination-bullet {
    background: #fff !important;
}
@media (max-width: 767px) {
    #header .top-logo>h1 {
        margin: auto;
    }
}

/* STYLE WERSJI V3 */
#search_widget {
    display: none !important;
}
#authentication #login-form footer {
    padding: 0 0 15px 0;
}
@media (max-width: 767px) {
    #authentication #login-form footer button {
        width: 100%;
    }

    .page-customer-account #content .forgot-password {
        margin-top: -1rem;
    }
}


@media (max-width: 767px) {
    .header-top-right {
        display: none;
    }
    #mobile_top_menu_wrapper {
        background: #272727;
        padding: 0;
        min-height: calc(100vh - 115px);

    }
    #mobile_top_menu_wrapper p,
    #header .header-top a[data-depth="0"],
    #header a {
        color: #FFF;
        text-transform: none;
    }
    #mobile_top_menu_wrapper #top-menu li {
        margin-bottom: 5px;
    }
    #mobile_top_menu_wrapper .top-menu .sub-menu {
        background: transparent;
    }
    .category.current > a  {
        color: #fff;
        background: black;
    }
    #header .top-menu a[data-depth="0"]:hover {
        border-radius: 0;
    }
    #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
        border-bottom: none;
    }
    #mobile_top_menu_wrapper .top-menu .sub-menu ul {
        background: #7a7a7a;
    }
    #mobile_top_menu_wrapper .top-menu .sub-menu li>a {
        color: #fff;
        border: none;
    }
    #mobile_top_menu_wrapper .top-menu .collapse.in, #mobile_top_menu_wrapper .top-menu .sub-menu.collapse.in {
        padding: 0;
    }
}
#_desktop_top_menu .top-menu[data-depth="0"] li:hover .sub-menu {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}
#header .top-logo a {
    display: block;
    margin: auto;
}
.mobile-bottom-menu .search-icon {
    background: transparent;
}
.mobile-bottom-menu {
    position: fixed;
    bottom: -50px;
    left: 0;
    background: #272727;
    width: 100%;
    height: 105px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: -1px -7px 20px 0px rgba(255, 255, 255, .31);
    z-index: 10001;
    border-radius: 15px 15px 0 0;
}
.mobile-bottom-menu > div {
    width: 25%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-bottom-menu:has(.cart-preview.active) > #_mobile_cart::before {
    content: "";
    position: absolute;
    inset: -10px -10px 10px 10px;
    background: linear-gradient(45deg, #BC0E35, transparent);
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.mobile-bottom-menu > div#_mobile_cart {
    position: relative;
    border-radius: 0 15px 0 0;
}
.mobile-bottom-menu > div#_mobile_cart > div.cart-preview.active {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 15px 0 0;

}

#header .header-nav #menu-icon .material-icons {
    line-height: inherit;
}
#header .header-nav #menu-icon,
#header .header-nav .blockcart,
#header .header-nav .user-info {
    margin: 0;
}
#header .header-nav .blockcart {
    background: none;
}
body#checkout #header .header-nav .logo {
    max-height: 2rem;
}

/* STYLE WERSJI V3 */