
@import url("partials/_parfume_horizontal_grid-wmxc-cz.css");

.parfume-category-intro {
    margin: 1.5rem 0 2.25rem;
    max-width: 56rem;

    @media (min-width: 1200px) {
        margin-top: 2.25rem;
    }
}

.parfume-category-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0;
}

.parfume-category-intro-copy {
    color: rgba(33, 28, 31, 0.68);
    font-size: 1.1rem;
    line-height: 1.55;
    margin: 1rem 0 0;
    max-width: 46rem;
}

.parfume-type-navigation {
    margin-bottom: 2.25rem;
}

.parfume-type-navigation-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
}

.parfume-type-navigation-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;

    @media (min-width: 768px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.parfume-type-navigation-link {
    align-items: center;
    border: 1px solid rgba(var(--logo-color-rgb), 0.16);
    border-radius: 0.8rem;
    color: var(--bs-body-color);
    display: flex;
    font-weight: 500;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.6rem 0.85rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.parfume-type-navigation-link:hover {
    background-color: rgba(var(--logo-color-rgb), 0.08);
    border-color: rgba(var(--logo-color-rgb), 0.35);
    color: var(--bs-body-color);
}

.parfume-type-navigation-link:focus-visible,
.parfume-brand-discovery-link:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(var(--logo-color-rgb), 0.3);
    outline: none;
}

.parfume-brand-discovery {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0.55rem;
}

.parfume-brand-discovery-label {
    color: rgba(33, 28, 31, 0.58);
    font-size: 0.9rem;
    margin-right: 0.45rem;
}

.parfume-brand-discovery-link {
    color: var(--logo-color);
    font-size: 0.9rem;
    line-height: 1.45;
    padding: 0.25rem 0;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.parfume-brand-discovery-separator {
    color: rgba(33, 28, 31, 0.35);
    margin: 0 0.45rem;
}

.search-results-and-filter {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.parfume-filter-zone {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* List heading + result count */
.parfume-list-header {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.85rem;
}

.parfume-list-title {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0;

    @media (max-width: 767.98px) {
        font-size: 1.5rem;
    }
}

.parfume-list-count {
    color: rgba(33, 28, 31, 0.55);
    font-size: 1rem;
    margin: 0;
}

/* Filter fields layout */
.parfume-filter-fields {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.parfume-filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.parfume-filter-field-label {
    color: rgba(33, 28, 31, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.parfume-filter-control {
    min-width: 11rem;
}

/* Price range */
.parfume-price-range {
    align-items: center;
    display: flex;
    gap: 0.4rem;
}

.parfume-price-range .form-control {
    max-width: 5.5rem;
}

.parfume-price-range-sep {
    color: rgba(33, 28, 31, 0.4);
}

/* Active filter chips */
.parfume-active-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.parfume-active-filters-label {
    color: rgba(33, 28, 31, 0.5);
    font-size: 0.85rem;
}

.parfume-chip {
    align-items: center;
    background-color: rgba(var(--logo-color-rgb), 0.14);
    border-radius: 999px;
    color: var(--bs-body-color);
    display: inline-flex;
    font-size: 0.85rem;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.parfume-chip:hover {
    background-color: rgba(var(--logo-color-rgb), 0.26);
    color: var(--bs-body-color);
}

.parfume-chip svg {
    opacity: 0.7;
}

.parfume-clear-all {
    color: rgba(33, 28, 31, 0.6);
    font-size: 0.85rem;
    text-decoration: underline;
}

.parfume-clear-all:hover {
    color: var(--bs-body-color);
}

/* Empty state */
.parfume-empty-state {
    align-items: center;
    color: rgba(33, 28, 31, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 3rem 1rem;
    text-align: center;
}

.parfume-empty-state svg {
    color: rgba(var(--logo-color-rgb), 0.65);
    margin-bottom: 0.5rem;
}

.parfume-empty-title {
    color: var(--bs-body-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.parfume-empty-text {
    margin: 0 0 0.75rem;
}

/* Pagination */
.parfume-pagination-summary {
    color: rgba(33, 28, 31, 0.5);
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}

.parfume-pagination .pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.parfume-pagination .page-item {
    margin: 0;
}

.parfume-pagination .page-link {
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(var(--logo-color-rgb), 0.22);
    border-radius: 999px;
    color: var(--bs-body-color);
    display: inline-flex;
    font-size: 0.95rem;
    height: 2.6rem;
    justify-content: center;
    margin: 0;
    min-width: 2.6rem;
    padding: 0 0.9rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.parfume-pagination .page-link:hover {
    background-color: rgba(var(--logo-color-rgb), 0.1);
    border-color: rgba(var(--logo-color-rgb), 0.4);
    color: var(--bs-body-color);
}

.parfume-pagination .page-link:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(var(--logo-color-rgb), 0.3);
    outline: none;
}

.parfume-pagination .page-item.active .page-link {
    background-color: rgba(var(--logo-color-rgb), 0.16);
    border-color: rgba(var(--logo-color-rgb), 0.5);
    color: var(--bs-body-color);
    font-weight: 600;
}

.parfume-pagination .page-item.disabled .page-link {
    background-color: transparent;
    border-color: rgba(var(--logo-color-rgb), 0.12);
    color: rgba(33, 28, 31, 0.35);
    cursor: not-allowed;
}

/* Ellipsis (a disabled middle item) reads as plain text, not a button */
.parfume-pagination .page-item.disabled:not(:first-child):not(:last-child) .page-link {
    border-color: transparent;
    min-width: 1.5rem;
    padding: 0 0.25rem;
}

/* Mobile: collapse to prev/next only — the summary line carries page context */
@media (max-width: 575.98px) {
    .parfume-pagination .page-item:not(:first-child):not(:last-child) {
        display: none;
    }

    .parfume-pagination .page-link {
        height: 2.75rem;
    }
}

/* Mobile filter drawer */
.filter-and-sort {
    @media (max-width: 767.98px) {
        background-color: #fff;
        bottom: 0;
        display: flex;
        gap: 1.25rem;
        left: 0;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1rem 1.15rem 2rem;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1050;
    }
}

.filter-title {
    border-bottom: 1px solid rgba(var(--logo-color-rgb), 0.18);
    color: var(--bs-body-color);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.75rem 0;
}

.parfume-apply-button {
    background-color: var(--logo-color);
    border: none;
    border-radius: 0.85rem;
    color: #fff;
    font-weight: 500;
    padding: 0.75rem 1rem;
    width: 100%;
}

.parfume-apply-button:hover {
    background-color: #bf78a0;
    color: #fff;
}

.parfume-filter-apply {
    margin-top: auto;
    padding-top: 0.5rem;
}

@media (max-width: 767.98px) {
    .parfume-filter-fields {
        align-items: stretch;
        flex-direction: column;
        gap: 1.25rem;
    }

    .parfume-filter-control,
    .parfume-filter-control .form-select {
        min-width: 0;
        width: 100%;
    }
}

.filter-button {
    border: 1px solid rgba(var(--aa-input-border-color-rgb), var(--aa-input-border-color-alpha));
    max-height: 44px;
}

/* Landing pages (gender, brand, collection) and the A–Ž brand index. */
.landing-breadcrumbs {
    font-size: 0.9rem;
    margin-top: 1.25rem;

    & ol {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin: 0;
    }

    & li + li::before {
        color: rgba(33, 28, 31, 0.4);
        content: "›";
        margin-right: 0.35rem;
    }

    & a {
        color: rgba(33, 28, 31, 0.68);
    }

    & [aria-current="page"] {
        color: rgba(33, 28, 31, 0.9);
    }
}

.landing-intro {
    margin-top: 1rem;
}

.landing-links {
    margin-bottom: 0.5rem;
}

/* Keeps each separator after its link, so a wrapped line never starts with a dot. */
.landing-link-item {
    white-space: nowrap;
}

.parfume-brand-discovery-link.is-current {
    color: var(--bs-body-color);
    font-weight: 600;
    text-decoration: none;
}

.brand-index-section {
    margin-bottom: 3rem;
}

.brand-index-heading {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.brand-index-popular {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;

    @media (min-width: 768px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    @media (min-width: 1200px) {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.brand-index-card {
    border: 1px solid rgba(var(--logo-color-rgb), 0.16);
    border-radius: 0.8rem;
    color: var(--bs-body-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.75rem 0.9rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;

    &:hover {
        background-color: rgba(var(--logo-color-rgb), 0.08);
        border-color: rgba(var(--logo-color-rgb), 0.35);
        color: var(--bs-body-color);
    }

    &:focus-visible {
        box-shadow: 0 0 0 0.2rem rgba(var(--logo-color-rgb), 0.3);
        outline: none;
    }
}

.brand-index-card-name {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.brand-index-card-count {
    color: rgba(33, 28, 31, 0.6);
    font-size: 0.9rem;
}

.brand-index-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.5rem;

    & a {
        align-items: center;
        border: 1px solid rgba(var(--logo-color-rgb), 0.2);
        border-radius: 0.5rem;
        color: var(--bs-body-color);
        display: inline-flex;
        font-weight: 600;
        justify-content: center;
        min-height: 2.25rem;
        min-width: 2.25rem;
        text-decoration: none;
    }

    & a:hover {
        background-color: rgba(var(--logo-color-rgb), 0.08);
    }
}

.brand-index-letter {
    margin-bottom: 1.75rem;
    scroll-margin-top: 1rem;
}

.brand-index-letter-title {
    border-bottom: 1px solid rgba(var(--logo-color-rgb), 0.2);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
}

.brand-index-list {
    column-gap: 2rem;
    columns: 2;
    margin: 0;

    @media (min-width: 768px) {
        columns: 3;
    }

    @media (min-width: 1200px) {
        columns: 4;
    }

    & li {
        break-inside: avoid;
        padding: 0.2rem 0;
    }

    & a {
        color: var(--bs-body-color);
    }
}

.brand-index-count,
.brand-index-alias {
    color: rgba(33, 28, 31, 0.5);
    font-size: 0.85rem;
    margin-left: 0.3rem;
}

/* Price pages ("Ženski parfemi do 50 €"): switchers, in-page filters, bottle prices on the cards
   and the buying guide under the listing. */
.price-landing-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;

    & li {
        background-color: rgba(var(--logo-color-rgb), 0.12);
        border-radius: 999px;
        color: #9c3f71;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 0.25rem 0.75rem;
    }
}

.price-landing-guide-link {
    color: rgba(33, 28, 31, 0.68);
    margin: 0.85rem 0 0;

    & a {
        color: #9c3f71;
    }
}

.price-landing-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: -0.75rem 0 1.25rem;
}

.price-landing-segments {
    border: 1px solid rgba(var(--logo-color-rgb), 0.35);
    border-radius: 999px;
    display: inline-flex;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.price-landing-segment {
    color: var(--bs-body-color);
    display: block;
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
        background-color: rgba(var(--logo-color-rgb), 0.12);
        color: var(--bs-body-color);
    }

    &.is-current {
        background-color: #9c3f71;
        color: #fff;
        font-weight: 600;
    }
}

.price-landing-filters {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

/* Chips on one row, menus on the next; on phones the chip rows scroll sideways rather than wrap. */
.price-landing-filter-row {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;

    @media (min-width: 768px) {
        align-items: flex-end;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.85rem 1.75rem;
    }
}

.price-landing-filter-row--selects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    @media (min-width: 768px) {
        display: flex;
    }
}

.price-landing-filter {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;

    @media (min-width: 768px) {
        &.price-landing-filter--select {
            width: 15rem;
        }
    }
}

.price-landing-filter-label {
    color: rgba(33, 28, 31, 0.55);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-landing-chips {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    overflow-x: auto;
    padding: 0 0 0.15rem;
    scrollbar-width: none;
}

.price-landing-chip {
    border: 1px solid rgba(var(--logo-color-rgb), 0.35);
    border-radius: 999px;
    color: var(--bs-body-color);
    display: inline-block;
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
        background-color: rgba(var(--logo-color-rgb), 0.12);
        color: var(--bs-body-color);
    }

    &[aria-current="true"] {
        background-color: rgba(var(--logo-color-rgb), 0.22);
        border-color: #9c3f71;
        font-weight: 600;
    }
}

.price-landing-list-header {
    margin-bottom: 0.25rem;
}

/* Card: the bottle the page prices the perfume by, and its price for 100 ml. */
.detailed-parfume-cards .parfume-card-bottle {
    align-items: center;
}

.parfume-card-bottle-size {
    background-color: rgba(var(--logo-color-rgb), 0.16);
    border-radius: 999px;
    color: #9c3f71;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.05rem 0.45rem;
}

.parfume-card-per-100 {
    color: rgba(33, 28, 31, 0.55);
    flex-basis: 100%;
    font-size: 0.8rem;
    order: 1;
}

.parfume-card-per-100 ~ .parfume-card-stores {
    order: 2;
}

.price-landing-guide {
    border-top: 1px solid rgba(var(--logo-color-rgb), 0.18);
    margin: 1rem 0 3rem;
    max-width: 48rem;
    padding-top: 0.5rem;
}

.price-landing-section {
    margin-top: 2.25rem;

    & h2 {
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        margin-bottom: 0.75rem;
    }

    & h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 1.5rem 0 0.5rem;
    }

    & p,
    & li,
    & dd,
    & dt {
        line-height: 1.6;
    }

    & a {
        color: var(--bs-body-color);
        text-decoration: underline;
        text-decoration-color: rgba(var(--logo-color-rgb), 0.8);
        text-underline-offset: 0.18em;
    }
}

.price-landing-lede {
    font-weight: 600;
}

.price-landing-picks {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.price-landing-pick {
    border: 1px solid rgba(var(--logo-color-rgb), 0.18);
    border-radius: 1rem;
    padding: 1rem 1.1rem 0.5rem;

    & h3 {
        margin: 0 0 0.15rem;
    }

    & ol {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    & li {
        border-top: 1px solid rgba(var(--logo-color-rgb), 0.12);
        display: flex;
        gap: 0.75rem;
        justify-content: space-between;
        padding: 0.55rem 0;
    }

    & li a {
        font-weight: 600;
        text-decoration: none;
    }

    & small {
        color: rgba(33, 28, 31, 0.55);
        display: block;
        font-size: 0.8rem;
    }
}

.price-landing-pick-note,
.price-landing-note {
    color: rgba(33, 28, 31, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.price-landing-note {
    margin-top: 0.5rem;
}

.price-landing-pick-price {
    flex-shrink: 0;
    text-align: right;
}

.price-landing-brands,
.price-landing-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;

    & a {
        border: 1px solid rgba(var(--logo-color-rgb), 0.35);
        border-radius: 999px;
        color: #9c3f71;
        display: inline-block;
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
        text-decoration: none;
    }

    & a:hover {
        background-color: rgba(var(--logo-color-rgb), 0.12);
    }

    & span {
        color: rgba(33, 28, 31, 0.55);
        margin-left: 0.2rem;
    }
}

.price-landing-example {
    background-color: rgba(var(--logo-color-rgb), 0.08);
    border-left: 3px solid var(--logo-color);
    border-radius: 0 0.6rem 0.6rem 0;
    padding: 0.65rem 0.9rem;
}

.price-landing-choices {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0 0;

    & div {
        background-color: rgba(var(--logo-color-rgb), 0.07);
        border-radius: 0.7rem;
        display: grid;
        gap: 0.15rem 1rem;
        padding: 0.6rem 0.9rem;

        @media (min-width: 576px) {
            grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
        }
    }

    & dt {
        font-weight: 400;
    }

    & dd {
        margin: 0;
    }

    & strong {
        color: #9c3f71;
    }
}

.price-landing-checks {
    list-style: none;
    margin: 0;
    padding: 0;

    & li {
        padding: 0 0 0.75rem 1.9rem;
        position: relative;
    }

    & li::before {
        background-color: #9c3f71;
        border-radius: 50%;
        content: "";
        height: 1.1rem;
        left: 0;
        position: absolute;
        top: 0.25rem;
        width: 1.1rem;
    }

    & li::after {
        border: solid #fff;
        border-width: 0 2px 2px 0;
        content: "";
        height: 0.55rem;
        left: 0.38rem;
        position: absolute;
        top: 0.4rem;
        transform: rotate(45deg);
        width: 0.3rem;
    }
}

.price-landing-faq h3 {
    margin-top: 1.25rem;
}
