
/* ==========================================
   1. HLAVNÍ NAVIGACE
   ========================================== */

.navigation-in > ul > li > a b {position: relative;font-weight: 400;}
.navigation-in > ul > li > a b::after {content: "";position: absolute;
left: 50%;bottom: -6px;width: 0;height: 1px;background: #000;transform: translateX(-50%);transition: width 0.25s ease;}

.navigation-in > ul > li:hover > a,
.navigation-in > ul > li > a:hover {background: transparent !important;color: #000 !important;}
.navigation-in > ul > li:hover > a b::after {width: 100%;}

/* ==========================================
   2. DESKTOP – DOPLŇKOVÉ BANNERY
   ========================================== */

@media (min-width: 992px) {

    .next-to-carousel-banners .banner-wrapper {
        display: flex !important;
        flex: 0 0 calc((100% - 60px) / 6) !important;
        max-width: calc((100% - 60px) / 6) !important;
        height: auto !important;
        text-decoration: none !important;
    }

    .next-to-carousel-banners {
        gap: 12px !important;
        margin-top: 12px !important;
        padding-bottom: 10px;
    }

    .sidebar {
        width: 300px;
    }

    .wide .p-detail-inner .p-detail-inner-header {
        margin-top: 10px;
    }
}


/* ==========================================
   3. SPOLEČNÝ VZHLED BANNERŮ
   ========================================== */

.next-to-carousel-banners .banner-wrapper {
    background: #f7f4f0;
    overflow: hidden;
}

.next-to-carousel-banners .banner-wrapper img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 320 / 200;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

/* Textový blok */

.next-to-carousel-banners .extended-banner-texts {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 82px;
    padding: 16px 10px 14px !important;
    margin: 0 !important;
    background: #f7f4f0 !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Název kategorie */

.next-to-carousel-banners .extended-banner-title {
    margin: 0 0 8px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1b1b1b !important;
}

/* Odkaz Objevit */

.next-to-carousel-banners .extended-banner-link {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    color: #333 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.3s ease;
}

.next-to-carousel-banners .extended-banner-link::after {
    font-size: 14px !important;
}

/* Hover efekty */

.next-to-carousel-banners .banner-wrapper:hover img {
    transform: scale(1.035);
    filter: brightness(0.94);
}


/* ==========================================
   4. MOBIL – BANNERY NA CELÝ ŘÁDEK
   OBRÁZEK VLEVO, TEXT VPRAVO
   ========================================== */

@media (max-width: 767px) {

  
/* ==========================================
   4. MOBIL – DVA BANNERY VEDLE SEBE
   OBRÁZEK NAHOŘE, TEXT POD NÍM
   ========================================== */

@media (max-width: 767px) {

    .next-to-carousel-banners {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: stretch !important;
        padding: 10px 0px 10px 0px;}
    }

    .next-to-carousel-banners .banner-wrapper {
        display: block !important;
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #f7f4f0 !important;
    }

    .next-to-carousel-banners .banner-wrapper > a {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100% !important;
        text-decoration: none !important;
    }

    .next-to-carousel-banners .banner-wrapper img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 320 / 200 !important;
        object-fit: cover !important;
        flex-shrink: 0 !important;
    }

    .next-to-carousel-banners .extended-banner-texts {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex: 1 1 auto !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 70px !important;
        height: auto !important;
        padding: 12px 6px !important;
        text-align: center !important;
        background: #f7f4f0 !important;
    }

    .next-to-carousel-banners .extended-banner-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        letter-spacing: 0.5px !important;
        margin: 0 0 6px !important;
        text-align: center !important;
    }

    .next-to-carousel-banners .extended-banner-link {
        font-size: 13px !important;
        justify-content: center !important;
    }
}


/* ==========================================
   5. NADPISY KATEGORIÍ
   ========================================== */

.category-header h1,
.category-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0;
}

/* Skrytí původního nadpisu kategorie
   – vlastní H1 je v category-hero */

.category-top > .category-title {
    display: none !important;
}


/* ==========================================
   6. HERO BANNERY KATEGORIÍ
   ========================================== */


@media (min-width: 992px) {

    .category-hero {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .category-hero > img {
        display: block;
        width: 100%;
        height: auto;
    }

    .category-hero-content {
        position: absolute;
        z-index: 2;
        left: 60px;
        top: 50%;
        transform: translateY(-50%);
        max-width: 430px;
    }

    .category-hero-small {
        margin-bottom: 15px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 2px;
        color: #8f684b;
    }

    .category-hero h1 {
        margin: 0 0 18px;
        font-family: "Cormorant Garamond", serif;
        font-size: 54px;
        line-height: 0.95;
        font-weight: 400;
        color: #171717;
    }

    .category-hero p {
        margin: 0;
        font-size: 16px;
        line-height: 1.45;
        color: #292929;
    }
}



.category-hero > img {
    border-radius: 12px;
    margin-top: 10px;
padding-top: 10px;}

}


/* ==========================================
   7. BARVY A VZHLED E-SHOPU
   ========================================== */

.content {
    background-color: #eddac63b;
}

.products-block > div .p {
    border-style: groove;
    border-color: #f4f0ec33;
}

.category-hero > img {
    border-radius: 12px;
   
}

.products-block > div .p .p-in {
    background-color: white;
}



/* ==========================================
   KONKURENČNÍ VÝHODY – KOMPAKTNÍ DESIGN
   ========================================== */

/* Celá sekce */
.benefitBanner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 24px 15px !important;
    margin: 0 !important;
    background: #f8f5f1 !important;
}

/* Jednotlivé výhody – desktop 4 vedle sebe */
.benefitBanner__item {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Obsah výhody */
.benefitBanner__link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    gap: 5px !important;
    text-decoration: none !important;
}

/* Ikony */
.benefitBanner__item img {
    display: block;
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    object-fit: contain !important;
    margin: 0 auto 7px !important;
}

/* Nadpis */
.benefitBanner__item strong,
.benefitBanner__item h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* Popis */
.benefitBanner__item p,
.benefitBanner__item span {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

/* ==========================================
   MOBIL – 2 VÝHODY VEDLE SEBE
   ========================================== */

@media (max-width: 767px) {

    .benefitBanner {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        padding: 18px 8px !important;
    }

    .benefitBanner__item {
        flex: 0 0 50% !important;
        width: 50% !important;
        max-width: 50% !important;
        padding: 12px 6px !important;
    }

    .benefitBanner__item img {
        width: 34px !important;
        height: 34px !important;
        max-width: 34px !important;
        margin-bottom: 5px !important;
    }

    .benefitBanner__item strong,
    .benefitBanner__item h3 {
        font-size: 14px !important;
    }

    .benefitBanner__item p,
    .benefitBanner__item span {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
}


/* OPRAVA HERO BANNERŮ KATEGORIÍ – DESKTOP */

@media (min-width: 992px) {

    .category-hero {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }

    .category-hero > img {
        display: block;
        width: 100%;
        height: auto;
        margin-top: 0;
        border-radius: 12px;
    }

    .category-hero-content {
        position: absolute;
        left: 7%;
        top: 50%;
        transform: translateY(-50%);
        max-width: 55%;
        z-index: 2;
    }

    .category-hero-small {
        font-size: 12px;
        line-height: 1.3;
        
    }

    .category-hero h1 {
        font-size: clamp(30px, 3vw, 48px);
        line-height: 1;
        margin: 0 0 12px;
    }

    .category-hero p {
        font-size: 14px;
        line-height: 1.35;
        margin: 0;
    }
}



/* ==========================================
   HERO BANNERY KATEGORIÍ – MOBIL
   ========================================== */

@media (max-width: 991px) {

    .category-hero {
        position: relative !important;
        width: 100% !important;
        height: 280px !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    /* Fotografie na pozadí */
    .category-hero > img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 55% center !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    /* Jemné zesvětlení levé části pro text */
    .category-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(250,247,243,0.96) 0%,
            rgba(250,247,243,0.82) 48%,
            rgba(250,247,243,0.05) 100%
        );
        pointer-events: none;
        z-index: 1;
    }

    /* Text přes fotografii */
    .category-hero-content {
        position: absolute !important;
        z-index: 2 !important;
        left: 18px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 74% !important;
        max-width: 300px !important;
        text-align: left !important;
    }

    .category-hero-small {
        font-size: 9px !important;
        line-height: 1.4 !important;
        letter-spacing: 1px !important;
        color: #8f684b !important;
        margin-bottom: 10px !important;
    }

    .category-hero h1 {
        font-family: "Cormorant Garamond", serif !important;
        font-size: clamp(27px, 7vw, 38px) !important;
        font-weight: 400 !important;
        line-height: 1.05 !important;
        color: #171717 !important;
        margin: 0 0 12px !important;
    }

    .category-hero p {
        font-size: 11px !important;
        line-height: 1.45 !important;
        color: #292929 !important;
        margin: 0 !important;
    }

    /* Schování původního H1 Shoptetu */
    .category-top > .category-title {
        display: none !important;
    }
}

.full-width {background-color: #f7f5f2;}

/* =========================================
   KNEWSLETTER
   ========================================= */

.footer-newsletter {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px !important;
}

.footer-newsletter #formNewsletter {
    width: 100%;
    max-width: none;
    margin: 0;
}

.footer-newsletter #formNewsletter > fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* DESKTOP */
@media (min-width: 992px) {

    .footer-newsletter {
        display: grid !important;
        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(0, 1fr)
            auto;
        column-gap: 25px;
        row-gap: 8px;
        align-items: end;
    }

    .footer-newsletter > h2 {
        grid-column: 1;
        grid-row: 1;
        font-family: "Cormorant Garamond", serif;
        font-size: 28px !important;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 8px !important;
        align-self: end;
    }

    .footer-newsletter #formNewsletter,
    .footer-newsletter #formNewsletter > fieldset {
        display: contents !important;
    }

    /* E-mail */
    #formNewsletter > fieldset >
    .form-group.smart-label-wrapper {
        grid-column: 1;
        grid-row: 2;
        margin: 0 !important;
        align-self: end;
    }

    /* CAPTCHA */
    #formNewsletter > fieldset > fieldset.box {
        grid-column: 2;
        grid-row: 1 / 3;
        margin: 0 !important;
        padding: 0 !important;
        min-width: 0;
        border: 0 !important;
        background: transparent !important;
        align-self: end;
    }

    /* Tlačítko */
    #formNewsletter > fieldset >
    button[type="submit"] {
        grid-column: 3;
        grid-row: 2;
        align-self: end;
        margin: 0 0 2px !important;
        white-space: nowrap;
    }

    /* Souhlas */
    #formNewsletter > fieldset >
    .form-group.consents {
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 4px 0 0 !important;
    }
}

/* MOBIL A TABLET */
@media (max-width: 991px) {

    .footer-newsletter {
        padding: 20px 12px !important;
        display: block !important;
    }

    .footer-newsletter > h2 {
        font-family: "Cormorant Garamond", serif;
        font-size: 24px !important;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 16px !important;
    }

    .footer-newsletter #formNewsletter {
        display: block !important;
    }

    .footer-newsletter #formNewsletter > fieldset {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px 10px;
        align-items: end;
    }

    #formNewsletter > fieldset >
    .form-group.smart-label-wrapper {
        grid-column: 1 / -1;
        grid-row: 1;
        margin: 0 !important;
    }

    #formNewsletter > fieldset > fieldset.box {
        grid-column: 1;
        grid-row: 2;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #formNewsletter > fieldset >
    button[type="submit"] {
        grid-column: 2;
        grid-row: 2;
        margin: 0 !important;
        padding: 10px 12px !important;
        white-space: nowrap;
    }

    #formNewsletter > fieldset >
    .form-group.consents {
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 0 !important;
    }
}

/* CAPTCHA – společné zmenšení */
#formNewsletter fieldset.box h2 {
    font-size: 15px !important;
    line-height: 1.3;
    margin: 0 0 8px !important;
}

#formNewsletter fieldset.box .form-group {
    margin-bottom: 5px !important;
}

#formNewsletter fieldset.box img {
    max-width: 150px;
    height: auto;
}

