/*
 * Весь адаптив темы вынесен в этот файл.
 */

.header__burger,
.header__mobile-overlay,
.header__mobile-panel-head,
.header__call-button--mobile,
.header__mobile-actions {
  display: none;
}

@media (max-width: 1280px) {
  .cart-page__wrap {
    gap: 32px;
  }

  .cart-page__summary {
    flex-basis: 320px;
    width: 320px;
  }

  .cart-line {
    grid-template-columns: 24px 148px minmax(0, 1fr) 140px !important;
    gap: 16px !important;
  }

  .cart-line__thumb img {
    width: 148px;
    height: 164px;
  }

  .cart-line__price {
    font-size: 22px;
  }

  .product-page__related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: max-content;
    padding-right: 20px;
  }

  .product-page__related-track {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .product-page__related-track::-webkit-scrollbar {
    display: none;
  }

  .product-page__related-grid .product-card {
    flex: 0 0 clamp(179px, calc((100% - 40px) / 3), 220px);
    width: clamp(179px, calc((100% - 40px) / 3), 220px);
    max-width: 220px;
    padding: 4px;
    border-radius: 16px;
  }

  .cat-parent-hits__grid {
    gap: 16px;
  }

  .cat-parent-hits__grid .product-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  .cat-parent-brands__grid {
    gap: 16px;
  }

  .cat-parent-brand-card {
    flex-basis: calc((100% - 32px) / 3);
  }

}

@media (max-width: 1100px) {
  .product-page__title {
    max-width: none;
  }

  .product-page__row {
    gap: 24px;
  }

  .product-page__aside {
    max-width: 560px;
  }

  .product-page__summary {
    padding: 20px 20px 24px;
    border-radius: 20px;
  }

  .product-page__price-amount,
  .product-page__price-amount--variable {
    font-size: 28px;
  }

  .arkaim-product-gallery__thumbs .woocommerce-product-gallery__image {
    width: 72px;
    min-width: 72px;
    height: 72px;
  }
}

@media (max-width: 1200px) {
  .checkout-page__wrap {
    flex-direction: column;
  }

  .checkout-page__left,
  .checkout-page__right {
    width: 100%;
    max-width: none;
    flex-basis: auto;
  }

  .checkout-page__right {
    order: 2;
  }

  .checkout-page__fields-row {
    flex-direction: column;
  }

  .checkout-products,
  .checkout-block,
  .checkout-payment-block,
  .checkout-cart-summary {
    border-radius: 20px;
  }

  .checkout-products__list {
    gap: 12px;
    /* justify-content: space-around; */
  }

  /* .checkout-product-card {
    width: calc((100% - 12px) / 2);
    min-width: 0;
  } */
}

@media (max-width: 992px) {
  .page-content__title {
    margin-bottom: 24px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  .page-content__body {
    font-size: 15px;
    line-height: 1.55;
  }

  .cart-page__title {
    margin-bottom: 24px;
  }

  .cart-page__wrap {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .cart-page__form {
    width: 100%;
    min-width: 0;
  }

  .cart-page__summary {
    width: 100%;
    flex-basis: auto;
  }

  .cart-summary {
    padding: 24px;
    border-radius: 20px;
  }

  .cart-summary__checkout {
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 24px 132px minmax(0, 1fr) 120px !important;
    gap: 14px !important;
  }

  .cart-line__thumb img {
    width: 132px;
    height: 146px;
  }

  .cart-line__info {
    gap: 12px;
  }

  .cart-line__title {
    font-size: 15px;
  }

  .cart-line__price {
    font-size: 20px;
  }

  .product-page__container {
    overflow: visible;
  }

  .product-page__title {
    margin-bottom: 20px;
  }

  .product-page__row {
    flex-direction: column;
    gap: 24px;
  }

  .product-page__gallery,
  .product-page__aside {
    width: 100%;
    max-width: none;
  }

  .product-page__summary {
    max-width: none;
  }

  .product-page__info-tabs {
    gap: 20px;
  }

  .product-page__related-track {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .product-page__related-track::-webkit-scrollbar {
    display: none;
  }

  .product-page__related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    padding-right: 16px;
    align-items: stretch;
  }

  .product-page__related-grid .product-card {
    position: relative;
    flex: 0 0 179px;
    width: 179px;
    padding: 4px;
    gap: 10px;
    border-radius: 16px;
  }

  .product-page__related-grid .offer__top {
    gap: 10px;
  }

  .product-page__related-grid .offer__photo-wrap {
    height: 176px;
    max-height: none;
    border-radius: 16px;
  }

  .product-page__related-grid .offer__item-img {
    height: 176px;
    border-radius: 16px;
    object-fit: cover;
  }

  .product-page__related-grid .offer__item-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 16, 16, 0.08);
  }

  .product-page__related-grid .offer__item-circle svg {
    width: 16px;
    height: 16px;
  }

  .product-page__related-grid .offer__art {
    top: auto;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 10px;
    line-height: 1.2;
  }

  .product-page__related-grid .offer__info {
    gap: 8px;
  }

  .product-page__related-grid .offer__item-title {
    font-size: 14px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
  }

  .product-page__related-grid .offer__item-price {
    font-size: 20px;
    line-height: 1.1;
    margin-top: auto;
  }

  .product-page__related-grid .offer__item-price del {
    font-size: 16px;
  }

  .product-page__related-grid .offer__item-bot {
    margin-top: auto;
    gap: 0;
    justify-content: flex-start;
  }

  .product-page__related-grid .offer__item-buy {
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.16;
  }

  /* .cat-parent-hits__grid .product-card {
    flex-basis: calc((100% - 20px) / 2);
  } */

  .cat-parent-brand-card {
    flex-basis: calc((100% - 16px) / 2);
  }

}

@media (max-width: 900px) {
  .page-contacts__content {
    grid-template-columns: 1fr;
  }

  .page-contacts__content-item {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .product-page__related-grid {
    grid-template-columns: 1fr;
  }

  .cat-parent-hits__grid .product-card {
    flex-basis: 100%;
  }

  .cat-parent-brand-card {
    flex-basis: 100%;
  }
}

@media (max-width: 767px) {
  .page-content__title {
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .page-content__body {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Заголовки страниц: 32px на мобилке (десктоп — 48px в main.css) */
  h1.title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .catalog-page .title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .checkout-page__title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .favorites-page__title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .checkout-page__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .checkout-page__title {
    margin-bottom: 16px;
  }

  .checkout-page__left {
    gap: 16px;
  }

  .checkout-products,
  .checkout-block,
  .checkout-payment-block,
  .checkout-cart-summary {
    padding: 16px;
    border-radius: 16px;
  }

  .checkout-products {
    min-height: 0;
  }

  .checkout-products__head {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .checkout-products__list {
    gap: 8px;
  }

  .checkout-product-card {
    width: 150px;
    padding: 0;
    gap: 6px;
  }

  .checkout-product-card__body {
    gap: 6px;
  }

  .checkout-product-card__thumb img {
    border-radius: 12px;
  }

  .checkout-product-card__qty-badge {
    top: 6px;
    left: 6px;
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .checkout-product-card__title {
    font-size: 12px;
    line-height: 1.25;
  }

  .checkout-product-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 12px;
  }

  .checkout-block__title,
  .checkout-payment-block__title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .checkout-toggles {
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .checkout-toggle {
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
  }

  .checkout-block__fields,
  .checkout-recipient-fields {
    gap: 10px;
  }

  .checkout-field__input {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .checkout-field__input--textarea {
    min-height: 88px;
  }

  .checkout-field-row {
    flex-direction: column;
  }

  .checkout-map-link {
    font-size: 14px;
  }

  .checkout-payment-methods {
    gap: 8px;
  }

  .checkout-payment-method {
    min-width: 0;
    width: calc((100% - 8px) / 2);
    min-height: 82px;
    padding: 12px 10px;
    border-radius: 10px;
    gap: 10px;
  }

  .checkout-payment-method__title {
    font-size: 14px;
  }

  .checkout-payment-method__icons {
    gap: 8px;
  }

  .checkout-payment-method__icon img {
    max-width: 34px;
    height: 20px;
  }

  .checkout-payment-method--cash .checkout-payment-method__icon img {
    max-width: 28px;
    height: 24px;
  }

  .checkout-consent {
    font-size: 11px;
  }

  .cart-summary__row {
    margin-bottom: 10px;
  }

  .cart-summary__label,
  .cart-summary__value {
    font-size: 13px;
  }

  .cart-summary__row--total {
    margin-top: 14px;
    padding-top: 14px;
  }

  .cart-summary__row--total .cart-summary__label,
  .cart-summary__row--total .cart-summary__value {
    font-size: 18px;
  }

  .cart-summary__checkout {
    width: 100%;
    min-height: 44px;
    margin-top: 16px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .cart-page__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cart-page__title {
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .cart-page__wrap {
    gap: 24px;
  }

  .cart-page__bulk {
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
  }

  .cart-page__select-all {
    gap: 6px;
    font-size: 13px;
    line-height: 1.2;
  }

  .cart-page__select-all-box {
    width: 16px;
    height: 16px;
  }

  .cart-page__select-all-input:checked + .cart-page__select-all-box::after {
    left: 4px;
    top: 0;
  }

  .cart-page__bulk-remove {
    font-size: 13px;
    line-height: 1.2;
    text-align: right;
  }

  .cart-page__items {
    gap: 0;
    margin-top: 12px;
    width: 100%;
  }

  .cart-line {
    grid-template-columns: 16px 84px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    border-top: 1px solid var(--soft-grey);
  }

  .cart-line:last-child {
    border-bottom: 1px solid var(--soft-grey);
  }

  .cart-line__check {
    grid-column: 1;
    grid-row: 1;
    margin-top: 2px;
  }

  .cart-line__checkbox-custom {
    width: 16px;
    height: 16px;
  }

  .cart-line__checkbox:checked + .cart-line__checkbox-custom::after {
    left: 4px;
    top: 0;
  }

  .cart-line__thumb {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .cart-line__thumb img {
    width: 84px;
    height: 92px;
    border-radius: 12px;
  }

  .cart-line__info {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    gap: 8px;
  }

  .cart-line__sku {
    padding: 4px 8px;
    font-size: 10px;
  }

  .cart-line__title {
    font-size: 12px;
    line-height: 1.2;
  }

  .cart-line__price-block {
    gap: 2px;
  }

  .cart-line__old-price {
    font-size: 11px;
  }

  .cart-line__unit-price {
    font-size: 11px;
  }

  .cart-line__price {
    font-size: 16px;
    line-height: 1.15;
  }

  .cart-line__qty {
    margin-top: 4px;
  }

  .cart-line__qty-control {
    gap: 12px;
  }

  .cart-line__qty-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .cart-line__qty .qty {
    width: 20px !important;
    font-size: 14px !important;
  }

  .cart-line__remove {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    padding-top: 0;
    text-align: right;
  }

  .cart-line__remove-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.24;
    color: var(--grey);
    text-decoration: none;
  }

  .cart-line__remove-link:hover {
    color: var(--orange);
  }

  .cart-page__summary {
    width: 100%;
  }

  .cart-summary {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cart-summary__title {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .cart-summary__label,
  .cart-summary__value {
    font-size: 13px;
  }

  .cart-summary__row--total {
    margin-top: 14px;
    padding-top: 14px;
  }

  .cart-summary__row--total .cart-summary__label,
  .cart-summary__row--total .cart-summary__value {
    font-size: 18px;
  }

  .cart-summary__checkout {
    margin-top: 16px;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .cart-empty {
    margin-top: 24px;
    padding: 32px 20px 36px;
    border-radius: 24px;
  }

  .cart-empty__title {
    font-size: 22px;
  }

  .cart-empty__btn {
    min-width: 100%;
  }

  .product-page {
    padding-top: 0;
  }

  .product-page__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .product-page__title--desktop {
    display: none;
  }

  .product-page__title--mobile {
    display: block;
  }

  .product-page__title {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .product-page__row {
    gap: 20px;
    margin-top: 12px;
  }

  body.single-product .breadcrumbs__item {
    display: none;
  }

  body.single-product .breadcrumbs__item:nth-last-child(2) {
    display: inline-flex;
    align-items: center;
  }

  body.single-product .breadcrumbs__item:nth-last-child(2)::before {
    content: "";
    width: 6px;
    height: 10px;
    margin-right: 8px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M5 1L1 5L5 9' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='10' viewBox='0 0 6 10' fill='none'%3E%3Cpath d='M5 1L1 5L5 9' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  body.single-product .breadcrumbs__item:nth-last-child(2)::after {
    display: none;
  }

  body.single-product .breadcrumbs__list {
    gap: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .arkaim-product-gallery__wrap {
    gap: 12px;
  }

  .arkaim-product-gallery__main {
    border-radius: 16px;
  }

  .arkaim-product-gallery__thumbs-wrap {
    gap: 8px;
  }

  .arkaim-product-gallery__arrow {
    width: 32px;
    height: 32px;
  }

  .arkaim-product-gallery__thumbs {
    gap: 8px;
  }

  .arkaim-product-gallery__thumbs .woocommerce-product-gallery__image {
    width: 56px;
    min-width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .product-page__summary {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .product-page__sku-pill {
    margin-bottom: 12px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .product-page__shipping {
    max-width: none;
    gap: 8px;
    margin-bottom: 16px;
  }

  .product-page__pickup,
  .product-page__delivery {
    width: max-content;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.3;
  }

  .product-page__shipping-icon {
    width: 16px;
    height: 16px;
  }

  .product-page__price-wrap {
    gap: 4px;
    margin-bottom: 6px;
  }

  .product-page__price-wrap del {
    font-size: 12px;
  }

  .product-page__price-amount,
  .product-page__price-amount--variable {
    font-size: 32px;
    line-height: 1;
  }

  .product-page__price-unit {
    font-size: 14px;
  }

  .product-page__stock {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .product-page__cart {
    align-items: center;
    gap: 12px;
  }

  .product-page__cart form.cart {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }

  .product-page__cart .single_add_to_cart_button,
  .product-page__cart .button.single_add_to_cart_button,
  .woocommerce .product-page__cart .single_add_to_cart_button {
    /* width: 100%; */
    min-width: 0;
    min-height: 40px;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
  }

  .product-page__wishlist {
    width: 40px;
    height: 40px;
  }

  .product-page__wishlist svg {
    width: 20px;
    height: 20px;
  }

  .product-page__info-tabs {
    gap: 16px;
    margin-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .product-page__info-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-page__info-tab {
    flex: 0 0 auto;
    padding-bottom: 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .product-page__description-text {
    font-size: 14px;
    line-height: 1.55;
  }

  [data-description-collapsible][data-description-lines="13"] .product-page__description-text[data-description-content].is-collapsed {
    max-height: calc(1.6em * 13);
  }

  [data-description-collapsible][data-description-lines="8"] .product-page__description-text[data-description-content].is-collapsed {
    max-height: calc(1.6em * 8);
  }

  .product-page__description-toggle {
    margin-top: 10px;
    font-size: 13px;
  }

  .product-page__meta-item {
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
  }

  .product-page__meta-value {
    text-align: left;
  }

  .product-page__related {
    margin-top: 32px;
  }

  .product-page__related-head {
    margin-bottom: 16px;
  }

  .product-page__related-title {
    font-size: 28px;
    line-height: 1.05;
  }

  .product-page__related-track {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .product-page__related-track::-webkit-scrollbar {
    display: none;
  }

  .product-page__related-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    padding-right: 16px;
    align-items: stretch;
  }

  .product-page__related-grid .product-card {
    position: relative;
    flex: 0 0 179px;
    width: 179px;
    padding: 4px;
    gap: 10px;
    border-radius: 16px;
  }

  .product-page__related-grid .offer__top {
    gap: 10px;
  }

  .product-page__related-grid .offer__photo-wrap {
    height: 176px;
    max-height: none;
    border-radius: 16px;
  }

  .product-page__related-grid .offer__item-img {
    height: 176px;
    border-radius: 16px;
    object-fit: cover;
  }

  .product-page__related-grid .offer__item-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 16, 16, 0.08);
  }

  .product-page__related-grid .offer__item-circle svg {
    width: 16px;
    height: 16px;
  }

  .product-page__related-grid .offer__art {
    top: auto;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 10px;
    line-height: 1.2;
  }

  .product-page__related-grid .offer__info {
    gap: 8px;
  }

  .product-page__related-grid .offer__item-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .product-page__related-grid .offer__item-price {
    font-size: 20px;
    line-height: 1.1;
  }

  .product-page__related-grid .offer__item-price del {
    font-size: 16px;
  }

  .product-page__related-grid .offer__item-bot {
    margin-top: auto;
    gap: 0;
    justify-content: flex-start;
  }

  .product-page__related-grid .offer__item-buy {
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.16;
  }

  .product-page__related-buttons {
    margin-top: 12px;
  }

  .offers__circle,
  .cat-parent-hits__arrow,
  .product-page__related-arrow {
    width: 40px;
    height: 40px;
  }

  .header {
    padding-top: 24px;
  }

  .header__container {
    align-items: stretch;
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .header__top {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    column-gap: 12px;
    row-gap: 12px;
  }

  .header__burger {
    display: inline-flex;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--soft-orange);
    color: var(--orange);
    cursor: pointer;
  }

  .header__burger span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .header__logo {
    grid-column: 2;
    justify-self: center;
    margin-right: 0;
  }

  .header__logo img {
    width: 168px;
    max-width: 168px;
    max-height: none;
  }

  .header__search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 12px 16px;
    gap: 8px;
    border-radius: 24px;
    box-shadow: none;
  }

  .header__search-input {
    font-size: 16px;
  }

  .header__search-input::placeholder {
    font-size: 16px;
    font-weight: 500;
  }

  .header__top .icons,
  .header__top > .header__call-button {
    display: none;
  }

  .header__mobile-actions {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: calc(100% - 32px);
    max-width: 370px;
    padding: 12px 24px;
    border: 1px solid rgba(17, 16, 16, 0.06);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 16, 16, 0.08);
    transform: translateX(-50%);
  }

  .header__mobile-actions .circle {
    width: 40px;
    height: 40px;
    -webkit-tap-highlight-color: transparent;
  }

  .header__mobile-actions .circle:active,
  .header__mobile-actions .circle.is-active {
    background: var(--orange);
  }

  .header__mobile-actions .circle:active img,
  .header__mobile-actions .circle.is-active img {
    filter: brightness(0) saturate(100%) invert(96%) sepia(27%) saturate(1174%) hue-rotate(310deg) brightness(101%) contrast(101%);
  }

  .header__mobile-actions .header__favorites-count,
  .header__mobile-actions .header__cart-count {
    top: -2px;
    right: -2px;
  }

  .header__mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 39;
    padding: 0;
    border: none;
    background: rgba(17, 16, 16, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .header__mobile-overlay[hidden] {
    display: none;
  }

  .header__mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .header__bot {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    width: min(356px, calc(100vw - 46px));
    padding: 20px 16px 24px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 36px;
    overflow-y: auto;
    box-shadow: 8px 0 32px rgba(17, 16, 16, 0.08);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .header__bot.is-open {
    transform: translateX(0);
  }

  .header__mobile-panel-head {
    display: flex;
    width: 100%;
  }

  .header__mobile-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--orange);
    cursor: pointer;
  }

  .header__bot-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
  }

  .header__bot-list a,
  .header__list-item a {
    font-size: 18px;
    line-height: 1.33;
  }

  .header__phone {
    margin-top: auto;
    font-size: 16px;
    line-height: 1.5;
  }

  .header__call-button--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
    overscroll-behavior: none;
  }

  .offers .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .offers__wrap {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

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

  .offers__list {
    gap: 12px;
    width: max-content;
    padding-right: 0;
  }

  .offer__list-item {
    position: relative;
    flex: 0 0 179px;
    width: 179px;
    padding: 4px;
    gap: 10px;
    border-radius: 16px;
  }

  .offer__list-item .offer__top {
    gap: 10px;
  }

  .offer__photo-wrap {
    position: relative;
    height: 176px;
    max-height: none;
    border-radius: 16px;
  }

  .offer__item-circle {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 16, 16, 0.08);
  }

  .offer__item-circle svg {
    width: 16px;
    height: 16px;
  }

  .offer__photo-wrap .offer__art {
    top: auto;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 10px;
    line-height: 1.2;
  }

  .offer__info {
    gap: 8px;
  }

  .offer__item-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .offer__item-price {
    font-size: 20px;
    line-height: 1.1;
  }

  .offer__item-bot {
    justify-content: flex-start;
    gap: 0;
  }

  .offer__item-buy {
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.16;
  }

  .offers__buttons {
    display: flex;
  }

  .home-category .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category__grid {
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 12px;
  }

  .category__card {
    width: 100%;
    min-height: 126px;
    padding: 8px 4px;
    gap: 8px;
    border-radius: 12px;
  }

  .category__card a {
    gap: 16px;
  }

  .category__card-img {
    width: 60px;
    height: 60px;
  }

  .category__card-title {
    font-size: 14px;
    line-height: 1.2;
  }

  .reader__description {
    font-size: 16px;
  }

  .footer {
    padding: 64px 0 120px;
  }

  .footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "nav actions"
      "subscribe subscribe";
    align-items: start;
    gap: 32px 20px;
  }

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

  .footer__col--nav {
    grid-area: nav;
    width: auto;
  }

  .footer__col--nav .footer__nav-list {
    gap: 28px;
  }

  .footer__col--actions {
    grid-area: actions;
    align-items: flex-end;
    gap: 24px;
  }

  .footer__btn-legal {
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.2;
  }

  .footer__social {
    gap: 12px;
  }

  .footer__social-link {
    width: 40px;
    height: 40px;
  }

  .footer__social-icon {
    width: 18px;
    height: 18px;
  }

  .footer__col--subscribe {
    grid-area: subscribe;
    width: 100%;
    flex-basis: auto;
  }

  .cat-parent__container,
  .cat-parent-hits__container,
  .cat-parent-brands__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cat-parent__title {
    font-size: 32px;
  }

  .cat-parent__grid {
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 12px;
  }

  .cat-parent-card {
    min-height: 124px;
  }

  .cat-parent-card__link,
  .cat-parent-card__inner {
    min-height: 124px;
  }

  .cat-parent-card__inner {
    gap: 8px;
    padding: 12px 8px 10px;
    border-radius: 12px;
  }

  .cat-parent-card__img {
    width: 56px;
    height: 56px;
  }

  .cat-parent-card__title {
    font-size: 14px;
    line-height: 1.2;
  }

  .cat-parent-hits__title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .cat-parent-hits__track {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cat-parent-hits__track::-webkit-scrollbar {
    display: none;
  }

  .cat-parent-hits__grid {
    gap: 12px;
    width: max-content;
    padding-right: 32px;
  }

  .cat-parent-hits__grid .product-card {
    position: relative;
    flex: 0 0 179px;
    width: 179px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .cat-parent-hits__grid .product-card__img-wrap {
    padding: 4px;
  }

  .cat-parent-hits__grid .product-card__img-wrap img {
    /* height: 176px; */
    border-radius: 16px;
  }

  .cat-parent-hits__grid .product-card__sku {
    top: auto;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    font-size: 10px;
    line-height: 1.2;
  }

  .cat-parent-hits__grid .product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 152px;
    gap: 8px;
    padding: 8px 4px 12px;
  }

  .cat-parent-hits__grid .product-card__title {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.2;
    min-height: calc(1.2em * 4);
  }

  .cat-parent-hits__grid .product-card__price {
    margin-top: auto;
    font-size: 20px;
    line-height: 1.1;
    min-height: 46px;
    white-space: nowrap;
  }

  .cat-parent-hits__grid .product-card__actions {
    margin-top: 8px;
    padding-top: 0;
    justify-content: flex-start;
    gap: 0;
  }

  .cat-parent-hits__grid .product-card__button {
    height: auto;
    min-height: 48px;
    padding: 14px 24px;
    font-size: 14px;
    line-height: 1.2;
  }

  .cat-parent-hits__grid .product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(17, 16, 16, 0.08);
  }

  .cat-parent-hits__buttons {
    display: flex;
  }

  .cat-parent-brands__title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .cat-parent-brands__track {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cat-parent-brands__track::-webkit-scrollbar {
    display: none;
  }

  .cat-parent-brands__grid {
    gap: 12px;
    width: max-content;
    padding-right: 32px;
  }

  .cat-parent-brand-card {
    flex: 0 0 115px;
    width: 115px;
    height: 115px;
    max-width: none;
    max-height: none;
  }

  .cat-parent-brand-card__inner {
    width: 115px;
    height: 115px;
    border-radius: 12px;
  }

  .cat-parent-brand-card__img {
    max-width: 78px;
    max-height: 78px;
  }

  .cat-parent-brands__buttons {
    display: none;
  }

  .favorites-page__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .plp-page__title {
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .plp-page__wrap {
    gap: 0;
  }

  .plp-page__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 120;
    display: flex;
    gap: 24px;
    width: min(372px, calc(100vw - 28px));
    height: 100vh;
    padding: 16px 16px 24px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .plp-page__sidebar-head {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }

  .plp-page__sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--orange);
    cursor: pointer;
  }

  .plp-page__filters-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    border: none;
    background: rgba(17, 16, 16, 0.24);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  body.plp-filters-open {
    overflow: hidden;
  }

  body.plp-filters-open .plp-page__sidebar {
    transform: translateX(0);
  }

  body.plp-filters-open .plp-page__filters-overlay {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .plp-filter--price .plp-filter__title {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .plp-filter-price__inputs {
    gap: 6px;
  }

  .plp-filter-price__input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .plp-filter--brand .plp-filter__title {
    margin-top: 0;
    font-size: 18px;
  }

  .plp-filter-brand__label {
    font-size: 14px;
    line-height: 1.25;
  }

  .plp-page__sidebar .widget {
    display: none;
  }

  .plp-page__main {
    gap: 24px;
  }

  .plp-page__toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
  }

  .plp-page__filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 20px;
    border: 2px solid var(--orange);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--orange);
    cursor: pointer;
  }

  .plp-page__toolbar .woocommerce-result-count {
    grid-column: 1 / -1;
    order: 3;
    font-size: 12px;
  }

  .plp-sort {
    width: 100%;
  }

  .plp-sort__select,
  .plp-sort__custom {
    width: 100%;
  }

  .plp-sort__select,
  .plp-sort__trigger {
    min-height: 40px;
    height: 40px;
    padding: 9px 14px;
    font-size: 14px;
  }

  .plp-page__main ul.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    justify-content: stretch;
    justify-items: stretch;
  }

  .plp-page__main ul.products li.product {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .plp-page__main .product-card {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
  }

  .plp-page__main .product-card__img-wrap {
    padding: 0px;
    /* height: 184px; */
    border-radius: 16px;
    overflow: hidden;
  }

  .plp-page__main .product-card__img-wrap img {
    width: 100%;
    /* height: 176px; */
    border-radius: 0px;
  }

  .plp-page__main .product-card__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--soft-orange);
    box-shadow: 0 2px 8px rgba(17, 16, 16, 0.08);
  }

  .plp-page__main .product-card__wishlist.is-active {
    color: var(--orange);
  }

  .plp-page__main .product-card__wishlist.is-active:hover {
    color: var(--orange);
  }

  .plp-page__main .product-card__wishlist svg {
    width: 16px;
    height: 16px;
  }

  .plp-page__main .product-card__sku {
    top: auto;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 18px;
    font-size: 10px;
    line-height: 1.2;
  }

  .plp-page__main .product-card__body {
    gap: 8px;
    padding: 8px 4px 12px;
  }

  .plp-page__main .product-card__title {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.2;
  }

  .plp-page__main .product-card__price {
    font-size: 20px;
    line-height: 1.1;
  }

  .plp-page__main .product-card__actions {
    margin-top: 8px;
    padding-top: 0;
    justify-content: flex-start;
    gap: 0;
  }

  .plp-page__main .product-card__button {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.2;
  }

  .cart-modal__dialog {
    padding: 40px 40px;
  }
  
  .cart-modal__title {
    font-size: 24px;
  }

  .cart-modal__text {
    font-size: 12px;
  }

  .page-contacts__content-item {
    padding: 24px 16px;
  }

  .page-contacts__content-item-top {
    margin-bottom: 40px;
  }

  .page-contacts__content-item-row-text {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .cart-modal__dialog {
    padding: 32px 20px;
  }

  .cart-modal__title {
    font-size: 24px;
  }

  .cart-modal__text {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .cart-modal__actions {
    flex-direction: column;
  }

  .cart-modal__btn {
    width: 100%;
    min-width: 0;
    padding: 12px 20px;
    font-size: 14px;
  }

  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: none;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cookie-banner__actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .favorites-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .cart-page__bulk {
    flex-wrap: wrap;
  }

  .cart-page__bulk-remove {
    margin-left: auto;
  }

  .cart-line {
    grid-template-columns: 16px 76px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .cart-line__thumb img {
    width: 76px;
    height: 84px;
  }

  .cart-line__qty-control {
    gap: 10px;
  }

  .cart-line__qty-btn {
    width: 30px;
    height: 30px;
  }
}
