/* 1. Variables / Reset / Base */
:root {
    --ink: #111918;
    --muted: #66706e;
    --green: #27c66f;
    --green-dark: #159a50;
    --line: #e1e7e4;
    --surface: #ffffff;
    --page: #f7f9f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: Arial, Helvetica, sans-serif; line-height: 1.45; }
a { color: inherit; }
main{
    overflow: hidden;
}
.container { width: min(100% - 32px, 1190px); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* 2. Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 6px; font-size: .88rem; font-weight: 700; text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.button--primary { background: var(--green); color: #092017; }
.button--primary:hover, .button--primary:focus-visible { background: #45d986; }
.button--outline { border-color: #96a4a0; color: #fff; }
.button--outline:hover, .button--outline:focus-visible { border-color: var(--green); color: var(--green); }

/* 3. Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 72px; }
.site-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 1.05rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-brand__mark { color: var(--green); font-size: 1.8rem; line-height: 1; }
.site-nav { display: none; }
.site-header__toggle { border: 0; background: transparent; color: #fff; font-size: .85rem; font-weight: 700; }
.site-header__toggle + .site-nav.is-open { position: absolute; z-index: 5; top: 62px; right: 16px; display: grid; gap: 12px; width: 210px; padding: 18px; border: 1px solid #3d4745; border-radius: 8px; background: #18211f; }
.site-nav a { color: #fff; font-size: .88rem; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--green); }
.site-header > .button { display: none; }

/* 4. Hero */
.hero { color: #fff; background: #010302; overflow: hidden}
.hero__inner { min-height: 620px; }
.hero__layout { display: grid; align-items: end; min-height: 548px; }
.hero__content { position: relative; z-index: 1; padding: 55px 0 42px; }
.eyebrow, .product-card__eyebrow { margin: 0 0 9px; color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 600px; margin-bottom: 16px; font-size: clamp(2.75rem, 10vw, 5rem); line-height: .99; letter-spacing: -.045em; }
.hero__lead { max-width: 445px; margin-bottom: 25px; color: #d3dbd8; font-size: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-media { position: relative; overflow: hidden; background: #eaf0ed; }
.product-media img { position: absolute; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.product-media--hero { display: none; }
.media-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: inherit; background: #e8efeb; }
.charger-illustration { position: relative; width: 130px; height: 190px; padding-top: 30px; border: 8px solid #27312f; border-radius: 24px 24px 32px 32px; background: #17201e; color: #fff; font-size: .72rem; font-weight: 700; text-align: center; box-shadow: 34px 32px 0 rgba(39, 198, 111, .18); }
.charger-illustration i { display: block; width: 3px; height: 75px; margin: 25px auto; background: var(--green); }
.charger-illustration--light { border-color: #d6dfdc; background: #fff; color: #2d3836; }
.media-placeholder__caption { position: absolute; bottom: 18px; color: #61706b; font-size: .75rem; }

/* 5. Benefits */
.benefit-strip { background: #151c1b; color: #fff; }
.benefit-strip__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 24px 0; }
.benefit-strip p { display: grid; grid-template-columns: 25px 1fr; margin: 0; font-size: .8rem; }
.benefit-strip span { grid-row: span 2; color: var(--green); font-size: 1.35rem; }
.benefit-strip strong { font-size: .78rem; }
.benefit-strip small { color: #abb6b2; font-size: .65rem; }

/* 6. Products */
.products { padding: 58px 0; background: var(--surface); }
.section-heading { max-width: 670px; margin: 0 auto 28px; text-align: center; }
h2 { margin-bottom: 10px; font-size: clamp(1.85rem, 5vw, 2.8rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.product-grid { display: grid; gap: 20px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.product-media--card { min-height: 300px; background: #f8f8f8; }
.product-media--card img {padding: 20px 15px 0 15px; object-fit: contain; mix-blend-mode: multiply; }
.product-media--card .media-placeholder { background: #e8f1ed; }
.product-card__content { display: flex; flex: 1; flex-direction: column; padding: 24px 20px 20px; }
.product-card__eyebrow { color: var(--green-dark); }
h3 { margin-bottom: 10px; font-size: 1.35rem; line-height: 1.14; letter-spacing: -.02em; }
.product-card__description { min-height: 48px; margin-bottom: 15px; color: var(--muted); font-size: .92rem; }
.spec-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .83rem; }
.spec-list li::before { content: '✓'; display: inline-grid; width: 16px; height: 16px; margin-right: 8px; border-radius: 50%; background: var(--green); color: #fff; font-size: .64rem; font-weight: 700; place-items: center; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 21px; }
.product-price { margin: 0; font-size: 1.08rem; font-weight: 700; white-space: nowrap; }
.product-card__footer .button { min-height: 43px; padding: 9px 12px; font-size: .76rem; }

/* 7. Cable offer */
.cable-offer { padding: 0 0 58px; background: #fff; }
.cable-offer__inner { display: flex; overflow: hidden; border-radius: 11px; background: #e8f1ed; }
.cable-offer__content { padding: 32px 24px; }
.cable-offer__content > p:not(.eyebrow) { max-width: 440px; margin-bottom: 20px; color: #475451; }
.cable-offer__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.cable-offer__price strong { font-size: 1.25rem; }
.cable-offer__price span { color: var(--green-dark); font-size: .82rem; font-weight: 700; }
.cable-offer__media {background: #fff; display: flex; align-items: center; justify-content: center;}
.cable-offer__media img{left: 0; right: auto; min-width: 847px;transform: scale(1.06); transform-origin: center;}
.media-placeholder--cable { background: #cbd8d1; }
.cable-illustration { color: #23302c; font-size: 11rem; line-height: 1; transform: rotate(-28deg); }
.discount-badge { position: absolute; z-index: 3; top: 14px; left: 78px; display: grid; width: 70px; height: 70px; border-radius: 50%; background: var(--green); color: #fff; font-size: .83rem; line-height: 1; place-content: center; text-align: center; text-transform: uppercase; }
.discount-badge b { font-size: 1.25rem; }
h2#cable-title{font-size: clamp(1.85rem, 2.3vw, 2.8rem);text-wrap:nowrap} 
.product-media--hero {
    position: relative;
    display: block;
    height: 520px;
    margin-right: calc((100vw - min(100vw - 64px, 1190px)) / -2); 
    overflow: hidden;
}

.product-media--hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 8. Why Choose Us */
.why-choose { padding: 64px 0; background: var(--surface); }
.why-choose__heading { margin-bottom: 38px; }
.why-choose__heading h2 { margin-bottom: 0; }
.why-choose__list { display: grid; gap: 34px; margin: 0; padding: 0; list-style: none; }
.why-choose__item { text-align: center; }
.why-choose__icon { width: 42px; height: 42px; margin-bottom: 13px; fill: none; stroke: var(--green-dark); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.why-choose__item h3 { margin-bottom: 5px; font-size: 1rem; }
.why-choose__item p { margin: 0; color: var(--muted); font-size: .84rem; }

/* 9. Facts strip */
.facts-strip { padding: 38px 0; background: #eff3f1; }
.facts-strip__list { display: grid; gap: 28px; margin: 0; padding: 0; }
.facts-strip__item { text-align: center; }
.facts-strip__item dt { margin-bottom: 5px; color: var(--ink); font-size: clamp(1.85rem, 6vw, 2.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.facts-strip__item dd { margin: 0; color: var(--muted); font-size: .84rem; }

/* 10. FAQ */
.faq { padding: 64px 0; background: var(--surface); }
.faq__heading { margin-bottom: 34px; }
.faq__heading h2 { margin-bottom: 0; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 6px; }
.faq__item h3 { margin: 0; font-size: inherit; }
.faq__button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; gap: 20px; padding: 13px 15px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font-size: .92rem; font-weight: 600; text-align: left; }
.faq__button:hover, .faq__button:focus-visible { color: var(--green-dark); }
.faq__symbol { flex: 0 0 auto; color: var(--green-dark); font-size: 1.35rem; font-weight: 400; line-height: 1; }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 180ms ease; }
.faq__answer > div { overflow: hidden; }
.faq__answer p { margin: 0; padding: 0 15px 16px; color: var(--muted); font-size: .88rem; }
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__item.is-open .faq__symbol { font-size: 0; }
.faq__item.is-open .faq__symbol::before { content: '−'; font-size: 1.35rem; }

/* 11. Final CTA */
.final-cta { padding: 0; background: var(--surface); }
.final-cta__inner { position: relative; display: grid; gap: 26px; overflow: hidden; padding: 38px 24px; background: #111a18; color: #fff; }
.final-cta__content, .final-cta__actions { position: relative; z-index: 1; }
.final-cta__content h2 { max-width: 550px; margin-bottom: 11px; }
.final-cta__content p { max-width: 500px; margin: 0; color: #c5d0cc; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final-cta__actions .button--outline { border-color: #84918d; }
.final-cta__actions .button--outline:hover, .final-cta__actions .button--outline:focus-visible { border-color: var(--green); background: rgba(39, 198, 111, .08); color: #fff; }

.final-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #fff;
}

.final-cta__inner {
    background-image:
        linear-gradient(rgba(10, 16, 15, .60), rgba(10, 16, 15, .60)),
        url('../img/final-cta-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.final-cta .container {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.site-footer {
    padding: 28px 0;
    background: #111918;
    color: #fff;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer__brand {
    font-size: 1rem;
}

.site-footer__contacts {
    display: flex;
    gap: 20px;
}

.site-footer__contacts a {
    color: #d3dbd8;
    text-decoration: none;
}

.site-footer__contacts a:hover {
    color: var(--green);
}
.order-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.order-modal.is-open {
    display: flex;
}

.order-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.order-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 28px;
    border-radius: 12px;
    background: #fff;
}

.order-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.order-modal__selected {
    margin-bottom: 20px;
    color: var(--muted);
}

.order-modal__form {
    display: grid;
    gap: 16px;
}

.order-modal__form > label:not(.order-modal__cable) {
    display: grid;
    gap: 6px;
}

.order-modal__form label > span {
    font-size: .82rem;
    font-weight: 700;
}

.order-modal__form input[type="text"],
.order-modal__form input[type="tel"],
.order-modal__form input[type="email"] {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
}

.order-modal__cable {
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-modal__form .button {
    width: 100%;
}
.order-modal__cable[hidden] {
    display: none;
}

/* Language switcher */
.site-language {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    color: #8f9a97;
    font-size: .78rem;
    font-weight: 700;
}

.site-language a {
    color: #cfd8d5;
    text-decoration: none;
}

.site-language a[aria-current="page"] {
    color: var(--green);
}

.site-language a:hover {
    color: #fff;
}

.lang-ua .hero__content h1 {
    font-size: clamp(2.5rem, 8vw, 4.4rem);
}

@media (max-width: 759px) {
    .site-language {
        margin-left: auto;
        margin-right: 8px;
    }
}

/* preview image in modal */
.order-modal__product-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 6px 0 18px;
    overflow: hidden;
}

.order-modal__product-preview[hidden] {
    display: none;
}

.order-modal__product-preview img {
    display: block;
    width: 110px;
    height: 110px;
    max-width: 100%;
    object-fit: contain;
}

#order-cable-image[hidden] {
    display: none;
}
.cable-offer__hint {
    min-height: 20px;
    margin: 10px 0 0;
    color: #b42318;
    font-size: .82rem;
    font-weight: 700;
}

.cable-offer__hint[hidden] {
    visibility: hidden;
    display: block;
}
.cable-offer__hint {
    margin: 10px 0 0;
    color: #b42318;
    font-size: .82rem;
    font-weight: 700;
    background: #fff;
    width: fit-content;
    padding: 0px 10px;
    position: relative;
    top: -5px;
}



/* 12. Responsive / media queries */
@media (max-width: 600px) {
    .order-modal {
        padding: 12px;
    }

    .order-modal__dialog {
        padding: 24px 18px;
    }
}


@media (max-width: 600px) {
    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .site-footer__contacts {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}
@media (max-width: 990px) {
    .cable-offer__inner {
        flex-direction: column;
    }

    .cable-offer__content {
        min-width: 0;
        padding: 32px 28px;
        display: block;
    }

    .cable-offer__media {
        flex: none;
        width: 100%;
        min-height: 320px;
    }

    .cable-offer__media img {
        min-width: 0;
        width: 100%;
        transform: none;
        object-fit: cover;
        object-position: center;
    }

    .cable-offer__media::before {
        display: none;
    }

    .discount-badge {
        left: auto;
        right: 20px;
        top: 20px;
    }

    h2#cable-title {
        text-wrap: wrap;
    }
}

@media (max-width: 767px){
  .cable-offer__media img {
    object-position: 30% center;
  }
  .final-cta .container {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .final-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .final-cta__actions .button {
        width: 100%;
    }
}

@media (max-width: 520px){
  .cable-offer__media img {
    object-position: 26% center;
  }
}

@media (max-width: 380px) {
  .hero__actions .button {
    width: 100%;
  }
  .product-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-card__footer .button {
    width: 100%;
  }
  body{
   min-width: 350px;
  }
  .cable-offer__media img {
    object-position: 30% center;
  }
}



@media (min-width: 520px) {
  .why-choose__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
  }
  .facts-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .container {
    width: min(100% - 64px, 1190px);
    max-width: 1515px;
  }
  .site-header {
    min-height: 74px;
  }
  .site-header__toggle {
    display: none;
  }
  .site-nav {
    display: flex;
    gap: 27px;
    margin-left: auto;
  }
  .site-header > .button {
    display: inline-flex;
    margin-left: 11px;
    min-height: 39px;
    padding: 8px 15px;
    font-size: 0.76rem;
  }
  .hero__layout {
    grid-template-columns: 53% 47%;
    min-height: 520px;
  }
  .hero__content {
    padding: 40px 45px 58px 0;
  }
  .product-media--hero {
    display: block;
    height: 520px;
  }
  .product-media--hero .media-placeholder {
    min-height: 520px;
  }
  .product-media--hero .charger-illustration {
    transform: scale(1.3);
  }
  .benefit-strip__grid {
    grid-template-columns: repeat(5, 1fr);
    padding: 20px 0;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }
  .product-media--card {
    min-height: 340px;
  }
  .product-card__content {
    padding: 26px 24px 20px;
  }
  .cable-offer__inner {
    grid-template-columns: 51% 49%;
    min-height: 280px;
  }
  .cable-offer__content {
    padding: 43px 15px 43px 54px;
  }
  .cable-offer .container {
    width: min(100% - 48px, 1980px);
    max-width: 1515px;
  }
  .cable-offer__media::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    left: 0;
    width: 210px;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #e8f1ed 0%,
      rgba(232, 241, 237, 0.95) 20%,
      rgba(232, 241, 237, 0.72) 45%,
      rgba(232, 241, 237, 0.35) 70%,
      rgba(232, 241, 237, 0) 100%
    );
  }
  .faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
  }
  .final-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 210px;
    padding: 44px 52px;
  }
  .final-cta__actions {
    justify-content: flex-end;
  }
}
@media (min-width: 991px){
  .cable-offer__media {
    min-height: 280px;
    flex: 0 0 867px;
  }
  .cable-offer__content {
    padding: 43px 15px 43px 54px;
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 435px;
  }
}

@media (min-width: 1000px) {
  .why-choose {
    padding: 72px 0;
  }
  .why-choose__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }
  .facts-strip {
    padding: 34px 0;
  }
  .facts-strip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .faq {
    padding: 72px 0;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    max-width: 75%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) and (orientation: portrait) {
    .benefit-strip__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
        padding: 20px 0;
        max-width: 100%;
        margin: 0 auto;
    }

    .benefit-strip p {
        grid-template-columns: 28px 1fr;
        margin: 0;
    }

    .benefit-strip p:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
        margin: 0 auto;
    }

    .hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__content {
        padding: 30px 0 24px;
        text-align: center;
    }

    .hero__content h1,
    .hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__inner {
        min-height: auto;
    }

    .product-media--hero {
        width: 100%;
        height: 72vw;
        min-height: 260px;
        max-height: 420px;
        margin-right: 0;
        overflow: hidden;
    }

    .product-media--hero img {
        object-fit: cover;
        object-position: 100% center;
    }
}

@media (max-width: 767px) and (orientation: landscape) {
    .hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__content {
        padding: 28px 0 22px;
        text-align: center;
    }

    .hero__content h1,
    .hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .product-media--hero {
        width: 100%;
        height: clamp(280px, 42vw, 380px);
        margin-right: 0;
    }

    .hero__inner {
        min-height: auto;
    }

    h1 {
        max-width: 700px;
        font-size: clamp(2.4rem, 7vw, 3.6rem);
    }
}

@media (max-width: 990px) and (min-width:768px) {
    .hero__layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero__content {
        padding: 38px 0 28px;
        text-align: center;
    }

    .hero__content h1,
    .hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .product-media--hero {
        width: 100%;
        height: 50vw;
        margin-right: 0;
    }

    .hero__inner {
        min-height: auto;
    }

    h1 {
        max-width: 700px;
        font-size: clamp(2.75rem, 7vw, 4rem);
    }
}


@media (max-width: 1199px) and (min-width: 991px) {
    .hero__layout {
        grid-template-columns: 33% 70%;
        min-height: 420px;
    }
    .product-media--hero {
        height: 420px;
    }
    h1 {
        font-size: clamp(2.75rem, 10vw, 3.2rem);
    }
    .hero__content {
        padding: 15px 15px 32px 0;
    }
    .hero__inner {
        min-height: 535px;
    }
}

@media (max-width: 1299px) and (min-width: 1199px) {
    .hero__layout {
        grid-template-columns: 32% 69%;
        min-height: 460px;
    }

    .product-media--hero {
        height: 460px;
    }
    h1 {
        font-size: clamp(2.75rem, 10vw, 4.05rem);
    }
    .hero__content {
        padding: 15px 15px 58px 0;
    }
    .hero__inner {
        min-height: 560px;
    }
}

@media (max-width: 1750px) and (min-width: 1300px) {
    .hero__layout {
        grid-template-columns: 40% 60%;
        min-height: 480px;
    }

    .product-media--hero {
        height: 480px;
    }
}
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 14px;
}

.site-footer__legal a {
    color: inherit;
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.8;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .site-footer__legal {
        justify-content: center;
    }
}

.legal-page {
    padding: 72px 0 88px;
    background: #f7f8f8;
}

.legal-page__container {
    max-width: 960px;
}

.legal-page__article {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.06);
}

.legal-page__header {
    margin-bottom: 32px;
}

.legal-page__header h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.legal-page__content {
    color: #2f3437;
    line-height: 1.7;
}

.legal-page__content h2 {
    margin: 36px 0 16px;
    font-size: 1.45rem;
    line-height: 1.3;
}

.legal-page__content h3 {
    margin: 28px 0 12px;
    font-size: 1.15rem;
}

.legal-page__content p {
    margin: 0 0 16px;
}

.legal-page__content ul,
.legal-page__content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.legal-page__content li + li {
    margin-top: 8px;
}

.legal-page__content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page__content strong {
    color: #111827;
}

@media (max-width: 767px) {
    .legal-page {
        padding: 40px 0 56px;
    }

    .legal-page__article {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .legal-page__header {
        margin-bottom: 24px;
    }
}
.legal-site-header {
    background: #111827;
}

.legal-site-header .site-header {
    min-height: 84px;
}

.legal-site-header .site-brand,
.legal-site-header .site-nav a,
.legal-site-header .site-language a,
.legal-site-header .site-language span {
    color: #ffffff;
}

.legal-site-header .site-brand__mark {
    color: #22c55e;
}
.legal-page {
    padding-top: 56px;
}
.site-language a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-site-header .site-language a[aria-current="page"] {
    color: var(--green);
}
.payment-return {
    padding: 20px 0 0;
    background: #f7f8f8;
}

.payment-return__message {
    display: flex;
    gap: 8px 18px;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 20px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 14px;
    background: #f0fdf4;
    color: #14532d;
}

.payment-return__message strong {
    font-weight: 700;
}

.payment-return__message span {
    color: #166534;
}
.payment-return-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.payment-return-modal.is-open {
    display: flex;
}

.payment-return-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.payment-return-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 36px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
}

.payment-return-modal__dialog h2 {
    margin: 0 0 12px;
}

.payment-return-modal__dialog p {
    margin: 0 0 24px;
}

.payment-return-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 28px;
    cursor: pointer;
}