body {
    background-color: #FFF9F3;
}

a {
    text-decoration: none;
}

.size {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    /* border: 2px solid red; */
}

header {
    width: 100%;
    height: 100px;
    position: relative;
    z-index: 1; /* Чтобы содержимое header было поверх затемнения */
    /* bordeR: 2px solid red; */
}

.line-for-mobile {
    display: none;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* заменено с 0.5 на 0.2 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 10;
}

.size {
    max-width: 1200px;
    margin: 0 auto;
    /* border: 2px solid red; */
}



/* PopUP */
#popUP {
  background-color: #FFFCFA;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 50%;
  left: 50%;
    transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  z-index: 10000 !important;
  text-align: center;
  /* width: 90%;          */
  max-width: 839px;    
  height: auto;
  max-height: max-content;    
  /* overflow-y: auto;     */
  border-radius: 40px;
  padding: 25px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;

    .ModalLogo {
        width: 140px; 
        height: 53px;
        margin-top: 70px;
    }

    h2 {
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0%;
        text-align: center;
        vertical-align: bottom;
        color: #232323;
        margin-top: 12px;
    }

    p {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0%;
        text-align: center;
        color: #999999;
        margin-top: 12px;
    }

    .switchButtons {
        width: 361px;
        height: 46px;
        border-radius: 100px;
        padding: 2px;
        background-color: #F5F5F5;
        display: flex;
        flex-direction: row;
        margin-top: 12px;

        button {
            width: 179px;
            height: 42px;
            border-radius: 100px;
            padding-top: 3px;
            padding-right: 10px;
            padding-bottom: 3px;
            padding-left: 10px;
            color: #616161;
            background-color: #F5F5F5;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
            letter-spacing: 0%;
            text-align: center;
            border: none;
            cursor: pointer;

        }

        .active {
            background-color: #FFFFFF;
            border: 0.5px solid #0000000A;
            box-shadow: 0px 3px 1px 0px #0000000A;
            color: #000000;
        }
    }
    form {
        display: flex;
        flex-direction: column;
        height: max-content;
        /* bordeR: 2px solid red; */

        label {
            color: #1A1919;
            font-weight: 400;
            font-size: 20px;
            line-height: 28px;
            letter-spacing: 0%;
            text-align: start;
            padding-top: 8px;
            padding-right: 16px;
            padding-left: 16px;
        }
        div {
            width: 629px;
            height: 48px;
            border-radius: 99px;
            padding-right: 16px;
            padding-bottom: 8px;
            padding-left: 16px;
            display: flex;
            flex-direction: row;
            align-items: center;
            background-color: #FFF9F3;

            img {
                width: 17px;
                height: 15px;

            }
        }
        input {
            width: 629px;
            height: 48px;
            border: none;
            outline: none;
            background-color: #FFF9F3;
        }

        input[type='submit'] {
            width: 90%;
            margin-right: auto;
            margin-left: auto;
            height: 48px;
            border-radius: 100px;
            padding-top: 12px;
            padding-right: 10px;
            padding-bottom: 12px;
            padding-left: 10px;
            font-family: Mluvka;
            font-weight: 500;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            text-align: center;
            color: #FFFFFF;
            background-color: #F07E26;
            margin-top: 25px;
        }
    }

    span {
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0%;
        color: #F07E26;
        text-align: start;
        padding-right: 16px;
        padding-bottom: 8px;
        padding-left: 16px;
    }

    .line {
        margin-top: 37px;
        width: 180px;
        height: 2px;
        background-color: #B5B5B5;
        border: none;
    }
    
    .linesOr {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 37px;
    }
    
    .linesOr div {
        margin: 0 10px;
    }

    .googleButton {
        width: 629px;
        height: 40px;
        border-radius: 12px;
        gap: 12px;
        padding: 12px;
        border: 1px solid #E8DBDB;
        display: flex;
        flex-direction: row;
        margin-top: 12px;
       
        img {
            width: 30px;
            height: 30px;
        }

        button {
            width: 100%;
            border: none;
            background-color: #FFFCFA;
            cursor: pointer;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            font-weight: 500;
            font-size: 20px;
            line-height: 100%;
            letter-spacing: 0%;
            color: #000099;
            gap: 12px; 
        }
    }
}

/* Крестик */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    background: none;
    color:#ff6600;
    transition: 0.6s;
}

.close-btn:hover {
    color:#007A41;
    transition: 0.6s;
}

/* Кнопка */
#modalPage {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Анимация открытия */
.show-popup {
    opacity: 1 !important;
    visibility: visible !important;
    animation: zoomInUp 0.3s ease-in-out forwards;
}

/* Анимация закрытия */
.hide-popup {
    animation: zoomInDown 0.3s ease-in-out forwards;
}

/* Анимации */
@keyframes zoomInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes zoomInDown {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
}

/* Активные классы */
.active-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}


.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    
    width: 1120px;
    height: 30px;
    

    border-radius: 100px;
    border-image-source: linear-gradient(270.25deg, rgba(241, 241, 241, 0) 1.6%, rgba(218, 218, 218, 0.4) 100%);
    border-image-slice: 1;

    background: linear-gradient(90.26deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.39) 100%);
    backdrop-filter: blur(20px);

    box-shadow: 0px 0px 60px rgba(204, 204, 204, 0.1);

    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    /* position: fixed;
    z-index: 1000; */



.logoHeaderSize {
    width: 99px;
    height: 38px;

}
.othercontrols {
    display: flex;
    align-items: center;
    gap: 30px;
}

.signIn {
    background: white;
    width: 134px;
    height: 49px;
    border-radius: 100px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 30px;
    padding-right: 30px;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #F07E26;
    border: none;
    cursor: pointer;
    transition: 0.6s;

}

.signIn:hover {
    color: white;
    background-color: #007A41;
    transition: 0.6s;
}

a {
    text-decoration: none;
    color: #302F2F;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #F07E26;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}


a img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

a:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px #007A41);
}




}


.page-part {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 30px;
  flex-wrap: wrap; /* 🔑 перенос строк при нехватке ширины */
  word-break: break-word; /* 🔑 перенос слов, если они слишком длинные */

  p, a {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #939393;

    span {
      font-weight: 500;
      font-size: 16px;
      line-height: 24px;
      color: #F07E26;
    }

    h5 {
      font-weight: 500;
      font-size: 16px;
      line-height: 24px;
      color: #2B2828;
    }
  }
}


.head-part {
    border-bottom: 1px solid #BEBEBE;
    margin-top: 28px;
    padding-bottom: 20px;
    box-sizing: border-box;

    h1 {
        color: #191919;
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        letter-spacing: 0%;

    }
}

.main-cart {

    .head-total-price {
        margin-top: 40px;
        margin-bottom: 40px;

        h2, span {
            font-weight: 500;
            font-size: 32px;
            line-height: 40px;
            letter-spacing: 0%;
            color: #F07E26;
        }

    }
    
.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;


    div {
        text-align: start;
        padding-left: 20px;
        padding-right: 20px;
    }

    .image-name-weight {
        display: flex;
        flex-direction: row;
        gap: 10px;

        .image-box {
            width: 195px;
            height: 130px;
            border-radius: 6px;
            overflow: hidden;
            padding: 10px;
            background-color: #FFFFFF;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .text-box {
            text-align: start;

            h3 {
                font-weight: 500;
                font-size: 28px;
                line-height: 36px;
                color: #272727;
            }

            span {
                color: #909090;
                font-weight: 400;
                font-size: 16px;
                line-height: 24px;
            }
        }
    }

    .put_price_here {
        span {
            font-weight: 600;
            font-size: 28px;
            line-height: 36px;
            color: #F07E26;
        }
    }

    .edit-container {
        text-align: right;
        margin-right: 50px;

        button {
            background-color: transparent;
            border: none;
            cursor: pointer;
        }
    }
}

      
      .purchases-list .item:nth-child(1),
      .purchases-list .item:nth-child(2),
      .purchases-list .item:nth-child(3) {
        grid-column: span 1;
      }
      
      .purchases-list .item:nth-child(4) {
        grid-column-start: 1;
      }
      
      .purchases-list .item:nth-child(8) {
        grid-column-start: 1;
      }
      
      .column-name {
        font-weight: 500;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0%;
        color: #CECECE;
      }

.payment-check-button {
  display: flex;
  flex-direction: row;
  justify-content: right;

  button {
    width: 251px;
    height: 58px;
    border-radius: 100px;
    padding: 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    text-align: center;
    background-color: #F07E26;
    color: #F9F7F7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;

    &:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 20px rgba(240, 126, 38, 0.4);
    }

    &:active {
      transform: scale(0.97);
      box-shadow: 0 4px 12px rgba(240, 126, 38, 0.3);
    }
  }
}

      
}
/* padding: 12px */

form {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 5px;
}

form button {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    padding: 0;
    font-size: 30px;
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0px 0px 40px 0px #C0C0C01F;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* form input[type="text"] {
    width: 109px;
    height: 48px;
    border-radius: 100px;
    background-color: #FFFFFF;
    border: none;
    box-shadow: 0px 0px 40px 0px #C0C0C01F;
    outline: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    border: 2px solid red;
} */

.recommendation_box {
    display: flex;
    flex-direction: column;
    margin-top: 90px;


    h2 {
        font-weight: 600;
        font-size: 28px;
        line-height: 36px;
        letter-spacing: 0%;
        text-align: center;
        color: #272727;
        margin-bottom: 25px;
    }

    .recommendation_box_cards {
        display: flex;
        flex-direction: row;
        gap: 20px;



        

        .card_recommendation {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 360px;
            height: 304px;
            border: 1px solid #F6F6F6;
            box-shadow: 0px 0px 40px 0px #C0C0C01F;
            border-radius: 12px;
            border-width: 1px;
            padding: 12px;

            .image-circle {
                position: relative;
                width: 100%;
                aspect-ratio: 1 / 1; /* квадратная форма */
                border-radius: 20px;
                overflow: hidden;

                img {
                    width: 19px;
                    height: 17px;
                }
              }
              
              .image_box {
                width: 100%;
                height: 100%;
              }
              
              .image_box img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;


              }
              
              .wish_list_circle {
                position: absolute;
                top: 10px;
                right: 10px;
                background-color: white;
                border-radius: 50%;
                padding: 6px;
                display: flex;
                align-items: center;
                justify-content: center;
                box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
                width: 32px;
                height: 32px;
              }
              
              .wish_list_circle img {
                width: 25px;
                height: 25px;
              }
              
              .name-weight {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                width: 100%;
    
                h3 {
                    font-weight: 600;
                    font-size: 20px;
                    line-height: 100%;
                    letter-spacing: 0%;
                    color: #201E1E;
                }
    
                span {
                    font-weight: 500;
                    font-size: 14px;
                    line-height: 100%;
                    letter-spacing: 0%;
                    color: #959595;
                }
            }
            .price {
                width: 100%;
                text-align: right;
    
                span {
                    font-weight: 600;
                    font-size: 16px;
                    line-height: 100%;
                    letter-spacing: 0%;
                    color: #201E1E;
                }
            }
    
            button {
                width: 336px;
                height: 40px;
                border-radius: 12px;
                padding: 10px;
                border: 1px solid #F07E26;
                background-color: transparent;
                font-weight: 600;
                font-size: 16px;
                line-height: 100%;
                letter-spacing: 0%;
                color: #F07E26;
                cursor: pointer;
            }
        }
    }
}

.footerLogoText {
    .footerLogoSize {
        width: 225px;
        height: 85px;
    
    }
    p {
        font-weight: 500;
        font-size: 16px;
        line-height: 26px;
        letter-spacing: 0%;
        color: #363434;
        margin-top: 16px;
    }
}

.infoFooter {
    span {
        font-weight: 700;
        font-size: 20px;
        line-height: 28px;
        letter-spacing: 0%;
        color: #B6B6B6;
    }

    a {
        text-decoration: none;
        font-weight: 500;
        font-size: 18px;
        line-height: 26px;
        letter-spacing: 0%;
        color: #363434;
    }
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin-top: 60px;
    background-color: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 32px;

    .infoFooter {
        display: flex;
        flex-direction: row;
        gap: 50px;

        .numberMail {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .socialIconsLinks {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
    }

}

.underFooter {
    box-sizing: border-box;
    padding-right: 160px;
    padding-bottom: 10px;
    padding-left: 160px;
    padding-top: 10px;
    background-color: #FFFFFF;
    position: relative;

    span {
        font-weight: 500;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: right;
        color: #B5B5B5;
    }

    .line {
        position: absolute; 
        left: 0;
        right: 0;
        top: -2px;
        width: 100%;
        height: 2px;
        background-color: #B5B5B5;
        border: none; 
    }
}


.oneLevelmgText {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.oneLevelmgText a {
    display: flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
}

.oneLevelmgText img {
    width: 24px;
    height: 24px;
}

.numberMail a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.numberMail a:hover {
    color: #F07E26;
    text-shadow: 0 1px 6px rgba(240, 126, 38, 0.4);
}

.oneLevelmgText a {
    display: flex;
    align-items: center;
    gap: 8px; 
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #363434;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.oneLevelmgText a:hover {
    color: #F07E26;
    text-shadow: 0 1px 6px rgba(240, 126, 38, 0.4);
}

.oneLevelmgText img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.oneLevelmgText a:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 10px rgba(240, 126, 38, 0.5));
}

@media (max-width: 768px) {
    .navbar {
        max-width: 100% !important;
        border-radius: 0px;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important; 
        right: 0 !important;
        padding: 20px !important;
        margin: 10px !important;
        border: none; /* убираем бордер */
        border-image: none;
        background: transparent; /* полностью прозрачный фон */
        backdrop-filter: none; /* убираем размытие */
        box-shadow: none; /* убираем тень */
    }

    .sidebar {
        display: block !important;
    }

    .openbtn {
        display: block !important;
    }

    .overlaytus {
        display: block !important;
    }

    .othercontrols {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .navbar {
        width: 100% !important;
        border-radius: 0;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        right: 0 !important;
        border: none;
        border-image: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        margin: 0 auto !important;
        justify-content: space-between;
        backdrop-filter: blur(7.699999809265137px);
        position: fixed;
        padding: 20px !important;
        margin-left: 10px !important;
    }

    .sidebar {
        display: block !important;
    }

    .openbtn {
        display: block !important;
    }

    .overlaytus {
        display: block !important;
    }

    .othercontrols {
        display: none !important;
    }
}



@media (max-width: 480px) {
    .navbar {
        padding: 12px !important;
        margin: 0 6px 0 6px !important;
    }
}

@media (max-width: 768px) {
    footer {
        flex-direction: column; /* Меняем направление на вертикальное */
        align-items: flex-start;
        padding-top: 40px;
    }

    .footerLogoText {
        text-align: start !important;
        margin-bottom: 20px;
        padding: 15px !important;

        p {
            text-align: start;

            br {
                display: none;
            }
        }
    }

    .footerLogoSize {
        width: 180px; 
        height: 70px;

        p {
            font-size: 14px;
            line-height: 22px;
            color: #363434;
            margin-top: 10px;
            text-align: center;
        }
    }



    .infoFooter {
        display: flex;
        flex-direction: column !important;
        gap: 20px;
        margin-top: 20px;
        padding: 20px;
    }

    .socialIconsLinks, .numberMail {
        display: flex;
        flex-direction: column;
        gap: 15px;

        span {
            text-align: start;
        }
    }

    .oneLevelmgText a {
        font-size: 16px;
    }

    .underFooter {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        padding-bottom: 20px;

        span {
            text-align: center;
            font-size: 12px !important;
        }
    }
    .recommendation_box {
        display: none;
    }
        .size {
        max-width: none;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
        .page-part {
        display: flex !important;
        flex-direction: row !important;
        justify-content: start !important;
        align-items: center !important;
        padding: 0 !important;
        padding-bottom: 20px !important;
        gap: 5px !important;

    p,
    a {
        font-size: 14px;
        line-height: 20px;
    }

    p span,
    a span {
        font-size: 14px;
        line-height: 20px;
    }

    p h5,
    a h5 {
        font-size: 14px;
        line-height: 20px;
    }
    }

        .head-total-price {

        h2, span {
            font-size: 25px !important; 
        }

    }
    .purchases-list {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .column-name {
        font-size: 16px !important;
        line-height: 22px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .purchases-list .image-name-weight {
        flex-direction: row !important;
        align-items: center !important;
        text-align: center !important;
                    
            /* !!!!!!!!!!!!!!!!!!!!!!!! */
            max-width: 100%; 
            overflow: hidden;
            /* !!!!!!!!!!!!!!!!!!!!!!!! */

    }

    .purchases-list .image-box {
        width: 120px !important;
        height: auto !important;

    }

    .purchases-list .text-box h3 {
        font-size: 20px !important;
        line-height: 28px !important;
    }

    .purchases-list .text-box span {
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .purchases-list .put_price_here span {
        font-size: 20px !important;
        line-height: 28px !important;
        text-align: center !important;
        display: block !important;
    }

    .purchases-list .edit-container {
        text-align: center !important;
        margin-right: 0 !important;
    }

    form {
        flex-direction: row !important;
        justify-content: center !important;
    }

    form input[type="text"],
    form button {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }

    form input[type="text"] {
        width: 120px !important;
        font-size: 16px !important;
    }

    .payment-check-button {
        justify-content: center !important;
    }

    .payment-check-button button {
        width: 100% !important;
        max-width: 280px !important;
        height: 50px !important;
        font-size: 16px !important;
    }
      .purchases-list .column-name {
    display: none;
  }
    .quatity-of-products,
  .put_price_here,
  .edit-container {
    margin-top: 10px !important;
  }

  /* Обёртка — родительский контейнер, куда помещены эти блоки */
  .purchases-list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .quatity-of-products {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
  }

  .put_price_here {
    font-weight: bold !important;
    flex: 0 0 auto !important;
  }

  .edit-container {
    flex: 0 0 auto !important;
  }

  .quatity-of-products form {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
  }


  .quatity-of-products button {
    width: 100% !important;
    height: 30px !important;
    
  }

  .edit-container button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    
  }

  .edit-container img {
    width: 24px !important;
    height: 24px !important;
  }

  .payment-check-button {
    margin-top: 30px;
  }

  .line-for-mobile {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #F07E26;
    margin: 15px;
  }
}

@media (min-width: 1024px) and (max-width: 1024px) {

    .recommendation_box_cards {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
        .card_recommendation {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            width: 260px !important;
            height: 304px;
            border: 1px solid #F6F6F6;
            box-shadow: 0px 0px 40px 0px #C0C0C01F;
            border-radius: 12px;
            border-width: 1px;
            padding: 12px;


            button {
                width: 236px !important;
                height: 40px;
                border-radius: 12px;
                padding: 10px;
                border: 1px solid #F07E26;
                background-color: transparent;
                font-weight: 600;
                font-size: 16px;
                line-height: 100%;
                letter-spacing: 0%;
                color: #F07E26;
                cursor: pointer;
            }
        }
}

.cart-item {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
  margin-bottom: 15px;
  background-color: #fff;
  transition: transform 0.2s ease;
  min-height: 160px;
  flex-wrap: wrap;
  width: 100%; /* По умолчанию — на всю ширину */
  max-width: 100%;
  box-sizing: border-box;
}

.cart-item:hover {
  transform: scale(1.01);
}

.cart-item img {
  width: 140px;
  height: 140px; /* Сделай фиксированным, чтобы не прыгало */
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0; /* Не уменьшать */
}

.product-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* равномерно */
  gap: 25px;
  flex-grow: 1;
  align-items: center;
}

.product-info .info-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 100%; /* Вытягиваем по высоте */
}

.info-column {
    width: 100%;
}

.product-info h4,
.product-info p {
  margin: 0;
  font-size: 25px;
  color: #444;
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-info h4 {
  font-size: 25px;
  font-weight: 700;
  color: #222;
}

.product-info .price {
  color: #F07E26;
  font-weight: 700;
  font-size: 25px;
}

.remove-btn {
  padding: 10px 16px;
  font-size: 25px;
  background-color: #ff4d4d;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
  align-self: center; /* Центрируем кнопку */
  
}

.remove-btn:hover {
  background-color: #d43c3c;
}

@media (max-width: 768px) {
    .cart-item {
        display: flex !important;
        flex-direction: column !important;
        max-width: 90%;
        align-items: center;
        justify-content: center;
    }

    .product-info {
        display: flex;
        flex-direction: column; 
    }
    .remove-btn {
        width: 100% !important;
    }
}