/* ==========================================================================
   1. GLOBÁLNÍ STYLY – SKRYTÉ PRVKY
   Prvky, které se záměrně nezobrazují napříč webem
   ========================================================================== */

/* Rozbalovací šipky a rozšířené popisy */
.chevron-after.chevron-down-after,
.extended-description {
    display: none;
}

/* Sociální tlačítka a poslední příspěvky */
.social-buttons-wrapper,
.latest-contribution-wrapper {
    display: none;
}

/* ==========================================================================
   1. GLOBÁLNÍ STYLY – ZÁKLADNÍ TYPOGRAFIE A BARVY
   Nastavení výchozí barvy textu a základních layoutových prvků
   ========================================================================== */

/* Základní barva textu napříč webem */
body,
.dropdown-menu li a,
.top-navigation-bar,
.top-navigation-bar a,
.top-navigation-bar-menu-helper li a,
.top-navigation-bar-menu li::before,
#topNavigationDropdown,
.navigation-in a,
.navigation-in > ul > li.ext.exp a,
.menu-helper a,
.breadcrumbs,
.breadcrumbs a,
.subcategories li a,
.box-bg-variant .categories a,
.h4.homepage-group-title,
#content h1 {
    color: #000;
}

/* Roztažení obsahu na plnou šířku */
.welcome div,
.content-inner {
    max-width: 100%;
}

/* Homepage boxy */
.homepage-box {
    background-color: #fff;
    border-bottom-color: #fff;
}

/* Levý sidebar */
.sidebar.sidebar-left {
    background-color: #fff;
}

/* ==========================================================================
   2. KOMPONENTY – GALERIE OBRÁZKŮ
   Základní vzhled + jemný hover efekt
   ========================================================================== */

.gallery-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}

/* ==========================================================================
   2. KOMPONENTY – ZÁLOŽKY (TABS)
   Shoptet taby – běžný stav vs. aktivní záložka
   ========================================================================== */

.shp-tab-link {
    color: #fff;
    background-color: #0077a6;
}

.active .shp-tab-link {
    color: #fff;
    background-color: #e0007b;
}

/* ==========================================================================
   2. KOMPONENTY – TLAČÍTKO „DO KOŠÍKU“
   Ikona před textem tlačítka (pseudo-element ::before)
   ========================================================================== */

.btn.btn-cart::before,
a.btn.btn-cart::before,
.btn.add-to-cart-button::before,
a.btn.add-to-cart-button::before {
    content: '\e921';
}

/* ==========================================================================
   2. KOMPONENTY – TLAČÍTKO ZPĚT NAHORU
   Fixní tlačítko pro návrat na začátek stránky
   ========================================================================== */

#c-back {
    position: fixed;
    bottom: 60px;
    right: 20px;

    display: none;
    align-items: center;
    width: 40px;
    height: 40px;

    cursor: pointer;
    z-index: 1;
    opacity: 0.75;

    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
}

/* Zobrazení tlačítka (přidává JS) */
#c-back.visible {
    display: flex;
}

/* Hover stav */
#c-back:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Ikona (SVG šipka) */
#c-back svg {
    margin: auto;
    width: 16px;
    height: 12px;
    transform: rotate(-180deg);
}

/* ==========================================================================
   2. KOMPONENTY – FLAGS / štítky
   ========================================================================== */

/* Samotný štítek */
.flag {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    margin: 4px 6px 4px 0;
    border-radius: 5px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
}

/* Hover efekt */
.flag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Kontejner pro více štítků */
.flags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

/* =========================
   MEDIA QUERIES – RESPONSIVE ÚPRAVY
   ========================= */
@media (max-width: 1024px) {
    .flag {
        font-size: 1.1rem;
        padding: 6px 8px;
        min-width: 45%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .flag {
        font-size: 1rem;
        padding: 6px 8px;
        min-width: 45%;
        max-width: 50%;
    }
}

/* ==========================================================================
   4. HOMEPAGE – SKRYTÍ NADPISU
   ========================================================================== */

.welcome h1:first-of-type {
    display: none;
}

/* ==========================================================================
   4. HOMEPAGE – TOP BAR / BENEFITY / KONTAKTY
   ========================================================================== */

/* Hlavní lišta nahoře */
.hp-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    font-family: Arial, sans-serif; /* ← písmo lišty */
}

/* ===================== BENEFITY ===================== */

/* Kontejner benefitů */
.hp-topbar-benefits {
    display: flex;
    gap: 20px;
}

/* Jednotlivý benefit */
.hp-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-benefit img {
    height: 32px; /* velikost ikon */
}

.hp-benefit strong {
    font-size: 13px;
    font-weight: 700;
    display: block;
}

.hp-benefit span {
    font-size: 12px;
    color: #666;
}

/* ===================== KONTAKTY ===================== */

/* Kontejner kontaktů */
.hp-topbar-contacts {
    display: flex;
    gap: 24px;
}

/* Jednotlivý kontakt */
.hp-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hp-contact img {
    height: 26px;
}

.hp-contact-main {
    font-size: 14px;
    font-weight: 600;
}

.hp-contact-main a {
    color: #239ceb;
    text-decoration: underline;
}

.hp-contact-note {
    font-size: 11px;
    color: #777;
}

/* ===================== MOBIL ===================== */

/* Skrytí topbaru na mobilech */
@media (max-width: 768px) {
    .hp-topbar {
        display: none;
    }
}

/* ==========================================================================
   4. HOMEPAGE – HERO + BENEFITY + FIRMA V ČÍSLECH
   ========================================================================== */

/* ===================== HERO SEKČE ===================== */
.hero-ms {
    background: #f7fbff;
    padding: 0 40px 50px;
    color: #000;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* CTA tlačítka */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary {
    background: #f1008d;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-secondary {
    color: #000000;
    font-weight: 600;
    text-decoration: underline;
    align-self: center;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
}

/* ===================== BENEFITY ===================== */
.benefits-ms {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 50px auto;
    gap: 24px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 220px; /* flexibilní šířka */
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin: -100px 0 30px;
    border: 1px solid #f1008d;
}

.benefit img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.benefit-text strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #007BAD;
    margin-bottom: 4px;
}

.benefit-text em {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    color: #666;
    font-style: normal;
}

.benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.15);
}

.benefit:hover img {
    transform: scale(1.05);
}

/* ===================== FIRMA V ČÍSLECH ===================== */
.firma-v-cislech {
    text-align: center;
    margin: 50px 0;
}

.firma-title {
    font-size: 36pt;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 16px;
}

.firma-subtitle {
    font-size: 18pt;
    color: #000;
    margin: 0;
}

/* ===================== MOBILNÍ VERZE ===================== */
@media (max-width: 768px) {

    .hero-ms {
        padding: 30px 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-cta {
        justify-content: center;
    }

    .cta-primary {
        padding: 14px 26px;
        font-size: 15px;
    }

    .hero-image img {
        border-radius: 18px;
    }

    /* BENEFITY */
    .benefits-ms {
        margin: 30px auto;
        gap: 16px;
    }

    .benefit {
        margin: 0;
        flex: 1 1 100%;
        padding: 14px 16px;
    }

    .benefit img {
        width: 60px;
        height: 60px;
    }

    .benefit-text strong {
        font-size: 15px;
    }

    .benefit-text em {
        font-size: 13px;
    }
}

/* ==========================================================================
   4. HOMEPAGE – PŘÍBĚH
   ========================================================================== */

/* Kontejner sekce příběhu */
.hp-story {
    background: #f7fbff;
    padding: 80px 40px;
}

.hp-story-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

/* Textová část */
.hp-story-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: #000;
    margin-bottom: 25px;
}

.hp-story-text p {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #000;
    margin-bottom: 16px;
}

.hp-story-text a {
    color: #FFF;
    text-decoration: underline;
}

.hp-story-heart {
    font-weight: 600;
}

/* CTA tlačítko */
.hp-story-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background: #e5005b;
    color: #000;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hp-story-cta:hover {
    background: #c4004f;
    transform: translateY(-2px);
}

/* Obrázek */
.hp-story-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* ===================== MOBILNÍ VERZE ===================== */
@media (max-width: 768px) {
    .hp-story-inner {
        grid-template-columns: 1fr;
    }

    .hp-story {
        padding: 50px 20px;
    }
}

/* ==========================================================================
   5. KATEGORIE – VIDEO, TŘÍSLOUPCOVÝ GRID, PODKATEGORIE, LUXUSNÍ POPIS
   ========================================================================== */

/* Luxusní video */
.lux-video {
    margin: 32px 0 48px;
    display: flex;
    justify-content: center;
}

.lux-video-inner {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.lux-video-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Třísloupcový grid */
.three-column-intro-wrapper,
.lux-highlight {
    background: #f7fbff;
    padding: 50px 60px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.three-column-intro-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.three-column-intro {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
    padding: 0 20px;
}

.tci-block img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .three-column-intro {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
}

/* Podtržení nadpisů */
.heading-underline {
    position: relative;
}

.heading-underline > h1,
.heading-underline > h2,
.heading-underline > h3,
.heading-underline > h4 {
    position: relative;
    margin-bottom: 20px;
}

.heading-underline > h1::after,
.heading-underline > h2::after,
.heading-underline > h3::after,
.heading-underline > h4::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 12px;
    background: #f1008d;
    border-radius: 2px;
}

/* Texty třísloupcového gridu */
.tci-left h2,
.tci-right h2,
.category-bottom-luxury h2 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    position: relative;
}

.tci-left p,
.tci-right ul li {
    font-size: 1.5rem;
    line-height: 1.55;
    color: #000;
    margin-bottom: 10px;
}

.tci-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tci-right ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.tci-right ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #4CAF50;
    font-size: 1.6rem;
    line-height: 1.4;
}

/* Podkategorie */
.subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 317.5px);
    justify-content: start;
    gap: 24px;
    margin: -40px 0 30px;
    position: relative;
    z-index: 1;
}

.subcategory-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    height: 86px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #f1008d;
    text-decoration: none;
    color: #000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 2;
}

.subcategory-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.subcategory-img {
    width: 86px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.subcategory-text {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    flex-grow: 1;
}

.subcategory-box::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #e0007b;
    border-right: 2px solid #e0007b;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.subcategory-box:hover::after {
    transform: translateY(-40%) rotate(135deg);
}

/* Luxusní dolní popis */
.category-bottom-luxury {
    max-width: 1100px;
    margin: 100px auto;
    padding: 0 24px;
    font-size: 1.6rem;
    line-height: 1.75;
    color: #000;
}

.lux-section {
    margin-bottom: 80px;
}

.category-bottom-luxury h3 {
    font-size: 2rem;
    margin: 32px 0 12px;
    font-weight: 600;
    color: #000;
}

.category-bottom-luxury p {
    margin-bottom: 18px;
}

.category-bottom-luxury p strong {
    color: #000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .category-bottom-luxury {
        margin: 60px auto;
        font-size: 1.5rem;
    }

    .lux-highlight {
        padding: 32px 24px;
    }

    .category-bottom-luxury h2 {
        font-size: 2.1rem;
    }
}

/* ==========================================================================
   5. KATEGORIE – SKRYTÍ PRVKŮ
   Čištění layoutu kategorie
   ========================================================================== */

/* Filtry a nadpis kategorie */
#filters,
.filters-wrapper,
h1.category-title {
    display: none;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – Nadpis a štítky
   ========================================================================== */

/* Hlavní nadpis produktu */
.p-detail-inner-header h1 {
    font-size: 2.7rem;       /* stejně jako h2 u kategorií */
    font-weight: 700;        /* tučný text */
    color: #000;             /* černá barva textu */
    position: relative;      /* pro případ pseudo-element podtržení */
    margin-bottom: 4px;      /* mezera pod nadpisem */
}

/* Štítek dostupnosti produktu */
.availability-label {
    position: relative;
    top: -15px;             /* posune štítek mírně nahoru */
    display: block;
}

/* Doplňující informace k produktu */
.product-appendix {
    display: inline-block;
    background-color: #fef2f2;  /* jemný červený podklad */
    color: #b91c1c;             /* tmavší červená pro text */
    font-weight: 600;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – Claimy a úvodní text
   ========================================================================== */

/* Hlavní claim produktu */
.product-claim {
    margin: 0;
    font-size: 20pt;
    font-weight: 700;
    line-height: 1.25;
    color: #111827; /* tmavá, ale ne černá */
}

/* Podtitul claimu */
.product-claim-sub {
    display: block;
    margin-top: 4px;
    font-size: 12pt;
    font-weight: 400;
    font-style: italic;
    color: #6b7280;
}

/* Úvodní text produktu */
.product-intro {
    font-size: 12.5pt;
    line-height: 1.4;
    color: #374151;
    margin: 0 0 30px 0;
}

/* Nadpis mediálních bloků */
.media-heading {
    font-size: 18pt;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – Seznam vlastností
   ========================================================================== */

/* Seznam vlastností produktu */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 12pt;
    line-height: 1.3;
    color: #374151;
}

/* Ikonka před každou vlastností */
.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #239ceb; /* modrá ikona */
    font-weight: 700;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – VARIANTY PRODUKTU
   Styling pokročilých parametrů (radio varianty)
   ========================================================================== */

/* Hlavičky tabulky variant */
.variant-list th {
    color: #000 !important;
    font-size: 18px !important;
    font-weight: 600;
}

/* Skrytí původního vnitřního wrapperu Shoptetu */
.advanced-parameter-inner {
    display: none !important;
}

/* Label varianty (klikací box) */
label.advanced-parameter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 40px;
    padding: 8px 16px;
    margin: 8px;

    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #000;

    background-color: #fff;
    border: 1px solid #000;
    border-radius: 8px;

    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

/* Hover stav */
label.advanced-parameter:hover {
    background-color: #f0f0f0;
    border-color: #999;
}

/* Aktivní (vybraná) varianta */
label.advanced-parameter:has(input[type="radio"]:checked) {
    background-color: #e0007b;
    color: #fff;
    font-weight: bold;
    border-color: #7fa91d;
}

/* Text hodnoty parametru */
label.advanced-parameter .parameter-value {
    display: inline-block;
    z-index: 1;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – IKONY DETAIL / KONTAKT
   ========================================================================== */

/* Kontejner ikon / kontaktů */
.ikony_detail {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    text-align: center;
    padding: 16px;
}

/* Jednotlivá ikona / box kontaktu */
.kontakt_box {
    flex: 1 1 250px;
    max-width: 300px;
    min-width: 200px;
}

/* Obrázek ikony v boxu */
.kontakt_box img {
    float: left;
    margin-right: 10px;
    width: auto;
    height: 70px;
}

/* Textová část boxu */
.kontakt_text {
    font-size: 10pt;
    color: #000;
    text-align: center;
}

/* Zvýraznění / nadpis textu */
.kontakt_text strong {
    font-size: 14pt;
    display: block;
}

/* Italic poznámky */
.kontakt_text em {
    display: block;
    font-style: italic;
    text-align: center;
}

/* ==========================================================================
   6. DETAIL PRODUKTU – PRODUCT INFO, CARE GRID, MEDIA BLOCK
   ========================================================================== */

/* Kontejner pro produktové karty */
.product-info-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Jednotlivá karta produktu */
.product-card {
    flex: 1 1 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Nadpis karty produktu */
.product-card h4 {
    font-size: 20pt;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
}

/* Tabulka parametrů produktu */
.product-parameters {
    width: 100%;
    border-collapse: collapse;
}

/* Buňky tabulky */
.product-parameters th,
.product-parameters td {
    padding: 8px 0;
    font-size: 13pt;
    color: #000;
    text-align: left;
}

/* Hlavičky tabulky */
.product-parameters th {
    width: 40%;
    font-weight: 600;
}

/* Odkazy v tabulce */
.product-parameters td a {
    color: #5e72e4;
    text-decoration: none;
}

/* Grid pro péči o produkt / care items */
.care-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

/* Jednotlivá položka péče */
.care-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Ikona péče */
.care-item img {
    width: 50px;
    height: 50px;
}

/* Text péče */
.care-item p {
    font-size: 13pt;
    color: #000;
    margin: 0;
}

/* ==========================================================================
   MEDIA BLOCK – video a obrázky
   ========================================================================== */

/* Kontejner media bloků */
.media-block {
    max-width: 1200px;
    margin: 0 auto 64px auto;
    padding: 0 16px;
}

/* Media wrapper – text + obrázek/video */
.media {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

/* Reverzní směr (pro změnu pořadí) */
.media.reverse {
    flex-direction: row-reverse;
}

/* Levá a pravá část media bloku */
.media-left,
.media-right {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
}

/* Video wrapper s poměrem stran 16:9 */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blok tří obrázků */
.three-images {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.three-images img {
    width: 100%;
    max-width: 130px;
    border-radius: 12px;
}

/* RESPONSIVE pro media bloky */
@media (max-width: 768px) {
    .media {
        flex-direction: column;
    }

    .three-images {
        justify-content: center;
    }
}

/* ==========================================================================
   6. DETAIL PRODUKTU – RECENZE / REVIEWS
   ========================================================================== */

/* Grid recenzí */
.custom-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Jednotlivá recenze */
.review {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform 0.2s ease;
}

/* Hover efekt – mírný posun nahoru */
.review:hover {
    transform: translateY(-4px);
}

/* Hvězdičky hodnocení */
.stars {
    color: #f1c40f;
    font-size: 2.5rem;
    margin-bottom: 1.9rem;
}

/* Text recenze */
.text {
    font-size: 1.3rem;
    font-style: italic;
    color: #000;
    flex-grow: 1;
    line-height: 1.5;
    quotes: "„" "“";
}

/* Otevírací a zavírací uvozovky */
.text::before {
    content: open-quote;
}

.text::after {
    content: close-quote;
}

/* Autor recenze */
.author {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    margin-top: 1rem;
    text-align: right;
}

/* ==========================================================================
   7. KOŠÍK & CHECKOUT – CENA A TLAČÍTKO
   Úprava rozložení ceny a skrytí nadpisu v souhrnu košíku
   ========================================================================== */

/* Flex layout pro cenu a tlačítko v košíku */
.flex-price-cart {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Skrytí nadpisu v souhrnu košíku */
.cart-summary h4 {
    display: none;
}

/* ==========================================================================
   8. MEDIA & OBSAH – S_RIGHTIMG / REFERENCES
   ========================================================================== */

/* Layout obrázek + text */
.s_rightImg {
    display: flex;
    column-gap: 68px;
}

.rightImg_img img {
    max-width: 400px;
    border-radius: 2.285rem;
}

.rightImg_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Utility třídy */
.margin_buttom {
    margin-bottom: 68px;
}

.flex-reverse {
    flex-direction: row-reverse;
}

/* References / klienti */
.references_row {
    display: flex;
    column-gap: 36px;
}

.reference {
    flex-basis: 25%;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 18px;
}

.reference img {
    max-width: 88px;
    margin-left: auto;
    margin-right: auto;
}

.reference_title {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}

/* =========================
   MEDIA QUERIES – RESPONSIVE ÚPRAVY
   ========================= */
@media (max-width: 992px) {
    .rightImg_img img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .references_row {
        column-gap: 24px;
        display: block;
    }

    .s_rightImg {
        column-gap: 32px;
        display: block;
    }

    .rightImg_img {
        display: flex;
        justify-content: center;
    }
}

/* ==========================================================================
   9. RESPONSIVE – ROZŠÍŘENÍ KONTEJNERU (DESKTOP)
   Širší layout pro obrazovky ≥ 1200 px
   ========================================================================== */

@media (min-width: 1200px) {
    .container {
        width: 1418px;
    }
}
