/* === Globální Styly pro Vylepšený Popis Produktu === */

/* --- Základní Proměnné (můžete upravit globálně) --- */
:root {
    /* Hlavní barva značky (např. pro Dračí Krev nebo obecná) */
    --enhanced-desc-brand-color: #8A0303; /* Tmavší, sytá červená */
    --enhanced-desc-accent-bg-light: #fff5f5; /* Světlejší podkres pro boxíky */
    --enhanced-desc-accent-border: #f5c6cb; /* Border pro notice */
    --enhanced-desc-accent-text-dark: #721c24; /* Text v notice */
    --enhanced-desc-usage-bg: #fffaf0; /* Pozadí pro sekci Použití */
    --enhanced-desc-usage-border: #ffeeba; /* Border pro sekci Použití */
    --enhanced-desc-usage-text: #856404; /* Text v sekci Použití */
    --enhanced-desc-text-color: #333;
    --enhanced-desc-heading-color: #222;
    --enhanced-desc-secondary-text-color: #555;
    --enhanced-desc-border-color: #e0e0e0;
    --enhanced-desc-success-color: #155724; /* Zelená pro ujištění */
    --enhanced-desc-success-bg: #d4edda;
    --enhanced-desc-success-border: #c3e6cb;
}

/* --- Hlavní Kontejner Popisu --- */
.product-description-enhanced {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    padding: 20px;
    color: var(--enhanced-desc-text-color);
    border: 1px solid var(--enhanced-desc-border-color);
    border-radius: 10px;
    background-color: #fff;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    overflow: hidden;
}

/* --- Boxík Nahoře (Klíčové složky/vlastnosti) --- */
.product-description-enhanced .key-features-box {
    background-color: var(--enhanced-desc-accent-bg-light);
    border: 1px solid var(--enhanced-desc-brand-color);
    border-left: 5px solid var(--enhanced-desc-brand-color);
    padding: 8px 12px;
    margin: 0.5em 0 1.2em 0;
    border-radius: 5px;
    font-size: 0.95em;
    text-align: center;
}
.product-description-enhanced .key-features-box strong {
   color: var(--enhanced-desc-brand-color);
   font-weight: 600;
   margin-right: 8px;
}
.product-description-enhanced .key-features-box span { /* Oddělovače */
    margin: 0 5px;
    opacity: 0.6;
}

/* --- Nadpisy (H1, H2, H3) --- */
.product-description-enhanced h1,
.product-description-enhanced h2,
.product-description-enhanced h3 {
    margin-top: 0.8em;
    margin-bottom: 0.5em;
    line-height: 1.3;
    color: var(--enhanced-desc-heading-color);
    display: flex;
    align-items: center;
}
.product-description-enhanced h1 { /* Pokud by byl H1 použit */
    margin-top: 0; margin-bottom: 0.8em; font-size: 1.8em; text-align: center; display: block;
}
.product-description-enhanced h2 {
     font-size: 1.35em;
     border-bottom: 1px solid #eee;
     padding-bottom: 0.3em;
     margin-top: 1.2em; /* Výchozí horní mezera pro H2 */
}
/* První H2 v bloku má menší horní okraj */
.product-description-enhanced > section:first-of-type > h2 {
    margin-top: 0.8em;
}
.product-description-enhanced h3 {
     font-size: 1.1em;
     margin-top: 1em;
     border-bottom: none;
     padding-bottom: 0;
}
/* Ikona u nadpisu */
.product-description-enhanced .h-icon {
   margin-right: 8px;
   font-size: 1.1em;
   color: var(--enhanced-desc-brand-color); /* Výchozí barva ikony */
   flex-shrink: 0;
}

/* --- Sekce pro druhou bylinu (obecná) --- */
.product-description-enhanced .herb-section h2 {
    color: var(--enhanced-desc-secondary-herb-color, var(--enhanced-desc-heading-color));
 }
.product-description-enhanced .herb-section .h-icon {
    color: var(--enhanced-desc-secondary-herb-color, var(--enhanced-desc-brand-color));
 }
.product-description-enhanced .herb-highlight {
    color: var(--enhanced-desc-secondary-herb-color, var(--enhanced-desc-brand-color));
    font-weight: 600;
}

/* --- Modifier třídy pro barvy druhé byliny --- */
.product-description-enhanced .herb--color-green {
    --enhanced-desc-secondary-herb-color: #4CAF50;
}
.product-description-enhanced .herb--color-purple {
    --enhanced-desc-secondary-herb-color: #8E44AD;
}
.product-description-enhanced .herb--color-brown {
    --enhanced-desc-secondary-herb-color: #5D4037;
}
.product-description-enhanced .herb--color-orange {
    --enhanced-desc-secondary-herb-color: #FF9800; /* Oranžová barva */
}
.product-description-enhanced .herb--color-blue {
    --enhanced-desc-secondary-herb-color: #2196F3; /* Modrá barva (pro květy Šišáku) */
}
.product-description-enhanced .herb--color-yellow {
    --enhanced-desc-secondary-herb-color: #FFC107; /* Žlutá barva (pro květy Zlatobýlu) */
}
.product-description-enhanced .herb--color-red {
    --enhanced-desc-secondary-herb-color: #B71C1C; /* Tmavá, ohnivá červená (např. pro Chilli) */
}
/* Zde můžete přidat další barvy */

/* --- Odstavce a obecné zvýraznění --- */
.product-description-enhanced p {
    margin-bottom: 0.8em;
}
.product-description-enhanced strong { /* Výchozí strong má barvu značky */
    color: var(--enhanced-desc-brand-color);
    font-weight: 600;
}
.product-description-enhanced .italic { /* Kurzíva pro latinské názvy */
    font-style: italic;
}

/* --- Sekce Důležité Informace (Legislativa) --- */
.product-description-enhanced .info-notice-section {
    background-color: var(--enhanced-desc-accent-bg-light);
    border: 1px solid var(--enhanced-desc-accent-border);
    border-left: 4px solid var(--enhanced-desc-brand-color);
    padding: 1px 15px 15px 15px;
    margin-top: 1.2em;
    margin-bottom: 1.5em;
    border-radius: 0 5px 5px 0;
}
.product-description-enhanced .info-notice-section h2 {
   border-bottom: none;
   margin-top: 0.8em; /* Menší mezera nad tímto specifickým H2 */
   padding-bottom: 0;
   color: var(--enhanced-desc-accent-text-dark);
}
.product-description-enhanced .info-notice-section .h-icon {
     color: var(--enhanced-desc-brand-color);
}
.product-description-enhanced .legal-explanation {
     font-size: 0.9em;
     color: var(--enhanced-desc-secondary-text-color);
     margin-top: 1em;
     margin-bottom: 1em;
     line-height: 1.5;
}
.product-description-enhanced .legal-explanation strong {
     color: var(--enhanced-desc-heading-color);
     font-weight: 600;
}
.product-description-enhanced .external-info-prompt {
    font-size: 0.88em;
    font-style: italic;
    color: #666;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    padding: 10px 15px;
    background-color: #ffffff;
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    border-radius: 3px;
}
.product-description-enhanced .external-info-prompt strong {
     color: var(--enhanced-desc-secondary-text-color);
     font-weight: 600;
     font-style: normal;
}
.product-description-enhanced .quality-reassurance {
    font-weight: 600;
    color: var(--enhanced-desc-success-color);
    background-color: var(--enhanced-desc-success-bg);
    padding: 12px 18px;
    border-radius: 4px;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1rem;
    border: 1px solid var(--enhanced-desc-success-border);
}
.product-description-enhanced .quality-reassurance strong {
     color: var(--enhanced-desc-success-color);
     font-weight: 600;
}

/* --- Sekce Použití --- */
.product-description-enhanced .usage-section {
    background-color: var(--enhanced-desc-usage-bg);
    padding: 15px 20px;
    border: 1px solid var(--enhanced-desc-usage-border);
    border-radius: 8px;
    margin-top: 1.5em; /* Standardní mezera nad sekcí */
    margin-bottom: 1.5em; /* Přidána mezera i pod sekcí použití */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.product-description-enhanced .usage-section h2 {
     margin-top: 0.2em; /* Malá mezera nad H2 uvnitř boxu */
     border-bottom: none;
     padding-bottom: 0;
     color: var(--enhanced-desc-usage-text);
}
.product-description-enhanced .usage-section .h-icon {
    color: var(--enhanced-desc-usage-text);
}

/* --- Seznamy (UL, LI) --- */
.product-description-enhanced ul {
    padding-left: 5px;
    margin-top: 0.8em;
    list-style: none;
}
.product-description-enhanced li {
    margin-bottom: 0.5em;
    padding-left: 25px;
    position: relative;
}
/* Výchozí odrážka - bude přepsána v HTML nebo specifickou třídou sekce */
.product-description-enhanced li::before {
    content: '•';
    color: var(--enhanced-desc-brand-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0px;
    line-height: 1.6;
}
/* Odrážky v sekci Upozornění */
.product-description-enhanced .warning-section li::before {
      content: '⚠️';
      color: inherit;
      font-size: 1em;
      top: 2px;
      line-height: normal;
}
/* Odrážky v sekci Použití */
.product-description-enhanced .usage-section li::before {
      content: '›';
      color: var(--enhanced-desc-usage-text);
      font-size: 1.5em;
      top: -1px;
      line-height: 1;
}
/* Odrážky v sekci Vlastnosti */
.product-description-enhanced .properties-section li::before {
      content: '💧';
      color: var(--enhanced-desc-brand-color);
      font-size: 1em;
      top: 2px;
      line-height: normal;
}

/* --- Ostatní sekce (Skladování, Upozornění) --- */
/* ZVĚTŠENÍ MEZERY NAD SEKCEmi PŘIDÁNÍM PADDING-TOP */
.product-description-enhanced .storage-section,
.product-description-enhanced .warning-section {
    padding-top: 0.1em; /* <<< ZMĚNA ZDE: Přidán horní padding k sekci */
    /* Můžete upravit hodnotu (např. 1em, 2em) podle vizuální potřeby */
}
/* Resetujeme margin-top pro H2 uvnitř těchto sekcí na standardní hodnotu */
.product-description-enhanced .storage-section h2,
.product-description-enhanced .warning-section h2 {
    margin-top: 0.8em; /* Reset na menší hodnotu, protože odsazení dělá padding sekce */
    /* Dědí ostatní styly z obecného H2 */
}

/* =================================================================== */
/*  1. IMPORT FONTU - ZÁKLAD VIZUÁLNÍ IDENTITY                        */
/* =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700&display=swap');


/* =================================================================== */
/*  2. ZÁKLADNÍ STYLY PRO POPISY KATEGORIÍ (PREMIUM VZHLED)          */
/* =================================================================== */

/* Hlavní kontejner pro všechny prémiové popisy */
.premium-description {
    font-family: 'Nunito Sans', sans-serif !important;
    color: #333 !important;
    line-height: 1.7 !important;
}

/* Cílené přepsání fontu pro všechny relevantní elementy uvnitř kontejneru */
.premium-description h1,
.premium-description h2,
.premium-description h3,
.premium-description h4,
.premium-description p,
.premium-description ul,
.premium-description li,
.premium-description a,
.premium-description span,
.premium-description strong,
.premium-description div,
.premium-description button {
    font-family: 'Nunito Sans', sans-serif !important;
}

/* Stylování hlavních nadpisů H2 */
.premium-description h2 {
    font-size: 1.8em !important;
    font-weight: 700 !important;
    color: #7cc04b !important;
    margin-bottom: 15px !important;
    margin-top: 40px !important;
}

/* Stylování seznamů s "fajfkami" */
.premium-description ul {
    list-style: none !important;
    padding-left: 0 !important;
}
.premium-description ul li {
    padding-left: 30px !important;
    position: relative !important;
    margin-bottom: 10px !important;
}
.premium-description ul li::before {
    content: '✔️' !important;
    color: #7cc04b !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    font-size: 1.1em !important;
}


/* =================================================================== */
/*  3. KOMPONENTY PRO POPISY KATEGORIÍ                               */
/* =================================================================== */

/* --- Ikony benefitů (Trust Badges) --- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 15px 0;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em !important;
    font-weight: 600 !important;
    color: #555 !important;
}
.badge-icon {
    font-size: 1.5em;
    color: #7cc04b;
}

/* --- Karty podkategorií (Care Cards) - VYLEPŠENO PRO ZAROVNÁNÍ --- */
.care-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.care-card {
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    background-color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
    
    /* === NOVÉ VLASTNOSTI PRO ZAROVNÁNÍ TLAČÍTEK === */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.care-card:hover {
    transform: translateY(-px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.care-card .icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 15px;
    color: #7cc04b;
}
.care-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em !important;
}
.care-card p {
    color: #666 !important;
    font-size: 0.95em !important;
    flex-grow: 1; /* === NOVÁ VLASTNOST - Popisek se natáhne, aby vyplnil místo === */
}
.care-card .cta-button {
    display: inline-block;
    background-color: #7cc04b;
    color: #ffffff !important;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold !important;
    margin-top: 15px;
    transition: background-color 0.3s;
}
.care-card .cta-button:hover {
    background-color: #6ba941;
}

/* --- Rozbalovací FAQ sekce (Accordion) --- */
/* (Tato část zůstává beze změny) */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #e0e0f0;
}
.faq-item {
    border-bottom: 1px solid #e0e0f0;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 10px;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: #333 !important;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
}
.faq-question:hover {
    background-color: #f9f9f9;
}
.faq-question .faq-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    margin-left: 20px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    transition: transform 0.3s ease-out;
}
.faq-question.active .faq-icon {
    transform: rotate(225deg);
    margin-top: -8px;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 15px;
    background-color: #fafafa;
}
.faq-answer p {
    padding: 20px 0;
    margin: 0;
    color: #555 !important;
    line-height: 1.6 !important;
    border-top: 1px dashed #e0e0f0;
}

/* --- FAQ Styles (Optimized) --- */
#faqpage {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 30px 0; 
}

#faqpage .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

#faqpage .faq-header {
    text-align: center;
    margin-bottom: 40px;
}

#faqpage .faq-header h2 {
    color: #2c3e50;
    margin: 0 0 10px;
    font-size: 2.2em;
    font-weight: 600;
}
#faqpage .faq-header p {
    color: #555;
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 20px;
}

#faqpage .faq-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

#faqpage .faq-search {
    flex-grow: 1;
    margin-right: 15px;
    position: relative; 
}

#faqpage .faq-search input[type="search"] {
    width: 100%; /* Na desktopu necháme 100% a omezíme pomocí max-width */
    max-width: 500px; /* Omezení maximální šířky na desktopu */
    padding: 12px 15px 12px 40px; 
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Přidáno pro konzistenci */
}
#faqpage .faq-search .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    fill: #aaa;
    pointer-events: none; 
}

#faqpage .faq-search input[type="search"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: none;
}
#faqpage .faq-search input[type="search"]:focus + .search-icon {
    fill: #007bff;
}

#faqpage .faq-toggle-buttons button {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-left: 10px;
    display: inline-flex; 
    align-items: center;
    gap: 6px; 
}
#faqpage .faq-toggle-buttons button svg { 
    width: 16px;
    height: 16px;
    fill: currentColor;
}
#faqpage .faq-toggle-buttons button:hover {
    background-color: #d3d9df;
}

#faqpage .faq-section {
    margin-bottom: 30px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

#faqpage .faq-section-title {
    font-size: 1.6em;
    color: #343a40;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

#faqpage .top-questions .faq-section-title {
    color: #007bff; 
}

#faqpage .faq-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden; 
    background-color: #fff;
}

#faqpage .faq-item.top-question-item {
    border-left: 4px solid #007bff;
}

#faqpage .faq-item summary {
    font-weight: 600;
    font-size: 1.1em;
    padding: 15px 20px;
    cursor: pointer;
    outline: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
    position: relative; 
}
#faqpage .faq-item summary:focus-visible { 
    outline: 2px solid #007bff;
    outline-offset: 2px;
}
#faqpage .faq-item summary .question-text {
    flex-grow: 1; 
    margin-right: 10px; 
}
#faqpage .faq-item summary .summary-icons {
    display: flex;
    align-items: center;
    gap: 10px; 
}

#faqpage .faq-item summary .link-icon {
    width: 18px;
    height: 18px;
    fill: #adb5bd; 
    cursor: pointer;
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
    transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s, fill 0.2s ease-in-out, transform 0.2s ease-in-out;
}

#faqpage .faq-item summary:hover .link-icon,
#faqpage .faq-item[open] summary .link-icon {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; 
    transition-delay: 0s; 
}

#faqpage .faq-item summary:not([open]):hover .link-icon {
    fill: #868e96; 
}

#faqpage .faq-item summary:not([open]):hover .link-icon:hover { 
    fill: #007bff; 
    transform: scale(1.15); 
}

#faqpage .faq-item[open] summary .link-icon {
    fill: #0056b3; 
}
#faqpage .faq-item[open] summary .link-icon:hover { 
    fill: #004085; 
    transform: scale(1.1); 
}

#faqpage .faq-item summary:hover { 
    background-color: #f1f1f1;
}

#faqpage .faq-item summary::marker,
#faqpage .faq-item summary::-webkit-details-marker { 
    display: none;
}

#faqpage .faq-item summary .icon-toggle { 
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease-in-out;
    fill: #007bff; 
}

#faqpage .faq-item[open] summary .icon-toggle {
    transform: rotate(180deg);
}

#faqpage .faq-item[open] summary { 
    background-color: #e9ecef;
    color: #0056b3; 
    border-bottom: 1px solid #ddd;
}
#faqpage .faq-item[open] summary .icon-toggle { 
    fill: #0056b3; 
}

#faqpage .faq-answer {
    padding: 0; 
    background-color: #fff;
    font-size: 1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out;
}
#faqpage .faq-item[open] .faq-answer {
    max-height: 1000px; 
    padding: 15px 20px; 
}

#faqpage .faq-answer p:first-child { margin-top: 0; }
#faqpage .faq-answer p:last-child { margin-bottom: 0; }
#faqpage .faq-answer ul { padding-left: 20px; margin-top: 10px; margin-bottom: 10px; }
#faqpage .faq-answer li { margin-bottom: 5px; }
#faqpage .faq-answer img { max-width: 100%; height: auto; margin-top: 10px; border-radius: 4px; border: 1px solid #eee; }
#faqpage .faq-answer a { color: #007bff; text-decoration: none; }
#faqpage .faq-answer a:hover { text-decoration: underline; }

#faqpage .faq-contact {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background-color: #e9f5ff;
    border: 1px solid #bce8f1;
    border-radius: 8px;
}

#faqpage .faq-contact h3 {
    margin: 0 0 15px;
    color: #0056b3;
    font-size: 1.5em;
    font-weight: 500;
    display: flex; 
    align-items: center;
    justify-content: center;
    gap: 10px; 
}
#faqpage .faq-contact h3 .contact-icon {
    width: 24px;
    height: 24px;
    fill: #0056b3;
}

#faqpage .no-results {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #777;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 20px;
}

#faqpage .copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; 
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10000; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    pointer-events: none; 
}
#faqpage .copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px); 
}

@media (max-width: 768px) {
    #faqpage { padding: 20px 0; }
    #faqpage .faq-header h2 { font-size: 1.9em; }
    #faqpage .faq-header p { font-size: 1em; }
    
    #faqpage .faq-controls { 
        flex-direction: column; 
        gap: 15px; 
    }
    #faqpage .faq-search { 
        margin-right: 0; 
        width:100%; /* Rodič inputu zabere celou šířku */
    }
    /* === ZMĚNA ZDE === */
    #faqpage .faq-search input[type="search"] {
        width: 100%; /* Input se roztáhne na šířku rodiče .faq-search */
        max-width: none; /* Zrušíme max-width z desktopu */
        /* box-sizing: border-box; je již nastaveno globálně pro input, ale pro jistotu můžeme nechat */
    }
    /* === KONEC ZMĚNY === */

    #faqpage .faq-toggle-buttons { 
        width: 100%; 
        display: flex; 
        justify-content: space-between; 
        gap: 10px; 
    }
    #faqpage .faq-toggle-buttons button { 
        flex-grow: 1; 
        margin-left: 0; 
    }
    
    #faqpage .faq-section { padding: 15px; }
    #faqpage .faq-section-title { font-size: 1.4em; }
    #faqpage .faq-item summary { font-size: 1em; padding: 12px 15px; }
    #faqpage .faq-item summary .question-text { font-size: 0.95em;  }
    #faqpage .faq-item[open] .faq-answer { padding: 12px 15px; }
    #faqpage .faq-answer { font-size: 0.95em; }
    #faqpage .faq-contact h3 { font-size: 1.3em; }
    #faqpage .faq-contact h3 .contact-icon { width: 20px; height: 20px; }
}

/* --- MODERNÍ GLOBÁLNÍ STYLY v4 (FULL-WIDTH) - FINÁLNÍ OPRAVA --- */
:root {
    --pd-primary: #2a6f2c;
    --pd-primary-dark: #1e4d20;
    --pd-secondary: #6e9c45;
    --pd-light-bg: #f8f9fa;
    --pd-container-bg: #ffffff;
    --pd-border: #e5e7eb;
    --pd-text-primary: #111827;
    --pd-text-secondary: #374151;
    --pd-warning-bg: #fffbeb;
    --pd-warning-border: #facc15;
    --pd-info-bg: #eff6ff;
    --pd-info-border: #60a5fa;
    --pd-success: #10b981;
    --pd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --pd-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --pd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

.pd-container {
    line-height: 1.7;
    color: var(--pd-text-primary);
    font-size: 16px;
    padding: 40px 30px;
}

/* --- TYPOGRAFIE A ZÁKLADNÍ PRVKY --- */
.pd-container p, .pd-container li span {
    color: var(--pd-text-secondary);
}
.pd-container strong {
    color: var(--pd-text-primary);
    font-weight: 600;
}
.pd-container em {
    font-style: italic;
}

/* --- ÚVODNÍ BOX --- */
.pd-intro-box {
    background-color: var(--pd-light-bg);
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin: 30px 0;
    border: 1px solid var(--pd-border);
}

.pd-intro-box p:first-child {
    margin-top: 0;
}
.pd-intro-box p:last-child {
    margin-bottom: 0;
}

/* --- NADPISY SEKCÍ --- */
.pd-section-heading {
    font-size: 2em;
    color: var(--pd-primary);
    margin-top: 60px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--pd-border);
}
.pd-heading-icon {
    width: 36px;
    height: 36px;
    color: var(--pd-primary);
    flex-shrink: 0;
}

/* --- SEZNAMY S IKONAMI (INFO & VAROVÁNÍ) --- */
.pd-info-list,
.pd-warning-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pd-info-list li,
.pd-warning-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    line-height: 1.6;
}
.pd-list-icon-base {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 3px;
}
.pd-list-icon {
    color: var(--pd-success);
}
.pd-warning-icon {
    color: #ef4444;
}

/* --- TABULKA VLASTNOSTÍ (PŘEPRACOVÁNO) --- */
.pd-feature-list-wrapper {
    margin-top: 20px;
    border: 1px solid var(--pd-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--pd-shadow-sm);
}
.pd-feature-table {
    width: 100%;
    border-collapse: collapse;
}
.pd-feature-table th, 
.pd-feature-table td {
    padding: 25px;
    text-align: left;
    vertical-align: top;
}
.pd-feature-table thead th {
    background-color: var(--pd-light-bg);
    font-weight: 600;
    color: var(--pd-text-primary);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 15px;
    padding-bottom: 15px;
    white-space: normal !important; /* Vynutí zalamování textu */
    vertical-align: middle !important; /* Vynutí vertikální zarovnání */
}
.pd-feature-table tbody td {
    border-top: 1px solid var(--pd-border);
}
.pd-feature-table .ingredient-col {
    width: 40%;
}
.pd-feature-table .benefit-col {
    width: 60%;
}
.pd-feature-table .ingredient {
    font-weight: 700;
    font-size: 1.15em;
    color: var(--pd-primary-dark);
    font-style: normal;
}
.pd-feature-table .claim-text {
    margin: 4px 0 0 0;
    font-size: 0.85em;
    color: var(--pd-text-secondary);
    line-height: 1.4;
}
.pd-feature-table .benefit p {
    margin: 0;
    font-size: 1em;
}

/* New style for smaller text in table header */
.pd-feature-table .small-header-text {
    font-size: 0.8em; /* Adjust as needed for desired size difference */
    font-weight: 500; /* Slightly lighter weight for contrast */
    text-transform: none; /* Keep normal casing if desired */
    letter-spacing: normal;
}

/* --- INFORMAČNÍ BOXY (CITACE, BEZPEČNOST) --- */
.pd-quote-box, .pd-safety-box {
    padding: 25px;
    margin-top: 20px;
    border-radius: var(--border-radius-md);
    border-left-width: 5px;
    border-left-style: solid;
}
.pd-quote-box {
    background-color: var(--pd-info-bg);
    border-left-color: var(--pd-info-border);
}
.pd-safety-box {
    background-color: var(--pd-warning-bg);
    border-left-color: var(--pd-warning-border);
}
.pd-safety-box p {
    font-weight: 500;
    color: var(--pd-text-primary);
}

/* --- NOVÁ SEKCE UNIKÁTNOSTI (KARTY) --- */
.pd-unique-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}
.pd-unique-feature-card {
    background-color: var(--pd-light-bg);
    border: 1px solid var(--pd-border);
    padding: 25px;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.pd-unique-feature-card .unique-icon {
    width: 32px;
    height: 32px;
    color: var(--pd-primary);
}
.pd-unique-feature-card h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--pd-text-primary);
    font-weight: 600;
}
.pd-unique-feature-card p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
}

/* --- KARTY S DÁVKOVÁNÍM --- */
.pd-dosage-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.pd-dosage-step-card {
    background-color: var(--pd-container-bg);
    border: 1px solid var(--pd-border);
    border-top: 4px solid var(--pd-primary);
    border-radius: var(--border-radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--pd-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pd-dosage-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pd-shadow);
}
.pd-dosage-step-card .step-icon {
    width: 40px;
    height: 40px;
    color: var(--pd-primary);
    margin: 0 auto 20px auto;
}
.pd-dosage-step-card h3 {
    font-size: 1.15em;
    color: var(--pd-text-primary);
    margin: 0 0 10px 0;
    font-weight: 600;
}
.pd-dosage-step-card p {
    font-size: 0.95em;
    margin: 0;
    color: var(--pd-text-secondary);
}

/* --- RESPONZIVITA --- */
@media (max-width: 992px) {
    .pd-dosage-steps, .pd-unique-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .pd-container {
        font-size: 15px;
        padding: 20px 15px;
    }
    .pd-section-heading {
        font-size: 1.6em;
    }
    .pd-feature-table thead {
        display: none;
    }
    .pd-feature-table, 
    .pd-feature-table tbody, 
    .pd-feature-table tr, 
    .pd-feature-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .pd-feature-table tr {
        margin-bottom: 20px;
    }
    .pd-feature-table td {
        border: none;
        border-bottom: 1px solid var(--pd-border);
        position: relative;
        padding: 20px;
    }
    .pd-feature-table td:first-child {
        padding-bottom: 10px;
    }
    
    /* --- ZOBRAZENÍ HLAVIČEK TABULKY NA MOBILU --- */
    .pd-feature-table .ingredient-col::before,
    .pd-feature-table .benefit-col::before {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
        color: var(--pd-text-primary);
        font-size: 0.9em;
        text-transform: uppercase;
    }
    .pd-feature-table .ingredient-col::before {
        /* Toto je opravený text */
        content: 'Klíčová složka / Schválené zdravotní tvrzení:';
    }
    .pd-feature-table .benefit-col::before {
        content: 'Přínos pro Vás:';
    }
}
@media (max-width: 576px) {
    .pd-dosage-steps, .pd-unique-features-grid {
        grid-template-columns: 1fr;
    }
}
/* --- PŘEPÍNAČ PRO VETERINÁRNÍ TABULKY --- */
.pd-vet-table .small-header-text::before {
    content: 'Charakteristika'; /* Nový text pro desktop */
}
.pd-vet-table .small-header-text {
    font-size: 0; /* Skryje původní text "Schválené zdravotní tvrzení" */
}
@media (max-width: 768px) {
    .pd-vet-table .ingredient-col::before {
        content: 'Klíčová složka / Charakteristika:'; /* Nový text pro mobilní zobrazení */
    }
}