/* ============================================================
   PERFUME SINGLE — Ultra Premium UI  (RTL / Mobile-First)
   ============================================================ */
#perfume-single-top-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.25rem 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

@media (min-width: 900px) {
    #perfume-single-top-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 2.5rem 2rem 3rem;
        align-items: start;
    }
}

/* ---------- Gallery Column ---------- */
.pf-gallery-col {
    position: sticky;
    top: 1.5rem;
}

/* Main image container */
.pf-main-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1208 0%, #0d0d0d 60%, #1a1208 100%);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 1px rgba(245, 158, 11, .12),
        0 8px 32px rgba(0, 0, 0, .6),
        0 0 80px rgba(245, 158, 11, .06);
}

/* Animated glow */
.pf-image-glow {
    position: absolute;
    inset: -30%;
    background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, .12) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.pf-main-link {
    display: block;
    width: 100%;
    height: 100%;
}

.pf-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform .5s cubic-bezier(.25, .8, .25, 1), filter .5s ease;
    filter: drop-shadow(0 8px 24px rgba(245, 158, 11, .18));
}

.pf-main-image-wrap:hover .pf-main-img {
    transform: scale(1.04);
    filter: drop-shadow(0 12px 32px rgba(245, 158, 11, .30));
}

/* Zoom hint badge */
.pf-zoom-hint {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(245, 158, 11, .15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    opacity: 0;
    transition: opacity .3s ease;
}

.pf-main-image-wrap:hover .pf-zoom-hint {
    opacity: 1;
}

/* Thumbnails */
.pf-thumbnails {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scrollbar-width: none;
}

.pf-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    flex-shrink: 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .06);
    background: #111;
    cursor: pointer;
    padding: 0;
    width: 72px;
    height: 72px;
    transition: border-color .25s, transform .25s;
}

@media (min-width: 480px) {
    .thumbnail-item {
        width: 80px;
        height: 80px;
    }
}

.thumbnail-item:hover {
    border-color: rgba(245, 158, 11, .5);
    transform: translateY(-2px);
}

.thumbnail-item.active {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .15);
}

.pf-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s;
}

.thumbnail-item:not(.active) .pf-thumb-img {
    opacity: .65;
}

.thumbnail-item.active .pf-thumb-img,
.thumbnail-item:hover .pf-thumb-img {
    opacity: 1;
}

/* Active indicator line */
.thumb-active-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.thumbnail-item.active .thumb-active-bar {
    transform: scaleX(1);
}

/* ---------- Info Column ---------- */
.pf-info-col {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

/* Breadcrumb */
.pf-breadcrumb {
    font-size: .75rem;
    color: rgba(204, 204, 204, .5);
}

.pf-breadcrumb #breadcrumbs,
.pf-breadcrumb #breadcrumbs a {
    color: #bbb;
    text-decoration: none;
    transition: color .2s;
}

.pf-breadcrumb #breadcrumbs a:hover {
    color: var(--main-color);
}

/* Category badge */
.pf-cat-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-color);
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .25);
    width: max-content;
    border-radius: 100px;
    padding: .28rem .85rem;
    margin-bottom: .4rem;
    transition: background .25s, border-color .25s;
}

.pf-cat-badge:hover {
    background: rgba(245, 158, 11, .16);
    color: var(--main-color);
    border-color: var(--main-color);
}

/* Title */
.pf-title {
    font-size: clamp(1.5rem, 4.5vw, 1.7rem);
    line-height: 1.3;
    margin: 0;
}

/* Rating */
.pf-rating {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.pf-stars {
    display: flex;
    gap: .15rem;
}

.pf-star {
    font-size: 1.1rem;
    line-height: 1;
}

.pf-star.full {
    color: var(--main-color);
}

.pf-star.half {
    color: var(--main-color);
    position: relative;
    filter: drop-shadow(0 0 4px rgba(245, 158, 11, .5));
}

.pf-star.empty {
    color: rgb(245 158 11 / 59%);
}

.pf-rating-val {
    font-size: .9rem;
    font-weight: 700;
    color: var(--main-color);
}

.pf-rating-sep {
    color: rgba(204, 204, 204, .3);
    font-size: .8rem;
}

.pf-rating-max {
    font-size: .8rem;
    color: #bbb;
}

/* Divider */
.pf-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, .25), transparent);
    margin: .25rem 0;
}

/* ---------- Specs ---------- */
.pf-specs-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: .5rem;
    line-height: 1;
    margin: 0 0 1rem;
}

.pf-specs-icon {
    color: var(--main-color);
    opacity: .7;
}

.pf-specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.pf-spec-item {
    display: grid;
    grid-template-columns: 20px auto 1fr;
    align-items: center;
    gap: .5rem .7rem;
    padding: .65rem .85rem;
    border-radius: 12px;
    background: #ebd1a512;
    border: 1px solid #f59e0b59;
    transition: background .2s, border-color .2s;
}

.pf-spec-item:hover {
    background: #f59e0b45;
    border-color: #f59e0b6b;
}

.pf-spec-icon {
    color: var(--main-color);
    opacity: .6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-spec-label {
    font-size: .78rem;
    font-weight: 600;
    color: rgb(223 199 158);
    white-space: nowrap;
}

.pf-spec-value {
    font-size: .82rem;
    color: #fff;
    text-align: left;
    direction: ltr;
    unicode-bidi: plaintext;
}

.pf-spec-value a {
    color: #fff;
    text-decoration: none;
    transition: color .2s;
}

.pf-spec-value a:hover {
    color: var(--main-color);
}

.pf-spec-na {
    color: rgba(204, 204, 204, .25);
    font-size: .85rem;
}

/* ============================================================
   PERFUME SINGLE — Light Theme Overrides
   ============================================================ */

/* ---------- Main image container ---------- */
[data-theme="light"] .pf-main-image-wrap {
    background: linear-gradient(135deg, #fdf6ea 0%, #f5edd8 60%, #fdf6ea 100%);
    box-shadow: none;
}

[data-theme="light"] .pf-image-glow {
    background: radial-gradient(ellipse at 50% 50%, rgba(196, 125, 14, .10) 0%, transparent 70%);
}

[data-theme="light"] .pf-main-img {
    filter: drop-shadow(0 8px 24px rgba(196, 125, 14, .15));
}

[data-theme="light"] .pf-main-image-wrap:hover .pf-main-img {
    filter: drop-shadow(0 12px 32px rgba(196, 125, 14, .28));
}

[data-theme="light"] .pf-zoom-hint {
    background: rgba(196, 125, 14, .12);
    border-color: rgba(196, 125, 14, .30);
    color: #c47d0e;
}

/* ---------- Thumbnails ---------- */
[data-theme="light"] .thumbnail-item {
    border-color: rgba(100, 60, 20, .12);
    background: #f5edd8;
}

[data-theme="light"] .thumbnail-item:hover {
    border-color: rgba(196, 125, 14, .5);
}

[data-theme="light"] .thumbnail-item.active {
    border-color: #c47d0e;
    box-shadow: 0 0 0 3px rgba(196, 125, 14, .15);
}

[data-theme="light"] .thumbnail-item:not(.active) .pf-thumb-img {
    opacity: .75;
}

/* ---------- Info column ---------- */

/* Breadcrumb */
[data-theme="light"] .pf-breadcrumb,
[data-theme="light"] .pf-breadcrumb #breadcrumbs,
[data-theme="light"] .pf-breadcrumb #breadcrumbs a {
    color: rgba(44, 24, 16, .5);
}

[data-theme="light"] .pf-breadcrumb #breadcrumbs a:hover {
    color: #c47d0e;
}

/* Category badge */
[data-theme="light"] .pf-cat-badge {
    color: #c47d0e;
    background: rgba(196, 125, 14, .08);
    border-color: rgba(196, 125, 14, .28);
}

[data-theme="light"] .pf-cat-badge:hover {
    background: rgba(196, 125, 14, .16);
    border-color: #c47d0e;
    color: #8b5a00;
}

/* Title */
[data-theme="light"] .pf-title {
    color: #1a0e08;
}

/* Rating */
[data-theme="light"] .pf-star.full,
[data-theme="light"] .pf-star.half {
    color: #c47d0e;
    filter: drop-shadow(0 0 4px rgba(196, 125, 14, .35));
}

[data-theme="light"] .pf-star.empty {
    color: rgba(196, 125, 14, .22);
}

[data-theme="light"] .pf-rating-val {
    color: #c47d0e;
}

[data-theme="light"] .pf-rating-sep {
    color: rgba(44, 24, 16, .3);
}

[data-theme="light"] .pf-rating-max {
    color: rgba(44, 24, 16, .4);
}

/* Divider */
[data-theme="light"] .pf-divider {
    background: linear-gradient(90deg, transparent, rgba(196, 125, 14, .28), transparent);
}

/* ---------- Specs ---------- */
[data-theme="light"] .pf-specs-title {
    color: #c47d0e;
}

[data-theme="light"] .pf-specs-icon {
    color: #c47d0e;
}

[data-theme="light"] .pf-spec-item {
    background: rgba(196, 125, 14, .06);
    border-color: rgba(196, 125, 14, .20);
}

[data-theme="light"] .pf-spec-item:hover {
    background: rgba(196, 125, 14, .12);
    border-color: rgba(196, 125, 14, .35);
}

[data-theme="light"] .pf-spec-icon {
    opacity: 1;
}

[data-theme="light"] .pf-spec-label {
    color: #7a5c44;
}

[data-theme="light"] .pf-spec-value {
    color: #1a0e08;
}

[data-theme="light"] .pf-spec-value a {
    color: #2c1810;
}

[data-theme="light"] .pf-spec-value a:hover {
    color: #c47d0e;
}

[data-theme="light"] .pf-spec-na {
    color: rgba(44, 24, 16, .28);
}




/* ═══════════════════════════════════════════
   PF ACCORDS — Ultra Premium
   Mobile First
═══════════════════════════════════════════ */

.pf-accords-section {
    direction: rtl;
    padding: 2.5rem 1rem 2rem;
    position: relative;
    overflow: hidden;
}

/* decorative ambient blur */
.pf-accords-section::before {
    content: '';
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse 60% 40% at 50% 0%,
            rgba(245, 158, 11, .07) 0%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Header ── */
.pf-accords-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pf-accords-eyebrow {
    display: inline-block;
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--main-color);
    opacity: .75;
    margin-bottom: .45rem;
}


.pf-accords-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 .4rem;
    line-height: 1.3;
}

.pf-accords-sub {
    font-size: .78rem;
    color: rgba(204, 204, 204, .45);
    margin: 0;
}

/* ── Grid ── */
.pf-accords-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem .8rem;
    position: relative;
    z-index: 1;
}

/* ── Card ── */
.accord-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    padding: .75rem .4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .045);
    transition: background .3s, border-color .3s, transform .3s;
    cursor: default;
}

.accord-card:hover {
    background: rgba(245, 158, 11, .05);
    border-color: rgba(245, 158, 11, .15);
    transform: translateY(-3px);
}

/* ── Ring ── */
.accord-ring-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.accord-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.accord-track {
    stroke: rgba(255, 255, 255, .06);
}

.accord-progress {
    transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1);
    filter: drop-shadow(0 0 4px currentColor);
}

.accord-progress-glow {
    transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1);
    opacity: .25;
    filter: blur(2px);
}

/* inner label */
.accord-ring-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

.accord-percent-val {
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.accord-percent-sym {
    font-size: 1rem;
    color: rgb(255 255 255);
    margin-top: .1rem;
}

/* ── Name ── */
.accord-name {
    font-size: .72rem;
    color: var(--main-text-color);
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

/* ── Empty state ── */
.pf-accords-empty {
    color: rgba(204, 204, 204, .35);
    text-align: center;
    font-size: .85rem;
    padding: 2rem 0;
}

/* ═══════════════════════
   Tablet — 480px+
═══════════════════════ */
@media (min-width: 480px) {
    .pf-accords-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.4rem 1rem;
    }

    .accord-ring-wrap {
        width: 88px;
        height: 88px;
    }

    .accord-percent-val {
        font-size: .9rem;
    }

    .accord-name {
        font-size: .75rem;
    }
}

/* ═══════════════════════
   Desktop — 768px+
═══════════════════════ */
@media (min-width: 768px) {
    .pf-accords-section {
        padding: 3rem 1.5rem 2.5rem;
    }

    .pf-accords-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.8rem 1.2rem;
    }

    .accord-ring-wrap {
        width: 100px;
        height: 100px;
    }

    .accord-percent-val {
        font-size: 1rem;
    }

    .accord-name {
        font-size: .8rem;
    }

    .accord-card {
        padding: 1rem .6rem;
        border-radius: 18px;
    }
}

/* ═══════════════════════
   Large — 1100px+
═══════════════════════ */
@media (min-width: 1100px) {
    .pf-accords-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .accord-ring-wrap {
        width: 110px;
        height: 110px;
    }
}

/* ═══════════════════════════════════════════
   PF ACCORDS — Light Theme Overrides
═══════════════════════════════════════════ */

/* decorative ambient blur */
[data-theme="light"] .pf-accords-eyebrow {
    opacity: 1;
}

[data-theme="light"] .pf-accords-section::before {
    background: radial-gradient(ellipse 60% 40% at 50% 0%,
            rgba(196, 125, 14, .10) 0%,
            transparent 70%);
}

/* ── Header ── */
[data-theme="light"] .pf-accords-title {
    color: #1a0e08;
}

[data-theme="light"] .pf-accords-sub {
    color: rgba(44, 24, 16, .45);
}

/* ── Card ── */
[data-theme="light"] .accord-card {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .14);
}

[data-theme="light"] .accord-card:hover {
    background: rgba(196, 125, 14, .10);
    border-color: rgba(196, 125, 14, .30);
}

[data-theme="light"] .accord-progress {
    filter: none;
}

/* ── Ring track ── */
[data-theme="light"] .accord-track {
    stroke: rgba(100, 60, 20, .12);
}

/* ── Inner label ── */
[data-theme="light"] .accord-percent-val {
    color: #1a0e08;
}

[data-theme="light"] .accord-percent-sym {
    color: #2c1810;
}

/* ── Name ── */
[data-theme="light"] .accord-name {
    color: #7a5c44;
}

/* ── Empty state ── */
[data-theme="light"] .pf-accords-empty {
    color: rgba(44, 24, 16, .35);
}





/* ─── Variables ─────────────────────────────────── */
.scent-pyramid {
    --gold: var(--main-color, #f59e0b);
    --gold-dim: color-mix(in srgb, var(--gold) 18%, transparent);
    --gold-glow: color-mix(in srgb, var(--gold) 35%, transparent);
    --surface: rgba(255, 255, 255, .03);
    --border: rgba(255, 255, 255, .07);
    --text: var(--main-text-color, #ccc);

    position: relative;
    padding: 3rem 1rem 4rem;
    direction: rtl;
    overflow: hidden;
}

/* ─── Header ─────────────────────────────────────── */
.scent-pyramid__header {
    text-align: center;
    margin-bottom: 3rem;
}

.scent-pyramid__eyebrow {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
    margin-bottom: .5rem;
}

.scent-pyramid__title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 .5rem;
    letter-spacing: .02em;
}

.scent-pyramid__desc {
    font-size: .85rem;
    color: var(--text);
    opacity: .7;
    margin: 0 0 1.5rem;
}

.scent-pyramid__line {
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0 auto;
}

/* ─── Body: هرم ──────────────────────────────────── */
.scent-pyramid__body {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* ─── Tier shell ─────────────────────────────────── */
.scent-tier {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* هر tier یه عرض clip-path متفاوت داره — هرم واقعی */
.scent-tier__shell {
    flex: 1;
    background: #f59e0b14;
    border: 1px solid #f59e0b5e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 1.25rem 1.5rem 1rem;
    position: relative;
    transition: background .3s;
    opacity: 0;
    transform: translateY(20px);
    animation: tierIn .6s ease forwards;
}

.scent-tier--t1 .scent-tier__shell {
    animation-delay: .1s;
    border-radius: 1rem 1rem .5rem .5rem;
}

.scent-tier--t2 .scent-tier__shell {
    animation-delay: .25s;
    border-radius: .5rem;
}

.scent-tier--t3 .scent-tier__shell {
    animation-delay: .4s;
    border-radius: .5rem .5rem 1rem 1rem;
}

.scent-tier__shell::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--gold-dim), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.scent-tier__shell:hover::before {
    opacity: 1;
}

/* Desktop: مثل هرم واقعی — tier1 باریک‌تر، tier3 پهن‌تر */
@media (min-width: 768px) {
    .scent-tier--t1 .scent-tier__shell {
        margin-inline: 15%;
    }

    .scent-tier--t2 .scent-tier__shell {
        margin-inline: 7%;
    }

    .scent-tier--t3 .scent-tier__shell {
        margin-inline: 0;
    }

    /* خط جداکننده بین tierها */
    .scent-tier--t2 .scent-tier__shell,
    .scent-tier--t3 .scent-tier__shell {
        border-top: none;
        border-top: 1px dashed var(--border);
    }
}

/* ─── Label Row ──────────────────────────────────── */
.scent-tier__label-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.scent-tier__icon {
    font-size: 1.4rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

.scent-tier__label {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.scent-tier__sub {
    display: block;
    font-size: .65rem;
    font-style: normal;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
    line-height: 1;
    margin-top: 7px;
}

.scent-tier__badge {
    margin-right: 10px;
    font-size: .65rem;
    padding: .2rem .55rem;
    border-radius: 99px;
    background: var(--gold-dim);
    border: 1px solid var(--gold);
    color: var(--gold);
    white-space: nowrap;
    opacity: .8;
}

/* ─── Note Grid ──────────────────────────────────── */
.scent-notes {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
}

/* ─── Single Note ────────────────────────────────── */
.scent-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .45rem;
    opacity: 0;
    animation: noteIn .5s ease forwards;
    animation-delay: calc(.4s + var(--i, 0) * .07s);
    cursor: default;
}

.scent-note:hover .scent-note__img-wrap {
    transform: translateY(-4px) scale(1.06);
}

.scent-note:hover .scent-note__glow {
    opacity: 1;
}

.scent-note__img-wrap {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), border-color .3s;
}

.scent-note:hover .scent-note__img-wrap {
    border-color: var(--gold);
}

.scent-note__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.scent-note__img-placeholder {
    font-size: 1.2rem;
    color: var(--gold);
    opacity: .5;
}

.scent-note__glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    box-shadow: 0 0 14px var(--gold-glow);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.scent-note__name {
    font-size: .72rem;
    color: var(--text);
    text-align: center;
    max-width: 64px;
    line-height: 1.3;
    word-break: break-word;
}

/* ─── Deco number ────────────────────────────────── */
.scent-tier__deco {
    width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scent-tier__num {
    font-size: .6rem;
    letter-spacing: .2em;
    color: var(--gold);
    opacity: .2;
    writing-mode: vertical-rl;
    font-weight: 700;
}

/* ─── Spine (decorative vertical line) ──────────── */
.scent-pyramid__spine {
    display: none;
}

@media (min-width: 768px) {
    .scent-pyramid__spine {
        display: block;
        position: absolute;
        left: 1.5rem;
        top: 9rem;
        bottom: 2rem;
    }

    .scent-pyramid__spine-line {
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, var(--gold-dim), var(--gold-glow), var(--gold-dim));
    }

    .scent-pyramid__spine-dot {
        position: absolute;
        left: calc(50% - 7px);
        width: 15px;
        height: 15px;
        border-radius: 50%;
        background: var(--gold);
        opacity: .5;
    }

    .scent-pyramid__spine-dot--t {
        top: 0;
    }

    .scent-pyramid__spine-dot--m {
        top: 50%;
        margin-top: -3px;
    }

    .scent-pyramid__spine-dot--b {
        bottom: 0;
    }
}

/* ─── Empty ──────────────────────────────────────── */
.scent-tier__empty {
    color: var(--text);
    opacity: .3;
    font-size: 1.2rem;
    margin: 0;
}

/* ─── Animations ─────────────────────────────────── */
@keyframes tierIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes noteIn {
    from {
        opacity: 0;
        transform: scale(.7) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ─── Mobile First adjustments ───────────────────── */
@media (max-width: 480px) {
    .scent-pyramid {
        padding: 2rem .75rem 2.5rem;
    }

    .scent-tier__deco {
        display: none;
    }

    .scent-note__img-wrap {
        width: 52px;
        height: 52px;
    }

    /* موبایل: هر ردیف اسکرول افقی برای نت‌ها */
    .scent-notes {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .scent-notes::-webkit-scrollbar {
        display: none;
    }

    .scent-note {
        flex-shrink: 0;
        scroll-snap-align: start;
    }
}

/* ═══════════════════════════════════════════
   SCENT PYRAMID — Light Theme Overrides
═══════════════════════════════════════════ */

[data-theme="light"] .scent-pyramid {
    --surface: rgba(196, 125, 14, .03);
    --border:  rgba(196, 125, 14, .14);
    --text:    #5a3e2b;
}

/* ─── Header ─────────────────────────────────────── */
[data-theme="light"] .scent-pyramid__title {
    color: #1a0e08;
}

[data-theme="light"] .scent-pyramid__desc {
    color: #5a3e2b;
    opacity: .75;
}

[data-theme="light"] .scent-pyramid__eyebrow {
    opacity: .85;
}

/* ─── Tier Shell ─────────────────────────────────── */
[data-theme="light"] .scent-tier__shell {
    background: rgba(196, 125, 14, .05);
    border-color: rgba(196, 125, 14, .20);
}

[data-theme="light"] .scent-tier__shell:hover {
    background: rgba(196, 125, 14, .09);
}

[data-theme="light"] .scent-tier--t2 .scent-tier__shell,
[data-theme="light"] .scent-tier--t3 .scent-tier__shell {
    border-top-color: rgba(196, 125, 14, .15);
}

/* ─── Tier Labels ────────────────────────────────── */
[data-theme="light"] .scent-tier__label {
    color: #1a0e08;
}

[data-theme="light"] .scent-tier__sub {
    opacity: .85;
}

[data-theme="light"] .scent-tier__badge {
    opacity: 1;
}

[data-theme="light"] .scent-tier__num {
    opacity: .18;
}

/* ─── Note Items ─────────────────────────────────── */
[data-theme="light"] .scent-note__img-wrap {
    background: rgba(196, 125, 14, .07);
    border-color: rgba(196, 125, 14, .18);
}

[data-theme="light"] .scent-note:hover .scent-note__img-wrap {
    border-color: var(--gold);
    background: rgba(196, 125, 14, .13);
}

[data-theme="light"] .scent-note__img-placeholder {
    opacity: .6;
}

[data-theme="light"] .scent-note__name {
    color: #5a3e2b;
}

/* ─── Spine ──────────────────────────────────────── */
[data-theme="light"] .scent-pyramid__spine-dot {
    opacity: .4;
}

/* ─── Empty ──────────────────────────────────────── */
[data-theme="light"] .scent-tier__empty {
    color: #5a3e2b;
    opacity: .35;
}





/* ═══════════════════════════════════════════════════════════════
   PMETA — Ultra Premium Fragrance Meta Cards
   Mobile-first | Glassmorphism | Dark Luxury
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom props ─────────────────────────────────────────────── */
.pmeta {
    --pm-gold:    #f59e0b;
    --pm-gold-2:  #fbbf24;
    --pm-gold-d:  #d97706;
    --pm-glass:   rgba(255,255,255,.04);
    --pm-glass-b: rgba(255,255,255,.08);
    --pm-border:  rgba(255,255,255,.09);
    --pm-border-h:rgba(245,158,11,.45);
    --pm-text:    #ccc;
    --pm-text-2:  rgba(204,204,204,.6);
    --pm-radius:  20px;
    --pm-radius-s:12px;
    --pm-shadow:  0 8px 32px rgba(0,0,0,.45);
    --pm-shadow-h:0 16px 48px rgba(0,0,0,.6);
    --pm-font:    'IRANSans', system-ui, sans-serif;
    --pm-font-en: 'Montserrat', 'Segoe UI', sans-serif;

    position: relative;
    width: 100%;
    padding: 12px 0 24px;
    font-family: var(--pm-font);
    overflow: hidden;
    isolation: isolate;
}

/* ── Ambient orbs ─────────────────────────────────────────────── */
.pmeta__ambient { position:absolute; inset:0; pointer-events:none; z-index:0; }
.pmeta__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .18;
    animation: orbFloat 8s ease-in-out infinite;
}
.pmeta__orb--a {
    width:220px; height:220px;
    background: radial-gradient(circle, var(--pm-gold) 0%, transparent 70%);
    top:-60px; right:-60px;
    animation-delay: 0s;
}
.pmeta__orb--b {
    width:180px; height:180px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    bottom:-40px; left:-40px;
    animation-delay: -3s;
}
.pmeta__orb--c {
    width:140px; height:140px;
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    top:50%; left:50%;
    transform: translate(-50%,-50%);
    animation-delay: -6s;
}
@keyframes orbFloat {
    0%,100% { transform: translateY(0) scale(1); }
    33%      { transform: translateY(-20px) scale(1.08); }
    66%      { transform: translateY(12px) scale(.94); }
}

/* ── Grid ─────────────────────────────────────────────────────── */
.pmeta__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 16px;
}

/* ── Base card ────────────────────────────────────────────────── */
.pmeta-card {
    position: relative;
    background: var(--pm-glass);
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius);
    padding: 20px 18px;
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: var(--pm-shadow),
                inset 0 1px 0 rgba(255,255,255,.07);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1),
                box-shadow .3s ease,
                border-color .3s ease;
    animation: cardIn .55s cubic-bezier(.22,1,.36,1) both;
    animation-delay: var(--card-delay, 0s);
    will-change: transform;
}
.pmeta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg,
        rgba(255,255,255,.06) 0%,
        transparent 50%,
        rgba(255,255,255,.02) 100%);
    pointer-events: none;
}
.pmeta-card:hover {
    transform: translateY(-4px) scale(1.008);
    box-shadow: var(--pm-shadow-h),
                0 0 0 1px var(--pm-border-h),
                inset 0 1px 0 rgba(255,255,255,.1);
    border-color: rgba(245,158,11,.3);
}
@keyframes cardIn {
    from { opacity:0; transform: translateY(22px) scale(.97); }
    to   { opacity:1; transform: translateY(0) scale(1); }
}

/* ── Card header ──────────────────────────────────────────────── */
.pmeta-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.pmeta-card__eyebrow {
    font-family: var(--pm-font-en);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pm-gold);
    opacity: .85;
    white-space: nowrap;
}
.pmeta-card__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(245,158,11,.4) 0%,
        rgba(245,158,11,.08) 60%,
        transparent 100%);
}

/* ═══ GENDER CARD ═════════════════════════════════════════════ */
.pmeta-gender-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pmeta-gender-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 140px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--pm-radius-s);
    padding: 14px 16px;
    transition: background .25s, border-color .25s, transform .25s;
    animation: itemIn .45s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--card-delay, 0s) + var(--i, 0) * .07s);
}
.pmeta-gender-item:hover {
    background: rgba(255,255,255,.07);
    border-color: var(--gc, rgba(255,255,255,.15));
    transform: translateX(-3px);
}
.pmeta-gender-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid currentColor;
    border-opacity: .2;
    transition: box-shadow .3s;
}
.pmeta-gender-item:hover .pmeta-gender-icon-wrap {
    box-shadow: 0 0 20px var(--gg, rgba(255,255,255,.2));
}
.pmeta-gender-halo {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, currentColor 0%, transparent 40%, currentColor 100%);
    opacity: .15;
    animation: haloPulse 3s linear infinite;
}
@keyframes haloPulse {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.pmeta-gender-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.pmeta-gender-label {
    font-size: 16px;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.2;
}
.pmeta-gender-en {
    font-family: var(--pm-font-en);
    font-size: 11px;
    font-weight: 500;
    color: var(--pm-text-2);
    letter-spacing: .06em;
}

/* ═══ TYPE CARD ═══════════════════════════════════════════════ */
.pmeta-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.pmeta-type-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1 1 90px;
    animation: itemIn .45s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--card-delay, 0s) + var(--i, 0) * .07s);
    cursor: default;
}
.pmeta-type-img-wrap {
    position: relative;
    width: 76px; height: 76px;
    border-radius: 50%;
    overflow: visible;
}
.pmeta-type-img-wrap img {
    width: 76px; height: 76px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.pmeta-type-item:hover .pmeta-type-img-wrap img {
    transform: scale(1.1);
}
.pmeta-type-img-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: conic-gradient(var(--pm-gold), var(--pm-gold-2), transparent 60%, var(--pm-gold)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: ringRotate 4s linear infinite;
}
.pmeta-type-img-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}
.pmeta-type-item:hover .pmeta-type-img-glow { opacity: 1; }
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.pmeta-type-name {
    font-size: 13px;
    font-weight: 600;
    color: #e8e8e8;
    text-align: center;
    line-height: 1.3;
}

/* ═══ SEASONS CARD ════════════════════════════════════════════ */
.pmeta-seasons-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.pmeta-season-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px 14px;
    border-radius: var(--pm-radius-s);
    background: var(--sbg, rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.07);
    cursor: default;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1),
                box-shadow .25s ease,
                border-color .25s;
    animation: itemIn .45s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--card-delay, 0s) + var(--i, 0) * .07s);
    position: relative;
    overflow: hidden;
}
.pmeta-season-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255,255,255,.04) 0%,
        transparent 100%);
    pointer-events: none;
}
.pmeta-season-item:hover {
    transform: translateY(-5px) scale(1.04);
    box-shadow: 0 12px 30px var(--sg, rgba(255,255,255,.15));
    border-color: var(--sc, rgba(255,255,255,.2));
}
.pmeta-season-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .3s;
}
.pmeta-season-item:hover .pmeta-season-icon-wrap {
    transform: scale(1.12) rotate(-5deg);
}
.season-svg { display: block; }
.pmeta-season-icon-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--sc, #fff) 0%, transparent 70%);
    opacity: 0;
    filter: blur(6px);
    transition: opacity .3s;
}
.pmeta-season-item:hover .pmeta-season-icon-glow { opacity: .5; }
.pmeta-season-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--sc, #f0f0f0);
    text-align: center;
    line-height: 1.2;
}
.pmeta-season-en {
    font-family: var(--pm-font-en);
    font-size: 10px;
    font-weight: 500;
    color: var(--pm-text-2);
    letter-spacing: .08em;
}

/* ═══ COUNTRY CARD ════════════════════════════════════════════ */
.pmeta-country-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.pmeta-country-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1 1 140px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--pm-radius-s);
    padding: 14px 16px;
    transition: background .25s, border-color .25s, transform .25s;
    animation: itemIn .45s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--card-delay, 0s) + var(--i, 0) * .07s);
}
.pmeta-country-item:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(245,158,11,.3);
    transform: translateX(-3px);
}
.pmeta-flag-wrap {
    position: relative;
    flex-shrink: 0;
    width: 58px; height: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.5),
                0 0 0 1px rgba(255,255,255,.1);
}
.pmeta-flag-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.pmeta-country-item:hover .pmeta-flag-wrap img { transform: scale(1.08); }
.pmeta-flag-gloss {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(255,255,255,.18) 0%,
        transparent 55%);
    pointer-events: none;
}
.pmeta-country-name {
    font-size: 15px;
    font-weight: 700;
    color: #f0f0f0;
}

/* ═══ PERFUMER CARD ═══════════════════════════════════════════ */
.pmeta-perfumer-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pmeta-perfumer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--pm-radius-s);
    padding: 14px 16px;
    transition: background .25s, border-color .25s, transform .25s;
    animation: itemIn .45s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(var(--card-delay, 0s) + var(--i, 0) * .07s);
}
.pmeta-perfumer-item:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(245,158,11,.35);
    transform: translateX(-3px);
}
.pmeta-perfumer-avatar {
    position: relative;
    flex-shrink: 0;
    width: 60px; height: 60px;
}
.pmeta-perfumer-avatar img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}
.pmeta-perfumer-initial {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pm-gold), var(--pm-gold-d));
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    z-index: 1;
}
.pmeta-perfumer-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.pmeta-perfumer-ring--outer {
    inset: -5px;
    border: 1.5px solid rgba(245,158,11,.25);
    animation: ringPulse 2.5s ease-in-out infinite;
}
.pmeta-perfumer-ring--inner {
    inset: -2px;
    border: 1px solid rgba(245,158,11,.5);
}
@keyframes ringPulse {
    0%,100% { opacity: .3; transform: scale(1); }
    50%      { opacity: .8; transform: scale(1.06); }
}
.pmeta-perfumer-status {
    position: absolute;
    bottom: 2px; left: 2px;
    width: 11px; height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #0f0f0f;
    z-index: 2;
    box-shadow: 0 0 8px rgba(34,197,94,.6);
    animation: statusBlink 2s ease-in-out infinite;
}
@keyframes statusBlink {
    0%,100% { box-shadow: 0 0 8px rgba(34,197,94,.6); }
    50%      { box-shadow: 0 0 14px rgba(34,197,94,.9); }
}
.pmeta-perfumer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pmeta-perfumer-name {
    font-size: 15px;
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.2;
}
.pmeta-perfumer-role {
    font-family: var(--pm-font-en);
    font-size: 11px;
    font-weight: 500;
    color: var(--pm-gold);
    letter-spacing: .08em;
    opacity: .8;
}

/* ── Shared animations ────────────────────────────────────────── */
@keyframes itemIn {
    from { opacity:0; transform: translateY(14px) scale(.95); }
    to   { opacity:1; transform: translateY(0) scale(1); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (≥ 600px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 600px) {
    .pmeta__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 20px;
    }
    .pmeta-card--seasons .pmeta-seasons-list {
        grid-template-columns: repeat(4, 1fr);
    }
    .pmeta-perfumer-list { flex-direction: row; flex-wrap: wrap; }
    .pmeta-perfumer-item { flex: 1 1 220px; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — desktop (≥ 960px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 960px) {
    .pmeta {
        padding: 16px 0 32px;
    }
    .pmeta__grid {
        grid-template-columns: auto;
        gap: 20px;
        padding: 0 24px;
    }
    .pmeta-card--seasons {
        grid-column: span 2;
    }
    .pmeta-card {
        padding: 24px 22px;
    }
    .pmeta-card:hover {
        transform: translateY(-6px) scale(1.012);
    }
    .pmeta-type-img-wrap,
    .pmeta-type-img-wrap img {
        width: 84px; height: 84px;
    }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — wide (≥ 1280px)
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
    .pmeta__grid {
        grid-template-columns: auto;
        gap: 22px;
        padding: 0 28px;
    }
    .pmeta-card--seasons {
        grid-column: span 2;
    }
    .pmeta__orb--a { width:300px; height:300px; }
    .pmeta__orb--b { width:240px; height:240px; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pmeta-card,
    .pmeta-gender-item,
    .pmeta-type-item,
    .pmeta-season-item,
    .pmeta-country-item,
    .pmeta-perfumer-item { animation: none !important; }
    .pmeta__orb,
    .pmeta-gender-halo,
    .pmeta-type-img-ring,
    .pmeta-perfumer-ring--outer,
    .pmeta-perfumer-status { animation: none !important; }
}
/* ═══════════════════════════════════════════════════════════════
   PMETA — Light Theme Overrides
   [data-theme="light"]
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom props override ────────────────────────────────────── */
[data-theme="light"] .pmeta {
    --pm-glass:    rgba(196, 125, 14, .04);
    --pm-glass-b:  rgba(196, 125, 14, .08);
    --pm-border:   rgba(196, 125, 14, .14);
    --pm-border-h: rgba(196, 125, 14, .45);
    --pm-text:     #5a3e2b;
    --pm-text-2:   rgba(90, 62, 43, .60);
    --pm-shadow:   0 8px 32px rgba(120, 80, 20, .12);
    --pm-shadow-h: 0 16px 48px rgba(120, 80, 20, .20);
}

/* ── Ambient orbs ─────────────────────────────────────────────── */
[data-theme="light"] .pmeta__orb--a {
    opacity: .10;
}
[data-theme="light"] .pmeta__orb--b {
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    opacity: .07;
}
[data-theme="light"] .pmeta__orb--c {
    background: radial-gradient(circle, #60a5fa 0%, transparent 70%);
    opacity: .06;
}

/* ── Base card ────────────────────────────────────────────────── */
[data-theme="light"] .pmeta-card {
    background: rgba(255, 248, 235, .75);
    border-color: rgba(196, 125, 14, .16);
    box-shadow: var(--pm-shadow),
                inset 0 1px 0 rgba(255, 255, 255, .80);
}
[data-theme="light"] .pmeta-card::before {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, .55) 0%,
        transparent 50%,
        rgba(255, 248, 220, .20) 100%);
}
[data-theme="light"] .pmeta-card:hover {
    background: rgba(255, 248, 220, .90);
    border-color: rgba(196, 125, 14, .35);
    box-shadow: var(--pm-shadow-h),
                0 0 0 1px rgba(196, 125, 14, .30),
                inset 0 1px 0 rgba(255, 255, 255, .90);
}

/* ── Card header ──────────────────────────────────────────────── */
[data-theme="light"] .pmeta-card__eyebrow {
    opacity: .90;
}
[data-theme="light"] .pmeta-card__line {
    background: linear-gradient(90deg,
        rgba(196, 125, 14, .45) 0%,
        rgba(196, 125, 14, .10) 60%,
        transparent 100%);
}

/* ═══ GENDER CARD ════════════════════════════════════════════ */
[data-theme="light"] .pmeta-gender-item {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pmeta-gender-item:hover {
    background: rgba(196, 125, 14, .09);
    border-color: var(--gc, rgba(196, 125, 14, .25));
}
[data-theme="light"] .pmeta-gender-icon-wrap {
    background: rgba(196, 125, 14, .06);
    border-color: rgba(196, 125, 14, .20);
}
[data-theme="light"] .pmeta-gender-label {
    color: #1a0e08;
}
[data-theme="light"] .pmeta-gender-en {
    color: rgba(90, 62, 43, .65);
}

/* ═══ TYPE CARD ══════════════════════════════════════════════ */
[data-theme="light"] .pmeta-type-name {
    color: #2c1810;
}

/* ═══ SEASONS CARD ═══════════════════════════════════════════ */
[data-theme="light"] .pmeta-season-item {
    background: var(--sbg, rgba(196, 125, 14, .05));
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pmeta-season-item::before {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .45) 0%,
        transparent 100%);
}
[data-theme="light"] .pmeta-season-item:hover {
    box-shadow: 0 12px 30px var(--sg, rgba(196, 125, 14, .15));
    border-color: var(--sc, rgba(196, 125, 14, .30));
}
[data-theme="light"] .pmeta-season-icon-wrap {
    background: rgba(196, 125, 14, .06);
    border-color: rgba(196, 125, 14, .14);
}
[data-theme="light"] .pmeta-season-name {
    color: var(--sc, #1a0e08);
}
[data-theme="light"] .pmeta-season-en {
    color: rgba(90, 62, 43, .60);
}

/* ═══ COUNTRY CARD ═══════════════════════════════════════════ */
[data-theme="light"] .pmeta-country-item {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pmeta-country-item:hover {
    background: rgba(196, 125, 14, .09);
    border-color: rgba(196, 125, 14, .30);
}
[data-theme="light"] .pmeta-flag-wrap {
    box-shadow: 0 4px 12px rgba(120, 80, 20, .18),
                0 0 0 1px rgba(196, 125, 14, .15);
}
[data-theme="light"] .pmeta-flag-gloss {
    background: linear-gradient(180deg,
        rgba(255, 255, 255, .30) 0%,
        transparent 55%);
}
[data-theme="light"] .pmeta-country-name {
    color: #1a0e08;
}

/* ═══ PERFUMER CARD ══════════════════════════════════════════ */
[data-theme="light"] .pmeta-perfumer-item {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pmeta-perfumer-item:hover {
    background: rgba(196, 125, 14, .09);
    border-color: rgba(196, 125, 14, .32);
}
[data-theme="light"] .pmeta-perfumer-name {
    color: #1a0e08;
}
[data-theme="light"] .pmeta-perfumer-role {
    opacity: .90;
}
[data-theme="light"] .pmeta-perfumer-ring--outer {
    border-color: rgba(196, 125, 14, .22);
}
[data-theme="light"] .pmeta-perfumer-ring--inner {
    border-color: rgba(196, 125, 14, .45);
}
[data-theme="light"] .pmeta-perfumer-status {
    border-color: #fdf6ea;
}




/* ════════════════════════════════════════════════════════
   SUIT — Perfume Suitability Section
   Ultra-Premium · Glassmorphism · Mobile-First
   ════════════════════════════════════════════════════════ */

.suit {
    --suit-yes-c1: #22c55e;
    --suit-yes-c2: #4ade80;
    --suit-yes-glow: rgba(34, 197, 94, .12);
    --suit-yes-mid: rgba(34, 197, 94, .07);

    --suit-no-c1: #f43f5e;
    --suit-no-c2: #fb7185;
    --suit-no-glow: rgba(244, 63, 94, .12);
    --suit-no-mid: rgba(244, 63, 94, .07);

    --gold: var(--main-color, #f59e0b);
    --glass-bg: rgba(255, 255, 255, .028);
    --glass-border: rgba(255, 255, 255, .07);
    --radius: 22px;
    --radius-sm: 12px;

    position: relative;
    padding: 2.5rem 1rem 2rem;
    overflow: hidden;
    direction: rtl;
}

/* ── Header ─────────────────────────────────────────── */
.suit__header {
    text-align: center;
    margin-bottom: 1.8rem;
    position: relative;
}

.suit__eyebrow {
    display: inline-block;
    font-size: .58rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .75;
    margin-bottom: .5rem;
}

.suit__title {
    margin: 0 0 .4rem;
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.suit__subtitle {
    margin: 0;
    font-size: .7rem;
    color: var(--main-text-color, #ccc);
    opacity: .5;
    line-height: 1.5;
}

/* ── Columns layout (mobile = stack) ────────────────── */
.suit__columns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Card ────────────────────────────────────────────── */
.suit__card {
    position: relative;
    border-radius: var(--radius);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.4rem 1.15rem 1.2rem;
    overflow: hidden;

    opacity: 0;
    transform: translateY(22px);
    animation: suitCardIn .6s cubic-bezier(.22, 1, .36, 1) forwards;
}

.suit__card--yes {
    animation-delay: .1s;
}

.suit__card--no {
    animation-delay: .22s;
}

@keyframes suitCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover lift */
.suit__card:hover {
    transform: translateY(-4px);
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s;
}

.suit__card--yes:hover {
    box-shadow: 0 20px 60px var(--suit-yes-glow), 0 0 0 1px rgba(34, 197, 94, .18);
}

.suit__card--no:hover {
    box-shadow: 0 20px 60px var(--suit-no-glow), 0 0 0 1px rgba(244, 63, 94, .18);
}

/* Ambient glow blob inside card */
.suit__card-glow {
    position: absolute;
    top: -40px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    pointer-events: none;
    transition: opacity .4s;
}

.suit__card--yes .suit__card-glow {
    background: radial-gradient(circle, var(--suit-yes-glow) 0%, transparent 70%);
}

.suit__card--no .suit__card-glow {
    background: radial-gradient(circle, var(--suit-no-glow) 0%, transparent 70%);
    right: auto;
    left: -30px;
}

/* ── Card Header ─────────────────────────────────────── */
.suit__card-header {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1rem;
}

.suit__card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.suit__card--yes .suit__card-icon {
    background: linear-gradient(135deg,
            rgba(34, 197, 94, .2) 0%,
            rgba(74, 222, 128, .08) 100%);
    color: var(--suit-yes-c2);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .25),
        0 0 20px rgba(34, 197, 94, .15);
}

.suit__card--no .suit__card-icon {
    background: linear-gradient(135deg,
            rgba(244, 63, 94, .2) 0%,
            rgba(251, 113, 133, .08) 100%);
    color: var(--suit-no-c2);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, .25),
        0 0 20px rgba(244, 63, 94, .15);
}

.suit__card-icon svg {
    width: 20px;
    height: 20px;
}

/* Rotating ring on hover */
.suit__card-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px dashed transparent;
    transition: border-color .3s;
}

.suit__card--yes:hover .suit__card-icon::before {
    border-color: rgba(34, 197, 94, .4);
    animation: iconRingRotate 4s linear infinite;
}

.suit__card--no:hover .suit__card-icon::before {
    border-color: rgba(244, 63, 94, .4);
    animation: iconRingRotate 4s linear infinite;
}

@keyframes iconRingRotate {
    to {
        transform: rotate(360deg);
    }
}

.suit__card-titles {
    flex: 1;
    min-width: 0;
}

.suit__card-tag {
    display: inline-block;
    font-size: .52rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .18rem .5rem;
    border-radius: 99px;
    margin-bottom: .3rem;
    line-height: 1.6;
}

.suit__card--yes .suit__card-tag {
    background: rgba(34, 197, 94, .12);
    color: var(--suit-yes-c1);
    border: 1px solid rgba(34, 197, 94, .2);
}

.suit__card--no .suit__card-tag {
    background: rgba(244, 63, 94, .12);
    color: var(--suit-no-c1);
    border: 1px solid rgba(244, 63, 94, .2);
}

.suit__card-heading {
    margin: 0;
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -.01em;
}

/* ── Divider ──────────────────────────────────────────── */
.suit__card-divider {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .85rem 0 1rem;
    opacity: .35;
}

.suit__card-divider span {
    flex: 1;
    height: 1px;
}

.suit__card--yes .suit__card-divider span {
    background: linear-gradient(90deg, transparent, var(--suit-yes-c1), transparent);
}

.suit__card--no .suit__card-divider span {
    background: linear-gradient(90deg, transparent, var(--suit-no-c1), transparent);
}

.suit__card-divider svg {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
}

.suit__card--yes .suit__card-divider {
    color: var(--suit-yes-c1);
}

.suit__card--no .suit__card-divider {
    color: var(--suit-no-c1);
}

/* ── List ─────────────────────────────────────────────── */
.suit__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.suit__item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .78rem;
    color: var(--main-text-color, #ccc);
    line-height: 1.6;

    opacity: 0;
    transform: translateX(10px);
    animation: suitItemIn .45s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: calc(.35s + var(--item-i, 0) * .06s);
}

/* RTL: items slide from left */
.suit__card--no .suit__item {
    transform: translateX(-10px);
}

@keyframes suitItemIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.suit__item-bullet {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .1rem;
    transition: transform .25s;
}

.suit__item:hover .suit__item-bullet {
    transform: scale(1.2);
}

.suit__card--yes .suit__item-bullet {
    background: linear-gradient(135deg,
            rgba(34, 197, 94, .18), rgba(74, 222, 128, .08));
    color: var(--suit-yes-c2);
    box-shadow: 0 0 8px rgba(34, 197, 94, .2);
}

.suit__card--no .suit__item-bullet {
    background: linear-gradient(135deg,
            rgba(244, 63, 94, .18), rgba(251, 113, 133, .08));
    color: var(--suit-no-c2);
    box-shadow: 0 0 8px rgba(244, 63, 94, .2);
}

.suit__item-bullet svg {
    width: 10px;
    height: 10px;
}

.suit__item span {
    padding-top: .05rem;
}

/* Item hover highlight */
.suit__item {
    padding: .45rem .5rem;
    border-radius: var(--radius-sm);
    transition: background .25s;
}

.suit__card--yes .suit__item:hover {
    background: rgba(34, 197, 94, .06);
}

.suit__card--no .suit__item:hover {
    background: rgba(244, 63, 94, .06);
}

/* ── Bottom bar (shimmer) ─────────────────────────────── */
.suit__card-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    border-radius: 0 0 var(--radius) var(--radius);
    overflow: hidden;
}

.suit__card--yes .suit__card-bar {
    background: linear-gradient(90deg,
            transparent, var(--suit-yes-c1), transparent);
}

.suit__card--no .suit__card-bar {
    background: linear-gradient(90deg,
            transparent, var(--suit-no-c1), transparent);
}

.suit__card-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: suitBarShimmer 3.5s ease-in-out infinite;
}

@keyframes suitBarShimmer {
    0% {
        transform: translateX(-100%);
    }

    60% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ── Footer hint ──────────────────────────────────────── */
.suit__footer {
    margin-top: 1.5rem;
    position: relative;
}

.suit__footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .85rem 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(245, 158, 11, .05);
    border: 1px solid rgba(245, 158, 11, .1);
    text-align: center;
}

.suit__footer-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--gold);
    opacity: .7;
}

.suit__footer-inner p {
    margin: 0;
    font-size: .8rem;
    color: var(--main-text-color, #ccc);
    opacity: .6;
    line-height: 1.6;
}

.suit__footer-link {
    color: var(--gold);
    opacity: 1;
    text-decoration: none;
    border-bottom: 1px dashed rgba(245, 158, 11, .4);
    transition: border-color .2s, opacity .2s;
}

.suit__footer-link:hover {
    opacity: .8;
    border-color: var(--gold);
}

/* ════════════════════════════════════════════════════════
   TABLET ≥ 560px
   ════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
    .suit {
        padding: 3rem 1.5rem 2.5rem;
    }

    .suit__title {
        font-size: 1.6rem;
    }

    .suit__card {
        padding: 1.6rem 1.4rem 1.4rem;
    }

    .suit__card-heading {
        font-size: 1rem;
    }

    .suit__item {
        font-size: .82rem;
    }
}

/* ════════════════════════════════════════════════════════
   DESKTOP ≥ 768px — side by side
   ════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .suit {
        padding: 3.5rem 2rem 3rem;
    }

    .suit__columns {
        flex-direction: row;
        gap: 1.25rem;
        align-items: stretch;
    }

    .suit__card {
        flex: 1;
        min-width: 0;
    }

    .suit__title {
        font-size: 1.85rem;
    }

    .suit__card-heading {
        font-size: 1.05rem;
    }

    .suit__item {
        font-size: .84rem;
    }
}

/* ════════════════════════════════════════════════════════
   LARGE ≥ 1100px
   ════════════════════════════════════════════════════════ */
@media (min-width: 1100px) {
    .suit {
        padding: 4rem 2.5rem 3.5rem;
    }

    .suit__title {
        font-size: 2rem;
    }

    .suit__card {
        padding: 2rem 1.75rem 1.75rem;
    }

    .suit__card-icon {
        width: 52px;
        height: 52px;
    }

    .suit__card-icon svg {
        width: 24px;
        height: 24px;
    }

    .suit__card-heading {
        font-size: 1.1rem;
    }

    .suit__item {
        font-size: .88rem;
        gap: .7rem;
    }

    .suit__item-bullet {
        width: 22px;
        height: 22px;
    }
}

/* ════════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

    .suit__card,
    .suit__item,
    .suit__bg-orb {
        animation: none !important;
        opacity: 1;
        transform: none;
    }

    .suit__card-bar::after {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SUIT — Light Theme Overrides
   [data-theme="light"]
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom props override ────────────────────────────────────── */
[data-theme="light"] .suit {
    --suit-yes-glow:  rgba(34, 197, 94, .10);
    --suit-yes-mid:   rgba(34, 197, 94, .05);
    --suit-no-glow:   rgba(244, 63, 94, .10);
    --suit-no-mid:    rgba(244, 63, 94, .05);
    --glass-bg:       rgba(255, 248, 235, .75);
    --glass-border:   rgba(196, 125, 14, .14);
}

/* ── Header ───────────────────────────────────────────────────── */
[data-theme="light"] .suit__title {
    color: #1a0e08;
}

[data-theme="light"] .suit__subtitle {
    color: rgba(44, 24, 16, .55);
    opacity: 1;
}

[data-theme="light"] .suit__eyebrow {
    opacity: .85;
}

/* ── Base card ────────────────────────────────────────────────── */
[data-theme="light"] .suit__card {
    background: rgba(255, 248, 235, .80);
    border-color: rgba(196, 125, 14, .14);
    box-shadow: 0 8px 32px rgba(120, 80, 20, .10),
                inset 0 1px 0 rgba(255, 255, 255, .85);
}

[data-theme="light"] .suit__card--yes:hover {
    box-shadow: 0 20px 60px rgba(34, 197, 94, .14),
                0 0 0 1px rgba(34, 197, 94, .22),
                inset 0 1px 0 rgba(255, 255, 255, .90);
}

[data-theme="light"] .suit__card--no:hover {
    box-shadow: 0 20px 60px rgba(244, 63, 94, .14),
                0 0 0 1px rgba(244, 63, 94, .22),
                inset 0 1px 0 rgba(255, 255, 255, .90);
}

/* ── Card glow blob ───────────────────────────────────────────── */
[data-theme="light"] .suit__card--yes .suit__card-glow {
    background: radial-gradient(circle,
        rgba(34, 197, 94, .08) 0%, transparent 70%);
}

[data-theme="light"] .suit__card--no .suit__card-glow {
    background: radial-gradient(circle,
        rgba(244, 63, 94, .08) 0%, transparent 70%);
}

/* ── Card heading ─────────────────────────────────────────────── */
[data-theme="light"] .suit__card-heading {
    color: #1a0e08;
}

/* ── Card tag ─────────────────────────────────────────────────── */
[data-theme="light"] .suit__card--yes .suit__card-tag {
    background: rgba(34, 197, 94, .10);
    color: #15803d;
    border-color: rgba(34, 197, 94, .22);
}

[data-theme="light"] .suit__card--no .suit__card-tag {
    background: rgba(244, 63, 94, .10);
    color: #be123c;
    border-color: rgba(244, 63, 94, .22);
}

/* ── Card icon ────────────────────────────────────────────────── */
[data-theme="light"] .suit__card--yes .suit__card-icon {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, .14) 0%,
        rgba(74, 222, 128, .05) 100%);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .20),
                0 0 16px rgba(34, 197, 94, .10);
}

[data-theme="light"] .suit__card--no .suit__card-icon {
    background: linear-gradient(135deg,
        rgba(244, 63, 94, .14) 0%,
        rgba(251, 113, 133, .05) 100%);
    box-shadow: 0 0 0 1px rgba(244, 63, 94, .20),
                0 0 16px rgba(244, 63, 94, .10);
}

/* ── Divider ──────────────────────────────────────────────────── */
[data-theme="light"] .suit__card-divider {
    opacity: .50;
}

/* ── List items ───────────────────────────────────────────────── */
[data-theme="light"] .suit__item {
    color: #5a3e2b;
}

[data-theme="light"] .suit__card--yes .suit__item-bullet {
    background: linear-gradient(135deg,
        rgba(34, 197, 94, .14), rgba(74, 222, 128, .05));
    box-shadow: 0 0 6px rgba(34, 197, 94, .15);
}

[data-theme="light"] .suit__card--no .suit__item-bullet {
    background: linear-gradient(135deg,
        rgba(244, 63, 94, .14), rgba(251, 113, 133, .05));
    box-shadow: 0 0 6px rgba(244, 63, 94, .15);
}

[data-theme="light"] .suit__card--yes .suit__item:hover {
    background: rgba(34, 197, 94, .07);
}

[data-theme="light"] .suit__card--no .suit__item:hover {
    background: rgba(244, 63, 94, .07);
}

/* ── Bottom shimmer bar ───────────────────────────────────────── */
[data-theme="light"] .suit__card-bar::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, .75) 50%,
        transparent 100%);
}

/* ── Footer ───────────────────────────────────────────────────── */
[data-theme="light"] .suit__footer-inner {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .12);
}

[data-theme="light"] .suit__footer-inner p {
    color: rgba(44, 24, 16, .55);
    opacity: 1;
}




/* ============================================================
   PERFUME RATING SYSTEM — Ultra Premium Minimal
   ============================================================ */

.pfr-section {
    --pfr-gold:      #f59e0b;
    --pfr-gold-dim:  rgba(245,158,11,.15);
    --pfr-gold-glow: rgba(245,158,11,.35);
    --pfr-bg:        #0d0d0d;
    --pfr-surface:   #141414;
    --pfr-surface2:  #1a1a1a;
    --pfr-border:    rgba(245,158,11,.12);
    --pfr-text:      #ccc;
    --pfr-text-dim:  rgba(204,204,204,.5);
    --pfr-radius:    16px;
    --pfr-tr:        cubic-bezier(.4,0,.2,1);

    font-size: 15px;
    direction: rtl;
    background: var(--pfr-bg);
    border-radius: 24px;
    border: 1px solid var(--pfr-border);
    padding: 0;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

/* ambient glow */
.pfr-section::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 300px;
    background: radial-gradient(ellipse, rgba(245,158,11,.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ── Header ─────────────────────────────────── */
.pfr-header {
    position: relative;
    padding: 48px 32px 32px;
    text-align: center;
    border-bottom: 1px solid var(--pfr-border);
    overflow: hidden;
    z-index: 1;
}

.pfr-header-inner { position: relative; z-index: 2; }

.pfr-header-deco {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    opacity: .6;
}

.pfr-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--pfr-gold);
    opacity: .7;
    margin-bottom: 10px;
}

.pfr-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: .03em;
}

.pfr-total-score {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: var(--pfr-gold-dim);
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 50px;
    padding: 10px 24px;
}

.pfr-score-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--pfr-gold);
    line-height: 1;
}
.pfr-score-divider { font-size: 20px; color: var(--pfr-text-dim); }
.pfr-score-max     { font-size: 16px; color: var(--pfr-text-dim); }
.pfr-voters {
    font-size: 11px;
    color: var(--pfr-text-dim);
    border-right: 1px solid var(--pfr-border);
    padding-right: 14px;
    margin-right: 10px;line-height: 1.4;
}

/* ── Form Wrapper ───────────────────────────── */
.pfr-form-wrapper {
    padding: 40px 32px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--pfr-border);
}

.pfr-form-header {
    text-align: center;
    margin-bottom: 36px;
}
.pfr-form-icon {
    display: inline-block;
    color: var(--pfr-gold);
    font-size: 20px;
    margin-bottom: 10px;
    animation: pfr-spin 8s linear infinite;
}
@keyframes pfr-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.pfr-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.pfr-form-subtitle {
    font-size: 12px;
    color: var(--pfr-text-dim);
    margin: 0;
}

/* ── Sliders Grid ───────────────────────────── */
.pfr-sliders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-bottom: 36px;
}

.pfr-slider-item {
    background: var(--pfr-surface);
    border: 1px solid var(--pfr-border);
    border-radius: var(--pfr-radius);
    padding: 18px 20px;
    transition: border-color .25s var(--pfr-tr), box-shadow .25s var(--pfr-tr);
}
.pfr-slider-item:focus-within,
.pfr-slider-item:hover {
    border-color: rgba(245,158,11,.35);
    box-shadow: 0 0 0 1px rgba(245,158,11,.1), 0 4px 24px rgba(0,0,0,.4);
}

.pfr-slider-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.pfr-slider-icon  { color: var(--pfr-gold); font-size: 12px; flex-shrink: 0; }
.pfr-slider-label { font-size: 12px; color: var(--pfr-text); flex: 1; cursor: pointer; }
.pfr-slider-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--pfr-gold);
    min-width: 28px;
    text-align: left;
    transition: transform .15s var(--pfr-tr);
}

.pfr-slider-track-wrap { position: relative; padding-bottom: 16px; }

/* Custom Range Input */
.pfr-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to left,
        var(--pfr-gold) calc(var(--pfr-pct, 44.4%) ),
        rgba(255,255,255,.08) 0%
    );
    border-radius: 99px;
    outline: none;
    cursor: pointer;
    display: block;
}
.pfr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--pfr-bg);
    border: 2px solid var(--pfr-gold);
    box-shadow: 0 0 12px var(--pfr-gold-glow);
    transition: transform .15s var(--pfr-tr), box-shadow .15s var(--pfr-tr);
    position: relative; z-index: 2;
}
.pfr-range::-webkit-slider-thumb:hover,
.pfr-range:focus::-webkit-slider-thumb {
    transform: scale(1.25);
    box-shadow: 0 0 20px var(--pfr-gold-glow);
}
.pfr-range::-moz-range-thumb {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--pfr-bg);
    border: 2px solid var(--pfr-gold);
    box-shadow: 0 0 12px var(--pfr-gold-glow);
    cursor: pointer;
}

/* Ticks */
.pfr-range-ticks {
    display: flex;
    justify-content: space-between;
    padding: 6px 2px 0;
}
.pfr-tick {
    width: 1px; height: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 1px;
}
.pfr-tick-mid {
    height: 6px;
    background: rgba(245,158,11,.4);
}

/* ── Submit Button ──────────────────────────── */
.pfr-submit-row { text-align: center; }

.pfr-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d97706, #f59e0b, #fbbf24);
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 14px 48px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .2s var(--pfr-tr), box-shadow .2s var(--pfr-tr);
    min-width: 200px;justify-content: center;
}
.pfr-submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .5s var(--pfr-tr);
}
.pfr-submit-btn:hover::before { transform: translateX(100%); }
.pfr-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245,158,11,.4);
}
.pfr-submit-btn:active { transform: translateY(0); }
.pfr-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.pfr-btn-icon   { font-size: 13px; }
.pfr-btn-loader {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid rgba(0,0,0,.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: pfr-rotate .7s linear infinite;
}
@keyframes pfr-rotate {
    to { transform: rotate(360deg); }
}
.pfr-loading .pfr-btn-text,
.pfr-loading .pfr-btn-icon { display: none; }
.pfr-loading .pfr-btn-loader { display: block; }

/* ── Messages ───────────────────────────────── */
.pfr-msg {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    min-height: 20px;
    transition: opacity .3s;
}
.pfr-msg.pfr-success { color: #4ade80; }
.pfr-msg.pfr-error   { color: #f87171; }

/* ── Responsive — Mobile First ──────────────── */
@media (max-width: 768px) {
    .pfr-header { padding: 36px 20px 28px; }
    .pfr-title  { font-size: 18px; }
    .pfr-score-num { font-size: 28px; }

    .pfr-form-wrapper { padding: 28px 16px; }

    .pfr-sliders-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pfr-submit-btn {
        width: 100%;
        padding: 16px 24px;
    }

    .pfr-total-score {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 18px;
    }
    .pfr-voters {
        border-right: none;
        padding-right: 0;
        margin-right: 0;width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .pfr-section { border-radius: 16px; margin: 24px 0; }
    .pfr-bar-item { padding: 16px; }
    .pfr-slider-item { padding: 14px 16px; }
    .pfr-range::-webkit-slider-thumb { width: 24px; height: 24px; }
}

/* ── Reduced Motion ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pfr-bar-fill,
    .pfr-submit-btn,
    .pfr-form-icon { animation: none !important; transition: none !important; }
}

/* ===== Radar Chart ===== */
.pfr-radar-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 30px;
    direction: ltr;
}

.pfr-radar-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 18px rgba(var(--main-color-rgb, 180,140,80), 0.12));
}

/* سطح پر‌شده */
.pfr-radar-area {
    fill: rgba(var(--main-color-rgb, 180,140,80), 0.12);
    transition: fill 0.4s ease;
}
.pfr-radar-area:hover {
    fill: rgba(var(--main-color-rgb, 180,140,80), 0.22);
}

/* خط دور */
.pfr-radar-stroke {
    fill: none;
    stroke: var(--main-color, #b48c50);
    stroke-width: 1.8;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(var(--main-color-rgb, 180,140,80), 0.5));
}

/* نقاط */
.pfr-radar-dot {
    fill: var(--main-color, #b48c50);
    stroke: #fff;
    stroke-width: 1.5;
    r: 4;
    transition: r 0.2s ease;
    cursor: pointer;
}
.pfr-radar-dot:hover { r: 6; }

/* برچسب‌ها */
.pfr-radar-icon-text {
    fill: var(--main-color, #b48c50);
    font-size: 12px;
    opacity: 0.9;
}
.pfr-radar-label-text {
    fill: rgba(255,255,255,0.75);
    font-size: 10px;
    font-family: inherit;
}
.pfr-radar-score-text {
    fill: var(--main-color, #b48c50);
    font-size: 12px;
    font-weight: 700;
}

/* انیمیشن ورود */
.pfr-radar-area,
.pfr-radar-stroke {
    transition: points 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .pfr-radar-svg { max-width: 340px; }
    .pfr-radar-label-text { font-size: 8.5px; }
    .pfr-radar-score-text { font-size: 10px; }
}

/* ============================================================
   PERFUME RATING SYSTEM — Light Theme Overrides
   ============================================================ */

/* ── Component-scoped custom props ───────────────────────────── */
[data-theme="light"] .pfr-section {
    --pfr-bg:        #fdf8f0;
    --pfr-surface:   #fff8ed;
    --pfr-surface2:  #fef3dc;
    --pfr-border:    rgba(196, 125, 14, .14);
    --pfr-text:      #5a3e2b;
    --pfr-text-dim:  rgba(90, 62, 43, .50);
    --pfr-gold-dim:  rgba(196, 125, 14, .08);
    --pfr-gold-glow: rgba(196, 125, 14, .30);
}

/* ── Section wrapper ─────────────────────────────────────────── */
[data-theme="light"] .pfr-section {
    background: #fdf8f0;
    border-color: rgba(196, 125, 14, .16);
    box-shadow: 0 8px 48px rgba(120, 80, 20, .08),
                0 1px 0 rgba(255, 255, 255, .90) inset;
}

/* ambient glow — warmer, lighter */
[data-theme="light"] .pfr-section::before {
    background: radial-gradient(ellipse,
        rgba(196, 125, 14, .07) 0%, transparent 70%);
}

/* ── Header ──────────────────────────────────────────────────── */
[data-theme="light"] .pfr-header {
    border-bottom-color: rgba(196, 125, 14, .12);
}

[data-theme="light"] .pfr-eyebrow {
    opacity: .85;
}

[data-theme="light"] .pfr-title {
    color: #1a0e08;
}

[data-theme="light"] .pfr-total-score {
    background: rgba(196, 125, 14, .08);
    border-color: rgba(196, 125, 14, .22);
}

[data-theme="light"] .pfr-score-num {
    color: #c47d0e;
}

[data-theme="light"] .pfr-score-divider,
[data-theme="light"] .pfr-score-max {
    color: rgba(90, 62, 43, .50);
}

[data-theme="light"] .pfr-voters {
    color: rgba(90, 62, 43, .50);
    border-right-color: rgba(196, 125, 14, .14);
}

/* ── Form wrapper ────────────────────────────────────────────── */
[data-theme="light"] .pfr-form-wrapper {
    border-top-color: rgba(196, 125, 14, .12);
}

[data-theme="light"] .pfr-form-title {
    color: #1a0e08;
}

[data-theme="light"] .pfr-form-subtitle {
    color: rgba(90, 62, 43, .50);
}

/* ── Slider cards ────────────────────────────────────────────── */
[data-theme="light"] .pfr-slider-item {
    background: #fff8ed;
    border-color: rgba(196, 125, 14, .14);
    box-shadow: 0 2px 8px rgba(120, 80, 20, .06);
}

[data-theme="light"] .pfr-slider-item:focus-within,
[data-theme="light"] .pfr-slider-item:hover {
    border-color: rgba(196, 125, 14, .40);
    box-shadow: 0 0 0 1px rgba(196, 125, 14, .12),
                0 4px 24px rgba(120, 80, 20, .12);
}

[data-theme="light"] .pfr-slider-icon {
    color: #c47d0e;
}

[data-theme="light"] .pfr-slider-label {
    color: #5a3e2b;
}

[data-theme="light"] .pfr-slider-value {
    color: #c47d0e;
}

/* ── Range track ─────────────────────────────────────────────── */
[data-theme="light"] .pfr-range {
    background: linear-gradient(
        to left,
        #c47d0e calc(var(--pfr-pct, 44.4%)),
        rgba(120, 80, 20, .12) 0%
    );
}

[data-theme="light"] .pfr-range::-webkit-slider-thumb {
    background: #fdf8f0;
    border-color: #c47d0e;
    box-shadow: 0 0 12px rgba(196, 125, 14, .30);
}

[data-theme="light"] .pfr-range::-webkit-slider-thumb:hover,
[data-theme="light"] .pfr-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 20px rgba(196, 125, 14, .40);
}

[data-theme="light"] .pfr-range::-moz-range-thumb {
    background: #fdf8f0;
    border-color: #c47d0e;
    box-shadow: 0 0 12px rgba(196, 125, 14, .30);
}

/* ── Ticks ───────────────────────────────────────────────────── */
[data-theme="light"] .pfr-tick {
    background: rgba(120, 80, 20, .18);
}

[data-theme="light"] .pfr-tick-mid {
    background: rgba(196, 125, 14, .45);
}

/* ── Submit button ───────────────────────────────────────────── */
/* gradient stays gold — only shadow softens */
[data-theme="light"] .pfr-submit-btn:hover {
    box-shadow: 0 8px 32px rgba(196, 125, 14, .35);
}

[data-theme="light"] .pfr-btn-loader {
    border-color: rgba(0, 0, 0, .20);
    border-top-color: #000;
}

/* ── Messages ────────────────────────────────────────────────── */
[data-theme="light"] .pfr-msg.pfr-success { color: #15803d; }
[data-theme="light"] .pfr-msg.pfr-error   { color: #be123c; }

/* ── Radar chart ─────────────────────────────────────────────── */
[data-theme="light"] .pfr-radar-svg {
    filter: drop-shadow(0 0 18px rgba(196, 125, 14, .10));
}

[data-theme="light"] .pfr-radar-area {
    fill: rgba(196, 125, 14, .10);
}

[data-theme="light"] .pfr-radar-area:hover {
    fill: rgba(196, 125, 14, .20);
}

[data-theme="light"] .pfr-radar-stroke {
    stroke: #c47d0e;
    filter: drop-shadow(0 0 4px rgba(196, 125, 14, .40));
}

[data-theme="light"] .pfr-radar-dot {
    fill: #c47d0e;
    stroke: #fdf8f0;
}

[data-theme="light"] .pfr-radar-icon-text {
    fill: #c47d0e;
    opacity: 1;
}

[data-theme="light"] .pfr-radar-label-text {
    fill: rgba(44, 24, 16, .70);
}

[data-theme="light"] .pfr-radar-score-text {
    fill: #c47d0e;
}

[data-theme="light"] .pfr-submit-btn {
    background: var(--main-color);
    color: #fff;
}



/* ═══════════════════════════════════════════════════════════
   PDESC — Perfume Full Description
   Ultra-Premium · Glassmorphism · Mobile-First
   ═══════════════════════════════════════════════════════════ */

.pdesc {
    /* ── tokens ── */
    --gold:          var(--main-color, #f59e0b);
    --gold-dim:      rgba(245, 158, 11, .12);
    --gold-glow:     rgba(245, 158, 11, .18);
    --glass:         rgba(255, 255, 255, .028);
    --glass-border:  rgba(255, 255, 255, .065);
    --text:          var(--main-text-color, #ccc);
    --font:          var(--main-font-family, 'IRANSans'), sans-serif;
    --r:             20px;
    --r-sm:          12px;

    /* collapsed height on mobile */
    --collapsed-h:   320px;

    position: relative;
    padding: 2.2rem 1rem 1.8rem;
    overflow: hidden;
    font-family: var(--font);
    direction: rtl;
}

/* ── Ambient orbs ─────────────────────────────────────── */
.pdesc__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.pdesc__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .22;
}
.pdesc__orb--1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 65%);
    top: -80px; right: -60px;
    animation: pdescFloat 12s ease-in-out infinite;
}
.pdesc__orb--2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 65%);
    bottom: -40px; left: -40px;
    animation: pdescFloat 15s ease-in-out infinite reverse;
}
.pdesc__orb--3 {
    width: 150px; height: 150px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 65%);
    top: 40%; left: 30%;
    opacity: .1;
    animation: pdescFloat 20s ease-in-out infinite;
}

@keyframes pdescFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(15px,-20px) scale(1.06); }
    66%      { transform: translate(-10px,10px) scale(.96); }
}

/* Noise texture overlay */
.pdesc__noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
    opacity: .55;
}

/* Subtle diagonal lines */
.pdesc__lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 28px,
        rgba(255,255,255,.012) 28px,
        rgba(255,255,255,.012) 29px
    );
}

/* ── Label bar ────────────────────────────────────────── */
.pdesc__label-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.4rem;
}
.pdesc__label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(245,158,11,.35), transparent);
}
.pdesc__label-chip {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .75rem;
    border-radius: 99px;
    background: rgba(245,158,11,.1);
    border: 1px solid rgba(245,158,11,.2);
    color: var(--gold);
    font-size: .55rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}
.pdesc__label-chip svg {
    width: 9px; height: 9px;
}

/* ── Header ───────────────────────────────────────────── */
.pdesc__header {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}
.pdesc__title {
    margin: 0 0 .4rem;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.025em;
    font-style: normal;
}
.pdesc__title-pre {
    display: block;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
    font-weight: 600;
    margin-bottom: .35rem;
}
.pdesc__title-name {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold) 0%, #fcd34d 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-size: 1.5rem;
    margin-top: .15rem;
}
.pdesc__tagline {
    margin: 0;
    font-size: .67rem;
    color: var(--text);
    opacity: .4;
    line-height: 1.6;
}

/* ── Intro dots ───────────────────────────────────────── */
.pdesc__intro-accent {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.2rem;
}
.pdesc__intro-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--gold);
    opacity: .4;
    animation: pdescDotPulse 2.5s ease-in-out infinite;
}
.pdesc__intro-dot:nth-child(2) {
    width: 3px; height: 3px;
    opacity: .25;
    animation-delay: .3s;
}
.pdesc__intro-dot:nth-child(3) {
    width: 2px; height: 2px;
    opacity: .15;
    animation-delay: .6s;
}
@keyframes pdescDotPulse {
    0%,100% { transform: scale(1); opacity: .4; }
    50%      { transform: scale(1.5); opacity: .7; }
}

/* ── Body / content wrapper ───────────────────────────── */
.pdesc__body {
    position: relative;
    z-index: 1;
    max-height: var(--collapsed-h);
    overflow: hidden;
    transition: max-height .8s cubic-bezier(.22,1,.36,1);
    border-radius: var(--r);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.4rem 1.2rem;
}

/* Expanded state */
.pdesc__body.is-expanded {
    max-height: 9999px;
}

/* Fade mask at bottom */
.pdesc__fade-mask {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10,10,20,.85) 55%,
        rgba(10,10,20,.98) 100%
    );
    pointer-events: none;
    transition: opacity .5s;
    border-radius: 0 0 var(--r) var(--r);
    z-index: 2;
}
.pdesc__body.is-expanded .pdesc__fade-mask {
    opacity: 0;
    pointer-events: none;
}

/* ════════════════════════════════════════════════════════
   CONTENT TYPOGRAPHY — rich styles for WP content
   ════════════════════════════════════════════════════════ */

.pdesc__content {
    color: var(--text);
    font-size: .82rem;
    line-height: 2;
    font-family: var(--font);
}

/* Paragraphs */
.pdesc__content p {
    margin: 0 0 1.1em;
    color: var(--text);
    line-height: 2;
}

/* First paragraph drop-cap on desktop */
@media (min-width: 768px) {
    .pdesc__content > p:first-of-type::first-letter {
        float: right;
        font-size: 3.8em;
        line-height: .82;
        margin-left: .12em;
        margin-bottom: -.05em;
        font-weight: 900;
        color: var(--gold);
        text-shadow: 0 0 30px rgba(245,158,11,.4);
        font-family: var(--font);
    }
}

/* Headings inside content */
.pdesc__content h1,
.pdesc__content h2,
.pdesc__content h3,
.pdesc__content h4,
.pdesc__content h5,
.pdesc__content h6 {
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.02em;
    margin: 1.5em 0 .6em;
    position: relative;
    padding-right: .85em;
}
.pdesc__content h1::before,
.pdesc__content h2::before,
.pdesc__content h3::before {
    content: '';
    position: absolute;
    right: 0;
    top: .15em;
    bottom: .1em;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(to bottom, var(--gold), rgba(245,158,11,.3));
}

.pdesc__content h2 { font-size: 1.15rem; }
.pdesc__content h3 { font-size: 1rem; }
.pdesc__content h4 { font-size: .9rem; }
.pdesc__content h5,
.pdesc__content h6 { font-size: .82rem; color: var(--text); }

/* Horizontal rule */
.pdesc__content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, rgba(245,158,11,.3), transparent);
    margin: 1.5em 0;
}

/* ── Lists ────────────────────────────────────────────── */
.pdesc__content ul,
.pdesc__content ol {
    margin: 0 0 1.1em;
    padding: 0;
    list-style: none;
}
.pdesc__content ul li,
.pdesc__content ol li {
    position: relative;
    padding-right: 1.4em;
    margin-bottom: .5em;
    font-size: .82rem;
    color: var(--text);
    line-height: 1.8;
}

/* UL custom bullet */
.pdesc__content ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: .62em;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(245,158,11,.5);
}

/* OL custom counter */
.pdesc__content ol {
    counter-reset: pdesc-ol;
}
.pdesc__content ol li {
    counter-increment: pdesc-ol;
}
.pdesc__content ol li::before {
    content: counter(pdesc-ol, persian);
    position: absolute;
    right: 0;
    top: .05em;
    width: 1.2em;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6em;
    font-weight: 800;
    color: var(--gold);
    background: rgba(245,158,11,.1);
    border: 1px solid rgba(245,158,11,.2);
    border-radius: 50%;
}

/* Nested lists */
.pdesc__content ul ul li::before {
    width: 4px; height: 4px;
    background: transparent;
    border: 1px solid var(--gold);
    box-shadow: none;
}

/* ── Blockquote ───────────────────────────────────────── */
.pdesc__content blockquote {
    position: relative;
    margin: 1.4em 0;
    padding: 1.1rem 1.1rem 1.1rem 1.4rem;
    border-right: 3px solid var(--gold);
    background: linear-gradient(
        135deg,
        rgba(245,158,11,.06) 0%,
        rgba(245,158,11,.02) 100%
    );
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-size: .85rem;
    font-style: italic;
    color: rgba(255,255,255,.75);
    line-height: 1.9;
    overflow: hidden;
}
.pdesc__content blockquote::before {
    content: '\201C';
    position: absolute;
    top: -.15em;
    right: .3em;
    font-size: 5em;
    color: var(--gold);
    opacity: .12;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* ── Links ────────────────────────────────────────────── */
.pdesc__content a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px dashed rgba(245,158,11,.35);
    transition: border-color .2s, color .2s;
}
.pdesc__content a:hover {
    color: #fcd34d;
    border-color: #fcd34d;
}

/* ── Strong / Em ──────────────────────────────────────── */
.pdesc__content strong,
.pdesc__content b {
    color: #fff;
    font-weight: 800;
}
.pdesc__content em,
.pdesc__content i {
    color: rgba(255,255,255,.8);
    font-style: italic;
}

/* ── Inline code ──────────────────────────────────────── */
.pdesc__content code {
    background: rgba(245,158,11,.1);
    color: var(--gold);
    font-size: .78em;
    padding: .15em .4em;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    border: 1px solid rgba(245,158,11,.15);
}

/* ── Code block ───────────────────────────────────────── */
.pdesc__content pre {
    background: rgba(0,0,0,.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    padding: 1rem 1.2rem;
    overflow-x: auto;
    margin: 1em 0;
    font-size: .75rem;
    line-height: 1.8;
}
.pdesc__content pre code {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255,255,255,.75);
}

/* ── Images ───────────────────────────────────────────── */
.pdesc__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r);
    display: block;
    margin: 1.2em auto;
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px rgba(0,0,0,.4),
        0 0 0 1px rgba(245,158,11,.08);
    transition: transform .35s, box-shadow .35s;
}
.pdesc__content img:hover {
    transform: scale(1.015);
    box-shadow:
        0 16px 48px rgba(0,0,0,.5),
        0 0 0 1px rgba(245,158,11,.2),
        0 0 40px rgba(245,158,11,.08);
}

/* WordPress alignment helpers */
.pdesc__content .alignleft  { float: right; margin-left: 1.2em; }
.pdesc__content .alignright { float: left;  margin-right: 1.2em; }
.pdesc__content .aligncenter{ display: block; margin: 1.2em auto; }
.pdesc__content .wp-caption {
    max-width: 100%;
    border-radius: var(--r-sm);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: .5rem .5rem .4rem;
}
.pdesc__content .wp-caption-text {
    text-align: center;
    font-size: .65rem;
    color: var(--text);
    opacity: .5;
    margin: .3rem 0 0;
    font-style: italic;
}

/* ── Tables ───────────────────────────────────────────── */
.pdesc__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: .78rem;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}
.pdesc__content thead {
    background: linear-gradient(135deg,
        rgba(245,158,11,.18) 0%,
        rgba(245,158,11,.06) 100%);
}
.pdesc__content thead th {
    padding: .75rem .9rem;
    text-align: right;
    color: var(--gold);
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .05em;
    border-bottom: 1px solid rgba(245,158,11,.2);
}
.pdesc__content tbody tr {
    border-bottom: 1px solid var(--glass-border);
    transition: background .2s;
}
.pdesc__content tbody tr:last-child {
    border-bottom: none;
}
.pdesc__content tbody tr:hover {
    background: rgba(245,158,11,.04);
}
.pdesc__content tbody td {
    padding: .65rem .9rem;
    color: var(--text);
    vertical-align: top;
    line-height: 1.7;
}
.pdesc__content tbody tr:nth-child(even) td {
    background: rgba(255,255,255,.012);
}

/* Scrollable tables on mobile */
.pdesc__content .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-sm);
}

/* ── Toggle button ────────────────────────────────────── */
.pdesc__toggle-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.pdesc__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1.8rem;
    border: none;
    border-radius: 99px;
    background: linear-gradient(135deg,
        rgba(245,158,11,.18) 0%,
        rgba(245,158,11,.08) 100%);
    border: 1px solid rgba(245,158,11,.28);
    color: var(--gold);
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s, box-shadow .3s, transform .25s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    overflow: hidden;
    z-index: 1;
}
.pdesc__toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(245,158,11,.3) 0%,
        rgba(245,158,11,.1) 100%);
    opacity: 0;
    transition: opacity .3s;
}
.pdesc__toggle:hover::before,
.pdesc__toggle:focus-visible::before {
    opacity: 1;
}
.pdesc__toggle:active {
    transform: scale(.96);
}
.pdesc__toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(245,158,11,.4);
}

/* Shimmer sweep */
.pdesc__toggle::after {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.25),
        transparent
    );
    transform: skewX(-20deg);
    animation: pdescBtnShimmer 4s ease-in-out infinite;
}
@keyframes pdescBtnShimmer {
    0%,100% { left: -75%; }
    50%      { left: 130%; }
}

/* Text visibility toggle */
.pdesc__toggle-text { position: relative; z-index: 1; }
.pdesc__toggle-text--less { display: none; }

.pdesc__toggle[aria-expanded="true"] .pdesc__toggle-text:not(.pdesc__toggle-text--less) {
    display: none;
}
.pdesc__toggle[aria-expanded="true"] .pdesc__toggle-text--less {
    display: inline;
}

.pdesc__toggle-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.pdesc__toggle-icon svg {
    width: 16px; height: 16px;
}
.pdesc__toggle[aria-expanded="true"] .pdesc__toggle-icon {
    transform: rotate(180deg);
}

/* Glow behind button */
.pdesc__toggle-glow {
    position: absolute;
    width: 120px; height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(245,158,11,.25) 0%, transparent 70%);
    filter: blur(16px);
    pointer-events: none;
    animation: pdescGlowPulse 3s ease-in-out infinite;
    z-index: 0;
}
@keyframes pdescGlowPulse {
    0%,100% { opacity: .5; transform: scale(1); }
    50%      { opacity: 1;  transform: scale(1.15); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ══════════════════════════════════════════════════════════ */

@media (min-width: 480px) {
    .pdesc {
        padding: 2.5rem 1.4rem 2rem;
        --collapsed-h: 360px;
    }
    .pdesc__title { font-size: 1.5rem; }
    .pdesc__title-name { font-size: 1.75rem; }
    .pdesc__content { font-size: .85rem; }
}

@media (min-width: 640px) {
    .pdesc {
        padding: 3rem 2rem 2.2rem;
        --collapsed-h: 400px;
    }
    .pdesc__title { font-size: 1.7rem; }
    .pdesc__title-name { font-size: 2rem; }
    .pdesc__body { padding: 1.8rem 1.6rem; }
    .pdesc__content { font-size: .88rem; }
    .pdesc__toggle { font-size: .82rem; padding: .8rem 2.2rem; }
}

@media (min-width: 768px) {
    .pdesc {
        padding: 3.5rem 2.5rem 2.5rem;
        --collapsed-h: 460px;
    }
    .pdesc__title { font-size: 1.7rem; }
    .pdesc__title-name { font-size: 2.3rem; }
    .pdesc__body { padding: 2rem 2rem; }
    .pdesc__content { font-size: .9rem; }

    .pdesc__content h2 { font-size: 1.25rem; }
    .pdesc__content h3 { font-size: 1.1rem;  }
    .pdesc__content h4 { font-size: .95rem;  }
}

@media (min-width: 1024px) {
    .pdesc {
        padding: 4rem 3rem 3rem;
        --collapsed-h: 520px;
    }
    .pdesc__orb--1 { width: 450px; height: 450px; }
    .pdesc__orb--2 { width: 300px; height: 300px; }

    .pdesc__title { font-size: 1.7rem; }
    .pdesc__title-name { font-size: 2.1rem; }

    .pdesc__body { padding: 2.4rem 2.4rem; }
    .pdesc__content { font-size: .92rem; }
}

/* ── Accessibility ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .pdesc__orb,
    .pdesc__intro-dot,
    .pdesc__toggle-glow,
    .pdesc__toggle::after {
        animation: none;
    }
    .pdesc__body {
        transition: none;
    }
    .pdesc__toggle-icon {
        transition: none;
    }
}



/* ═══════════════════════════════════════════════SIMILAR PERFUMES — Ultra-PremiumMobile-First | Glassmorphism | Gold Accents
═══════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────── */
.sim-wrap {
    --sim-gold:    var(--main-color, #f59e0b);
    --sim-bg:      #0d0d14;
    --sim-card-bg: rgba(255,255,255,.04);
    --sim-border:  rgba(255,255,255,.08);
    --sim-text:    var(--main-text-color, #ccc);
    --sim-radius:  18px;
    --sim-gap:     .75rem;
    --sim-font:    var(--main-font-family, 'IRANSans'), sans-serif;

    position: relative;
    padding: 2.5rem 1rem 3rem;
    font-family: var(--sim-font);
    direction: rtl;
    overflow: hidden;
    background: var(--sim-bg);
    border-radius: 24px;
}

/* Background ambient orb */
.sim-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 10%,
            rgba(245,158,11,.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 90%,
            rgba(245,158,11,.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ── Header ───────────────────────────────────── */
.sim-header {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    z-index: 1;
}

.sim-header__orb {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse,
        rgba(245,158,11,.18) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.sim-header__label {
    display: inline-block;
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--sim-gold);
    opacity: .7;
    margin-bottom: .5rem;
}

.sim-header__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .4rem;
    line-height: 1.5;
}

.sim-header__accent {
    color: var(--sim-gold);
    position: relative;
}
.sim-header__accent::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, var(--sim-gold), transparent);
}

.sim-header__sub {
    font-size: .68rem;
    color: var(--sim-text);
    opacity: .45;
    margin: 0;
    letter-spacing: .05em;
}

/* ── List ─────────────────────────────────────── */
.sim-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sim-gap);
    position: relative;
    z-index: 1;
}

/* ── Card ─────────────────────────────────────── */
.sim-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-radius: var(--sim-radius);
    background: var(--sim-card-bg);
    border: 1px solid var(--sim-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;

    /* Stagger will-change for GPU */
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(20px);
}

/* Glow from rank color on hover */
.sim-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse 80% 60% at 50% 120%,
        rgba(var(--rank-rgb, 245,158,11), var(--glow-intensity, .15)) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.sim-card:hover::before,
.sim-card:focus-within::before { opacity: 1; }

.sim-card:hover,
.sim-card:focus-within {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 12px 40px rgba(0,0,0,.4),
        0 0 0 1px rgba(var(--sim-gold), .2);
    border-color: rgba(245,158,11,.25);
}

/* Rank-1 extra glow */
.sim-card--rank-1 {
    border-color: rgba(245,158,11,.2);
    background: rgba(245,158,11,.06);
}

/* Animate in (JS adds .sim-card--visible) */
.sim-card--visible {
    animation: simCardIn .55s cubic-bezier(.22,.68,0,1.2) forwards;
}

@keyframes simCardIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Rank Badge ───────────────────────────────── */
.sim-card__rank {
    flex-shrink: 0;
    position: relative;
    width: 44px;
    height: 44px;
}

.sim-card__rank-ring {
    width: 44px;
    height: 44px;
    transform: rotate(-90deg);
    overflow: visible;
}

.sim-card__rank-track {
    fill: none;
    stroke: rgba(255,255,255,.06);
    stroke-width: 2.5;
}

.sim-card__rank-fill {
    fill: none;
    stroke: var(--rank-color, #f59e0b);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 113.1;
    transition: stroke-dashoffset 1.2s cubic-bezier(.4,0,.2,1);
    filter: drop-shadow(0 0 4px var(--rank-color));
}

.sim-card__rank-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
    color: var(--rank-color, #f59e0b);
    line-height: 1;
}

/* ── Thumbnail ────────────────────────────────── */
.sim-card__thumb-link {
    flex-shrink: 0;
    display: block;
    border-radius: 50%;
    outline-offset: 3px;
}

.sim-card__thumb-wrap {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.1);
    transition: border-color .3s ease, transform .3s ease;
}

.sim-card:hover .sim-card__thumb-wrap {
    border-color: var(--rank-color, #f59e0b);
    transform: scale(1.08);
}

.sim-card__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;border-radius: 50%;display: block;
    transition: transform .4s ease;
}

.sim-card:hover .sim-card__thumb-img {
    transform: scale(1.1);
}

.sim-card__thumb-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}

.sim-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.2);
}
.sim-card__thumb-placeholder svg { width: 28px; height: 28px; }

/* ── Info ─────────────────────────────────────── */
.sim-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sim-card__name {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s ease;
    outline-offset: 2px;
}

.sim-card__name:hover,
.sim-card__name:focus {
    color: var(--sim-gold);
}

/* Progress bar */
.sim-card__bar-wrap {
    height: 5px;
    background: rgba(255,255,255,.07);
    border-radius: 99px;
    overflow: hidden;
}

.sim-card__bar {
    position: relative;
    height: 100%;
    width: var(--bar-pct, 0%);
    border-radius: 99px;
    background: linear-gradient(90deg,
        rgba(245,158,11,.5) 0%,
        var(--sim-gold) 60%,
        #fcd34d 100%);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}

.sim-card--visible .sim-card__bar {
    transform: scaleX(1);
}

.sim-card__bar-shine {
    position: absolute;
    top: 0; bottom: 0;
    width: 30%;
    background: linear-gradient(90deg,
        transparent, rgba(255,255,255,.4), transparent);
    animation: barShine 2.5s ease-in-out infinite;
    border-radius: 99px;
}

@keyframes barShine {
    0%   { left: -30%; }
    100% { left: 120%; }
}

/* ── Percent ──────────────────────────────────── */
.sim-card__pct {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.sim-card__pct-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--rank-color, #f59e0b);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 12px var(--rank-color);
}

.sim-card__pct-sign {
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    opacity: 0.7;
    margin-top: .1rem;
}

/* ── Shimmer line on hover ────────────────────── */
.sim-card__shimmer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--rank-color, #f59e0b) 50%,
        transparent 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
.sim-card:hover .sim-card__shimmer { opacity: .6; }

/* ── Empty state ──────────────────────────────── */
.sim-empty {
    text-align: center;
    padding: 2rem;
    color: var(--sim-text);
    opacity: .4;
    font-size: .8rem;
}

/* ── Responsive ───────────────────────────────── */
@media (min-width: 480px) {
    .sim-wrap { padding: 2.5rem 1.4rem 3rem; }
    .sim-header__title { font-size: 1.3rem; }
    .sim-card__thumb-wrap { width: 64px; height: 64px; }
    .sim-card__name { font-size: .85rem; }
}

@media (min-width: 768px) {
    .sim-wrap { padding: 3rem 2rem 3.5rem; }
    .sim-header__title { font-size: 1.5rem; }
    .sim-card { padding: 1rem 1.4rem; gap: 1rem; }
    .sim-card__thumb-wrap { width: 72px; height: 72px; }
    .sim-card__rank { width: 50px; height: 50px; }
    .sim-card__rank-ring { width: 50px; height: 50px; }
    .sim-card__name { font-size: .9rem; }
    .sim-card__pct-num { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
    .sim-wrap { padding: 3.5rem 2.5rem 4rem; }
    .sim-card { padding: 1.1rem 1.6rem; }
    .sim-card:hover { transform: translateY(-4px) scale(1.015); }
}

/* ── Accessibility ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .sim-card,
    .sim-card__bar,
    .sim-card__bar-shine,
    .sim-card__thumb-img,
    .sim-card__rank-fill {
        animation: none !important;
        transition: none !important;
    }
    .sim-card { opacity: 1; transform: none; }
    .sim-card__bar { transform: scaleX(1); }
}

/* ═══════════════════════════════════════════════════════════
   PDESC — Light Theme Overrides
   ═══════════════════════════════════════════════════════════ */

   [data-theme="light"] .pdesc {
    --gold:         var(--main-color, #c47d0e);
    --gold-dim:     rgba(196, 125, 14, .10);
    --gold-glow:    rgba(196, 125, 14, .16);
    --glass:        rgba(196, 125, 14, .03);
    --glass-border: rgba(196, 125, 14, .12);
    --text:         #5a3e2b;
}

/* ── Ambient orbs ────────────────────────────────────────── */
[data-theme="light"] .pdesc__orb--1 {
    background: radial-gradient(circle,
        rgba(196, 125, 14, .18) 0%, transparent 65%);
    opacity: .12;
}
[data-theme="light"] .pdesc__orb--2 {
    background: radial-gradient(circle,
        rgba(180, 120, 60, .14) 0%, transparent 65%);
    opacity: .10;
}
[data-theme="light"] .pdesc__orb--3 {
    background: radial-gradient(circle,
        rgba(196, 125, 14, .10) 0%, transparent 65%);
    opacity: .06;
}

/* ── Label bar ───────────────────────────────────────────── */
[data-theme="light"] .pdesc__label-line {
    background: linear-gradient(90deg,
        transparent, rgba(196, 125, 14, .30), transparent);
}
[data-theme="light"] .pdesc__label-chip {
    background: rgba(196, 125, 14, .08);
    border-color: rgba(196, 125, 14, .18);
    color: #c47d0e;
}

/* ── Header ──────────────────────────────────────────────── */
[data-theme="light"] .pdesc__title {
    color: #1a0e08;
}
[data-theme="light"] .pdesc__title-pre {
    color: #c47d0e;
    opacity: .85;
}
[data-theme="light"] .pdesc__title-name {
    background: linear-gradient(135deg, #c47d0e 0%, #e6a020 60%, #b36a00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
[data-theme="light"] .pdesc__tagline {
    color: #5a3e2b;
    opacity: .50;
}

/* ── Body wrapper ────────────────────────────────────────── */
[data-theme="light"] .pdesc__body {
    background: rgba(196, 125, 14, .03);
    border-color: rgba(196, 125, 14, .12);
    box-shadow: 0 2px 24px rgba(120, 80, 20, .06);
}

[data-theme="light"] .pdesc__fade-mask {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(253, 246, 234, .88) 55%,
        rgba(253, 246, 234, .99) 100%
    );
}

/* ── Content typography ──────────────────────────────────── */
[data-theme="light"] .pdesc__content,
[data-theme="light"] .pdesc__content p,
[data-theme="light"] .pdesc__content ul li,
[data-theme="light"] .pdesc__content ol li,
[data-theme="light"] .pdesc__content tbody td {
    color: #3d2510;
}

[data-theme="light"] .pdesc__content h1,
[data-theme="light"] .pdesc__content h2,
[data-theme="light"] .pdesc__content h3,
[data-theme="light"] .pdesc__content h4 {
    color: #1a0e08;
}
[data-theme="light"] .pdesc__content h5,
[data-theme="light"] .pdesc__content h6 {
    color: #5a3e2b;
}

[data-theme="light"] .pdesc__content strong,
[data-theme="light"] .pdesc__content b {
    color: #1a0e08;
}
[data-theme="light"] .pdesc__content em,
[data-theme="light"] .pdesc__content i {
    color: rgba(44, 24, 16, .75);
}

[data-theme="light"] .pdesc__content hr {
    background: linear-gradient(90deg,
        transparent, rgba(196, 125, 14, .28), transparent);
}

[data-theme="light"] .sim-card__pct-num {
    text-shadow: none;
}

/* drop-cap */
@media (min-width: 768px) {
    [data-theme="light"] .pdesc__content > p:first-of-type::first-letter {
        color: #c47d0e;
        text-shadow: 0 0 24px rgba(196, 125, 14, .25);
    }
}

/* headings side bar */
[data-theme="light"] .pdesc__content h1::before,
[data-theme="light"] .pdesc__content h2::before,
[data-theme="light"] .pdesc__content h3::before {
    background: linear-gradient(to bottom,
        #c47d0e, rgba(196, 125, 14, .25));
}

/* lists */
[data-theme="light"] .pdesc__content ul li::before {
    background: #c47d0e;
    box-shadow: 0 0 5px rgba(196, 125, 14, .35);
}
[data-theme="light"] .pdesc__content ol li::before {
    color: #c47d0e;
    background: rgba(196, 125, 14, .08);
    border-color: rgba(196, 125, 14, .18);
}
[data-theme="light"] .pdesc__content ul ul li::before {
    background: transparent;
    border-color: #c47d0e;
}

/* blockquote */
[data-theme="light"] .pdesc__content blockquote {
    border-right-color: #c47d0e;
    background: linear-gradient(135deg,
        rgba(196, 125, 14, .05) 0%,
        rgba(196, 125, 14, .02) 100%);
    color: rgba(44, 24, 16, .70);
}
[data-theme="light"] .pdesc__content blockquote::before {
    color: #c47d0e;
    opacity: .14;
}

/* links */
[data-theme="light"] .pdesc__content a {
    color: #b36200;
    border-bottom-color: rgba(196, 125, 14, .30);
}
[data-theme="light"] .pdesc__content a:hover {
    color: #c47d0e;
    border-color: #c47d0e;
}

/* code */
[data-theme="light"] .pdesc__content code {
    background: rgba(196, 125, 14, .08);
    color: #9a5c00;
    border-color: rgba(196, 125, 14, .14);
}
[data-theme="light"] .pdesc__content pre {
    background: rgba(44, 24, 16, .05);
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pdesc__content pre code {
    color: #3d2510;
}

/* images */
[data-theme="light"] .pdesc__content img {
    border-color: rgba(196, 125, 14, .14);
    box-shadow:
        0 8px 32px rgba(120, 80, 20, .12),
        0 0 0 1px rgba(196, 125, 14, .06);
}
[data-theme="light"] .pdesc__content img:hover {
    box-shadow:
        0 16px 48px rgba(120, 80, 20, .18),
        0 0 0 1px rgba(196, 125, 14, .18),
        0 0 32px rgba(196, 125, 14, .06);
}

/* wp-caption */
[data-theme="light"] .pdesc__content .wp-caption {
    background: rgba(196, 125, 14, .03);
    border-color: rgba(196, 125, 14, .12);
}
[data-theme="light"] .pdesc__content .wp-caption-text {
    color: #5a3e2b;
    opacity: .55;
}

/* table */
[data-theme="light"] .pdesc__content table {
    border-color: rgba(196, 125, 14, .14);
}
[data-theme="light"] .pdesc__content thead {
    background: linear-gradient(135deg,
        rgba(196, 125, 14, .12) 0%,
        rgba(196, 125, 14, .04) 100%);
}
[data-theme="light"] .pdesc__content thead th {
    color: #b36200;
    border-bottom-color: rgba(196, 125, 14, .18);
}
[data-theme="light"] .pdesc__content tbody tr {
    border-bottom-color: rgba(196, 125, 14, .10);
}
[data-theme="light"] .pdesc__content tbody tr:hover {
    background: rgba(196, 125, 14, .04);
}
[data-theme="light"] .pdesc__content tbody tr:nth-child(even) td {
    background: rgba(196, 125, 14, .025);
}

/* ── Toggle button ───────────────────────────────────────── */
[data-theme="light"] .pdesc__toggle {
    background: linear-gradient(135deg,
        rgba(196, 125, 14, .12) 0%,
        rgba(196, 125, 14, .05) 100%);
    border-color: rgba(196, 125, 14, .24);
    color: #b36200;
}
[data-theme="light"] .pdesc__toggle::before {
    background: linear-gradient(135deg,
        rgba(196, 125, 14, .22) 0%,
        rgba(196, 125, 14, .08) 100%);
}
[data-theme="light"] .pdesc__toggle::after {
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, .55),
        transparent
    );
}
[data-theme="light"] .pdesc__toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(196, 125, 14, .30);
}
[data-theme="light"] .pdesc__toggle-glow {
    background: radial-gradient(circle,
        rgba(196, 125, 14, .18) 0%, transparent 70%);
}
/* ═══════════════════════════════════════════════════════════
   SIMILAR PERFUMES — Light Theme Overrides
   ═══════════════════════════════════════════════════════════ */

   [data-theme="light"] .sim-wrap {
    --sim-gold:    var(--main-color, #c47d0e);
    --sim-bg:      #fdf8f0;
    --sim-card-bg: rgba(196, 125, 14, .04);
    --sim-border:  rgba(196, 125, 14, .12);
    --sim-text:    #5a3e2b;

    background: #fdf8f0;
    box-shadow: 0 4px 40px rgba(120, 80, 20, .07);
}

[data-theme="light"] .sim-wrap::before {
    background:
        radial-gradient(ellipse 60% 40% at 20% 10%,
            rgba(196, 125, 14, .07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 80% 90%,
            rgba(196, 125, 14, .05) 0%, transparent 60%);
}

/* ── Header ──────────────────────────────────────────────── */
[data-theme="light"] .sim-header__orb {
    background: radial-gradient(ellipse,
        rgba(196, 125, 14, .14) 0%, transparent 70%);
}
[data-theme="light"] .sim-header__label {
    color: #c47d0e;
    opacity: .80;
}
[data-theme="light"] .sim-header__title {
    color: #1a0e08;
}
[data-theme="light"] .sim-header__accent {
    color: #c47d0e;
}
[data-theme="light"] .sim-header__accent::after {
    background: linear-gradient(90deg,
        transparent, #c47d0e, transparent);
}
[data-theme="light"] .sim-header__sub {
    color: #5a3e2b;
    opacity: .50;
}

/* ── Card ────────────────────────────────────────────────── */
[data-theme="light"] .sim-card {
    background: rgba(196, 125, 14, .04);
    border-color: rgba(196, 125, 14, .12);
    box-shadow: 0 2px 12px rgba(120, 80, 20, .06);
}

[data-theme="light"] .sim-card:hover,
[data-theme="light"] .sim-card:focus-within {
    box-shadow:
        0 12px 36px rgba(120, 80, 20, .14),
        0 0 0 1px rgba(196, 125, 14, .18);
    border-color: rgba(196, 125, 14, .30);
}

[data-theme="light"] .sim-card--rank-1 {
    border-color: rgba(196, 125, 14, .22);
    background: rgba(196, 125, 14, .06);
}

/* ── Rank ring ───────────────────────────────────────────── */
[data-theme="light"] .sim-card__rank-track {
    stroke: rgba(120, 80, 20, .12);
}

/* ── Name ────────────────────────────────────────────────── */
[data-theme="light"] .sim-card__name {
    color: #2c1810;
}
[data-theme="light"] .sim-card__name:hover,
[data-theme="light"] .sim-card__name:focus {
    color: #c47d0e;
}

/* ── Thumbnail ───────────────────────────────────────────── */
[data-theme="light"] .sim-card__thumb-wrap {
    border-color: rgba(196, 125, 14, .20);
}
[data-theme="light"] .sim-card__thumb-placeholder {
    background: rgba(196, 125, 14, .06);
    color: rgba(120, 80, 20, .30);
}

/* ── Progress bar ────────────────────────────────────────── */
[data-theme="light"] .sim-card__bar-wrap {
    background: rgba(120, 80, 20, .10);
}
[data-theme="light"] .sim-card__bar {
    background: linear-gradient(90deg,
        rgba(196, 125, 14, .45) 0%,
        #c47d0e 60%,
        #e6a020 100%);
}

/* ── Percent ─────────────────────────────────────────────── */
[data-theme="light"] .sim-card__pct-sign {
    color: #3d2510;
    opacity: .60;
}

/* ── Empty state ─────────────────────────────────────────── */
[data-theme="light"] .sim-empty {
    color: #5a3e2b;
    opacity: .45;
}



/* ═══════════════════════════════════════
   LUX PERFUME FINDER — Tokens
   ═══════════════════════════════════════ */
   .lpf-section {
    --g:     #c9952a;
    --gl:    #e8b84b;
    --gg:    #f5c842;
    --gd:    #8a6520;
    --bg:    #0a0705;
    --sf:    #120e09;
    --sf2:   #1c1610;
    --br:    rgba(201,149,42,.18);
    --brh:   rgba(201,149,42,.55);
    --tx:    #f2ebd9;
    --txs:   #b8a888;
    --txm:   #6b5a3e;
    --r:     20px;
    --rs:    12px;
    --ease:  cubic-bezier(.4,0,.2,1);
  }
  .theme-light .lpf-section {
    --bg:  #fdf8f0;
    --sf:  #fff8ec;
    --sf2: #fef3d8;
    --br:  rgba(201,149,42,.2);
    --brh: rgba(201,149,42,.6);
    --tx:  #1a1208;
    --txs: #5c4a25;
    --txm: #a08040;
  }
  
  /* ── Base ── */
  .lpf-section {
    font-family: var(--main-font-family, 'IRANSans'), sans-serif;
    direction: rtl;
    padding: 40px 16px;
  }
  
  /* ═══════════════════════════════════════
     HERO
     ═══════════════════════════════════════ */
  .lpf-hero {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: var(--sf);
    border: 1px solid var(--br);
    border-radius: 28px;
    padding: 48px 24px 52px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .lpf-hero-glow {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201,149,42,.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .lpf-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: lpfOrb 8s ease-in-out infinite alternate;
  }
  .lpf-orb-1 { width:220px;height:220px;top:-80px;right:-60px;background:radial-gradient(circle,rgba(245,200,66,.08),transparent 70%); }
  .lpf-orb-2 { width:160px;height:160px;bottom:-60px;left:-40px;background:radial-gradient(circle,rgba(201,149,42,.06),transparent 70%);animation-delay:-4s; }
  @keyframes lpfOrb {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(12px,-12px) scale(1.1); }
  }
  
  .lpf-hero-content { position:relative;z-index:1;text-align:center;width:100%; }
  
  /* badge */
  .lpf-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(201,149,42,.1);
    border: 1px solid var(--br);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 11px;
    color: var(--gl);
    letter-spacing: .04em;
    margin-bottom: 18px;
  }
  .lpf-badge-dot {
    width:6px;height:6px;border-radius:50%;
    background:var(--g);box-shadow:0 0 8px var(--g);
    animation: lpfPulse 2s ease-in-out infinite;
  }
  @keyframes lpfPulse {
    0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.75)}
  }
  
  /* title */
  .lpf-hero-title {
    font-size: clamp(24px,6vw,33px);
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .lpf-title-line { color: var(--tx); }
  .lpf-title-gold {
    background: linear-gradient(90deg, var(--gd), var(--gg), var(--g));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .lpf-hero-desc {
    color: var(--txs);
    font-size: 14px;
    line-height: 1.7;
    max-width: 380px;
    margin: 0 auto 24px;
  }
  
  /* stats */
  .lpf-stats {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: 0 auto 28px;
    background: rgba(201,149,42,.06);
    border: 1px solid var(--br);
    border-radius: var(--rs);
    padding: 12px 20px;
  }
  .lpf-stat { display:flex;flex-direction:column;align-items:center;padding:0 18px; }
  .lpf-stat strong { font-size:18px;font-weight:800;color:var(--gl);line-height:1; }
  .lpf-stat span { font-size:11px;color:var(--txm);margin-top:3px; }
  .lpf-stat-div { width:1px;height:30px;background:var(--br); }
  
  /* start button */
  .lpf-start-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    padding: 0;
    overflow: hidden;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s;
  }
  .lpf-start-btn:hover { transform: translateY(-2px); }
  .lpf-start-btn:active { transform: translateY(0); }
  
  .lpf-btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gd), var(--g), var(--gg), var(--g));
    background-size: 200% 200%;
    animation: lpfGrad 3s ease infinite;
    border-radius: inherit;
  }
  @keyframes lpfGrad {
    0%,100%{background-position:0% 50%}50%{background-position:100% 50%}
  }
  .lpf-btn-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 34px;
    color: #0a0705;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
  }
  .lpf-btn-shine {
    position: absolute;
    top: -100%; left: -60%;
    width: 40%; height: 300%;
    background: rgba(255,255,255,.3);
    transform: rotate(25deg);
    transition: left .5s var(--ease);
    pointer-events: none;
  }
  .lpf-start-btn:hover .lpf-btn-shine { left: 140%; }
  
  /* visual */
  .lpf-hero-visual {
    position: relative;
    width: 130px; height: 160px;
    margin-top: 36px;
    flex-shrink: 0;
  }
  .lpf-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,149,42,.15);
    top:50%;left:50%;
    transform: translate(-50%,-50%);
    animation: lpfRing 4s ease-in-out infinite;
  }
  .lpf-ring-1{width:90px;height:90px;}
  .lpf-ring-2{width:120px;height:120px;animation-delay:.5s;}
  .lpf-ring-3{width:150px;height:150px;animation-delay:1s;border-style:dashed;}
  @keyframes lpfRing {
    0%,100%{opacity:.25;transform:translate(-50%,-50%) scale(1)}
    50%{opacity:.65;transform:translate(-50%,-50%) scale(1.06)}
  }
  .lpf-bottle {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 18px rgba(201,149,42,.35));
  }
  .lpf-ftag {
    position: absolute;
    background: var(--sf2);
    border: 1px solid var(--br);
    border-radius: 100px;
    padding: 5px 10px;
    font-size: 11px;
    color: var(--txs);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
  }
  .lpf-ftag-1 { top:8px;right:-18px;animation:lpfFlt 3s ease-in-out infinite alternate; }
  .lpf-ftag-2 { top:50%;left:-24px;transform:translateY(-50%);animation:lpfFlt2 3s ease-in-out infinite alternate; }
  .lpf-ftag-3 { bottom:8px;right:-10px;animation:lpfFlt 3s ease-in-out infinite alternate;animation-delay:1.5s; }
  @keyframes lpfFlt  { from{transform:translateY(0)} to{transform:translateY(-8px)} }
  @keyframes lpfFlt2 { from{transform:translateY(-50%)} to{transform:translateY(calc(-50% - 8px))} }
  
  /* ═══════════════════════════════════════
     MODAL  (JS toggles .active)
     ═══════════════════════════════════════ */
  .lpf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
  }
  .lpf-modal.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .lpf-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4,3,2,.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  
  .lpf-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 92dvh;
    background: var(--sf);
    border: 1px solid var(--br);
    border-radius: 28px 28px 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform .4s var(--ease);
    box-shadow: 0 -8px 60px rgba(201,149,42,.08);
  }
  .lpf-modal.active .lpf-panel { transform: translateY(0); }
  
  .lpf-drag-handle {
    width: 40px; height: 4px;
    background: var(--brh);
    border-radius: 100px;
    margin: 12px auto 0;
    flex-shrink: 0;
  }
  
  /* header */
  .lpf-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 14px;
    border-bottom: 1px solid var(--br);
    flex-shrink: 0;
  }
  .lpf-step-label { display:block;font-size:11px;color:var(--g);font-weight:600;letter-spacing:.05em; }
  .lpf-panel-title { font-size:15px;font-weight:700;color:var(--tx);margin:2px 0 0; }
  
  .lpf-close-btn {
    width:34px;height:34px;border-radius:50%;
    border:1px solid var(--br);background:var(--sf2);
    color:var(--txs);display:flex;align-items:center;justify-content:center;
    cursor:pointer;transition:border-color .2s,color .2s,transform .2s;flex-shrink:0;
  }
  .lpf-close-btn:hover { border-color:var(--g);color:var(--g);transform:rotate(90deg); }
  
  /* progress */
  .lpf-prog-wrap { padding:14px 20px 6px;flex-shrink:0; }
  .lpf-prog-track {
    height: 3px;
    background: rgba(201,149,42,.12);
    border-radius: 100px;
    overflow: hidden;margin-bottom: 12px;
  }
  .lpf-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gd), var(--gg));
    border-radius: 100px;
    transition: width .4s var(--ease);
    box-shadow: 0 0 8px var(--g);
  }
  .lpf-prog-dots { display:flex;justify-content:center;gap:6px; }
  .lpf-pdot {
    width:6px;height:6px;border-radius:50%;
    background:rgba(201,149,42,.2);
    transition:all .3s var(--ease);
  }
  
  /* JS doesn't update dots — we do it via progress % logic.
     Alternatively style per step with :has() if needed.
     Below: update dots when question is active */
  .lux-question[data-step="1"].active ~ * .lpf-pdot-1,
  .lux-question.active { /* handled by JS showStep */ }
  
  /* Simpler: style active dot via JS adding class is not wired,
     so we keep dots as visual indicator only via progress bar width */
  
  /* body / scroll */
  .lpf-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lpf-body::-webkit-scrollbar { display: none; }
  
  /* questions */
  .lux-question {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px 24px;
    animation: lpfIn .3s var(--ease);
  }
  .lux-question.active { display: flex; }
  @keyframes lpfIn {
    from { opacity:0;transform:translateY(10px); }
    to   { opacity:1;transform:translateY(0); }
  }
  
  .lpf-q-ico { font-size:34px;margin-bottom:8px;filter:drop-shadow(0 0 10px rgba(201,149,42,.3)); }
  .lpf-q-title { font-size:16px;font-weight:700;color:var(--tx);text-align:center;margin:0 0 18px;line-height:1.5; }
  
  /* option layouts */
  .lpf-opts { width:100%;display:flex;gap:10px; }
  .lpf-opts-row { flex-direction:row;justify-content:center; }
  .lpf-opts-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:10px; }
  .lpf-opts-intensity { flex-direction:column;gap:10px; }
  
  /* option button */
  .lux-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 10px;
    background: var(--sf2);
    border: 1.5px solid var(--br);
    border-radius: var(--rs);
    color: var(--txs);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    transition: all .2s var(--ease);
    overflow: hidden;
    flex: 1;
    -webkit-tap-highlight-color: transparent;
  }
  .lux-option::before {
    content:'';
    position:absolute;inset:0;
    background:linear-gradient(135deg,rgba(201,149,42,.08),transparent);
    opacity:0;transition:opacity .2s;
  }
  .lux-option:hover::before,
  .lux-option.selected::before { opacity:1; }
  
  .lux-option:hover {
    border-color: var(--brh);
    color: var(--tx);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(201,149,42,.1);
  }
  .lux-option.selected {
    border-color: var(--g);
    color: var(--gl);
    box-shadow: 0 0 0 1px var(--g), 0 4px 18px rgba(201,149,42,.2);
    transform: translateY(-2px);
  }
  .lux-option.selected .lpf-opt-ico {
    filter: drop-shadow(0 0 8px rgba(201,149,42,.6));
    transform: scale(1.15);
  }
  .lpf-opt-ico { font-size:22px;transition:transform .2s,filter .2s;line-height:1; }
  .lpf-opt-lbl { font-size:12px;font-weight:600;text-align:center;line-height:1.3; }
  
  /* intensity variant */
  .lpf-opt-int {
    flex-direction: row;
    justify-content: flex-start;
    padding: 14px 18px;
    gap: 12px;
  }
  .lpf-ibar { display:flex;gap:4px;margin-right:auto; }
  .lpf-ibar span {
    width:6px;height:20px;border-radius:3px;
    background:rgba(201,149,42,.2);transition:background .2s;
  }
  .lpf-opt-int.selected .lpf-ibar span {
    background:var(--g);
    box-shadow:0 0 6px rgba(201,149,42,.5);
  }
  
  /* ═══════════════════════════════════════
     RESULT  (JS sets hidden attr)
     ═══════════════════════════════════════ */
  .lpf-result {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: lpfIn .4s var(--ease);
  }
  .lpf-result[hidden] { display: none; }
  
  .lpf-result-head {
    position: relative;
    text-align: center;
    padding: 20px;
    background: rgba(201,149,42,.06);
    border: 1px solid var(--br);
    border-radius: var(--r);
    width: 100%;
    overflow: hidden;
  }
  .lpf-result-glow {
    position:absolute;inset:-20px;
    background:radial-gradient(ellipse at 50% 0%,rgba(201,149,42,.15),transparent 70%);
    pointer-events:none;
  }
  .lpf-result-crown { font-size:30px;animation:lpfPulse 2s infinite; }
  .lpf-result-head h4 { font-size:17px;font-weight:800;color:var(--gl);margin:8px 0 4px; }
  .lpf-result-head p { font-size:13px;color:var(--txs);margin:0;line-height:1.6; }
  
  /* result list — JS renders .lux-rec-card items */
  .lpf-result-list { display:flex;flex-direction:column;gap:10px;width:100%; }
  
  .lux-rec-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--sf2);
    border: 1px solid var(--br);
    border-radius: var(--rs);
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s,transform .2s,box-shadow .2s;
  }
  .lux-rec-card:hover {
    border-color: var(--g);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,149,42,.15);
  }
  .lux-rec-thumb {
    width: 60px; height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sf);
    border: 1px solid var(--br);
    flex-shrink: 0;
  }
  .lux-rec-thumb img { width:100%;height:100%;object-fit:cover; }
  .lux-rec-meta { display:flex;flex-direction:column;gap:4px;min-width:0; }
  .lux-rec-meta strong { font-size:14px;font-weight:700;color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }
  .lux-rec-meta span { font-size:12px;color:var(--txs);line-height:1.5; }
  
  .lpf-retry-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid var(--br);
    border-radius: 100px;
    padding: 10px 22px;
    color: var(--txm);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .2s,color .2s;
  }
  .lpf-retry-btn:hover { border-color:var(--g);color:var(--g); }
  
  /* ═══════════════════════════════════════
     FOOTER
     ═══════════════════════════════════════ */
  .lpf-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--br);
    background: var(--sf);
    flex-shrink: 0;
  }
  
  .lpf-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1.5px solid var(--br);
    background: transparent;
    color: var(--txs);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
  }
  .lpf-nav-btn:disabled { opacity:.3;cursor:not-allowed; }
  .lpf-nav-btn:not(:disabled):hover { border-color:var(--g);color:var(--g); }
  
  .lpf-next:not(:disabled) {
    background: linear-gradient(135deg, var(--gd), var(--g));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(201,149,42,.25);
  }
  .lpf-next:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,149,42,.35);
    color: #fff;
  }
  
  .lpf-sdots { display:flex;gap:5px; }
  .lpf-sd {
    width:5px;height:5px;border-radius:50%;
    background:rgba(201,149,42,.2);
    transition:all .3s;
  }
  
  /* ═══════════════════════════════════════
     DESKTOP ≥ 640px
     ═══════════════════════════════════════ */
  @media (min-width: 640px) {
    .lpf-hero {
      flex-direction: row;
      align-items: center;
      padding: 60px 56px;
      gap: 40px;
      text-align: right;
    }
    .lpf-hero-content { text-align: right; }
    .lpf-hero-title { align-items: flex-start; }
    .lpf-hero-desc { margin-right:0;margin-left:auto; }
    .lpf-stats { margin-right:0;margin-left:auto; }
    .lpf-hero-visual { flex-shrink:0;margin-top:0; }
  
    .lpf-modal { align-items:center;padding:20px; }
    .lpf-panel {
      border-radius: var(--r);
      max-height: 88dvh;
      transform: translateY(20px) scale(.96);
      opacity: 0;
      transition: transform .35s var(--ease), opacity .35s var(--ease);
    }
    .lpf-drag-handle { display:none; }
    .lpf-modal.active .lpf-panel { transform:translateY(0) scale(1);opacity:1; }
  
    .lpf-opts-intensity { flex-direction:row; }
    .lpf-opt-int { flex-direction:column;justify-content:center; }
    .lpf-ibar { margin-right:0; }
  
    .lpf-result-list { 
        display:flex;
        flex-direction: column;
        gap:10px; 
    }
  }

  /* ═══════════════════════════════════════
   LUX PERFUME FINDER — Light Theme
   ═══════════════════════════════════════ */

[data-theme="light"] .lpf-section {
    --bg:  #fdf8f0;
    --sf:  #fff8ec;
    --sf2: #fef3d8;
    --br:  rgba(201,149,42,.2);
    --brh: rgba(201,149,42,.6);
    --tx:  #1a1208;
    --txs: #5c4a25;
    --txm: #a08040;
  }
  
  /* Modal backdrop lightened */
  [data-theme="light"] .lpf-backdrop {
    background: rgba(180,130,40,.18);
  }
  
  /* Panel shadow warm */
  [data-theme="light"] .lpf-panel {
    box-shadow: 0 -8px 60px rgba(201,149,42,.12), 0 2px 24px rgba(100,60,10,.08);
  }
  
  /* Badge text readable on light */
  [data-theme="light"] .lpf-badge {
    background: rgba(201,149,42,.1);
    color: #8a6520;
  }
  
  /* Stat numbers */
  [data-theme="light"] .lpf-stat strong { color: #8a6520; }
  
  /* Start button text stays dark (already #0a0705 — ok) */
  
  /* Float tags */
  [data-theme="light"] .lpf-ftag {
    box-shadow: 0 4px 12px rgba(100,60,10,.1);
  }
  
  /* Option bg already uses --sf2 token — covered by token override above */
  
  /* intensity bar fill already uses --g token — covered */
  
  /* Result head */
  [data-theme="light"] .lpf-result-head {
    background: rgba(201,149,42,.07);
  }
  
  /* Rec card hover shadow */
  [data-theme="light"] .lux-rec-card:hover {
    box-shadow: 0 4px 16px rgba(100,60,10,.12);
  }
  
  /* Next button text stays #0a0705 — already dark enough on gold */
  
  /* Retry btn */
  [data-theme="light"] .lpf-retry-btn:hover { color: #8a6520; }
  
  /* Progress glow softer */
  [data-theme="light"] .lpf-prog-fill {
    box-shadow: 0 0 6px rgba(201,149,42,.4);
  }  
  




@media only screen and (max-width: 900px) {
    .pf-gallery-col {
        position: relative;
    }
}

@media only screen and (max-width: 570px) {}