/* ================================
   CART PAGE – GENERAL
================================ */
.woocommerce {
  font-family: var(--font-irn), sans-serif;
}

.woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
}


/* ================================
   CART TABLE
================================ */

.woocommerce-cart-form__contents {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  background-color: var(--black);
}


.woocommerce-cart-form__contents td {
  border-radius: 4px !important;
  padding: 18px 12px !important;
  border: none;
  background-color: var(--bg-light);
  /* background: linear-gradient(135deg, #001816, #0d9488); */
  text-align: center;
}



.woocommerce-cart-form__contents thead tr th {
  border-radius: 4px !important;
  background-color: var(--bg-primary);
  color: #000;
  font-size: clamp(18px, 1.8vw, 3em);
  padding: 16px 12px;
  font-weight: 600;
  text-align: center !important;
  font-family: var(--font-nfs);
  vertical-align: middle;

}

tr .product-name a,
tr .woocommerce-Price-amount,
tr .product-price,
tr .woocommerce-Price-currencySymbol,
tr .quantity-with-unit,
tr.quantity-with-unit .qty-unit {
  font-family: var(--font-nhd) !important;
  font-size: clamp(14px, 1.4vw, 3em) !important;
  color: var(--black);
  text-decoration: none;
  /* vertical-align: middle !important; */

}



/* ================================
   PRODUCT THUMBNAIL
================================ */
.product-thumbnail img {
  width: 80px !important;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}


/* ================================
   QUANTITY
================================ */
.quantity-with-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-size: clamp(14px, 1.1vw, 3em); */
  /* background-color: blue; */
  text-align: center !important;
  gap: 6px;
}

.quantity-with-unit .quantity input.qty {
  width: 80px;
  height: 40px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* font-size: 14px; */
  outline: none;
  /* background-color: red; */

}

/* ================================
   REMOVE BUTTON
================================ */
.product-remove a.remove {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbeaea;
  font-size: 60px;
  transition: all 0.3s ease;
  font-family: var(--font-zba);

}

.product-remove a.remove:hover {
  background: #d63638;
  color: #fff;
}

/* ================================
   CART ACTIONS
================================ */
.cart-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.cart-actions .button {
  padding: 10px 24px;
  border-radius: 10px;
  background: var(--bg-primary) !important;
  color: #444;
  font-size: 14px;
}

.cart-actions .button:not(:disabled):hover {
  background-color: var(--bg-accent) !important;
  color: #fff;
}

/* ================================
   CART TOTALS
================================ */
.cart-collaterals {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

.cart_totals {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background-color: var(--bg-light);
}

.cart_totals h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  font-family: var(--font-nfs);
}

.cart_totals table,
.cart_totals table bdi {
  width: 100%;
  font-family: var(--font-nhd) !important;
  background-color: var(--bg-accent);
}

.cart_totals th,
.cart_totals td {
  padding: 12px 0;
  /* font-size: 14px; */
}

.cart_totals tr:not(:last-child) {
  border-bottom: 1px dashed var(--black) !important;
}

.order-total th,
.order-total td {
  font-size: 16px;
  font-weight: 700;
}




.quantity-with-unit .qty-unit {}

/* ================================
   CHECKOUT BUTTON
================================ */
.wc-proceed-to-checkout {
  margin-top: 24px;
}

.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-accent)) !important;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.checkout-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--bg-accent), var(--bg-primary)) !important;
  box-shadow: 0 8px 20px rgba(0, 115, 170, 0.3);
}




/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {

  .woocommerce-cart-form__contents thead {
    display: none;
  }

  .woocommerce-cart-form__contents tr {
    display: block;
    /* margin-bottom: 20px; */
    margin: 2em 1em;
    border-bottom: 5px double #380808;
    /* border-radius: 12px; */
    padding: 32px;
    /* background-color: blue; */
  }

  .woocommerce-cart-form__contents td {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;

    /* justify-content: center
    ; */
  }

  .product-thumbnail {
    justify-content: center;
  }

  .cart-collaterals {
    justify-content: center;
  }

  .product-remove a.remove {
    display: flex;
    margin: 0 auto !important;
  }

}