/* Salon components: intentionally scoped, independent of the legacy Sass build. */
.salon-carousel {
    width: 100%;
    background: #000;
    color: #fff;
    position: relative;
    clear: both;
    margin-bottom: 10px;
}
.salon-carousel__screen {
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000;
}
.salon-carousel .salon-carousel__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.salon-carousel [hidden] { display: none !important; }
.salon-carousel__controls {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
    padding: 16px max(20px, calc((100% - 1200px) / 2));
    border-top: 1px solid #333;
}
.salon-carousel__navigation,
.salon-carousel__choices,
.salon-carousel__playback {
    display: flex;
    gap: 8px;
    align-items: center;
}
.salon-carousel button {
    appearance: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    padding: 10px 16px;
    border: 1px solid #777;
    border-radius: 0;
    color: #fff;
    background: #000;
    font: 700 15px / 1.2 'ITCAvantGardeStdBkCn', sans-serif;
    letter-spacing: .02em;
    text-transform: none;
    box-shadow: none;
}
.salon-carousel button:hover { background: #292929; }
.salon-carousel button[aria-pressed="true"][data-film] {
    background: #e9220a;
    border-color: #e9220a;
    box-shadow: inset 0 -3px #fff;
}
.salon-carousel button:focus-visible,
.salon-novelties__link:focus-visible {
    outline: 3px solid #ff3c22;
    outline-offset: 4px;
}
.salon-carousel__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    border: 0;
    appearance: none;
    background: #333;
    color: #e9220a;
}
.salon-carousel__progress::-webkit-progress-bar { background: #333; }
.salon-carousel__progress::-webkit-progress-value { background: #e9220a; }
.salon-carousel__progress::-moz-progress-bar { background: #e9220a; }
.salon-carousel__error,
.salon-carousel__fallback { width: 100%; padding: 8px 16px; color: #fff; }
.salon-carousel__fallback a { color: #fff; text-decoration: underline; margin-right: 16px; }
.salon-carousel__advice {
    display: flex;
    justify-content: flex-end;
    padding: 18px max(24px, calc((100% - 1200px) / 2)) 24px;
    background: #000;
    text-align: right;
    color: #fff;
    font: 16px / 1.6 'ITCAvantGardeStdBkCn', sans-serif;
}
.salon-carousel__advice p { margin: 0; font: inherit; color: #fff; }
.salon-carousel__advice strong { font-size: 20px; color: #fff; }
.salon-carousel__advice a { color: #ff3c22; text-decoration: underline; text-underline-offset: 3px; }
.salon-intro {
    position: relative;
    overflow: hidden;
    background: #e1e1e1;
}
.salon-intro::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 18%;
    background: #000;
    clip-path: polygon(0 0, 65% 0, 100% 100%, 0 100%);
}
.salon-intro__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 32px 48px 80px;
}
.salon-intro__copy { text-align: center; }
.salon-intro h1 {
    max-width: 300px;
    margin: 0 auto 36px;
    font: 400 clamp(23px, 2.2vw, 30px) / 1.85 'ITCAvantGardeStdBkCn', sans-serif;
    color: #111;
    text-transform: none;
}
.salon-intro h1::first-letter { color: inherit; font-weight: inherit; }
.salon-intro__photo img { display: block; width: 100%; height: auto; }
.salon-button {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 32px;
    justify-content: center;
    align-items: center;
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    background: #ef2614;
    color: #fff;
    text-decoration: none;
    font: 700 18px / 1.4 'ITCAvantGardeStdBkCn', sans-serif;
}
.salon-button:hover { background: #c61709; color: #fff; }
.salon-button:focus-visible {
    clip-path: none;
    outline: 3px solid #111;
    outline-offset: 4px;
}
.salon-technology { padding: 64px 24px 80px; background: #fff; }
.salon-technology__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}
.salon-technology__preview {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    color: #fff;
}
.salon-technology__preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.salon-technology__preview:focus-visible { outline: 3px solid #ef2614; outline-offset: 5px; }
.salon-technology__play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 72px;
    height: 52px;
    background: #ef2614;
    color: #fff;
    font-size: 26px;
    border-radius: 8px;
}
.salon-technology__preview:hover .salon-technology__play { background: #c61709; }
.salon-technology__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 5px;
    background: #000;
    font: 700 14px / 1.4 sans-serif;
}
.salon-technology__player { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.salon-technology__watch-link { display: inline-block; margin-top: 10px; color: #222; text-decoration: underline; }
.salon-technology__copy { font: 400 clamp(19px, 1.8vw, 25px) / 1.8 'ITCAvantGardeStdBkCn', sans-serif; color: #111; }
.salon-technology__copy h2 { margin: 0 0 10px; font: inherit; text-align: left; }
.salon-technology__copy h2::first-letter { color: inherit; }
.salon-technology__copy strong { color: #ef2614; }
.salon-technology__copy p { margin: 0 0 20px; font: inherit; color: inherit; }
.salon-technology__copy .salon-button { font-size: 16px; font-weight: 400; }
/* The shortened homepage no longer needs the old 100px product margins. */
.page-template-templateshome-php .section2-product {
    margin: 0;
    padding: 24px 20px 32px;
    background: #fafafa;
}
.page-template-templateshome-php .section2-product .h2-product { font-size: clamp(26px, 2.3vw, 32px); }
.page-template-templateshome-php .section2-product li h2 { font-size: 24px; }
.page-template-templateshome-php .section_temoignage { padding-top: 24px; background: #fafafa; }
.page-template-templateshome-php .section4 { margin-bottom: 0; padding: 24px 0 32px; background: #fafafa; }
.salon-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.woocommerce div.product .salon-novelties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    clear: both;
    max-width: 720px;
    width: 100%;
    margin: 32px 0 48px;
}
.woocommerce div.product .salon-novelties__link {
    display: block;
    min-width: 0;
    line-height: 0;
}
.woocommerce div.product .salon-novelties img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    border: 0;
    margin: 0;
}
@media (max-width: 767px) and (orientation: portrait) {
    .salon-carousel__screen { aspect-ratio: 9 / 16; }
}
@media (max-width: 767px) {
    /* The existing fixed mobile menu bar occupies 175px in this theme. */
    .salon-carousel { margin-top: 175px; }
    .salon-carousel__advice { padding: 20px; text-align: center; justify-content: center; }
    .salon-carousel__advice strong { font-size: 18px; }
    .salon-intro::before { width: 24px; clip-path: none; }
    .salon-intro__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 24px 36px 48px; }
    .salon-intro h1 { margin-bottom: 24px; }
    .salon-technology { padding: 40px 24px 48px; }
    .salon-technology__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
    .salon-carousel__controls { padding: 12px 12px 16px; justify-content: center; }
    .salon-carousel__navigation { width: 100%; justify-content: center; gap: 6px; }
    .salon-carousel__choices { flex: 1; justify-content: center; }
    .salon-carousel__choices button { flex: 1; }
    .salon-carousel button { font-size: 13px; padding: 10px; }
    .woocommerce div.product .salon-novelties {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin: 24px 0 32px;
    }
}
