.wc-block-cart {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.wc-block-cart-items__row {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}
.wc-block-cart-item__image img {
  width: 60px;
  height: auto;
  border-radius: 6px;
}
.wc-block-cart-item__product {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.wc-block-cart-item__product a {
  color: inherit;
  text-decoration: none;
}
.wc-block-cart-item__product a:hover {
  color: #e74c3c;
}

.wc-block-cart-item__total,
.wc-block-cart-item__price {
  font-size: 14px;
  color: #444;
  font-weight: 500;
}

.wc-block-cart__sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.wc-block-components-totals-wrapper h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.wc-block-components-button.wp-element-button {
  background: #e74c3c;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: block;
  transition: 0.3s;
}
.wc-block-components-button.wp-element-button:hover {
  background: #c0392b;
}

.wc-block-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.wc-block-cart__main {
  flex: 1 1 65%;
}

.wc-block-components-sidebar {
  flex: 1 1 30%;
  margin-left: auto;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
}

.wc-block-components-totals-coupon__form{
    display: block;
}

.wc-block-components-text-input{
    padding: 10px 0;
}
.wc-block-components-button{
    width: 100%;
}

.wc-block-components-text-input label{
    background: #fff;
}

.wc-block-components-formatted-money-amount {
    color: red;
}

.custom-thankyou-wrapper,.woocommerce-thankyou-order-received{
    text-align: center;
    background: #fff;
    border-radius: 8px;
    padding: 10px 0;
    border: 1px solid #eaeaea;
}

.woocommerce-thankyou-order-received{
    margin-top: 15px;
}
.order_details {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.woocommerce-order-details__title,.woocommerce-column__title{
    font-size: 18px;
    padding-top: 10px;
}

.woocommerce-checkout form.checkout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.woocommerce-checkout .col2-set {
    flex: 1 1 60%;
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    flex: 1 1 40%;
    background: #fff;
    padding: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
}

.woocommerce-checkout #order_review_heading {
    display: none;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    float: unset;
    width: 100%;
}

.woocommerce-shipping-fields{
    padding-top: 20px;
}

.custom-cart-content{
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .woocommerce-checkout form.checkout {
        flex-direction: column;
    }
    .woocommerce-checkout #order_review {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .custom-cart-content .woocommerce{
        margin-bottom: 90px;
    }

    .woocommerce ul.order_details li{
        padding: 10px;
    }
}

@media (max-width: 768px) {
  .wc-block-cart {
    flex-direction: column;
  }
  .wc-block-cart__main,
  .wc-block-components-sidebar {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
    .wc-block-components-sidebar-layout.wc-block-cart{
        margin-bottom: 80px;
    }

    .wc-block-cart__submit-container {
        padding: 0 10px;
    }

    .wc-block-cart-items__row,.wp-block-woocommerce-cart-order-summary-block {
        padding: 10px !important;
    }
}
