.product-info-main .box-tocart .fieldset {
    display: inline-flex;
    flex-wrap: wrap;
    max-width: 100%;
}
.product-info-main .box-tocart .fieldset .actions {
    display: inline-flex;
}

.product-info-main .box-tocart .fieldset .actions button {
    margin-right: 10px;
}
.catalog-category-view .products-grid .product-items .product-item,
.catalogsearch-result-index .products-grid .product-items .product-item{
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.catalog-category-view .products-grid .product-items .product-item .product-item-actions .list-design-button,
.catalogsearch-result-index .products-grid .product-items .product-item .product-item-actions .list-design-button{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 40px;
    margin-bottom: 7px !important;
    text-align: center;
}
.catalog-category-view .products-grid .product-items .product-item .product-item-actions .actions-primary,
.catalogsearch-result-index .products-grid .product-items .product-item .product-item-actions .actions-primary{
    display: inline-block;
    margin-bottom: 0;
    width: calc(100% - 38px);
}
.catalog-category-view .products-grid .product-items .product-item .product-item-actions .action,
.catalogsearch-result-index .products-grid .product-items .product-item .product-item-actions .action{
    margin: 0;
}
.catalog-category-view .products-grid .product-items .product-item .product-item-actions .actions-primary .action,
.catalogsearch-result-index .products-grid .product-items .product-item .product-item-actions .actions-primary .action{
    width: calc(100% - 47px);
    text-align: center;
}
.catalog-category-view .products-grid .product-items .product-item .product-item-actions .actions-primary + .actions-secondary,
.catalogsearch-result-index .products-grid .product-items .product-item .product-item-actions .actions-primary + .actions-secondary{
    display: inline-block;
    border: 1px solid #7d7d7d;
    border-radius: 8px;
}
@media screen and (min-width:769px){
    .catalogsearch-result-index .column.main{
        width:100%;
    }
}

/* Add to card page CSS start here */
.catalog-product-view .product-add-form .actions{
    flex-wrap: wrap;
}
.catalog-product-view .product-add-form .actions .paypal.checkout{
    display: flex;
}
.catalog-product-view .product-add-form .actions .paypal.before:before{
    min-width:70px
}
.catalog-product-view .product-add-form .actions .product-page-designer{
    width: 100%;
    margin-top: 10px;
    max-width: 340px;
}
.catalog-product-view .product-add-form .actions .product-page-designer button{
    width: 100%;
    text-align: center;
}
/* .catalog-product-view .product-social-links .product-addto-links a {
    background: #f75f13;
    font-family: 'Helvetica';
    font-weight: bold;
    color: #ffffff;
    display: block;
    font-size: 18px;
    line-height: 26px;
    max-width: 380px;
    text-align: left;
    border-radius: 8px;
    text-shadow: none;
    padding: 7px 20px 7px 20px;
    box-sizing: border-box;
    height: 40px;
} */


/** Added BY BYI Cart page changes **/

cart .image-container {
    text-align: center;
}
.cart .image-container a.product-item-photo {
    display: flex;
}
.cart .image-container .product-image-container{
    max-width: 100%;
    width: 80px !important;
    border: 1px solid #c8c8c8;
    margin-right: 2px;
    border-radius: 4px;
    background-color: #f8f8f8;
}

@media only screen and (max-width: 768px){
   body.checkout-cart-index #shopping-cart-table div.item div.images .product-item-photo .product-image-container{
      width: 130px !important;
   }
}
