.cp-shell-width {
    width: calc(100% - 48px);
    max-width: 1120px;
    margin-inline: auto;
}

.cp-site-header,
.cp-mobile-nav,
.cp-offer-dialog,
.cp-site-footer {
    --shell-ink: #172c2d;
    --shell-paper: #f5f0f0;
    --shell-line: #e5dddd;
    --shell-accent: #ff5349;
    font-family: Montserrat, Arial, sans-serif;
}

.cp-site-header .cp-site-bar {
    min-height: 72px;
    padding: 0;
    border-bottom: 1px solid var(--shell-line);
    color: var(--shell-ink);
}

.cp-site-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: inherit;
}

.cp-site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.cp-site-logo img,
.cp-footer-logo img {
    display: block;
    object-fit: contain;
    object-position: left center;
}

.cp-desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.cp-nav-group {
    position: relative;
}

.cp-nav-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    list-style: none;
    color: var(--shell-ink);
    cursor: pointer;
}

.cp-nav-group > summary::-webkit-details-marker {
    display: none;
}

.cp-nav-group[open] > summary svg {
    transform: rotate(180deg);
}

.cp-desktop-nav summary {
    padding: 9px 13px;
    border-radius: 10px;
    color: #4a4343;
    font-size: 13.6px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .15s, color .15s;
}

.cp-desktop-nav summary:hover,
.cp-desktop-nav .cp-nav-group[open] > summary {
    background: #ff53490f;
    color: #9c362f;
}

.cp-nav-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-desktop-nav .cp-nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 290px;
    padding: 8px;
    border: 1px solid #d9d3d2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px #172c2d14;
}

.cp-desktop-nav .cp-nav-group:last-child .cp-nav-links {
    right: 0;
    left: auto;
}

.cp-desktop-nav .cp-nav-wide .cp-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 470px;
    gap: 0 6px;
}

.cp-nav-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-nav-label {
    margin: 0;
    padding: 8px 14px 8px;
    color: #9a9090;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cp-desktop-nav .cp-nav-mega .cp-nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 820px;
    gap: 0 10px;
    right: 0;
    left: auto;
    padding: 12px 10px 10px;
}

.cp-desktop-nav .cp-nav-mega .cp-nav-links a {
    padding-inline: 10px;
}

@media (max-width: 1239px) {
    .cp-desktop-nav .cp-nav-mega .cp-nav-links {
        width: 660px;
    }
}

.cp-desktop-nav .cp-nav-mega .cp-nav-col + .cp-nav-col {
    padding-left: 10px;
    border-left: 1px solid #ece6e5;
}

.cp-nav-links a {
    display: block;
    padding: 9px 14px;
    border-radius: 10px;
    color: #4a4343;
    font-size: 13.6px;
    font-weight: 500;
    line-height: 1.4;
    transition: background-color .15s, color .15s;
}

.cp-nav-links a:hover {
    background: var(--shell-paper);
    color: #9c362f;
}

.cp-site-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.cp-site-language {
    display: inline-grid;
    place-items: center;
    min-width: 37px;
    height: 34px;
    border: 1px solid var(--shell-line);
    border-radius: 8px;
    color: var(--shell-ink);
    font-size: 12px;
    font-weight: 750;
}

.cp-site-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    background: var(--shell-accent);
    color: #102122;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.cp-site-offer:hover {
    background: #fc7169;
    color: #102122;
}

.cp-site-menu-button,
.cp-site-phone {
    display: none;
}

.cp-mobile-nav:not([open]) {
    display: none;
}

.cp-mobile-nav[open] {
    display: flex;
    flex-direction: column;
}

.cp-mobile-nav {
    position: fixed;
    inset: 0 0 0 auto;
    margin: 0;
    padding: 0 16px;
    width: min(358px, 100%);
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background: #fff;
    color: var(--shell-ink);
}

.cp-mobile-nav::backdrop,
.cp-offer-dialog::backdrop {
    background: #101f2080;
}

html:has(:is(.cp-mobile-nav, .cp-offer-dialog)[open]),
body:has(:is(.cp-mobile-nav, .cp-offer-dialog)[open]),
main:has(:is(.cp-mobile-nav, .cp-offer-dialog)[open]) {
    overflow: hidden;
}

.cp-mobile-nav-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 71px;
    background: #fff;
    border-bottom: 1px solid var(--shell-line);
}

.cp-site-menu-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--shell-paper);
    color: var(--shell-ink);
}

.cp-mobile-nav-groups {
    padding-block: 10px;
}

.cp-mobile-nav-groups .cp-nav-group {
    border-bottom: 1px solid var(--shell-line);
}

.cp-mobile-nav-groups summary {
    min-height: 52px;
    padding-inline: 8px;
    font-size: 15px;
    font-weight: 700;
}

.cp-mobile-nav-groups .cp-nav-links {
    padding: 0 0 8px 8px;
}

.cp-mobile-nav-groups .cp-nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
}

/* 01.12.2026: основните продукти най-отгоре (на едно докосване) */
.cp-mobile-nav-top {
    margin: 0 0 4px;
    padding: 4px 0 6px;
    list-style: none;
    border-bottom: 1px solid var(--shell-line);
}

.cp-mobile-nav-top a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding-inline: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--shell-ink);
    text-decoration: none;
}

.cp-mobile-nav-top a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 4px;
    border-top: 1.6px solid currentColor;
    border-right: 1.6px solid currentColor;
    transform: rotate(45deg);
    opacity: .55;
}

/* бутонът «Намерете оферта» и телефонът — винаги видими най-долу */
.cp-mobile-nav-actions {
    position: sticky;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: auto -16px 0;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--shell-line);
    font-size: 13px;
    font-weight: 650;
}

.cp-mobile-nav-actions a[href^="tel"] {
    padding: 10px 0;
    color: var(--shell-ink);
}

.cp-site-header :is(a, button, summary):focus-visible,
.cp-mobile-nav :is(a, button, summary):focus-visible,
.cp-offer-dialog :is(a, button):focus-visible {
    outline: 2px solid #944138;
    outline-offset: 3px;
}

.cp-site-footer.footer {
    padding: 0;
    background: #102021;
    color: #d7dede;
}

.cp-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) repeat(2, minmax(0, .75fr));
    gap: 24px 36px;
    padding-block: 44px 30px;
}

.cp-site-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.cp-site-footer p,
.cp-site-footer li {
    font-size: 13px;
    line-height: 1.65;
}

.cp-site-footer a {
    color: #ecf1f0;
}

.cp-site-footer a:hover {
    color: #ff9a94;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cp-site-footer a:focus-visible {
    outline: 2px solid #ff9a94;
    outline-offset: 3px;
}

.cp-footer-brand p {
    margin: 12px 0 0;
    max-width: 39ch;
}

.cp-footer-brand p a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cp-site-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-footer-main li + li {
    margin-top: 5px;
}

.cp-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cp-footer-contact li[itemprop="address"] {
    margin-top: 9px;
}

.cp-footer-contact .cp-footer-social {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.cp-footer-social li + li {
    margin-top: 0;
}

.cp-footer-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 7px;
    background: #ffffff10;
}

.cp-footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.cp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px 30px;
    padding-block: 18px 22px;
    border-top: 1px solid #ffffff30;
}

.cp-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
}

.cp-footer-bottom p {
    flex-shrink: 0;
    margin: 0;
}

@media (max-width: 1039px) {
    .cp-desktop-nav,
    .cp-site-actions .cp-site-offer {
        display: none;
    }

    .cp-site-menu-button,
    .cp-site-phone,
    .cp-site-language {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        min-width: 44px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--shell-paper);
    }

    .cp-site-header .cp-site-bar {
        min-height: 76px;
    }
}

@media (max-width: 991.98px) {
    .cp-site-header ~ nav.bread-crumbs {
        display: none;
    }
}

@media (max-width: 760px) {
    .cp-site-bar-inner {
        width: calc(100% - 28px);
        gap: 8px;
    }

    .cp-site-bar-inner .cp-site-logo img {
        width: clamp(111px, 39vw, 155px);
        height: auto;
    }

    .cp-site-actions {
        gap: 7px;
    }

    .cp-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 32px 23px;
    }

    .cp-footer-brand,
    .cp-footer-contact {
        grid-column: 1 / -1;
    }

    .cp-footer-bottom {
        flex-direction: column;
        gap: 14px;
    }
}

.cp-offer-dialog {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(660px, calc(100% - 24px));
    max-width: none;
    max-height: min(680px, calc(100dvh - 24px));
    margin: auto;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--shell-line);
    border-radius: 20px;
    background: #fff;
    color: var(--shell-ink);
    box-shadow: 0 16px 70px #10212240;
}

.cp-offer-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cp-offer-dialog-head h2 {
    margin: 0;
    color: var(--shell-ink);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    line-height: 1.25;
}

.cp-offer-dialog-head .cp-site-menu-close {
    flex-shrink: 0;
}

.cp-offer-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: var(--shell-paper);
}

.cp-offer-categories button {
    min-height: 40px;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--shell-ink);
    font-size: clamp(11px, 2.8vw, 14px);
    font-weight: 650;
}

.cp-offer-categories button[aria-pressed="true"] {
    border-color: #e5dddd;
    background: #fff;
    color: #983831;
}

.cp-offer-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}

.cp-offer-options[hidden] {
    display: none;
}

.cp-offer-options a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 47px;
    padding: 8px 11px;
    border: 1px solid var(--shell-line);
    border-radius: 9px;
    color: var(--shell-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.cp-offer-options a:hover {
    background: var(--shell-paper);
    color: #983831;
}

.cp-offer-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    color: #983831;
    font-size: 13px;
    font-weight: 650;
}

@media (max-width: 520px) {
    .cp-offer-dialog {
        padding: 14px;
    }

    .cp-offer-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
}
