/* =============================================================
   Cart Page — Premium Dark Theme
   LearnSimply — #0a0f1a bg, #141924 cards, #4077f3 accent
   ============================================================= */

/* ─────────────────────────────────
   1. PAGE FOUNDATION
───────────────────────────────── */
/* remove structural wrappers added by wpr and flatten DOM, the table itself remains unaffected */
.woocommerce-cart .wpr-cart-section-table-wrap,
.woocommerce-cart .wpr-cart-section-wrap {
  display: contents !important;
}

.woocommerce-cart,
.woocommerce-cart body,
body.woocommerce-cart,
.woocommerce-cart .site-content,
.woocommerce-cart #page,
.woocommerce-cart .learnsimply-homepage-body,
.woocommerce-cart main,
.woocommerce-cart .site-main,
.woocommerce-cart .edublink-main-wrapper,
.woocommerce-cart .eb-container,
.woocommerce-cart .site-content-inner {
  background-color: #0a0f1a !important;
}

/* ALL text — soft white instead of pure white */
.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce *,
.woocommerce-cart .entry-content,
.woocommerce-cart .entry-content *,
.woocommerce-cart .page-content,
.woocommerce-cart .page-content * {
  color: #d0d4e0 !important;
  font-family: "Graphik Arabic", "IBM Plex Sans Arabic", sans-serif !important;
  box-sizing: border-box;
}

/* Content wrapper */
.woocommerce-cart .woocommerce,
.woocommerce-cart .entry-content,
.woocommerce-cart .page-content {
  background: transparent !important;
  max-width: 1100px;
  margin: 0 auto;
  padding: 130px 28px 80px;
  direction: rtl;
}

/* Hide breadcrumbs and page titles from parent theme */
.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-cart .edublink-breadcrumb-area,
.woocommerce-cart .entry-header,
.woocommerce-cart .page-title-area {
  display: none !important;
}

/* ─────────────────────────────────
   2. PAGE TITLE
───────────────────────────────── */
.woocommerce-cart .woocommerce > h1,
.woocommerce-cart .woocommerce > h2,
.woocommerce-cart .entry-title {
  color: #ffffff !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  margin-bottom: 32px !important;
  text-align: right !important;
}

/* ─────────────────────────────────
   3. WC NOTICES
───────────────────────────────── */
.woocommerce-cart .woocommerce-notices-wrapper {
  margin-bottom: 24px;
}

.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message {
  background: rgba(64, 119, 243, 0.08) !important;
  border: 1px solid rgba(64, 119, 243, 0.2) !important;
  border-top: none !important;
  border-right: 4px solid #4077f3 !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 18px 24px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.woocommerce-cart .woocommerce-info::before,
.woocommerce-cart .woocommerce-message::before {
  color: #4077f3 !important;
}

.woocommerce-cart .woocommerce-info a,
.woocommerce-cart .woocommerce-message a {
  color: #4077f3 !important;
  text-decoration: underline !important;
}

.woocommerce-cart ul.woocommerce-error,
.woocommerce-cart .woocommerce-error {
  background: rgba(249, 106, 123, 0.08) !important;
  border: 1px solid rgba(249, 106, 123, 0.2) !important;
  border-right: 4px solid #f96a7b !important;
  border-radius: 14px !important;
  color: #f96a7b !important;
  padding: 18px 24px !important;
  list-style: none !important;
  margin-bottom: 24px !important;
}

.woocommerce-cart .woocommerce-error li {
  color: #f96a7b !important;
}

/* ─────────────────────────────────
   3b. BOOTSTRAP / PARENT-THEME BACKGROUND RESET
   Prevents .table thead, th, .btn, .btn-light, .btn-danger, .card,
   .table-light, .bg-white from injecting white into the dark cart.
───────────────────────────────── */
.woocommerce-cart .table thead,
.woocommerce-cart .table thead tr,
.woocommerce-cart .table thead th,
.woocommerce-cart .table th,
.woocommerce-cart .table td,
.woocommerce-cart .table-light,
.woocommerce-cart .table-light th,
.woocommerce-cart .table-light td {
  background-color: transparent !important;
  background: transparent !important;
  color: inherit !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce-cart .btn,
.woocommerce-cart .btn-light,
.woocommerce-cart .btn-danger {
  background-color: transparent !important;
  background: transparent !important;
  border-color: transparent !important;
  color: inherit !important;
}

.woocommerce-cart .bg-white,
.woocommerce-cart .card,
.woocommerce-cart .card-body {
  background-color: transparent !important;
  background: transparent !important;
}

/* ─────────────────────────────────
   4. CART TABLE
───────────────────────────────── */
.woocommerce-cart table.shop_table,
.woocommerce-cart table.woocommerce-cart-form__contents {
  background: #141924 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden;
  width: 100%;
  margin-bottom: 0 !important;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Table header */
.woocommerce-cart table.shop_table thead {
  background: rgba(64, 119, 243, 0.04) !important;
  background-color: transparent !important;
}

/* kill Bootstrap / parent-theme white that lands on th */
.woocommerce-cart table.shop_table thead tr,
.woocommerce-cart table.shop_table thead th,
.woocommerce-cart table.shop_table th {
  background: transparent !important;
  background-color: transparent !important;
}

.woocommerce-cart table.shop_table thead th {
  color: #7a7f96 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.4px !important;
  padding: 16px 24px !important;
  border-bottom: 1px solid rgba(64, 119, 243, 0.08) !important;
  text-align: right !important;
  white-space: nowrap !important;
}

/* Table body rows */
.woocommerce-cart table.shop_table tbody tr {
  transition: background 0.25s ease !important;
}

.woocommerce-cart table.shop_table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.woocommerce-cart table.shop_table tbody tr:hover {
  background: rgba(64, 119, 243, 0.03) !important;
}

.woocommerce-cart table.shop_table td {
  padding: 20px 24px !important;
  vertical-align: middle !important;
  border: none !important;
  color: #d0d4e0 !important;
  background: transparent !important;
  font-size: 15px !important;
}

/* ─── Remove button — SVG Trash icon ─── */
.woocommerce-cart table.shop_table td.product-remove {
  width: 54px !important;
  text-align: center !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* kill any Bootstrap btn / btn-danger / btn-light white that lands on the anchor */
.woocommerce-cart table.shop_table td.product-remove a,
.woocommerce-cart table.shop_table td.product-remove a.remove {
  background: rgba(249, 106, 123, 0.06) !important;
  background-color: rgba(249, 106, 123, 0.06) !important;
}

.woocommerce-cart table.shop_table td.product-remove a.remove {
  /* Hide the × text */
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  /* Trash icon container */
  background: rgba(249, 106, 123, 0.06) !important;
  border: 1px solid rgba(249, 106, 123, 0.10) !important;
  border-radius: 12px !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  position: relative !important;
  cursor: pointer !important;
}

/* Trash SVG icon via ::after */
.woocommerce-cart table.shop_table td.product-remove a.remove::after {
  content: '' !important;
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f96a7b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
  color: transparent !important;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover {
  background: rgba(249, 106, 123, 0.14) !important;
  border-color: rgba(249, 106, 123, 0.25) !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 12px rgba(249, 106, 123, 0.12) !important;
}

.woocommerce-cart table.shop_table td.product-remove a.remove:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ff4d6a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E") !important;
}

/* remove blue border/outline around delete icon and prevent focus glow */
.woocommerce-cart table.shop_table td.product-remove a.remove {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* make coupon form card match the dark card background (no pure white)
   and avoid any light overlay behind the button */
/* this earlier rule is superseded by later more complete block but kept for
   safe margin and padding in case order changes */
.woocommerce-cart table.shop_table .coupon {
  background: #141924 !important;
  margin-top: 20px !important;
  padding: 6px 8px !important;
  gap: 8px !important;
}

/* force the coupon input to have transparent background */
.woocommerce-cart table.shop_table .coupon input#coupon_code {
  background: transparent !important;
}

/* elementor cart page wrapper flex container + order swap */
.elementor-21 .elementor-element.elementor-element-6831e288 {
  display: flex !important;
  align-items: stretch !important;
  height: auto !important;
}
.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-start {
  order: 2 !important;
  display: flex !important;
  align-items: stretch !important;
}
.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-end {
  order: 1 !important;
  display: flex !important;
  align-items: stretch !important;
}

/* elementor cart page input restyled to a darker, more suitable appearance */
.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-start .input-text {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #e8eaf0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 18px !important;
  border-radius: 14px 0 0 14px !important;
  margin-right: 8px !important;
  flex: 1 1 auto !important;
  width: auto !important;
  height: 48px !important;
  box-sizing: border-box !important;
  line-height: 48px !important;
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* button matches input height precisely */
.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-end .button {
  margin-left: 8px !important;
  padding: 0 24px !important;
  height: 48px !important;
  box-sizing: border-box !important;
  line-height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 0 14px 14px 0 !important;
  align-self: center !important;
  vertical-align: middle !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ─── Product thumbnail ─── */
.woocommerce-cart table.shop_table td.product-thumbnail {
  width: 110px !important;
  padding-left: 12px !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail a {
  display: block !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail img {
  width: 96px !important;
  height: 68px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s !important;
  display: block !important;
}

.woocommerce-cart table.shop_table td.product-thumbnail img:hover {
  transform: scale(1.06) !important;
  border-color: rgba(64, 119, 243, 0.25) !important;
}

/* ─── Product name ─── */
.woocommerce-cart table.shop_table td.product-name a {
  color: #e8eaf0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  line-height: 1.6 !important;
}

.woocommerce-cart table.shop_table td.product-name a:hover {
  color: #4077f3 !important;
}

.woocommerce-cart table.shop_table td.product-name .variation,
.woocommerce-cart table.shop_table td.product-name dl.variation {
  color: #6c7278 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}

.woocommerce-cart table.shop_table td.product-name dl.variation dt,
.woocommerce-cart table.shop_table td.product-name dl.variation dd {
  color: #7a7f96 !important;
}

/* ─── Quantity ─── */
.woocommerce-cart table.shop_table td.product-quantity input.qty,
.woocommerce-cart .quantity input.qty {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #d0d4e0 !important;
  padding: 9px 12px !important;
  text-align: center !important;
  width: 58px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s !important;
  outline: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.woocommerce-cart .quantity input.qty:focus {
  border-color: rgba(64, 119, 243, 0.4) !important;
  background: rgba(64, 119, 243, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(64, 119, 243, 0.08) !important;
}

.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #7a7f96 !important;
  border-radius: 8px !important;
  width: 32px !important;
  height: 32px !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
}

.woocommerce-cart .quantity .minus:hover,
.woocommerce-cart .quantity .plus:hover {
  background: rgba(64, 119, 243, 0.1) !important;
  border-color: rgba(64, 119, 243, 0.3) !important;
  color: #4077f3 !important;
}

/* ─── Price columns ─── */
.woocommerce-cart table.shop_table td.product-price,
.woocommerce-cart table.shop_table td.product-subtotal {
  font-size: 15px !important;
  font-weight: 600 !important;
}

.woocommerce-cart table.shop_table td.product-price .woocommerce-Price-amount,
.woocommerce-cart table.shop_table td.product-price bdi {
  color: #7a7f96 !important;
}

.woocommerce-cart table.shop_table td.product-subtotal .woocommerce-Price-amount,
.woocommerce-cart table.shop_table td.product-subtotal bdi {
  color: #e8eaf0 !important;
  font-size: 16px !important;
}

/* ─── Actions row (coupon + update) ─── */
.woocommerce-cart table.shop_table td.actions {
  padding: 20px 24px 24px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  background: rgba(64, 119, 243, 0.02) !important;
}

.woocommerce-cart table.shop_table .coupon {
  display: inline-flex;
  align-items: stretch;
  gap: 8px !important;
  flex-wrap: nowrap;
  background: #141924 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px;
  margin-top: 20px !important;
  padding: 6px 8px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.woocommerce-cart table.shop_table .coupon:focus-within {
  border-color: rgba(64, 119, 243, 0.35);
  box-shadow: 0 0 0 3px rgba(64, 119, 243, 0.08);
}

.woocommerce-cart table.shop_table .coupon label {
  display: none !important;
}

.woocommerce-cart table.shop_table .coupon input#coupon_code {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #e8eaf0 !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
  outline: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  transition: none !important;
}

.woocommerce-cart table.shop_table .coupon input#coupon_code::placeholder {
  color: #5a5f72 !important;
}

/* Coupon Apply button — blue accent */
.woocommerce-cart table.shop_table .coupon button[name="apply_coupon"] {
  background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.4 !important;
}

.woocommerce-cart table.shop_table .coupon button[name="apply_coupon"]:hover {
  background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
}

/* ─── Generic buttons (update cart, etc.) ─── */
.woocommerce-cart .button,
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[type="submit"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #999eb2 !important;
  border-radius: 12px !important;
  padding: 11px 22px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button[name="update_cart"]:hover,
.woocommerce-cart input[type="submit"]:hover {
  background: rgba(64, 119, 243, 0.08) !important;
  border-color: rgba(64, 119, 243, 0.25) !important;
  color: #d0d4e0 !important;
}

.woocommerce-cart .button:disabled,
.woocommerce-cart button:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

/* ─────────────────────────────────
   5. CART TOTALS / SUMMARY
───────────────────────────────── */
.woocommerce-cart .cart-collaterals {
  background: transparent !important;
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.woocommerce-cart .cart_totals {
  background: #141924 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  padding: 28px 32px 32px !important;
  width: 100% !important;
  max-width: 420px !important;
  float: none !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18) !important;
}

.woocommerce-cart .cart_totals h2 {
  color: #e8eaf0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(64, 119, 243, 0.08) !important;
  letter-spacing: 0.3px !important;
}

.woocommerce-cart .cart_totals table.shop_table {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border-collapse: collapse !important;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  padding: 14px 4px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  background: transparent !important;
  font-size: 14px !important;
}

.woocommerce-cart .cart_totals table.shop_table th {
  color: #7a7f96 !important;
  font-weight: 400 !important;
  text-align: right !important;
}

.woocommerce-cart .cart_totals table.shop_table td {
  text-align: left !important;
  color: #c5c8d6 !important;
}

.woocommerce-cart .cart_totals table.shop_table td bdi,
.woocommerce-cart .cart_totals table.shop_table td .woocommerce-Price-amount {
  color: #c5c8d6 !important;
  font-weight: 500 !important;
  border: none !important;
}

/* Fix: Remove white borders from all price elements in cart totals */
.woocommerce-cart .cart_totals span,
.woocommerce-cart .cart_totals bdi, 
.woocommerce-cart .cart_totals .amount,
.woocommerce-cart .cart_totals .woocommerce-Price-amount,
.woocommerce-cart .cart_totals .woocommerce-Price-currencySymbol {
  border: none !important;
  border-color: transparent !important;
}

/* Total row */
.woocommerce-cart .cart_totals table.shop_table .order-total th {
  color: #e8eaf0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding-top: 22px !important;
  border-bottom: none !important;
  border-top: 1px solid rgba(64, 119, 243, 0.1) !important;
}

.woocommerce-cart .cart_totals table.shop_table .order-total td {
  font-size: 22px !important;
  font-weight: 700 !important;
  padding-top: 22px !important;
  border-bottom: none !important;
  border-top: 1px solid rgba(64, 119, 243, 0.1) !important;
}

.woocommerce-cart .cart_totals .order-total .woocommerce-Price-amount,
.woocommerce-cart .cart_totals .order-total bdi {
  color: #4077f3 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  border: none !important;
  border-color: transparent !important;
}

/* Discount row */
.woocommerce-cart .cart_totals .cart-discount td,
.woocommerce-cart .cart_totals .cart-discount th,
.woocommerce-cart .cart_totals .cart-discount bdi,
.woocommerce-cart .cart_totals .cart-discount .woocommerce-Price-amount {
  color: #18a963 !important;
  border: none !important;
  border-color: transparent !important;
}

/* Shipping */
.woocommerce-cart .cart_totals .shipping-calculator-button {
  color: #4077f3 !important;
  font-size: 13px !important;
}

/* Proceed to checkout */
.woocommerce-cart .wc-proceed-to-checkout {
  padding: 0 !important;
  margin-top: 24px !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .cart_totals .checkout-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 15px 24px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 4px 18px rgba(64, 119, 243, 0.22) !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .cart_totals .checkout-button:hover {
  background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(64, 119, 243, 0.32) !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active,
.woocommerce-cart .cart_totals .checkout-button:active {
  transform: translateY(0) !important;
}

/* ─────────────────────────────────
   6. EMPTY CART STATE
───────────────────────────────── */
.woocommerce-cart .cart-empty,
.woocommerce-cart .woocommerce p.cart-empty {
  color: #999eb2 !important;
  font-size: 20px !important;
  text-align: center !important;
  padding: 80px 0 24px !important;
  line-height: 1.6 !important;
}

.woocommerce-cart .woocommerce .return-to-shop {
  text-align: center !important;
  padding: 0 0 80px !important;
}

.woocommerce-cart .woocommerce .return-to-shop .wc-backward,
.woocommerce-cart .woocommerce .return-to-shop a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 16px 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(64, 119, 243, 0.25) !important;
  margin-top: 12px !important;
}

.woocommerce-cart .woocommerce .return-to-shop .wc-backward:hover,
.woocommerce-cart .woocommerce .return-to-shop a:hover {
  background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(64, 119, 243, 0.35) !important;
}

/* ─────────────────────────────────
   7. CROSS-SELLS
───────────────────────────────── */
.woocommerce-cart .cross-sells {
  clear: both;
  margin-top: 48px;
}

.woocommerce-cart .cross-sells h2 {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 24px !important;
}

.woocommerce-cart .cross-sells ul.products li.product {
  background: #141924 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s !important;
}

.woocommerce-cart .cross-sells ul.products li.product:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(64, 119, 243, 0.25) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}

.woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title {
  color: #ffffff !important;
}

.woocommerce-cart .cross-sells ul.products li.product .price {
  color: #4077f3 !important;
}

/* ─────────────────────────────────
   8. TUTOR LMS CUSTOM CART (tutor/ecommerce/cart.php)
───────────────────────────────── */

/* Header */
.custom-cart-header {
  text-align: right;
  margin-bottom: 40px;
}

.custom-cart-title {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.custom-cart-count {
  color: #999eb2 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* Items list */
.custom-cart-items-section {
  margin-bottom: 36px;
}

.custom-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Single cart item card */
.custom-cart-item {
  background: #141924;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.custom-cart-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Item image */
.custom-cart-item-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.custom-cart-item:hover .custom-cart-item-image img {
  transform: scale(1.05);
}

/* Item info */
.custom-cart-item-info {
  flex: 1;
  min-width: 0;
}

.custom-cart-item-title {
  margin: 0 0 8px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.custom-cart-item-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.custom-cart-item-title a:hover {
  color: #4077f3 !important;
}

.custom-cart-item-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.custom-meta-item {
  color: #999eb2 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* Price section */
.custom-cart-item-price-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  min-width: 120px;
}

.custom-cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.custom-price-old {
  color: #6c7278 !important;
  font-size: 13px !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

.custom-price-current {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Remove button */
.custom-remove-item-btn {
  background: rgba(249, 106, 123, 0.06) !important;
  border: 1px solid rgba(249, 106, 123, 0.1) !important;
  color: #f96a7b !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 6px 16px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1.4 !important;
}

.custom-remove-item-btn:hover {
  background: rgba(249, 106, 123, 0.14) !important;
  border-color: rgba(249, 106, 123, 0.3) !important;
  color: #f96a7b !important;
}

/* ─────────────────────────────────
   9. ORDER SUMMARY (Tutor Cart)
───────────────────────────────── */
.custom-cart-summary-section {
  display: flex;
  justify-content: flex-start;
}

.custom-cart-summary {
  background: #141924;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
}

.custom-summary-title {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin: 0 0 24px 0 !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.custom-summary-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.custom-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-summary-row:last-child {
  border-bottom: none;
}

.custom-summary-label {
  color: #999eb2 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.custom-summary-value {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

/* Total row */
.custom-summary-total {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  padding-top: 20px !important;
  margin-top: 8px;
}

.custom-summary-total .custom-summary-label {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.custom-summary-total .custom-summary-value {
  color: #4077f3 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.custom-summary-tax-note {
  color: #999eb2 !important;
  font-size: 12px !important;
  text-align: right;
  padding: 8px 0 4px;
}

/* Checkout button (Tutor) */
.custom-checkout-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  margin-top: 24px !important;
  box-shadow: 0 4px 16px rgba(64, 119, 243, 0.25) !important;
}

.custom-checkout-btn:hover {
  background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(64, 119, 243, 0.35) !important;
  color: #ffffff !important;
}

.custom-error-message {
  color: #f96a7b !important;
  font-size: 14px !important;
  text-align: center;
  margin-top: 16px;
}

/* ─────────────────────────────────
   10. EMPTY CART STATE (Tutor)
───────────────────────────────── */
.custom-empty-cart-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}

.custom-empty-cart-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.custom-empty-cart-message {
  color: #999eb2 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.custom-browse-courses-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 16px 40px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(64, 119, 243, 0.25) !important;
}

.custom-browse-courses-btn:hover {
  background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(64, 119, 243, 0.35) !important;
  color: #ffffff !important;
}

/* ─────────────────────────────────
   11. RESPONSIVE — Tablet
───────────────────────────────── */
@media (max-width: 1024px) {
  .woocommerce-cart .cart_totals,
  .custom-cart-summary {
    max-width: 100% !important;
  }
}

/* ─────────────────────────────────
   12. RESPONSIVE — Mobile
───────────────────────────────── */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .entry-content,
  .woocommerce-cart .page-content {
    padding: 110px 16px 50px !important;
  }

  /* WooCommerce table → stacked cards */
  .woocommerce-cart table.shop_table thead {
    display: none !important;
  }

  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody {
    display: block !important;
    width: 100% !important;
  }

  .woocommerce-cart table.shop_table tr {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    padding: 16px !important;
    gap: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .woocommerce-cart table.shop_table tr:last-child {
    border-bottom: none !important;
  }

  .woocommerce-cart table.shop_table td {
    display: inline-block !important;
    width: auto !important;
    padding: 0 !important;
    border: none !important;
  }

  .woocommerce-cart table.shop_table td.product-remove {
    order: 10;
    margin-right: auto;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail {
    width: 80px !important;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 80px !important;
    height: 55px !important;
  }

  .woocommerce-cart table.shop_table td.product-name {
    flex: 1 !important;
    min-width: 0 !important;
  }

  .woocommerce-cart table.shop_table td.product-price,
  .woocommerce-cart table.shop_table td.product-quantity {
    width: 50% !important;
  }

  .woocommerce-cart table.shop_table td.product-subtotal {
    margin-right: auto;
  }

  .woocommerce-cart table.shop_table td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 16px !important;
  }

  .woocommerce-cart table.shop_table .coupon {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-radius: 14px;
    margin-top: 20px !important;
    gap: 8px !important;
    padding: 8px !important;
    background: #141924 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  .woocommerce-cart table.shop_table .coupon input#coupon_code {
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    padding: 12px 18px !important;
  }

  .woocommerce-cart table.shop_table .coupon button[name="apply_coupon"] {
    border-radius: 0 0 14px 14px !important;
    width: 100% !important;
  }

  /* Tutor cart items */
  .custom-cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
  }

  .custom-cart-item-image {
    width: 100%;
    height: 160px;
    border-radius: 14px;
  }

  .custom-cart-item-price-section {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
  }

  .custom-cart-item-price {
    flex-direction: row;
    gap: 12px;
    align-items: baseline;
  }

  .custom-cart-title {
    font-size: 24px !important;
  }

  .custom-cart-summary {
    padding: 24px !important;
  }

  .woocommerce-cart .cart-collaterals {
    justify-content: stretch !important;
  }

  .woocommerce-cart .cart_totals {
    max-width: 100% !important;
  }
}

/* ─────────────────────────────────
   13. RESPONSIVE — Small Phone
───────────────────────────────── */
@media (max-width: 480px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .entry-content,
  .woocommerce-cart .page-content {
    padding: 100px 12px 40px !important;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 65px !important;
    height: 48px !important;
  }

  .custom-cart-item-image {
    height: 130px;
  }

  .custom-cart-title {
    font-size: 22px !important;
  }

  .custom-price-current {
    font-size: 16px !important;
  }

  .custom-summary-total .custom-summary-value {
    font-size: 20px !important;
  }

  .custom-checkout-btn,
  .custom-browse-courses-btn {
    padding: 14px 28px !important;
    font-size: 15px !important;
  }
}

.elementor-21 .elementor-element.elementor-element-6831e288 .wpr-cart-section {
    background-color: #141924 !important;
    border: none !important;
    border-radius: 4px 4px 4px 4px;
    padding: 15px 15px 15px 15px;
    margin-top: 10px;
}

/* ─── Fix: kill ALL white borders inside WPR cart table & cart totals ─── */
.woocommerce-cart table.shop_table,
.woocommerce-cart table.shop_table thead,
.woocommerce-cart table.shop_table thead tr,
.woocommerce-cart table.shop_table thead th,
.woocommerce-cart table.shop_table tbody tr,
.woocommerce-cart table.shop_table tbody td,
.woocommerce-cart table.shop_table tfoot tr,
.woocommerce-cart table.shop_table tfoot th,
.woocommerce-cart table.shop_table tfoot td {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.woocommerce-cart .cart_totals,
.woocommerce-cart .cart_totals table,
.woocommerce-cart .cart_totals table tr,
.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    border-color: rgba(255, 255, 255, 0.04) !important;
}

/* WPR widget inner table borders */
.elementor-21 .elementor-element.elementor-element-6831e288 table,
.elementor-21 .elementor-element.elementor-element-6831e288 table th,
.elementor-21 .elementor-element.elementor-element-6831e288 table td,
.elementor-21 .elementor-element.elementor-element-6831e288 table thead th,
.elementor-21 .elementor-element.elementor-element-6831e288 table tbody td,
.elementor-21 .elementor-element.elementor-element-6831e288 table tfoot th,
.elementor-21 .elementor-element.elementor-element-6831e288 table tfoot td {
    border-color: rgba(255, 255, 255, 0.06) !important;
}

/* ─── Fix: coupon row flex alignment ─── */
.elementor-21 .elementor-element.elementor-element-6831e288 {
    align-items: center !important;
}

.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-start,
.elementor-21 .elementor-element.elementor-element-6831e288 .coupon-col-end {
    display: flex !important;
    align-items: center !important;
}

.elementor-21 .elementor-element.elementor-element-6831e288 .input-text {
    /* color: #333333; */
    border-color: rgba(255, 255, 255, 0.08) !important;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 5px 5px 5px 5px;
    padding: 0px 0px 0px 0px;
}

.tutor-divider tutor-radius-12 tutor-overflow-hidden{

        border: none;

}
.tutor-divider tutor-radius-12 tutor-overflow-hidden {
    border: none !important;
}

/* ==========================================================================
   7. CHECKOUT PAGE — Premium Dark Theme
   LearnSimply — #0a0f1a bg, #141924 cards, #4077f3 accent
   ========================================================================== */

/* ─── 7.1 PAGE FOUNDATION ─── */
body.woocommerce-checkout,
body.woocommerce-checkout body,
.woocommerce-checkout .site-content,
.woocommerce-checkout #page,
.woocommerce-checkout .learnsimply-homepage-body,
.woocommerce-checkout main,
.woocommerce-checkout .site-main,
.woocommerce-checkout .edublink-main-wrapper,
.woocommerce-checkout .eb-container,
.woocommerce-checkout .site-content-inner {
    background-color: var(--db-bg) !important;
}

/* ALL text — soft white + site font */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .woocommerce *,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .entry-content *,
.woocommerce-checkout .page-content,
.woocommerce-checkout .page-content * {
    color: var(--db-white) !important;
    font-family: var(--db-font) !important;
    box-sizing: border-box;
}

/* Content wrapper */
.woocommerce-checkout .woocommerce,
.woocommerce-checkout .entry-content,
.woocommerce-checkout .page-content {
    background: transparent !important;
    max-width: 1100px;
    margin: 0 auto;
    padding: 130px 28px 80px;
    direction: rtl;
}

/* Hide breadcrumbs and page titles */
.woocommerce-checkout .woocommerce-breadcrumb,
.woocommerce-checkout .edublink-breadcrumb-area,
.woocommerce-checkout .entry-header,
.woocommerce-checkout .page-title-area {
    display: none !important;
}

/* ─── 7.2 BOOTSTRAP / PARENT-THEME BACKGROUND RESET ─── */
.woocommerce-checkout .bg-white,
.woocommerce-checkout .card,
.woocommerce-checkout .card-body,
.woocommerce-checkout .table thead,
.woocommerce-checkout .table thead tr,
.woocommerce-checkout .table thead th,
.woocommerce-checkout .table th,
.woocommerce-checkout .table td,
.woocommerce-checkout .table-light,
.woocommerce-checkout .table-light th,
.woocommerce-checkout .table-light td {
    background-color: transparent !important;
    background: transparent !important;
    color: inherit !important;
}

.woocommerce-checkout .btn,
.woocommerce-checkout .btn-light,
.woocommerce-checkout .btn-danger {
    background-color: transparent !important;
    background: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
}

/* ─── 7.3 WC NOTICES ─── */
.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message {
    background: rgba(64, 119, 243, 0.08) !important;
    border: 1px solid rgba(64, 119, 243, 0.2) !important;
    border-top: none !important;
    border-right: 4px solid #4077f3 !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.woocommerce-checkout .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before {
    color: #4077f3 !important;
}

.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-message a {
    color: #4077f3 !important;
    text-decoration: underline !important;
}

.woocommerce-checkout ul.woocommerce-error,
.woocommerce-checkout .woocommerce-error {
    background: rgba(249, 106, 123, 0.08) !important;
    border: 1px solid rgba(249, 106, 123, 0.2) !important;
    border-right: 4px solid #f96a7b !important;
    border-radius: 14px !important;
    color: #f96a7b !important;
    padding: 18px 24px !important;
    list-style: none !important;
    margin-bottom: 24px !important;
}

.woocommerce-checkout .woocommerce-error li {
    color: #f96a7b !important;
}

/* ─── 7.4 LAYOUT WRAPPERS ─── */
.woocommerce-checkout form.checkout,
.woocommerce-checkout .col2-set {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    background: transparent !important;
}

/* ─── 7.5 CHECKOUT CARDS ─── */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-checkout-payment,
.woocommerce-checkout .woocommerce-checkout-review-order {
    background: var(--db-card) !important;
    border: 1px solid var(--db-border) !important;
    border-radius: var(--db-radius) !important;
    padding: 28px 32px 32px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Card headings */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout .woocommerce-checkout-review-order h3,
.woocommerce-checkout .woocommerce-checkout-payment h3,
.woocommerce-checkout #order_review_heading {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(64, 119, 243, 0.08) !important;
    letter-spacing: 0.3px !important;
}

/* Reset white backgrounds on nested elements inside checkout cards */
.woocommerce-checkout .woocommerce-billing-fields *,
.woocommerce-checkout .woocommerce-shipping-fields *,
.woocommerce-checkout .woocommerce-additional-fields *,
.woocommerce-checkout .woocommerce-checkout-review-order *,
.woocommerce-checkout .woocommerce-checkout-payment * {
    background-color: transparent;
}

/* ─── 7.6 FORM LABELS ─── */
.woocommerce-checkout label,
.woocommerce-checkout .woocommerce-validate-required,
.woocommerce-checkout .form-row label {
    color: var(--db-white) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 6px !important;
}

.woocommerce-checkout label .required,
.woocommerce-checkout abbr.required {
    color: #f96a7b !important;
    text-decoration: none !important;
}

/* ─── 7.7 FORM INPUTS ─── */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"] {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--db-border) !important;
    color: #e8eaf0 !important;
    border-radius: var(--db-radius-sm) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    outline: none !important;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s !important;
    width: 100% !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout input[type="password"]:focus {
    border-color: rgba(64, 119, 243, 0.4) !important;
    background: rgba(64, 119, 243, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(64, 119, 243, 0.08) !important;
}

.woocommerce-checkout input.input-text::placeholder,
.woocommerce-checkout textarea::placeholder {
    color: #5a5f72 !important;
}

/* Form rows spacing */
.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}

/* ─── 7.8 SELECT2 DROPDOWNS ─── */
.woocommerce-checkout .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--db-border) !important;
    border-radius: var(--db-radius-sm) !important;
    height: 46px !important;
    outline: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e8eaf0 !important;
    line-height: 46px !important;
    padding-right: 16px !important;
    padding-left: 36px !important;
    font-size: 14px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    left: 8px !important;
    right: auto !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #7a7f96 transparent transparent transparent !important;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgba(64, 119, 243, 0.4) !important;
    box-shadow: 0 0 0 3px rgba(64, 119, 243, 0.08) !important;
}

/* Select2 dropdown panel */
.select2-container--default .select2-results__option,
.select2-dropdown {
    background: var(--db-card) !important;
    color: var(--db-white) !important;
    border-color: var(--db-border) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
    background: var(--db-blue-soft) !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(64, 119, 243, 0.15) !important;
    color: #4077f3 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--db-border) !important;
    color: #e8eaf0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    outline: none !important;
}

/* ─── 7.9 CHECKBOXES & RADIO BUTTONS ─── */
.woocommerce-checkout input[type="checkbox"],
.woocommerce-checkout input[type="radio"] {
    accent-color: #4077f3 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

/* ─── 7.10 ORDER REVIEW TABLE ─── */
.woocommerce-checkout .woocommerce-checkout-review-order table {
    background: transparent !important;
    border: none !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table thead th {
    color: #7a7f96 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.4px !important;
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(64, 119, 243, 0.08) !important;
    text-align: right !important;
    background: transparent !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tbody tr {
    background: transparent !important;
    transition: background 0.25s ease !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tbody tr:hover {
    background: rgba(64, 119, 243, 0.03) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table td,
.woocommerce-checkout .woocommerce-checkout-review-order table th {
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: var(--db-white) !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    background: transparent !important;
}

/* Product name in review */
.woocommerce-checkout .woocommerce-checkout-review-order table td.product-name {
    color: #e8eaf0 !important;
    font-weight: 500 !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table td.product-name .product-quantity {
    color: #7a7f96 !important;
    font-weight: 400 !important;
}

/* Subtotal row */
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot th {
    color: #7a7f96 !important;
    font-weight: 400 !important;
    text-align: right !important;
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: transparent !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot td {
    text-align: left !important;
    color: #c5c8d6 !important;
    padding: 14px 4px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: transparent !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot td bdi,
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot td .woocommerce-Price-amount {
    color: #c5c8d6 !important;
    font-weight: 500 !important;
}

/* Order total row */
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total th {
    color: #e8eaf0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding-top: 22px !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(64, 119, 243, 0.1) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total td {
    font-size: 22px !important;
    font-weight: 700 !important;
    padding-top: 22px !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(64, 119, 243, 0.1) !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total .woocommerce-Price-amount,
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total bdi {
    color: #4077f3 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* Discount row */
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .cart-discount td,
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .cart-discount th,
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .cart-discount bdi,
.woocommerce-checkout .woocommerce-checkout-review-order table tfoot .cart-discount .woocommerce-Price-amount {
    color: #18a963 !important;
}

/* ─── 7.11 PAYMENT METHODS ─── */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.woocommerce-checkout #payment ul.payment_methods {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    list-style: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--db-border) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 10px !important;
    transition: border-color 0.25s, background 0.25s !important;
    cursor: pointer !important;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: rgba(64, 119, 243, 0.2) !important;
    background: rgba(64, 119, 243, 0.03) !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
    color: #e8eaf0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 28px !important;
    border-radius: 4px !important;
}

.woocommerce-checkout #payment div.payment_box {
    background: rgba(64, 119, 243, 0.04) !important;
    border: 1px solid rgba(64, 119, 243, 0.08) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-top: 12px !important;
    color: #999eb2 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box p {
    color: #999eb2 !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* Payment box inner inputs (e.g. card fields) */
.woocommerce-checkout #payment div.payment_box input,
.woocommerce-checkout #payment div.payment_box select,
.woocommerce-checkout #payment div.payment_box textarea {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--db-border) !important;
    color: #e8eaf0 !important;
    border-radius: var(--db-radius-sm) !important;
}

/* Terms & conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper p {
    color: #999eb2 !important;
    font-size: 13px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: #4077f3 !important;
    text-decoration: underline !important;
}

/* ─── 7.12 PLACE ORDER BUTTON ─── */
.woocommerce-checkout #payment .button,
.woocommerce-checkout .button.alt,
.woocommerce-checkout #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    padding: 15px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 18px rgba(64, 119, 243, 0.22) !important;
    margin-top: 16px !important;
}

.woocommerce-checkout #payment .button:hover,
.woocommerce-checkout .button.alt:hover,
.woocommerce-checkout #place_order:hover {
    background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(64, 119, 243, 0.32) !important;
}

.woocommerce-checkout #payment .button:active,
.woocommerce-checkout .button.alt:active,
.woocommerce-checkout #place_order:active {
    transform: translateY(0) !important;
}

/* ─── 7.13 COUPON / LOGIN TOGGLE SECTIONS ─── */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    background: rgba(64, 119, 243, 0.06) !important;
    border: 1px solid rgba(64, 119, 243, 0.12) !important;
    border-right: 4px solid #4077f3 !important;
    border-radius: 14px !important;
    padding: 16px 24px !important;
    margin-bottom: 20px !important;
}

.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
    background: var(--db-card) !important;
    border: 1px solid var(--db-border) !important;
    border-radius: var(--db-radius) !important;
    padding: 24px 28px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15) !important;
}

.woocommerce-checkout .woocommerce-form-coupon .button,
.woocommerce-checkout .woocommerce-form-login .button {
    background: linear-gradient(135deg, #4077f3 0%, #3568d4 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 11px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 12px rgba(64, 119, 243, 0.18) !important;
}

.woocommerce-checkout .woocommerce-form-coupon .button:hover,
.woocommerce-checkout .woocommerce-form-login .button:hover {
    background: linear-gradient(135deg, #3568d4 0%, #2a57bf 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(64, 119, 243, 0.28) !important;
}

/* ─── 7.14 GENERIC BUTTONS & LINKS ─── */
.woocommerce-checkout a {
    color: #4077f3 !important;
    transition: color 0.2s !important;
}

.woocommerce-checkout a:hover {
    color: #5a93ff !important;
}

/* ─── 7.15 FORM VALIDATION STATES ─── */
.woocommerce-checkout .form-row.woocommerce-invalid .input-text,
.woocommerce-checkout .form-row.woocommerce-invalid select {
    border-color: rgba(249, 106, 123, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(249, 106, 123, 0.08) !important;
}

.woocommerce-checkout .form-row.woocommerce-validated .input-text,
.woocommerce-checkout .form-row.woocommerce-validated select {
    border-color: rgba(24, 169, 99, 0.4) !important;
}

/* ─── 7.16 SHIPPING METHODS ─── */
.woocommerce-checkout .woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
    padding: 10px 0 !important;
    color: var(--db-white) !important;
    font-size: 14px !important;
}

.woocommerce-checkout .woocommerce-shipping-methods li label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
}

/* ─── 7.17 ORDER RECEIVED / THANK YOU PAGE ─── */
.woocommerce-checkout .woocommerce-thankyou-order-received {
    color: #18a963 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 24px !important;
    background: rgba(24, 169, 99, 0.06) !important;
    border: 1px solid rgba(24, 169, 99, 0.12) !important;
    border-radius: 14px !important;
    margin-bottom: 32px !important;
}

/* ─── 7.18 RESPONSIVE — Tablet ─── */
@media (max-width: 1024px) {
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
    }
}

/* ─── 7.19 RESPONSIVE — Mobile ─── */
@media (max-width: 768px) {
    .woocommerce-checkout .woocommerce,
    .woocommerce-checkout .entry-content,
    .woocommerce-checkout .page-content {
        padding: 110px 16px 50px !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields,
    .woocommerce-checkout .woocommerce-shipping-fields,
    .woocommerce-checkout .woocommerce-additional-fields,
    .woocommerce-checkout .woocommerce-checkout-payment,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 20px 18px 24px !important;
        border-radius: 16px !important;
    }

    .woocommerce-checkout #payment ul.payment_methods li {
        padding: 14px 16px !important;
        border-radius: 12px !important;
    }

    .woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total td,
    .woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total .woocommerce-Price-amount,
    .woocommerce-checkout .woocommerce-checkout-review-order table tfoot .order-total bdi {
        font-size: 20px !important;
    }
}

/* ─── 7.20 RESPONSIVE — Small Phone ─── */
@media (max-width: 480px) {
    .woocommerce-checkout .woocommerce,
    .woocommerce-checkout .entry-content,
    .woocommerce-checkout .page-content {
        padding: 100px 12px 40px !important;
    }

    .woocommerce-checkout .woocommerce-billing-fields,
    .woocommerce-checkout .woocommerce-shipping-fields,
    .woocommerce-checkout .woocommerce-additional-fields,
    .woocommerce-checkout .woocommerce-checkout-payment,
    .woocommerce-checkout .woocommerce-checkout-review-order {
        padding: 16px 14px 20px !important;
        border-radius: 14px !important;
        margin-bottom: 16px !important;
    }

    .woocommerce-checkout #place_order {
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
}

.col-1{
  border: none !important;
}