@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .hikashop_checkout_cart table td {
    min-height: 25px;
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 0% !important;
  }
 
    .hkc-md-12:has(#hikashop_checkout_cart_1_9) {
                 .hikashop_checkout_cart table td::before {
                display: block;
                background:transparent;
                color:#0d0d0d;               
                }
    }
    .hikashop_checkout_cart table td:has(.productNameBlock)
    .productNameBlock {
        display: block;
        background:#0d0d0d;
        color:#fff;
        width:fit-content;
        padding-inline: 5px;
        width:71px;
        margin-bottom: 5px;
        
        &::before {
        position: absolute !important;
        top:0;
            left:71px;
        width: 0px;
        content:'';
   height: 0px;
   border-style: solid;
   border-width: 27px 27px 0 0;
   border-color: #0d0d0d transparent transparent transparent;
   transform: rotate(0deg);
    }
    }
    
}
@media screen and ( width < 1200px ) {
    .view-checkout {
        #sp-main-body .container {
          max-width:calc(100% - 2rem);
            padding-inline:0 !important;
        }
    }
}
@media screen and ( width < 1042px ) {
    .view-checkout {
        #hikashop_checkout {
          gap: 1rem;

        .hikashop_cart_product_image_thumb {
            margin-left:5px;
        }
              #hikashop_checkout_cart_1_4 {
                    .row0, .row1 {
                        grid-template-columns: 95px 1fr 120px !important;
                        grid-gap: 1rem;
                    }
                }
    }
       
           .Showit {
               display:flex;
               gap:1rem;
               justify-content: start !important;
               .hikashop_cart_subtotal_title, .hikashop_cart_shipping_title {
                   width:132px;
                   span {
                       padding-left:0 !important;
                   }
               }
           }
        
    }
  
}
@media screen and ( width < 1024px ) {
    .view-checkout {
        #hikashop_checkout {
         display:grid;
            grid-template-columns: 1fr;  
            
            & > div:nth-of-type(1) {
                margin-bottom:1rem;
            }
        }
        .checkoutBottomButtonInfo {
            display:none !important;
        }
        .shippingRow {
            margin-top:0.5rem;
        }
    }
    .shippingRow, .subTotalRow {
        border:none !important;
        
        td {
            display:flex !important;
            gap:1rem;
            
            span {
                display:block;
           }
            
            &::before {
                position:relative;
            left: 0px;
    padding-right: 0px;
    top: 0;
    width: 130px;
            display:block;
        }
        }         
    }    
}
@media screen and ( width < 797px ) {
    .view-checkout {
      & .hikashop_checkout_shipping_address_block, #hikashop_checkout_coupon_1_3 .input-group {
        display: grid;
          gap:1rem;
        grid-template-columns: 1fr !important;
        align-items: center;
          
          .hika_edit.num1 {
              text-align:left;
          }
          .btn.btn-primary {
              margin-inline:0 !important;
          }
          
      }
          & #hikashop_checkout_payment_1_2 {
           display: grid !important;
          gap:0rem;
        grid-template-columns: 1fr !important;
        align-items: center;
              .hikashop_checkout_loading_elem, .hikashop_checkout_loading_spinner {
                  display:none !important;
              }
              .hika_payment_field.hikashop_checkout_payment_block {
                  grid-column: inherit !important;
                  grid-row: inherit !important;
                  select {
                      margin-bottom:0 !important;
                  }
              }
          }
     }
}
@media screen and ( width > 760px ) {
    .productNameBlock {
        display:none !important;
    }
}
@media screen and ( width < 448px ) {
    .view-checkout {
        .hikashop_checkout_page.hikashop_checkout_page_step1 > div:nth-of-type(1) .hikashop_checkout_cart .row1, .hikashop_checkout_page.hikashop_checkout_page_step1 > div:nth-of-type(1) .hikashop_checkout_cart .row0 {
              display: flex;
              flex-flow: row wrap;
            margin-bottom: 2rem;
            }
        .hikashop_cart_product_image_value {
            max-width:100px;
        }
        .hikashop_cart_product_name {
            padding-inline: 2vw;
        }
          .hikashop_checkout_cart .hikashop_product_price_full {
            text-align: left;
            min-height: 20px;
            padding-inline:2vw;
            padding-top: 3px;
            display: inline !important;
          }
        .hkc-md-12 {
            padding-inline:0;
        }
        .hikashop_checkout_page.hikashop_checkout_page_step1 > div:nth-of-type(1) {
              padding: 10px;
            box-sizing:border-box;
            }
        #hikashop_checkout {
            .hk-row-fluid {
               max-width: calc(100% - 2rem);
               margin-inline: auto;
            }
        }
    }
}
@media screen and ( width < 502px ) {
    #placeOrderButtonThree {
        margin-top:2rem;
    }
}

@media screen and ( width < 466px ) {
   /*.view-cart {
      & #hikashop_show_cart_form {
        & tr {
          grid-template-columns: 30px 1fr !important;
            grid-template-rows:60px 1fr;
        }
      }
    }*/
    .view-cart {
      & #hikashop_show_cart_form {
        & tr {
          grid-template-columns: 30px 1fr !important;
        grid-template-rows: 1fr 40px;
        }
          .priceHeader {
              display:none;
          }
          .hikashop_product_price::before {
              content:'Price: ';
              
          }
          .cartPartInfo, .cartProductQuantityBoxle {
              margin-left:auto;
              & > div {
                  justify-content: flex-end;
              }
          }
          .hikashop_product_price {
             border-bottom: solid 1px #ddd;
              padding-bottom: 10px;
            }
          .hikashop_product_price_full {
              text-align: right;
              display: inline-block;
            }
          td[data-title="Total price"] {
              display: block;
           grid-area: 2 / 2;
              border-bottom:none;
          }
      }
    }
}
@media screen and ( width < 383px ) {
    .view-cart {
        & #hikashop_show_cart_form {
            #productNameBox .hikashop_cart_product_image {
                width:50px !important;
                height:50px !important;
            }
        }
    }
    
}
@media screen and ( width < 380px ) {
    .view-checkout {
        #sp-main-body {
            #sp-component {
                padding-left:0;
                .hk-row-fluid {
        max-width: calc(100% - 4rem);
        margin-inline: auto;
      }
            }
        }
    }
}

