/**
* 2007-2025 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2025 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

#fabrics-modal-error .modal-header,
#fabrics-modal-error .modal-footer {
    border: none !important;
}
#fabrics-modal-error .modal-header {
    display: flex;
    justify-content: space-between;
}
#fabrics-modal-error .modal-header .close{
    margin-left: auto;
}
#fabrics-modal.modal.in {
    padding-right: 0 !important;
}
#fabrics-modal .modal-dialog{
    width: 985px;
    max-width: 90%;
}
#fabrics-modal .category-name,
#fabrics-modal .category-name-mobile {
    text-align: left;
    color: #121212;
    font-size: 21px;
    font-weight: 600;
}
#fabrics-modal .features-flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

#fabrics-modal .feature-flag img {
    max-width: 50px;
    height: auto;
}
#fabrics-modal .product-featrues {
    display: flex;
    flex-direction: column;
}
#fabrics-modal .product-features .product-features-line {
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    padding: 15px 0;
}
#fabrics-modal .feature-name {
    color: #4F4F4F;
    font-size: 15px;
}

#fabrics-modal .category-name-mobile {
    display: none;
}
#fabrics-modal .feature-value {
    color: #121212;
    font-size: 15px;
    font-weight: 600;
}
#fabrics-modal .selected-fabrics {
    color: #4F4F4F;
    font-size: 13px;
    margin-bottom: 15px;
    margin-top: 25px
}
body#module-fabrics-fabrics .sub-fabric .selected-fabrics {
    padding-top: 10px;
    padding-bottom: 20px;
    font-weight: 600;
}
.fabrics-modal-footer {
    text-align: right;
}
#fabrics-modal .product-feature {
    display: flex;
    justify-content: space-between;
}
.fabric-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

body#module-fabrics-fabrics .sub-fabric,
body#module-fabrics-fabrics .tooltip.bs-tether-element-attached-bottom .tooltip-inner::before {
    border-top: 1px solid rgba(0, 0, 0, .2);

}
body#module-fabrics-fabrics .tooltip-inner {
    background-color: #000000 !important;
    border-radius: 10px;
    padding: 10px;
}
body#module-fabrics-fabrics .fabrics-miniature {
    cursor: pointer;
}

body#module-fabrics-fabrics .sub-fabrics-name {
    color: #121212;
    font-weight: 600;
    font-size: 24px;
}
body#module-fabrics-fabrics .fabrics-miniature-name {
    color: #121212;
    font-weight: 600;
    font-size: 16px;
    padding-top: 10px;
}
body#module-fabrics-fabrics .fabrics-miniature img{
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgb(0 0 0 / 51%);
}
body#module-fabrics-fabrics .sub-fabrics-products {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

body#module-fabrics-fabrics h1.test {
    display: none;
}

body#module-fabrics-fabrics .fabrics-description {
    font-size: 21px;
    color: #121212;
    font-weight: 600;
}

body#module-fabrics-fabrics #wrapper .breadcrumb {
    margin: 180px auto !important;
    margin-bottom: 40px !important;
}

/*body#module-fabrics-fabrics .fabrics-helpbox {
    font-size: 26px;
    color: #4F4F4F;
}*/
#module-fabrics-fabrics .free-samples {
    max-width: 1720px;
}
#module-fabrics-fabrics .free-samples .contact-button {
    max-width: 350px;
    width: 100%;
    line-height: 22px;
}
body#module-fabrics-fabrics .sub-fabrics-description {
    color: #4F4F4F;
    font-size: 15px;
    max-width: 1100px;
}

body#module-fabrics-fabrics .fabrics-miniature {
    display: flex;
    flex-direction: column;
    width: fit-content;
    text-align: center;
    max-width: calc(50% - 15px);
}


body#module-fabrics-fabrics .fabrics-miniature-image {
    position: relative;
}

body#module-fabrics-fabrics .fabrics-miniature-image .zoom-imagen {
    position: absolute;
    color: #f7f7f7;
    background-color: transparent;
    border: none;
    display: none;
    pointer-events: none;
}
body#module-fabrics-fabrics .fabrics-miniature-image .zoom-imagen svg {
    filter:
    drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}



body#module-fabrics-fabrics .fabrics-miniature-image:hover .zoom-imagen {
    display: block;
}


body#module-fabrics-fabrics .fabrics-miniature-image a {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid #121212;
    display: none;
}


body#module-fabrics-fabrics .fabrics-miniature-image.not-in-cart:hover .add-to-cart-fabric:not(.mobile){
    background: #000000 0% 0% no-repeat padding-box;
    color: white;
    display: block;
}

body#module-fabrics-fabrics .fabrics-miniature-image.in-cart .remove-from-cart-fabric:not(.mobile){
    background: #FFFFFF 0% 0% no-repeat padding-box;
    display: block;
}


body#module-fabrics-fabrics .fabrics-miniature-image.in-cart .add-to-cart-fabric {
    display: none;
}

body#module-fabrics-fabrics .fabrics-miniature-image.not-in-cart .remove-from-cart-fabric {
    display: none;
}

body#module-fabrics-fabrics button.close {
    font-size: 35px;
}
body#module-fabrics-fabrics button.close:hover {
    background-color: rgba(255, 255, 255, .15);
    color: #121212;
}
body#module-fabrics-fabrics .product-features {
    margin-top: 0;
}
#module-fabrics-fabrics .sub-fabrics {
    max-width: 1720px;
    margin: 0 auto;
}
body#module-fabrics-fabrics .fabrics-disclaimer {
    max-width: 900px;
    margin: 0 auto;
}

body#module-fabrics-fabrics .fabrics-disclaimer p {
    font-size: 11px;
    line-height: 20px;
    font-weight: 600;
}

/*STICKY BAR FABRICS*/
body#module-fabrics-fabrics .sticky-bar-fabrics {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #d2d2d2;
    box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.32);
    padding: 16px 20px;
    gap: 12px;
    z-index: 99;
}

body#module-fabrics-fabrics .sticky-bar-fabrics-box {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

body#module-fabrics-fabrics .sticky-bar-fabrics-price {
    font-size: 32px;
    line-height: 28px;
}

body#module-fabrics-fabrics .sticky-bar-fabrics-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
body#module-fabrics-fabrics .sticky-bar-fabrics-delivery {
    font-size: 12px;
    line-height: 11px;
    text-transform: uppercase;
    color: #333;
}
body#module-fabrics-fabrics .sticky-bar-fabrics-action .btn.btn-primary {
    border: 1px solid #232323;
    pointer-events: auto;
}
body#module-fabrics-fabrics .tooltip {
    z-index: 1000000000 !important;
}


/*END STICKY BAR FABRICS*/


body#module-fabrics-fabrics #tidio-chat-iframe {
    margin-bottom: 73px !important;
}


/* Dla urządzeń dotykowych – brak hover i pointer coarse */
@media (hover: none) and (pointer: coarse) {
    body#module-fabrics-fabrics .fabrics-miniature-image .zoom-imagen {
        display: block;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.mobile {
        display: block;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a:not(.mobile) {
        display: none !important;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.remove-from-cart-fabric.mobile {
        background-color: white;
        color: black;
        border-radius: 50%;
        right: 10px;
        bottom: 10px;
        left: unset;
        transform: unset;
        width: 45px;
        height: 45px;
        font-size: 45px;
        align-items: center;
        padding: 9px;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.add-to-cart-fabric.mobile {
        background-color: black;
        color: white;
        border-radius: 50%;
        right: 10px;
        bottom: 10px;
        left: unset;
        transform: unset;
        width: 45px;
        height: 45px;
        font-size: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body#module-fabrics-fabrics #tidio-chat-iframe {
        margin-bottom: 0 !important;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action {
        align-items: flex-start;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action .btn.btn-primary {
        width: 82% !important;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-box .selected-fabrics {
        padding-bottom: 10px;
    }

}
@media (max-width: 1200px) {
    body#module-fabrics-fabrics #wrapper .breadcrumb {
        margin-bottom: 0 !important;
        margin-top: 140px !important;
    }
}

@media (max-width: 991px) {
    body#module-fabrics-fabrics .row.fabrics {
        display: flex;
        flex-direction: column;
    }

    body#module-fabrics-fabrics .col-md-6.fabrics-picture {
        width: 100%;
    }

    body#module-fabrics-fabrics .col-md-6.fabrics-information {
        width: 100%;
    }

    #fabrics-modal .category-name-mobile {
        display: block;
        padding-top: 2px;
        padding-bottom: 10px;
        padding-left: 5px;
    }

    #fabrics-modal .category-name {
        display: none;
    }

    #fabrics-modal .modal-body-header {
        display: flex;
        justify-content: space-between;
    }

    #fabrics-modal .modal-dialog {
        max-width: 65%;
    }
    body#module-fabrics-fabrics #tidio-chat-iframe {
        margin-bottom: 0 !important;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action {
        align-items: flex-start;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action .btn.btn-primary {
        width: 82% !important;
    }
    
    body#module-fabrics-fabrics .sticky-bar-fabrics-box .selected-fabrics {
        padding-bottom: 10px;
    }
}

@media (max-width: 768px) {
    #fabrics-modal .category-name-mobile{
        display: block;
    }
    body#module-fabrics-fabrics .fabrics-miniature-image .zoom-imagen {
        display: block;
    }
    body#module-fabrics-fabrics .fabrics-miniature-image .zoom-imagen svg {
        width: 45px;
        height: 45px;
    }
    #fabrics-modal .category-name{
        display: none;
    }
    #fabrics-modal .features-flags {
        justify-content: center;
    }
    #fabrics-modal .btn-primary,
    #fabrics-modal-error .btn-primary {
        width: 100%;
    }

    #fabrics-modal .selected-fabrics {
        text-align: center;
    }

    #fabrics-modal .modal-body-header {
        display: flex;
        justify-content: space-between;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.mobile {
        display: block;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a:not(.mobile) {
        display: none !important;
    }

    body#module-fabrics-fabrics .sub-fabrics-products {
        justify-content: center;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.remove-from-cart-fabric.mobile {
        background-color: white;
        color: black;
        border-radius: 50%;
        right: 10px;
        bottom: 10px;
        left: unset;
        transform: unset;
        width: 45px;
        height: 45px;
        font-size: 45px;
        align-items: center;
        padding: 9px;
    }

    body#module-fabrics-fabrics .fabrics-miniature-image a.add-to-cart-fabric.mobile {
        background-color: black;
        color: white;
        border-radius: 50%;
        right: 10px;
        bottom: 10px;
        left: unset;
        transform: unset;
        width: 45px;
        height: 45px;
        font-size: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body#module-fabrics-fabrics .fabrics-miniature img{
        width: 156px;
    }
    #fabrics-modal .modal-dialog {
        max-width: 75%;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics {
        flex-direction: column;
        padding: 12px 20px;
    }
    
    body#module-fabrics-fabrics .sticky-bar-fabrics-box {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    body#module-fabrics-fabrics .sticky-bar-fabrics-price {
        font-size: 25px;
        line-height: 21px;
    }
    
    body#module-fabrics-fabrics .sticky-bar-fabrics-box .selected-fabrics {
        font-size: 15px;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-delivery {
        font-size: 11px;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action {
        align-items: flex-start;
        width: 100%;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action .btn.btn-primary {
        width: 100%;
    }
    #scrollToTopContainer {
        bottom: 140px;
    }
    body#module-fabrics-fabrics .free-samples {
        padding-bottom: 0;
    }
}

@media (max-width: 576px) {
    #fabrics-modal .modal-dialog {
        max-width: 90%;
        margin: auto;
    } 
    #fabrics-modal .features-flags {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action {
        width: 100%;
    }
    body#module-fabrics-fabrics .sticky-bar-fabrics-action .btn.btn-primary {
        padding: 8px 31px;
    }
}

@media (max-width: 420px) {
    body#module-fabrics-fabrics .fabrics-miniature img{
        width: 135px;
    }
}







.images-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper-wrapper {
  /* Opcjonalnie: min-height, jeśli obrazy mają różną wysokość */
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide picture,
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Nawigacja */
.swiper-button-next, 
.swiper-button-prev {
  color: #000;
}

/* Paginacja */
.swiper-pagination-bullet {
  background: #000;
}

body#module-fabrics-fabrics .swiper-button-next, body#module-fabrics-fabrics .swiper-button-prev {
    opacity: 1;
    transform: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    background-color: #e8e3dd;
}

body#module-fabrics-fabrics .swiper-button-next {
    left: auto;
    right: 40px;
    bottom: 20px;
    top: auto;
    transform: scale(1.3);
}
body#module-fabrics-fabrics .swiper-button-prev {
    left: auto;
    right: 95px;
    bottom: 20px;
    top: auto;
    transform: scale(1.3);
}

body#module-fabrics-fabrics .swiper-pagination-fraction {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 6px 12px;
    color: #000;
    background-color: #e8e3dd;
    border-radius: 100vh;
    font-weight: 600;
    position: absolute;
    bottom: 20px;
    left: unset;
    right: 175px;
    cursor: default;
    transform: scale(1.3);
}

body#module-fabrics-fabrics .swiper-button-prev:after, body#module-fabrics-fabrics .swiper-button-next:after  {
    display: none;
}

body#module-fabrics-fabrics .images-container.js-images-container {
    max-width: 700px;
}

body#module-fabrics-fabrics .images-container.js-images-container img {
    cursor: grab;
    border-radius: 10px;
}

body#module-fabrics-fabrics .images-container.js-images-container img:active {
    cursor: grabbing;
}
@media (max-width: 1440px) {
    body#module-fabrics-fabrics .swiper-button-next {
        right: 30px;
        bottom: 10px;
        transform: scale(1);
    }
    body#module-fabrics-fabrics .swiper-button-prev {
        right: 70px;
        bottom: 10px;
        transform: scale(1);
    }
    body#module-fabrics-fabrics .swiper-pagination-fraction {
        bottom: 10px;
        right: 120px;
        transform: scale(1);
    }
}
@media (max-width: 500px) {
    body#module-fabrics-fabrics .swiper-button-next {
        right: 10px;
        bottom: 5px;
    }

    body#module-fabrics-fabrics .swiper-button-prev {
        right: 50px;
        bottom: 5px;
    }

    body#module-fabrics-fabrics .swiper-pagination-fraction {
        bottom: 5px;
        right: 100px;
    }
    body#module-fabrics-fabrics #wrapper .breadcrumb {
        top: 0 !important;
    }
    body#module-fabrics-fabrics .free-samples__header {
        font-size: 33px !important;
        line-height: 45px !important;
    }
}

