/**
 * ELFER — خۇشپۇراق تۈرلىرى (luxury notes)
 */

.lux-notes-page .lux-notes-hero {
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
    padding-bottom: clamp(20px, 3vw, 32px);
    border-bottom: 1px solid var(--lux-line, rgba(201, 164, 92, 0.2));
}

.lux-notes-page .lux-page-sub {
    max-width: 560px;
    margin-inline: auto;
}

.lux-notes-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 12px;
    color: var(--lux-muted);
}

.lux-notes-breadcrumb a {
    color: var(--lux-gold);
    text-decoration: none;
}

.lux-notes-breadcrumb a:hover {
    text-decoration: underline;
}

.lux-notes-breadcrumb .bi {
    font-size: 10px;
    opacity: 0.5;
}

.lux-notes-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

@media (min-width: 640px) {
    .lux-notes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lux-notes-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

.lux-note-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--lux-line, rgba(201, 164, 92, 0.16));
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lux-note-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 173, 106, 0.38);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
}

.lux-note-card__media {
    position: relative;
    height: 190px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0;
    padding: 0;
    background: #11100d;
}

.lux-note-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
    pointer-events: none;
}

.lux-note-card__thumb {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    box-shadow: none;
}

.lux-note-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-note-card__icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.55);
}

.lux-note-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.lux-note-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.lux-note-card__title {
    margin: 0;
    font-family: var(--font-serif, Georgia, serif);
    font-size: 1.12rem;
    color: var(--lux-heading, #f0d19a);
    line-height: 1.35;
}

.lux-note-card__tag {
    flex-shrink: 0;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: #fff;
    opacity: 0.92;
}

.lux-note-card__desc {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--lux-muted);
}

.lux-note-card__samples {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lux-note-card__sample {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(216, 173, 106, 0.2);
    color: var(--lux-muted);
    background: rgba(216, 173, 106, 0.06);
}

.lux-note-card__more {
    margin-top: auto;
    font-size: 11px;
    color: var(--lux-gold);
}

/* Category detail */
.lux-note-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 180px;
    display: flex;
    align-items: flex-end;
    border: 1px solid var(--lux-line);
}

.lux-note-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.lux-note-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
}

.lux-note-hero__content {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 4vw, 36px);
    max-width: 640px;
}

.lux-note-hero__kicker {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lux-gold);
    margin-bottom: 8px;
}

.lux-note-hero__title {
    margin: 0 0 10px;
    font-family: var(--font-serif, Georgia, serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
}

.lux-note-hero__sub {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.lux-note-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.lux-note-chip {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid rgba(216, 173, 106, 0.22);
    color: var(--lux-muted);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lux-note-chip:hover,
.lux-note-chip.is-active {
    border-color: rgba(216, 173, 106, 0.45);
    color: var(--lux-gold);
    background: rgba(216, 173, 106, 0.1);
}

.lux-notes-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.lux-notes-section-head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--lux-heading);
}

.lux-notes-section-head a {
    font-size: 12px;
    color: var(--lux-gold);
    text-decoration: none;
}

.lux-notes-section-head a:hover {
    text-decoration: underline;
}

.lux-notes-perfume-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (min-width: 768px) {
    .lux-notes-perfume-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (min-width: 1100px) {
    .lux-notes-perfume-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.lux-notes-empty {
    text-align: center;
    padding: 56px 24px;
    border-radius: 16px;
    border: 1px dashed rgba(201, 164, 92, 0.25);
    background: rgba(255, 255, 255, 0.02);
    color: var(--lux-muted);
}

.lux-notes-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.35;
    color: var(--lux-gold);
}

body.elfer-day:not(.elfer-admin-ug) .lux-notes-page .lux-note-card,
body.elfer-day:not(.elfer-admin-ug) .lux-notes-empty {
    background: var(--lux-panel);
    border-color: var(--lux-line);
}

[dir="rtl"] .lux-notes-breadcrumb {
    direction: rtl;
}

[dir="rtl"] .lux-note-card__more .bi-arrow-right::before,
[dir="rtl"] .lux-notes-section-head a .bi-arrow-right::before {
    transform: scaleX(-1);
}
