@media screen and (max-width: 1250px) {
    .tabs {
        justify-content: center;
    }
}
@media screen and (max-width: 1250px) and (min-width: 1024px) {
    .footer-danger {
        align-items: flex-start;
        flex-direction: column;
    }
    .add-cart span {
        font-size: 16px;
    }
    .add-cart img {
        max-width: 22px;
    }
    .soc a {
        max-width: 24px;
    }
    .actii-block-item img {
        height: 575px;
    }
    .container {
        max-width: 992px;
    }
    .tabs-content .cards,
    .product-page-slider-wrapper .cards,
    .cards-catalog
    .cards-inner-product {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-menu ul li a {
        font-size: 15px;
    }
    .phone span {
        font-size: 16px;
    }
    .rezhim, .adress {
        text-align: center;
        font-size: 10px;
    }
    .phone img {
        max-width: 13px;
    }
    .header-top-right {
        gap: 12px;
    }
    .footer-contacts__top a:last-child {
        max-width: 24px;
    }
}
@media screen and (max-width: 1023px) and (min-width: 860px) {
    .phone {
        min-width: 27px;
        display: flex;
        align-items: center;
    }
    .phone img {
        min-width: 27px;
        display: flex;
        align-items: center;
    }
    .logo {
        max-width: 110px;
    }
    .phone span {
        display: none;
    }
    .rezhim, .adress {
        display: none;
    }
    .product-page-slider-wrapper .cards,
    .cards-catalog,
    .cards-inner-product {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-menu ul li a {
        font-size: 16px;
    }
    .tabs {
        justify-content: center;
    }
    .container {
        max-width: 768px;
    }
    .tabs-content .cards,
    .wy-we-block,
    .actii-block {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-block-right img {
        height: 450px;
    }
}
@media screen and (max-width: 335px) {
    .actii-block-item img {
        height: 523px;
    }
}
@media screen and (max-width: 1024px) {
    .delivery-card {
        flex-direction: column;
        padding: 20px;
    }
    .delivery-card-left,
    .delivery-card-right {
        max-width: 100%;
    }
    .delivery-card__img {
        width: 100%;
    }
}
@media screen and (min-width: 860px) {
    .mobile-menu {
        display: none;
    }
}
@media screen and (max-width: 859px) {
    .static-dropdown-menu li ul {
        gap: 8px;
        grid-template-columns: repeat(2, 1fr);
        padding: 12px;
    }
    .static-dropdown-menu li ul li a {
        font-size: 16px;
    }
    .mobile-burger-block ul:nth-child(3) {
        gap: 15px;
        display: flex;
        flex-direction: column;
    }
    .static-dropdown-menu {
        margin-bottom: 15px;
    }
    .mobile-menu__logo {
        display: inline-block;
        margin-bottom: 20px;
    }
    .header-contacts__union {
        display: flex;
        align-items: center;
    }
    .header-contacts__union img {
        max-width: 35px;
    }
    .mobile-menu__inner .phone,
    .mobile-menu__inner .btn {
        max-width: 175px;
        height: 42px;
        padding: 0px 27px;
    }
    .mobile-menu__nav li.active a {
        color: rgba(255, 204, 41, 1);
        border-bottom: 1px solid rgba(255, 204, 41, 1);
    }
    .mobile-menu__nav a {
        font-size: 16px;
        text-transform: capitalize;
    }
    body.menu-open {
        overflow: hidden;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .mobile-menu__inner {
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        height: 100%;
        background: #fff;
        transition: right 0.4s ease;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu.active .mobile-menu__inner {
        right: 0;
    }

    .mobile-menu__close {
        align-self: flex-end;
        background: none;
        border: none;
        position: absolute;
        font-size: 22px;
        font-weight: 700;
        padding: 0;
        right: 12px;
        top: 21px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .mobile-burger-block {
        padding: 7px 12px 20px;
    }

    .mobile-menu__close:hover {
        transform: rotate(90deg);
    }

    .mobile-menu__nav {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }

    .mobile-menu__nav a {
        font-size: 18px;
        text-decoration: none;
        color: #333;
        transition: color 0.3s;
    }
    .catalog-main-page-cards {
        padding: 0 12px;
    }
    .cart-page .button-green.new-sub {
        max-width: 250px;
        margin: 0 auto;
    }
    .cart-form form {
        gap: 10px;
        grid-template-columns: repeat(1, 1fr);
    }
    .logo {
        max-width: 70px;
    }
    .bottom-inner-content {
        padding: 0 15px;
    }
    #modal-menu ul {
        height: 100vh;
    }
    .footer-contacts__top {
        gap: 10px 50px;
    }
    .footer-block p {
        font-size: 14px;
    }
    .footer-logo {
        order: 1;
    }
    .footer-danger-block {
        order: 2;
    }
    .footer-block-list {
        order: 3;
    }
    .footer-danger {
        order: 4;
    }
    .footer-block {
        flex-wrap: wrap;
    }
    .main-page-content {
        padding: 40px 10px 40px;
    }
    .main-page-content {
        padding-top: 0;
    }
    .advantages-block__title {
        font-size: 20px;
        max-width: 100%;
    }
    .advantages-block {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px 10px;
        margin-bottom: 0;
    }
    .why-we-block {
        grid-template-columns: repeat(1, 1fr);
        gap: 35px;
    }
    .delivery-alert-block {
        padding: 15px;
    }
    .delivery-alert-block p {
        flex-direction: column;
        display: flex;
        text-align: center;
    }
    .delivery-block-item__content span {
        font-size: 48px;
    }
    .delivery-block-item__content p {
        font-size: 16px;
    }
    .delivery-block {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 20px;
    }
    .delivery {
        padding: 60px 10px;
    }
    .cards-item__bottom a {
        width: 150px !important;
        min-width: 150px !important;
    }
    .cards-item__bottom {
        justify-content: space-between;
    }
    .main-slider-content .fz-70 {
        font-size: 45px;
        line-height: 61px;
        text-align: center;
        margin-bottom: 94px;
    }
    .main-slider {
        padding-top: 80px;
        min-height: 450px;
        margin-bottom: 0;
    }
    .main-slider-content .btn {
        margin: 0 auto;
    }
    .main-slider-content {
        padding: 0px 10px;
    }
    .header-mobile__soc img {
        min-width: 30px;
    }
    .header-mobile__soc .phone {
        display: flex;
        align-items: center;
    }
    .header-mobile__soc {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .delivery-content .delivery-page-col {
        max-width: 100%;
    }
    .delivery-content {
        flex-direction: column;
    }
    .product-info .bot {
        align-items: flex-start;
        gap: 20px;
        flex-direction: column;
    }
    .product-new-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .product-page-slider-wrapper {
        padding: 0 10px;
    }
    .footer-bot {
        padding: 30px 10px 10px;
    }
    .footer-block,
    .product-page-slider-wrapper .cards,
    .cards-catalog,
    .cards-inner-product {
        grid-template-columns: repeat(1, 1fr);
    }
    .footer-block {
        gap: 30px;
    }
    .footer-block-left {
        order: 3;
        align-items: center;
        text-align: center;
    }
    .foote-block-mid {
        order: 1;
    }
    .footer-block-right {
        order: 2;
        justify-content: center;
    }
    .inner-block h1 {
        font-size: 32px;
        text-align: left;
    }
    .inner-block {
        padding: 90px 10px 30px;
    }
    #productSuccess,
    #productNachinka {
        background: #fff;
        font-size: 16px;
    }
    .tabs {
        justify-content: center;
    }
    .add-cart {
        min-width: 50px;
    }
    .mobile-top-right {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-top-right .phone img {
        width: 27px;
        min-width: 27px;
        align-items: flex-end;
    }
    .mobile-top-right .phone {
        margin-right: 10px;
        display: flex;
        align-items: center;
    }
    .actii-block-item img {
        height: 680px;
    }
    #productNachinka,
	#productSuccess {
        width: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
        border-radius: 5px;
	}
    .container {
        max-width: 100%;
    }
    .tabs-content .cards,
    .wy-we-block,
    .actii-block {
        grid-template-columns: repeat(1, 1fr);
    }
    .about-block {
        flex-direction: column;
        padding: 20px 15px;
    }
    .about-block-right img {
        height: 350px;
    }
    .tab-menu,
    .actii,
    .about {
        padding: 0px 10px 24px;
    }
    .why-we {
        padding: 24px 10px 57px;
    }
    .h2-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .wy-we-block > div:nth-child(5) {
        grid-column: span 1;
    }
    .footer-block {
        padding: 0 10px;
    }
    .header-top,
    .main-menu {
        display: none;
    }
    .header-mobile,
    .header-mobile-bottom {
        display: flex;
        align-items: center;
        padding: 0px 10px;
    }
    .header-mobile {
        justify-content: space-between;
    }
    .header-mobile-bottom {
        justify-content: center;
        padding-bottom: 10px;
    }
    .hum-btn img {
        max-width: 37px;
    }
    .add-to-cart,
    .logo,
    .hum-btn {
        min-width: 50px;
    }
    .tabs {
        gap: 15px;
    }
    #modal-menu {
        background: #f8443ff5;
        color: #fff;
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }
    .fancybox-slide {
        padding: 0 !important;
    }
    .fancybox-close-small {
        padding: 3px !important;
    }
    #modal-menu ul {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    #modal-menu ul li a {
        color: #fff;
    }
    .header {
        position: fixed;
        width: 100%;
        background: #fff;
        z-index: 999;
    }
    #modal-menu ul {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 12px;
        height: 100%;
        align-items: center;
        justify-content: center;
        padding: 40px 0px;
    }
    .fancybox-skin {
        background: transparent !important;
        padding: 0 !important;
    }
}

@media (max-width: 1023px) {
    .cart-overall .tooltip-price {
        top: 3px !important;
        left: 0px !important;
    }
    .cart-page .tooltip-price {
        top: 1px;
        left: 5px;
    }
    .fix-telegram a::before, .fix-telegram a::after {
        background: rgb(0 136 204 / 27%);
        left: 12px;
    }
    .tg-icon {
        max-width: 23px;
    }
    .fix-telegram .tg-label {
        max-width: 50px;
        text-align: center;
        white-space: initial;
        font-size: 8px;
    }
    .fix-telegram a {
        flex-direction: column;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        gap: 2px;
        padding: 8px 8px 8px 10px;
    }
    .fix-telegram {
        right: 10px;
        bottom: 10px;
    }
  .cart-table thead {
    display: none;
  }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }
  .cart-table tr {
    margin-bottom: 15px;
    border: 1px solid #FF0000;
    border-radius: 8px;
    padding: 0px;
    background: #fff;
  }
  .cart-table td {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px;
    text-align: center;
    border: none;
  }
  .count-block {
      margin: 0;
  }
  .cart-table td:last-child {
    border-bottom: none;
  }
  .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        flex-shrink: 0;
        margin-right: 10px;
        color: #000;
        font-size: 17px;
    }
  .cart-table td.image {
    justify-content: center;
  }
  .cart-table td.image img {
    max-width: 120px;
    height: 150px;
    display: block;
    margin: 0 auto;
    border: 1px solid transparent;
  }
  .cart-table td.image::before,
  .cart-table td.name::before,
  .cart-table td.del::before {
      display: none;
  }
  .count-block {
      padding: 0 5px;
  }
  .cart-table tbody > tr {
      position: relative;
  }
  td.del {
    position: absolute;
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: flex;
    right: 16px;
    top: 8px;
    align-items: center;
    justify-content: center;
    background: #FF0000;
    border: 1px solid #fff;
    border-radius: 100%;
    padding: 0;
  }
  .delbutton {
    font-size: 8px;
    color: #fff;
    font-weight: bold;
    background: transparent;
  }
}