@media (max-width: 1200px) {
  .buy {
    width: 109px;
  }

  .table.pills tr,
  .table.pills td,
  .table.pills th {
    padding: 9px 3px;
  }

  .ph_products_header .ph_price.perpill {
    white-space: normal;
  }

  .sp-table-body .sp-table-perpill {
    white-space: normal;
  }

  .sp-table-economy.buy p {
    white-space: normal;
    text-align: center;
  }

  .sp-table-economy.buy span {
    width: 100%;
  }
}

@media (max-width: 1055px) {
  .main__content-item {
    width: 48%
  }

  .goto-up {
    bottom: 2.5%;
    right: 35px;
  }
}

@media (max-width: 1030px) {
  .content-product__info {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .product__info-image {
    margin-bottom: 40px;
    order: -1;
    text-align: center;
    width: 100%
  }

  .main__content {
    margin-left: 15px;
  }

  .product__info-inner:first-child {
    margin-top: 0;
  }

  .product__info-image {
    margin-bottom: 15px;
  }
}

@media (max-width: 990px) {
  .main__content-items {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer__content {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer__content-rights {
    width: 100%;
    margin-top: 40px;
  }

  .footer__content-about,
  .footer__content-politic {
    max-width: 50%
  }

  .footer__content-politic {
    padding-right: 0;
  }

  .goto-up {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .product__info-inner {
    width: 95%
  }

  .product__info-title {
    width: 190px;
  }

  .product__info-text {
    width: 55%
  }

  .product__info-bottom .product__info-title {
    width: 40%;
  }

  .product__info-bottom .product__info-text {
    width: 60%;
  }
}

@media (max-width:950px) {

  .item-list.table.table-hover td,
  .float-basket.item-list.table-hover td {
    padding: 10px 5px;
  }

  .pills td,
  .item-list td,
  .pills thead tr td,
  .item-list thead tr td,
  .bonus .shipping,
  .table__box-link {
    font-size: 14px;
  }
}

@media (max-width: 930px) {
  .header__menu-item {
    padding: 0 26px;
  }
}

@media (max-width: 900px) {
  .header__top {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 20px;
  }

  .header__top>div,
  .header__top a {
    margin-bottom: 15px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }

  .header__bottom-wrapper {
    background-position: right center;
  }

  .brands__inner {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .brands__inner img {
    margin: 15px 10px 0;
  }
}

@media (max-width: 880px) {
  .main__sidebar {
    order: 2;
    margin-top: 20px;
    margin-left: 15px;
  }

  .main__content {
    margin-left: 0px;
  }

  .main__content-product {
    display: none;
  }

  .tab-content {
    margin-bottom: 30px;
  }

  .table__box {
    padding-top: 10px;
  }
}

@media (max-width: 820px) {
  .footer__pharms {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 30px;
  }

  .footer__pharms-item {
    width: 30%;
    margin-bottom: 20px;
  }
}

@media (max-width: 805px) {
  .content-item__btn {
    font-size: 14px;
  }

  .content-item__name {
    font-size: 15px;
  }

  .content-item__btn {
    margin: 20px 0;
  }
}

@media (max-width: 800px) {
  .header__bottom-content {
    margin-right: 0;
  }

  .header__menu-wrapper {
    background-color: none;
    min-height: auto;
  }

  .menu__burger {
    display: flex;
  }

  .header__menu-list {
    display: none;
    padding-bottom: 15px;
  }

  .header__menu-list ul {
    margin-bottom: 40px;
  }

  .header__menu-list ul li {
    display: block;
    margin-bottom: 13px;
  }

  .header__menu-item {
    border-left-width: 0;
  }

  .header__menu-item:last-child {
    border-right-width: 0;
  }

  .header__menu-item::before,
  .header__menu-item::after {
    width: 0;
  }

  .menu-pill__list {
    top: 61px;
    right: 50%;
    left: 50%;
    margin-left: -180px;
  }

  .menu-pill__list::before {
    display: none;
  }

  .product__info-pill {
    height: 125px;
  }

  .product__info-pill img {
    height: 110px;
    margin-top: 12px;
  }

  .go-basket.btn.btn-primary,
  .go-checkout.btn.btn-primary,
  .go-back.btn.btn-primary {
    display: inline-block;
    margin-bottom: 5px;
  }
}

@media (max-width: 730px) {
  .main .container {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .main__content {
    margin-left: 0;
  }

  .main__sidebar {
    margin-left: 0px;
  }

  .main__sidebar {
    width: 100%
  }

  .breadcrumbs__items {
    margin-top: 10px;
  }
}

@media (max-width: 695px) {
  .goto-up {
    bottom: 2%;
    right: 15px;
  }
}

@media (max-width:600px) {

  .pills td,
  .item-list td {
    font-size: 14px;
  }

  .table__box-link {
    font-size: 13px;
  }
}

@media (max-width: 570px) {
  .header__bottom-content {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .header__bottom-content img {
    margin-left: 20px;
  }

  .header__bottom-content p:first-child {
    font-size: 32px;
  }

  .main__content-product {
    margin-right: 0;
  }
}

@media (max-width: 520px) {

  .header__top>div,
  .header__top a {
    width: 100%
  }
}

@media (max-width: 490px) {
  .main__content-item {
    margin-left: 0;
  }

  .main__sidebar-item {
    margin-bottom: 20px;
  }

  .main__content-item {
    width: 80%
  }

  .header__menu-item {
    min-height: auto;
  }

  .header__menu-item>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header__menu-item>a::before {
    top: 12px;
  }

  .menu-pill__list {
    top: 45px;
    min-width: 310px;
    margin-left: -155px;
  }

  .header__menu-pill>a::after {
    bottom: 3px;
  }

  .header__menu-list ul li {
    margin-bottom: 5px;
  }

  .menu-pill__item a {
    padding-left: 0;
    padding-right: 0;
  }

  .menu-pill__item a::before {
    display: none;
  }

  .product__info-inner {
    width: 98%
  }

  .product__info-title {
    width: 100%;
    font-size: 12px;
  }

  .product__info-bottom .product__info-title {
    font-size: 12px;
  }

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

  .content-product__title {
    font-size: 21px;
  }

  .content__table {
    background-image: none;
  }

  .content__table tr,
  .content__table th,
  .content__table td {
    display: block;
    width: 100%;
    text-align: center;
  }

  .content__table tr:first-child,
  .content__table th:first-child,
  .content__table td:first-child {
    background-color: #d9edf2;
  }

  .content__table-item tr:first-child,
  .content__table-item th:first-child,
  .content__table-item td:first-child {
    background-color: #d9edf2;
  }

  .content__table-item tr:last-child,
  .content__table-item th:last-child,
  .content__table-item td:last-child {
    background-color: #fce8ea;
  }

  .content__table-min tr:first-child,
  .content__table-min th:first-child,
  .content__table-min td:first-child {
    background-color: transparent;
  }

  .content__table-min td:first-child {
    background-color: #d9edf2;
  }

  .main__content-image {
    width: 100%;
    margin-left: 0;
    float: none;
  }

  .top-basket__price {
    padding-left: 25px;
  }

  .total-price {
    border: none;
    padding: 4px;
  }

  .content__table.content__table-min img {
    margin-top: 5px;
  }
}

@media (max-width: 460px) {

  .pills thead tr td,
  .item-list thead tr td {
    font-size: 14px;
    font-weight: 700;
  }

  .table.pills tr,
  .table.pills td,
  .table.pills th {
    padding: 3px;
  }

  .perpill {
    background-color: #eef;
  }

  .table.pills .ph_products_header .ph_save,
  .table.pills .sp-table-body .sp-table-bonus,
  .table.pills .ph_products_header .ph-perpill,
  .table.pills .sp-table-body .perpill {
    display: none;
  }

  .sp-table-body .ph_price.price {
    width: auto !important;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 1.7em;
  }

  .header__top {
    display: none;
  }

  .header__bottom-post {
    display: none;
  }

  .header__bottom-sequrity {
    display: none;
  }

  .header {
    margin-bottom: 20px;
  }

  .header__bottom-wrapper {
    min-height: auto;
    background-position: 66%;
  }

  .header__bottom-content {
    max-width: 100%;
    margin-right: 0;
    padding-top: 20px;
    padding-bottom: 0px;
  }

  .header__bottom-content p:last-child {
    padding-top: 0px;
    padding-left: 7px;
    font-size: 16px;
    max-width: 100%;
  }

  .bottom-content__text {
    margin-right: 0;
  }

  .header__bottom-content p:first-child {
    font-size: 21px;
  }

  .header__bottom-content img {
    display: none;
  }

  .brands {
    display: none;
  }

  .footer__content-about,
  .footer__content-politic {
    max-width: 100%;
    padding-right: 0;
  }

  .footer__pharms-item {
    width: 48%
  }

  .footer__bottom {
    font-size: 14px;
  }

  .buy {
    width: 80px;
  }

  .buy .btn {
    font-size: 12px;
    /* padding: 7px 10px 7px 22px; */
    padding: 7px 10px 7px 10px;
  }

  .buy .btn::before {
    display: none;
    /* width: 11px;
    height: 11px;
    left: 8px; */
  }
}

@media (max-width: 360px) {

  .pills thead tr td,
  .item-list thead tr td {
    font-size: 12px;
    font-weight: 700;
  }

  .main__content-item {
    width: 100%
  }

  .content-info__title {
    font-size: 1.2em;
    white-space: normal;
    width: 95vw;
  }

  .content-info__subtitle {
    margin-bottom: 5px;
    font-size: 16px;
  }

  .content-info__subtitle::before {
    left: 6px;
    top: 0px;
    width: 20px;
    height: 20px;
  }

  .main__sidebar-item {
    margin-bottom: 10px;
    width: 92vw;
  }

  .content-product__info {
    padding-left: 5px;
    padding-right: 5px;
  }

  .footer__pharms {
    display: none;
  }

  .footer {
    width: 100vw;
    min-height: auto;
    background-color: #1f355f;
    font-size: 12px;
    font-weight: 600;
  }

  .go-basket.btn.btn-primary,
  .go-checkout.btn.btn-primary,
  .go-back.btn.btn-primary {
    margin-right: 0;
  }

  .table__box-link {
    font-size: 12px;
  }

  .content-product__title {
    font-size: 16px;
  }

  .pills td,
  .item-list td {
    font-size: 12px;
  }

  .contact-us__phone {
    height: 10px;
  }

  .content__tab-title {
    padding: 10px 20px 10px 10px;
    width: 92vw;
    font-size: 16px;
  }

  .content__tab-title::after {
    right: -5px;
    top: 18px;
  }

  .header__menu-list .header__menu-item a {
    font-size: 16px;
  }

  .table td,
  .table th {
    padding: 0.3rem !important;
  }

  .pills thead tr td,
  .item-list thead tr td {
    white-space: normal !important;
  }

  .main__sidebar {
    margin-top: 0px;
  }

  .main {
    padding-bottom: 10px;
  }

  .footer__content-about {
    padding-top: 10px;
  }

  .footer__content-item {
    margin: 5px 0px;
  }

  .footer__bottom {
    padding-bottom: 10px;
  }

  .cd-cart__undo {
    font-size: 8px;
    white-space: nowrap;
    width: 40%;
  }

  .tab-content {
    width: 103%;
  }
}