/* Final mobile adaptation for Facebook / Instagram traffic */
@media (max-width: 600px) {
  :root {
    --section-gap: 28px;
    --border-radius: 16px;
  }

  html,
  body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    display: block;
    background: #fff;
    font-size: 16px;
    line-height: 1.45;
  }

  .wrapper {
    width: 100%;
    min-width: 0;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
  }

  main,
  footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 28px;
  }

  section,
  .offer,
  .description,
  .characteristic,
  .reviews,
  .delivery,
  .form,
  .order-btn,
  .order-date,
  .footer {
    min-width: 0;
  }

  section h2 {
    font-size: clamp(23px, 6.4vw, 28px);
    line-height: 1.16;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .offer {
    width: 100%;
    max-width: 100%;
    padding: 8px 10px 0;
    gap: 16px;
  }

  .offer > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .offer-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 8px;
    width: 100%;
    padding: 10px 4px 4px;
  }

  .offer-price__old,
  .offer-price__new {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    text-align: center;
  }

  .offer-price__old > span,
  .offer-price__new > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    max-width: 100%;
    margin: 0;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.15;
  }

  .offer-price__new > span {
    padding: 5px 9px;
  }

  .offer-price__old p,
  .offer-price__new p,
  .offer-price__new p.js-current-price {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: .95 !important;
  }

  .offer-price__old p {
    font-size: clamp(27px, 8vw, 35px) !important;
    letter-spacing: -0.7px;
  }

  .offer-price__new p,
  .offer-price__new p.js-current-price {
    font-size: clamp(35px, 10.6vw, 44px) !important;
    letter-spacing: -1.2px !important;
  }

  .order-btn {
    width: 100%;
    padding: 0 14px;
  }

  .order-btn .btn,
  .main-order-form .button-m,
  .main-order-form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 13px 16px;
    border-radius: 16px !important;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .2px;
    text-align: center;
    white-space: normal;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .order-btn .btn:hover,
  .main-order-form .button-m:hover,
  .main-order-form .btn:hover {
    transform: none;
  }

  .order-btn .btn:active,
  .main-order-form .button-m:active {
    transform: scale(.985) !important;
  }

  .order-date {
    width: 100%;
    padding: 0 14px;
  }

  .date {
    font-size: 14px;
    line-height: 1.4;
  }

  .description {
    width: 100%;
    padding: 0 10px;
    gap: 0;
    overflow: hidden;
  }

  .description ul,
  .description .list-reset {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 26px;
  }

  .description ul li,
  .description li {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 14px;
  }

  .description li > img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .description li > p {
    margin: 0;
    padding: 0 8px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: break-word;
  }

  .description li > p b {
    font-size: 17px;
    line-height: 1.35;
  }

  .characteristic {
    width: 100%;
    padding: 8px 18px 2px;
    gap: 18px;
  }

  .characteristic h2 {
    margin: 0;
  }

  .characteristic ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 8px;
  }

  .characteristic ul li {
    min-height: 34px;
    margin: 0;
    padding: 7px 0 7px 31px;
    background-image: url('../images/tick.svg');
    background-repeat: no-repeat;
    background-position: 0 10px;
    background-size: 19px 19px;
    font-size: 16px;
    line-height: 1.42;
    overflow-wrap: break-word;
  }

  .characteristic ul li b {
    font-weight: 700;
  }

  .reviews {
    width: calc(100% - 28px);
    max-width: none;
    margin: 0 14px;
    padding: 22px 14px;
    gap: 20px;
    border-radius: 18px;
    overflow: hidden;
  }

  .reviews h2 {
    margin: 0;
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.2;
  }

  .reviews-rating {
    width: 100%;
    min-width: 0;
    gap: 9px;
  }

  .reviews-rating__stars {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
  }

  .reviews-rating__stars > span {
    flex: 0 0 100%;
    text-align: center;
    font-size: 15px;
  }

  .reviews-rating__stars img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .reviews-rating > p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
  }

  .reviews-rating__bar {
    max-width: 300px;
  }

  .reviews-slider,
  .reviews-slider .owl-stage-outer,
  .reviews-slider .owl-stage,
  .reviews-slider .owl-item {
    max-width: 100%;
  }

  .reviews-slider img {
    width: 100%;
    height: auto;
    border-radius: 14px;
  }

  .delivery {
    width: 100%;
    padding: 0 14px;
  }

  .delivery h2 {
    margin: 0 0 18px;
    font-size: clamp(22px, 6vw, 27px);
    line-height: 1.2;
  }

  .delivery ul {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 10px;
  }

  .delivery ul li,
  .delivery ul li:nth-child(even) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 12px;
    border-radius: 16px;
  }

  .delivery-text {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .delivery-text h3 {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.2;
  }

  .delivery-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .delivery ul li img,
  .delivery ul li:nth-child(even) img {
    justify-self: end;
    width: 68px;
    max-width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
  }

  .form {
    width: 100%;
    padding: 0 14px 22px;
  }

  .main-order-form,
  #order_form {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 20px 14px 18px;
    gap: 14px;
    border-radius: 18px;
  }

  #order_form {
    scroll-margin-top: 12px;
  }

  .product-variant-select {
    width: 100%;
    margin: 0 0 6px;
    padding: 0;
  }

  .variant-title {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.25;
  }

  .variant-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .variant-card {
    min-width: 0;
  }

  .variant-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 10px) / 2);
    justify-self: center;
  }

  .variant-card__inner {
    height: 100%;
    border-width: 2px;
    border-radius: 15px;
    box-shadow: 0 5px 16px rgba(35, 25, 65, .12);
  }

  .variant-card:hover .variant-card__inner,
  .variant-card input:checked + .variant-card__inner {
    transform: none;
  }

  .variant-card input:checked + .variant-card__inner {
    box-shadow: 0 0 0 2px rgba(141, 92, 255, .14), 0 7px 18px rgba(35, 25, 65, .16);
  }

  .variant-card__image-wrap {
    aspect-ratio: 3 / 4;
  }

  .variant-card__badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 7px;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .variant-card__content {
    padding: 9px 7px 10px;
  }

  .variant-card__name {
    margin-bottom: 4px;
    font-size: clamp(16px, 4.6vw, 18px);
    line-height: 1.15;
  }

  .variant-card__text {
    min-height: 44px;
    font-size: 11.5px;
    line-height: 1.28;
  }

  .variant-card__price {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .variant-card__choose {
    gap: 5px;
    margin-top: 8px;
    padding: 7px 8px;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .variant-card__radio {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
  }

  .variant-card__radio::after {
    top: 3px;
    left: 3px;
    width: 4px;
    height: 4px;
  }

  .main-order-form > input[type='text'],
  .main-order-form > input[type='tel'] {
    display: block;
    width: 100%;
    min-width: 0;
    height: 56px;
    margin: 0;
    padding: 0 16px 0 58px;
    border-radius: 14px;
    background-position: 18px center;
    background-size: 24px auto;
    font-size: 16px;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
  }

  .main-order-form > input[type='text']::placeholder,
  .main-order-form > input[type='tel']::placeholder {
    font-size: 15px;
  }

  .main-order-form > button[type='submit'] {
    min-height: 58px;
    margin: 0;
    border: 0;
    font-size: 16px;
  }

  .online-visitors-widget,
  #fast-delivery-widget {
    display: none !important;
  }

  .footer {
    width: 100%;
    max-width: 100%;
    padding: 20px 14px 26px;
    gap: 7px;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .footer a {
    display: block;
    padding: 4px 0;
  }
}

@media (max-width: 360px) {
  .offer-price {
    gap: 4px;
  }

  .offer-price__old > span,
  .offer-price__new > span {
    font-size: 11px;
  }

  .offer-price__old p {
    font-size: 25px !important;
  }

  .offer-price__new p,
  .offer-price__new p.js-current-price {
    font-size: 33px !important;
  }

  .characteristic {
    padding-left: 14px;
    padding-right: 14px;
  }

  .variant-cards {
    gap: 8px;
  }

  .variant-card:last-child {
    width: calc((100% - 8px) / 2);
  }

  .variant-card__content {
    padding-left: 5px;
    padding-right: 5px;
  }

  .variant-card__name {
    font-size: 15px;
  }

  .variant-card__text,
  .variant-card__choose {
    font-size: 10.8px;
  }
}
