/**
 * WooCommerce cart / checkout — mobile-safe layout, empty state.
 * Brand: #9e2060 / #a31b5a (unchanged).
 */

.main-article .cart-container {
  margin: auto;
  padding: 30px;
  max-width: 1024px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  border: 4px solid #9e2060;
  box-shadow: 4px 3px 18px rgb(0 0 0 / 30%);
}

.woocommerce-cart table.cart img {
  width: 50px;
  height: auto;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: #a31b5a;
}

.woocommerce-page table.cart td.actions .input-text {
  width: 150px;
  max-width: 100%;
}

.wc_payment_method {
  line-height: 1 !important;
}

.wc_payment_method label {
  margin-left: 24px;
  position: relative;
  top: 2px;
}

/* Empty cart — readable message + CTA (not an empty bordered box) */
.macske-cart-empty {
  margin: 0;
  padding: 8px 0 4px;
  text-align: center;
}

.macske-cart-empty__title {
  margin: 0 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #9e2060;
}

.macske-cart-empty__text {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}

.macske-cart-empty .return-to-shop {
  margin: 0;
}

.macske-cart-empty .return-to-shop .button,
.macske-cart-empty .button.wc-backward {
  display: inline-block;
  padding: 12px 22px;
  background: #9e2060 !important;
  border-color: #9e2060 !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

.macske-cart-empty .return-to-shop .button:hover,
.macske-cart-empty .return-to-shop .button:focus,
.macske-cart-empty .button.wc-backward:hover,
.macske-cart-empty .button.wc-backward:focus {
  background: #7a1849 !important;
  border-color: #7a1849 !important;
  color: #fff !important;
}

.woocommerce-cart .cart-container .woocommerce-notices-wrapper:empty {
  display: none;
}

/* Cart table mobile */
@media (max-width: 767px) {
  .main-article .cart-container {
    padding: 16px 12px;
    border-width: 3px;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e8dfe4;
    border-radius: 6px;
    padding: 8px;
  }

  .woocommerce table.shop_table_responsive td,
  .woocommerce-page table.shop_table_responsive td {
    display: block;
    width: 100% !important;
    text-align: left !important;
    padding: 6px 4px !important;
  }

  .woocommerce-page table.cart td.actions .input-text {
    width: 100%;
    margin-bottom: 8px;
  }

  .woocommerce .cart .button,
  .woocommerce .cart input.button {
    width: 100%;
    margin: 4px 0;
  }

  .macske-cart-empty__title {
    font-size: 18px;
  }
}
