/* Exclusive Ponude / campaign pages ------------------------------------ */

body.single-exclusive_offer .breadcrumb-noheading {
    display: none !important;
}

body.single-exclusive_offer .exclusive-offer-heading {
    padding: 72px 0 42px;
    text-align: center;
    background: #fff;
}

body.single-exclusive_offer .exclusive-offer-heading__title {
    margin: 0;
    font-family: inherit;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

body.single-exclusive_offer .exclusive-offer-heading__subtitle {
    width: min(760px, 100%);
    margin: 14px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

body.single-exclusive_offer .exclusive-offer-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

body.single-exclusive_offer .exclusive-offer-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

body.single-exclusive_offer .exclusive-offer-breadcrumb a:hover {
    opacity: .75;
}

/* Hero ---------------------------------------------------------------- */
body.single-exclusive_offer .exclusive-offer-hero {
    padding: 48px 0 34px;
}

body.single-exclusive_offer .exclusive-offer-hero__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 470px;
    aspect-ratio: 16 / 7;
    background: #ececec;
    isolation: isolate;
}

body.single-exclusive_offer .exclusive-offer-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.single-exclusive_offer .exclusive-offer-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, var(--exclusive-offer-overlay, .28));
    transition: background .25s ease;
}

body.single-exclusive_offer .exclusive-offer-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(900px, calc(100% - 56px));
    margin: auto;
    padding: 48px 28px;
    text-align: center;
}

body.single-exclusive_offer .exclusive-offer-hero__content .exclusive-offer-heading__title {
    margin: 14px 0 0;
    text-shadow: 0 1px 18px rgba(0, 0, 0, .12);
}

body.single-exclusive_offer .exclusive-offer-hero__subtitle {
    width: min(720px, 100%);
    margin: 18px auto 0;
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.6;
}

body.single-exclusive_offer .exclusive-offer-hero--tone-auto .exclusive-offer-hero__content,
body.single-exclusive_offer .exclusive-offer-hero--tone-light .exclusive-offer-hero__content,
body.single-exclusive_offer .exclusive-offer-hero.is-light-text .exclusive-offer-hero__content {
    color: #fff;
}

body.single-exclusive_offer .exclusive-offer-hero--tone-dark .exclusive-offer-hero__content,
body.single-exclusive_offer .exclusive-offer-hero.is-dark-text .exclusive-offer-hero__content {
    color: #111;
}

body.single-exclusive_offer .exclusive-offer-hero--tone-dark .exclusive-offer-hero__overlay,
body.single-exclusive_offer .exclusive-offer-hero.is-dark-text .exclusive-offer-hero__overlay {
    background: rgba(255, 255, 255, calc(var(--exclusive-offer-overlay, .28) * .92));
}

/* Campaign metadata ---------------------------------------------------- */
body.single-exclusive_offer .exclusive-offer-info {
    padding: 0 0 28px;
}

body.single-exclusive_offer .exclusive-offer-info__bar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    border: 1px solid #e9e9e9;
    background: #fafafa;
}

body.single-exclusive_offer .exclusive-offer-info__item {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 18px 24px;
    text-align: center;
}

body.single-exclusive_offer .exclusive-offer-info__item + .exclusive-offer-info__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 1px;
    background: #dedede;
}

body.single-exclusive_offer .exclusive-offer-info__item span {
    margin-bottom: 4px;
    color: #777;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.single-exclusive_offer .exclusive-offer-info__item strong {
    color: #171717;
    font-size: 14px;
    font-weight: 600;
}

body.single-exclusive_offer .exclusive-offer-info__code {
    letter-spacing: .08em;
}

body.single-exclusive_offer .exclusive-offer-intro {
    padding: 2px 0 44px;
}

body.single-exclusive_offer .exclusive-offer-intro__content {
    width: min(900px, 100%);
    margin: 0 auto;
    color: #3b3b3b;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

body.single-exclusive_offer .exclusive-offer-intro__content > :first-child { margin-top: 0; }
body.single-exclusive_offer .exclusive-offer-intro__content > :last-child { margin-bottom: 0; }

/* Toolbar -------------------------------------------------------------- */
body.single-exclusive_offer .exclusive-offer-products {
    padding: 10px 0 90px;
}

body.single-exclusive_offer .exclusive-offer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececec;
}

body.single-exclusive_offer .exclusive-offer-toolbar__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

body.single-exclusive_offer .exclusive-offer-toolbar__count {
    color: #666;
    font-size: 13px;
}

body.single-exclusive_offer .exclusive-offer-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 15px;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

body.single-exclusive_offer .exclusive-offer-filter-toggle__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--exclusive-accent, #007f70);
}

body.single-exclusive_offer .exclusive-offer-ordering { margin: 0; }

body.single-exclusive_offer .exclusive-offer-ordering select {
    min-width: 220px;
    height: 46px;
    margin: 0;
    padding: 0 42px 0 15px;
    border: 1px solid #bbb;
    border-radius: 3px;
    background-color: #fff;
    color: #171717;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
}

body.single-exclusive_offer .exclusive-offer-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

body.single-exclusive_offer .exclusive-offer-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid #dedede;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 12px;
    text-decoration: none;
}

body.single-exclusive_offer .exclusive-offer-filter-chip:hover {
    border-color: #999;
    color: #111;
}

body.single-exclusive_offer .exclusive-offer-filter-chip span { font-size: 16px; line-height: 1; }

body.single-exclusive_offer .exclusive-offer-filter-reset-inline {
    margin-left: 4px;
    color: var(--exclusive-accent, #007f70);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Main filtered layout ------------------------------------------------- */
body.single-exclusive_offer .exclusive-offer-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: clamp(28px, 3vw, 48px);
    align-items: start;
}

body.single-exclusive_offer .exclusive-offer-layout--no-sidebar {
    grid-template-columns: minmax(0, 1fr);
}

body.single-exclusive_offer .exclusive-offer-results { min-width: 0; }

body.single-exclusive_offer .exclusive-offer-filters {
    position: sticky;
    top: calc(var(--exclusive-shell-height, 90px) + 24px);
    z-index: 10;
    max-height: calc(100vh - var(--exclusive-shell-height, 90px) - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    scrollbar-width: thin;
}

body.single-exclusive_offer .exclusive-offer-filters__mobile-header { display: none; }

body.single-exclusive_offer .exclusive-offer-filter-group {
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid #e9e9e9;
}

body.single-exclusive_offer .exclusive-offer-filter-group h3,
body.single-exclusive_offer .exclusive-offer-filter-group > label:first-child {
    display: block;
    margin: 0 0 13px;
    color: #171717;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

body.single-exclusive_offer .exclusive-offer-search-field {
    position: relative;
    display: flex;
}

body.single-exclusive_offer .exclusive-offer-search-field input {
    width: 100%;
    height: 44px;
    padding: 0 42px 0 12px;
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
}

body.single-exclusive_offer .exclusive-offer-search-field button {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #171717;
    font-size: 20px;
    cursor: pointer;
}

body.single-exclusive_offer .exclusive-offer-category-tree ul,
body.single-exclusive_offer .exclusive-offer-category-tree li {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.single-exclusive_offer .exclusive-offer-category-tree__level--1,
body.single-exclusive_offer .exclusive-offer-category-tree__level--2,
body.single-exclusive_offer .exclusive-offer-category-tree__level--3 {
    padding-left: 16px !important;
}


body.single-exclusive_offer .exclusive-offer-category-node--root + .exclusive-offer-category-node--root {
    margin-top: 2px;
}

body.single-exclusive_offer .exclusive-offer-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: start;
    gap: 4px;
}

body.single-exclusive_offer .exclusive-offer-category-row > label {
    min-width: 0;
}

body.single-exclusive_offer .exclusive-offer-category-toggle {
    position: relative;
    width: 28px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #252525;
    cursor: pointer;
}

body.single-exclusive_offer .exclusive-offer-category-toggle span::before,
body.single-exclusive_offer .exclusive-offer-category-toggle span::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 14px;
    width: 8px;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transition: transform .18s ease;
}

body.single-exclusive_offer .exclusive-offer-category-toggle span::before {
    transform: translateX(-2.5px) rotate(45deg);
}

body.single-exclusive_offer .exclusive-offer-category-toggle span::after {
    transform: translateX(2.5px) rotate(-45deg);
}

body.single-exclusive_offer .exclusive-offer-category-node--root.is-open > .exclusive-offer-category-row .exclusive-offer-category-toggle span::before {
    transform: translateX(-2.5px) rotate(-45deg);
}

body.single-exclusive_offer .exclusive-offer-category-node--root.is-open > .exclusive-offer-category-row .exclusive-offer-category-toggle span::after {
    transform: translateX(2.5px) rotate(45deg);
}

body.single-exclusive_offer .exclusive-offer-category-children[hidden] {
    display: none !important;
}

body.single-exclusive_offer .exclusive-offer-category-node--root > .exclusive-offer-category-row > label {
    font-weight: 500;
}

body.single-exclusive_offer .exclusive-offer-category-tree label,
body.single-exclusive_offer .exclusive-offer-brand-list label {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    margin: 0;
    padding: 6px 0;
    color: #3c3c3c;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}

body.single-exclusive_offer .exclusive-offer-category-tree input,
body.single-exclusive_offer .exclusive-offer-brand-list input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    accent-color: var(--exclusive-accent, #007f70);
}

body.single-exclusive_offer .exclusive-offer-category-tree small,
body.single-exclusive_offer .exclusive-offer-brand-list small {
    color: #888;
    font-size: 11px;
}

body.single-exclusive_offer .exclusive-offer-brand-list {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
}

body.single-exclusive_offer .exclusive-offer-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.single-exclusive_offer .exclusive-offer-price-fields label { margin: 0; }
body.single-exclusive_offer .exclusive-offer-price-fields span { display: block; margin-bottom: 5px; color: #777; font-size: 11px; }

body.single-exclusive_offer .exclusive-offer-price-fields input {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
}

body.single-exclusive_offer .exclusive-offer-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.single-exclusive_offer .exclusive-offer-filter-submit {
    width: 100%;
    min-height: 45px;
    padding: 10px 14px;
    border: 1px solid var(--exclusive-accent, #007f70);
    border-radius: 2px;
    background: var(--exclusive-accent, #007f70);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

body.single-exclusive_offer .exclusive-offer-filter-actions a {
    color: #555;
    font-size: 12px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.single-exclusive_offer .exclusive-offer-filter-backdrop { display: none; }

/* Product grid & pagination ------------------------------------------- */
body.single-exclusive_offer .exclusive-offer-products__grid > .products { margin-top: 0; }

body.single-exclusive_offer .exclusive-offer-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

body.single-exclusive_offer .exclusive-offer-empty,
body.single-exclusive_offer .exclusive-offer-status-message__inner {
    padding: 54px 24px;
    text-align: center;
    background: #fafafa;
}

body.single-exclusive_offer .exclusive-offer-empty__reset {
    display: inline-block;
    margin-top: 10px;
    color: var(--exclusive-accent, #007f70);
    font-weight: 600;
}

body.single-exclusive_offer .exclusive-offer-status-message { padding: 20px 0 90px; }
body.single-exclusive_offer .exclusive-offer-status-message h2 { margin: 0 0 12px; font-size: 28px; }
body.single-exclusive_offer .exclusive-offer-status-message p { margin: 0; color: #666; }
body.single-exclusive_offer .exclusive-offer-missing-plugin { padding-top: 80px; padding-bottom: 80px; }

/* Tablet/mobile: sidebar becomes an off-canvas drawer ----------------- */
@media (max-width: 991px) {
    body.single-exclusive_offer .exclusive-offer-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body.single-exclusive_offer .exclusive-offer-filter-toggle { display: inline-flex; }

    body.single-exclusive_offer .exclusive-offer-filters {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100002;
        width: min(390px, 92vw);
        height: 100dvh;
        max-height: none;
        overflow-y: auto;
        padding: 0 22px 28px;
        background: #fff;
        box-shadow: 20px 0 50px rgba(0,0,0,.16);
        transform: translateX(-104%);
        transition: transform .28s ease;
    }

    body.single-exclusive_offer.exclusive-offer-filters-open .exclusive-offer-filters {
        transform: translateX(0);
    }

    body.single-exclusive_offer .exclusive-offer-filters__mobile-header {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 -22px 24px;
        padding: 18px 22px;
        border-bottom: 1px solid #e9e9e9;
        background: #fff;
    }

    body.single-exclusive_offer .exclusive-offer-filters__mobile-header strong { font-size: 18px; }
    body.single-exclusive_offer .exclusive-offer-filters__mobile-header button { border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer; }

    body.single-exclusive_offer .exclusive-offer-filter-backdrop {
        position: fixed;
        inset: 0;
        z-index: 100001;
        display: block;
        visibility: hidden;
        background: rgba(0,0,0,.34);
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
    }

    body.single-exclusive_offer.exclusive-offer-filters-open .exclusive-offer-filter-backdrop {
        visibility: visible;
        opacity: 1;
    }

    body.single-exclusive_offer.exclusive-offer-filters-open { overflow: hidden; }
}

@media (max-width: 767px) {
    body.single-exclusive_offer .exclusive-offer-heading { padding: 38px 0 28px; }
    body.single-exclusive_offer .exclusive-offer-heading__title { font-size: 34px; line-height: 1.1; }
    body.single-exclusive_offer .exclusive-offer-breadcrumb { gap: 7px; font-size: 12px; }

    body.single-exclusive_offer .exclusive-offer-hero { padding: 18px 0 22px; }
    body.single-exclusive_offer .exclusive-offer-hero .container,
    body.single-exclusive_offer .exclusive-offer-info .container,
    body.single-exclusive_offer .exclusive-offer-intro .container,
    body.single-exclusive_offer .exclusive-offer-products .container,
    body.single-exclusive_offer .exclusive-offer-status-message .container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    body.single-exclusive_offer .exclusive-offer-hero__media {
        min-height: 390px;
        aspect-ratio: 4 / 5;
    }

    body.single-exclusive_offer .exclusive-offer-hero__content {
        width: calc(100% - 28px);
        padding: 28px 10px;
    }

    body.single-exclusive_offer .exclusive-offer-hero__content .exclusive-offer-heading__title {
        margin-top: 10px;
        font-size: clamp(32px, 10vw, 44px);
    }

    body.single-exclusive_offer .exclusive-offer-hero__subtitle {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
    }

    body.single-exclusive_offer .exclusive-offer-info { padding-bottom: 20px; }
    body.single-exclusive_offer .exclusive-offer-info__bar { flex-direction: column; }
    body.single-exclusive_offer .exclusive-offer-info__item { padding: 13px 16px; }
    body.single-exclusive_offer .exclusive-offer-info__item + .exclusive-offer-info__item::before {
        top: 0;
        bottom: auto;
        left: 12%;
        right: 12%;
        width: auto;
        height: 1px;
    }

    body.single-exclusive_offer .exclusive-offer-intro { padding: 2px 0 28px; }
    body.single-exclusive_offer .exclusive-offer-intro__content { font-size: 14px; line-height: 1.7; text-align: left; }
    body.single-exclusive_offer .exclusive-offer-products { padding: 4px 0 62px; }

    body.single-exclusive_offer .exclusive-offer-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    body.single-exclusive_offer .exclusive-offer-toolbar__left { justify-content: space-between; gap: 10px; }
    body.single-exclusive_offer .exclusive-offer-toolbar__count { font-size: 11px; text-align: right; }
    body.single-exclusive_offer .exclusive-offer-filter-toggle { flex: 0 0 auto; height: 44px; }
    body.single-exclusive_offer .exclusive-offer-ordering select { width: 100%; min-width: 0; height: 45px; }
    body.single-exclusive_offer .exclusive-offer-active-filters { margin-bottom: 16px; }
    body.single-exclusive_offer .exclusive-offer-filter-chip { font-size: 11px; }
}
