html {
    scroll-behavior: smooth;
}

html.html--inertial-scroll {
    scroll-behavior: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #07060d;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html.html--popup-open,
body.body--popup-open {
    overflow: hidden;
}

.fullscreen-popup__body,
.cart-popup__content,
.cart-popup__left,
.configurator-modal__body,
.card-modal__content {
    overscroll-behavior: contain;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.to-top-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1200;
    display: none;
    width: 54px;
    height: 54px;
    padding: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #1fbf4a, #32d96b);
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 191, 74, 0.22);
}

.to-top-btn--show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #9400d3;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.btn:hover {
    background: #9400d3;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
/* затемнение фона */
.hero::before,
.computers::before,
.reviews::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    min-height: 100vh;
}
.btn-primary {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #1fbf4a, #32d96b);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(31, 191, 74, 0.4);
}

/* ABOUT / WHO WE ARE CARD */
.about-card {
    margin-top: auto;
    margin-bottom: auto;
    width: 90%;
    max-width: 3400px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
    padding: 40px 48px 48px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card__title {
    margin: 0;
    color: var(--tech-text);
    font-size: clamp(34px, 4.03vw, 60px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    text-shadow: 0 0 34px rgba(139, 92, 246, 0.28);
}

.about-card__content {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.about-card__photo {
    flex: 0 0 30%;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.about-card__photo-item {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    display: none;
    cursor: pointer;
}

.about-card__photo-item--active {
    display: block;
}

.about-card__pagination {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.about-card__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: 0.2s ease;
}

.about-card__dot--active {
    background: #6c4cff;
    border-color: transparent;
}

.about-card__bio {
    flex: 1 1 70%;
    min-width: 260px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: clamp(28px, 3vw, 52px);
    display: grid;
    align-items: stretch;
    justify-items: stretch;
    position: relative;
    overflow: hidden;
}

.about-card__bio-item {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: clamp(18px, 1.6vw, 28px);
    width: 100%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 220ms ease, visibility 220ms ease;
    pointer-events: none;
}

.about-card__bio-item--active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.about-card__bio p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    letter-spacing: 0;
    text-align: left;
    text-wrap: pretty;
}

.about-card__text-doc {
    width: 100%;
    display: grid;
    gap: clamp(16px, 1.25vw, 24px);
    align-content: stretch;
    padding: clamp(20px, 1.7vw, 30px);
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.055), transparent 46%),
        rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(21px, 1.45vw, 28px);
    line-height: 1.58;
}

.about-card__text-doc p {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: 550;
    line-height: inherit;
}

.about-card__text-doc strong {
    color: var(--tech-text);
    font-weight: 850;
}

.about-card__note {
    color: var(--tech-accent-cold) !important;
    font-weight: 850;
}

@media (max-width: 768px) {
    .about-card {
        gap: 24px;
        padding: 30px 24px 32px;
    }

    .about-card__title {
        font-size: clamp(27px, 8.26vw, 37px);
        line-height: 1.04;
    }

    .about-card__content {
        flex-direction: column;
    }

    .about-card__bio {
        min-width: 0;
        width: 100%;
        padding: 18px 18px;
        align-items: flex-start;
        justify-items: stretch;
    }

    .about-card__bio p {
        line-height: 1.5;
    }

    .about-card__text-doc {
        font-size: clamp(16px, 4.2vw, 20px);
        gap: 12px;
        padding: 16px 15px;
    }

    .about-card__text-doc p {
        padding: 0;
    }

    .about-card__bio-item,
    .about-card__bio-item--active {
        width: 100%;
        justify-content: flex-start;
    }

    .header__inner {
        padding: 30px 24px;
        margin: 20px auto;
        width: 95%;
    }

    .header__cart-btn {
        top: 30px;
        right: 24px;
        padding: 14px 30px;
        font-size: 14px;
    }

    .header__title {
        font-size: 24px;
    }

    .logo {
        height: 120px;
    }

    .nav {
        gap: 30px;
    }
}

/* Fullscreen popup (offer / privacy) */
.fullscreen-popup {
    position: fixed;
    inset: 0;
    display: block;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.fullscreen-popup--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fullscreen-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 260ms ease;
}

.fullscreen-popup--open .fullscreen-popup__backdrop {
    opacity: 1;
}

.fullscreen-popup__content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(20, 15, 40, 0.98);
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    transform: translateY(18px);
    transition: transform 260ms ease;
}

.fullscreen-popup--open .fullscreen-popup__content {
    transform: translateY(0);
}

.fullscreen-popup__close {
    position: absolute;
    top: 20px;
    right: 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 32px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.fullscreen-popup__title {
    font-size: 26px;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 2px;
}

.fullscreen-popup__body {
    flex: 1;
    overflow: auto;
    padding-right: 12px;
}

.fullscreen-popup__text {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-policy {
    width: min(920px, 100%);
    margin: 0 auto;
    padding-bottom: 24px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    line-height: 1.75;
}

.privacy-policy__intro,
.privacy-policy__section {
    padding: 22px 24px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.privacy-policy__intro {
    background: rgba(31, 191, 74, 0.08);
    border-color: rgba(50, 217, 107, 0.22);
}

.privacy-policy__eyebrow {
    margin-bottom: 10px;
    color: #32d96b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.privacy-policy p {
    margin-bottom: 12px;
}

.privacy-policy p:last-child,
.privacy-policy ul:last-child {
    margin-bottom: 0;
}

.privacy-policy h3 {
    margin-bottom: 12px;
    color: white;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: 0;
}

.privacy-policy h4 {
    margin: 14px 0 8px;
    color: rgba(255, 255, 255, 0.96);
    font-size: 16px;
}

.privacy-policy ul {
    margin: 0 0 12px 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
    padding-left: 2px;
}

.privacy-policy__meta {
    display: grid;
    gap: 8px;
    margin: 16px 0;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 10px;
}

.privacy-policy__note {
    padding: 12px 14px;
    background: rgba(108, 76, 255, 0.16);
    border-left: 3px solid #8a6dff;
    border-radius: 8px;
}

.privacy-policy__terms {
    display: grid;
    gap: 10px;
}

.privacy-policy__terms div {
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.privacy-policy__terms dt {
    margin-bottom: 4px;
    color: white;
    font-weight: 700;
}

.privacy-policy__terms dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 720px) {
    .fullscreen-popup__content {
        padding: 18px 16px 20px;
    }

    .privacy-policy {
        font-size: 15px;
        line-height: 1.65;
    }

    .privacy-policy__intro,
    .privacy-policy__section {
        padding: 16px;
        border-radius: 10px;
    }

    .privacy-policy h3 {
        font-size: 18px;
    }
}

/* COMPUTERS SECTION */
.computers {
    position: relative;
    background: url("../img/BG2.jpg") center/cover no-repeat;
    background-color: #1a1a2e;
    padding: 60px 0;
}

.computers__inner {
    position: relative;
    z-index: 1;
}

/* REVIEWS SECTION */
.reviews {
    position: relative;
    background: url("../img/BG3.jpg") center/cover no-repeat;
    padding: 60px 0;
}

.reviews-card {
    position: relative;
    z-index: 1;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 24px;
    padding: 40px 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-card__title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 30px;
}

.reviews-card__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.review-card {
    background: rgba(200, 150, 255, 0.4);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card__image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.review-card__name {
    font-size: 16px;
    font-weight: 600;
}

.review-card__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.reviews-card__grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.review-card {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: flex-start;
    gap: 12px;
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    color: #111827;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.review-card__avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #8a6c5e;
}

.review-card__avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.review-card__content {
    min-width: 0;
}

.review-card__header {
    margin-bottom: 8px;
}

.review-card__name {
    margin: 0;
    color: #05070c;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
}

.review-card__meta {
    margin: 2px 0 0;
    color: #3f4652;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.review-card__deal {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 0 0 6px;
    color: #343b48;
    font-size: 19px;
    font-weight: 550;
    line-height: 1.35;
}

.review-card__stars {
    flex: 0 0 auto;
    color: #ffb000;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 1;
}

.review-card__text {
    margin: 0;
    color: #05070c;
    font-size: 19px;
    font-weight: 550;
    line-height: 1.4;
}

@media (max-width: 720px) {
    .review-card {
        grid-template-columns: 36px 1fr;
        padding: 14px;
    }

    .review-card__avatar-wrap {
        width: 36px;
        height: 36px;
    }

    .review-card__deal {
        flex-wrap: wrap;
        font-size: 14px;
    }
}

.computers__configurator {
    margin-top: 30px;
    text-align: center;
}

.configurator-section__btn {
    margin-top: 10px;
}

.configurator-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.configurator-modal--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.configurator-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 260ms ease;
}

.configurator-modal--open .configurator-modal__backdrop {
    opacity: 1;
}

.configurator-modal__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 10, 25, 0.96);
    border-radius: 20px;
    padding: 28px 30px 22px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(18px);
    transition: transform 260ms ease;
}

.configurator-modal--open .configurator-modal__content {
    transform: translateY(0);
}

.configurator-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

.configurator-modal__title {
    font-size: 22px;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 2px;
}

.configurator-modal__description {
    display: grid;
    gap: 10px;
    margin: -4px 0 20px;
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.08), transparent 42%),
        rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(178, 145, 255, 0.18);
    border-radius: 12px;
}

.configurator-modal__description p {
    margin: 0;
}

.configurator-modal__description-note {
    color: var(--tech-text);
    font-weight: 700;
}

.configurator-modal__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: none;
    overflow: visible;
    padding-right: 4px;
}

.configurator-modal__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.configurator-modal__label {
    font-size: 14px;
    opacity: 0.85;
}

.configurator-modal__select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 14px;
}

.configurator-modal__select option {
    color: black;
}

.configurator-modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 10px;
}

.configurator-modal__action-bar {
    position: sticky;
    bottom: -22px;
    z-index: 3;
    margin: 18px -16px -6px;
    padding: 14px 16px 16px;
    display: grid;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026)),
        linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.1)),
        rgb(18, 12, 32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 -14px 28px rgba(5, 4, 10, 0.32);
}

.configurator-modal__total-label {
    font-size: 14px;
    opacity: 0.85;
}

.configurator-modal__total-value {
    font-size: 18px;
    font-weight: 600;
}

.configurator-modal__add-cart {
    display: block;
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #6c4cff, #8a6dff);
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 76, 255, 0.3);
}

.configurator-modal__add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 76, 255, 0.4);
}

.configurator-modal__add-cart:active {
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .configurator-modal {
        align-items: stretch;
        padding: 16px;
    }

    .configurator-modal__content {
        width: 100%;
        max-height: calc(100vh - 32px);
        padding: 24px 16px 16px;
    }

    .configurator-modal__action-bar {
        bottom: -16px;
        margin: 18px -16px -16px;
        padding: 14px 16px 16px;
    }
}

/* CART POPUP */
.cart-popup {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.cart-popup--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-popup__backdrop {
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 260ms ease;
}

.cart-popup--open .cart-popup__backdrop {
    opacity: 1;
}

.cart-popup__content {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    background: rgba(20, 15, 40, 0.98);
    padding: 24px 32px 32px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    transform: translateY(18px);
    transition: transform 260ms ease;
}

.cart-popup--open .cart-popup__content {
    transform: translateY(0);
}

.cart-popup__close {
    position: absolute;
    top: 20px;
    right: 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 32px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.cart-popup__title {
    font-size: 26px;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 2px;
}

.cart-popup__body {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.cart-popup__left {
    flex: 1;
    overflow-y: auto;
    padding-right: 12px;
    padding-bottom: 12px;
}

.cart-popup__list {
    list-style: none;
}

.cart-popup__empty {
    padding: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.cart-popup__item {
    display: grid;
    grid-template-columns: minmax(190px, 32%) 1fr;
    align-items: stretch;
    gap: 16px;
    height: 368px;
    min-height: 368px;
    padding: 16px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.055);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-popup__item-media {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}

.cart-popup__item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-popup__item-fallback {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
    background: transparent;
}

.cart-popup__item-body {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.cart-popup__item-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cart-popup__item-title {
    margin: 0;
    color: white;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.cart-popup__item-remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(228, 77, 77, 0.4);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s ease;
}

.cart-popup__item-remove:hover {
    background: rgba(228, 77, 77, 0.8);
}

.cart-popup__parts {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 10px;
    row-gap: 6px;
    min-height: 0;
    overflow: auto;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.35;
}

.cart-popup__parts dt {
    color: rgba(255, 255, 255, 0.62);
    font-weight: 700;
}

.cart-popup__parts dd {
    margin: 0;
    min-width: 0;
}

.cart-popup__item-price {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9eeaf4;
    font-size: 18px;
    font-weight: 800;
}

.cart-popup__right {
    flex: 0 0 33.333%;
    min-width: 300px;
    max-width: 420px;
    max-height: calc(100vh - 132px);
    max-height: calc(100dvh - 132px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    scrollbar-gutter: stable;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 16px;
    padding-bottom: 4px;
}

.cart-popup__checkout-scroll {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    overscroll-behavior: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    padding-right: 2px;
}

.checkout-panel__block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
}

.checkout-panel__block--total {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
}

.checkout-panel__label {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 6px;
}

.checkout-panel__input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    padding: 9px 10px;
    font-size: 14px;
}

.checkout-panel__input::placeholder,
.checkout-panel__textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.checkout-panel__channels {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkout-panel__channel {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.checkout-panel__label--comment {
    margin-top: 10px;
}

.checkout-panel__textarea {
    width: 100%;
    min-height: 86px;
    resize: vertical;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-panel__payment-list {
    margin: 8px 0 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.checkout-panel__payment-list .checkout-panel__channel {
    margin-bottom: 2px;
}

.checkout-panel__payment-note {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.45;
}

.checkout-panel__payment-note span {
    display: block;
}

.checkout-panel__radio {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.checkout-panel__radio input {
    margin-top: 2px;
}

.checkout-panel__privacy-link {
    color: #32d96b;
    font: inherit;
    line-height: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.checkout-panel__privacy-link:hover {
    color: white;
}

.checkout-panel__block--action {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.cart-popup__total-label {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.cart-popup__total {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
}

.cart-popup__checkout {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #6c4cff, #8a6dff);
    transition: 0.3s ease;
}

@media (min-width: 1081px) {
    .cart-popup__left {
        flex: 1 1 auto;
    }

    .cart-popup__right {
        flex-basis: 40%;
        min-width: 360px;
        max-width: 504px;
        gap: 14px;
        padding-left: 20px;
    }

    .cart-popup__checkout-scroll {
        gap: 14px;
    }

    .checkout-panel__block {
        padding: 14px 17px;
    }

    .checkout-panel__label {
        font-size: 17px;
    }

    .checkout-panel__input,
    .checkout-panel__textarea {
        padding: 11px 12px;
        font-size: 17px;
    }

    .checkout-panel__channel,
    .checkout-panel__payment-list,
    .checkout-panel__radio {
        font-size: 16px;
    }

    .checkout-panel__payment-note,
    .checkout-panel__hint {
        font-size: 14px;
    }

    .cart-popup__total-label {
        font-size: 19px;
    }

    .cart-popup__total {
        font-size: 31px;
    }

    .cart-popup__checkout {
        padding: 17px 24px;
        font-size: 19px;
    }
}

.cart-popup__checkout:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 76, 255, 0.4);
}

.checkout-panel__hint {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 1081px) {
    .checkout-panel__hint {
        font-size: 14px;
    }
}

.order-notice {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.order-notice--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.order-notice__content {
    width: min(500px, 90%);
    background: rgba(17, 11, 37, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    transform: translateY(18px);
    transition: transform 260ms ease;
}

.order-notice--open .order-notice__content {
    transform: translateY(0);
}

.order-notice__text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.order-notice__btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg, #6c4cff, #8a6dff);
}

@media (max-width: 1080px) {
    .cart-popup__content {
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cart-popup__body {
        flex-direction: column;
        flex: 0 0 auto;
        min-height: auto;
        overflow: visible;
        padding-right: 2px;
    }

    .cart-popup__left {
        flex: 0 0 auto;
        overflow: visible;
        padding-right: 0;
    }

    .cart-popup__right {
        flex: 0 0 auto;
        min-width: 0;
        max-width: none;
        max-height: none;
        width: 100%;
        overflow: visible;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 0;
        padding-top: 12px;
        padding-right: 4px;
        padding-bottom: 24px;
    }

    .cart-popup__checkout-scroll {
        flex: 0 0 auto;
        min-height: auto;
        overflow: visible;
    }
}

@media (max-width: 720px) {
    .cart-popup__content {
        padding: 18px 16px 16px;
    }

    .cart-popup__item {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .cart-popup__item-media,
    .cart-popup__item-fallback {
        height: 240px;
        min-height: 240px;
    }

    .cart-popup__item-media {
        align-self: auto;
    }

    .cart-popup__parts {
        grid-template-columns: 1fr;
        row-gap: 2px;
    }

    .cart-popup__parts dd {
        margin-bottom: 8px;
    }

    .cart-popup__right {
        gap: 10px;
    }
}

/* Card detail modal */
.card-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease;
}

.card-modal--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.card-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 260ms ease;
}

.card-modal--open .card-modal__backdrop {
    opacity: 1;
}

.card-modal__content {
    position: relative;
    z-index: 1;
    --card-modal-surface:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
        rgba(13, 8, 24, 0.98);
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(10, 10, 25, 0.96);
    border-radius: 20px;
    padding: 28px 30px 22px 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(18px);
    transition: transform 260ms ease;
}

.card-modal--open .card-modal__content {
    transform: translateY(0);
}

.card-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

.card-modal__title {
    font-size: 22px;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 2px;
}

.card-modal__media {
    margin-bottom: 16px;
}

.card-modal__main-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: var(--card-modal-surface);
    border-radius: 12px;
    margin-bottom: 10px;
}

.card-modal__thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.card-modal__thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    background: var(--card-modal-surface);
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.card-modal__thumb:hover {
    border-color: rgba(108, 76, 255, 0.8);
    opacity: 0.95;
}

.card-modal__thumb.card-modal__thumb--active {
    border-color: #8a6dff;
}

.card-modal__description-block {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.card-modal__description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.card-modal__fps {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.card-modal__fps[hidden] {
    display: none;
}

.card-modal__fps-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: 12px;
    row-gap: 7px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.35;
}

.card-modal__fps-list dt,
.card-modal__fps-list dd {
    margin: 0;
}

.card-modal__fps-list dt {
    color: rgba(255, 255, 255, 0.64);
    font-weight: 700;
}

.card-modal__fps-list dd {
    color: var(--tech-accent-cold);
    font-weight: 800;
    white-space: nowrap;
}

.card-modal__build {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.card-modal__section-title {
    margin: 0 0 10px;
    color: white;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

.card-modal__parts {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 10px;
    row-gap: 7px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    line-height: 1.35;
}

.card-modal__parts dt {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.card-modal__parts dd {
    margin: 0;
    min-width: 0;
}

.card-modal__config {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: none;
    overflow-y: auto;
    padding-right: 4px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
}

.card-modal__action-bar {
    position: sticky;
    bottom: -22px;
    z-index: 3;
    margin: 18px -16px -6px;
    padding: 14px 16px 16px;
    display: grid;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026)),
        linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.1)),
        rgb(18, 12, 32);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 -14px 28px rgba(5, 4, 10, 0.32);
}

.card-modal__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-modal__label {
    font-size: 13px;
    opacity: 0.85;
}

.card-modal__select {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 14px;
}

.card-modal__select option {
    color: black;
}

.card-modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.card-modal__total-label {
    font-size: 14px;
    opacity: 0.85;
}

.card-modal__total-value {
    font-size: 18px;
    font-weight: 600;
}

.card-modal__add-cart {
    display: block;
    width: 100%;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #6c4cff, #8a6dff);
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 76, 255, 0.3);
}

.card-modal__add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 76, 255, 0.4);
}

@media (max-width: 720px) {
    .card-modal__action-bar {
        bottom: -16px;
        margin: 18px -16px -16px;
        padding: 14px 16px 16px;
    }
}

@media (min-width: 900px) {
    .card-modal {
        padding: 24px;
    }

    .card-modal__content {
        width: min(94vw, 1180px);
        max-width: 1180px;
        max-height: min(90vh, 860px);
        padding: 30px;
        display: grid;
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
        grid-template-areas:
            "title title"
            "media fps"
            "media build"
            "description config"
            "action action";
        column-gap: 24px;
        row-gap: 16px;
        align-items: start;
    }

    .card-modal__title {
        grid-area: title;
        margin: 0 44px 2px 0;
    }

    .card-modal__media {
        grid-area: media;
        margin-bottom: 0;
    }

    .card-modal__main-img {
        max-height: 48vh;
    }

    .card-modal__description-block {
        grid-area: description;
        margin-bottom: 0;
        align-self: start;
    }

    .card-modal__fps {
        grid-area: fps;
        margin-bottom: 0;
    }

    .card-modal__build {
        grid-area: build;
        margin-bottom: 0;
    }

    .card-modal__config {
        grid-area: config;
        width: 100%;
    }

    .card-modal__action-bar {
        grid-area: action;
        bottom: 0;
        margin: 0;
        padding: 14px 16px 16px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026)),
            linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.1)),
            rgb(18, 12, 32);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        box-shadow: 0 -10px 22px rgba(5, 4, 10, 0.22);
    }
}

/* Tech minimal redesign */
:root {
    --tech-bg: #07060d;
    --tech-header: #0d0718;
    --tech-panel: #120c20;
    --tech-panel-soft: #191128;
    --tech-line: rgba(178, 145, 255, 0.18);
    --tech-line-strong: rgba(139, 92, 246, 0.38);
    --tech-text: #f5f1ff;
    --tech-muted: rgba(245, 241, 255, 0.68);
    --tech-accent: #8b5cf6;
    --tech-accent-deep: #5b21b6;
    --tech-accent-cold: #9eeaf4;
    --tech-danger: #ef4444;
}

body {
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(139, 92, 246, 0.2), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(158, 234, 244, 0.09), transparent 30rem),
        linear-gradient(180deg, #07060d 0%, #0b0813 48%, #07060d 100%);
    background-color: var(--tech-bg);
    color: var(--tech-text);
}

body::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.32;
}

.header {
    position: relative;
    z-index: 900;
    background:
        linear-gradient(180deg, rgba(13, 7, 24, 0.98), rgba(9, 6, 16, 0.94)),
        var(--tech-header);
    border-bottom: 1px solid var(--tech-line);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.header__inner {
    width: 90%;
    max-width: 1280px;
    min-height: 104px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.header__brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 18px;
}

.header__logo-frame {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 72px;
    border: 1px solid rgba(139, 92, 246, 0.34);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
        rgba(0, 0, 0, 0.42);
    box-shadow:
        inset 0 0 26px rgba(139, 92, 246, 0.16),
        0 0 32px rgba(158, 234, 244, 0.08);
}

.logo {
    max-width: 76px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.35));
}

.header__copy {
    min-width: 0;
}

.header__intro {
    min-width: 0;
    margin-bottom: 10px;
}

.header__brand-name {
    margin: 0 0 4px;
    color: var(--tech-text);
    font-size: clamp(22px, 2.1vw, 34px);
    font-weight: 850;
    line-height: 0.95;
    letter-spacing: 0;
}

.header__brand-text {
    max-width: 560px;
    margin: 0;
    color: rgba(245, 241, 255, 0.68);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

.header__title {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: left;
    color: var(--tech-text);
}

.nav {
    justify-content: flex-start;
    gap: 24px;
}

.nav__link {
    color: var(--tech-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.nav__link:hover {
    color: var(--tech-accent-cold);
}

.nav__link::after {
    bottom: -6px;
    height: 1px;
    background: var(--tech-accent-cold);
}

.header__cart-btn,
.btn-primary,
.legal-buttons__btn,
.to-top-btn,
.configurator-modal__add-cart,
.card-modal__add-cart,
.cart-popup__checkout,
.order-notice__btn,
.computer-card__add-cart {
    color: white;
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.18), transparent 42%),
        linear-gradient(135deg, var(--tech-accent), var(--tech-accent-deep));
    box-shadow: 0 12px 30px rgba(91, 33, 182, 0.28);
}

.header__cart-btn {
    position: static;
    flex: 0 0 auto;
    padding: 13px 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.8px;
}

.header__cart-btn:hover,
.btn-primary:hover,
.legal-buttons__btn:hover,
.to-top-btn:hover,
.configurator-modal__add-cart:hover,
.card-modal__add-cart:hover,
.cart-popup__checkout:hover,
.computer-card__add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(139, 92, 246, 0.34), 0 0 0 1px rgba(158, 234, 244, 0.16);
}

.header__cart-count {
    min-width: 0;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--tech-accent-cold);
    box-shadow: none;
}

.cart-add-feedback {
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.cart-add-feedback__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 180ms ease, transform 180ms ease;
}

.cart-add-feedback--swap .cart-add-feedback__label {
    opacity: 0;
    transform: translateY(8px);
}

.cart-add-feedback--pulse .cart-add-feedback__label {
    animation: cartAddLabelIn 240ms ease both;
}

.cart-add-feedback--active {
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.3), rgba(31, 191, 74, 0.22)),
        linear-gradient(135deg, var(--tech-accent), var(--tech-accent-deep));
    box-shadow: 0 16px 34px rgba(158, 234, 244, 0.22), 0 0 0 1px rgba(158, 234, 244, 0.2);
}

.computer-card__add-cart.cart-add-feedback--active,
.card-modal__add-cart.cart-add-feedback--active,
.configurator-modal__add-cart.cart-add-feedback--active {
    font-size: clamp(13px, 1.05vw, 16px);
}

@keyframes cartAddLabelIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.to-top-btn {
    top: 124px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
    min-height: auto;
    padding: 34px 0 22px;
    background: url("../img/BG2.jpg") center top/cover no-repeat;
}

.hero__overlay {
    min-height: auto;
    gap: 22px;
}

.hero::before {
    background: rgba(7, 6, 13, 0.35);
}

.btn-primary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.about-card,
.reviews-card {
    background: rgba(13, 8, 24, 0.76);
    border: 1px solid var(--tech-line);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.about-card__bio,
.review-card,
.checkout-panel__block,
.cart-popup__item,
.privacy-policy__intro,
.privacy-policy__section {
    background: rgba(18, 12, 32, 0.78);
    border-color: var(--tech-line);
}

.about-card__dot--active {
    background: var(--tech-accent-cold);
}

.computer-card__price,
.card-modal__total-value,
.configurator-modal__total-value,
.cart-popup__total {
    color: var(--tech-accent-cold);
}

.fullscreen-popup__content,
.cart-popup__content {
    background:
        radial-gradient(circle at 86% 6%, rgba(139, 92, 246, 0.16), transparent 32rem),
        var(--tech-header);
}

.configurator-modal__content,
.card-modal__content,
.order-notice__content {
    background: var(--card-modal-surface, linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)), rgba(13, 8, 24, 0.98));
    border-color: var(--tech-line);
    border-radius: 14px;
}

.configurator-modal__select,
.card-modal__select,
.checkout-panel__input,
.checkout-panel__textarea {
    background: rgba(5, 4, 10, 0.58);
    border-color: rgba(178, 145, 255, 0.24);
}

.privacy-policy__eyebrow,
.checkout-panel__privacy-link {
    color: var(--tech-accent-cold);
}

.checkout-panel__privacy-link:hover {
    color: var(--tech-text);
}

.privacy-policy__note {
    background: rgba(139, 92, 246, 0.13);
    border-left-color: var(--tech-accent-cold);
}

.footer {
    background: var(--tech-bg);
}

.about-section {
    position: relative;
    padding: 70px 0;
    background:
        linear-gradient(180deg, rgba(7, 6, 13, 0.4), rgba(12, 8, 20, 0.4)),
        url("../img/BG.jpg") center/cover no-repeat;
}

.about-section::before {
    content: none;
}

.about-section .about-card {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    background: rgba(13, 8, 24, 0.53);
}

.reviews {
    padding: 82px 0;
}

.reviews-card {
    width: min(96%, 1680px);
    margin: 0 auto;
}

.reviews-card__grid {
    grid-template-columns: 1fr;
    gap: 22px;
}

.review-card {
    width: min(1400px, 100%);
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.99);
}

#about,
#computers,
#reviews {
    scroll-margin-top: 24px;
}

@media (max-width: 900px) {
    .header {
        position: relative;
    }

    .header__inner {
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 0 18px;
    }

    .header__brand {
        justify-content: center;
    }

    .header__intro {
        text-align: center;
    }

    .header__brand-text {
        margin: 0 auto;
    }

    .header__title {
        text-align: left;
    }

    .nav {
        gap: 16px;
    }

    .header__cart-btn {
        align-self: center;
    }

    .to-top-btn {
        top: 18px;
    }
}

@media (max-width: 560px) {
    .header__brand {
        align-items: flex-start;
    }

    .header__logo-frame {
        width: 74px;
        height: 60px;
    }

    .logo {
        max-width: 62px;
        max-height: 46px;
    }

    .nav {
        gap: 12px;
    }

    .nav__link {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

/* Final reviews layout overrides */
.reviews-card {
    width: min(96%, 1680px);
    max-width: 1680px;
    padding: clamp(28px, 3vw, 52px);
    background: rgba(13, 8, 24, 0.62);
}

.reviews-card__title {
    margin-bottom: 34px;
    color: var(--tech-text);
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 800;
    text-shadow: 0 0 28px rgba(139, 92, 246, 0.28);
}

.reviews-card__head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.reviews-card__head .reviews-card__title {
    grid-column: 2;
    margin: 0;
}

.reviews-card__avito-btn {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 204px;
    min-height: 62px;
    padding: 0 22px;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.reviews-card__avito-icon {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.reviews-card__grid {
    grid-template-columns: 1fr;
    gap: 24px;
}

.reviews .review-card {
    width: 100%;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: clamp(22px, 2vw, 32px);
    background: rgba(255, 255, 255, 0.98);
    color: #05070c;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.reviews .review-card__avatar-wrap {
    width: 58px;
    height: 58px;
}

.reviews .review-card__name {
    color: #020617;
    font-size: clamp(22px, 1.55vw, 28px);
    font-weight: 850;
}

.reviews .review-card__meta {
    color: #334155;
    font-size: clamp(17px, 1.15vw, 21px);
    font-weight: 700;
}

.reviews .review-card__deal {
    color: #1f2937;
    font-size: clamp(19px, 1.3vw, 23px);
    font-weight: 650;
}

.reviews .review-card__stars {
    color: #ffae00;
    font-size: clamp(22px, 1.45vw, 27px);
    font-weight: 800;
}

.reviews .review-card__text {
    color: #020617;
    font-size: clamp(19px, 1.3vw, 23px);
    font-weight: 650;
}

@media (max-width: 720px) {
    .reviews-card {
        padding: 24px 14px;
    }

    .reviews-card__head {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .reviews-card__head .reviews-card__title,
    .reviews-card__avito-btn {
        grid-column: 1;
    }

    .reviews-card__avito-btn {
        justify-self: center;
        width: min(100%, 260px);
    }

    .reviews .review-card {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .reviews .review-card__avatar-wrap {
        width: 44px;
        height: 44px;
    }
}

.computer-card,
.review-card,
.about-card__bio {
    contain: layout style;
}

@supports (content-visibility: auto) {
    .about-section,
    .reviews,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
}

/* Header v2: compact store navigation */
@media (min-width: 901px) {
    .header {
        background:
            linear-gradient(180deg, rgba(9, 5, 17, 0.98), rgba(8, 5, 14, 0.94)),
            var(--tech-header);
        border-bottom: 1px solid rgba(178, 145, 255, 0.16);
        box-shadow: 0 14px 42px rgba(0, 0, 0, 0.34);
    }

    .header__inner {
        width: min(100% - 40px, 1560px);
        max-width: 1560px;
        min-height: 92px;
        margin: 0 auto;
        padding: 12px 0;
        display: grid;
        grid-template-columns: auto minmax(210px, 280px) minmax(560px, 1fr) auto;
        align-items: center;
        gap: 22px;
    }

    .header__brand {
        display: contents;
    }

    .header__logo-frame {
        grid-column: 1;
        width: auto;
        height: auto;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .logo {
        display: block;
        width: clamp(96px, 7.2vw, 132px);
        height: auto;
        filter:
            drop-shadow(0 0 12px rgba(139, 92, 246, 0.42))
            drop-shadow(0 0 22px rgba(236, 72, 153, 0.14));
    }

    .header__copy {
        position: static;
        grid-column: 2 / 4;
        transform: none;
        width: 100%;
        padding: 0;
        display: grid;
        min-width: 0;
        grid-template-columns: minmax(210px, 280px) minmax(560px, 1fr);
        align-items: flex-start;
        gap: 22px;
        justify-content: stretch;
        align-items: center;
    }

    .header__intro {
        width: auto;
        min-width: 0;
        margin-bottom: 0;
    }

    .header__brand-name {
        font-size: clamp(22px, 1.85vw, 30px);
    }

    .header__brand-text {
        max-width: 100%;
        font-size: 14px;
    }

    .nav {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .nav__link {
        flex: 0 0 auto;
        min-height: 50px;
        padding: 0 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(245, 241, 255, 0.74);
        text-decoration: none;
        border: 1px solid transparent;
        border-radius: 999px;
        background: transparent;
        box-shadow: none;
        font-size: 13px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: 1.25px;
        white-space: nowrap;
        transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .nav__link::before {
        content: none;
    }

    .nav__link::after {
        content: none;
    }

    .nav__link:hover {
        color: var(--tech-text);
        border-color: rgba(178, 145, 255, 0.18);
        background: rgba(255, 255, 255, 0.045);
        transform: translateY(-1px);
        box-shadow: none;
    }

    .nav__link:hover::after {
        content: none;
    }

    .nav__telegram-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 154px;
        min-height: 53px;
        padding: 0 18px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 0.7px;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
        box-shadow:
            0 12px 26px rgba(91, 33, 182, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .header__cart-btn {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 4;
        align-self: center;
        justify-self: end;
        margin: 0;
        min-height: 53px;
        padding: 0 22px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border-radius: 999px;
        border: 1px solid rgba(178, 145, 255, 0.22);
        color: rgba(245, 241, 255, 0.9);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
            rgba(18, 12, 32, 0.7);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .header__cart-btn::before {
        content: "";
        width: 19px;
        height: 19px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 3px 3px 5px 5px;
        box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.08);
    }

    .header__cart-btn::after {
        content: "";
        position: absolute;
        top: 11px;
        left: 22px;
        width: 8px;
        height: 6px;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
        opacity: 0.9;
    }

    .header__cart-btn:hover {
        color: white;
        border-color: rgba(158, 234, 244, 0.42);
        background:
            linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.12)),
            rgba(18, 12, 32, 0.86);
        transform: translateY(-1px);
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.24),
            0 0 0 1px rgba(158, 234, 244, 0.08);
    }
}

.header__menu-btn {
    display: none;
}

/* Mobile header v2: compact first screen */
@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .header {
        position: relative;
        z-index: 900;
        background:
            linear-gradient(180deg, rgba(9, 5, 17, 0.98), rgba(8, 5, 14, 0.96)),
            var(--tech-header);
        border-bottom: 1px solid rgba(178, 145, 255, 0.16);
        box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
    }

    .header__inner {
        width: min(100% - 28px, 680px);
        max-width: 680px;
        min-height: 78px;
        margin: 0 auto;
        padding: 10px 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 10px 10px;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .header__brand {
        display: contents;
    }

    .header__logo-frame {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        height: auto;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .logo {
        display: block;
        width: clamp(92px, 28vw, 122px);
        max-width: none;
        max-height: none;
        height: auto;
        filter:
            drop-shadow(0 0 12px rgba(139, 92, 246, 0.44))
            drop-shadow(0 0 18px rgba(236, 72, 153, 0.16));
    }

    .header__cart-btn {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width: auto;
        min-height: 42px;
        margin: 0;
        padding: 0 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 999px;
        border: 1px solid rgba(178, 145, 255, 0.22);
        color: rgba(245, 241, 255, 0.92);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
            rgba(18, 12, 32, 0.72);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.3px;
    }

    .header__cart-btn::before {
        content: "";
        width: 15px;
        height: 15px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 3px 3px 5px 5px;
    }

    .header__cart-btn::after {
        content: "";
        position: absolute;
        top: 10px;
        left: 18px;
        width: 7px;
        height: 6px;
        border: 2px solid currentColor;
        border-bottom: 0;
        border-radius: 8px 8px 0 0;
    }

    .header__menu-btn {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        display: inline-flex;
        width: 42px;
        height: 42px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(178, 145, 255, 0.22);
        border-radius: 999px;
        color: rgba(245, 241, 255, 0.92);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
            rgba(18, 12, 32, 0.72);
        cursor: pointer;
        transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
    }

    .header__menu-btn:hover {
        border-color: rgba(158, 234, 244, 0.42);
        background:
            linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.12)),
            rgba(18, 12, 32, 0.86);
    }

    .header__menu-line {
        width: 17px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .header--menu-open .header__menu-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header--menu-open .header__menu-line:nth-child(2) {
        opacity: 0;
    }

    .header--menu-open .header__menu-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header__copy {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        transform: none;
        transition: max-height 240ms ease, opacity 180ms ease, padding-top 180ms ease;
    }

    .header--menu-open .header__copy {
        max-height: 430px;
        padding-top: 4px;
        opacity: 1;
    }

    .header__intro {
        margin-bottom: 12px;
        padding: 2px 0 4px;
    }

    .header__brand-name {
        font-size: 28px;
    }

    .header__brand-text {
        max-width: 100%;
        font-size: 13px;
    }

    .nav {
        width: 100%;
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .nav__link,
    .nav__telegram-btn {
        min-height: 44px;
        width: 100%;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.85px;
        line-height: 1;
        text-decoration: none;
    }

    .nav__link {
        color: rgba(245, 241, 255, 0.8);
        border: 1px solid rgba(178, 145, 255, 0.18);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)),
            rgba(18, 12, 32, 0.66);
        box-shadow: none;
    }

    .nav__link::before {
        content: none;
    }

    .nav__link::after {
        content: none;
    }

    .nav__telegram-btn {
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 10px 24px rgba(91, 33, 182, 0.26);
    }

    .computers {
        padding-top: 26px;
    }

    .computers__title {
        max-width: 100%;
        margin: 0 auto 24px;
        padding: 0 14px;
        font-size: clamp(34px, 9.8vw, 44px);
        line-height: 1.04;
        white-space: normal;
        overflow-wrap: normal;
    }
}

@media (max-width: 420px) {
    .header__inner {
        width: min(100% - 20px, 680px);
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }

    .logo {
        width: clamp(88px, 27vw, 108px);
    }

    .header__cart-btn {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        min-height: 40px;
        padding: 0;
        gap: 0;
        font-size: 0;
    }

    .header__cart-btn::after {
        top: 9px;
        left: 16px;
    }

    .header__cart-count {
        position: absolute;
        top: -6px;
        right: -5px;
        margin: 0;
        min-width: 0;
        height: auto;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        line-height: 1;
    }

    .header__menu-btn {
        width: 40px;
        height: 40px;
    }

    .nav {
        grid-template-columns: 1fr;
    }

    .computers__title {
        max-width: 330px;
        font-size: clamp(30px, 8.3vw, 36px);
    }
}

@media (max-width: 560px) {
    .header__inner {
        position: relative;
        display: block;
        min-height: 78px;
        padding: 10px 0;
    }

    .header__brand {
        display: block;
        width: 100%;
    }

    .header__logo-frame {
        display: block;
        width: fit-content;
    }

    .header__cart-btn {
        position: absolute;
        top: 36px;
        right: 50px;
        transform: none;
    }

    .header__menu-btn {
        position: absolute;
        top: 36px;
        right: 0;
    }

    .header__copy {
        margin-top: 8px;
    }
}

/* Stable cart icon: single mask, no detached handle */
.header__cart-btn::before {
    content: "";
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: currentColor;
    box-shadow: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.35'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%207h12l-1%2014H7L6%207Z'/%3E%3Cpath%20d='M9%207a3%203%200%200%201%206%200'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='2.35'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M6%207h12l-1%2014H7L6%207Z'/%3E%3Cpath%20d='M9%207a3%203%200%200%201%206%200'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header__cart-btn::after {
    content: none;
}

@media (min-width: 901px) {
    .header__cart-btn::before {
        width: 22px;
        height: 22px;
    }
}

.header__cart-btn--has-items {
    animation: cartAttention 2.6s ease-in-out 3;
}

@media (prefers-reduced-motion: reduce) {
    .header__cart-btn--has-items {
        animation: none;
    }
}

@keyframes cartAttention {
    0%,
    100% {
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
        transform: translateY(0);
    }

    45% {
        box-shadow:
            0 14px 32px rgba(139, 92, 246, 0.34),
            0 0 0 1px rgba(158, 234, 244, 0.18);
        transform: translateY(-1px);
    }
}

/* Footer v2: store closeout */
.footer {
    padding: 0;
    background:
        radial-gradient(circle at 14% 0%, rgba(139, 92, 246, 0.16), transparent 30rem),
        linear-gradient(180deg, rgba(13, 8, 24, 0.96), rgba(7, 6, 13, 1));
    border-top: 1px solid rgba(178, 145, 255, 0.18);
}

.footer__inner {
    width: min(100% - 48px, 1360px);
    max-width: 1360px;
    margin: 0 auto;
    padding: 42px 0 24px;
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.7fr) minmax(260px, 0.9fr);
    gap: 34px;
    align-items: start;
}

.footer__brand {
    min-width: 0;
}

.footer__brand-name {
    margin: 0 0 12px;
    color: var(--tech-text);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 0 26px rgba(139, 92, 246, 0.32);
}

.footer__brand-text {
    max-width: 520px;
    margin: 0;
    color: rgba(245, 241, 255, 0.68);
    font-size: 15px;
    line-height: 1.55;
}

.footer__nav {
    display: grid;
    gap: 10px;
}

.footer__link {
    width: fit-content;
    color: rgba(245, 241, 255, 0.74);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 180ms ease, transform 180ms ease;
}

.footer__link:hover {
    color: var(--tech-accent-cold);
    transform: translateX(3px);
}

.footer__contacts {
    justify-self: end;
    min-width: min(100%, 430px);
}

.footer__contacts-title {
    margin: 0 0 14px;
    color: var(--tech-text);
    font-size: 14.3px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer__phone {
    color: rgba(245, 241, 255, 0.78);
    font: inherit;
    letter-spacing: 0.2px;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
}

.footer__phone:hover {
    color: var(--tech-accent-cold);
}

.footer__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.footer__contact-btn {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(178, 145, 255, 0.22);
    border-radius: 999px;
    color: rgba(245, 241, 255, 0.88);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
        rgba(18, 12, 32, 0.72);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer__contact-btn:hover {
    color: white;
    border-color: rgba(158, 234, 244, 0.38);
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.12), rgba(139, 92, 246, 0.12)),
        rgba(18, 12, 32, 0.86);
    transform: translateY(-1px);
}

.footer__contact-btn--primary {
    min-width: 116px;
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.18), transparent 42%),
        linear-gradient(135deg, var(--tech-accent), var(--tech-accent-deep));
    color: white;
    box-shadow: 0 12px 26px rgba(91, 33, 182, 0.26);
}

.footer__contact-btn--avito,
.footer__contact-btn--vk {
    min-width: 116px;
    gap: 10px;
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(135deg, rgba(158, 234, 244, 0.18), transparent 42%),
        linear-gradient(135deg, var(--tech-accent), var(--tech-accent-deep));
    color: white;
    box-shadow: 0 12px 26px rgba(91, 33, 182, 0.26);
}

.footer__contact-avito-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer__bottom {
    grid-column: 1 / -1;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(178, 145, 255, 0.14);
}

.footer__info {
    grid-column: auto;
    justify-self: auto;
    margin: 0;
    color: rgba(245, 241, 255, 0.52);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-align: left;
}

.legal-buttons {
    grid-column: auto;
    justify-self: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.legal-buttons__btn {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(178, 145, 255, 0.18);
    border-radius: 999px;
    color: rgba(245, 241, 255, 0.62);
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.4px;
}

.legal-buttons__btn:hover {
    color: var(--tech-text);
    border-color: rgba(158, 234, 244, 0.34);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
    box-shadow: none;
}

@media (max-width: 820px) {
    .footer__inner {
        width: min(100% - 28px, 680px);
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 0 22px;
    }

    .footer__contacts {
        justify-self: stretch;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer__brand-name {
        font-size: 32px;
    }

    .footer__actions,
    .legal-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer__contact-btn,
    .legal-buttons__btn {
        width: 100%;
    }
}

/* Product cards v2: consistent action alignment */
.computers {
    background:
        linear-gradient(180deg, rgba(7, 6, 13, 0.18), rgba(7, 6, 13, 0.38)),
        url("../img/BG2.jpg") center/cover no-repeat;
}

.computers::before {
    background: rgba(7, 6, 13, 0.24);
}

.computers__inner {
    width: min(96%, 1480px);
    max-width: 1480px;
}

.computers__title {
    margin: 0 auto 34px;
    padding: 0 14px;
    color: var(--tech-text);
    font-size: clamp(40px, 4.8vw, 72px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
    text-shadow: 0 0 34px rgba(139, 92, 246, 0.28);
}

.computers__grid {
    display: grid;
    align-items: stretch;
    gap: clamp(22px, 2.2vw, 34px);
}

@media (min-width: 1200px) {
    .computers__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 640px) and (max-width: 1199px) {
    .computers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.computer-card {
    position: relative;
    isolation: isolate;
    --computer-card-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(158, 234, 244, 0.035)),
        rgba(18, 12, 32, 0.84);
    height: 100%;
    min-height: 0;
    padding: clamp(20px, 1.8vw, 28px);
    display: grid;
    grid-template-rows: auto auto minmax(138px, auto) auto auto;
    align-content: stretch;
    gap: 16px;
    overflow: hidden;
    background: var(--computer-card-bg);
    border: 1px solid rgba(178, 145, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.computer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 12% 8%, rgba(236, 72, 153, 0.14), transparent 18rem),
        linear-gradient(100deg, transparent 0%, rgba(158, 234, 244, 0.06) 48%, transparent 70%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.computer-card:hover {
    border-color: rgba(158, 234, 244, 0.34);
    --computer-card-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(158, 234, 244, 0.055)),
        rgba(18, 12, 32, 0.92);
    background: var(--computer-card-bg);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(158, 234, 244, 0.08);
}

.computer-card:hover::before {
    opacity: 1;
}

.computer-card__image {
    width: 100%;
    height: clamp(280px, 22vw, 340px);
    aspect-ratio: 16 / 11;
    object-fit: contain;
    border-radius: 9px;
    background: var(--computer-card-bg);
}

.computer-card__title {
    margin: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-text);
    font-size: clamp(20px, 1.4vw, 24px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 1px;
}

.computer-card__summary {
    min-height: 138px;
    align-self: stretch;
    display: grid;
    grid-template-columns: max-content minmax(0, max-content);
    grid-auto-rows: minmax(22px, auto);
    align-content: start;
    justify-content: center;
    column-gap: 12px;
    row-gap: 8px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(245, 241, 255, 0.82);
    font-size: 14px;
    font-family: inherit;
    font-weight: 760;
    line-height: 1.3;
}

.computer-card__summary dt,
.computer-card__summary dd {
    min-width: 0;
}

.computer-card__summary dt {
    color: rgba(245, 241, 255, 0.62);
    font-weight: 860;
    text-align: right;
    white-space: nowrap;
}

.computer-card__summary dd {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    text-overflow: ellipsis;
    color: rgba(245, 241, 255, 0.9);
    font-weight: 780;
    letter-spacing: 0.1px;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.computer-card__price {
    margin: 0;
    align-self: end;
    min-height: 34px;
    color: var(--tech-accent-cold);
    font-size: clamp(22px, 1.6vw, 26px);
    font-weight: 850;
    line-height: 1.1;
    text-align: center;
}

.computer-card__add-cart {
    align-self: end;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 850;
    cursor: pointer;
}

@media (max-width: 639px) {
    .computers__inner {
        width: min(100% - 18px, 520px);
    }

    .computers__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .computer-card {
        grid-template-rows: auto auto auto auto auto;
        padding: 20px;
        gap: 15px;
    }

    .computer-card__image {
        height: auto;
        max-height: none;
    }

    .computer-card__summary {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-content: stretch;
        row-gap: 3px;
        font-size: 14px;
    }

    .computer-card__summary dt {
        text-align: left;
        white-space: normal;
    }

    .computer-card__summary dd {
        margin-bottom: 8px;
        white-space: normal;
        overflow: visible;
        text-align: left;
        text-overflow: clip;
    }
}

@media (max-width: 560px) {
    .header__cart-btn {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        min-height: 40px;
        padding: 0;
        gap: 0;
        font-size: 0;
    }

    .header__cart-btn::after {
        top: 9px;
        left: 16px;
    }

    .header__cart-count {
        position: absolute;
        top: -6px;
        right: -5px;
        margin: 0;
        min-width: 0;
        height: auto;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        line-height: 1;
    }

    .computers__title {
        max-width: 330px;
        font-size: clamp(30px, 8.3vw, 36px);
    }
}
