@media (max-width: 1024px) {
  .login-wrapper {
    flex-direction: column;
    gap: 20px;
}

.login-box .readmore {
    width: 100%;
}

	form.checkout_coupon.woocommerce-form-coupon {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    top: auto;
}
	
  form.checkout.woocommerce-checkout {
    flex-direction: column;
  }

  input#reg_email {
    width: 100%;
  }

  div#order_review {
    width: 100%;
    padding-top: 0;
  }

  .row-container.shop-cart {
    display: flex;
    row-gap: 40px;
    padding: 40px 0px;
    flex-direction: column;
  }

	.shop-cart .cart_totals table *{
		font-size: 13px !important;
		line-height: 18px !important;
	}

	#shipping_method p.shipping-method-description{
		font-size: 10px !important;
		line-height: 14px !important;
		left: 40px;
	}

	.shipping_method, .shipping_method::before{
		width: 20px !important;
		height: 20px !important;
	}

  .page-template-account-template .woocommerce {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  #page {
    padding-top: 0;
  }

  nav.woocommerce-MyAccount-navigation {
    width: 100%;
  }
  div#customer_login {
    flex-direction: column;
  }

  form.woocommerce-form.woocommerce-form-register.register {
    width: 100%;
    margin: 0 auto;
  }
	
	section.woocommerce-order-details table.shop_table.woocommerce-table--order-details.order_details tbody tr {
    flex-wrap: wrap;
    display: flex !important;
    align-items: center;
}

td.woocommerce-table__timeline.timeline {
    flex: 0 0 100%;
    display: flex;
}

section.woocommerce-order-details {
    display: flex;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    display: flex;
    flex-direction: column;
}

td.woocommerce-table__product-name.product-name {
    flex: 0 0 100%;
}

td.woocommerce-table__product-total.product-total {
    flex: 0 0 100%;
    font-weight: bold;
}

.order-product-thumbnail {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.item-timeline-step::before {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 10px;
    left: auto !important;
}

.item-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.woocommerce-order-received tfoot {
    display: flex;
    flex-direction: column;
}

section.woocommerce-order-details tfoot td {
    text-align: right;
}
}

@media (max-width: 980px) {
  form.woocommerce-form.woocommerce-form-login.login {
    margin: 0 auto;
  }

  input#username {
    width: 100%;
  }

  .woocommerce-cart .cart_totals {
    margin: 0 auto;
  }

  input#password {
    width: 100%;
  }

  .u-column1.col-1 h2 {
    margin: 0 auto;
  }

  .u-column1.col-1 {
    margin-bottom: 20px;
  }

  .u-column2.col-2 h2 {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
    .shop-cart form table.shop_table.shop_table_responsive td.product-image{
        display: none;
    }
  form.checkout_coupon.woocommerce-form-coupon {
    flex-direction: column;
}

form.checkout_coupon.woocommerce-form-coupon div.clear {
  display: none;
}

  .shop-cart td.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .shop-cart .coupon {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  input#coupon_code {
    width: 100%;
  }

  .shop-cart .cart_totals {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shop-cart tr.woocommerce-cart-form__cart-item.cart_item {
    align-items: center;
  }

  .shop-cart .product-name a {
    font-size: 16px;
  }

  .shop-cart .product-name span {
    font-size: 16px;
  }

  .shop-cart table.shop_table.shop_table_responsive td.product-name {
    padding: 10px;
    overflow: hidden;
  }

  .shop-cart form table.shop_table.shop_table_responsive td,
  .shop-cart form table.shop_table.shop_table_responsive th {
    padding: 0;
  }
}

/* Order Received Responsive START */
@media (max-width: 1024px) {
  .thank-you-page {
    flex-direction: column;
  }

  .thank-you-message {
    width: 100%;
  }

  .order-right {
    width: 100%;
  }

  .woocommerce-order-received #primary::before {
    content: "";
    background: whitesmoke;
    position: absolute;
    bottom: 0;
    top: unset;
    right: 0;
    width: 100%;
    height: 50vh;
  }

  .woocommerce-order-received
    table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    margin: 0 auto;
    width: 100%;
  }

  .order-again {
    margin: 10px auto !important;
  }
}

@media (max-width: 640px) {
  .item-timeline {
    flex-direction: column;
  }
	
	.checkout .form-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  margin: auto;
  margin: 0;
}
}

@media (max-width: 440px) {
  .order-product-thumbnail {
    flex-direction: column;
    justify-content: center;
  }

  .order-product-thumbnail img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .order-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .thank-you-message svg.header__logo.header__logo--desktop {
    width: 100%;
  }

  section.woocommerce-customer-details {
    padding: 0;
  }

  .order-general-links {
    flex-direction: column;
  }
}

/* Order Received Responsive END */
