
.category-page-body {
    display: grid;
    grid-template-columns: 273px auto;
    gap: 10px;
    grid-template-areas:
        "A A"
        "B C"
        "S S";
}
@media (max-width: 1000px) {
    .category-page-body {
      display: grid;
      gap: 10px;
      grid-template-columns: 59px auto;
    
      /* ! */
      grid-template-areas:
        "A A"
        "B B"
        "C C"
        "S S";
    }
  }
.product-page-header {
    grid-area: A;
    display: grid;
    max-width: 100%;
    background: var(--color-bg-box);
    border: var(--color-box-border);
    box-shadow: var(--box-shadow-externa);
    width: -webkit-fill-available;
    padding: 5px;
    border-radius: 7px;
    grid-template-columns: 266px auto;
    gap: 10px;
    grid-template-areas:
        "img text";
}
.product-page-text {
    display: grid;
    grid-template-rows: auto auto;
    gap: 10px;
    grid-template-areas: 
    "title"
     "descr";
}
.product-page-img img {
    width: 256px;
    height: 115px;
    border-radius: 10px;
    box-shadow: var(--box-shadow-interna);
    background-color: var(--color-bg-box-secondary-1);
    padding: 5px;
    float: left;
}

/* .product-page-header-title {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
} */

.product-page-title {
    grid-area: title;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    color: var(--color-text-main);
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-page-descr {
    grid-area: descr;
    font-weight: 500;
    font-size: 14px;
    line-height: 13px;
    color: var(--color-text-main);
    padding: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}



.product-page-left {
    grid-area: B;
    display: flex;
    width: 271px;
    gap: 10px;
    align-items: start;
    flex-direction: column;
}


.product-page-right {
    position: relative;
    grid-area: C;
    max-width: 100%;
    display: flex;
    max-width: 100%;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
}


@media screen and (max-width: 700px) {
    .body_pointer {
        cursor: pointer;
    }
}

/* конец */

.product-page-img {
    position: relative;
    grid-area: img;
}







@media (max-width: 1000px) {
    .product-page-left {
        display: grid;
        position: relative;
        grid-template-areas: "checkbox sort categories_menu";
        grid-template-rows: auto;
        grid-template-columns: 140px 170px auto;
        width: 100%;
    }
    
    .product-page-sort {
        display: flex;
        gap: 5px;
        justify-content: space-between;
    }

   
    

    .product-page-right {
        max-width: 100%;
    }

    .product-page-body {
        flex-wrap: wrap;
    }


 
}

@media (max-width: 600px) {
    .product-page-left {
        display: grid;
        position: relative;
        grid-template-areas: 
        "categories_menu categories_menu"
        "checkbox sort";
        grid-template-rows: auto;
        grid-template-columns: 140px auto;
        width: 100%;
    }
    .product-page-header {
        position: relative;
        grid-template-columns: auto;
        gap: 0px;
        grid-template-areas:
        "img"
        "title"
        "descr";
    }

    .product-page-img img {
        width: calc(100% - 10px);
        height: auto;
        float: none;
    }

    .product-page-right {
        justify-content: center;
    }

    .product-page-text {
        -webkit-line-clamp: 4;
        padding: 0px 5px 0px 5px;
        position: absolute;
        bottom: 20px;
        right: 10px;
        left: 10px;
        gap: 0px;
        
    }
    .product-page-title {
        grid-area: title;
        line-height: 28px;
        padding: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 19px;
        font-weight: bold;
        letter-spacing: 0.1ch;
        color: white;
        text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
        text-transform: uppercase;
    }

    .product-page-descr {
        padding: 0px 5px 0px 5px;
        font-weight: bold;
        letter-spacing: 0.1ch;
        color: white;
        text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
        text-transform: uppercase;
        font-size: 12px;
    }
    
    .gradient {
        position: absolute;
        
        top: 5px;
        right: 5px;
        left: 5px;
        bottom: 5px;
        height: calc(100% - 12px);
        width: calc(100% - 10px);
        background: linear-gradient(rgba(0, 0, 0, 0), rgb(3 45 74) 100%);
        border-radius: 0px 0px 8px 8px;
    }
}

.general_category {
    color: var(--color-text-main);
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    width: 100%;
    gap: 5px;
    flex-wrap: wrap;
    background: var(--color-bg-box-secondary);
    box-shadow: var(--box-shadow-interna);
    padding: 5px;
    border-radius: 8px;
}

.seo_description {
    grid-area: S;
    padding: 10px;
    line-height: normal;
    background: var(--color-bg-box);
    box-shadow: var(--box-shadow-externa);
    border-radius: 8px;
}