/* Scent Finder — JoeScents */

.sf-page .page-header {
    margin-bottom: 0;
}

.sf-header__back {
    display: none;
}

.sf-body {
    max-width: 1100px;
    padding-top: 2.25rem;
    padding-bottom: 3rem;
}

.sf-intro {
    max-width: 34rem;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.sf-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sc-accent, #a8926a);
    margin: 0 0 0.4rem;
}

.sf-title {
    font-family: var(--sc-font-display, "Cormorant Garamond", serif);
    font-weight: 600;
    font-size: clamp(1.65rem, 2.8vw, 2.15rem);
    color: var(--sc-ink, #152a25);
    margin: 0 0 0.45rem;
    line-height: 1.15;
}

.sf-lede {
    margin: 0;
    color: var(--sc-muted, #5a6f68);
    font-size: 0.94rem;
    line-height: 1.55;
}

.sf-alert {
    border-radius: 2px;
    border: 0;
    max-width: 640px;
    margin: 0 auto 1.25rem;
}

.sf-accords {
    margin-bottom: 1.25rem;
}

.sf-accord {
    display: block;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.sf-accord-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sf-accord-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    height: 100%;
    min-height: 9.5rem;
    padding: 1.1rem 1rem 1.15rem;
    background: #fff;
    border: 1px solid var(--sc-line, #d7e0dc);
    border-radius: 2px;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.sf-accord:hover .sf-accord-card {
    border-color: rgba(31, 74, 66, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(21, 42, 37, 0.06);
}

.sf-accord-input:focus-visible + .sf-accord-card {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.sf-accord-input:checked + .sf-accord-card {
    border-color: var(--bs-primary);
    background: linear-gradient(165deg, rgba(31, 74, 66, 0.07) 0%, #ffffff 58%);
    box-shadow: 0 0 0 1px rgba(31, 74, 66, 0.08);
}

.sf-accord-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 2px;
    border: 1px solid var(--sc-line, #d7e0dc);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: transparent;
    background: #fff;
    transition: 0.2s ease;
}

.sf-accord-input:checked + .sf-accord-card .sf-accord-check {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
}

.sf-accord-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-surface-2, #eef2f0);
    color: var(--bs-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.sf-accord-input:checked + .sf-accord-card .sf-accord-icon {
    background: rgba(31, 74, 66, 0.12);
    color: var(--bs-primary);
}

.sf-accord-name {
    font-family: var(--sc-font-body, Manrope, sans-serif);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sc-ink, #152a25);
    line-height: 1.2;
}

.sf-accord-hint {
    font-size: 0.8rem;
    color: var(--sc-muted, #5a6f68);
    line-height: 1.35;
}

.sf-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--sc-line, #d7e0dc);
    border-radius: 2px;
}

.sf-selected-count {
    font-size: 0.9rem;
}

.sf-submit,
.sf-sticky__cta {
    border-radius: 2px !important;
    min-height: 2.85rem;
    padding: 0.7rem 1.35rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-submit:disabled,
.sf-sticky__cta:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sf-sticky {
    display: none;
}

.sf-results-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.sf-retake {
    border-radius: 2px !important;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 1.1rem;
}

.sf-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.sf-chips-label {
    font-size: 0.8rem;
    color: var(--sc-muted, #5a6f68);
    margin-right: 0.1rem;
}

.sf-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
    background: #fff;
    border: 1px solid var(--sc-line, #d7e0dc);
    color: var(--sc-ink, #152a25);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sf-empty {
    max-width: 28rem;
    margin: 0.5rem auto 0;
    padding: 2rem 1.25rem;
    text-align: center;
    background:
        radial-gradient(520px 180px at 50% 0%, rgba(168, 146, 106, 0.1), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--sc-surface, #f6f8f7) 100%);
    border: 1px solid var(--sc-line, #d7e0dc);
    border-radius: 2px;
}

.sf-empty__title {
    margin: 0 0 0.45rem;
    font-family: var(--sc-font-display, "Cormorant Garamond", serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--sc-ink, #152a25);
}

.sf-empty__lede {
    margin: 0 0 1.25rem;
    color: var(--sc-muted, #5a6f68);
    font-size: 0.94rem;
}

.sf-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.sf-empty__actions .btn {
    border-radius: 2px !important;
    min-height: 2.7rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.65rem 1.15rem;
}

.sf-results-foot {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sc-line, #d7e0dc);
    text-align: center;
}

.sf-results-foot__lede {
    margin: 0 0 0.85rem;
    color: var(--sc-muted, #5a6f68);
}

.sf-results-foot .btn {
    border-radius: 2px !important;
    min-height: 2.75rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.7rem 1.25rem;
}

@media (max-width: 991.98px) {
    .sf-header {
        padding-top: 0.85rem !important;
        padding-bottom: 0.75rem !important;
        min-height: 0 !important;
        text-align: center;
    }

    .sf-header__title,
    .sf-header__lede,
    .sf-header__crumbs {
        display: none;
    }

    .sf-header__back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
        font-size: 0.78rem;
        font-weight: 650;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .sf-header__back:hover,
    .sf-header__back:focus-visible {
        color: #fff;
        text-decoration: none;
    }

    .sf-body {
        padding-top: 1.15rem;
        padding-bottom: 5rem;
    }

    .sf-intro {
        margin-bottom: 1.1rem;
        text-align: left;
    }

    .sf-title {
        font-size: 1.55rem;
    }

    .sf-lede {
        font-size: 0.88rem;
    }

    .sf-accord-card {
        min-height: 8.1rem;
        padding: 0.85rem 0.75rem 0.9rem;
        gap: 0.2rem;
    }

    .sf-accord-icon {
        width: 2.05rem;
        height: 2.05rem;
        font-size: 0.88rem;
        margin-bottom: 0.15rem;
    }

    .sf-accord-name {
        font-size: 0.76rem;
        letter-spacing: 0.04em;
    }

    .sf-accord-hint {
        font-size: 0.7rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .sf-accord-check {
        top: 8px;
        right: 8px;
        width: 1.1rem;
        height: 1.1rem;
        font-size: 0.55rem;
    }

    .sf-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: var(--sc-mobile-nav-offset, 4.75rem);
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.55rem 0.85rem;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--sc-line, #d7e0dc);
        box-shadow: 0 -8px 24px rgba(21, 42, 37, 0.1);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .sf-sticky__info {
        min-width: 0;
    }

    .sf-sticky__label {
        font-size: 0.86rem;
        font-weight: 700;
        color: var(--sc-ink, #152a25);
        line-height: 1.2;
    }

    .sf-sticky__meta {
        margin-top: 0.1rem;
        font-size: 0.68rem;
        color: var(--sc-muted, #5a6f68);
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .sf-sticky__cta {
        flex-shrink: 0;
        min-width: 7.5rem;
        min-height: 2.55rem;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    body.sc-frontend:has(.sf-page:not(.sf-page--results)) .sc-whatsapp-float {
        display: none;
    }

    .sf-results-head {
        margin-bottom: 1.1rem;
    }

    .sf-results-grid .sc-product-card__media {
        flex-basis: 9.5rem;
        height: 9.5rem;
    }

    .sf-empty__actions {
        flex-direction: column;
        align-items: stretch;
    }
}
