/* ============================================================
   Arabelegance — Live Fragrance Story Panel (Option 1: Ultra-Minimalist Editorial)
   ● High-transparency frosted glass backdrop
   ● Clean, spacious Vogue / Le Labo editorial layout
   ● 3 crisp elements: Chapter Tag, Editorial Title & Quote, Floating Product Card
   ============================================================ */

#fragranceStoryPanel {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(214, 181, 139, 0.14);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 10% 0 12%;
    box-sizing: border-box;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset -10px 0 30px rgba(184, 140, 80, 0.08);
}

/* Ambient texture overlay */
.fs-bg-texture {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='%23ffffff' stroke-width='0.4' opacity='0.20'/%3E%3Ccircle cx='100' cy='100' r='55' fill='none' stroke='%23ffffff' stroke-width='0.3' opacity='0.15'/%3E%3Cpath d='M100 20 L120 60 L160 60 L130 80 L140 120 L100 100 L60 120 L70 80 L40 60 L80 60 Z' fill='none' stroke='%23ffffff' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
    background-size: 220px 220px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

/* Gold logo mark at top */
.fs-logo-mark {
    position: absolute;
    top: 40px;
    left: 12%;
    z-index: 5;
    opacity: 0.85;
}

.fs-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

/* ── SLIDES WRAPPER ──────────────────────────────────── */
.fs-slides-wrapper {
    position: relative;
    width: 100%;
    z-index: 3;
}

/* Individual story slide */
.fs-slide {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) translateX(0px);
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-slide--active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0px);
}

.fs-slide--exit {
    opacity: 0;
    transform: translateY(-50%) translateX(-22px);
}

/* Chapter Tag (e.g. "02 — SIGNATURE OUD") */
.fs-chapter-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #4A2E12;
    margin-bottom: 18px;
    opacity: 0.85;
}

/* Editorial Title */
.fs-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.08;
    color: #1F1005;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.25);
}

.fs-title span {
    display: block;
}

/* Body paragraph / Quote */
.fs-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(0.98rem, 1.35vw, 1.08rem);
    font-weight: 500;
    line-height: 1.80;
    color: #3B2616;
    margin: 0 0 28px 0;
    max-width: 88%;
}

/* ── FLOATING PRODUCT SPOTLIGHT MINI-CARD ────────────── */
.fs-spotlight-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    box-shadow:
        0 12px 30px rgba(92, 58, 26, 0.10),
        0 2px 6px rgba(0, 0, 0, 0.04);
    max-width: 92%;
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fsSpotlightPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fsSpotlightPop {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fs-spotlight-card:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(212, 175, 55, 0.60);
    transform: translateY(-3px);
    box-shadow:
        0 16px 36px rgba(92, 58, 26, 0.16),
        0 4px 12px rgba(212, 175, 55, 0.15);
}

.fs-spotlight-img-wrap {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.6);
}

.fs-spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fs-spotlight-card:hover .fs-spotlight-img {
    transform: scale(1.08);
}

.fs-spotlight-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}

.fs-spotlight-cat {
    font-family: 'Outfit', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(92, 58, 26, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fs-spotlight-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2E1A0C;
    margin: 1px 0 3px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fs-spotlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1F1005;
    text-decoration: none;
    transition: color 0.25s ease;
}

.fs-spotlight-btn span {
    transition: transform 0.25s ease;
}

.fs-spotlight-btn:hover {
    color: #8B5A14;
}

.fs-spotlight-btn:hover span {
    transform: translateX(3px);
}

/* ── PROGRESS DOTS ───────────────────────────────────── */
.fs-progress-dots {
    position: absolute;
    bottom: 40px;
    left: 12%;
    display: flex;
    gap: 10px;
    z-index: 5;
}

.fs-dot {
    padding: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(92, 58, 26, 0.25);
    border: 1px solid rgba(92, 58, 26, 0.15);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.fs-dot:hover {
    background: rgba(139, 90, 20, 0.60);
    transform: scale(1.3);
}

.fs-dot--active {
    background: #3A210A;
    border-color: #3A210A;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(139, 90, 20, 0.40);
}

/* ── SCROLL HINT ─────────────────────────────────────── */
.fs-scroll-hint {
    position: absolute;
    bottom: 40px;
    right: 14%;
    font-family: 'Outfit', sans-serif;
    font-size: 0.56rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(92, 58, 26, 0.55);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    z-index: 5;
    animation: fsHintPulse 2.8s ease-in-out infinite;
}

@keyframes fsHintPulse {
    0%, 100% { opacity: 0.40; }
    50%       { opacity: 0.85; }
}

/* ── MOBILE: Hide panel on small screens ─────────────── */
@media (max-width: 768px) {
    #fragranceStoryPanel {
        display: none;
    }
}
