/* ── Vonná pyramida ─────────────────────────────── */
.scent-pyramid {
    padding: 48px 0 32px;
    border-top: 1px solid var(--color-border);
}
.scent-pyramid-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
    color: var(--color-text);
}
.scent-pyramid-subtitle {
    font-size: 13px;
    color: var(--color-muted);
    text-align: center;
    margin-bottom: 40px;
}

/* Tiers layout */
.pyramid-tiers {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

/* Jednotlivý tier */
.pyramid-tier {
    position: relative;
    padding: 28px 32px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pyramid-tier.visible {
    opacity: 1;
    transform: translateY(0);
}
.pyramid-tier:nth-child(2) {
    transition-delay: 0.15s;
}
.pyramid-tier:nth-child(3) {
    transition-delay: 0.3s;
}

/* Tier header */
.pyramid-tier-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.pyramid-tier-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.pyramid-tier--top .pyramid-tier-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #f59e0b;
}
.pyramid-tier--heart .pyramid-tier-icon {
    background: rgba(244, 114, 182, 0.12);
    color: #ec4899;
}
.pyramid-tier--base .pyramid-tier-icon {
    background: rgba(167, 139, 250, 0.12);
    color: #8b5cf6;
}

.pyramid-tier-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
}
.pyramid-tier--top .pyramid-tier-label { color: #d97706; }
.pyramid-tier--heart .pyramid-tier-label { color: #db2777; }
.pyramid-tier--base .pyramid-tier-label { color: #7c3aed; }

.pyramid-tier-desc {
    font-size: 12px;
    color: var(--color-muted);
    font-weight: 400;
    margin-top: 2px;
}

/* Connecting line between tiers */
.pyramid-tier:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 52px;
    right: 52px;
    height: 1px;
    background: var(--color-border);
}

/* Notes badges */
.pyramid-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 54px;
}
.pyramid-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
    position: relative;
}
.pyramid-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Tier-specific badge colors */
.pyramid-tier--top .pyramid-note {
    background: rgba(251, 191, 36, 0.1);
    color: #92400e;
    border: 1px solid rgba(251, 191, 36, 0.2);
}
.pyramid-tier--heart .pyramid-note {
    background: rgba(244, 114, 182, 0.1);
    color: #9d174d;
    border: 1px solid rgba(244, 114, 182, 0.2);
}
.pyramid-tier--base .pyramid-note {
    background: rgba(167, 139, 250, 0.1);
    color: #5b21b6;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

/* Tooltip */
.pyramid-note[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: #fff;
    font-size: 11px;
    font-weight: 400;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    animation: tooltipFade 0.2s ease;
}
.pyramid-note[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--color-text);
    pointer-events: none;
    z-index: 10;
    animation: tooltipFade 0.2s ease;
}
@keyframes tooltipFade {
    from { opacity: 0; transform: translateX(-50%) translateY(4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Visual pyramid shape - decorative gradient */
.pyramid-visual {
    position: relative;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.pyramid-visual-bar {
    height: 4px;
    border-radius: 2px;
    transition: width 0.8s ease;
}
.pyramid-visual-bar--top {
    width: 35%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}
.pyramid-visual-bar--heart {
    width: 60%;
    background: linear-gradient(90deg, #f9a8d4, #ec4899);
}
.pyramid-visual-bar--base {
    width: 85%;
    background: linear-gradient(90deg, #c4b5fd, #8b5cf6);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .scent-pyramid {
        padding: 36px 0 24px;
    }
    .pyramid-tier {
        padding: 20px 16px;
    }
    .pyramid-notes {
        padding-left: 0;
    }
    .pyramid-tier-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .pyramid-note {
        padding: 6px 12px;
        font-size: 12px;
    }
    .pyramid-tier:not(:last-child)::after {
        left: 16px;
        right: 16px;
    }
}
@media (max-width: 480px) {
    .scent-pyramid-subtitle {
        margin-bottom: 28px;
    }
    .pyramid-visual-bar--top { width: 45%; }
    .pyramid-visual-bar--heart { width: 70%; }
    .pyramid-visual-bar--base { width: 92%; }
    .pyramid-tier {
        padding: 16px 12px;
    }
    .pyramid-tier-header {
        gap: 10px;
    }
}
