:root {
    --df-max: 1240px;
    --df-bg: #ffffff;
    --df-ink: #0b0f14;
    --df-ink-dim: #5c6b79;
    --df-line: #e8edf3;
    --df-brand: #111418;
    --df-cart: #18191a;
    --ft-max: 1240px;
    --ft-bg: #ffffff;
    --ft-ink: #0b0f14;
    --ft-ink-dim: #5c6b79;
    --ft-line: #e8edf3;
    --pc-max: 1260px;
    --pc-gap: 18px;
    --ord-bg: rgba(3, 16, 38, .55);
    --ord-card: #fff;
    --ord-line: #e7eef6;
    --ord-accent: #1677ff;
    --ord-ink: #0b0f14;
    --pc-card-bg: #fff;
    --pc-ink: #0b0f14;
    --pc-ink-dim: #6a7786;
    --pc-line: #e8edf3;

    --pc-accent: #1677ff;
    --pc-sale: #ff4d4f;
    --pc-hit: #2ecc71;
    --pc-shadow: 0 8px 24px rgba(18, 34, 58, .08);
    --pc-radius: 16px;
    --ft-muted: #f7f9fb;
    --ft-accent: #262729;

    --ft-radius: 14px;
    --df-grad-1: linear-gradient(135deg, #1de5ff 0%, #4b5dff 100%);
    --df-grad-2: linear-gradient(135deg, #7b8cff 0%, #7e2fff 100%);
    --df-grad-3: linear-gradient(135deg, #7a30ff 0%, #ff0fa0 100%);

    --df-radius: 14px;
    --df-gap: 18px;

    --df-dim: rgba(14, 18, 26, .58);
    --df-z: 1100;
}

* {
    box-sizing: border-box
}

a {
    color: inherit;
    text-decoration: none;
}

html,
body {
    height: 100%;
    margin: 0;
    background: #fff;
    color: var(--df-ink);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif
}

/* ======= HEADER ======= */
.df-header {
    border-bottom: 1px solid var(--df-line);
    background: var(--df-bg)
}

.df-header__wrap {
    max-width: var(--df-max);
    margin: 0 auto;
    padding: 0 16px
}

.df-top {
    background: #0b0f14;
    color: #dfe7ef;
    font-size: 13px
}

.df-top__in {
    max-width: var(--df-max);
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between
}

.df-top__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.df-top__links a {
    color: #dfe7ef;
    text-decoration: none
}

.df-top__social {
    display: flex;
    gap: 10px
}

.df-top__social a {
    color: #dfe7ef
}

.df-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 0px 0
}

.df-phone {
    display: flex;
    gap: 10px;
    align-items: center
}

.df-phone i {
    color: #1f8bff
}

.df-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase
}

.df-logo__duty {
    font-size: 28px;
    color: #ea2f2f
}

.df-logo__duty img {
    width: auto;
    max-height: 100px;
    object-fit: cover;
}

.df-logo__free {
    font-size: 28px;
    color: #111418
}

.df-cart {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end
}

.df-cart__ico {
    position: relative;
    width: 60px;
    height: 46px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    /* border: 1px solid var(--df-line); */
}

i.fa-solid.fa-cart-shopping {
    font-size: 36px;
}

.df-cart__count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #5887b7;
    color: #fff;
    font-size: 12px;
    display: grid;
    place-items: center
}

.df-cart__text {
    font-weight: 800
}

/* NAV BAR */
.df-nav {
    border-top: 1px solid var(--df-line);
    border-bottom: 1px solid var(--df-line)
}

.df-nav__container {
    max-width: var(--df-max);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.df-nav__in {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    overflow: auto hidden;
    scrollbar-width: none
}

.df-nav__in::-webkit-scrollbar {
    display: none
}

.df-nav__link {
    white-space: nowrap;
    color: var(--df-ink);
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
}

/* .df-nav__search {
    margin-left: auto
} */

/* ======= BURGER ======= */
.df-burger {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--df-line);
    border-radius: 10px;

    place-items: center;
    color: var(--df-ink);
    background: #fff;
}

@media screen and (max-width: 768px) {
    .df-burger {
        display: grid;
    }
}

.df-burger i {
    font-size: 18px
}

/* Drawer */
.df-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--df-z);
    visibility: hidden;
    pointer-events: none
}

.df-drawer__mask {
    position: absolute;
    inset: 0;
    background: var(--df-dim);
    opacity: 0;
    transition: opacity .2s ease
}

.df-drawer__panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(86vw, 340px);
    background: #fff;
    border-right: 1px solid var(--df-line);
    transform: translateX(-100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
}

.df-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-bottom: 1px solid var(--df-line)
}

.df-drawer__title {
    font-weight: 900
}

.df-drawer__close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--df-line);
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #fff
}

.df-drawer__nav {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.df-drawer__nav a {
    color: var(--df-ink);
    text-decoration: none;
    font-weight: 800
}

.df-drawer__sub {
    margin-top: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--df-line);
    color: var(--df-ink-dim);
    display: flex;
    flex-direction: column;
    gap: 10px
}

.df-drawer__social {
    display: flex;
    gap: 12px;
    font-size: 18px
}

.df-drawer.is-open {
    visibility: visible;
    pointer-events: auto
}

.df-drawer.is-open .df-drawer__mask {
    opacity: 1
}

.df-drawer.is-open .df-drawer__panel {
    transform: translateX(0)
}

/* ======= BENEFITS ======= */
.df-benefits {
    padding: 28px 0 48px;
    background: #fafbfc
}

.df-benefits__wrap {
    max-width: var(--df-max);
    margin: 0 auto;
    padding: 0 16px
}

.df-benefits__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
    justify-items: center;
    text-align: center
}

.df-bitem {
    max-width: 210px
}

.df-bitem__icon img {
    height: 80px;
    width: 80px;
    object-fit: cover;
}

/* 
.df-bitem__icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 28px;
    background: var(--df-grad-1);
    box-shadow: 0 14px 34px rgba(20, 25, 40, .18), inset 0 0 0 1px rgba(255, 255, 255, .08)
} */

/* .df-bitem__icon--alt {
    background: var(--df-grad-2)
}

.df-bitem__icon--violet {
    background: var(--df-grad-3)
} */

.df-bitem__title {
    margin: 10px 0 0;
    font-weight: 800
}

/* ======= RESPONSIVE ======= */
@media (max-width:1080px) {
    .df-benefits__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:900px) {
    .df-burger {
        display: grid
    }

    .df-nav__in {
        display: none
    }
}

@media (max-width:720px) {
    .df-top__links {
        display: none
    }

    .df-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px
    }
}

@media (max-width:420px) {
    .df-benefits__grid {
        grid-template-columns: 1fr
    }
}

.df-no-scroll {
    overflow: hidden
}

.shop-about {
    background: var(--ft-bg);
    border-top: 1px solid var(--ft-line)
}

.shop-about__wrap {
    max-width: var(--ft-max);
    margin: 0 auto;
    padding: 34px 16px
}

.shop-about__title {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 900;
    text-align: center
}

.shop-about__lead {
    max-width: 940px;
    margin: 0 auto;
    color: var(--ft-ink-dim);
    line-height: 1.65;
    font-size: 16px;
}

/* ======================= FOOTER ======================= */
.s-footer {
    border-top: 1px solid var(--ft-line);
    background: #f7f7f7;
}

.s-footer__wrap {
    max-width: var(--ft-max);
    margin: 0 auto;
    padding: 24px 16px
}

.s-footer__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 280px 1fr 1fr 1fr;
    align-items: start
}

/* left block (logo + copy) */
.s-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.s-footer__logo {
    width: 110px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ft-line);
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: .06em
}

.s-footer__copy {
    font-size: 13px;
    color: var(--ft-ink-dim)
}

.s-footer__mobile {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--ft-ink-dim);
    font-size: 14px
}

.s-footer__mobile i {
    color: var(--ft-accent)
}

/* column blocks */
.s-col__title {
    font-weight: 900;
    margin-bottom: 10px
}

.s-col__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ft-ink-dim)
}

.s-col__list a:hover {
    color: var(--ft-ink)
}

.s-col__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ft-ink-dim)
}

.s-col__row {
    display: flex;
    gap: 10px;
    align-items: center
}

.s-col__row i {
    color: var(--ft-accent)
}

/* bottom social row */
.s-footer__bottom {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px
}

.s-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--ft-line);
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--ft-ink)
}

.s-social a:hover {
    border-color: var(--ft-accent);
    color: var(--ft-accent)
}

/* ======================= RESPONSIVE ======================= */
@media (max-width:1080px) {
    .s-footer__grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:720px) {
    .s-footer__grid {
        grid-template-columns: 1fr
    }

    .s-footer__brand {
        order: 2
    }
}

.shop-about {
    background: var(--ft-bg);
    border-top: 1px solid var(--ft-line)
}

.shop-about__wrap {
    max-width: var(--ft-max);
    margin: 0 auto;
    padding: 34px 16px
}

.shop-about__title {
    margin: 0 0 14px;
    font-size: 26px;
    font-weight: 900;
    text-align: center
}

.shop-about__lead {
    max-width: 940px;
    margin: 0 auto;
    color: var(--ft-ink-dim);
    line-height: 1.65;
    font-size: 16px;
}

/* ======================= FOOTER ======================= */
.s-footer {
    border-top: 1px solid var(--ft-line);
    background: #f7f7f7;
}

.s-footer__wrap {
    max-width: var(--ft-max);
    margin: 0 auto;
    padding: 24px 16px
}

.s-footer__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 280px 1fr 1fr 1fr;
    align-items: start
}

/* left block (logo + copy) */
.s-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.s-footer__logo {
    width: 110px;
    height: 80px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ft-line);
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: .06em
}

.s-footer__copy {
    font-size: 13px;
    color: var(--ft-ink-dim)
}

.s-footer__mobile {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--ft-ink-dim);
    font-size: 14px
}

.s-footer__mobile i {
    color: var(--ft-accent)
}

/* column blocks */
.s-col__title {
    font-weight: 900;
    margin-bottom: 10px
}

.s-col__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ft-ink-dim)
}

.s-col__list a:hover {
    color: var(--ft-ink)
}

.s-col__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ft-ink-dim)
}

.s-col__row {
    display: flex;
    gap: 10px;
    align-items: center
}

.s-col__row i {
    color: var(--ft-accent)
}

/* bottom social row */
.s-footer__bottom {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin-top: 29px;
    flex-direction: column;
}

.s-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--ft-line);
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--ft-ink)
}

.s-social a:hover {
    border-color: var(--ft-accent);
    color: var(--ft-accent)
}

/* ======================= RESPONSIVE ======================= */
@media (max-width:1080px) {
    .s-footer__grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:720px) {
    .s-footer__grid {
        grid-template-columns: 1fr
    }

    .s-footer__brand {
        order: 2
    }
}

.s-social {
    display: flex;
}

.pc {
    max-width: var(--pc-max);
    margin: 32px auto;
    padding: 0 16px
}

.pc__grid {
    display: grid;
    gap: var(--pc-gap);
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width:1100px) {
    .pc__grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width:820px) {
    .pc__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:520px) {
    .pc__grid {
        grid-template-columns: 1fr
    }
}

/* картка */
.p-card {

    overflow: hidden;
    display: flex;
    flex-direction: column
}

.p-card:hover {
    background: var(--pc-card-bg);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
}

.p-card__media {
    position: relative;
    padding: 18px 18px 0
}

.p-card__img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    display: block;
    mix-blend: multiply
}

/* бейджі */
.p-card__badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px
}

.p-card__badge {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    padding: 4px 8px;
    border-radius: 0px;
    letter-spacing: .02em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12)
}

.p-card__badge--sale {
    background: var(--pc-sale)
}

.p-card__badge--hit {
    background: var(--pc-hit)
}

.p-card__badge--pct {
    background: #ff8514
}

.p-card__body {
    padding: 14px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.p-card__title {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    text-align: center;
}

.p-card__price {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.p-card__new {
    font-size: 24px;
    font-weight: 900
}

.p-card__new span {
    font-size: 14px;
    font-weight: 800;
    color: var(--pc-ink-dim)
}

.p-card__old {
    color: var(--pc-ink-dim);
    text-decoration: line-through
}

.p-card__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    height: 42px;
    width: fit-content;
    border-radius: 0px;
    background: var(--pc-accent);
    color: #fff;
    font-weight: 800;
    margin: auto;
    border: none;
    cursor: pointer;
}

.p-card__btn:hover {
    filter: saturate(1.1) brightness(.98)
}

.p-card__actions {
    display: flex;
    gap: 18px;
    color: var(--pc-ink-dim);
    font-size: 14px
}

.p-card__actions i {
    color: var(--pc-ink)
}

.p-card__toggle {
    margin: auto;
    color: #303030;
    font-weight: 400;
    cursor: pointer;
    cursor: pointer;
}

.p-card__toggle{
    /* position: absolute; */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    z-index: 1;
    background: url(../assets/img/b2_arr.png) bottom center no-repeat;
    height: 40px;
    position: relative;
}
.p-card__desc {
    margin: 0 18px 16px;
    padding: 0;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    color: #858585;
    line-height: 1.55;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.p-card.is-open .p-card__desc {
    max-height: 220px
}

.order {
    position: fixed;
    inset: 0;
    background: var(--ord-bg);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 24px
}

.order.is-open {
    display: flex
}

.order__box {
    background: var(--ord-card);
    max-width: 920px;
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    overflow: hidden
}

.order__hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ord-line);
    font-weight: 800
}

.order__close {
    border: none;
    background: #f3f6fb;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px
}

.order__inner {
    padding: 16px 22px 22px
}

.order__row {
    display: grid;
    grid-template-columns: 96px 1fr auto 140px;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--ord-line);
    border-radius: 14px;
    padding: 12px 14px
}

.order__img {
    width: 96px;
    height: 96px;
    object-fit: contain
}

.order__name {
    font-weight: 800
}

.order__old {
    color: #8491a1;
    text-decoration: line-through;
    margin-right: 8px
}

.order__price {
    font-weight: 900
}

.order__total {
    font-weight: 900;
    font-size: 20px;
    justify-self: end
}

.qty {
    display: inline-grid;
    grid-template-columns: 40px 48px 40px;
    align-items: center;
    border: 1px solid var(--ord-line);
    border-radius: 12px;
    height: 44px
}

.qty__btn {
    border: none;
    background: #f6f8fc;
    height: 100%;
    cursor: pointer;
    font-size: 20px
}

.qty__input {
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    width: 48px;
    background: #fff
}

.order__form {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px
}

.order__input {
    height: 48px;
    border: 1px solid var(--ord-line);
    border-radius: 12px;
    padding: 0 14px;
    font-size: 16px
}

.order__submit {
    background: var(--ord-accent);
    color: #fff;
    border: none;
    border-radius: 12px;
    height: 48px;
    font-weight: 800;
    padding: 0 26px;
    cursor: pointer
}

@media (max-width:780px) {
    .order__row {
        grid-template-columns: 72px 1fr;
        grid-template-areas:
            "img name"
            "img prices"
            "qty qty"
            "total total";
        gap: 8px
    }

    .order__img {
        grid-area: img
    }

    .order__name {
        grid-area: name
    }

    .order__prices {
        grid-area: prices
    }

    .qty {
        grid-area: qty;
        justify-self: start
    }

    .order__total {
        grid-area: total;
        justify-self: start
    }

    .order__form {
        grid-template-columns: 1fr;
        gap: 10px
    }
}

.no-scroll {
    overflow: hidden
}
.pc h2

 {
    text-align: center;
    font-size: 36px;
    margin: 30px 0 70px;
}
@media screen and (max-width: 768px) {
    .df-bar {
        display: flex
    ;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 14px;
        padding: 0px 0;
    } 
    .pc h2

 {
    text-align: center;
    font-size: 24px;
    margin: 20px 0 50px;
}
}
