/* WooCommerce cart — Sepid Solar dark navy / gold storefront. */

body.sepid-solar-shell.woocommerce-cart {
  overflow-x: clip;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 14%, rgba(214, 174, 105, 0.065), transparent 31rem),
    var(--ink);
}

body.sepid-solar-shell.woocommerce-cart .sepid-site-main,
body.sepid-solar-shell.woocommerce-cart .site-main,
body.sepid-solar-shell.woocommerce-cart .content-area,
body.sepid-solar-shell.woocommerce-cart .entry-content {
  max-inline-size: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

body.sepid-solar-shell.woocommerce-cart .t-woocommerce-cart-host,
body.sepid-solar-shell.woocommerce-cart .default-page-content {
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.t-cart-page {
  min-block-size: 58vh;
  padding-block: 10px 34px;
  background:
    radial-gradient(circle at 11% 38%, rgba(214, 174, 105, 0.035), transparent 27rem),
    transparent;
}

.t-cart-page > .t-container {
  inline-size: min(calc(100% - 48px), 1540px);
  max-inline-size: none;
  margin-inline: auto;
  padding: 0;
}

.t-cart-page *,
.t-cart-page *::before,
.t-cart-page *::after {
  box-sizing: border-box;
}

.t-cart-page a:focus-visible,
.t-cart-page button:focus-visible,
.t-cart-page input:focus-visible,
.t-cart-page select:focus-visible,
.t-cart-page [tabindex]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  box-shadow: none;
}

/* Page heading and breadcrumb. */
.t-cart-page__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-block-end: 14px;
  text-align: start;
}

.t-cart-page__breadcrumb {
  inline-size: 100%;
  margin-block-end: 5px;
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb {
  max-inline-size: 100%;
  margin: 0;
  overflow: hidden;
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb ul {
  min-inline-size: 0;
  flex-wrap: nowrap;
  gap: 7px;
  margin: 0;
  padding-block: 3px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 174, 105, 0.34) transparent;
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb li {
  flex: 0 0 auto;
  min-inline-size: 0;
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb a,
.t-cart-page__breadcrumb .sepidsolar-breadcrumb span {
  color: rgba(170, 181, 199, 0.72);
  font-size: 11px;
  line-height: 1.7;
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb .current span {
  color: var(--gold-light);
}

.t-cart-page__breadcrumb .sepidsolar-breadcrumb li.sep path {
  stroke: rgba(170, 181, 199, 0.52);
}

.t-cart-page__header h1 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(28px, 2.55vw, 43px);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0;
}

.t-cart-page__header > p {
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}

/* WooCommerce notices. */
.t-cart-page__notices:empty {
  display: none;
}

.t-cart-page__notices .woocommerce-notices-wrapper {
  inline-size: 100%;
}

.t-cart-page__notices .woocommerce-message,
.t-cart-page__notices .woocommerce-info,
.t-cart-page__notices .woocommerce-error {
  display: block;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid rgba(214, 174, 105, 0.32);
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(9, 23, 43, 0.98), rgba(4, 12, 25, 0.98));
  box-shadow: none;
  font-size: 12px;
  line-height: 1.9;
  list-style: none;
}

.t-cart-page__notices .woocommerce-error {
  border-color: rgba(248, 113, 113, 0.52);
}

.t-cart-page__notices .woocommerce-message a,
.t-cart-page__notices .woocommerce-info a,
.t-cart-page__notices .woocommerce-error a {
  color: var(--gold-light);
  font-weight: 750;
}

/* Main two-column composition. */
.t-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.55fr) minmax(320px, 1fr);
  align-items: start;
  gap: 24px;
  direction: ltr;
}

.t-cart-layout > * {
  min-inline-size: 0;
  direction: rtl;
}

.t-cart-table-card,
.cart-collaterals .cart_totals {
  overflow: hidden;
  border: 1px solid rgba(214, 174, 105, 0.5);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(8, 21, 40, 0.92), rgba(3, 10, 22, 0.96)),
    var(--deep);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.17);
}

.t-cart-table-card {
  margin: 0;
}

/* Replace WooCommerce's bright AJAX blocker with a dark glass overlay. */
.t-cart-page .blockUI.blockOverlay,
.t-cart-page .blockOverlay {
  border-radius: inherit !important;
  opacity: 1 !important;
  background:
    radial-gradient(circle at center, rgba(214, 174, 105, 0.055), transparent 46%),
    rgba(3, 9, 20, 0.34) !important;
  -webkit-backdrop-filter: blur(4px) saturate(78%);
  backdrop-filter: blur(4px) saturate(78%);
  cursor: wait !important;
}

.t-cart-page .blockUI.blockOverlay::after,
.t-cart-page .blockOverlay::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  inline-size: 24px;
  block-size: 24px;
  border: 2px solid rgba(214, 174, 105, 0.2);
  border-block-start-color: var(--gold-light);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  animation: t-cart-loading-spin 720ms linear infinite;
}

@keyframes t-cart-loading-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Optional free-shipping progress from the existing theme hook. */
.t-cart-table-card > .site-cart-notice,
.cart_totals > .site-cart-notice {
  margin: 0;
  padding: 11px 20px;
  border: 0;
  border-block-end: 1px solid rgba(214, 174, 105, 0.17);
  border-radius: 0;
  color: var(--muted);
  background: rgba(214, 174, 105, 0.045);
}

.t-cart-table-card .site-cart-notice p,
.cart_totals .site-cart-notice p {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.75;
}

.t-cart-table-card .site-cart-progress,
.cart_totals .site-cart-progress {
  block-size: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.t-cart-table-card .site-cart-progress span,
.cart_totals .site-cart-progress span {
  display: block;
  block-size: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Cart table. */
.t-cart-table-card .shop_table {
  inline-size: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.t-cart-table-card .shop_table thead th {
  height: 43px;
  padding: 9px 14px;
  border: 0;
  border-block-end: 1px solid rgba(214, 174, 105, 0.2);
  color: rgba(238, 245, 255, 0.84);
  background: rgba(4, 12, 25, 0.42);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.t-cart-table-card .shop_table thead th.product-name {
  inline-size: 43%;
  text-align: start;
}

.t-cart-table-card .shop_table thead th.product-price {
  inline-size: 17%;
}

.t-cart-table-card .shop_table thead th.product-quantity {
  inline-size: 15%;
}

.t-cart-table-card .shop_table thead th.product-subtotal {
  inline-size: 17%;
}

.t-cart-table-card .shop_table thead th.product-remove {
  inline-size: 8%;
}

.t-cart-table-card .shop_table tbody > tr.cart_item {
  transition: background-color 160ms ease;
}

.t-cart-table-card .shop_table tbody > tr.cart_item:hover {
  background: rgba(255, 255, 255, 0.014);
}

.t-cart-table-card .shop_table tbody > tr.cart_item > td {
  min-inline-size: 0;
  padding: 10px 14px;
  vertical-align: middle;
  border: 0;
  border-block-end: 1px solid rgba(214, 174, 105, 0.16);
  color: rgba(238, 245, 255, 0.86);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.7;
  text-align: center;
}

.t-cart-table-card td.product-name {
  text-align: start;
}

.t-cart-product {
  display: flex;
  min-inline-size: 0;
  align-items: center;
  gap: 12px;
}

.t-cart-product__thumbnail {
  display: grid;
  inline-size: 72px;
  block-size: 54px;
  flex: 0 0 72px;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  border: 1px solid rgba(214, 174, 105, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(214, 174, 105, 0.08), transparent 64%),
    rgba(3, 10, 20, 0.64);
}

.t-cart-product__thumbnail a {
  display: grid;
  inline-size: 100%;
  block-size: 100%;
  place-items: center;
}

.t-cart-product__thumbnail img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  margin: 0;
  object-fit: contain;
  border-radius: 5px;
}

.t-cart-product__details {
  min-inline-size: 0;
}

.t-cart-product__title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--white);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.75;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

a.t-cart-product__title:hover {
  color: var(--gold-light);
}

.t-cart-product__details .variation,
.t-cart-product__details .wc-item-meta,
.t-cart-product__details .sepidsolar-pantry-cart-summary,
.t-cart-product__details .sepidsolar-simple-bundle-cart-summary {
  margin: 4px 0 0;
  padding: 0;
  color: rgba(170, 181, 199, 0.75);
  font-size: 10px;
  line-height: 1.75;
  list-style: none;
}

.t-cart-product__details .variation dt,
.t-cart-product__details .variation dd {
  display: inline;
  float: none;
  margin: 0 0 0 4px;
  padding: 0;
}

.t-cart-product__details .variation p,
.t-cart-product__details .wc-item-meta p {
  display: inline;
  margin: 0;
}

.t-cart-product__details .backorder_notification {
  margin: 4px 0 0;
  color: var(--gold-light);
  font-size: 10px;
}

.t-cart-table-card .product-price .amount,
.t-cart-table-card .product-subtotal .amount {
  color: rgba(238, 245, 255, 0.9);
  font-weight: 650;
  white-space: nowrap;
}

.t-cart-table-card .product-subtotal .amount {
  color: var(--gold-light);
}

.t-cart-table-card .product-price del,
.t-cart-table-card .product-subtotal del {
  display: block;
  color: rgba(170, 181, 199, 0.48);
  font-size: 10px;
  font-weight: 450;
}

.t-cart-table-card .product-price ins,
.t-cart-table-card .product-subtotal ins {
  color: inherit;
  text-decoration: none;
}

/* Shared quantity input, visually matched to the reference. */
.t-cart-table-card .product-quantity .quantity.bordered {
  display: inline-flex;
  min-block-size: 36px;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  direction: ltr;
  border: 1px solid rgba(214, 174, 105, 0.4);
  border-radius: 7px;
  background: rgba(5, 14, 28, 0.72);
}

.t-cart-table-card .product-quantity .quantity-button,
.t-cart-table-card .product-quantity input.qty {
  display: grid;
  inline-size: 36px;
  block-size: 34px;
  min-inline-size: 0;
  flex: 0 0 36px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--gold-light);
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  line-height: 1;
}

.t-cart-table-card .product-quantity .quantity-button {
  cursor: pointer;
  user-select: none;
}

.t-cart-table-card .product-quantity .quantity-button:hover {
  background: rgba(214, 174, 105, 0.1);
}

.t-cart-table-card .product-quantity .quantity-button svg {
  inline-size: 14px;
  block-size: 14px;
}

.t-cart-table-card .product-quantity input.qty {
  inline-size: 42px;
  flex-basis: 42px;
  border-inline: 1px solid rgba(214, 174, 105, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  -moz-appearance: textfield;
}

.t-cart-table-card .product-quantity input.qty::-webkit-inner-spin-button,
.t-cart-table-card .product-quantity input.qty::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.t-cart-table-card td.product-remove {
  padding-inline: 8px;
}

.t-cart-table-card td.product-remove .remove {
  display: inline-grid;
  inline-size: 32px;
  block-size: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #f0a91c;
  background: transparent;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}

.t-cart-table-card td.product-remove .remove:hover {
  color: #fecb63;
  background: rgba(240, 169, 28, 0.1);
}

.t-cart-table-card td.product-remove .remove svg {
  inline-size: 16px;
  block-size: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.9;
}

/* Coupon and update-cart row. */
.t-cart-table-card .t-cart-actions-row > td.actions {
  padding: 18px 20px;
  border: 0;
  background: rgba(4, 12, 25, 0.26);
}

.t-cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.t-cart-actions .coupon {
  display: flex;
  min-inline-size: min(100%, 420px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 105, 0.38);
  border-radius: 7px;
  background: rgba(4, 12, 25, 0.5);
}

.t-cart-actions .coupon input.input-text {
  min-inline-size: 0;
  block-size: 40px;
  flex: 1 1 auto;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 11px;
}

.t-cart-actions .coupon input.input-text::placeholder {
  color: rgba(170, 181, 199, 0.58);
}

.t-cart-actions .coupon .button {
  display: inline-flex;
  min-block-size: 40px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  color: var(--gold-light);
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.t-cart-actions .coupon .button {
  border-block: 0;
  border-inline-end: 0;
  border-radius: 0;
  color: #111827;
  background: linear-gradient(135deg, #f3d58f, #d9a63e);
}

.t-cart-actions .coupon .button:hover {
  background: linear-gradient(135deg, #ffe4a3, #e7b64f);
}

/* Totals card. */
.cart-collaterals {
  inline-size: 100%;
}

.cart-collaterals .cart_totals {
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  padding: 0 24px 16px;
}

.cart-collaterals .cart_totals > h2 {
  margin: 0 -24px 6px;
  padding: 17px 24px;
  border-block-end: 1px solid rgba(214, 174, 105, 0.2);
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.5;
  text-align: start;
  text-transform: none;
}

.cart-collaterals .cart_totals > .shop_table {
  inline-size: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.cart-collaterals .cart_totals > .shop_table tr {
  border-block-end: 1px solid rgba(214, 174, 105, 0.15);
}

.cart-collaterals .cart_totals > .shop_table th,
.cart-collaterals .cart_totals > .shop_table td {
  padding: 13px 0;
  border: 0;
  color: rgba(238, 245, 255, 0.82);
  font-size: 12px;
  line-height: 1.75;
  vertical-align: top;
}

.cart-collaterals .cart_totals > .shop_table th {
  inline-size: 37%;
  font-weight: 550;
  text-align: start;
}

.cart-collaterals .cart_totals > .shop_table td {
  min-inline-size: 0;
  font-weight: 680;
  text-align: end;
}

.cart-collaterals .cart_totals > .shop_table td .amount {
  color: var(--white);
  white-space: nowrap;
}

.cart-collaterals .cart_totals .cart-discount td,
.cart-collaterals .cart_totals .cart-discount td .amount {
  color: #86efac;
}

.cart-collaterals .cart_totals .woocommerce-remove-coupon {
  display: block;
  margin-block-start: 3px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 700;
}

.cart-collaterals .cart_totals .order-total {
  border-block-end: 0;
}

.cart-collaterals .cart_totals .order-total th {
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
  vertical-align: middle;
}

.cart-collaterals .cart_totals .order-total td,
.cart-collaterals .cart_totals .order-total td .amount {
  color: #f0a91c;
  font-size: 18px;
  font-weight: 850;
  vertical-align: middle;
}

.cart-collaterals .wc-proceed-to-checkout {
  padding: 0;
}

.cart-collaterals .wc-proceed-to-checkout .checkout-button {
  display: flex;
  inline-size: 100%;
  min-block-size: 48px;
  align-items: center;
  justify-content: center;
  margin: 7px 0 0;
  padding: 12px 18px;
  border: 1px solid rgba(255, 221, 141, 0.78);
  border-radius: 7px;
  color: #10151f;
  background: linear-gradient(135deg, #f5d58a, #edae2f);
  box-shadow: 0 10px 28px rgba(214, 174, 105, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
  text-align: center;
}

.cart-collaterals .wc-proceed-to-checkout .checkout-button:hover {
  background: linear-gradient(135deg, #ffe2a0, #f3ba43);
}

.t-cart-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 11px 0 0;
  color: rgba(170, 181, 199, 0.72);
  font-size: 10px;
  line-height: 1.6;
}

.t-cart-secure-note svg {
  inline-size: 15px;
  block-size: 15px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

/* Shipping methods inside totals. */
.cart-collaterals .woocommerce-shipping-totals td {
  text-align: start;
}

.cart-collaterals .woocommerce-shipping-totals > td[colspan="2"] {
  inline-size: 100%;
  padding-block: 15px;
}

.t-cart-shipping {
  min-inline-size: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.t-cart-shipping .woocommerce-shipping-methods {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.t-cart-shipping .woocommerce-shipping-methods li {
  position: relative;
  margin: 0;
  padding: 0;
}

.t-cart-shipping .woocommerce-shipping-methods input[type="radio"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  opacity: 0;
}

.t-cart-shipping .woocommerce-shipping-methods label {
  position: relative;
  display: grid;
  min-block-size: 52px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 13px;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 105, 0.25);
  border-radius: 12px;
  color: rgba(238, 245, 255, 0.82);
  background:
    linear-gradient(105deg, rgba(214, 174, 105, 0.065), transparent 42%),
    rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.6;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.t-cart-shipping .woocommerce-shipping-methods label::before {
  position: absolute;
  inset-block: 12px;
  inset-inline-start: 0;
  inline-size: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--gold-light), transparent);
  content: "";
  opacity: 0.7;
}

.t-cart-shipping .woocommerce-shipping-methods input:checked + label {
  border-color: rgba(238, 177, 54, 0.58);
  color: var(--gold-light);
  background:
    radial-gradient(circle at 100% 0%, rgba(238, 177, 54, 0.12), transparent 45%),
    linear-gradient(105deg, rgba(214, 174, 105, 0.085), rgba(255, 255, 255, 0.012));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 9px 24px rgba(0, 0, 0, 0.12);
}

.t-cart-shipping__icon {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  inline-size: 24px;
  block-size: 24px;
  place-items: center;
  color: var(--gold-light);
  background: transparent;
  filter: drop-shadow(0 0 7px rgba(238, 177, 54, 0.2));
}

.t-cart-shipping__icon svg {
  inline-size: 21px;
  block-size: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.t-cart-shipping__label {
  grid-column: 1;
  grid-row: 1;
  min-inline-size: 0;
  text-align: start;
}

.t-cart-shipping__label .amount {
  color: inherit !important;
}

.t-cart-shipping-progress {
  position: relative;
  isolation: isolate;
  margin-block-start: 9px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(214, 174, 105, 0.22);
  border-radius: 13px;
  color: rgba(238, 245, 255, 0.84);
  background:
    radial-gradient(circle at 100% -25%, rgba(238, 177, 54, 0.13), transparent 48%),
    linear-gradient(145deg, rgba(12, 26, 47, 0.96), rgba(5, 14, 29, 0.97));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.13);
}

.t-cart-shipping-progress::before {
  position: absolute;
  z-index: -1;
  inset-block-start: -45px;
  inset-inline-end: -30px;
  inline-size: 110px;
  block-size: 110px;
  border: 1px solid rgba(238, 177, 54, 0.08);
  border-radius: 50%;
  content: "";
}

.t-cart-shipping-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-block-end: 12px;
}

.t-cart-shipping-progress__copy {
  min-inline-size: 0;
  text-align: start;
}

.t-cart-shipping-progress__eyebrow {
  display: block;
  margin-block-end: 2px;
  color: var(--gold-light);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: -0.1px;
  line-height: 1.6;
}

.t-cart-shipping-progress__copy p {
  margin: 0;
  color: rgba(221, 230, 243, 0.72);
  font-size: 9px;
  font-weight: 550;
  line-height: 1.7;
}

.t-cart-shipping-progress__amount,
.t-cart-shipping-progress__amount .amount {
  color: var(--white) !important;
  font-weight: 850;
  white-space: nowrap;
}

.t-cart-shipping-progress__percent {
  display: grid;
  inline-size: 43px;
  block-size: 43px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(238, 177, 54, 0.35);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(238, 177, 54, 0.075);
  box-shadow:
    inset 0 0 0 4px rgba(238, 177, 54, 0.025),
    0 0 18px rgba(238, 177, 54, 0.08);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.t-cart-shipping-progress__track {
  display: flex;
  inline-size: 100%;
  block-size: 10px;
  align-items: center;
  padding: 2px;
  overflow: hidden;
  direction: rtl;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.02);
}

.t-cart-shipping-progress__track > span {
  position: relative;
  display: block;
  inline-size: var(--t-cart-shipping-progress, 0%);
  block-size: 6px;
  flex: 0 0 var(--t-cart-shipping-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #c98408 0%, #e8a927 48%, #ffe09a 100%);
  box-shadow: 0 0 14px rgba(238, 177, 54, 0.36);
  transition: inline-size 280ms ease, flex-basis 280ms ease;
}

.t-cart-shipping-progress__track > span::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -2px;
  inline-size: 8px;
  block-size: 8px;
  border: 2px solid #fff0c7;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(255, 224, 154, 0.72);
  content: "";
  transform: translateY(-50%);
}

.t-cart-shipping-progress__scale {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 9px;
}

.t-cart-shipping-progress__scale > span {
  display: grid;
  gap: 1px;
  min-inline-size: 0;
}

.t-cart-shipping-progress__scale > span:last-child {
  text-align: end;
}

.t-cart-shipping-progress__scale small {
  color: rgba(170, 181, 199, 0.52);
  font-size: 7.5px;
  font-weight: 550;
  line-height: 1.5;
}

.t-cart-shipping-progress__scale strong,
.t-cart-shipping-progress__scale .amount {
  color: rgba(238, 245, 255, 0.76) !important;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.55;
  white-space: nowrap;
}

.t-cart-shipping-progress.is-complete {
  border-color: rgba(74, 222, 128, 0.3);
  color: #bbf7d0;
  background:
    radial-gradient(circle at 100% -25%, rgba(74, 222, 128, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(8, 31, 35, 0.96), rgba(4, 18, 28, 0.97));
}

.t-cart-shipping-progress.is-complete .t-cart-shipping-progress__eyebrow {
  color: #86efac;
}

.t-cart-shipping-progress.is-complete .t-cart-shipping-progress__percent {
  border-color: rgba(74, 222, 128, 0.36);
  color: #86efac;
  background: rgba(74, 222, 128, 0.075);
  box-shadow:
    inset 0 0 0 4px rgba(74, 222, 128, 0.025),
    0 0 18px rgba(74, 222, 128, 0.09);
}

.t-cart-shipping-progress.is-complete .t-cart-shipping-progress__track > span {
  background: linear-gradient(90deg, #16a34a, #86efac);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.28);
}

.t-cart-shipping-progress.is-complete .t-cart-shipping-progress__track > span::after {
  border-color: #dcfce7;
  background: #22c55e;
  box-shadow: 0 0 9px rgba(134, 239, 172, 0.7);
}

.t-cart-shipping .woocommerce-shipping-destination,
.t-cart-shipping .woocommerce-shipping-contents {
  margin: 8px 0 0;
  color: rgba(170, 181, 199, 0.68);
  font-size: 9px;
  font-weight: 500;
  line-height: 1.8;
  text-align: start;
}

.t-cart-shipping .shipping-calculator-button {
  display: inline-flex;
  margin-block-start: 7px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 750;
}

/* Existing benefits component reused on cart. */
.t-cart-page .t-shop-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: 14px;
  padding: 16px 10px;
  border: 1px solid rgba(214, 174, 105, 0.27);
  border-radius: 10px;
  background: linear-gradient(100deg, rgba(5, 15, 29, 0.98), rgba(8, 21, 39, 0.96));
}

.t-cart-page .t-shop-benefit {
  display: flex;
  min-inline-size: 0;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 3px 16px;
}

.t-cart-page .t-shop-benefit + .t-shop-benefit {
  border-inline-start: 1px solid rgba(214, 174, 105, 0.23);
}

.t-cart-page .t-shop-benefit > svg {
  inline-size: 38px;
  block-size: 38px;
  flex: 0 0 38px;
  fill: none;
  stroke: #f0a91c;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.t-cart-page .t-shop-benefit strong,
.t-cart-page .t-shop-benefit span {
  display: block;
}

.t-cart-page .t-shop-benefit strong {
  margin-block-end: 2px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 750;
}

.t-cart-page .t-shop-benefit span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

/* Shipping calculator dialog. */
body.shipping-calculator-form-open {
  overflow: hidden;
}

body.shipping-calculator-form-open .sepidsolar-shadow {
  position: fixed;
  z-index: 99998;
  inset: 0;
  visibility: visible;
  opacity: 1;
  background: rgba(1, 6, 13, 0.74);
  backdrop-filter: blur(5px);
}

.shipping-calculator-form {
  position: fixed;
  z-index: 99999;
  top: 50%;
  left: 50%;
  inline-size: min(620px, calc(100% - 32px));
  max-block-size: calc(100vh - 40px);
  overflow: hidden;
  margin: 0 !important;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(214, 174, 105, 0.42);
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, #09172b, #040c19);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  direction: rtl;
}

.shipping-calculator-form .shipping-calculator-inner {
  max-block-size: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 174, 105, 0.55) transparent;
}

.shipping-calculator-inner .heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 18px;
}

.shipping-calculator-inner .heading .title {
  color: var(--white) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.shipping-calculator-inner .close {
  display: grid;
  inline-size: 36px;
  block-size: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(214, 174, 105, 0.28);
  border-radius: 9px;
  color: var(--gold-light);
  background: rgba(214, 174, 105, 0.06);
  cursor: pointer;
}

.shipping-calculator-inner .fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(214, 174, 105, 0.2);
  border-radius: 11px 11px 0 0;
  background: rgba(255, 255, 255, 0.02);
}

.shipping-calculator-inner .fields p {
  display: flex;
  min-inline-size: 0;
  flex-direction: column;
  gap: 5px;
  margin: 0 !important;
  padding: 0 !important;
}

.shipping-calculator-inner .fields label {
  color: var(--muted);
  font-size: 11px;
}

.shipping-calculator-inner .fields input,
.shipping-calculator-inner .fields select,
.shipping-calculator-inner .fields .select2-selection {
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(214, 174, 105, 0.25);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  font-family: inherit;
  font-size: 11px;
}

.shipping-calculator-inner .calc-shipping-button {
  padding: 16px 18px;
  border: 1px solid rgba(214, 174, 105, 0.2);
  border-block-start: 0;
  border-radius: 0 0 11px 11px;
}

.shipping-calculator-inner .calc-shipping-button button {
  min-block-size: 42px;
  padding: 8px 28px;
  border: 1px solid rgba(255, 221, 141, 0.78);
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, #f5d58a, #edae2f);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
}

/* Empty cart. */
.t-cart-page--empty .cart-empty-wrapper {
  display: flex;
  min-block-size: 360px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 34px 20px;
  border: 1px solid rgba(214, 174, 105, 0.38);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8, 21, 40, 0.92), rgba(3, 10, 22, 0.96));
  text-align: center;
}

.t-cart-page--empty .cart-empty-pic {
  display: grid;
  inline-size: 180px;
  block-size: 135px;
  place-items: center;
  margin: 0 0 10px;
  background: none;
}

.t-cart-page--empty .cart-empty-pic img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
}

.t-cart-page--empty .cart-empty-wrapper h2 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
}

.t-cart-page--empty .t-cart-empty-message,
.t-cart-page--empty .wc-empty-cart-message,
.t-cart-page--empty .cart-empty.woocommerce-info {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
}

.t-cart-page--empty .t-cart-empty-message .cart-empty-pic {
  display: none;
}

.t-cart-page--empty .return-to-shop {
  display: inline-flex;
  inline-size: auto;
  min-inline-size: 190px;
  min-block-size: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 18px 0 0;
  padding: 10px 20px;
  border: 1px solid rgba(255, 221, 141, 0.78);
  border-radius: 8px;
  color: #111827;
  background: linear-gradient(135deg, #f5d58a, #edae2f);
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
}

.t-cart-page--empty .return-to-shop svg {
  inline-size: 18px;
  block-size: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 1180px) {
  .t-cart-layout {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
    gap: 18px;
  }

  .t-cart-table-card .shop_table thead th,
  .t-cart-table-card .shop_table tbody > tr.cart_item > td {
    padding-inline: 10px;
  }

  .t-cart-product__thumbnail {
    inline-size: 62px;
    block-size: 50px;
    flex-basis: 62px;
  }
}

@media (max-width: 1024px) {
  .t-cart-page > .t-container {
    inline-size: calc(100% - 32px);
  }

  .t-cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cart-collaterals .cart_totals {
    inline-size: 100%;
  }

  .t-cart-page .t-shop-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }

  .t-cart-page .t-shop-benefit:nth-child(3) {
    border-inline-start: 0;
  }
}

@media (max-width: 760px) {
  .t-cart-page {
    padding-block: 2px calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .t-cart-page > .t-container {
    inline-size: calc(100% - 24px);
  }

  .t-cart-page__header {
    margin-block-end: 12px;
  }

  .t-cart-page__header h1 {
    font-size: 28px;
  }

  .t-cart-page__header > p {
    font-size: 11px;
  }

  .t-cart-table-card {
    overflow: visible;
    border-radius: 12px;
  }

  .t-cart-table-card .shop_table,
  .t-cart-table-card .shop_table tbody {
    display: block;
  }

  .t-cart-table-card .shop_table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-block-end: 1px solid rgba(214, 174, 105, 0.2);
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item:last-of-type {
    border-block-end: 0;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item > td {
    display: flex;
    min-block-size: 0;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: 0;
    text-align: end;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item > td::before {
    display: none !important;
    content: none !important;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item > td.product-name {
    grid-column: 1;
    min-inline-size: 0;
    text-align: start;
  }

  .t-cart-product {
    inline-size: 100%;
    align-items: center;
    gap: 10px;
  }

  .t-cart-product__thumbnail {
    inline-size: 64px;
    block-size: 58px;
    flex-basis: 64px;
    border-radius: 8px;
  }

  .t-cart-product__title {
    padding: 0;
    font-size: 11px;
    line-height: 1.75;
    -webkit-line-clamp: 2;
  }

  .t-cart-product__details > :not(.t-cart-product__title) {
    display: none !important;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item > td.product-price,
  .t-cart-table-card .shop_table tbody > tr.cart_item > td.product-subtotal,
  .t-cart-table-card .shop_table tbody > tr.cart_item > td.product-remove {
    display: none !important;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item > td.product-quantity {
    grid-column: 2;
    justify-content: flex-end;
  }

  .t-cart-table-card .product-quantity .quantity.bordered {
    min-block-size: 34px;
  }

  .t-cart-table-card .product-quantity .quantity-button,
  .t-cart-table-card .product-quantity input.qty {
    inline-size: 32px;
    block-size: 32px;
    flex-basis: 32px;
  }

  .t-cart-table-card .product-quantity input.qty {
    inline-size: 38px;
    flex-basis: 38px;
  }

  .t-cart-table-card .t-cart-actions-row,
  .t-cart-table-card .t-cart-actions-row > td.actions {
    display: block;
    inline-size: 100%;
  }

  .t-cart-table-card .t-cart-actions-row > td.actions {
    padding: 14px;
  }

  .t-cart-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .t-cart-actions .coupon {
    inline-size: 100%;
    min-inline-size: 0;
  }

  .t-cart-actions .coupon .button {
    padding-inline: 15px;
  }

  .cart-collaterals .cart_totals {
    padding-inline: 18px;
  }

  .cart-collaterals .cart_totals > h2 {
    margin-inline: -18px;
    padding-inline: 18px;
    font-size: 17px;
  }

  .cart-collaterals .cart_totals > .shop_table th,
  .cart-collaterals .cart_totals > .shop_table td {
    font-size: 11px;
  }

  .cart-collaterals .cart_totals .order-total td,
  .cart-collaterals .cart_totals .order-total td .amount {
    font-size: 17px;
  }

  .t-cart-page .t-shop-benefits {
    margin-block-start: 18px;
  }

  .t-cart-page .t-shop-benefit {
    flex-direction: column;
    padding-inline: 8px;
    text-align: center;
  }

  .shipping-calculator-inner .fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-cart-page--empty .cart-empty-wrapper {
    min-block-size: 330px;
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .t-cart-page > .t-container {
    inline-size: calc(100% - 20px);
  }

  .t-cart-shipping-progress {
    padding: 12px;
  }

  .t-cart-shipping-progress__header {
    gap: 10px;
  }

  .t-cart-shipping-progress__percent {
    inline-size: 39px;
    block-size: 39px;
    font-size: 10px;
  }

  .t-cart-shipping-progress__scale {
    gap: 8px;
  }

  .t-cart-table-card .shop_table tbody > tr.cart_item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .t-cart-product__thumbnail {
    inline-size: 58px;
    block-size: 54px;
    flex-basis: 58px;
  }

  .t-cart-product__title {
    font-size: 10.5px;
  }

  .t-cart-actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .t-cart-actions .coupon input.input-text {
    border: 1px solid rgba(214, 174, 105, 0.38);
    border-radius: 7px;
    background: rgba(4, 12, 25, 0.5);
  }

  .t-cart-actions .coupon .button {
    margin-block-start: 8px;
    border: 1px solid var(--gold);
    border-radius: 7px;
  }

  .t-cart-page .t-shop-benefits {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .t-cart-page .t-shop-benefit {
    flex-direction: row;
    justify-content: flex-start;
    padding: 13px 12px;
    text-align: start;
  }

  .t-cart-page .t-shop-benefit + .t-shop-benefit {
    border-block-start: 1px solid rgba(214, 174, 105, 0.2);
    border-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-cart-page *,
  .t-cart-page *::before,
  .t-cart-page *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}
