/* iKulecnik Apollo v3 – rozlozeni podle SmartMaxu, modra varianta */
:root {
    --ik-v3-blue: #052877;
    --ik-v3-blue-hover: #0a47a8;
    --ik-v3-ink: #15171c;
    --ik-v3-muted: #666d7a;
    --ik-v3-line: #dce4f2;
    --ik-v3-soft: #f5f7fb;
}

body.template-11,
body.template-11 h1,
body.template-11 h2,
body.template-11 h3,
body.template-11 p,
body.template-11 a,
body.template-11 button,
body.template-11 input,
body.template-11 span,
body.template-11 strong,
body.template-11 small {
    font-family: "Inter", Arial, sans-serif !important;
}

/* Horni seda lista podle SmartMaxu */
body.template-11 .top-navigation-bar {
    min-height: 44px !important;
    background: #f5f7fa !important;
    border-top: 4px solid #333 !important;
    border-bottom: 1px solid #e7eaf0 !important;
    color: #111318 !important;
}

body.template-11 .top-navigation-bar > .container {
    display: flex !important;
    width: min(100% - 32px, 1440px) !important;
    min-height: 40px !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.template-11 .top-navigation-bar .site-name,
body.template-11 .top-navigation-bar .msg-part,
body.template-11 .top-navigation-bar .responsive-tools {
    display: none !important;
}

body.template-11 .ik-v3-top-links {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
}

body.template-11 .ik-v3-top-links a {
    display: inline-flex;
    align-items: center;
    color: #111318 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 40px;
    text-decoration: none !important;
}

body.template-11 .ik-v3-top-links a:hover {
    color: var(--ik-v3-blue) !important;
}

body.template-11 .ik-v3-top-links a:not(:last-child)::after {
    content: "•";
    margin: 0 12px;
    color: #858b98;
}

body.template-11 .top-navigation-bar .nav-part {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}

body.template-11 .top-navigation-tools,
body.template-11 .top-navigation-tools .dropdown {
    display: flex !important;
    align-items: center !important;
}

body.template-11 .top-navigation-tools .dropdown::before {
    content: "▣";
    margin-right: 8px;
    color: #6e7890;
    font-size: 17px;
}

body.template-11 .top-navigation-tools .dropdown > span {
    display: none !important;
}

body.template-11 .top-navigation-tools .dropdown button {
    padding: 0 20px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #111318 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Bile zahlavi – stejne proporce jako SmartMax */
body.template-11 #header {
    position: relative !important;
    top: auto !important;
    background: #fff !important;
}

body.template-11 #header .navigation-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
}

body.template-11 #header .header-top {
    display: grid !important;
    width: min(100% - 48px, 1440px) !important;
    min-height: 116px !important;
    grid-template-columns: 270px minmax(360px, 1fr) auto auto !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 auto !important;
    padding: 20px 0 14px !important;
}

body.template-11 #header .site-name-wrapper {
    grid-column: 1;
    width: 270px !important;
    min-width: 270px !important;
}

body.template-11 #header .site-name,
body.template-11 #header .site-name a {
    display: flex !important;
    width: 100% !important;
    height: 76px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body.template-11 #header .site-name img {
    display: block !important;
    width: auto !important;
    max-width: 230px !important;
    height: 76px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

body.template-11 #header .search {
    grid-column: 2;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

body.template-11 #header .search fieldset {
    display: flex !important;
    overflow: hidden !important;
    height: 52px !important;
    border: 1px solid #d8dde7 !important;
    border-radius: 13px !important;
    background: #f5f6f8 !important;
}

body.template-11 #header .search .search-input {
    height: 50px !important;
    flex: 1 1 auto !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    color: #171a21 !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

body.template-11 #header .search button[data-testid="searchBtn"] {
    display: flex !important;
    width: 56px !important;
    height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
}

body.template-11 #header .search button[data-testid="searchBtn"]::before {
    color: #15171c !important;
    font-size: 24px !important;
}

body.template-11 #header .top-navigation-contacts {
    grid-column: 3;
    display: flex !important;
    min-width: 252px !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.template-11 #header .top-navigation-contacts > strong {
    display: none !important;
}

body.template-11 .ik-v3-phone,
body.template-11 .ik-v3-mail {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #111318 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.template-11 .ik-v3-phone-icon,
body.template-11 .ik-v3-mail-icon {
    color: var(--ik-v3-blue);
    font-size: 18px;
    line-height: 1;
}

body.template-11 .ik-v3-phone span:last-child {
    display: grid !important;
    line-height: 1.1 !important;
}

body.template-11 .ik-v3-phone strong {
    color: #111318 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.template-11 .ik-v3-phone small {
    margin-top: 2px;
    color: #333943 !important;
    font-size: 8.5px !important;
    font-weight: 600 !important;
}

body.template-11 .ik-v3-mail {
    font-size: 13px !important;
    font-weight: 500 !important;
}

body.template-11 #header .navigation-buttons {
    grid-column: 4;
    display: flex !important;
    min-width: 245px !important;
    height: 54px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    margin: 0 !important;
}

body.template-11 #header .top-nav-button-login,
body.template-11 #header .click-cart {
    position: relative;
}

body.template-11 #header .top-nav-button-login {
    min-height: 48px !important;
    padding: 0 22px 0 38px !important;
    border-right: 1px solid #c7ccd6 !important;
    background: transparent !important;
    color: #111318 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

body.template-11 #header .cart-count {
    display: flex !important;
    min-width: 125px !important;
    min-height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px 0 52px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111318 !important;
    box-shadow: none !important;
}

body.template-11 #header .cart-count::before {
    background: var(--ik-v3-blue) !important;
    color: #fff !important;
}

body.template-11 #header .cart-price {
    color: #111318 !important;
    font-size: 14px !important;
}

/* Modre menu pres celou sirku, bez tlacitka Kategorie */
body.desktop.template-11 #navigation .nav-submenu-box {
    display: none !important;
}

body.template-11 #header::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 58px;
    background: var(--ik-v3-blue);
    pointer-events: none;
}

body.template-11 #navigation {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    max-width: none !important;
    height: 58px !important;
    background: var(--ik-v3-blue) !important;
}

body.desktop.template-11 #navigation .navigation-in {
    display: flex !important;
    width: min(100% - 48px, 1440px) !important;
    height: 58px !important;
    align-items: stretch !important;
    margin: 0 auto !important;
    background: var(--ik-v3-blue) !important;
}

body.desktop.template-11 #navigation .navigation-in-bottom {
    display: none !important;
}

body.desktop.template-11 #navigation .top-navigation-menu {
    display: flex !important;
    width: 100% !important;
    height: 58px !important;
    align-items: stretch !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu {
    display: flex !important;
    width: calc(100% - 92px) !important;
    height: 58px !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu > li {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu > li:nth-child(n+7) {
    display: none !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: 58px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 18px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu > li > a:hover {
    background: var(--ik-v3-blue-hover) !important;
}

body.desktop.template-11 #navigation .top-navigation-menu-trigger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    width: 92px !important;
    height: 58px !important;
    order: 2 !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    background: var(--ik-v3-blue) !important;
    color: #fff !important;
    cursor: pointer;
}

body.desktop.template-11 #navigation .top-navigation-menu-trigger span {
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

body.desktop.template-11 #navigation .top-navigation-menu-trigger span::after {
    content: "▾";
    margin-left: 10px;
    font-size: 15px;
}

body.desktop.template-11 #navigation .top-navigation-menu-trigger:hover,
body.desktop.template-11 #navigation .top-navigation-menu-trigger.is-open {
    background: var(--ik-v3-blue-hover) !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu-helper {
    position: absolute !important;
    z-index: 1100 !important;
    top: 58px !important;
    right: 0 !important;
    display: none !important;
    width: 285px !important;
    margin: 0 !important;
    padding: 8px 0 !important;
    list-style: none !important;
    background: #fff !important;
    border: 1px solid var(--ik-v3-line) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 14px 32px rgba(5, 40, 119, .16) !important;
}

body.desktop.template-11 #navigation .top-navigation-menu-trigger.is-open ~ .top-navigation-bar-menu-helper,
body.desktop.template-11 #navigation .top-navigation-bar-menu-helper:hover {
    display: block !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu-helper li a {
    display: block !important;
    padding: 11px 18px !important;
    border-bottom: 1px solid #edf0f5 !important;
    color: #20242c !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
}

body.desktop.template-11 #navigation .top-navigation-bar-menu-helper li a:hover {
    background: #eef3ff !important;
    color: var(--ik-v3-blue) !important;
}

/* Nova titulni kompozice */
body.type-index #content-wrapper {
    background: #fff !important;
}

body.type-index .banners-row {
    display: none !important;
}

body.type-index .ik-v3-home {
    width: min(100% - 48px, 1440px);
    margin: 28px auto 44px;
}

body.type-index .ik-v3-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(320px, .95fr);
    gap: 24px;
}

body.type-index .ik-v3-hero {
    position: relative;
    display: flex;
    min-height: 380px;
    align-items: center;
    overflow: hidden;
    padding: 36px;
    background-position: center;
    background-size: cover;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(19, 27, 47, .12);
}

body.type-index .ik-v3-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 12, 18, .36), rgba(20, 12, 18, .02) 72%);
}

body.type-index .ik-v3-hero-card {
    position: relative;
    z-index: 1;
    width: min(420px, 92%);
    padding: 34px 36px;
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 30px rgba(10, 15, 30, .18);
}

body.type-index .ik-v3-hero-card h1 {
    margin: 0 0 14px !important;
    color: #111318 !important;
    font-size: clamp(30px, 3vw, 44px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em;
    text-transform: none !important;
}

body.type-index .ik-v3-hero-card p {
    margin: 0 0 20px !important;
    color: #59606c !important;
    font-size: 16px !important;
}

body.type-index .ik-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

body.type-index .ik-v3-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 2px solid var(--ik-v3-blue);
    border-radius: 9px;
    background: var(--ik-v3-blue);
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
}

body.type-index .ik-v3-btn:hover {
    border-color: var(--ik-v3-blue-hover);
    background: var(--ik-v3-blue-hover);
}

body.type-index .ik-v3-btn--ghost {
    background: #fff;
    color: var(--ik-v3-blue) !important;
}

body.type-index .ik-v3-services {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
}

body.type-index .ik-v3-service {
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--ik-v3-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(25, 35, 58, .06);
    color: var(--ik-v3-ink) !important;
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.type-index .ik-v3-service:hover {
    border-color: #9bb2e4;
    box-shadow: 0 12px 28px rgba(5, 40, 119, .12);
    transform: translateY(-2px);
}

body.type-index .ik-v3-service-icon {
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf2ff;
    color: var(--ik-v3-blue);
    font-size: 31px;
}

body.type-index .ik-v3-service h2 {
    margin: 0 0 4px !important;
    color: #17191e !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.type-index .ik-v3-service p {
    margin: 0 0 6px !important;
    color: #626874 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

body.type-index .ik-v3-service strong {
    color: var(--ik-v3-blue) !important;
    font-size: 13px !important;
}

body.type-index .ik-v3-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

body.type-index .ik-v3-category {
    overflow: hidden;
    padding: 8px 8px 14px;
    border: 1px solid var(--ik-v3-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 22px rgba(25, 35, 58, .05);
}

body.type-index .ik-v3-category img {
    display: block;
    width: 100%;
    height: 146px;
    object-fit: cover;
    border-radius: 10px;
}

body.type-index .ik-v3-category h2 {
    min-height: 28px;
    margin: 10px 0 9px !important;
    color: #121419 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.type-index .ik-v3-category a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 7px;
    background: var(--ik-v3-blue);
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
}

body.type-index .ik-v3-category a:hover {
    background: var(--ik-v3-blue-hover);
}

@media (max-width: 1199px) {
    body.template-11 #header .header-top {
        grid-template-columns: 220px minmax(300px, 1fr) auto !important;
        gap: 18px !important;
    }
    body.template-11 #header .site-name-wrapper { width: 220px !important; min-width: 220px !important; }
    body.template-11 #header .site-name img { max-width: 195px !important; }
    body.template-11 #header .top-navigation-contacts { display: none !important; }
    body.template-11 #header .navigation-buttons { grid-column: 3; }
    body.type-index .ik-v3-hero-grid { grid-template-columns: 1.65fr 1fr; }
}

@media (max-width: 991px) {
    body.template-11 .ik-v3-top-links a:nth-child(n+5) { display: none !important; }
    body.template-11 #header .header-top {
        width: min(100% - 28px, 960px) !important;
        grid-template-columns: 190px 1fr auto !important;
        gap: 14px !important;
    }
    body.template-11 #header .site-name-wrapper { width: 190px !important; min-width: 190px !important; }
    body.template-11 #header .site-name img { max-width: 170px !important; }
    body.template-11 #header .navigation-buttons { min-width: 115px !important; gap: 8px !important; }
    body.template-11 #header .top-nav-button-login span,
    body.template-11 #header .cart-price { display: none !important; }
    body.template-11 #header .top-nav-button-login { width: 48px !important; padding: 0 !important; border: 0 !important; }
    body.template-11 #header .cart-count { min-width: 52px !important; padding: 0 !important; }
    body.type-index .ik-v3-home { width: min(100% - 28px, 960px); }
    body.type-index .ik-v3-hero-grid { grid-template-columns: 1fr; }
    body.type-index .ik-v3-services { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
    body.type-index .ik-v3-service { grid-template-columns: 58px 1fr; padding: 16px; }
    body.type-index .ik-v3-service-icon { width: 54px; height: 54px; font-size: 25px; }
    body.type-index .ik-v3-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    body.template-11 .top-navigation-bar { min-height: 0 !important; border-top-width: 3px !important; }
    body.template-11 .top-navigation-bar > .container { min-height: 0 !important; }
    body.template-11 .ik-v3-top-links { display: none !important; }
    body.template-11 .top-navigation-bar .nav-part { display: none !important; }
    body.template-11 #header .header-top {
        display: flex !important;
        width: 100% !important;
        min-height: 78px !important;
        padding: 8px 14px !important;
    }
    body.template-11 #header .site-name-wrapper { width: 190px !important; min-width: 0 !important; margin-right: auto !important; }
    body.template-11 #header .site-name,
    body.template-11 #header .site-name a { height: 62px !important; }
    body.template-11 #header .site-name img { height: 60px !important; max-width: 182px !important; }
    body.template-11 #header .search { display: none !important; }
    body.template-11 #header .navigation-buttons { min-width: auto !important; }
    body.template-11 #header::after { display: none !important; }
    body.template-11 #navigation { height: auto !important; background: #fff !important; }
    body.type-index .ik-v3-home { width: calc(100% - 24px); margin-top: 14px; }
    body.type-index .ik-v3-hero { min-height: 410px; padding: 18px; background-position: 62% center; }
    body.type-index .ik-v3-hero-card { width: 100%; padding: 25px 23px; }
    body.type-index .ik-v3-hero-card h1 { font-size: 30px !important; }
    body.type-index .ik-v3-services { grid-template-columns: 1fr; }
    body.type-index .ik-v3-categories { grid-template-columns: 1fr 1fr; gap: 12px; }
    body.type-index .ik-v3-category img { height: 120px; }
    body.type-index .ik-v3-category h2 { font-size: 15px !important; }
}

@media (max-width: 480px) {
    body.type-index .ik-v3-actions { display: grid; }
    body.type-index .ik-v3-btn { width: 100%; }
    body.type-index .ik-v3-categories { grid-template-columns: 1fr; }
    body.type-index .ik-v3-category img { height: 170px; }
}
