/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.2
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

.custom-no-ajax-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 20px;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on November 9, 2025 */



@font-face {
    font-family: 'amandinebold';
    src: url('fonnts.com-amandine_bold-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandinebold_italic';
    src: url('fonnts.com-amandine_bold_italic-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_bold_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandineitalic';
    src: url('fonnts.com-amandine_italic-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandinelight';
    src: url('fonnts.com-amandine_light-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandinelight_italic';
    src: url('fonnts.com-amandine_light_italic-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_light_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandinemedium';
    src: url('fonnts.com-amandine_medium-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandinemedium_italic';
    src: url('fonnts.com-amandine_medium_italic-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_medium_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'amandineregular';
    src: url('fonnts.com-amandine_regular-webfont.woff2') format('woff2'),
         url('fonnts.com-amandine_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
    background-color: #fef5e6;
}

@media only screen and (min-width: 981px) {
    body:not(.et-fb) #et-boc .et-l .dd-fixed-header {
        position: fixed;
        width: 100%;
        z-index: 999;
        transition: background-color .3s, box-shadow .3s;
    }
}

/* --- Sekcja opini: styl i przewijanie --- */
.latest-reviews,
.latest-reviews * {
    user-select: none;
    /* zapobiega zaznaczaniu tekstu podczas przeciągania */
    -webkit-user-drag: none;
    /* wyłącza przeciąganie obrazków */
}

.latest-reviews {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 30px;
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    scroll-behavior: smooth;
}

.latest-reviews::-webkit-scrollbar {
    display: none;
}

.latest-reviews.dragging {
    scroll-behavior: auto;
}

.latest-reviews:active {
    cursor: grabbing;
}

.review {
    flex: 0 0 32%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.review:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.review-rating {
    font-size: 28px;
    margin-bottom: 25px !important;
    color: #FFC107;
}

.review-content {
    text-align: left;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    width: 100%;
}

.review-details {
    text-align: left;
    padding-left: 15px;
}

/* --- Responsywność --- */
@media only screen and (max-width: 980px) {
    .review {
        flex: 0 0 48%;
    }

    /* Na tabletach i telefonach włącz snapowanie (ładne zatrzaskiwanie opini) */
    .latest-reviews {
        scroll-snap-type: x mandatory;
    }

    .review {
        scroll-snap-align: start;
    }
}

@media only screen and (max-width: 767px) {
    .review {
        flex: 0 0 85%;
        margin-right: 10px;
    }

    .review-rating {
        font-size: 24px;
        margin-bottom: 15px !important;
    }

    .review-content {
        margin-bottom: 15px;
        font-size: 15px;
    }

    .review-header {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .review-avatar {
        width: 45px;
        height: 45px;
    }

    .review-details {
        padding-left: 10px;
    }
}

/* Dostosowanie logo w menu Divi między 1065px a mobile */
@media (max-width: 1100px) and (min-width: 768px) {
    .et_pb_menu--style-inline_centered_logo .et_pb_menu__logo img {
        max-width: 250px !important;
        /* zmniejsz logo */
    }
}

.dd-fixed-header {
    background: linear-gradient(rgba(0, 0, 0, 0.9),
            /* góra – ciemniejsza */
            rgba(0, 0, 0, 0.2)
            /* dół – jaśniejsza */
        );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}