/* ==========================================================================
   PRODUCT PAGE — STICKY RIGHT COLUMN
   Add as a separate CSS sheet loaded after the old product styles.
   ========================================================================== */

 .breadcrumb__wrapper {
     margin-bottom: 20px !important;
 }

body#product .l-main,
body#product #wrapper,
body#product .columns-container,
body#product #center-column,
body#product #content,
body#product .pi-product-layout {
    overflow: visible !important;
}

body#product .pi-product-layout {
    max-width: 1440px;

    background: #fff;

    box-sizing: border-box;
}

@media (min-width: 992px) {

    body#product .pi-product-layout {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1.12fr)
            minmax(400px, .88fr);

        grid-template-areas:
            "gallery buybox"
            "content buybox";

        align-items: start;

        column-gap: clamp(44px, 5vw, 82px);
        row-gap: 58px;
    }

    body#product .pi-product-gallery {
        grid-area: gallery;
    }

    body#product .pi-product-buybox {
        grid-area: buybox;

        position: sticky !important;
        top: 112px !important;

        align-self: start !important;

        height: max-content;

        z-index: 5;
    }

    body#product .pi-product-content {
        grid-area: content;
    }
}

body#product .product__left,
body#product .product__right,
body#product .pi-product-content {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 !important;

    float: none !important;
    flex: none !important;
}

body#product .product__name {
    margin: 20px 0 20px 0 !important;

    font-family: 'Syne', sans-serif !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: .98 !important;
    letter-spacing: -.04em !important;

    color: #222 !important;
}


body#product .product__description-short {

    font-size: 16px;
    line-height: 1.55;

    color: #292929;
}

/* Digital products: hide quantity selector, keep its value in HTML. */
body#product .product-actions__quantity,
body#product .product__quantity.quantity-button,
body#product .product__quantity-button {
    display: none !important;
}

body#product .product__add-to-cart {
    flex-grow: 0;
}

body#product .product__add-to-cart-button {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 62px !important;

    margin: 0 !important;
    padding: 6px 7px 6px 30px !important;

    color: #fff !important;
    background: #086cff !important;

    border: 1px solid #086cff !important;
    border-radius: 999px !important;

    box-shadow: 0 8px 20px rgba(8, 108, 255, .18) !important;
}

body#product .product__add-to-cart-button > .material-icons {
    display: none !important;
}

body#product .product__add-to-cart-button::after {
    content: "" !important;

    display: block !important;
    flex: 0 0 48px !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;

    background-color: rgba(255, 255, 255, .22) !important;
    background-image:
        url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12H19' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M14 7L19 12L14 17' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;

    border-radius: 50% !important;
}

body#product .pi-product-reassurance { 
    width: 100%; 
    margin-top: 20px; 
    padding: 22px; 
    background: #FBFAF8; 
    border-radius: 20px; 
    box-sizing: border-box; 
    
} 

.reassurance__title {
    font-family: 'Syne', sans-serif !important;
    font-weight: 500;
}

body#product .pi-product-reassurance .blockreassurance--product { 
    display: flex; 
    width: 100%; 
    margin: 0 !important; 
    padding: 0 !important; 
    justify-content: space-between;
    
} 

body#product .pi-product-reassurance .reassurance__image {
    display: flex;
}

body#product .pi-product-content { 
    width: 100%; 
    padding-top: 4px; 
    
}



/* Full product description always visible. */
body#product .pi-product-content #product_description > .accordion-header {
    display: none !important;
}

body#product .pi-product-content #product_description_collapse {
    display: block !important;

    height: auto !important;

    visibility: visible !important;
}

body#product .pi-product-content #product_description .accordion-body {
    padding: 0 !important;
}

body#product .pi-product-content .product__description {
    width: 100%;
    max-width: none;

    font-size: 15px;
    line-height: 1.55;

    color: #272727;
}

body#product .pi-product-content .product__description h2 {
    margin: 46px 0 20px;

    font-family: 'Syne', sans-serif !important;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.05;
}

body#product .pi-product-content .product__description h3 {
    margin: 36px 0 16px;

    font-family: 'Syne', sans-serif !important;
    font-size: clamp(24px, 2.5vw, 32px);
    line-height: 1.1;
}

body#product .pi-product-content .product__description p {
    margin: 0 0 18px;
}

body#product .pi-product-content
.accordion-item:not(#product_description) {
    margin-top: 12px;

    
    border-radius: 12px !important;

    overflow: hidden;
}

@media (max-width: 1199px) {

    body#product .pi-product-layout {
        width: calc(100% - 40px);

        padding-right: 30px;
        padding-left: 30px;
    }

    body#product .pi-product-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, .9fr);

        column-gap: 40px;
    }
}

@media (max-width: 991px) {

    body#product .pi-product-layout {
        display: grid !important;

        grid-template-columns: 1fr;
        grid-template-areas:
            "gallery"
            "buybox"
            "content";

        gap: 36px;

        width: calc(100% - 32px);

        padding: 24px 20px 60px;
    }

    body#product .pi-product-buybox {
        position: static !important;
    }

    body#product .pi-product-reassurance .blockreassurance_product {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {

    body#product .pi-product-layout {
        width: 100%;

        padding-right: 18px;
        padding-left: 18px;
    }

    body#product .product__name {
        font-size: clamp(36px, 11vw, 48px) !important;
    }
}

/* ==========================================================================
   STRONA PRODUKTU — POPRAWKA PRZYCISKU ZOOM
   ========================================================================== */

/* Usuń globalną strzałkę z przycisku powiększenia zdjęcia */
body#product .product__zoom::before,
body#product .product__zoom::after {
    content: none !important;
    display: none !important;

    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    background: none !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;
}

/* Mały, normalny przycisk zoom */
body#product .product__zoom {
    position: absolute !important;

    right: 18px !important;
    bottom: 18px !important;
    left: auto !important;
    top: auto !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;

    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;
    background: #086cff !important;

    border: 0 !important;
    border-radius: 50% !important;

    box-shadow: 0 6px 16px rgba(8, 108, 255, .22) !important;

    transform: none !important;
}

/* Przywrócenie oryginalnej ikony zoom */
body#product .product__zoom .material-icons,
body#product .product__zoom .material-symbols-outlined {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #fff !important;

    font-family: 'Material Icons' !important;
    font-size: 23px !important;
    line-height: 1 !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}

/* Bez przesuwania przy hover */
body#product .product__zoom:hover,
body#product .product__zoom:focus,
body#product .product__zoom:active {
    color: #fff !important;
    background: #005bd8 !important;

    transform: none !important;
}

/* ==========================================================================
   REASSURANCE — ZAWSZE W JEDNYM RZĘDZIE
   ========================================================================== */

body#product
.pi-product-reassurance
.pi-reassurance-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;

    gap: 0 !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

body#product
.pi-product-reassurance
.pi-reassurance-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;

    flex: 1 1 0 !important;

    width: 33.333% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 8px 20px !important;
}

body#product
.pi-product-reassurance
.pi-reassurance-card__icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 48px !important;

    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;

    margin: 0 16px 0 0 !important;
}

body#product
.pi-product-reassurance
.pi-reassurance-card__icon img {
    display: block !important;

    width: 46px !important;
    height: 46px !important;

    object-fit: contain !important;
}

body#product
.pi-product-reassurance
.pi-reassurance-card__content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    min-width: 0 !important;

    text-align: left !important;
}

body#product
.pi-product-reassurance
.pi-reassurance-card
+ .pi-reassurance-card {
    border-left: 1px solid #e5e2dd !important;
}

/* Także przy wąskim oknie zachowujemy jeden rząd */
@media (max-width: 650px) {

    body#product
    .pi-product-reassurance
    .pi-reassurance-list {
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        overflow-x: auto !important;
    }

    body#product
    .pi-product-reassurance
    .pi-reassurance-card {
        flex: 0 0 210px !important;

        width: 210px !important;
        min-width: 210px !important;

        padding-right: 14px !important;
        padding-left: 14px !important;
    }
}

/* ==========================================================================
   PRODUKTY Z TEJ SAMEJ KATEGORII — NAGŁÓWEK
   ========================================================================== */

body#product .category-products__title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 42px 0;
    padding: 0;

    font-family: 'Syne', sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.04em;

    color: #292929;
}

body#product .category-products__title-accent,
body#product .category-products__title-text {
    display: block;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

body#product .category-products__title-accent {
    color: #086cff;
    font-family: 'Syne', sans-serif !important;
}

body#product .category-products__title-text {
    color: #292929;
    font-family: 'Syne', sans-serif !important;
}

@media (max-width: 575px) {

    body#product .category-products__title {
        margin-bottom: 28px;

        font-size: clamp(34px, 10vw, 46px);
    }
}


/* ==========================================================================
   STRONA PRODUKTU — CENA NETTO I BRUTTO
   ========================================================================== */

body#product .pi-product-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    gap: 5px !important;

    width: 100% !important;

    padding: 0 !important;

    font-family: 'Inter', sans-serif !important;
}


/* Cena netto */

body#product .pi-product-price__net {
    display: flex !important;
    align-items: baseline !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;
}

body#product .pi-product-price__net-value {
    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Syne', sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;

    color: #086cff !important;

    white-space: nowrap !important;
}

body#product .pi-product-price__net-label {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #086cff !important;

    white-space: nowrap !important;
}


/* Cena brutto */

body#product .pi-product-price__gross {
    display: flex !important;
    align-items: baseline !important;

    gap: 7px !important;

    margin: 0 !important;
    padding: 0 !important;
}

body#product .pi-product-price__gross-value {
    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Syne', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    color: #292929 !important;

    white-space: nowrap !important;
}

body#product .pi-product-price__gross-label {
    margin: 0 !important;
    padding: 0 !important;

    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;

    color: #292929 !important;

    white-space: nowrap !important;
}

/* ==========================================================================
   STRONA PRODUKTU — AKORDEONY
   ========================================================================== */

body#product .pi-product-content .product__accordion {
    display: flex;
    flex-direction: column;

    gap: 10px;

    width: 100%;
    max-width: 650px;

    margin: 0;
    padding: 0;
}


/* Pojedynczy kafelek */

body#product .pi-product-content .accordion-item {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #FBFAF8;

    border: 0;
    border-radius: 14px;

    overflow: hidden;
}


/* Nagłówek */

body#product
.pi-product-content
.accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: 100%;
    min-height: 52px;

    margin: 0;
    padding: 13px 18px;

    font-family: 'Syne', sans-serif !important;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;

    color: #292929;
    background: #FBFAF8;

    border: 0;
    border-radius: 14px !important;

    box-shadow: none !important;
    outline: 0;

    cursor: pointer;
}


/* Brak zmiany tła po otwarciu */

body#product
.pi-product-content
.accordion-button:not(.collapsed) {
    color: #292929;
    background: #FBFAF8;

    box-shadow: none;
}


/* Usunięcie globalnych strzałek przycisków */

body#product
.pi-product-content
.accordion-button::before {
    content: none !important;
    display: none !important;
}


/* Własna niebieska strzałka */

body#product
.pi-product-content
.accordion-button::after {
    content: "" !important;

    display: block !important;
    flex: 0 0 11px !important;

    width: 11px !important;
    height: 11px !important;

    margin: 0 4px 4px auto !important;
    padding: 0 !important;

    background: none !important;
    background-image: none !important;

    border: 0 !important;
    border-right: 2px solid #086cff !important;
    border-bottom: 2px solid #086cff !important;

    border-radius: 0 !important;

    transform: rotate(45deg) !important;
    transform-origin: center;

    transition: transform .2s ease;
}


/* Strzałka po rozwinięciu */

body#product
.pi-product-content
.accordion-button:not(.collapsed)::after {
    margin-bottom: -3px !important;

    transform: rotate(225deg) !important;
}


/* Treść */

body#product
.pi-product-content
.accordion-body {
    padding: 4px 18px 20px;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;

    color: #292929;
    background: #FBFAF8;
}

body#product
.pi-product-content
.accordion-body p {
    margin: 0 0 14px;
}

body#product
.pi-product-content
.accordion-body p:last-child {
    margin-bottom: 0;
}


/* Hover */

body#product
.pi-product-content
.accordion-button:hover {
    color: #086cff;
    background: #FBFAF8;

    transform: none !important;
}


/* Focus */

body#product
.pi-product-content
.accordion-button:focus-visible {
    outline: 2px solid #086cff;
    outline-offset: -2px;

    box-shadow: none !important;
}


/* Pliki do pobrania */

body#product .pi-product-download {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-bottom: 1px solid #e9e7e3;
}

body#product .pi-product-download:first-child {
    padding-top: 0;
}

body#product .pi-product-download:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

body#product .pi-product-download__content {
    flex: 1 1 auto;
    min-width: 0;
}

body#product .pi-product-download .attachment__name {
    margin: 0 0 4px;

    font-weight: 600;
}

body#product .pi-product-download .attachment__description {
    margin: 0;

    color: #666;
}


/* Telefon */

@media (max-width: 767px) {

    body#product
    .pi-product-content
    .product__accordion {
        max-width: none;
    }

    body#product
    .pi-product-content
    .accordion-button {
        min-height: 50px;

        padding: 12px 15px;

        font-size: 15px;
    }

    body#product
    .pi-product-content
    .accordion-body {
        padding: 4px 15px 18px;
    }

    body#product .pi-product-download {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   PRODUKT — TREŚĆ AKORDEONU „SZCZEGÓŁY PRODUKTU”
   ========================================================================== */

body#product .pi-product-details {
    width: 100%;
    margin: 0;
    padding: 0;
}

body#product .pi-product-details__row {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
    align-items: center;

    gap: 24px;

    min-height: 64px;
    padding: 14px 0;

    border-bottom: 1px solid #dfe3e8;
}

body#product .pi-product-details__row:first-child {
    padding-top: 0;
}

body#product .pi-product-details__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body#product .pi-product-details__label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;

    color: #292929;
}

body#product .pi-product-details__value {
    min-width: 0;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;

    color: #292929;
}

body#product .pi-product-details__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

body#product .pi-product-details__brand img {
    display: block;

    width: 64px;
    height: 64px;

    object-fit: contain;
    border-radius: 50%;
}

@media (max-width: 575px) {
    body#product .pi-product-details__row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* ==========================================================================
   PRODUKT — WYMUSZENIE BELKI AKORDEONU OPISU
   ========================================================================== */

body#product
#pi_description_item {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #FBFAF8 !important;
    border: 0 !important;
    border-radius: 14px !important;

    overflow: hidden !important;
}

body#product
#pi_description_item
.pi-description-accordion__header {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;
}

body#product
#pi_description_item
.pi-description-accordion__button {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 13px 18px !important;

    font-family: 'Syne', sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;

    color: #292929 !important;
    background: #FBFAF8 !important;

    border: 0 !important;
    border-radius: 14px !important;

    box-shadow: none !important;

    visibility: visible !important;
    opacity: 1 !important;

    cursor: pointer !important;
}

/* Usuń globalne pseudoelementy przycisków */

body#product
#pi_description_item
.pi-description-accordion__button::before {
    content: none !important;
    display: none !important;
}

/* Niebieska strzałka */

body#product
#pi_description_item
.pi-description-accordion__button::after {
    content: "" !important;

    display: block !important;
    flex: 0 0 11px !important;

    width: 11px !important;
    height: 11px !important;

    margin: 0 4px 4px auto !important;
    padding: 0 !important;

    background: none !important;

    border: 0 !important;
    border-right: 2px solid #086cff !important;
    border-bottom: 2px solid #086cff !important;
    border-radius: 0 !important;

    transform: rotate(45deg) !important;

    transition: transform .2s ease !important;
}

body#product
#pi_description_item
.pi-description-accordion__button:not(.collapsed)::after {
    margin-bottom: -3px !important;

    transform: rotate(225deg) !important;
}

/* Treść opisu */

body#product
#pi_description_collapse {
    width: 100% !important;

    background: #FBFAF8 !important;
}

body#product
#pi_description_collapse
.accordion-body {
    width: 100% !important;

    padding: 8px 18px 22px !important;

    background: #FBFAF8 !important;

    box-sizing: border-box !important;
}


.attachment {
    border: none;
}

.attachment__link {
    color: #006cff !important;
    background-color: #fff !important;
}

body#product .product__thumbnail.active,
body#product .product__thumbnail:focus,
body#product .product__thumbnail:focus-visible {
    outline: none !important;
    border: 0 !important;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .16) !important;

    border-radius: 12px !important;
}

html body#product button.product__zoom::before {
    content: "" !important;

    display: block !important;
    flex: 0 0 24px !important;

    width: 24px !important;
    height: 24px !important;

    background-image: url("/themes/hummingbird/assets/img-dist/powiekszenie.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;

    border: 0 !important;
}

html body#product button.product__zoom::after {
    content: none !important;
    display: none !important;
}

html body#product button.product__zoom > .material-icons {
    display: none !important;
}

body#product .product__carousel .carousel-control-prev,
body#product .product__carousel .carousel-control-next {
    display: none !important;
}

#blockcart-modal-title {
    font-size: 32px !important; 
}

.blockcart-modal__title-icon.material-icons {
    display: none !important;
}

html body #blockcart-modal
.modal-footer
button.btn.btn-outline-primary.btn-with-icon {
color: #006cff !important;
background: #fff !important;
background-color: #fff !important;

border: 1px solid #006cff !important;
}

.modal-content {
    border-radius: 25px;
}


/* CONTACT — zaokrąglenie pól formularza */

body#contact input.form-control,
body#contact select.form-select,
body#contact textarea.form-control,
body#contact input[type="file"] {
    border-radius: 12px !important;
}


/* ==========================================================================
   KONTAKT — WŁASNE IKONY SVG
   ========================================================================== */

body#contact .ps-contactinfo__item > .material-icons {
    display: block !important;
    flex: 0 0 26px !important;

    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;

    margin: 0 20px 0 0 !important;

    font-size: 0 !important;
    color: transparent !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}


/* 1. ADRES */
body#contact
.ps-contactinfo__item:nth-of-type(1)
> .material-icons {
    background-image:
        url("/themes/hummingbird/assets/img-dist/location.svg") !important;
}


/* 2. TELEFON */
body#contact
.ps-contactinfo__item:nth-of-type(2)
> .material-icons {
    background-image:
        url("/themes/hummingbird/assets/img-dist/phone.svg") !important;
}


/* 3. EMAIL */
body#contact
.ps-contactinfo__item:nth-of-type(3)
> .material-icons {
    background-image:
        url("/themes/hummingbird/assets/img-dist/mail.svg") !important;
}


/* 4. NIP / INFO */
body#contact
.ps-contactinfo__item:nth-of-type(4)
> .material-icons {
    background-image:
        url("/themes/hummingbird/assets/img-dist/info.svg") !important;
}