/* ==========================================================
   CART PAGE — TRANSPARENT / THEME-AGNOSTIC
   Sidebar disabled
========================================================== */

/* ----------------------------------------------------------
   1) Main cart container
---------------------------------------------------------- */
body.no-main-bg .content-wrapper.cart-wrapper {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.75rem 2rem;

  /* true transparency */
  background: transparent !important;

  /* structure */
  border-radius: 16px;

  /* depth without assuming background color */
  box-shadow:
    0 0 0 1px rgba(128, 128, 128, 0.25),
    0 20px 40px rgba(0, 0, 0, 0.18);
}

/* ----------------------------------------------------------
   2) Title
---------------------------------------------------------- */
body.no-main-bg .cart-title {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* ----------------------------------------------------------
   3) Table styling
---------------------------------------------------------- */
body.no-main-bg .cart-table {
  background: transparent !important;
  border-collapse: separate;
  border-spacing: 0;
}

body.no-main-bg .cart-table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
  background: transparent;
}

body.no-main-bg .cart-table td,
body.no-main-bg .cart-table th {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  
}
html[data-theme='dark'] .t-body .cart-table th{
  background: transparent !important;
}
[data-theme='dark'] th{
  color: #ffffff;
}
[data-theme='dark'] .t-body{
  color: #ffffff;
  background: transparent !important;
}
.checkout-btn {
  background-color: rgb(0, 94, 0);
  border-color: rgb(0, 61, 0);
  color: #ffffff;
}
.checkout-btn:hover {
  background-color: rgb(0, 29, 0);
  border-color: rgb(94, 94, 94);
  color: #ffffff;
}
@media (max-width:480px) {
  .checkout-btn {
    max-width: fit-content;
    font-size: 12px;
  }
}
/* Row interaction */
[data-theme = 'dark'] body.no-main-bg .cart-table tbody tr th{
  background: transparent !important;
  transition: background 0.2s ease;
  
}

body.no-main-bg .cart-table tbody tr:hover {
  background: rgba(128, 128, 128, 0.08);
}

/* ----------------------------------------------------------
   4) Quantity input
---------------------------------------------------------- */
body.no-main-bg .qty-input {
  width: 72px;
  text-align: center;
  font-weight: 600;
  background: transparent !important;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 8px;
  color: black;
}

/* ----------------------------------------------------------
   5) Buttons
---------------------------------------------------------- */
body.no-main-bg .update-btn,
body.no-main-bg .remove-link {
  border-radius: 8px;
}

/* ----------------------------------------------------------
   6) Footer (total + actions)
---------------------------------------------------------- */
body.no-main-bg .cart-total-wrapper {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(128, 128, 128, 0.25);
}

body.no-main-bg #cart-total-amount {
  font-size: 1.75rem;
  font-weight: 900;
}

/* ----------------------------------------------------------
   7) Empty state
---------------------------------------------------------- */
body.no-main-bg .empty-text {
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1.1rem;
  opacity: 0.7;
}

/* ----------------------------------------------------------
   8) Mobile polish
---------------------------------------------------------- */
@media (max-width: 768px) {
  body.no-main-bg .content-wrapper.cart-wrapper {
    margin: 1rem;
    padding: 1.25rem;
  }

  body.no-main-bg .cart-title {
    font-size: 1.5rem;
  }

  body.no-main-bg .cart-total-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  body.no-main-bg .content-wrapper.cart-wrapper {
    margin: 1rem;
    padding: 1.25rem;
  }

  body.no-main-bg .cart-title {
    font-size: 1.5rem;
  }

  body.no-main-bg .cart-total-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================
   FORCE TBODY TO BE FULLY TRANSPARENT (ALL THEMES)
========================================================== */

body.no-main-bg .cart-table tbody,
body.no-main-bg .cart-table tbody tr,
body.no-main-bg .cart-table tbody td,
body.no-main-bg .cart-table tbody th {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit;
}