

.page-template-sectors  .hero-dots,
.page-template-sectors  button#heroNext,
.page-template-sectors  button#heroPrev,
.page-template-products .hero-dots,
.page-template-products button#heroNext,
.page-template-products button#heroPrev {display: none;}

.page-template-sector-detail .products-grid,
.page-template-sectors  .products-grid,
.page-template-products .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 44px;
}



.page-template-sector-detail .product-card {
    box-shadow: 0px 4px 64px rgba(39, 88, 135, 0.12);
}

.page-template-sector-detail h2.section-title.section-title-white.reveal.is-visible,
.page-template-products h2.section-title.section-title-white.reveal.is-visible {
    margin: 0px 0 16px;
}

.page-template-sector-detail #quote p, .page-template-products #quote p {
    color: #fff;
    margin: 0 auto 40px;
    text-align: center;
    max-width: 820px;
}



.page-template-sector-detail .why-us-item h4 {
  color: #fff;
}

.page-template-sector-detail .why-us-item h4 {
  color: #fff;
}

.page-template-sector-detail .why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 5px;
    margin-bottom: 28px;
    margin-top: 50px;
}

.page-template-sectors section#sectors svg {
    margin: auto;
}

.page-template-sectors .products {
  background: #fff;
}

.page-template-sectors .section-blue h2.section-title,
.page-template-sectors .section-blue p.sectors-intro {
  color: #fff;
  position: relative;
  z-index: 999
}


.page-template-sectors #sectorsTrack .slick-dots li.slick-active button {
    background: #ffffff;
    width: 40px;
}

.page-template-sector-detail .form-section-label p {
    text-align: left;
}

.page-template-products p.form-section-label {
    text-align: left !important;
    margin: 10px 0!important
}


.page-template-sectors .fa-chevron-left:before {
    content: "\f053";
    font-size: 32px;
    color: #fff;
}

.page-template-sectors .fa-chevron-right:before {
    content: "\f054";  font-size: 32px;
      color: #fff;
}

.page-template-sectors .sectors {
    padding-bottom: 0;
    margin-top: -2px;
    position: relative;
}

.page-template-sector-detail section#reviews {
    padding-bottom: 50px;
}

.page-template-products .quote {
    position: relative;
    padding: 0 0 40px;
}

.page-template-products .hero-content .btn-blue::after {
  display: none;
}

.page-template-products .products .slick-dots {
    bottom: -36px !important;
}


.page-template-sector-detail .products {
  background: none;

}

.page-template-sector-detail .sectors {
    padding-bottom: 0;
    margin-top: -2px;
}

.page-template-sector-detail section#sectors .section-title {
    margin: 40px 0 10px;
    color: white;
}

.page-template-sectors section#quote p {
    margin: 0px auto;
    max-width: 800px;
    text-align: center;
    padding: 0;
    color: #fff;
    margin: 10px auto 30px;
}

.page-template-sectors section#quote {
  padding-bottom: 40px;
}



.page-template-location .locations {
    background: #ffffff;
    padding: 40px 0 40px;
}

.page-template-location h2.section-title.section-title-white.reveal.is-visible,
.page-template-sector-detail h2.section-title.section-title-white.reveal.is-visible,
.page-template-products h2.section-title.section-title-white.reveal.is-visible {
    margin: 0px 0 16px;
}

.page-template-location #quote p,
.page-template-sector-detail #quote p,
.page-template-products #quote p,
.page-template-category #quote p,
.single-product #quote p {
    color: #fff;
    margin: 0 auto 40px;
    text-align: center;
    max-width: 820px;
}

.page-template-category .quote,
.single-product .quote {
    position: relative;
    padding: 0 0 40px;
}


.page-template-sector-detail .hero-arrow,
.page-template-sector-detail .hero-dots {
  display: none;
}

.page-template-sectors .section-blue h2.section-title {
  margin: 0;
  padding: 0;
}

.quote-fixed-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 110px;
  height: 110px;
  z-index: 9999;
  display: block;
  transition: all 0.4s;
}


.quote-fixed-btn:hover {
transform: scale(1.05);
}

.quote-fixed-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) {
  .quote-fixed-btn {
    width: 90px;
    height: 90px;
    right: 16px;
    bottom: 16px;
  }
}


/* ====== LOCATIONS RESULT ====== */
.locations-result {
    margin-top: 1rem;
    padding: 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.locations-result--success {
    background: rgb(126 197 35);
    color: #fff;
}

.locations-result--error {
    background: rgb(215 137 51);
    color: #fff;
}

.locations-result__icon {
    font-size: 1rem;
    line-height: 1;
}

.locations-result--success .locations-result__icon {
    font-size: 1rem;
    line-height: 1;
    content: url(../images/check.svg);
}

.locations-result--error .locations-result__icon {
    font-size: 1rem;
    line-height: 1;
    content: url(../images/x.svg);
}

.locations-result--error {
    display: flex;
}



@media (max-width: 860px) {
  .products-grid {
      display: block !important;
  }


.page-template-sector-detail .why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 5px;
    margin-bottom: 28px;
    margin-top: 50px;
}

  .page-template-sector-detail .product-card {
    box-shadow: none;
    border: 1px solid #ccc;
}

  .page-template-sector-detail .slick-dots {
    position: absolute;
    bottom: -25px;
    display: block;
    width: 100%;
    bottom: -32px !important;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.products-grid .slick-dots li.slick-active button {
    background: #1864A8;
    width: 40px;
}

  .page-template-sector-detail .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    margin-top: 29px;
}


}

.breadcrumbs {
    font-size: 13px;
    color: #a0a0a0;
    letter-spacing: 0.5px;
    margin-top: 40px;
}

.breadcrumbs a {
    text-decoration: underline;
    color: #5D5D5D;
}

.page-template-sector-detail .news {
    padding-bottom: 50px;
}

/* =========================================
   PRODUCT DETAIL
   ========================================= */
.product-detail {
    padding-top: 0;
}
.product-detail .breadcrumbs {
    margin-bottom: 32px;
}
.product-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    background: #fff;
    border-radius: 18px;
    margin-bottom: 48px;
}

.product-detail-img {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 64px rgba(39, 88, 135, 0.12);
    height: 500px;
    width: 500px;
    border-radius: 0px 40px;
}
.product-detail-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.product-detail-title {
    font-size: 33px;
    font-weight: 700;
    color: #1a2030;
    margin-bottom: 12px;
    line-height: 43px;
}
.product-detail-price {
    font-size: 17px;
    color: #1a2030;
    margin-bottom: 16px;
}

.product-detail-price strong {
    font-weight: 500;
}
.product-detail-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 12px;
}
.product-detail-measurements {
    font-size: 14px;
    margin-bottom: 16px;
}
.product-detail-buy-note {
    font-size: 13px;
    color: #7a8599;
    font-style: italic;
    margin-top: 12px;
}
p.product-detail-buy-note a {
    text-decoration: underline;
}
.product-detail-rent-link {
    font-size: 14px;
    color: #1361AB;
    text-decoration: underline;
    display: block;
    margin-bottom: 28px;
}
.product-detail-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-outline-blue {
    border: 2px solid #1361AB;
    color: #1361AB;
    background: transparent;
    border-radius: 0px 16px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-outline-blue:hover {
    background: #1361AB;
    color: #fff;
}



/* Tabs */
.product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8eef6;
    margin-bottom: 28px;
}
.product-tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;
    color: #7a8599;
    padding: 14px 28px 14px 28px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    font-family: inherit;
}
.product-tab-btn.is-active {
    color: #1381C3;
}
.product-tab-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1381C3;
}
.product-tab-content {
    display: none;
}
.product-tab-content.is-active {
    display: block;
}
.product-tab-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #1a2030;
    margin-bottom: 16px;
}
.product-tab-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.product-tab-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    font-size: 15px;
    color: #4a5568;
}
.product-tab-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1361AB;
    font-size: 14px;
}

@media (max-width: 860px) {
    .product-detail-inner {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 24px;
    }
    .product-detail-title {
        font-size: 26px;
    }
    .product-detail-btns {
        flex-direction: column;
    }
    .product-detail-btns .btn {
        text-align: center;
        justify-content: center;
    }

    .product-detail-img {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 64px rgba(39, 88, 135, 0.12);
    height: auto;
    width: 100%;
    padding: 40px;
    border-radius: 0px 40px;
}
}




/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
    pointer-events: none;
}

.search-overlay.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.search-overlay-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 28px 20px;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #0077b6; /* tvoje modrá */
    gap: 12px;
}

.search-input-wrap > .fa-search {
    color: #0077b6;
    font-size: 20px;
    flex-shrink: 0;
}

.search-input-wrap input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 22px;
    padding: 10px 0;
    background: transparent;
    color: #1a1a2e;
}

.search-input-wrap input[type="search"]::placeholder {
    color: #aaa;
}

/* Skryj nativní X v Chrome/Safari */
.search-input-wrap input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.search-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #666;
    padding: 8px;
    transition: color 0.2s;
}

.search-close-btn:hover {
    color: #0077b6;
}

/* Backdrop dimmer pod overlayem */
.search-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.search-backdrop.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Spinner */
.search-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-top-color: #0077b6;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: none;
    flex-shrink: 0;
}
.search-spinner.is-loading { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Výsledky wrap */
.search-results-wrap {
    margin-top: 8px;
    max-height: 420px;
    overflow-y: auto;
}

/* Seznam výsledků */
.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-result-item a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.search-result-item a:hover {
    background: #f0f7ff;
}

.search-result-item + .search-result-item {
    border-top: 1px solid #f0f0f0;
}

/* Thumbnail */
.sri-thumb {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8f4fd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sri-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sri-thumb--icon i {
    font-size: 20px;
    color: #0077b6;
}

/* Obsah */
.sri-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sri-type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0077b6;
    font-weight: 600;
}

.sri-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sri-excerpt {
    font-size: 13px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Šipka */
.sri-arrow {
    color: #ccc;
    font-size: 13px;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.search-result-item a:hover .sri-arrow {
    color: #0077b6;
    transform: translateX(3px);
}

/* Footer – odkaz na všechny výsledky */
.search-results-footer {
    border-top: 1px solid #e8e8e8;
    padding: 12px 10px;
}

.search-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #0077b6;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 6px 0;
}
.search-all-link:hover { text-decoration: underline; }

/* Žádné výsledky */
.search-no-results {
    text-align: center;
    padding: 32px 20px;
    color: #aaa;
}
.search-no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
    color: #ddd;
}
.search-no-results strong { color: #555; }

/* Full search-results page (search.php) — same cards as the header dropdown, roomier */
.search-results-list--page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 28px 0 40px;
}
.search-results-list--page .search-result-item {
    border: 1px solid #eef2f7;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.search-results-list--page .search-result-item:hover {
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.1);
    transform: translateY(-2px);
}
.search-results-list--page .search-result-item + .search-result-item {
    border-top: 1px solid #eef2f7;
}
.search-results-list--page .search-result-item a {
    padding: 18px 20px;
    border-radius: 14px;
}
.search-results-list--page .sri-thumb {
    width: 84px;
    height: 84px;
    border-radius: 10px;
}
.search-results-list--page .sri-thumb--icon i { font-size: 26px; }
.search-results-list--page .sri-title {
    font-size: 18px;
    white-space: normal;
}
.search-results-list--page .sri-excerpt {
    white-space: normal;
    font-size: 14px;
    line-height: 1.55;
}

.search-no-results--page { padding: 60px 20px; }
.search-no-results__hint {
    color: #5a6a80;
    font-size: 14px;
    margin-top: 8px;
}
.search-no-results__hint a { color: #109AD6; text-decoration: underline; }

.search-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f0f5fb;
    color: #1a2030;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.search-pagination .page-numbers.current { background: #109AD6; color: #fff; }
.search-pagination .page-numbers:hover:not(.current) { background: #dce6f0; }
.search-pagination .page-numbers.dots { background: none; }
