html,
body {
  background: #030303;
  color: var(--f8-text);
}
.f8-cart-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: radial-gradient(ellipse at 0% 10%, rgba(254, 231, 5, .18), transparent 42%), radial-gradient(ellipse at 100% 20%, rgba(254, 231, 5, .10), transparent 44%), linear-gradient(90deg, #0b0901 0%, #040404 19%, #030303 50%, #040404 82%, #0b0901 100%);
}
.f8-cart-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(rgba(254, 231, 5, .014) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 231, 5, .012) 1px, transparent 1px), linear-gradient(115deg, transparent 0%, rgba(254, 231, 5, .030) 28%, transparent 46%, rgba(254, 231, 5, .020) 72%, transparent 100%);
  background-size: 92px 92px, 92px 92px, 100% 100%;
  opacity: .82;
}
.f8-cart-page > * {
  position: relative;
  z-index: 1;
}
.f8-cart-main {
  padding: clamp(36px, 4.4vw, 58px) 24px 76px;
}
.f8-cart-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.f8-cart-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}
.f8-cart-hero-copy,
.f8-cart-summary-panel,
.f8-cart-card,
.f8-cart-note,
.f8-cart-empty {
  border: 1px solid var(--f8-line);
  background: radial-gradient(ellipse at 0% 0%, rgba(254, 231, 5, .095), transparent 42%), linear-gradient(145deg, rgba(8, 8, 6, .74), rgba(255, 255, 255, .026));
  box-shadow: 0 30px 96px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .055);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.f8-cart-hero-copy {
  border-radius: 28px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
}
.f8-cart-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--f8-gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.f8-cart-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--f8-gold);
  box-shadow: 0 0 18px rgba(254, 231, 5, .65);
}
.f8-cart-hero h1 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(34px, 4.25vw, 58px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -.048em;
  text-shadow: 0 0 42px rgba(0, 0, 0, .78);
}
.f8-cart-hero p {
  max-width: 700px;
  margin: 14px 0 0;
  color: var(--f8-muted);
  font-size: 15.5px;
  line-height: 1.62;
}
.f8-cart-summary-panel {
  border-radius: 28px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.f8-cart-summary-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  background: rgba(0, 0, 0, .24);
}
.f8-cart-summary-card span {
  grid-row: span 2;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--f8-gold);
  color: #050505;
  font-size: 12px;
  font-weight: 950;
}
.f8-cart-summary-card strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}
.f8-cart-summary-card small {
  color: var(--f8-muted-2);
  font-size: 12px;
  line-height: 1.45;
}
.f8-cart-card {
  border-radius: 28px;
  padding: clamp(18px, 2.4vw, 28px);
}
.f8-cart-page .woocommerce {
  color: #fff;
}
.f8-cart-page .woocommerce-notices-wrapper,
.f8-cart-page .woocommerce-message,
.f8-cart-page .woocommerce-info,
.f8-cart-page .woocommerce-error {
  margin: 0 0 18px;
}
.f8-cart-page .woocommerce-message,
.f8-cart-page .woocommerce-info,
.f8-cart-page .woocommerce-error {
  border: 1px solid rgba(254, 231, 5, .20);
  border-radius: 18px;
  background: rgba(0, 0, 0, .30);
  color: var(--f8-muted);
  padding: 14px 16px;
}
.f8-cart-page .woocommerce-message::before,
.f8-cart-page .woocommerce-info::before,
.f8-cart-page .woocommerce-error::before {
  display: none;
}
.f8-cart-page table.shop_table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 22px;
  background: rgba(0, 0, 0, .18);
  border-collapse: separate;
  border-spacing: 0;
}
.f8-cart-page table.shop_table th,
.f8-cart-page table.shop_table td {
  border-color: rgba(255, 255, 255, .08);
  color: #fff;
  padding: 17px 16px;
}
.f8-cart-page table.shop_table th {
  color: var(--f8-gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.f8-cart-page .product-name a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
.f8-cart-page .product-price,
.f8-cart-page .product-subtotal,
.f8-cart-page .cart_totals .order-total td,
.f8-cart-page .cart_totals .order-total th {
  color: var(--f8-gold);
  font-weight: 950;
}
.f8-cart-page .product-remove a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  background: rgba(0, 0, 0, .30);
  color: #fff;
  line-height: 1;
}
.f8-cart-page .product-remove a:hover {
  background: rgba(254, 231, 5, .12);
  color: var(--f8-gold);
}
.f8-cart-page .quantity .qty {
  width: 78px;
  min-height: 44px;
  border: 1px solid rgba(254, 231, 5, .22);
  border-radius: 12px;
  background: rgba(0, 0, 0, .38);
  color: #fff;
  text-align: center;
  font-weight: 900;
}
.f8-cart-page .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}
.f8-cart-page .coupon input.input-text,
.f8-cart-page input.input-text {
  min-height: 48px;
  border: 1px solid rgba(254, 231, 5, .22);
  border-radius: 14px;
  background: rgba(0, 0, 0, .40);
  color: #fff;
  padding: 0 14px;
}
.f8-cart-page .button,
.f8-cart-page button.button,
.f8-cart-page .checkout-button {
  min-height: 48px;
  border: 1px solid rgba(254, 231, 5, .62);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff677 0%, #fee705 42%, #d7ad00 73%, #9a7800 100%);
  color: #050505;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(254, 231, 5, .16), inset 0 1px 0 rgba(255, 255, 255, .52);
}
.f8-cart-page .button:hover,
.f8-cart-page button.button:hover,
.f8-cart-page .checkout-button:hover {
  filter: brightness(1.04);
}
.f8-cart-page .cart-collaterals {
  margin-top: 24px;
}
.f8-cart-page .cart_totals {
  width: min(100%, 430px);
  padding: 22px;
  border: 1px solid rgba(254, 231, 5, .20);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(8, 8, 6, .78), rgba(255, 255, 255, .026));
}
.f8-cart-page .cart_totals h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.03em;
}
.f8-cart-page .wc-proceed-to-checkout {
  padding-bottom: 0;
}
.f8-cart-page .wc-proceed-to-checkout a.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
  font-size: 16px;
}
.f8-cart-empty {
  border-radius: 24px;
  padding: clamp(24px, 4vw, 46px);
  text-align: center;
}
.f8-cart-empty h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -.04em;
}
.f8-cart-empty p {
  max-width: 620px;
  margin: 12px auto 22px;
  color: var(--f8-muted);
  line-height: 1.65;
}
.f8-cart-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  border-radius: 20px;
  padding: 18px;
}
.f8-cart-note-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--f8-gold);
  color: #050505;
  font-weight: 950;
}
.f8-cart-note strong,
.f8-cart-note span {
  display: block;
}
.f8-cart-note strong {
  color: #fff;
  margin-bottom: 4px;
}
.f8-cart-note span {
  color: var(--f8-muted);
  line-height: 1.55;
}
@media (max-width: 991px) {
  .f8-cart-hero {
    grid-template-columns: 1fr;
  }
  .f8-cart-page .cart_totals {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .f8-cart-main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .f8-cart-hero-copy,
  .f8-cart-summary-panel,
  .f8-cart-card {
    border-radius: 22px;
  }
  .f8-cart-page table.shop_table_responsive tr,
  .f8-cart-page table.shop_table_responsive tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .f8-cart-page table.shop_table_responsive tr td::before {
    color: var(--f8-gold);
    font-weight: 950;
  }
  .f8-cart-page .coupon {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .f8-cart-page .coupon input.input-text,
  .f8-cart-page .coupon .button,
  .f8-cart-page table.cart td.actions .button {
    width: 100%;
  }
  .f8-cart-note {
    flex-direction: column;
  }
}


/* ==========================================================
   F8 Funds Cart - Single Evaluation Purchase Cleanup
   Removes retail-cart controls that do not fit one dashboard
   evaluation purchase per checkout.
========================================================== */
.f8-cart-page .woocommerce-message .button.wc-forward,
.f8-cart-page .woocommerce-message a.button,
.f8-cart-page .woocommerce-message .restore-item,
.f8-cart-page table.cart .product-remove,
.f8-cart-page table.cart th.product-remove,
.f8-cart-page table.cart td.product-remove,
.f8-cart-page table.cart .product-quantity,
.f8-cart-page table.cart th.product-quantity,
.f8-cart-page table.cart td.product-quantity,
.f8-cart-page table.cart td.actions button[name="update_cart"],
.f8-cart-page table.cart td.actions .button[name="update_cart"] {
  display: none !important;
}

.f8-cart-page .woocommerce-message {
  display: block !important;
  padding: 18px 22px !important;
  color: rgba(255,255,255,.78) !important;
  font-weight: 750 !important;
}

.f8-cart-page .f8-cart-message-main {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.f8-cart-page .f8-cart-message-main::before {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 999px !important;
  background: var(--f8-gold) !important;
  box-shadow: 0 0 18px rgba(254,231,5,.55) !important;
}

.f8-cart-page table.cart td.actions {
  padding: 18px !important;
  text-align: left !important;
}

.f8-cart-page table.cart td.actions .coupon {
  float: none !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 360px) auto !important;
  width: min(100%, 560px) !important;
  gap: 12px !important;
  align-items: center !important;
}

.f8-cart-page table.cart td.actions .coupon input.input-text,
.f8-cart-page table.cart td.actions .coupon #coupon_code {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.f8-cart-page table.cart td.actions .coupon .button {
  width: auto !important;
  min-width: 150px !important;
  margin: 0 !important;
}

.f8-cart-page table.shop_table .product-thumbnail {
  width: 78px !important;
  text-align: center !important;
}

.f8-cart-page .f8-cart-product-logo {
  display: inline-flex !important;
  width: 52px !important;
  height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(254,231,5,.22) !important;
  border-radius: 16px !important;
  background: radial-gradient(circle at 30% 20%, rgba(254,231,5,.14), rgba(0,0,0,.42) 62%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 36px rgba(0,0,0,.32) !important;
  overflow: hidden !important;
}

.f8-cart-page .f8-cart-product-logo img {
  display: block !important;
  width: 30px !important;
  height: 42px !important;
  object-fit: contain !important;
}

.f8-cart-page .f8-fixed-cart-quantity {
  display: inline-flex !important;
  color: rgba(255,255,255,.72) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
}

@media (max-width: 640px) {
  .f8-cart-page table.cart td.actions .coupon {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .f8-cart-page table.cart td.actions .coupon .button {
    width: 100% !important;
  }
  .f8-cart-page table.shop_table .product-thumbnail {
    width: 100% !important;
  }
  .f8-cart-page table.shop_table_responsive tr td.product-thumbnail::before {
    content: "" !important;
  }
}
