/* ==================================================
   UKŁAD STRONY HOME
   ================================================== */

/* Cała strona minimum na wysokość ekranu */
#main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Obszar pomiędzy headerem i footerem */
#main {
    flex: 1;
    display: flex;
}

/* Główny kontener Blocksy — bez pionowych odstępów */
#main > .ct-container-full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex: 1;
    display: flex;
}

/* Zawartość strony */
article,
.entry-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-content {
    padding-top: 20px !important;
}


/* ==================================================
   GÓRNE COPY
   ================================================== */

.najfajniejsze-banner {
    width: 100%;
    max-width: 700px;
    margin: 0px auto 0;
    line-height: 0;
}

.najfajniejsze-banner img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* Nakłada PNG dokładnie na SVG */
.najfajniejsze-banner .naj-png {
    margin-top: -26.133333%;
}


/* PROMO COPY */
.promocopy {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.15;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.promocopy a {
    color: #00a4ff;
    font-weight: 600;
    text-decoration: underline;
}

.promocopy a:hover {
    color: #000;
}

/* Druga, mniejsza linia */
.promocopy-small {
    font-size: 15px;
    font-weight: 400;
}

/* MOBILE */
@media (max-width: 768px) {
    .promocopy {
        font-size: 15px;
        line-height: 1.1;
    }

    .promocopy-small {
        font-size: 13px;
        font-weight: 400;
    }
}

/* NAGŁÓWEK SEKCJI  */
.home-section-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;

    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

/* Linie po obu stronach */
.home-section-header::before,
.home-section-header::after {
    content: "";
    height: 3px;
    background: #000000;
    flex: 1;
}


/* FULL WIDTH BAND */

.full-width-band {
    position: relative;
    z-index: 0;
    padding-top: 40px;
    padding-bottom: 30px;
}

/* TŁO + GÓRNY PASEK */

.full-width-band::before {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;
    width: 100vw;
    transform: translateX(-50%);

    background-color: #ffddd9;

    background-image: url("https://dziedzicpruski.net/wp-content/uploads/2026/08/heygirl_pasek_03.svg");
    background-repeat: repeat-x;
    background-position: top left;
    background-size: auto 20px;

    z-index: -1;
}

/* DOLNY PASEK */

.full-width-band::after {
    content: "";
    position: absolute;

    left: 50%;
    bottom: 0;

    width: 100vw;
    height: 20px;
    transform: translateX(-50%);
   

    background-image: url("https://dziedzicpruski.net/wp-content/uploads/2026/08/heygirl_pasek_04.svg");
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: auto 20px;

    z-index: -1;
}

/* NAGŁÓWEK KOLEKCJI HEY GIRL */

.heygirl-section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-bottom: 20px;
    padding-top: 20px;

    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #cf2e0f;
    margin: 0;
}

/* Logo Hey Girl */
.heygirl-section-header img {
    display: block;
    height: 50px;
    width: auto;
}




/* 2 PRODUKTY – DESKTOP + TABLET */

.produkty-2kol ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.produkty-2kol ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}


/* TELEFON – 1 PRODUKT NA PEŁNĄ SZEROKOŚĆ */

@media (max-width: 700px) {

    .produkty-2kol ul.products {
        grid-template-columns: 1fr !important;
    }

    .produkty-2kol ul.products li.product:nth-child(n+2) {
        display: none !important;
    }
}

/* produkty5kol — 3 produkty na mobile */
@media (max-width: 689.98px) {
    .produkty5kol [data-products] {
        --shop-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .produkty5kol [data-products] > li:nth-child(n+4) {
        display: none !important;
    }
}

/* Ukrywa tytuły i ceny w bloku produkty5kol */
.produkty5kol .woocommerce-loop-product__title,
.produkty5kol .price {
    display: none !important;
}



/*CUSTOM BANNER*/

.custom-banner {
    width: 100%;
    overflow: hidden;

    background-image: url("https://dziedzicpruski.net/wp-content/uploads/2026/08/banner_test.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 12px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding: 30px;
    margin: 20px 0 40px;
}

.custom-banner-text {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

}


/* 
-------------------
BLOKI PROMOCYJNE 
------------------
*/

/* Dwa boksy obok siebie */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin-bottom: 56px !important;
}

/* Pojedynczy boks */
.promo-box {
    position: relative;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
}

/* Obrazek pierwszego boksu */
.promo-box-1 {
    background-image: url('https://dziedzicpruski.net/wp-content/uploads/2026/08/test_box_01.jpg');
}

/* Obrazek drugiego boksu */
.promo-box-2 {
    background-image: url('https://dziedzicpruski.net/wp-content/uploads/2026/08/test_box_02.jpg');
}

/* Gradient na dolnej 1/4 wysokości */
.promo-box-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Tekst na gradiencie */
.promo-box-text {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 20px;

    color: #fff;
    font-family: "Roboto Condensed Full", sans-serif !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: right;
}

/* Mobile — jeden pod drugim */
@media (max-width: 689.98px) {

    .promo-grid {
        grid-template-columns: 1fr;
        column-gap: 24px;
        row-gap: 56px !important;
        margin-bottom: 56px !important;
    }

    .promo-box-text {
        left: 18px;
        right: 18px;
        bottom: 16px;
    }
}

/* CZERWONY BUTTON */

.wp-block-button.button-red {
    background: transparent !important;
}

.wp-block-button.button-red .wp-block-button__link {
    background-color: #cf2e0f !important;
    border-color: #cf2e0f !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-weight: 600;
}

/* Hover */
.wp-block-button.button-red .wp-block-button__link:hover {
    background-color: #ed4f18 !important;
    border-color: #ed4f18 !important;
}

/* Mobile — przycisk na całą szerokość */
@media (max-width: 768px) {
    .wp-block-button.button-red {
        width: 100%;
    }

    .wp-block-button.button-red .wp-block-button__link {
        display: block;
        width: 100%;
        text-align: center;
    }
}

.wp-block-button.button-red {
    padding-bottom: 20px !important;
}

/* KLASA odstep_gora_1 Z ODSTĘPEM NA GÓRZE */


.odstep_gora_1 {
    margin-top: 20px !important;
}

/* =========================================
   GRID KWADRATÓW
========================================= */

.home-square-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 20px !important;
}

.home-square-grid a {
    display: block;
    min-width: 0;
}

.home-square-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
    .home-square-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 20px !important;
    }
}