#faq{display:block;!important}
.faq-detail{text-align:center;padding-top:30px;padding-bottom:30px;width:100%;display:normal!important;}
.accordion-detail {background-color: #eee;color: #444;cursor: pointer;padding: 18px;width: 100%;border: 1px solid #1a1937;text-align: left;
outline: none;font-size: 16px;transition: 0.4s;border-radius:5px;margin-top:15px!important;font-weight:bold!important;}
.active-detail, .accordion-detail:hover {background-color: #ccc;}
.active-detail:after{content: "\2212";}
.accordion-detail:after {content: '\002B';color: #eb3e4a;font-weight: bold!important;float: right;margin-left: 5px;}
.panel-detail {padding: 0 18px;background-color: white;max-height: 0;overflow: hidden;transition: max-height 0.2s ease-out;}


/* ==========================================
   PROTECH ALARMS – HODNOCENÍ
   ========================================== */

/* VLASTNÍ BLOK BEZ HODNOCENÍ */

.pa-review-empty {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin: 25px 0;
    overflow: hidden;
}

.pa-review-column {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.pa-review-column + .pa-review-column {
    border-left: 1px solid #ededed;
}

.pa-review-icon {
    width: 52px;
    height: 52px;
    border: 1px solid #dedede;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #121f33;
}

.pa-review-icon svg {
    width: 24px;
    height: 24px;
}

.pa-review-column h3 {
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: #222;
    margin: 0 0 14px;
}

.pa-review-column p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 25px;
}

.pa-review-action {
    margin-top: auto;
}

/* TLAČÍTKO PŘIDAT PRVNÍ HODNOCENÍ */

.pa-review-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #121f33 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    min-height: 44px;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background .2s;
}

.pa-review-button:hover {
    background: #eb3e4a !important;
}

/* ODKAZ NA ODBORNÍKA */

.pa-review-link {
    display: inline-flex;
    color: #121f33 !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid #121f33;
    padding-bottom: 4px;
}

.pa-review-link:hover {
    color: #eb3e4a !important;
    border-color: #eb3e4a;
}

/* ==========================================
   FORMULÁŘ HODNOCENÍ
   ========================================== */

/* Ve výchozím stavu formulář skrýt */
.type-detail #ratingTab #rate-form {
    display: none !important;
}

/* Po kliknutí formulář zobrazit */
.type-detail #ratingTab.pa-form-open #rate-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Zobrazit rodičovské kontejnery */
.type-detail #ratingTab.pa-form-open .rate-wrapper {
    display: block !important;
    visibility: visible !important;
}

.type-detail #ratingTab.pa-form-open #ratingWrapper {
    display: block !important;
    visibility: visible !important;
}

/* Vzhled formuláře */
.type-detail #rate-form {
    width: 100% !important;
    max-width: 650px !important;
    margin: 30px auto !important;
    padding: 35px !important;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

/* Formulářová pole */
.type-detail #rate-form .form-group,
.type-detail #rate-form .form-row {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 18px;
}

.type-detail #rate-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.type-detail #rate-form textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    font-size: 15px;
    color: #121f33;
}

.type-detail #rate-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
    height: 56px !important;
    padding: 0 16px !important;
}

.type-detail #rate-form textarea {
    min-height: 150px;
    padding: 16px !important;
    resize: vertical;
}

/* TLAČÍTKO ODESLAT HODNOCENÍ */

.type-detail #buttonSendRating {
    display: inline-flex !important;
    visibility: visible !important;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 50px;
    padding: 14px 32px !important;
    background: #121f33 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
}

.type-detail #buttonSendRating:hover {
    background: #eb3e4a !important;
}

/* ==========================================
   PRODUKTY BEZ HODNOCENÍ
   ========================================== */

/* Skrýt původní tlačítko */
.type-detail #ratingTab.pa-no-reviews .rate-form-trigger {
    display: none !important;
}

/* Skrýt prázdný souhrn, dokud není otevřen formulář */
.type-detail #ratingTab.pa-no-reviews:not(.pa-form-open) #ratingWrapper {
    display: none !important;
}

/* ==========================================
   PRODUKTY S HODNOCENÍM
   ========================================== */

.type-detail #ratingTab.pa-has-reviews #ratingWrapper {
    display: block !important;
    background: #fff;
    border-radius: 8px;
    padding: 35px 40px !important;
    margin: 30px 0;
    box-sizing: border-box;
}

.type-detail #ratingTab.pa-has-reviews .rate-form-trigger {
    display: block !important;
}

/* Standardní tlačítko */
.type-detail #ratingTab .rate-form-trigger button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #121f33 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 12px 24px !important;
    min-height: 44px;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.type-detail #ratingTab .rate-form-trigger button:hover {
    background: #eb3e4a !important;
}

/* ==========================================
   MOBILNÍ ZOBRAZENÍ
   ========================================== */

@media (max-width: 900px) {
    .pa-review-column {
        padding: 28px;
    }
}

@media (max-width: 650px) {
    .pa-review-empty {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }

    .pa-review-column {
        padding: 28px 25px;
    }

    .pa-review-column + .pa-review-column {
        border-left: 0;
        border-top: 1px solid #ededed;
    }

    .pa-review-column h3 {
        font-size: 20px;
    }

    .pa-review-column p {
        font-size: 14px;
    }

    .pa-review-action {
        width: 100%;
    }

    .pa-review-button {
        width: 100%;
    }

    .type-detail #rate-form {
        max-width: 100% !important;
        padding: 24px 18px !important;
        margin: 20px auto !important;
    }

    .type-detail #buttonSendRating {
        width: 100% !important;
        min-width: 0;
    }

    .type-detail #ratingTab.pa-has-reviews #ratingWrapper {
        padding: 25px 20px !important;
    }
}

/* PROTECH – oprava zobrazení formuláře hodnocení */

.type-detail #ratingTab.pa-form-open #rate-form {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    pointer-events: auto !important;
}

.type-detail #ratingTab.pa-form-open #formRating {
    display: block !important;
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
}

/* PROTECH – bílé pozadí souhrnu hodnocení */

.type-detail #ratingTab.pa-has-reviews #ratingWrapper {
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 35px 40px !important;
    margin: 30px 0 !important;
}

/* Skrytí prázdného bloku před otevřením formuláře */
.type-detail #ratingTab.pa-no-reviews:not(.pa-form-open) #ratingWrapper {
    display: none !important;
}

/* Zobrazení bloku po kliknutí */
.type-detail #ratingTab.pa-no-reviews.pa-form-open #ratingWrapper {
    display: block !important;
}

/* Oprava mobilního formuláře */
.type-detail #ratingTab.pa-form-open #rate-form {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
}

/* ==========================================
   PROTECH ALARMS – SOUVISEJÍCÍ SOUBORY
   ========================================== */

/* Rozložení souborů */
.type-detail .tab-content .files {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 10px 0;
}

/* Karty dokumentů */
.type-detail .tab-content .files a {
    display: flex;
    align-items: center;
    min-height: 85px;
    padding: 22px 26px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    color: #121f33;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: background-color .25s, border-color .25s;
}

/* Hover */
.type-detail .tab-content .files a:hover {
    background: #f7f7f7;
    border-color: #eb3e4a;
    color: #eb3e4a;
}

/* Mobil */
@media (max-width: 768px) {
    .type-detail .tab-content .files {
        grid-template-columns: 1fr;
    }

    .type-detail .tab-content .files a {
        min-height: 70px;
        padding: 18px 20px;
        font-size: 15px;
    }
}
.top-navigation-bar,.top-navigation-bar .container,.top-navigation-tools{overflow:visible!important}.top-navigation-bar .protech-country-switcher{position:relative!important;z-index:99999!important;flex:0 0 auto!important;width:auto!important;margin:0 15px!important}.protech-country-dropdown{position:absolute!important;top:100%!important;left:0!important;right:auto!important;min-width:180px!important;width:max-content!important;z-index:999999!important;box-shadow:0 5px 20px #0002!important}.protech-country-dropdown a{padding:10px 15px!important}
.protech-country-switcher{position:relative;display:inline-flex;align-items:center;margin-right:25px;z-index:100;font-size:15px}
.protech-country-current{display:flex;align-items:center;gap:9px;border:0;background:transparent;color:#fff;font-size:15px;font-weight:600;cursor:pointer;white-space:nowrap}
.protech-flag{font-size:21px;line-height:1}.protech-country-arrow{display:inline-block;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:6px;margin-top:-4px}.protech-country-dropdown{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;border-radius:5px;box-shadow:0 5px 20px #0002;padding:7px 0;z-index:9999}.protech-country-switcher.open .protech-country-dropdown{display:block}.protech-country-dropdown a{display:flex;align-items:center;gap:12px;padding:12px 16px;color:#222!important;font-size:14px;text-decoration:none}.protech-country-dropdown a:hover{background:#f5f5f5}.protech-country-dropdown a.active{font-weight:700;background:#f8f8f8}@media(max-width:767px){.protech-country-switcher{margin-right:10px}.protech-country-current{font-size:13px}.protech-country-dropdown{min-width:190px}}

/* PROTECH – související soubory */
.type-detail #relatedFiles {
    padding: 28px 24px;
}

/* Karty vedle sebe, každý řádek na střed */
.type-detail #relatedFiles > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.type-detail #relatedFiles > ul > li {
    box-sizing: border-box;
    display: block;
    flex: 0 1 320px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: none;
}

.type-detail #relatedFiles > ul > li::before,
.type-detail #relatedFiles > ul > li > img {
    display: none;
}

/* Celá karta je odkaz */
.type-detail #relatedFiles > ul > li > a {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    min-height: 108px;
    margin: 0;
    padding: 22px 20px;
    border: 1px solid #e0e5ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(18, 31, 51, .07);
    color: #121f33;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition:
        border-color .2s,
        box-shadow .2s,
        background-color .2s,
        transform .2s;
}

/* Ikona dokumentu */
.type-detail #relatedFiles > ul > li > a::before {
    content: attr(data-pa-file-type);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 56px;
    border: 1px solid #ffd4d8;
    border-radius: 8px;
    background: #fff0f1;
    color: #eb3e4a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: 1;
}

/* Název a velikost pod sebou */
.type-detail #relatedFiles .pa-file-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.type-detail #relatedFiles .pa-file-name {
    color: #121f33;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.type-detail #relatedFiles .pa-file-size {
    color: #707987;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Menší ikona stažení */
.type-detail #relatedFiles > ul > li > a::after {
    content: "";
    display: block;
    justify-self: center;
    width: 18px;
    height: 18px;
    background-color: #697486;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5M4 16v4h16v-4'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color .2s;
}

@media (hover: hover) {
    .type-detail #relatedFiles > ul > li > a:hover {
        transform: translateY(-3px);
        border-color: #eb3e4a;
        background: #fffafb;
        box-shadow: 0 8px 22px rgba(18, 31, 51, .12);
        color: #121f33;
        text-decoration: none;
    }

    .type-detail #relatedFiles > ul > li > a:hover::after {
        background-color: #eb3e4a;
    }
}

.type-detail #relatedFiles > ul > li > a:focus-visible {
    outline: 2px solid #eb3e4a;
    outline-offset: 4px;
}

/* Mobil */
@media (max-width: 767px) {
    .type-detail #relatedFiles {
        padding: 20px 16px;
    }

    .type-detail #relatedFiles > ul {
        gap: 14px;
    }

    .type-detail #relatedFiles > ul > li > a {
        grid-template-columns: 40px minmax(0, 1fr) 28px;
        gap: 12px;
        min-height: 96px;
        padding: 18px 14px;
    }

    .type-detail #relatedFiles > ul > li > a::before {
        width: 40px;
        height: 50px;
    }

    .type-detail #relatedFiles .pa-file-name {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .type-detail #relatedFiles > ul > li > a,
    .type-detail #relatedFiles > ul > li > a::after {
        transition: none;
    }

    .type-detail #relatedFiles > ul > li > a:hover {
        transform: none;
    }
}

/* Odstranění širokého bílého pozadí za soubory */
.type-detail #relatedFiles {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================
   PROTECH – trvale otevřené produktové sekce
   Nahrazuje původní blok od „Zobrazit všechny produktové sekce“.
   #tab-content není potomkem .shp-tabs-wrapper.
   ========================================== */

/* Otevřít vnější panely i jejich přímé mobilní obaly.
   Necílit na všechny potomky: formulář hodnocení se otevírá zvlášť. */
.type-detail #tab-content > .tab-pane,
.type-detail #tab-content > .tab-pane > .detail-tab-content {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.type-detail #tab-content > .tab-pane {
    scroll-margin-top: 110px;
}

/* Původní mobilní ovladače včetně šipek. Nadpisy zůstávají níže. */
.type-detail #tab-content > .tab-pane > .detail-tab-item,
.type-detail #tab-content > .detail-tab-item {
    display: none !important;
}

.type-detail #tab-content > .tab-pane + .tab-pane {
    margin-top: 0;
    padding-top: 48px;
    border-top: none;
}

/* Jeden nadpis pro Parametry a soubory; Hodnocení má vlastní h2. */
.type-detail #productParameter::before {
    content: "Parametry";
}

.type-detail #relatedFiles::before {
    content: "Pliki powiązane";
}

.type-detail #productParameter::before,
.type-detail #relatedFiles::before,
.type-detail #ratingTab > h2 {
    display: block;
    width: 100%;
    margin: 0 0 48px;
    color: #121f33;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

/* Ověřený původní mezititulek bezprostředně před tabulkou parametrů. */
.type-detail #productParameter .extended-description > p:first-child:has(+ table.detail-parameters) {
    display: none;
}

.type-detail #relatedFiles {
    padding-bottom: 0;
}

.type-detail #p-detail-tabs a {
    cursor: pointer;
}

.type-detail #p-detail-tabs a:hover {
    color: #eb3e4a;
}

@media (max-width: 767px) {
    /* Skrýt pouze navigaci; její sourozenecký #tab-content zůstává. */
    .type-detail .shp-tabs-wrapper .shp-tabs-row,
    .type-detail .shp-tabs-wrapper .shp-tabs-holder,
    .type-detail #p-detail-tabs {
        display: none !important;
    }

    .type-detail #tab-content > .tab-pane {
        scroll-margin-top: 80px;
    }

    .type-detail #tab-content > .tab-pane + .tab-pane {
        padding-top: 32px;
    }

    .type-detail #productParameter::before,
    .type-detail #relatedFiles::before,
    .type-detail #ratingTab > h2 {
        margin-bottom: 32px;
        font-size: 26px;
    }
}

/* Pozdější původní pravidlo přepisovalo mobilní odsazení souhrnu. */
@media (max-width: 650px) {
    .type-detail #ratingTab.pa-has-reviews #ratingWrapper {
        padding: 25px 20px !important;
    }
}
