/* Affiliate partner salons — public directory */

.salons-page {
    position: relative;
    z-index: 1;
    padding: calc(var(--site-header-clearance, 7rem) + 0.75rem) clamp(1rem, 4vw, 5%) 4.5rem;
    margin: 0;
    background: var(--bg-color);
    overflow-x: hidden;
}

.salons-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.salons-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.salons-hero__eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.salons-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 0 0 0.85rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.2;
}

.salons-hero__lead {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 740px;
    margin: 0 auto 1.25rem;
    line-height: 1.65;
}

.salons-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.salons-hero__actions .btn {
    min-height: 44px;
}

.salons-section {
    margin: 0 0 2.75rem;
}

.salons-section__title {
    margin: 0 0 0.55rem;
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    font-weight: 500;
    line-height: 1.3;
}

.salons-section__text {
    margin: 0 0 1.15rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 760px;
}

.salons-section__text a {
    color: var(--accent);
}

.salons-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.salons-benefits__card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.25rem 1.15rem;
}

.salons-benefits__card h3 {
    margin: 0 0 0.55rem;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
}

.salons-benefits__card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.salons-benefits__card a {
    color: var(--accent);
}

.salons-steps {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.salons-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.1rem 1.15rem;
}

.salons-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.salons-steps h3 {
    margin: 0 0 0.35rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.salons-steps p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.salons-steps a {
    color: var(--accent);
}

.salons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 1.35rem;
}

.salon-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.salon-card:hover {
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
}

.salon-card__logo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, #191919 0%, #141414 100%);
    border-bottom: 1px solid #2a2a2a;
    overflow: hidden;
}

.salon-card__logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
}

.salon-card__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--accent);
    font-size: 1.6rem;
    font-weight: 700;
}

.salon-card__body {
    padding: 1.15rem 1.2rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.salon-card__name {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.salon-card__label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.salon-card__phone,
.salon-card__address {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.salon-card__phone a {
    color: #f1f1f1;
    text-decoration: none;
    word-break: break-word;
}

.salon-card__phone a:hover {
    color: var(--accent);
}

.salon-card__address--muted {
    color: #777;
}

.salons-empty {
    margin: 1.25rem 0 0;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed #444;
    border-radius: 8px;
    line-height: 1.65;
}

.salons-empty a {
    color: var(--accent);
}

.salons-pagination {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    border-top: 1px solid #333;
}

.salons-pagination__summary {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
}

.salons-pagination__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.salons-pagination__pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.salons-pagination__btn,
.salons-pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #1a1a1a;
    color: var(--text-primary, #f0f0f0);
    font-size: 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.salons-pagination__btn {
    min-width: 110px;
    padding: 0 18px;
}

.salons-pagination__page {
    min-width: 40px;
}

.salons-pagination__btn:hover:not(.is-disabled),
.salons-pagination__page:hover:not(.is-active) {
    border-color: var(--accent);
    color: var(--accent);
}

.salons-pagination__page.is-active {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    font-weight: 700;
}

.salons-pagination__btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.salons-pagination__ellipsis {
    color: #777;
    padding: 0 0.25rem;
}

.salons-faq {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.salons-faq__item {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
}

.salons-faq__item summary {
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    list-style: none;
}

.salons-faq__item summary::-webkit-details-marker {
    display: none;
}

.salons-faq__item p {
    margin: 0.75rem 0 0.25rem;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
}

.salons-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 2.5rem;
}

.salons-trust {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.salons-trust p {
    margin: 0 0 0.75rem;
}

.salons-trust a {
    color: var(--accent);
}

/* Homepage featured partner salons — carousel */
.home-salons-intro {
    margin: 0 auto 1.5rem;
    max-width: 760px;
    text-align: left;
}

.home-salons-carousel {
    position: relative;
    margin: 0;
}

.home-salons-carousel.has-controls {
    padding: 0 3.25rem;
}

.home-salons-nav {
    position: absolute;
    top: clamp(3.25rem, 18%, 6.5rem);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.55);
    background: rgba(18, 18, 18, 0.92);
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.home-salons-nav--prev {
    left: 0;
}

.home-salons-nav--next {
    right: 0;
}

.home-salons-nav:hover:not(:disabled),
.home-salons-nav:focus-visible:not(:disabled) {
    background: var(--accent);
    color: #121212;
    border-color: var(--accent);
    outline: none;
    transform: scale(1.05);
}

.home-salons-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.home-salons-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
    pointer-events: none;
}

.home-salons-viewport {
    overflow: hidden;
    touch-action: pan-y;
    margin: 0;
    padding: 0.2rem 0.1rem 0.35rem;
}

.home-salons-track {
    display: flex;
    align-items: stretch;
    gap: 1.15rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.home-salon-slide {
    flex: 0 0 calc((100% - 2.3rem) / 3);
    min-width: 0;
    display: flex;
}

.home-salon-card {
    width: 100%;
    min-height: 100%;
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.home-salon-card:hover {
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.home-salon-card__logo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, #191919 0%, #141414 100%);
    border-bottom: 1px solid #2a2a2a;
    overflow: hidden;
}

.home-salon-card__logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
}

.home-salon-card__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 700;
}

.home-salon-card__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.home-salon-card__name {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.home-salon-card__label {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-salon-card__phone,
.home-salon-card__address {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.home-salon-card__phone a {
    color: #f1f1f1;
    text-decoration: none;
    word-break: break-word;
}

.home-salon-card__phone a:hover {
    color: var(--accent);
}

.home-salon-card__address {
    margin-top: auto;
}

.home-salon-card__address-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.home-salon-card__address.is-empty .home-salon-card__address-text {
    color: #777;
    font-style: italic;
}

.home-salons-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.home-salons-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #555;
    background: #2a2a2a;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-salons-dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15);
}

.home-salons-footer {
    margin-top: 1.5rem;
    text-align: center;
}

@media (max-width: 960px) {
    .home-salons-carousel.has-controls {
        padding: 0 2.75rem;
    }

    .home-salons-nav {
        width: 44px;
        height: 44px;
        top: clamp(3rem, 16%, 5.5rem);
    }

    .home-salon-slide {
        flex-basis: calc((100% - 1.15rem) / 2);
    }
}

@media (max-width: 900px) {
    .salons-benefits,
    .salons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-salons-carousel.has-controls {
        padding: 0;
    }

    .home-salons-nav {
        position: static;
        width: 46px;
        height: 46px;
        box-shadow: none;
    }

    .home-salons-nav--prev,
    .home-salons-nav--next {
        left: auto;
        right: auto;
    }

    .home-salons-carousel.has-controls {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.75rem 0.65rem;
    }

    .home-salons-viewport {
        order: 1;
        flex: 1 1 100%;
        width: 100%;
    }

    .home-salons-nav--prev {
        order: 2;
    }

    .home-salons-nav--next {
        order: 3;
    }

    .home-salons-dots {
        order: 4;
        flex: 1 1 100%;
        margin-top: 0.35rem;
    }

    .home-salon-slide {
        flex-basis: 100%;
    }

    .salons-benefits,
    .salons-grid {
        grid-template-columns: 1fr;
    }
}
