/*
 * BFH Perfume Hero (hero.css)
 *
 * The dark masthead rendered by templates/partials/hero.php. Split from
 * single.css because the hero is also exposed as a standalone Elementor
 * widget and should not drag the whole page shell in with it.
 */

.bfh-hero {
    position: relative;
    padding-block: var(--bfh-space-6) var(--bfh-space-8);
    background:
        radial-gradient(ellipse at 15% 0%, var(--bfh-color-primary-transparent), transparent 60%),
        var(--bfh-bg-page);
    border-bottom: var(--bfh-border-width) solid var(--bfh-border);
    color: var(--bfh-text-primary);
}

.bfh-hero__inner {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: var(--bfh-space-5);
}

/* -------------------- Breadcrumb -------------------- */
.bfh-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--bfh-space-2);
    margin-bottom: var(--bfh-space-6);
    font-size: var(--bfh-text-xs);
    color: var(--bfh-text-muted);
    display:none;
}

.bfh-hero__breadcrumb a {
    color: var(--bfh-text-secondary);
    text-decoration: none;
    transition: color var(--bfh-anim-fast);
}

.bfh-hero__breadcrumb a:hover {
    color: var(--bfh-color-primary);
}

.bfh-hero__breadcrumb [aria-current="page"] {
    color: var(--bfh-text-primary);
}

/* -------------------- Layout -------------------- */
.bfh-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: var(--bfh-space-8);
    align-items: center;
}

.bfh-hero__media {
    position: relative;
    border-radius: var(--bfh-radius-xl);
    overflow: hidden;
    background-color: var(--bfh-surface);
    border: var(--bfh-border-width) solid var(--bfh-border);
}

.bfh-hero__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* The placeholder is an empty div, so it needs the tinted wash the real image
   would otherwise supply. */
.bfh-hero__image--placeholder {
    background:
        linear-gradient(135deg, var(--bfh-surface-hover), var(--bfh-surface));
}

.bfh-hero__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--bfh-space-4);
    min-width: 0;
}

/* -------------------- Identity -------------------- */
.bfh-hero__badge {
    letter-spacing: 0.12em;
    background-color: var(--bfh-color-primary-transparent);
    color: var(--bfh-color-primary);
    border: var(--bfh-border-width) solid var(--bfh-color-primary);
}

.bfh-hero__title {
    display: flex;
    flex-direction: column;
    gap: var(--bfh-space-1);
    margin: 0;
    font-family: var(--bfh-font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: var(--bfh-font-weight-semibold);
    line-height: 1.1;
}

.bfh-hero__subtitle {
    font-family: var(--bfh-font-sans);
    font-size: var(--bfh-text-lg);
    font-weight: var(--bfh-font-weight-light);
    color: var(--bfh-text-secondary);
}

.bfh-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--bfh-space-2);
    margin: 0;
    font-size: var(--bfh-text-sm);
    color: var(--bfh-text-secondary);
}

.bfh-hero__meta a {
    color: var(--bfh-color-primary);
    text-decoration: none;
    transition: color var(--bfh-anim-fast);
}

.bfh-hero__meta a:hover {
    color: var(--bfh-color-primary-hover);
    text-decoration: underline;
}

/* -------------------- Spec tiles -------------------- */
.bfh-hero__specs {
    display: grid;
    /* Four tiles in the design, but the list is filtered server-side, so the
       track count follows whatever survived rather than leaving empty cells. */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--bfh-space-3);
    width: 100%;
    margin: var(--bfh-space-2) 0 0;
    padding: 0;
    list-style: none;
}

.bfh-hero__spec {
    display: flex;
    flex-direction: column;
    gap: var(--bfh-space-1);
    padding: var(--bfh-space-4);
    background-color: var(--bfh-surface-glass);
    border: var(--bfh-border-width) solid var(--bfh-border);
    border-radius: var(--bfh-radius-lg);
    transition: border-color var(--bfh-anim-fast);
}

.bfh-hero__spec:hover {
    border-color: var(--bfh-border-hover);
}

.bfh-hero__spec-label {
    font-size: var(--bfh-text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bfh-text-muted);
}

.bfh-hero__spec-value {
    font-size: var(--bfh-text-base);
    font-weight: var(--bfh-font-weight-semibold);
    color: var(--bfh-text-primary);
}



h1.bfh-hero__title {
    font-size: 52px !important;
    font-weight: 600 !important;
    line-height: 57px !important;
}


.bfh-btn.bfh-btn-primary {
    font-size: 14px;
}


li.bfh-tabs__item .bfh-tabs__link {
    font-size: 12px;
    line-height: 19px;
    font-weight: 600;
}

a.bfh-popular__title {
    font-size: 14px !important;
}

a.bfh-share__link span {
    font-size: 14px;
}

/* -------------------- Actions -------------------- */
.bfh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bfh-space-3);
    margin-top: var(--bfh-space-2);
}

/* The hero favourite is a labelled pill, not the round icon the cards use, so
   the round radius from components.css is reset here. */
.bfh-hero__actions .bfh-favorite-toggle {
    padding: var(--bfh-space-3) var(--bfh-space-5);
    border-radius: var(--bfh-radius-md);
    font-size: var(--bfh-text-sm);
    font-weight: var(--bfh-font-weight-medium);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
    .bfh-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--bfh-space-6);
    }

    .bfh-hero__media {
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .bfh-hero {
        padding-block: var(--bfh-space-5) var(--bfh-space-6);
    }

    .bfh-hero__actions .bfh-btn,
    .bfh-hero__actions .bfh-button {
        flex: 1 1 100%;
    }
}


