/* =========================================================
   Kian Center — homepage editorial redesign (2026)
   Scoped to body.page-home so other pages stay untouched.
   ========================================================= */

.page-home {
    --kh-ink: #2a1c27;
    --kh-body: #514656;
    --kh-muted: #6b6273;
    --kh-line: #ece5ee;
    --kh-cream: #fbf7f3;
    --kh-rose: #f7e9ef;
    --kh-radius: 22px;
    background: var(--bg);
}

.page-home .site-main { padding-bottom: 0; }

.page-home a:focus-visible,
.page-home button:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 8px;
}

.kh-wrap {
    width: min(var(--container), 100% - 32px);
    margin-inline: auto;
}

.kh-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;
}

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

.kh-hero {
    position: relative;
    overflow: clip;
    padding: 26px 0 0;
    background:
        radial-gradient(80% 90% at 12% 8%, rgba(var(--accent-rgb), .10), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--kh-cream) 62%, var(--bg) 100%);
}

.kh-hero::before {
    content: '';
    position: absolute;
    inset-inline-start: -180px;
    top: 90px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(var(--brand-rgb), .12);
    pointer-events: none;
}

.kh-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 54px;
    min-height: 540px;
    padding-bottom: 38px;
}

.kh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--kh-line);
    border-radius: 99px;
    background: rgba(255, 255, 255, .8);
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 6px 18px rgba(60, 30, 60, .05);
}

.kh-eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .14);
}

.kh-hero h1 {
    margin: 20px 0 0;
    color: var(--kh-ink);
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.kh-hero h1 span {
    position: relative;
    display: inline-block;
    color: var(--brand);
    isolation: isolate;
}

.kh-hero h1 span::after {
    content: '';
    position: absolute;
    inset-inline: -2px;
    bottom: 4px;
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .06));
    z-index: -1;
}

.kh-lead {
    max-width: 48ch;
    margin: 16px 0 0;
    color: var(--kh-body);
    font-size: 16px;
    line-height: 2;
}

.kh-hero [data-hero-lead] {
    white-space: pre-line;
}

.kh-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.kh-hero-actions .btn {
    min-height: 50px;
    padding-inline: 26px;
    font-size: 15px;
    font-weight: 700;
}

.kh-textlink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding-inline: 6px;
    color: var(--brand);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--brand-rgb), .25);
}

.kh-textlink:hover { color: var(--accent); border-color: var(--accent); }
.kh-textlink .icon { width: 17px; height: 17px; }

.kh-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: var(--kh-muted);
    font-size: 13px;
}

.kh-hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.kh-hero-points .icon {
    width: 16px;
    height: 16px;
    color: var(--brand);
}

.kh-hero-media {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-inline-start: auto;
    padding: 14px 0 26px;
}

.kh-hero-frame {
    position: relative;
    aspect-ratio: 5 / 6;
    border: 9px solid #fff;
    border-radius: 240px 240px 34px 34px;
    overflow: hidden;
    background: var(--kh-rose);
    box-shadow: 0 34px 80px rgba(60, 30, 60, .18);
}

.kh-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    display: block;
    transition: opacity .45s ease;
}

.kh-hero-frame img.is-zooming {
    animation: khHeroZoom 8s ease-out forwards;
}

@keyframes khHeroZoom {
    from { transform: scale(1.01); }
    to   { transform: scale(1.09); }
}

.kh-hero-copy {
    transition: opacity .3s ease, transform .3s ease;
}

.kh-hero-copy.is-out {
    opacity: 0;
    transform: translateY(10px);
}

.kh-hero-nav {
    position: absolute;
    inset-inline: 6px;
    top: calc(50% - 26px);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 3;
}

.kh-hero-navbtn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: var(--brand-deep);
    box-shadow: 0 10px 24px rgba(40, 20, 40, .18);
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease, transform .2s ease;
}

.kh-hero-navbtn:hover {
    background: #fff;
    transform: scale(1.06);
}

.kh-hero-navbtn .icon { width: 18px; height: 18px; }
.kh-hero-navbtn[data-hero-next] .icon { transform: rotate(180deg); }

.kh-hero-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 3;
}

.kh-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 2px 8px rgba(30, 15, 30, .25);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.kh-hero-dot.is-active {
    width: 22px;
    background: #fff;
}

.kh-hero-dot:focus-visible,
.kh-hero-navbtn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.kh-hero-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(28, 18, 28, .20));
    pointer-events: none;
}

.kh-hero-media::before {
    content: '';
    position: absolute;
    inset-inline-start: -18px;
    bottom: 2px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 1px dashed rgba(var(--brand-rgb), .28);
    pointer-events: none;
}

.kh-hero-chip {
    position: absolute;
    inset-inline-start: -14px;
    bottom: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(50, 25, 50, .16);
    z-index: 2;
}

.kh-hero-chip .icon {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 50%;
    background: var(--kh-rose);
    color: var(--brand);
}

.kh-hero-chip b {
    display: block;
    color: var(--kh-ink);
    font-size: 13.5px;
    line-height: 1.5;
}

.kh-hero-chip small {
    display: block;
    color: var(--kh-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.kh-hero-seal {
    position: absolute;
    inset-inline-end: -6px;
    top: 30px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--brand-deep);
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .02em;
    box-shadow: 0 14px 30px rgba(30, 20, 30, .26);
    transform: rotate(-7deg);
}

.kh-hero-seal .icon {
    width: 14px;
    height: 14px;
    color: var(--gold);
    margin-bottom: 1px;
}

/* ---------- Perks ---------- */

.kh-perks {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
    padding: 20px 22px;
    border: 1px solid var(--kh-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(60, 30, 60, .07);
}

.kh-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    color: inherit;
    text-decoration: none;
}

.kh-perk + .kh-perk { border-inline-start: 1px solid var(--kh-line); }

.kh-perk-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--kh-rose);
    color: var(--brand);
}

.kh-perk-ico .icon { width: 21px; height: 21px; }

.kh-perk-text b {
    display: block;
    color: var(--kh-ink);
    font-size: 13.5px;
    line-height: 1.5;
}

.kh-perk-text span {
    display: block;
    color: var(--kh-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

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

.kh-section { padding-top: clamp(46px, 6vw, 74px); }

.kh-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.kh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.kh-kicker::before {
    content: '';
    width: 26px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), var(--brand));
}

.kh-title {
    margin: 7px 0 0;
    color: var(--kh-ink);
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -.01em;
}

.kh-head p {
    margin: 7px 0 0;
    color: var(--kh-muted);
    font-size: 13.5px;
}

.kh-more {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--brand);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.kh-more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.kh-more:hover .icon { transform: translateX(-4px); }
.kh-more:hover { color: var(--accent); }

/* ---------- Category bento ---------- */

.kh-cats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.kh-cat {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    background: #ddd;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.kh-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.kh-cat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 18, 28, 0) 38%, rgba(28, 18, 28, .72) 100%);
    z-index: 1;
}

.kh-cat:hover img { transform: scale(1.055); }

.kh-cat-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
}

.kh-cat-body b {
    display: block;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.kh-cat-body small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .86);
    font-size: 11.5px;
    line-height: 1.7;
}

.kh-cat-go {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .45);
    backdrop-filter: blur(6px);
    transition: background .2s ease;
}

.kh-cat-go .icon { width: 17px; height: 17px; }
.kh-cat:hover .kh-cat-go { background: #fff; color: var(--brand); }

/* ---------- Product grid on the homepage ---------- */

.page-home .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.page-home .product-card {
    border-color: var(--kh-line);
    border-radius: 18px;
    box-shadow: 0 3px 14px rgba(60, 30, 60, .04);
}

.page-home .product-card:hover {
    border-color: var(--accent-soft-2);
    box-shadow: 0 20px 44px rgba(60, 30, 60, .12);
}

.page-home .product-thumb { background: #fbf8f7; }

.page-home .product-body { padding: 13px 14px 16px; gap: 7px; }

.page-home .product-cat {
    color: var(--kh-muted);
    font-size: 12px;
}

.page-home .product-title {
    min-height: 44px;
    font-size: 14px;
    line-height: 1.65;
}

.page-home .product-title a { color: var(--kh-ink); }

.page-home .price-old {
    color: #7c7284;
    font-size: 12px;
}

.page-home .price-new { font-size: 15.5px; }

.page-home .stock.ok { color: #12784b; }
.page-home .stock.low { color: #9a5b06; }

.page-home .badge-discount {
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
}

.page-home .card-add-btn {
    min-height: 42px;
    font-size: 13px;
}

.page-home .fav-btn {
    width: 40px;
    height: 40px;
}

.kh-sale .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Promo feature ---------- */

.kh-promo {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    margin-top: clamp(46px, 6vw, 74px);
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
    color: #fff;
    box-shadow: 0 30px 60px rgba(40, 20, 45, .18);
}

.kh-promo-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.kh-promo-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.kh-promo-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42, 28, 39, .30), transparent 55%);
}

.kh-promo-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: clamp(28px, 4vw, 56px);
    overflow: hidden;
}

.kh-promo-copy::after {
    content: '';
    position: absolute;
    inset-inline-start: -120px;
    bottom: -150px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-rgb), .38), transparent 65%);
    pointer-events: none;
}

.kh-promo .kh-kicker { color: #ffd7e6; }
.kh-promo .kh-kicker::before { background: #ffd7e6; }

.kh-promo h2 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.42;
}

.kh-promo p {
    max-width: 44ch;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 14.5px;
    line-height: 2;
}

.kh-promo-list {
    display: grid;
    gap: 9px;
    margin: 4px 0 6px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.kh-promo-list li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.kh-promo-list .icon {
    width: 18px;
    height: 18px;
    color: #ffd7e6;
}

.kh-promo .btn {
    min-height: 48px;
    padding-inline: 24px;
    font-weight: 700;
}

.kh-promo-note {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

/* ---------- Story ---------- */

.kh-story {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    padding-top: clamp(46px, 6vw, 74px);
}

.kh-story-media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 28px 150px 28px 28px;
    overflow: hidden;
    background: var(--kh-rose);
    box-shadow: 0 26px 60px rgba(60, 30, 60, .14);
}

.kh-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    display: block;
}

.kh-story-tag {
    position: absolute;
    inset-inline-end: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--kh-ink);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(40, 20, 40, .16);
}

.kh-story-tag .icon { width: 16px; height: 16px; color: var(--brand); }

.kh-story-copy p {
    margin: 12px 0 0;
    color: var(--kh-body);
    font-size: 14.5px;
    line-height: 2.05;
}

.kh-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.kh-stat {
    padding: 14px 10px;
    border: 1px solid var(--kh-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}

.kh-stat b {
    display: block;
    color: var(--brand);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}

.kh-stat span {
    display: block;
    color: var(--kh-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.kh-story .btn { margin-top: 24px; min-height: 46px; }

/* ---------- Services ---------- */

.kh-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.kh-service {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--kh-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.kh-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(60, 30, 60, .09);
}

.kh-service-ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--kh-rose);
    color: var(--brand);
}

.kh-service-ico .icon { width: 22px; height: 22px; }

.kh-service h3 {
    margin: 2px 0 0;
    color: var(--kh-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.6;
}

.kh-service p {
    margin: 5px 0 0;
    color: var(--kh-muted);
    font-size: 13px;
    line-height: 1.85;
}

.kh-service a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    margin-top: 4px;
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.kh-service a .icon { width: 15px; height: 15px; }
.kh-service a:hover { color: var(--accent); }

/* ---------- Social ---------- */

.kh-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(46px, 6vw, 74px);
    margin-bottom: 54px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid #f0e0e8;
    border-radius: 24px;
    background:
        radial-gradient(80% 140% at 90% 0%, rgba(var(--accent-rgb), .14), transparent 60%),
        var(--brand-soft);
}

.kh-social h2 {
    margin: 0;
    color: var(--kh-ink);
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 800;
    line-height: 1.5;
}

.kh-social p {
    margin: 6px 0 0;
    color: var(--kh-body);
    font-size: 13.5px;
}

.kh-social .btn { flex: none; min-height: 48px; }
.kh-social .icon { width: 19px; height: 19px; }

/* ---------- Product rails ---------- */

.kh-rail { position: relative; }

.kh-rail-track {
    position: relative;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.kh-rail-track::-webkit-scrollbar { display: none; }

.kh-rail-track > .product-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}

.kh-rail-btn {
    position: absolute;
    top: 150px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--kh-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--brand-deep);
    box-shadow: 0 12px 28px rgba(40, 20, 40, .16);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.kh-rail-btn:hover { background: #fff; transform: scale(1.06); }
.kh-rail-btn .icon { width: 18px; height: 18px; }
.kh-rail-prev { inset-inline-start: -14px; }
.kh-rail-next { inset-inline-end: -14px; }
.kh-rail-next .icon { transform: rotate(180deg); }
.kh-rail.is-static .kh-rail-btn { display: none; }

/* ---------- Mid collection slider ---------- */

.kh-promo-media img { transition: opacity .4s ease; }

.kh-promo-media img.is-revealing {
    animation: khPromoReveal .85s cubic-bezier(.22, .7, .2, 1) both;
}

@keyframes khPromoReveal {
    from { clip-path: inset(0 0 0 100%); transform: scale(1.04); }
    to   { clip-path: inset(0 0 0 0); transform: scale(1); }
}

.kh-promo-copy { transition: opacity .24s ease, transform .24s ease, filter .24s ease; }

.kh-promo-copy.is-out {
    opacity: 0;
    transform: translateX(14px);
    filter: blur(3px);
}

.kh-promo-copy.is-in > * {
    animation: khPromoIn .52s cubic-bezier(.2, .7, .2, 1) both;
}

.kh-promo-copy.is-in > *:nth-child(2) { animation-delay: .05s; }
.kh-promo-copy.is-in > *:nth-child(3) { animation-delay: .1s; }
.kh-promo-copy.is-in > *:nth-child(4) { animation-delay: .15s; }
.kh-promo-copy.is-in > *:nth-child(5) { animation-delay: .2s; }

@keyframes khPromoIn {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

.kh-promo-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.kh-promo-dot {
    width: 18px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.kh-promo-dot.is-active { width: 30px; background: #fff; }
.kh-promo-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 1080px) {
    .kh-rail-track > .product-card { flex-basis: calc((100% - 32px) / 3); }
    .kh-rail-btn { top: 132px; }
}

@media (max-width: 900px) {
    .kh-rail-track > .product-card { flex-basis: calc((100% - 32px) / 2.4); }
    .kh-rail-btn { display: none; }
}

@media (max-width: 600px) {
    .kh-rail-track { gap: 13px; }
    .kh-rail-track > .product-card { flex-basis: calc((100% - 13px) / 1.6); }
    .kh-promo-dots { bottom: 12px; }
}

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

@media (max-width: 1080px) {
    .kh-hero-inner { gap: 32px; min-height: 500px; }
    .kh-hero h1 { font-size: clamp(32px, 4.4vw, 46px); }
    .kh-perks { padding: 16px; }
    .kh-perk { gap: 9px; padding: 4px; }
    .kh-perk-ico { width: 40px; height: 40px; }
    .kh-cat-body { padding: 14px; }
    .kh-cat-body b { font-size: 17px; }
}

@media (max-width: 900px) {
    .kh-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 26px;
        text-align: center;
    }

    .kh-hero-copy { display: flex; flex-direction: column; align-items: center; }
    .kh-lead { margin-inline: auto; }
    .kh-hero-actions, .kh-hero-points { justify-content: center; }
    .kh-hero-media { max-width: 430px; margin-inline: auto; }
    .kh-hero-media::before { inset-inline-start: 0; }
    .kh-hero-chip { inset-inline-start: -6px; }
    .kh-hero-seal { inset-inline-end: -2px; width: 82px; height: 82px; font-size: 10px; }

    .kh-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
    .kh-perk + .kh-perk { border-inline-start: 0; }
    .kh-perk:nth-child(even) { border-inline-start: 1px solid var(--kh-line); }

    .kh-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .product-grid,
    .kh-sale .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }

    .kh-promo { grid-template-columns: 1fr; }
    .kh-promo-media { min-height: 320px; }
    .kh-promo-copy { padding: 28px 24px 32px; }

    .kh-story { grid-template-columns: 1fr; gap: 30px; }
    .kh-story-media { max-width: 460px; margin-inline: auto; width: 100%; }

    .kh-services { grid-template-columns: 1fr; }
    .kh-social { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .kh-hero { padding-top: 14px; }
    .kh-hero h1 { font-size: clamp(29px, 8.6vw, 38px); }
    .kh-lead { font-size: 14.5px; }
    .kh-hero-actions { width: 100%; }
    .kh-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .kh-hero-points { gap: 6px 14px; font-size: 12px; }
    .kh-hero-frame { border-width: 7px; border-radius: 190px 190px 26px 26px; }
    .kh-hero-media { max-width: 360px; }
    .kh-hero-chip { bottom: 30px; padding: 10px 13px; }
    .kh-hero-chip small { display: none; }
    .kh-hero-seal { width: 74px; height: 74px; font-size: 9.5px; }
    .kh-hero-nav { display: none; }
    .kh-hero-dots { bottom: 10px; }
    .kh-hero-dot { width: 7px; height: 7px; }
    .kh-hero-dot.is-active { width: 18px; }

    .kh-perks { margin-top: 0; border-radius: 16px; }
    .kh-perk-text b { font-size: 12.5px; }
    .kh-perk-text span { font-size: 10.5px; }

    .kh-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
    .kh-title { font-size: 24px; }
    .kh-head p { font-size: 12.5px; }

    .kh-cats { gap: 10px; }
    .kh-cat { aspect-ratio: 4 / 5; border-radius: 16px; }
    .kh-cat-body { padding: 12px; }
    .kh-cat-body b { font-size: 15.5px; }
    .kh-cat-body small { font-size: 10.5px; }
    .kh-cat-go { width: 32px; height: 32px; }
    .kh-cat-go .icon { width: 14px; height: 14px; }

    .page-home .product-title { font-size: 13px; min-height: 43px; }
    .page-home .product-body { padding: 11px 11px 14px; }
    .page-home .price-new { font-size: 14px; }
    .page-home .product-colors { display: none; }
    .page-home .card-add-btn { min-height: 40px; font-size: 12px; }

    .kh-promo { border-radius: 22px; }
    .kh-promo-media { min-height: 260px; }
    .kh-promo h2 { font-size: 25px; }
    .kh-promo p { font-size: 13.5px; }

    .kh-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .kh-stat b { font-size: 19px; }
    .kh-stat span { font-size: 10.5px; }

    .kh-social { border-radius: 20px; margin-bottom: 40px; }
    .kh-social .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
    .kh-hero-copy { min-height: 420px; }
}

@media (min-width: 401px) and (max-width: 600px) {
    .kh-hero-copy { min-height: 360px; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home *,
    .page-home *::before,
    .page-home *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
