/* ==========================================================================
   Hair Lab — desktop foundation
   Rewritten to match the approved homepage design.
   ========================================================================== */

:root {
    --bg: #f7f4ef;
    --paper: #faf8f4;
    --paper-2: #f2eee7;
    --card: #f1ece4;
    --white: #fff;
    --ink: #1d1b19;
    --muted: #6f6a63;
    --line: #e3ded5;
    --line-strong: #d6cfc4;
    --gold: #a7884f;
    --dark: #171614;
    --container: 1360px;
    --stock-in: #2a6f45;
    --stock-low: #8a6420;
    --stock-out: #9a3b32;
    --radius: 2px;
    --font-body: "Montserrat", Arial, sans-serif;
    --font-display: "El Messiri", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

/* The design sets every heading in Montserrat; El Messiri is kept for the
   wordmark and the product-page display type only. */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 600; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.container { width: min(var(--container), calc(100% - 96px)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.utility-bar {
    height: 44px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    letter-spacing: .2px;
    color: #3c3833;
}
.utility-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.utility-nav { display: flex; align-items: center; gap: 28px; }
.utility-nav a { white-space: nowrap; }
/* Същата преливка като бутоните .button-gold / .btn-gold. */
.utility-nav .pro-login {
    background-color: var(--gold);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%, rgba(0, 0, 0, .06) 100%),
        linear-gradient(90deg,
            #9b7747 0%, #a27e4f 22%, #ab8656 40%, #bd9766 57%,
            #a6814f 67%, #9c794b 78%, #9d7a4c 88%, #a17d4e 100%);
    color: #fff;
    padding: 8px 17px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color .25s ease;
}
.utility-nav .pro-login:hover { background-color: #8f7340; background-image: none; }
.chevron { margin-left: 6px; font-size: 9px; }

.main-header { height: 76px; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; }

.logo { display: flex; align-items: center; }
.logo-mark { display: none; }
.logo-text {
    display: block;
    width: 244px;
    height: 54px;
    font-size: 0;
    color: transparent;
    background: url("../assets/images/logo-hairlab.png") left center / contain no-repeat;
}

.main-nav { display: flex; align-items: center; gap: 26px; margin-left: 62px; }
.main-nav a { font-size: 11px; font-weight: 500; letter-spacing: .9px; white-space: nowrap; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.header-actions button {
    width: 22px;
    height: 22px;
    border: 0;
    padding: 0;
    font-size: 0;
    color: transparent;
    background: transparent center / 20px 20px no-repeat;
}
.header-actions button:nth-of-type(1) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d1b19' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='5.6'/%3E%3Cpath d='M13.2 13.2L17.6 17.6'/%3E%3C/svg%3E");
}
.header-actions button:nth-of-type(2) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d1b19' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.6 2.4h2.3l2.4 8.8h8.4l1.8-6.4H5.3'/%3E%3Ccircle cx='7.9' cy='15.6' r='1.3'/%3E%3Ccircle cx='14.1' cy='15.6' r='1.3'/%3E%3C/svg%3E");
}
.header-actions button:nth-of-type(3) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d1b19' stroke-width='1.3' stroke-linejoin='round'%3E%3Cpath d='M3.9 6.4h12.2l-.9 10.4H4.8z'/%3E%3Cpath d='M7.4 6.4V5.1a2.6 2.6 0 015.2 0v1.3'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    /* Cream scrim over the left of the hero so the headline stays legible
       where it meets the model's hair; it fades out before the PRO panel. */
    background-image:
        linear-gradient(93deg,
            rgba(246, 241, 234, .90) 0%,
            rgba(246, 241, 234, .88) 26%,
            rgba(246, 241, 234, .66) 42%,
            rgba(246, 241, 234, .26) 56%,
            rgba(246, 241, 234, 0) 70%),
        url("../assets/images/hero.webp");
    background-size: cover, cover;
    background-position: center, center 30%;
    background-repeat: no-repeat, no-repeat;
    background-color: #efe9e1;
}
.hero-inner {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    position: relative;
}
.hero-copy { padding: 54px 24px 54px 0; z-index: 2; max-width: 720px; }

/* The design has no eyebrow above the headline. */
.eyebrow { display: none; }

.hero h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: #141210;
}
.hero-description { margin: 26px 0 32px; font-size: 14.5px; line-height: 1.75; color: #3c3833; max-width: 460px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .button { width: auto; min-width: 210px; }

.pro-panel {
    justify-self: end;
    width: 330px;
    padding: 26px 26px 24px;
    background: rgba(252, 250, 247, .93);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: var(--radius);
    box-shadow: 0 2px 18px rgba(60, 50, 35, .07);
}
.pro-panel h3 { margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .8px; }
.pro-panel ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 15px; font-size: 12px; line-height: 1.4; }
.pro-panel li { display: grid; grid-template-columns: 20px 1fr; align-items: center; column-gap: 13px; }
.pro-panel li::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236f6a63' stroke-width='1.1'%3E%3Ccircle cx='10' cy='10' r='7.3'/%3E%3Ccircle cx='10' cy='10' r='2.7'/%3E%3C/svg%3E") center / contain no-repeat;
    margin: 0;
    font-size: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border: 1px solid transparent;
    padding: 0 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    transition: opacity .2s ease;
}
.button:hover { opacity: .88; }
.button-dark { background: #161511; color: #fff; }
/* Gold gradient sampled from the design: a soft sheen that peaks just past
   the centre and falls back to a deeper gold at both edges, with a light
   top edge and a slightly shaded bottom. */
.button-gold {
    color: #fff;
    width: 100%;
    min-height: 46px;
    background-color: var(--gold);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%, rgba(0, 0, 0, .06) 100%),
        linear-gradient(90deg,
            #9b7747 0%,
            #a27e4f 22%,
            #ab8656 40%,
            #bd9766 57%,
            #a6814f 67%,
            #9c794b 78%,
            #9d7a4c 88%,
            #a17d4e 100%);
}
.button-outline { border-color: var(--gold); color: #fff; background: transparent; }

/* --------------------------------------------------------------------------
   Section shell
   -------------------------------------------------------------------------- */

.section { background: var(--paper); }

/* Заглавията на секциите следват езика на бранд страниците:
   малък златен надслов и едро заглавие с антиква. */
.section-heading { padding: 48px 0 30px; }
.section-kicker {
    margin: 0 0 14px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    color: var(--gold);
}
.section-heading h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: #1c1a17;
}
.row-heading { display: flex; justify-content: space-between; align-items: flex-end; }

/* Линк под мрежата (например „Вижте всички марки“) */
.section-more {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 6px 0 34px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #3f3a33;
}
.section-more:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }

/* Placeholder fill for artwork that has not been delivered yet.
   ::before only paints while the image fails to load, so it disappears
   automatically once the real files are added. */
.need-card img,
.solution-grid img,
.bp-step-media img,
.bp-pack-media img,
.bp-offer-media img,
.bp-story-visual img,
.product-image img { position: relative; font-size: 0; color: transparent; }
.need-card img::before,
.solution-grid img::before,
.bp-step-media img::before,
.bp-pack-media img::before,
.bp-offer-media img::before,
.bp-story-visual img::before,
.product-image img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e9e3da 0%, #d9d2c7 100%);
}
.product-image img::before { background: linear-gradient(135deg, #f3f0ea 0%, #e6e0d6 100%); }

/* --------------------------------------------------------------------------
   Shop by need
   -------------------------------------------------------------------------- */

.need-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding-bottom: 30px; }
.need-card {
    background: var(--card);
    min-height: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.need-card img { height: 166px; width: 100%; object-fit: cover; background: #ddd6cb; }
.need-card span { display: block; padding: 16px 10px 10px; font-size: 12px; line-height: 1.4; }
.need-card::after {
    content: "→";
    display: block;
    font-size: 14px;
    line-height: 1;
    color: #3a3631;
    padding-bottom: 18px;
}

/* --------------------------------------------------------------------------
   Featured brands
   -------------------------------------------------------------------------- */

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.brand-card {
    position: relative;
    min-height: 208px;
    padding: 20px 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    background: #2c2c2c center / cover no-repeat;
}
/* Soft vertical wash so the logo stays readable over product photography. */
.brand-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .14) 46%, rgba(0, 0, 0, .06) 100%);
    pointer-events: none;
}
.brand-card .brand-logo-wrap {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
    height: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}
.brand-card .brand-logo-wrap img,
.brand-logo {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}

/* Tagline sits under the logo, flush left with it. */
.brand-tagline {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    text-align: left;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.3px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}

.brand-dark     { background-color: #232323; background-image: url("../assets/images/brand-bg-t10.jpg"); }
.brand-ing      { background-color: #8f8069; background-image: url("../assets/images/brand-bg-ing.jpg"); }
.brand-medavita { background-color: #5d6a75; background-image: url("../assets/images/brand-bg-medavita.jpg"); }
.brand-innovatis{ background-color: #948c7d; background-image: url("../assets/images/brand-bg-innovatis.jpg"); }
.brand-mowan    { background-color: #4f575d; background-image: url("../assets/images/brand-bg-mowan.jpg"); }
.brand-winstory { background-color: #131313; background-image: url("../assets/images/brand-bg-winstory.jpg"); }

/* --------------------------------------------------------------------------
   Pro solutions
   -------------------------------------------------------------------------- */

.solution-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-bottom: 30px; }
.solution-grid a { position: relative; height: 148px; overflow: hidden; background: #b3aca2; }
.solution-grid img { width: 100%; height: 100%; object-fit: cover; }
/* Stronger wash in the top-left corner only, where the label sits — the
   real photography runs from near-white to near-black across the row. */
.solution-grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .30) 34%, rgba(0, 0, 0, .04) 66%),
        linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, 0) 45%);
}
/* Labels sit top-left in the design, not bottom-left. */
.solution-grid span {
    position: absolute;
    z-index: 1;
    left: 24px;
    top: 22px;
    right: 16px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .6px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .35);
}

/* --------------------------------------------------------------------------
   Academy band
   -------------------------------------------------------------------------- */

.academy {
    position: relative;
    background: var(--dark) url("../assets/images/academy.jpg") center / cover no-repeat;
    color: #fff;
}
.academy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 13, 12, .94) 0%, rgba(14, 13, 12, .72) 45%, rgba(14, 13, 12, .9) 100%);
}
.academy-inner {
    position: relative;
    z-index: 1;
    min-height: 140px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    column-gap: 24px;
    row-gap: 18px;
    padding: 26px 0 30px;
}
.academy-title { grid-column: 1 / -1; }
.academy-title h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 400; letter-spacing: .2px; text-transform: uppercase; color: #fff; }
.academy-title .section-kicker { margin-bottom: 10px; color: var(--gold-soft); }
/* Скрит е само подзаглавието — надсловът е също <p>. */
.academy-title p:not(.section-kicker) { display: none; }

.academy-item { border-left: 0; padding-left: 0; display: grid; gap: 7px; align-content: start; }
.academy-item strong { font-size: 11px; font-weight: 600; letter-spacing: 1px; }
.academy-item span { color: #b8b2a8; font-size: 11px; line-height: 1.5; }

.academy .button { grid-column: 5; grid-row: 2; justify-self: end; align-self: center; min-height: 42px; font-size: 10px; }

/* --------------------------------------------------------------------------
   Best sellers
   -------------------------------------------------------------------------- */

.products { background: var(--paper); }
.products .container { position: relative; }
.products .section-heading { padding: 26px 0 14px; }

/* Navigation arrows sit outside the track, vertically centred on the cards. */
.products .slider-controls { display: contents; }
.products .slider-controls .swiper-button-prev,
.products .slider-controls .swiper-button-next {
    position: absolute;
    top: 281px;
    margin: 0;
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent;
    color: #4a453f;
    --swiper-navigation-size: 20px;
}
.products .slider-controls .swiper-button-prev { left: -4px; }
.products .slider-controls .swiper-button-next { right: -4px; }
.products .slider-controls .swiper-button-prev::after,
.products .slider-controls .swiper-button-next::after { font-size: 20px; font-weight: 400; }
.products .slider-controls .swiper-button-disabled { opacity: .3; }

.products-slider { overflow: hidden; margin: 0 38px 34px; }
.products-slider .swiper-wrapper { align-items: stretch; }
.products-slider .swiper-slide { height: auto; }
.products-slider .product-card { height: 100%; }

.product-card {
    background: var(--white);
    border: 1px solid #ece7de;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
}
.product-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    margin-bottom: 14px;
}
.product-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
/* Title first, then the brand — set apart in gold small-caps so the two
   never read as one run of text. */
.product-card h3 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .1px;
    color: var(--ink);
    margin: 0 0 9px;
    min-height: 58px;
}
.product-card-brand {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.product-card strong { font-size: 16px; font-weight: 600; margin-top: auto; }

/* --------------------------------------------------------------------------
   USP footer
   -------------------------------------------------------------------------- */

.usp-footer { background: var(--paper-2); border-top: 1px solid var(--line); }
.usp-grid {
    min-height: 84px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 20px 0;
}
.usp-grid > div {
    border-right: 0;
    padding: 0 28px 0 0;
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
}
.usp-grid > div::before {
    content: "";
    grid-column: 1;
    grid-row: 1 / 3;
    width: 26px;
    height: 26px;
    background: center / contain no-repeat;
}
.usp-grid b { grid-column: 2; align-self: end; font-size: 11px; font-weight: 600; letter-spacing: .9px; }
.usp-grid span { grid-column: 2; align-self: start; font-size: 11px; color: var(--muted); line-height: 1.45; }

.usp-grid > div:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='1.15' stroke-linejoin='round'%3E%3Cpath d='M12 2.6c2.6 3.1 4 5.6 4 7.7a4 4 0 01-8 0c0-2.1 1.4-4.6 4-7.7z'/%3E%3Cpath d='M12 14.4v6.9'/%3E%3Cpath d='M7.4 21.3h9.2'/%3E%3C/svg%3E");
}
.usp-grid > div:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='1.15' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8.4' r='2.6'/%3E%3Ccircle cx='16.2' cy='9.6' r='2.1'/%3E%3Cpath d='M3.4 19.4c0-3.2 2.5-5.6 5.6-5.6s5.6 2.4 5.6 5.6'/%3E%3Cpath d='M16.2 14.2c2.6 0 4.4 1.9 4.4 4.6'/%3E%3C/svg%3E");
}
.usp-grid > div:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='1.15' stroke-linejoin='round'%3E%3Cpath d='M12 3.4l9 4.1-9 4.1-9-4.1z'/%3E%3Cpath d='M7 9.8v4.6c0 1.8 2.2 3.2 5 3.2s5-1.4 5-3.2V9.8'/%3E%3Cpath d='M21 7.5v5.2'/%3E%3C/svg%3E");
}
.usp-grid > div:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1b19' stroke-width='1.15' stroke-linejoin='round'%3E%3Crect x='2.8' y='7.6' width='18.4' height='11.8' rx='1.6'/%3E%3Cpath d='M8.8 7.6V6.2a1.6 1.6 0 011.6-1.6h3.2a1.6 1.6 0 011.6 1.6v1.4'/%3E%3Cpath d='M2.8 12.6h18.4'/%3E%3Cpath d='M10.6 12.6h2.8'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Secondary pages
   -------------------------------------------------------------------------- */

.simple-header { height: 76px; display: flex; align-items: center; justify-content: center; background: var(--paper); border-bottom: 1px solid var(--line); }
.login-main { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 60px 20px; }
.login-card { width: 440px; background: #fff; border: 1px solid var(--line); padding: 42px 44px; }
.login-card h1 { margin: 0 0 10px; font-family: var(--font-display); font-size: 32px; font-weight: 500; letter-spacing: 1px; }
.login-intro { color: var(--muted); font-size: 13px; margin: 0 0 26px; }
.login-card form { display: grid; gap: 16px; }
.login-card label { display: grid; gap: 7px; font-size: 11px; letter-spacing: .4px; }
.login-card input[type="email"],
.login-card input[type="password"] { height: 44px; border: 1px solid var(--line-strong); padding: 0 12px; outline: none; background: #fff; }
.login-card input:focus { border-color: var(--gold); }
.login-options { display: flex !important; justify-content: space-between; align-items: center; font-size: 11px !important; }
.login-options .check { display: flex; align-items: center; gap: 7px; }
.login-options a, .register a { text-decoration: underline; text-underline-offset: 3px; }
.register { text-align: center; color: var(--muted); font-size: 11px; margin: 22px 0 0; }

.product-page { background: var(--paper); min-height: calc(100vh - 120px); padding: 26px 0 70px; }
.breadcrumbs { color: var(--muted); font-size: 11px; margin-bottom: 26px; }
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; }
.product-main-image { height: 520px; background: #efebe5; display: grid; place-items: center; }
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 68px; height: 68px; border: 1px solid var(--line); background: #efebe5; }
.product-info { padding-top: 18px; }
.product-brand { font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.product-info h1 { font-family: var(--font-display); font-size: 44px; font-weight: 500; margin: 10px 0; }
.product-subtitle { color: var(--muted); font-size: 13px; }
.product-price { font-size: 26px; font-weight: 600; margin: 28px 0 16px; }
.product-copy { max-width: 480px; color: #55504a; line-height: 1.75; font-size: 13px; }
.quantity-row { display: flex; align-items: center; margin: 32px 0; }
.quantity-row > button:not(.button) { width: 40px; height: 44px; border: 1px solid var(--line-strong); background: #fff; }
.quantity-row > span { width: 46px; text-align: center; }
.quantity-row .button { margin-left: 16px; min-height: 44px; }
.product-meta { border-top: 1px solid var(--line); margin-top: 36px; }
.product-meta div { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.product-meta b { font-size: 11px; letter-spacing: .6px; }
.product-meta span { font-size: 11px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Narrower desktops / tablets
   -------------------------------------------------------------------------- */

@media (max-width: 1280px) {
    .container { width: min(var(--container), calc(100% - 48px)); }
    .main-nav { gap: 18px; margin-left: 32px; }
    .hero h1 { font-size: 38px; }
    .need-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1000px) {
    .container { width: min(var(--container), calc(100% - 32px)); }
    .main-nav { gap: 14px; margin-left: 20px; }
    .hero-inner { grid-template-columns: 1fr; min-height: 360px; }
    .hero h1 { font-size: 38px; }
    .pro-panel { display: none; }
    .need-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .products-slider { margin-inline: 0; }
    .products .slider-controls .swiper-button-prev,
    .products .slider-controls .swiper-button-next { display: none; }
    .academy-inner { grid-template-columns: repeat(2, 1fr); }
    .academy .button { grid-row: auto; grid-column: 1 / -1 !important; justify-self: start; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* ==========================================================================
   Brand pages — /brands/<brand>/
   ========================================================================== */

:root {
    --serif: "Playfair Display", "El Messiri", Georgia, serif;
    /* Лентите на бранд страниците ползват палитрата на началната страница,
       за да не изглеждат по-жълти от останалата част на сайта. */
    --sand: var(--paper-2);
    --cream: var(--paper);
    --gold-soft: #c3a570;
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.breadcrumbs-bar { background: var(--cream); }
.breadcrumbs-bar .container { display: flex; align-items: center; gap: 9px; height: 46px; font-size: 11px; color: var(--muted); }
.breadcrumbs-bar a { color: var(--muted); }
.breadcrumbs-bar a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs-bar em { font-style: normal; color: var(--ink); }

/* --- Shared type ---------------------------------------------------------- */

.bp-kicker { margin: 0 0 16px; font-size: 11px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--gold); }
.bp-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.2; letter-spacing: .2px; text-transform: uppercase; color: #1c1a17; }
.bp-title-sm { font-size: 30px; }
.bp-lead { margin: 20px 0 0; font-size: 13.5px; line-height: 1.85; color: #544f48; max-width: 420px; }

.bp-split { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 72px; align-items: start; }
.bp-band { padding: 78px 0 84px; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 30px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn::after { content: "→"; font-size: 13px; line-height: 1; letter-spacing: 0; }
.btn-dark { background: #1b1916; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-gold {
    color: #fff;
    background-color: var(--gold);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%, rgba(0, 0, 0, .06) 100%),
        linear-gradient(90deg,
            #9b7747 0%, #a27e4f 22%, #ab8656 40%, #bd9766 57%,
            #a6814f 67%, #9c794b 78%, #9d7a4c 88%, #a17d4e 100%);
}
.btn-gold:hover { background-color: #8f7340; background-image: none; }
.btn-line { border-color: rgba(30, 27, 23, .3); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); background: rgba(30, 27, 23, .04); }
.btn-line-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* --- Hero: one background image, copy on the left ------------------------- */

.bp-hero {
    position: relative;
    background-color: var(--paper-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg,
        rgb(228 228 226 / 97%) 0%,
        rgb(244 244 244 / 95%) 32%,
        rgb(248 248 248 / 21%) 48%,
        rgb(246 246 246 / 26%) 68%,
        rgba(246, 240, 231, 0) 86%);
}
.bp-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 600px; padding: 70px 0; }

/* Пътеката стои в контейнера на банера, не в отделна лента над него. */
.bp-crumbs { position: absolute; top: 22px; left: 0; display: flex; align-items: center; gap: 9px; font-size: 11px; color: #837b71; }
.bp-crumbs a { color: #837b71; }
.bp-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bp-crumbs em { font-style: normal; color: #3f3a33; }
.bp-hero-copy { max-width: 540px; }
.bp-hero-logo {
    height: 46px; width: auto; max-width: 220px;
    object-fit: contain; object-position: left center; margin-bottom: 18px;
    /* логата са доставени бели; на кремавия фон ги обръщаме в мастилено */
    filter: brightness(0) opacity(.88);
}
.bp-hero-rule { display: flex; gap: 22px; font-size: 10px; letter-spacing: 2.4px; color: #8a8175; text-transform: uppercase; padding-bottom: 30px; border-bottom: 1px solid rgba(0, 0, 0, .1); margin-bottom: 30px; }
.bp-hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.22; letter-spacing: .3px; text-transform: uppercase; color: #1c1a17; }
.bp-hero-lead { margin: 24px 0 0; font-size: 13.5px; line-height: 1.9; color: #544f48; max-width: 470px; }

/* --- Numbered steps ------------------------------------------------------- */

.bp-steps { background: var(--cream); }
/* Отрицателният отстъп изравнява четирите колони — иначе първата е по-широка
   и снимката ѝ излиза по-висока от останалите. */
.bp-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-left: -22px; }
.bp-step { padding: 0 22px; border-left: 1px solid rgba(0, 0, 0, .09); }
.bp-step:first-child { border-left: 0; }
.bp-step-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #efe9e0; margin-bottom: 22px; }
.bp-step-media img { width: 100%; height: 100%; object-fit: cover; }
.bp-step-no { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; color: #211f1c; margin-bottom: 14px; }
.bp-step h3 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.bp-step p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #6d665c; }

/* --- Slider shell (products + results) ------------------------------------ */

.bp-slider { position: relative; padding: 0 30px; }
.bp-slider .swiper { overflow: hidden; }
.bp-slider .swiper-wrapper { align-items: stretch; }
.bp-slider .swiper-slide { height: auto; }
.bp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(30, 27, 23, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    display: grid;
    place-items: center;
    padding: 0;
    color: #34302a;
    transition: background-color .25s ease, border-color .25s ease, opacity .25s ease;
}
.bp-nav:hover { background: #fff; border-color: rgba(30, 27, 23, .5); }
.bp-nav svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.bp-nav-prev { left: -8px; }
.bp-nav-next { right: -8px; }
.bp-nav.swiper-button-disabled { opacity: .3; pointer-events: none; }

.bp-dots { display: flex; justify-content: center; gap: 9px; margin-top: 34px; }
.bp-dots .swiper-pagination-bullet {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(30, 27, 23, .22);
    opacity: 1; margin: 0; transition: background-color .25s ease;
}
.bp-dots .swiper-pagination-bullet-active { background: var(--gold); }

/* --- Product section on brand pages --------------------------------------
   Картите и слайдерът са същите като на началната страница (.product-card,
   .products-slider); тук остава само заглавният ред. ----------------------- */

.bp-products-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.bp-products-head .bp-lead { max-width: 500px; }
.bp-products-link { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #3f3a33; white-space: nowrap; }
.bp-products-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }

/* Заглавният блок тук е по-висок, отколкото на началната страница,
   затова стрелките слизат по-надолу. */
.products.bp-band .slider-controls .swiper-button-prev,
.products.bp-band .slider-controls .swiper-button-next { top: 328px; }

/* --- Before / after ------------------------------------------------------- */

.bp-results { background: var(--sand); }
.bp-results .bp-slider { padding: 0 64px; }
.bp-ba { margin: 0; height: 100%; background: #fff; padding: 10px 10px 0; border-radius: 3px; box-shadow: 0 16px 40px -28px rgba(60, 45, 25, .45); }
.bp-ba-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 2px; }
.bp-ba-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e4dccd; }
.bp-ba-shot img { width: 100%; height: 100%; object-fit: cover; position: relative; font-size: 0; color: transparent; }
.bp-ba-shot img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #e7dfd1 0%, #d3cabb 100%); }
.bp-ba-label { position: absolute; z-index: 2; top: 14px; background: rgba(255, 255, 255, .94); color: #1c1a17; font-size: 10px; font-weight: 600; letter-spacing: 1.6px; padding: 7px 13px; }
.bp-ba-label-before { left: 14px; }
.bp-ba-label-after { right: 14px; }
.bp-ba-seam { position: absolute; z-index: 2; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px); background: rgba(255, 255, 255, .9); }
.bp-ba figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 18px 6px 20px; }
.bp-ba figcaption b { font-size: 13px; font-weight: 600; }
.bp-ba figcaption i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: #4a443b; white-space: nowrap; }

/* --- Salon protocol band -------------------------------------------------- */

.bp-salon {
    position: relative;
    text-align: center;
    background-color: var(--paper-2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 82px 0 88px;
}
/* Воал върху снимката: текстът тук е центриран и тъмен, затова средата
   е най-плътна, а краищата оставят фотографията да се вижда. */
.bp-salon::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(250, 248, 244, .90) 0%,
            rgba(250, 248, 244, .95) 34%,
            rgba(250, 248, 244, .95) 72%,
            rgba(250, 248, 244, .52) 88%,
            rgba(250, 248, 244, .16) 100%),
        linear-gradient(180deg, rgba(250, 248, 244, .34) 0%, rgba(250, 248, 244, 0) 42%, rgba(250, 248, 244, .34) 100%);
}
.bp-salon > .container { position: relative; z-index: 1; }
.bp-salon .bp-kicker { margin-bottom: 14px; }
.bp-salon .bp-title { margin-bottom: 14px; }
.bp-salon-sub { margin: 0 auto 52px; font-size: 13.5px; line-height: 1.8; color: #544f48; max-width: 520px; }
.bp-flow { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.bp-flow-step { width: 190px; }
.bp-flow-icon { width: 62px; height: 62px; margin: 0 auto 18px; border: 1px solid rgba(30, 27, 23, .25); border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .5); }
.bp-flow-icon svg { width: 24px; height: 24px; stroke: #4a443b; stroke-width: 1.2; fill: none; }
.bp-flow-step h3 { margin: 0 0 9px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.bp-flow-step p { margin: 0; font-size: 12px; line-height: 1.7; color: #6d665c; }
.bp-flow-arrow { color: #a49a8c; font-size: 15px; padding-top: 28px; }

/* --- Tabs ----------------------------------------------------------------- */

.bp-tabs { background: var(--cream); padding: 0 0 88px; }
.bp-tablist { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid rgba(0, 0, 0, .1); margin-bottom: 62px; }
.bp-tab {
    border: 0;
    background: none;
    padding: 26px 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9a9189;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color .25s ease, border-color .25s ease;
}
.bp-tab:hover { color: #4a443b; }
.bp-tab[aria-selected="true"] { color: #1c1a17; border-bottom-color: #1c1a17; }
.bp-panel[hidden] { display: none; }

/* За марката */
.bp-story-inner { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 72px; align-items: center; }
.bp-story-visual { position: relative; }
.bp-story-visual img { width: 100%; height: 400px; object-fit: cover; border-radius: 3px; filter: sepia(.08) saturate(.92) contrast(.98); }
.bp-story-visual span { position: absolute; left: 26px; top: 26px; font-family: var(--serif); font-style: italic; font-size: 22px; color: #fff; line-height: 1.35; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.bp-story-body .bp-title { margin-bottom: 24px; }
.bp-story-body p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.95; color: #544f48; max-width: 560px; }
.bp-story-body .btn { margin-top: 18px; }
/* Други продукти */
.bp-cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bp-cross { background: #fff; border-radius: 3px; padding: 24px 22px 26px; display: flex; flex-direction: column; }
.bp-cross-shot { height: 150px; display: flex; margin-bottom: 20px; }
.bp-cross-shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bp-cross h4 { margin: 0 0 6px; font-size: 13px; font-weight: 500; line-height: 1.4; }
.bp-cross span { font-size: 10px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); }

/* Обучения */
.bp-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bp-course { background: #fff; border-radius: 3px; padding: 34px 32px 36px; display: flex; flex-direction: column; }
.bp-course-meta { display: flex; gap: 16px; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.bp-course h4 { margin: 0 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.3; }
.bp-course p { margin: 0 0 26px; font-size: 12.5px; line-height: 1.8; color: #6d665c; }
.bp-course .btn { margin-top: auto; align-self: flex-start; }

/* --- Closing CTA ---------------------------------------------------------- */

.bp-cta { background: linear-gradient(120deg, #23201c 0%, #14120f 60%, #241f18 100%); color: #fff; }
.bp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 62px 0 66px; flex-wrap: wrap; }
.bp-cta h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.bp-cta p { margin: 0; font-size: 13px; line-height: 1.85; color: rgba(255, 255, 255, .7); max-width: 520px; }
.bp-cta .bp-actions { margin-top: 0; }

/* --- Brand index ---------------------------------------------------------- */

.bp-index { background: var(--cream); }
.bp-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bp-index-card { position: relative; min-height: 300px; padding: 32px 30px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-radius: 3px; background: #2c2c2c center / cover no-repeat; }
.bp-index-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .78) 100%); transition: opacity .3s ease; }
.bp-index-card:hover::after { opacity: .84; }
.bp-index-card > * { position: relative; z-index: 1; }
.bp-index-card img { height: 24px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; margin-bottom: 16px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .4)); }
.bp-index-card p { margin: 0; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .88); }
.bp-index-card em { font-style: normal; display: block; margin-top: 18px; font-size: 10px; font-weight: 600; letter-spacing: 2px; color: var(--gold-soft); }

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1180px) {
    .bp-split { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; }
    .bp-step-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .bp-step:nth-child(odd) { border-left: 0; }
    .bp-index-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-cross-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-flow { flex-wrap: wrap; gap: 26px 8px; }
    .bp-story-inner { grid-template-columns: 340px minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 860px) {
    .bp-band { padding: 54px 0 58px; }
    .bp-split { grid-template-columns: 1fr; gap: 34px; }
    .bp-hero-inner { min-height: 0; padding: 48px 0; }
    .bp-hero::before { background: linear-gradient(180deg, rgb(238 238 236 / 96%) 0%, rgb(244 244 244 / 90%) 60%, rgb(246 246 246 / 70%) 100%); }
    .bp-hero h1 { font-size: 30px; }
    .bp-title { font-size: 28px; }
    .bp-slider,
    .bp-results .bp-slider { padding: 0; }
    .bp-nav { display: none; }
    .bp-step-grid { margin-left: 0; }
    .bp-step { border-left: 0; padding-left: 0; }
    .bp-step-grid,
    .bp-index-grid,
    .bp-cross-grid,
    .bp-course-grid { grid-template-columns: 1fr; }
    .bp-story-inner { grid-template-columns: 1fr; }
    .bp-flow-step { width: 150px; }
    .bp-tablist { gap: 0; }
    .bp-tab { padding: 20px 16px; font-size: 10px; letter-spacing: 1.2px; }
}

/* ==========================================================================
   Мобилно меню и почистване под 980px
   ========================================================================== */

.nav-toggle { display: none; }

@media (max-width: 980px) {

    /* --- Хедър --- */
    .main-nav { display: none; }
    .utility-nav a:not(.pro-login) { display: none; }
    .utility-nav { gap: 0; }
    .main-header { height: 66px; }
    .logo-text { width: 182px; height: 42px; }
    .header-actions { gap: 16px; }

    .nav-toggle {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        margin: 0 4px 0 -10px;
        border: 0;
        padding: 0;
        background: none;
    }
    .nav-toggle span { position: relative; display: block; }
    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        width: 21px;
        height: 1.5px;
        background: var(--ink);
        transition: transform .25s ease, background-color .2s ease;
    }
    .nav-toggle span::before,
    .nav-toggle span::after { content: ""; position: absolute; left: 0; }
    .nav-toggle span::before { top: -6.5px; }
    .nav-toggle span::after { top: 6.5px; }
    .nav-toggle.is-open span { background: transparent; }
    .nav-toggle.is-open span::before { transform: translateY(6.5px) rotate(45deg); }
    .nav-toggle.is-open span::after { transform: translateY(-6.5px) rotate(-45deg); }

    /* --- Панелът --- */
    .nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(20, 18, 15, .45); }
    .mobile-nav {
        position: fixed;
        z-index: 91;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(86vw, 340px);
        background: var(--paper);
        box-shadow: -24px 0 60px -34px rgba(35, 28, 18, .7);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .mobile-nav-inner { padding: 88px 28px 44px; }
    .mobile-nav-main { display: grid; }
    .mobile-nav-main a {
        padding: 17px 0;
        border-bottom: 1px solid var(--line);
        font-family: "Playfair Display", Georgia, serif;
        font-size: 19px;
        letter-spacing: .4px;
        text-transform: uppercase;
        color: #1c1a17;
    }
    .mobile-nav-sub { display: grid; justify-items: start; gap: 2px; padding-top: 28px; }
    .mobile-nav-sub a { padding: 9px 0; font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
    .mobile-nav-sub .pro-login {
    margin-bottom: 14px; padding: 13px 24px;
    font-size: 11px; font-weight: 600; letter-spacing: 1px; color: #fff;
    background-color: var(--gold);
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 58%, rgba(0, 0, 0, .06) 100%),
        linear-gradient(90deg,
            #9b7747 0%, #a27e4f 22%, #ab8656 40%, #bd9766 57%,
            #a6814f 67%, #9c794b 78%, #9d7a4c 88%, #a17d4e 100%);
}
    body.nav-open { overflow: hidden; }
}

/* --- Типография и мрежи на телефон --- */

@media (max-width: 760px) {
    .container { width: min(var(--container), calc(100% - 32px)); }

    .section-heading { padding: 34px 0 22px; }
    .section-heading h2,
    .bp-title { font-size: 23px; }
    .bp-title-sm { font-size: 21px; }
    .section-kicker,
    .bp-kicker { margin-bottom: 10px; letter-spacing: 2px; }

    /* Начална страница */
    /* Хоризонталният воал на банера не работи на тесен екран — сменя се с вертикален. */
    .hero {
        background-image:
            linear-gradient(180deg,
                rgba(246, 241, 234, .94) 0%,
                rgba(246, 241, 234, .88) 42%,
                rgba(246, 241, 234, .60) 78%,
                rgba(246, 241, 234, .40) 100%),
            url("../assets/images/hero.webp");
        background-position: center, 62% 22%;
    }
    .hero-inner { min-height: 0; padding: 36px 0 40px; }
    .hero h1 { font-size: 30px; }
    .hero-description { font-size: 13px; }
    .hero-actions { gap: 10px; }
    .hero-actions .button { flex: 1 1 100%; min-width: 0; }
    .need-grid { grid-template-columns: repeat(2, 1fr); }
    .need-card { min-height: 0; }
    .need-card img { height: 132px; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-card { min-height: 164px; padding: 16px 14px; }
    .brand-card .brand-logo-wrap { height: 18px; }
    .brand-tagline { font-size: 9px; letter-spacing: 1px; margin-top: 10px; }
    .solution-grid { grid-template-columns: 1fr; }
    .academy-inner { grid-template-columns: 1fr; row-gap: 20px; }
    .academy-title h2 { font-size: 21px; }
    .usp-grid { grid-template-columns: 1fr; row-gap: 20px; padding: 26px 0; }
    .usp-grid > div { padding-right: 0; }

    /* Бранд страници */
    .bp-hero h1 { font-size: 26px; }
    .bp-hero-inner { min-height: 0; padding: 62px 0 44px; }
    .bp-hero-logo { height: 34px; margin-bottom: 14px; }
    .bp-hero-rule { gap: 14px; padding-bottom: 20px; margin-bottom: 22px; font-size: 9px; letter-spacing: 1.8px; }
    .bp-hero-lead, .bp-lead { font-size: 13px; }
    .bp-actions { gap: 10px; }
    .bp-actions .btn { flex: 1 1 100%; justify-content: center; }

    .bp-products-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
    .bp-products-link { align-self: flex-start; }

    .bp-salon { padding: 48px 0 52px; }
    .bp-salon::before {
        background: linear-gradient(180deg, rgba(250, 248, 244, .93) 0%, rgba(250, 248, 244, .88) 62%, rgba(250, 248, 244, .78) 100%);
    }
    .bp-flow { flex-direction: column; align-items: center; gap: 26px; }
    .bp-flow-step { width: 100%; max-width: 280px; }
    .bp-flow-arrow { display: none; }

    /* Табовете се плъзгат, вместо да се пренасят */
    .bp-tablist { overflow-x: auto; justify-content: flex-start; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .bp-tablist::-webkit-scrollbar { display: none; }
    .bp-tab { flex: 0 0 auto; padding: 18px 18px; font-size: 10px; letter-spacing: 1.2px; }
    .bp-tabs { padding-bottom: 54px; }
    .bp-story-visual img { height: 260px; }
    .bp-story-visual span { font-size: 18px; left: 18px; top: 18px; }

    .bp-cta-inner { padding: 40px 0 44px; gap: 24px; }
    .bp-cta h2 { font-size: 22px; }
    .bp-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* ==========================================================================
   Заглавна лента на вътрешна страница + каталог
   ========================================================================== */

.page-head { background: var(--cream); padding: 30px 0 46px; }
.bp-crumbs-static { position: static; margin-bottom: 26px; }

.catalog { background: var(--paper); padding-bottom: 80px; }
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 40px; }

/* --- Филтри --- */

.filters { position: sticky; top: 24px; }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.filters-head h2 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.filters-clear { border: 0; background: none; padding: 0; font-size: 11px; letter-spacing: .4px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.filters-clear:hover { color: var(--ink); }

.filter-group { padding: 20px 0; border-bottom: 1px solid var(--line); }
.filter-group h3 { margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.filter-list { display: grid; gap: 10px; }

.filter-check { display: grid; grid-template-columns: 16px 1fr; align-items: center; column-gap: 11px; font-size: 12.5px; line-height: 1.4; color: #4a443b; cursor: pointer; }
.filter-check input { appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid var(--line-strong); background: #fff; display: grid; place-items: center; }
.filter-check input:checked { border-color: var(--gold); background: var(--gold); }
.filter-check input:checked::after {
    content: "";
    width: 9px; height: 5px;
    border-left: 1.6px solid #fff;
    border-bottom: 1.6px solid #fff;
    transform: translateY(-1px) rotate(-45deg);
}
.filter-check:hover span { color: var(--ink); }
.filter-check-solo { font-weight: 600; }

/* --- Лента с брой и подредба --- */

.catalog-toolbar { display: flex; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.catalog-count { margin: 0; font-size: 12px; color: var(--muted); }
.catalog-count b { color: var(--ink); font-weight: 600; }
.catalog-sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.catalog-sort select {
    border: 1px solid var(--line-strong);
    background: #fff;
    padding: 9px 12px;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
}
.filters-toggle { display: none; }

/* --- Мрежата --- */

.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.catalog-card { position: relative; }
.catalog-card[hidden] { display: none; }
.catalog-card .card-link { display: flex; flex-direction: column; flex: 1; }
.catalog-card .product-image { height: 190px; }
.catalog-card h3 { min-height: 0; margin-bottom: 8px; }
.catalog-card .product-card-brand { margin-bottom: 16px; }
.card-buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-buy strong { font-size: 16px; font-weight: 600; }
.card-cart {
    width: 34px; height: 34px;
    border: 1px solid var(--line-strong);
    background: #fff;
    display: grid; place-items: center;
    color: #4a443b;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.card-cart:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.card-cart svg { width: 17px; height: 17px; }
.card-tag {
    position: absolute; z-index: 2; top: 14px; right: 14px;
    background: rgba(27, 25, 22, .88); color: #fff;
    font-size: 8.5px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase;
    padding: 5px 9px;
}

.catalog-empty { margin: 40px 0; font-size: 13px; color: var(--muted); }
.catalog-foot { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 44px; }
.catalog-foot .btn { align-self: center; }
.catalog-note { margin: 0; font-size: 11.5px; color: var(--muted); }

@media (max-width: 1100px) {
    .catalog-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 34px; }
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .catalog-layout { grid-template-columns: 1fr; gap: 0; }
    .filters { position: static; display: none; padding-bottom: 26px; }
    .filters.is-open { display: block; }
    .filters-toggle {
        display: inline-flex; align-items: center; gap: 9px;
        min-height: 40px; padding: 0 18px;
        border: 1px solid var(--line-strong); background: #fff;
        font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
    }
    .filters-toggle::after { content: "+"; font-size: 14px; line-height: 1; }
    .filters-toggle[aria-expanded="true"]::after { content: "–"; }
    .catalog-toolbar { flex-wrap: wrap; }
    .page-head { padding: 26px 0 26px; }
    .catalog-layout { padding-top: 22px; }
}

@media (max-width: 620px) {
    .catalog-sort { width: 100%; margin-left: 0; justify-content: space-between; }
}

@media (max-width: 760px) {
    .page-head { padding: 22px 0 22px; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .catalog-card .product-image { height: 130px; }
    .catalog-card h3 { font-size: 12px; }
    .card-buy strong { font-size: 14px; }
    .card-cart { width: 30px; height: 30px; }
}

/* ==========================================================================
   Страница на продукт
   ========================================================================== */

.pdp-top { background: var(--cream); padding: 26px 0 70px; }
.pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
    padding-top: 34px;
}

/* --- Галерия -------------------------------------------------------------- */

/* Галерията е слайдер с една снимка и точки отдолу. Фонът е чисто бял,
   защото част от пакшотите са на бяло, а други са с прозрачност. */
.pdp-gallery { min-width: 0; }
.pdp-swiper { border: 1px solid var(--line); background: #fff; }
/* Ширината се фиксира изрично — иначе aspect-ratio-то на полето и ширината
   на слайда се изчисляват едно от друго и оформлението се разпада. */
.pdp-swiper .swiper-slide { flex: 0 0 100%; width: 100%; }
.pdp-stage {
    margin: 0;
    aspect-ratio: 1 / 1;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}
/* Пакшотът се вписва в полето, фотографията го запълва изцяло. */
.pdp-stage[data-fit="contain"] { padding: 34px; }
.pdp-stage[data-fit="contain"] img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain;
}
.pdp-stage[data-fit="cover"] img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.pdp-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.pdp-dots .swiper-pagination-bullet {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(30, 27, 23, .22);
    opacity: 1; margin: 0; cursor: pointer;
    transition: background-color .25s ease;
}
.pdp-dots .swiper-pagination-bullet-active { background: var(--gold); }

/* --- Колоната за купуване ------------------------------------------------- */

.pdp-buy { padding-top: 6px; max-width: 470px; }
.pdp-brand {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
    color: var(--gold);
}
.pdp-brand:hover { text-decoration: underline; text-underline-offset: 5px; }
.pdp-buy .bp-title { text-transform: none; }
.pdp-sub { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: #544f48; }

.pdp-price {
    display: flex; align-items: baseline; gap: 10px;
    margin: 28px 0 0; padding: 22px 0 0;
    border-top: 1px solid var(--line);
}
.pdp-price strong { font-size: 30px; font-weight: 600; letter-spacing: .2px; color: var(--ink); }
.pdp-vat { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

/* Маркер за наличност. Точката е ::before, за да е един елемент в HTML-а —
   сменя се само класът, не и съдържанието. */
.stock {
    display: inline-flex; align-items: center; gap: 8px;
    margin-left: auto;
    font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
}
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--stock-in); }
.stock-low { color: var(--stock-low); }
.stock-out { color: var(--stock-out); }

.pdp-cart { display: flex; gap: 12px; margin-top: 24px; }
.pdp-qty {
    display: flex; align-items: center;
    border: 1px solid var(--line-strong);
    background: #fff;
}
.pdp-qty button {
    width: 42px; min-height: 50px;
    border: 0; background: none; cursor: pointer;
    font-size: 16px; color: #4a443b;
}
.pdp-qty button:hover { color: var(--ink); }
.pdp-qty input {
    width: 36px; border: 0; background: none; text-align: center;
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
}
.pdp-qty input:focus { outline: none; }
.pdp-add { flex: 1; justify-content: center; }

.pdp-pro-note {
    margin: 18px 0 0;
    padding: 16px 18px;
    background: var(--paper-2);
    font-size: 12px; line-height: 1.75; color: #544f48;
}
.pdp-pro-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pdp-pro-note a:hover { color: var(--gold); }

.pdp-facts { margin: 30px 0 0; border-top: 1px solid var(--line); }
.pdp-facts > div {
    display: grid; grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px; padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.pdp-facts dt { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #8c847a; }
.pdp-facts dd { margin: 0; font-size: 12.5px; line-height: 1.7; color: #4a443b; }

/* --- Текстови ленти ------------------------------------------------------- */

.pdp-about { background: var(--paper); }
.pdp-about-text p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.95; color: #544f48; max-width: 620px; }
.pdp-about-text p:last-child { margin-bottom: 0; }

.pdp-ingredients { background: var(--paper-2); }
.pdp-ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: rgba(0, 0, 0, .08); }
.pdp-ing { background: var(--paper-2); padding: 34px 28px 30px; }
.pdp-ing-icon {
    width: 54px; height: 54px; margin-bottom: 20px;
    display: grid; place-items: center;
    border: 1px solid rgba(30, 27, 23, .22); border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    color: #4a443b;
}
.pdp-ing-icon svg { width: 22px; height: 22px; }
.pdp-ing h3 { margin: 0 0 11px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.pdp-ing p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #6d665c; }

.pdp-schedule .bp-lead { max-width: 560px; }
.pdp-phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0 -26px; }
.pdp-phase-grid .bp-step { padding: 0 26px; }
.pdp-note { margin: 40px 0 0; font-size: 12px; line-height: 1.8; color: #8c847a; max-width: 560px; }
.pdp-note a { color: #4a443b; text-decoration: underline; text-underline-offset: 3px; }
.pdp-note a:hover { color: var(--gold); }

.pdp-related { background: var(--paper); }

/* --- Мобилни размери ------------------------------------------------------ */

@media (max-width: 1100px) {
    .pdp-layout { gap: 46px; }
    .pdp-ing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .pdp-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 24px; }
    .pdp-stage { aspect-ratio: 4 / 3; padding: 30px; }
    .pdp-top { padding-bottom: 46px; }
    .pdp-phase-grid { grid-template-columns: 1fr; margin: 34px 0 0; gap: 34px; }
    .pdp-phase-grid .bp-step { padding: 0; border-left: 0; }
}

@media (max-width: 620px) {
    .pdp-ing-grid { grid-template-columns: 1fr; }
    .pdp-cart { flex-wrap: wrap; }
    .pdp-add { flex: 1 1 100%; }
    .pdp-facts > div { grid-template-columns: 1fr; gap: 5px; }
    .pdp-price strong { font-size: 26px; }
}

/* ==========================================================================
   Блокове за страниците на марките (megix10, ING)
   ========================================================================== */

/* --- Четирите системи на megix|10 ----------------------------------------- */

.bp-system-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-left: -26px; }
.bp-system { padding: 0 26px; border-left: 1px solid rgba(0, 0, 0, .09); }
.bp-system:first-child { border-left: 0; }
.bp-system-no { display: block; font-family: var(--serif); font-size: 32px; line-height: 1; color: #211f1c; margin-bottom: 14px; white-space: nowrap; }
.bp-system h3 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; }
.bp-system p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #6d665c; }

/* --- Оферта с картинка вдясно (пакет „Опитай ме“) -------------------------- */

.bp-offer {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px; align-items: center;
}
.bp-offer-body h2 { margin-bottom: 20px; }
.bp-offer-body p { margin: 0; font-size: 13.5px; line-height: 1.95; color: #544f48; max-width: 520px; }
.bp-offer-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); border-radius: 3px; }
.bp-offer-media img { width: 100%; height: 100%; object-fit: cover; }

/* --- Сравнителни колони --------------------------------------------------- */

.bp-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0, 0, 0, .08); }
.bp-compare-col { background: var(--cream); padding: 34px 32px 36px; }
.bp-compare-col h4 {
    margin: 0 0 22px; padding-bottom: 16px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.bp-compare-col ul { margin: 0; padding: 0; list-style: none; }
.bp-compare-col li {
    position: relative; padding: 0 0 13px 24px;
    font-size: 12.5px; line-height: 1.7; color: #6d665c;
}
.bp-compare-col li::before { position: absolute; left: 0; top: 0; font-size: 13px; }
.bp-compare-old li::before { content: "–"; color: #a49a8c; }
.bp-compare-new li { color: #4a443b; }
.bp-compare-new li::before { content: "+"; color: var(--gold); }

/* --- Пакети на ING -------------------------------------------------------- */

/* Отделни рамки вместо фон под решетката — пакетите са пет, а колоните три,
   и шестата клетка иначе остава като сив правоъгълник. */
.bp-pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.bp-pack { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); }
.bp-pack-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.bp-pack-media img { width: 100%; height: 100%; object-fit: cover; }
.bp-pack-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.bp-pack-body .bp-kicker { margin-bottom: 10px; }
.bp-pack-body h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 21px; font-weight: 400; color: #1c1a17; }
.bp-pack-body p { margin: 0 0 24px; font-size: 12.5px; line-height: 1.8; color: #6d665c; }
.bp-pack-body .btn { margin-top: auto; align-self: flex-start; }

/* --- Шестте линии --------------------------------------------------------- */

.bp-line-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 46px; background: rgba(0, 0, 0, .08); }
.bp-line { background: var(--paper-2); padding: 30px 28px 32px; }
.bp-line h3 {
    margin: 0 0 12px; padding-bottom: 12px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.bp-line p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #6d665c; }

/* --- Списък със съставки като етикети ------------------------------------- */

.bp-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.bp-chips span {
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    font-size: 11px; letter-spacing: .6px; color: #4a443b;
}

/* --- Мобилни размери ------------------------------------------------------ */

@media (max-width: 1100px) {
    .bp-pack-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-system-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
    .bp-system:nth-child(odd) { border-left: 0; }
}

@media (max-width: 860px) {
    .bp-offer { grid-template-columns: 1fr; gap: 32px; }
    .bp-offer-media { order: -1; }
    .bp-line-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .bp-system-grid { grid-template-columns: 1fr; margin-left: 0; }
    .bp-system { padding: 0; border-left: 0; }
    .bp-compare { grid-template-columns: 1fr; }
    .bp-pack-grid { grid-template-columns: 1fr; }
    .bp-line-grid { grid-template-columns: 1fr; }
}

/* --- Терапии на Innovatis -------------------------------------------------- */

.bp-therapy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.bp-therapy {
    display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line);
    padding: 30px 28px 24px;
}
.bp-therapy h3 {
    margin: 0 0 14px; font-family: var(--serif); font-size: 22px; font-weight: 400; color: #1c1a17;
}
.bp-therapy > p { margin: 0 0 22px; font-size: 12.5px; line-height: 1.8; color: #6d665c; }
.bp-therapy dl { margin: auto 0 0; border-top: 1px solid var(--line); }
.bp-therapy dl > div {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid var(--line);
}
.bp-therapy dl > div:last-child { border-bottom: 0; }
.bp-therapy dt { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #8c847a; }
.bp-therapy dd { margin: 0; font-size: 12px; color: #4a443b; text-align: right; }
/* Новата терапия се отличава със златен кант. */
.bp-therapy-new { border-color: var(--gold); }

/* Два пакета вместо три — картите не се разтягат през цялата ширина. */
.bp-pack-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }

/* Линиите на Medavita са връзки към магазина. */
a.bp-line { display: block; transition: background-color .2s ease; }
a.bp-line:hover { background: var(--card); }
a.bp-line h3 { color: var(--ink); }

@media (max-width: 1100px) {
    .bp-therapy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .bp-pack-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .bp-therapy-grid { grid-template-columns: 1fr; }
}

/* Три колони вместо четири (рутината на Medavita е от три стъпки). */
.pdp-ing-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pdp-ing-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .pdp-ing-3 { grid-template-columns: 1fr; } }

/* Диаграмите на megix|10 (традиционна боя срещу megix|10). */
.bp-diagrams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 46px; }
.bp-diagrams figure { margin: 0; }
.bp-diagrams img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.bp-diagrams figcaption { margin-top: 12px; font-size: 12px; line-height: 1.7; color: #6d665c; }

/* Един кадър „преди и след“ вместо двойка. */
.bp-ba-single { aspect-ratio: 8 / 3; overflow: hidden; background: #e4dccd; border-radius: 2px; }
.bp-ba-single img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 760px) {
    .bp-diagrams { grid-template-columns: 1fr; }
}

/* Пакшот в полето на офертата: снимката е вертикална и на тъмен фон,
   затова се вписва цяла, вместо да се реже. */
.bp-offer-media-pack { background: #16151a; }
.bp-offer-media-pack img { object-fit: contain; padding: 22px; }

/* --- Hair Lab Pro Solutions ----------------------------------------------- */

/* Хиро без лого — заглавието поема мястото му. */
.sol-hero .bp-hero-copy { padding-top: 26px; }
.sol-hero .bp-kicker { margin-bottom: 18px; }

/* Картите в списъка носят текст вместо лого, затова воалът е по-плътен —
   заглавието и абзацът трябва да се четат и върху светла снимка. */
.sol-index-grid .bp-index-card { min-height: 340px; }
.sol-index-grid .bp-index-card::after {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, .30) 30%,
        rgba(0, 0, 0, .68) 62%, rgba(0, 0, 0, .90) 100%);
}
.sol-index-grid .bp-index-card strong {
    display: block; margin-bottom: 12px;
    font-family: var(--serif); font-size: 24px; font-weight: 400; color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}
.sol-index-grid .bp-index-card p { color: rgba(255, 255, 255, .92); }

/* --- Академия ------------------------------------------------------------- */

/* Фонът на академията е тъмен кадър — воалът трябва да е по-лек, иначе
   снимката изчезва напълно. */
.ac-hero::before {
    background: linear-gradient(95deg,
        rgba(250, 248, 244, .95) 0%, rgba(250, 248, 244, .92) 34%,
        rgba(250, 248, 244, .58) 52%, rgba(250, 248, 244, .22) 72%,
        rgba(250, 248, 244, 0) 88%);
}

/* Редовете с обучения: описание вляво, данни в средата, бутон вдясно. */
.ac-list { margin-top: 46px; border-top: 1px solid rgba(0, 0, 0, .1); }
.ac-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px auto;
    gap: 46px;
    align-items: start;
    padding: 34px 0 36px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.ac-row-main .bp-kicker { margin-bottom: 10px; }
.ac-row-main h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 23px; font-weight: 400; color: #1c1a17; }
.ac-row-main p { margin: 0; font-size: 12.5px; line-height: 1.8; color: #6d665c; max-width: 520px; }
.ac-row-meta { margin: 0; }
.ac-row-meta > div {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 9px 0; border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.ac-row-meta > div:last-child { border-bottom: 0; }
.ac-row-meta dt { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #8c847a; }
.ac-row-meta dd { margin: 0; font-size: 12px; color: #4a443b; text-align: right; }
.ac-row > .btn { align-self: center; }

@media (max-width: 1100px) {
    .ac-row { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
    .ac-row > .btn { grid-column: 1 / -1; justify-self: start; align-self: start; }
}

@media (max-width: 760px) {
    .ac-row { grid-template-columns: 1fr; gap: 22px; padding: 28px 0 30px; }
}
