/* ==========================================================================
   Media queries
   ========================================================================== */
/* Load after style.css. Blocks stay in original cascade order. */

/* ==========================================================================
   Hero
   ========================================================================== */

@media (max-width: 700px) {
  .hero {
    padding: 12px 0 0;
  }

  .hero-slider {
    border-radius: 18px;
  }

  .hero-slider__slide {
    aspect-ratio: 3 / 4;
    max-height: min(68vh, 520px);
  }

  .hero-slider__slide img {
    object-fit: cover;
    object-position: 72% center;
  }

  .hero-slider__copy {
    inset: auto 0 0 0;
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
    padding: 40px 16px 36px;
    padding-left: 16px;
    background: linear-gradient(180deg,
        rgba(246, 243, 234, 0) 0%,
        rgba(246, 243, 234, .55) 28%,
        rgba(246, 243, 234, .96) 100%);
  }

  .hero-slider__brand {
    font-size: clamp(24px, 7.5vw, 32px);
  }

  .hero-slider__copy h1,
  .hero-slider__copy .hero-slider__title {
    font-size: clamp(17px, 4.8vw, 20px);
  }

  .hero-slider__copy h1 br,
  .hero-slider__copy .hero-slider__title br {
    display: none;
  }

  .hero-slider__lead {
    font-size: var(--fs-14);
    max-width: 28ch;
  }

  .hero-slider__copy .btn {
    height: 40px;
    padding: 0 16px;
    font-size: var(--fs-14);
  }

  .hero-slider__prev,
  .hero-slider__next {
    display: none;
  }

  .hero-slider__pagination {
    bottom: 12px !important;
  }
}

/* ==========================================================================
   Category wall
   ========================================================================== */

@media (max-width: 900px) {
  .cats {
    padding: var(--section-y) 0 0;
  }

  .cats__head {
    padding-inline: 0;
  }

  .cats__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 12px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    width: 100%;
    max-width: none;
  }

  .cat,
  .cat--wide,
  .cat--tall {
    flex: none;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    height: clamp(180px, 52vw, 240px);
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .cat__name {
    font-size: var(--fs-12);
    left: 14px;
    bottom: 14px;
  }

  .cat__go {
    width: 32px;
    height: 32px;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
  }
}

/* ==========================================================================
   Advantages
   ========================================================================== */

@media (max-width: 900px) {
  .perks {
    padding: var(--section-y) 0 0;
  }

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

@media (max-width: 560px) {
  .perks__grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .perk {
    padding: 18px 16px;
  }

  .perk__body p {
    max-width: none;
  }
}

/* ==========================================================================
   Certificates
   ========================================================================== */

@media (max-width: 900px) {
  .certs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 760px) {
  .certs {
    padding: 36px 0;
  }

  .certs__head {
    margin-bottom: 20px;
  }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

@media (min-width: 900px) {
  .faq__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
  }

  .faq__q {
    min-height: 60px;
    padding: 16px 18px 16px 20px;
    font-size: 16px;
  }
}

@media (max-width: 899px) {
  .faq {
    padding: 36px 0;
  }
}

/* ==========================================================================
   Category page
   ========================================================================== */

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

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .catalog--search .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog {
    padding: 16px 0 40px;
  }

  .cat-subs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .cat-subs::-webkit-scrollbar {
    display: none;
  }

  .cat-toolbar__cats {
    display: inline-flex;
  }

  .cat-toolbar__count {
    display: none;
  }

  .cat-toolbar__sort {
    margin-left: 0;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }

  .cat-layout {
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .cat-nav {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 85;
    width: min(100%, 360px);
    height: 100%;
    margin: 0;
    padding: max(10px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom));
    background: var(--paper);
    border: 0;
    border-radius: 0;
    box-shadow: 16px 0 40px rgba(42, 44, 34, .16);
    overflow-y: auto;
    transform: translate3d(-104%, 0, 0);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .cat-nav.is-open {
    transform: none;
  }

  .cat-nav__head {
    display: flex;
  }

  .cat-nav__close {
    display: grid;
  }

  .cat-nav__label {
    display: none;
  }

  .cat-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 84;
    background: rgba(42, 44, 34, .4);
  }

  .cat-nav-backdrop[hidden] {
    display: none;
  }

  body.is-cat-nav-open {
    overflow: hidden;
  }

  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog--search .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cat-toolbar {
    gap: 8px;
  }
}

/* ==========================================================================
   Product page
   ========================================================================== */

@media (max-width: 600px) {
  .reviews-form__grid {
    grid-template-columns: 1fr;
  }

  .product__reviews-actions {
    width: 100%;
  }

  .product__reviews-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .product__main {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 22px;
  }

  .product__gallery {
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .product {
    padding: 16px 0 40px;
  }

  .breadcrumbs {
    flex-wrap: nowrap;
    gap: 6px;
    margin-inline: calc(50% - 50vw);
    margin-bottom: 14px;
    padding-inline: max(var(--gutter), calc(50vw - 50%));
    width: 100vw;
    max-width: 100vw;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

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

  .product__gallery {
    max-width: 360px;
    margin: 0 auto;
  }

  .product__card {
    padding: 7px;
    border-radius: 18px;
  }

  .product__oneclick-form {
    grid-template-columns: 1fr;
  }

  .product__section {
    padding: 16px;
    border-radius: 18px;
    scroll-margin-top: 72px;
  }
}

@media (max-width: 600px) {
  .product__actions {
    flex-wrap: wrap;
  }

  .product__qty {
    margin-left: auto;
  }

  .product__cart {
    flex: 1 1 100%;
  }

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

  .product__perk {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product__perk:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .product__perk:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__col--contacts {
    grid-column: auto;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */

@media (max-width: 1100px) {
  .header__phones .header__link:last-child {
    display: none;
  }

  .header__phone span {
    display: none;
  }
}

@media (max-width: 900px) {

  /* compact section spacing on tablet/mobile */
  :root {
    --section-y: 36px;
    --gutter: 16px;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .header {
    z-index: 90;
  }

  .header__chrome {
    position: relative;
    z-index: 2;
    background: rgba(255, 254, 249, .88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .header__info {
    display: none;
  }

  .icon-btn.header__menu {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    border-radius: 12px;
    background: var(--olive);
    color: #fff;
    box-shadow: none;
  }

  .header__menu-ico {
    display: block;
    width: 18px;
    height: 12px;
    opacity: 1;
  }

  .header__menu-ico rect {
    fill: #fff;
  }

  #compareBtn,
  #cabinetBtn {
    display: none;
  }

  .header__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "menu logo tools";
    align-items: center;
    gap: 12px 14px;
    height: auto;
    width: min(var(--w), calc(100% - var(--gutter) * 2));
    padding: 12px 0 14px;
  }

  .header__top.is-search-open {
    grid-template-areas:
      "menu logo tools"
      "search search search";
  }

  .header__menu {
    grid-area: menu;
    justify-self: start;
  }

  .logo {
    grid-area: logo;
    justify-self: start;
  }

  .logo img {
    height: 40px;
  }

  .header__tools {
    grid-area: tools;
    justify-self: end;
    align-items: center;
    gap: 0;
    color: #7a7d70;
  }

  .header__actions {
    gap: 0;
    align-items: center;
  }

  .tool {
    min-width: 0;
    padding: 0 2px;
    border-left: 0 !important;
    color: #7a7d70;
  }

  .tool:hover,
  .tool.is-on,
  .tool[aria-pressed="true"] {
    color: var(--olive-d);
  }

  .tool__txt {
    display: none;
  }

  .tool__ico {
    width: 40px;
    height: 40px;
  }

  .tool__ico svg,
  .tool__ico i {
    height: auto;
    font-size: 18px;
    opacity: .88;
  }

  .tool__ico svg {
    height: 18px;
    stroke-width: 1.6;
  }

  .tool .badge {
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    line-height: 16px;
    font-size: 10px;
    background: var(--olive-m);
    color: var(--olive-d);
    opacity: .95;
  }

  .icon-btn.header__search-btn {
    display: grid;
    width: 40px;
    height: 40px;
    color: #7a7d70;
    order: -1;
  }

  .icon-btn.header__search-btn svg {
    opacity: .88;
  }

  .icon-btn.header__search-btn:hover {
    color: var(--olive-d);
    background: transparent;
  }

  .icon-btn.header__menu:hover,
  .icon-btn.header__menu[aria-expanded="true"] {
    color: #fff;
    background: var(--olive-d);
  }

  .icon-btn.header__search-btn.is-on,
  .icon-btn.header__search-btn[aria-expanded="true"] {
    color: var(--olive);
  }

  .dock {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 6px 4px max(6px, env(safe-area-inset-bottom));
    background: rgba(255, 254, 249, .96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(42, 44, 34, .08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #7a7d70;
  }

  .cart-sheet {
    justify-items: stretch;
  }

  .cart-sheet__box {
    width: 100%;
    max-width: 100%;
  }

  .cart-sheet__head,
  .cart-sheet__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-sheet__foot {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .dock__item:hover,
  .dock__item.is-on,
  .dock__item.is-active,
  .dock__item[aria-pressed="true"] {
    color: var(--olive-d);
  }

  .dock__item.is-active {
    color: var(--olive);
  }

  .dock__ico .badge {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    line-height: 16px;
    font-size: 10px;
    background: var(--olive-m);
    color: var(--olive-d);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .to-top {
    bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .search-pill {
    grid-area: search;
    display: none;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    height: 44px;
  }

  .header__top.is-search-open .search-pill {
    display: flex;
  }

  .header__nav {
    display: block;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100svh;
    height: 100dvh;
    border: 0;
    background: rgba(42, 44, 34, .4);
    z-index: 80;
    opacity: 0;
    transition: opacity .22s ease, visibility .22s;
  }

  .header__nav.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  .header__nav .nav-drawer {
    position: relative;
    z-index: 2;
    width: min(100%, 380px);
    height: 100%;
    max-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top);
    background: var(--paper);
    overflow: hidden;
    box-shadow: 16px 0 40px rgba(42, 44, 34, .18);
    border-radius: 0;
    transform: translate3d(-104%, 0, 0);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .header__nav.is-open .nav-drawer {
    transform: none;
  }

  .nav-drawer__scroll {
    display: block;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 16px max(24px, env(safe-area-inset-bottom));
  }

  .nav-drawer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    padding: 6px 16px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer__top-right {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
  }

  .nav-drawer__close {
    width: 36px;
    height: 36px;
    color: var(--ink);
  }

  .nav-drawer__top .info-login {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--ink);
  }

  .nav-drawer__top .info-login i {
    width: 16px;
    font-size: 16px;
    text-align: center;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav__item {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: auto;
    min-height: 52px;
    padding: 12px 10px 12px 14px;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--wash);
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
    box-shadow: 0 1px 0 rgba(42, 44, 34, .03);
  }

  .nav__item>i:first-child:not(.nav__chevron) {
    width: 1.15em;
    font-size: 16px;
    color: var(--olive);
    flex-shrink: 0;
  }

  .nav__item-txt {
    flex: 1 1 auto;
    text-align: left;
  }

  .nav__item:hover,
  .nav__item.is-hover,
  .drop:hover>.nav__item,
  .drop:focus-within>.nav__item {
    background: var(--wash);
  }

  .drop.is-open>.nav__item {
    background: var(--olive-m);
    border-color: rgba(124, 137, 44, .35);
    color: var(--olive-d);
  }

  .drop.is-open>.nav__item>i:first-child:not(.nav__chevron) {
    color: var(--olive-d);
  }

  .nav__sale.nav__item,
  .nav__item.nav__sale {
    color: var(--sale);
    border-color: rgba(214, 60, 50, .22);
    background: var(--sale-m);
  }

  .nav__chevron,
  .nav__item .fa-chevron-down {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--olive-d);
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(42, 44, 34, .08);
    transition: transform .2s ease, background .2s, color .2s;
  }

  .drop.is-open>.nav__item .nav__chevron,
  .drop.is-open>.nav__item .fa-chevron-down {
    transform: rotate(180deg);
    background: var(--olive);
    color: #fff;
  }

  .drop:hover>.menu,
  .drop:focus-within>.menu,
  .drop:hover>.menu--wide,
  .drop:focus-within>.menu--wide {
    display: none;
  }

  .drop.is-open>.menu,
  .drop.is-open>.menu--wide {
    display: grid;
    grid-template-columns: 1fr;
    position: static;
    min-width: 0;
    max-width: none;
    gap: 2px;
    margin: 2px 0 4px 8px;
    padding: 4px 0 4px 10px;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--olive-m);
    border-radius: 0;
    background: none;
  }

  .drop.is-open>.menu::before {
    display: none;
  }

  .drop.is-open .menu a {
    margin: 0;
    padding: 10px 12px;
    font-size: var(--fs-14);
    font-weight: 600;
    line-height: 1.3;
    border-radius: 10px;
    white-space: normal;
    color: var(--ink);
  }

  .drop.is-open .menu a:hover,
  .drop.is-open .menu a.is-on {
    background: var(--wash);
  }

  .drop.is-open .menu__all {
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: auto;
    width: auto;
    margin: 4px 0 0;
    padding: 10px 12px;
    border-top: 0;
    border-radius: 10px;
    font-size: var(--fs-14);
    font-weight: 700;
    color: var(--olive);
  }

  .drop.is-open .menu__all::before {
    content: "";
    width: 12px;
    height: 1px;
    background: var(--olive);
    flex-shrink: 0;
    opacity: .55;
  }

  .drop.is-open .menu__all:hover {
    background: var(--olive-m);
  }

  .nav-drawer__label {
    display: block;
    margin: 18px 0 10px;
    padding: 0;
    font-size: 11px;
    font-weight: 700;
    color: #9a978c;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .info-nav--drawer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    text-align: left;
  }

  .info-nav--drawer a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 10px 4px;
    border-radius: 12px;
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--ink);
    background: transparent;
    text-align: left;
  }

  .info-nav--drawer a:hover {
    background: var(--wash);
    color: var(--olive-d);
  }

  .nav-drawer__extra {
    display: block;
    padding-top: 8px;
  }

  .nav-drawer__contacts {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }

  .nav-drawer__contacts>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-radius: 0;
    font-size: var(--fs-14);
    font-weight: 600;
  }

  .nav-drawer__contacts>a:hover {
    background: none;
  }

  .nav-drawer__contacts>a i {
    width: 1em;
    text-align: center;
    color: var(--olive);
    font-size: 12px;
  }

  .nav-drawer__soc {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0 4px;
  }

  .nav-drawer__soc .header__soc {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

}

/* ==========================================================================
   Design system
   ========================================================================== */

@media (max-width: 900px) {

  .swatches,
  .cards,
  .fields {
    grid-template-columns: 1fr 1fr;
  }

}

/* ==========================================================================
   Home products
   ========================================================================== */

@media (max-width: 900px) {
  .products {
    padding: var(--section-y) 0 0;
  }

  .products .wrap {
    width: min(var(--w), calc(100% - var(--gutter) * 2));
  }

  .products__head {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .products__head h2 {
    font-size: var(--fs-20);
  }

  .pcard__name {
    min-height: 0;
    font-size: var(--fs-16);
  }

  .pcard__body {
    padding: 12px 10px 12px;
    gap: 8px;
  }

  .products-slider__prev,
  .products-slider__next {
    width: 36px;
    height: 36px;
  }

}

/* ==========================================================================
   SEO
   ========================================================================== */

@media (max-width: 900px) {
  .seo {
    padding: var(--section-y) 0;
  }

  .seo__content {
    font-size: var(--fs-14);
  }

  .seo__content h2 {
    font-size: var(--fs-20);
  }
}

/* ==========================================================================
   Design system
   ========================================================================== */

@media (max-width: 600px) {

  .swatches,
  .cards,
  .fields {
    grid-template-columns: 1fr;
  }

}

/* ==========================================================================
   Product cards
   ========================================================================== */

@media (max-width: 600px) {
  .products__head {
    margin-bottom: 12px;
  }

  .pcard {
    border-radius: 12px;
  }

  .pcard:hover,
  .pcard.is-hover {
    transform: none;
  }

  .pcard__badges {
    top: 6px;
    left: 6px;
    gap: 4px;
  }

  .pcard__tools {
    top: 6px;
    right: 6px;
    gap: 4px;
  }

  .pcard__eco {
    width: 28px;
    height: 28px;
    font-size: 8px;
  }

  .pcard__eco i {
    font-size: 10px;
  }

  .pcard__yt {
    width: 24px;
    height: 16px;
    border-radius: 4px;
  }

  .pcard__yt svg {
    width: 24px;
    height: 16px;
  }

  .pcard__new,
  .pcard__rec,
  .pcard__off {
    height: 20px;
    padding: 0 7px;
    font-size: 10px;
  }

  .pcard__tool {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .pcard__body {
    padding: 8px 8px 10px;
    gap: 5px;
  }

  .pcard__meta {
    font-size: 10px;
    gap: 4px;
  }

  .pcard__sku {
    display: none;
  }

  .pcard__stock {
    gap: 3px;
  }

  .pcard__name {
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pcard__buy {
    gap: 6px;
    flex-wrap: nowrap;
    align-items: flex-end;
  }

  .pcard__price {
    font-size: 13px;
  }

  .pcard__old {
    font-size: 10px;
  }

  .pcard__buy .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    flex-shrink: 0;
    font-size: 0;
    gap: 0;
  }

  .pcard__buy .btn .ico {
    width: 15px;
    height: 15px;
  }
}

/* ==========================================================================
   Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ==========================================================================
   Checkout
   ========================================================================== */

@media (max-width: 1100px) {
  .checkout__layout {
    grid-template-columns: 1fr;
  }

  .checkout__aside {
    position: static;
  }
}

@media (max-width: 760px) {
  .checkout {
    padding: 12px 0 40px;
  }

  .checkout__pair,
  .checkout__fields {
    grid-template-columns: 1fr;
  }

  .checkout__block {
    padding: 14px;
    border-radius: 12px;
  }

  .checkout__item-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
  }

  .checkout__item-qty {
    order: 1;
  }

  .checkout__item-price {
    order: 2;
    flex: 1 1 calc(100% - 120px);
    min-width: 120px;
  }

  .checkout__item-price-row {
    flex-wrap: wrap;
  }

  .checkout__item-price-now,
  .checkout__item-price-old,
  .checkout__item-price-save {
    white-space: normal;
  }
}

/* ==========================================================================
   Wishlist / Compare
   ========================================================================== */

@media (max-width: 600px) {
  .board {
    padding: 16px 0 40px;
  }

  .wish-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .wish-item__img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
  }

  .wish-item__name {
    font-size: var(--fs-14);
  }

  .wish-item__now {
    font-size: var(--fs-16);
  }

  .wish-item__cart {
    width: 100%;
    justify-content: center;
  }

  .wish-item__row {
    flex-direction: column;
    align-items: stretch;
  }

  .compare-table th {
    width: 120px;
    padding: 12px;
  }

  .compare-table td {
    padding: 12px;
  }

  .compare-table__media img {
    max-width: 110px;
  }

  .info-page {
    padding: 16px 0 40px;
  }

  .info-page__card,
  .contact-card {
    padding: 16px;
    border-radius: 14px;
  }

  .contact-card__grid,
  .contact-form,
  .contact-location__body {
    grid-template-columns: 1fr;
  }

  .search-page__form {
    grid-template-columns: 1fr;
  }

  .search-page__form .btn {
    width: 100%;
    justify-content: center;
  }

  .auth-grid,
  .account-layout,
  .account-form__grid,
  .order-box__grid {
    grid-template-columns: 1fr;
  }

  .account-nav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    gap: 4px;
  }

  .account-nav__link span {
    white-space: nowrap;
  }

  .address-card,
  .order-card__top,
  .order-card__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .product-video-fancybox .fancybox__content,
  .product-video-fancybox.is-yt-short .fancybox__content {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    aspect-ratio: unset;
    border-radius: 0;
  }

  .product-video-fancybox .fancybox__slide {
    padding: 0;
    width: 100%;
    height: 100%;
  }

  .product-video-fancybox .fancybox__toolbar {
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, transparent 100%);
  }

  .product__video.is-short .product__video-frame {
    max-width: none;
    width: 100%;
    max-height: 80dvh;
  }
}