/* AsanWP cart page — isolated from mini cart, side cart and checkout. */
.woocommerce-cart .awp-cart-page {
  width:100%;
  max-width:var(--theme-site-width, 1360px);
  margin:0 auto;
  color:var(--color-text-primary, #23254e);
}
.woocommerce-cart .awp-cart-layout {
  display:grid;
  direction:ltr;
  grid-template-columns:minmax(340px, 412px) minmax(0, 1fr);
  grid-template-areas:"sidebar main";
  gap:24px;
  align-items:start;
  margin:18px 0 44px;
}
.woocommerce-cart .awp-cart-main { grid-area:main; min-width:0; direction:rtl; }
.woocommerce-cart .awp-cart-sidebar { grid-area:sidebar; min-width:0; direction:rtl; align-self:start; }
.woocommerce-cart .awp-cart-form,
.woocommerce-cart .awp-cart-products { min-width:0; margin:0; }
.woocommerce-cart .awp-cart-products {
  overflow:hidden;
  border:1px solid var(--color-gray200, #e0e0e2);
  border-radius:14px;
  background:var(--color-background, #fff);
}
.woocommerce-cart .awp-cart-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:72px;
  padding:16px 24px;
}
.woocommerce-cart .awp-cart-header__title {
  display:flex;
  align-items:baseline;
  gap:8px;
  min-width:0;
}
.woocommerce-cart .awp-cart-header__title h1 {
  margin:0;
  font-size:18px;
  line-height:1.6;
  font-weight:800;
  color:inherit;
}
.woocommerce-cart .awp-cart-header__title span {
  font-size:12px;
  color:var(--color-gray600, #81858b);
  white-space:nowrap;
}
.woocommerce-cart .awp-cart-header__tools {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--color-gray800, #424750);
}
.woocommerce-cart .awp-cart-header__tool {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:8px;
  font-size:18px;
}
.woocommerce-cart .awp-cart-items { padding:0 24px; }
.woocommerce-cart .awp-cart-item {
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 180px;
  gap:20px;
  align-items:start;
  padding:16px 0 18px;
  border-top:1px solid var(--color-gray150, #ededee);
}
.woocommerce-cart .awp-cart-item:first-child { border-top:0; }
.woocommerce-cart .awp-cart-item__media {
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:150px;
  height:150px;
  padding:8px;
  border-radius:10px;
  background:var(--color-gray25, #f7f7f8);
}
.woocommerce-cart .awp-cart-item__media a { display:flex; width:100%; height:100%; align-items:center; justify-content:center; }
.woocommerce-cart .awp-cart-item__media img { display:block; width:100%; height:100%; max-width:134px; object-fit:contain; }
.woocommerce-cart .awp-cart-item__content { grid-column:2; min-width:0; padding-top:2px; }
.woocommerce-cart .awp-cart-item__sale {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:24px;
  margin-bottom:8px;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  line-height:1.6;
  color:var(--theme-primary-color);
  background:color-mix(in srgb, var(--theme-primary-color) 8%, transparent);
}
.woocommerce-cart .awp-cart-item__sale i { font-size:13px; }
.woocommerce-cart .awp-cart-item__title {
  margin:0;
  font-size:13px;
  line-height:1.9;
  font-weight:700;
}
.woocommerce-cart .awp-cart-item__title a { color:inherit; text-decoration:none; }
.woocommerce-cart .awp-cart-item__meta {
  margin-top:9px;
  font-size:12px;
  line-height:1.9;
  color:var(--color-gray700, #62666d);
}
.woocommerce-cart .awp-cart-item__meta dl.variation {
  display:flex;
  flex-wrap:wrap;
  gap:4px 6px;
  margin:0;
}
.woocommerce-cart .awp-cart-item__meta dl.variation dt,
.woocommerce-cart .awp-cart-item__meta dl.variation dd { float:none; margin:0; padding:0; }
.woocommerce-cart .awp-cart-item__meta dl.variation dd + dt::before { content:"•"; margin-inline:2px 4px; color:var(--color-gray400, #a1a3a8); }
.woocommerce-cart .awp-cart-item__meta p { margin:0; }
.woocommerce-cart .awp-cart-item__delivery {
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  font-size:11px;
  color:var(--color-gray700, #62666d);
}
.woocommerce-cart .awp-cart-item__delivery i { font-size:14px; color:#19bfd3; }
.woocommerce-cart .awp-cart-item__aside {
  grid-column:3;
  min-width:0;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  padding-top:18px;
}
.woocommerce-cart .awp-cart-item__price { width:100%; text-align:left; }
.woocommerce-cart .awp-cart-item__old-price {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  min-height:24px;
  margin-bottom:3px;
}
.woocommerce-cart .awp-cart-item__old-price del {
  font-size:10px;
  color:var(--color-gray500, #a1a3a8);
  text-decoration-color:currentColor;
}
.woocommerce-cart .awp-cart-item__old-price span {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  min-height:20px;
  padding:1px 6px;
  border-radius:999px;
  font-size:10px;
  font-weight:700;
  color:#fff;
  background:var(--theme-primary-color);
}
.woocommerce-cart .awp-cart-item__price > strong {
  display:block;
  font-size:14px;
  line-height:1.8;
  font-weight:800;
  color:inherit;
  white-space:nowrap;
}
.woocommerce-cart .awp-cart-item__actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  width:100%;
}
.woocommerce-cart .awp-cart-item__actions .quantity {
  display:flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:96px;
  height:42px;
  margin:0;
  padding:0 5px;
  border:1px solid var(--color-gray200, #e0e0e2);
  border-radius:12px;
  background:var(--color-background, #fff);
  box-shadow:none;
}
.woocommerce-cart .awp-cart-item__actions .quantity .qty {
  width:32px;
  min-width:32px;
  height:38px;
  padding:0;
  border:0;
  text-align:center;
  color:var(--theme-primary-color);
  background:transparent;
  box-shadow:none;
}
.woocommerce-cart .awp-cart-item__actions .quantity .quantity-button {
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:36px;
  margin:0;
  border:0;
  color:var(--theme-primary-color);
  background:transparent;
  cursor:pointer;
}
.woocommerce-cart .awp-cart-item__actions .quantity .quantity-button i { font-size:15px; }
.woocommerce-cart .awp-cart-item__remove { display:none; }
.woocommerce-cart .awp-cart-form-actions {
  padding:14px 24px 18px;
  border-top:1px solid var(--color-gray150, #ededee);
  background:var(--color-gray25, #fafafa);
}
.woocommerce-cart .awp-cart-coupon { max-width:420px; }
.woocommerce-cart .awp-cart-coupon summary {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  font-size:12px;
  font-weight:600;
  color:var(--theme-primary-color);
  cursor:pointer;
}
.woocommerce-cart .awp-cart-coupon__fields {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  margin-top:8px;
}
.woocommerce-cart .awp-cart-coupon__fields input {
  min-width:0;
  height:42px;
  border:1px solid var(--color-gray200, #e0e0e2);
  border-radius:9px;
  background:var(--color-background, #fff);
}
body.woocommerce-cart .site-content .awp-cart-coupon__fields button.button {
  min-height:42px;
  padding-inline:16px;
  border:1px solid var(--theme-primary-color);
  border-radius:9px;
  font-size:12px;
  font-weight:700;
  color:var(--theme-primary-color);
  background:transparent;
}
body.woocommerce-cart .site-content .awp-cart-coupon__fields button.button:hover {
  color:#fff;
  border-color:var(--theme-primary-color);
  background:var(--theme-primary-color);
}
.woocommerce-cart .awp-cart-system-actions { display:flex; align-items:center; gap:8px; margin-top:8px; }
body.woocommerce-cart .site-content .awp-cart-system-actions .empty-cart-button.button {
  min-height:36px;
  padding:0 12px;
  border:1px solid color-mix(in srgb, var(--theme-primary-color) 24%, var(--color-gray200, #e0e0e2));
  border-radius:8px;
  font-size:11px;
  font-weight:600;
  color:var(--theme-primary-color);
  background:transparent;
}
body.woocommerce-cart .site-content .awp-cart-system-actions .empty-cart-button.button:hover {
  color:var(--theme-primary-color);
  border-color:color-mix(in srgb, var(--theme-primary-color) 42%, var(--color-gray200, #e0e0e2));
  background:color-mix(in srgb, var(--theme-primary-color) 6%, transparent);
}
.woocommerce-cart .awp-cart-summary {
  position:sticky;
  top:88px;
  overflow:hidden;
  border:1px solid var(--color-gray200, #e0e0e2);
  border-radius:14px;
  background:var(--color-background, #fff);
  box-shadow:none;
}
.woocommerce-cart .awp-cart-summary__header { padding:20px 24px 10px; }
.woocommerce-cart .awp-cart-summary__header h2 { margin:0; font-size:15px; line-height:1.7; font-weight:800; }
.woocommerce-cart .awp-cart-summary__rows { padding:8px 0; }
.woocommerce-cart .awp-cart-summary__row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:40px;
  padding:8px 24px;
  font-size:12px;
  line-height:1.7;
}
.woocommerce-cart .awp-cart-summary__row > span { color:var(--color-gray700, #62666d); }
.woocommerce-cart .awp-cart-summary__row > strong { margin-inline-start:auto; font-size:12px; font-weight:700; text-align:left; white-space:nowrap; }
.woocommerce-cart .awp-cart-summary__row--saving {
  color:#00875a;
  background:color-mix(in srgb, #00a66a 11%, transparent);
}
.woocommerce-cart .awp-cart-summary__row--saving > span { display:flex; align-items:center; gap:6px; color:inherit; }
.woocommerce-cart .awp-cart-summary__row--saving i { font-size:15px; }
.woocommerce-cart .awp-cart-summary__row--total {
  margin-top:2px;
  border-top:1px solid var(--color-gray150, #ededee);
  font-weight:800;
}
.woocommerce-cart .awp-cart-summary__row--total > span { color:inherit; font-weight:800; }
.woocommerce-cart .awp-cart-summary__row--total > strong { font-size:14px; }
.woocommerce-cart .awp-cart-summary__row--shipping { align-items:flex-start; }
.woocommerce-cart .awp-cart-summary__row--shipping > div { min-width:0; text-align:left; }
.woocommerce-cart .awp-cart-summary__row--shipping ul { margin:0; padding:0; list-style:none; }
.woocommerce-cart .awp-cart-summary__checkout { padding:12px 24px 10px; margin:0; }
body.woocommerce-cart .site-content .awp-cart-summary__checkout .checkout-button.alt {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:50px;
  margin:0;
  border:1px solid var(--theme-primary-color);
  border-radius:8px;
  font-size:13px;
  font-weight:800;
  color:#fff;
  background:var(--theme-primary-color);
}
body.woocommerce-cart .site-content .awp-cart-summary__checkout .checkout-button.alt:hover {
  color:#fff;
  border-color:var(--theme-primary-hover-color, var(--theme-primary-color));
  background:var(--theme-primary-hover-color, var(--theme-primary-color));
}
.woocommerce-cart .awp-cart-summary__notice {
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin:0;
  padding:0 24px 20px;
  font-size:10px;
  line-height:1.8;
  color:var(--color-gray700, #62666d);
}
.woocommerce-cart .awp-cart-summary__notice i { margin-top:3px; font-size:13px; color:var(--color-gray700, #62666d); }
.woocommerce-cart .awp-cart-summary__mobile-bar { display:none; }
.woocommerce-cart .awp-cart-desktop-promo { margin-top:18px; }
.woocommerce-cart .awp-cart-mobile-promo { display:none; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping {
  margin:0;
  padding:16px 18px;
  border:1px solid color-mix(in srgb, #00a66a 24%, transparent);
  border-radius:12px;
  color:#007e5b;
  background:color-mix(in srgb, #00a66a 6%, var(--color-background, #fff));
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-notice,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-notice { margin:0 0 10px; font-size:12px; line-height:1.8; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-progress,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-progress { height:5px; border-radius:999px; overflow:hidden; background:color-mix(in srgb, #00a66a 12%, transparent); }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-progress span,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-progress span { display:block; height:100%; border-radius:inherit; background:#00a66a; }

body[data-theme="dark"].woocommerce-cart .awp-cart-products,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__actions .quantity,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__remove,
body[data-theme="dark"].woocommerce-cart .awp-cart-coupon__fields input { background:var(--color-background, #1f2024); }
body[data-theme="dark"].woocommerce-cart .awp-cart-form-actions { background:rgba(255,255,255,.025); }
body[data-theme="dark"].woocommerce-cart .awp-cart-item__media { background:rgba(255,255,255,.035); }

@media (min-width:992px) and (max-width:1199.98px) {
  .woocommerce-cart .awp-cart-layout {
    grid-template-columns:minmax(300px, 340px) minmax(0, 1fr);
    gap:18px;
  }
  .woocommerce-cart .awp-cart-item {
    grid-template-columns:130px minmax(0, 1fr) 160px;
    gap:16px;
  }
  .woocommerce-cart .awp-cart-item__media { width:130px; height:130px; }
  .woocommerce-cart .awp-cart-item__media img { max-width:116px; }
}

@media (max-width:991.98px) {
  body.woocommerce-cart { overflow-x:clip; padding-bottom:78px; }
  body.woocommerce-cart:has(.awp-mobile-bottom) { padding-bottom:calc(132px + env(safe-area-inset-bottom)); }
  .woocommerce-cart .site-content,
  .woocommerce-cart .container,
  .woocommerce-cart .woocommerce,
  .woocommerce-cart .awp-cart-page { width:100%; max-width:100%; min-width:0; }
  .woocommerce-cart .awp-cart-layout { display:block; margin:0; }
  .woocommerce-cart .awp-cart-main,
  .woocommerce-cart .awp-cart-sidebar { width:100%; min-width:0; }
  .woocommerce-cart .awp-cart-products { border:0; border-radius:0; }
  .woocommerce-cart .awp-cart-header {
    min-height:68px;
    padding:14px 16px;
    border-bottom:1px solid var(--color-gray150, #ededee);
  }
  .woocommerce-cart .awp-cart-header__title h1 { font-size:16px; }
  .woocommerce-cart .awp-cart-header__title span { font-size:10px; }
  .woocommerce-cart .awp-cart-header__tool { width:30px; height:30px; font-size:17px; }
  .woocommerce-cart .awp-cart-items { padding:0; }
  .woocommerce-cart .awp-cart-item {
    grid-template-columns:104px minmax(0,1fr);
    gap:10px 14px;
    padding:18px 16px 16px;
    border-top:1px solid var(--color-gray150, #ededee);
  }
  .woocommerce-cart .awp-cart-item__media {
    grid-column:1;
    grid-row:1;
    width:104px;
    height:120px;
    padding:6px;
    border-radius:9px;
  }
  .woocommerce-cart .awp-cart-item__media img { max-width:92px; }
  .woocommerce-cart .awp-cart-item__content { grid-column:2; grid-row:1; padding-top:0; }
  .woocommerce-cart .awp-cart-item__sale { min-height:22px; margin-bottom:6px; font-size:10px; }
  .woocommerce-cart .awp-cart-item__title { font-size:12px; line-height:1.85; }
  .woocommerce-cart .awp-cart-item__meta { margin-top:6px; font-size:10px; line-height:1.8; }
  .woocommerce-cart .awp-cart-item__delivery { margin-top:6px; font-size:10px; }
  .woocommerce-cart .awp-cart-item__aside {
    grid-column:1 / -1;
    grid-row:2;
    display:flex;
    flex-direction:row;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    padding-top:0;
  }
  .woocommerce-cart .awp-cart-item__price { order:2; width:auto; min-width:0; text-align:left; }
  .woocommerce-cart .awp-cart-item__old-price { justify-content:flex-start; gap:6px; }
  .woocommerce-cart .awp-cart-item__price > strong { font-size:12px; white-space:normal; }
  .woocommerce-cart .awp-cart-item__actions { order:1; width:auto; justify-content:flex-start; gap:8px; }
  .woocommerce-cart .awp-cart-item__actions .quantity { min-width:104px; height:42px; border-radius:12px; }
  .woocommerce-cart .awp-cart-form-actions { padding:12px 16px 18px; }
  .woocommerce-cart .awp-cart-coupon { max-width:none; }
  .woocommerce-cart .awp-cart-coupon__fields { grid-template-columns:minmax(0,1fr) auto; }
  .woocommerce-cart .awp-cart-mobile-promo { display:block; margin:16px 16px 0; }
  .woocommerce-cart .awp-cart-desktop-promo { display:none; }
  .woocommerce-cart .awp-cart-sidebar { height:0; }
  .woocommerce-cart .awp-cart-summary {
    position:static;
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
  }
  .woocommerce-cart .awp-cart-summary > :not(.awp-cart-summary__mobile-bar) { display:none; }
  .woocommerce-cart .awp-cart-summary__mobile-bar {
    position:fixed;
    right:0;
    left:0;
    bottom:0;
    z-index:998;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:68px;
    padding:8px 16px;
    border-top:1px solid var(--color-gray150, #ededee);
    background:var(--color-background, #fff);
    box-shadow:0 -4px 18px rgba(0,0,0,.06);
  }
  body.woocommerce-cart:has(.awp-mobile-bottom) .awp-cart-summary__mobile-bar { bottom:calc(58px + env(safe-area-inset-bottom)); }
  .woocommerce-cart .awp-cart-summary__mobile-total {
    order:1;
    display:grid;
    grid-template-columns:auto auto;
    align-items:center;
    gap:2px 6px;
    min-width:0;
    font-size:10px;
    color:var(--color-gray700, #62666d);
  }
  .woocommerce-cart .awp-cart-summary__mobile-total span { grid-column:1; }
  .woocommerce-cart .awp-cart-summary__mobile-total del { grid-column:2; font-size:9px; color:var(--color-gray500, #a1a3a8); }
  .woocommerce-cart .awp-cart-summary__mobile-total strong { grid-column:1 / -1; font-size:13px; color:var(--color-text-primary, #23254e); white-space:nowrap; }
  body.woocommerce-cart .site-content .awp-cart-summary__mobile-button.alt {
    order:-1;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    min-width:150px;
    min-height:48px;
    margin:0;
    padding:0 18px;
    border:1px solid var(--theme-primary-color);
    border-radius:9px;
    font-size:13px;
    font-weight:800;
    color:#fff;
    background:var(--theme-primary-color);
  }
  body.woocommerce-cart .site-content .awp-cart-summary__mobile-button.alt:hover { color:#fff; border-color:var(--theme-primary-hover-color, var(--theme-primary-color)); background:var(--theme-primary-hover-color, var(--theme-primary-color)); }
}

@media (max-width:420px) {
  .woocommerce-cart .awp-cart-item { grid-template-columns:92px minmax(0,1fr); padding-inline:12px; }
  .woocommerce-cart .awp-cart-item__media { width:92px; height:108px; }
  .woocommerce-cart .awp-cart-item__media img { max-width:82px; }
  .woocommerce-cart .awp-cart-summary__mobile-bar { padding-inline:12px; gap:10px; }
  body.woocommerce-cart .site-content .awp-cart-summary__mobile-button.alt { min-width:142px; }
}

/* AJAX feedback: keep the cart interactive without relying on WooCommerce's dim-only overlay. */
.woocommerce-cart .awp-cart-item__actions .quantity.is-syncing .qty,
.woocommerce-cart .awp-cart-item__actions .quantity.is-updating .qty {
  color:transparent;
}
.woocommerce-cart .awp-cart-item__actions .quantity.is-syncing .quantity-button,
.woocommerce-cart .awp-cart-item__actions .quantity.is-updating .quantity-button {
  opacity:.34;
  pointer-events:none;
}

.woocommerce-cart .awp-cart-view {
  position:relative;
}
.woocommerce-cart .awp-cart-item.is-updating {
  position:relative;
}
.woocommerce-cart .awp-cart-view.is-loading::after {
  content:"";
  position:fixed;
  top:50%;
  left:50%;
  z-index:10020;
  width:30px;
  height:30px;
  margin:-15px 0 0 -15px;
  border:3px solid color-mix(in srgb,var(--theme-primary-color) 20%,transparent);
  border-top-color:var(--theme-primary-color);
  border-radius:50%;
  pointer-events:none;
  animation:awp-commerce-loader-spin .7s linear infinite;
}
.woocommerce-cart .awp-cart-view.is-loading::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:10019;
  background:color-mix(in srgb,var(--color-background,#fff) 58%,transparent);
  pointer-events:none;
}

/* Builder width integration: the section owns Container / Wide / Full Width.
 * The cart component should fill that section instead of re-applying the
 * theme site-width cap internally. */
.awp-builder-section .awp-builder-shortcode--woocommerce-cart .awp-cart-page {
  max-width:none;
}

/* ================================================================
 * Dark mode — cart page
 * Keep every cart surface tied to the theme dark palette, including
 * fragments that WooCommerce replaces after AJAX quantity updates.
 * ================================================================ */
body[data-theme="dark"].woocommerce-cart .awp-cart-page {
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-products,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary {
  border-color:var(--color-gray200,#292e33);
  background:var(--color-background,#1a1b20);
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-header,
body[data-theme="dark"].woocommerce-cart .awp-cart-header__title h1,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__title,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__price > strong,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__header h2,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row > strong,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--total,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--total > span,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__mobile-total strong {
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-header__title span,
body[data-theme="dark"].woocommerce-cart .awp-cart-header__tools,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__meta,
body[data-theme="dark"].woocommerce-cart .awp-cart-item__delivery,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row > span,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__notice,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__notice i,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__mobile-total {
  color:var(--color-gray700,#a3a8ae);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item,
body[data-theme="dark"].woocommerce-cart .awp-cart-form-actions,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--total,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__mobile-bar {
  border-color:var(--color-gray200,#292e33);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item__media {
  background:var(--color-gray25,#202427);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item__media img {
  mix-blend-mode:normal;
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item__actions .quantity {
  border-color:var(--color-gray300,#2f343a);
  background:var(--color-gray25,#202427);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item__actions .quantity .qty {
  color:var(--theme-primary-color);
  background:transparent;
}
body[data-theme="dark"].woocommerce-cart .awp-cart-form-actions {
  background:var(--color-gray25,#202427);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-coupon__fields input,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__shipping-calculator input,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__shipping-calculator select,
body[data-theme="dark"].woocommerce-cart .shipping-calculator-form input,
body[data-theme="dark"].woocommerce-cart .shipping-calculator-form select,
body[data-theme="dark"].woocommerce-cart .shipping-calculator-form .select2-selection {
  border-color:var(--color-gray300,#2f343a) !important;
  background:var(--color-gray25,#202427) !important;
  color:var(--color-text,#ecedee) !important;
  box-shadow:none !important;
}
body[data-theme="dark"].woocommerce-cart .awp-cart-coupon__fields input::placeholder,
body[data-theme="dark"].woocommerce-cart .shipping-calculator-form input::placeholder {
  color:var(--color-gray600,#778088);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--saving {
  color:var(--color-green500,#6fdc81);
  background:color-mix(in srgb,var(--color-green600,#40c057) 10%,transparent);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--shipping ul#shipping_method,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--shipping ul#shipping_method label,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__row--shipping .woocommerce-Price-amount,
body[data-theme="dark"].woocommerce-cart .woocommerce-shipping-destination,
body[data-theme="dark"].woocommerce-cart .woocommerce-shipping-calculator,
body[data-theme="dark"].woocommerce-cart .shipping-calculator-button {
  color:var(--color-gray800,#bec2c5);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping,
body[data-theme="dark"].woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping {
  border-color:color-mix(in srgb,var(--color-green600,#40c057) 30%,var(--color-gray200,#292e33));
  background:color-mix(in srgb,var(--color-green600,#40c057) 9%,var(--color-background,#1a1b20));
  color:var(--color-green500,#6fdc81);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__mobile-bar {
  background:color-mix(in srgb,var(--color-background,#1a1b20) 96%,transparent);
  box-shadow:0 -6px 22px rgba(0,0,0,.32);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-view.is-loading::before {
  background:color-mix(in srgb,var(--color-background,#1a1b20) 72%,transparent);
}
body[data-theme="dark"].woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body[data-theme="dark"].woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
body[data-theme="dark"].woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error,
body[data-theme="dark"].woocommerce-cart ul.woocommerce-error {
  border-color:var(--color-gray300,#2f343a);
  background:var(--color-gray25,#202427);
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .woocommerce-notices-wrapper a,
body[data-theme="dark"].woocommerce-cart ul.woocommerce-error a {
  color:var(--theme-primary-color);
}
body[data-theme="dark"].woocommerce-cart .cart-empty-page {
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .cart-empty-page .empty-icon svg {
  fill:var(--color-gray600,#778088);
}
body[data-theme="dark"].woocommerce-cart .cart-empty-page .return-to-shop .button {
  border-color:var(--theme-primary-color);
  background:var(--theme-primary-color);
  color:#17181b;
}
body[data-theme="dark"].woocommerce-cart .select2-dropdown,
body[data-theme="dark"].woocommerce-cart + .select2-container .select2-dropdown,
body[data-theme="dark"].woocommerce-cart .select2-container--open .select2-dropdown {
  border-color:var(--color-gray300,#2f343a);
  background:var(--color-gray25,#202427);
  color:var(--color-text,#ecedee);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-header {
  border-color:var(--color-gray200,#292e33);
}
body[data-theme="dark"].woocommerce-cart .awp-cart-item__old-price span,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__checkout .checkout-button.alt,
body[data-theme="dark"].woocommerce-cart .awp-cart-summary__mobile-button.alt {
  color:var(--color-dark700,#1a1b20) !important;
}
body[data-theme="dark"].woocommerce-cart .shipping-calculator-button:hover,
body[data-theme="dark"].woocommerce-cart .awp-cart-coupon summary:hover {
  color:var(--theme-primary-hover-color,var(--theme-primary-color));
}


/* === Unified free-shipping component: cart page === */
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping {
  margin:0;
  padding:13px 14px 14px;
  border:1px solid #f4d6b2;
  border-radius:10px;
  background:#fffaf4;
  color:#5f6368;
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-notice,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-notice {
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 11px;
  color:#5f6368;
  font-size:12px;
  font-weight:500;
  line-height:1.9;
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-notice i,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-notice i {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  flex:0 0 27px;
  border-radius:8px;
  background:#fff0dc;
  color:#e98519;
  font-size:14px;
  line-height:1;
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-notice .amount,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-notice .amount { color:#d96c0f; font-weight:800; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-progress,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-progress {
  position:relative;
  height:7px;
  border-radius:999px;
  overflow:hidden;
  background:#f2e6d7;
  direction:rtl;
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-progress > span,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-progress > span {
  position:absolute;
  top:0;
  right:0;
  left:auto;
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ef374f 0%,#f39a3f 52%,#fdb94b 100%);
}
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success { border-color:#bfe8da; background:#f3fbf8; color:#3f6659; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success .shipping-notice,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success .shipping-notice { color:#3f6659; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success .shipping-notice i,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success .shipping-notice i { background:#e3f6ef; color:#0f9d73; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success .shipping-progress,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success .shipping-progress { background:#dcefe8; }
.woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success .shipping-progress > span,
.woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success .shipping-progress > span { background:linear-gradient(90deg,#0b8c66 0%,#18b683 100%); }
body[data-theme="dark"].woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping,
body[data-theme="dark"].woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping { border-color:#5b4634; background:#29251f; color:#d0d2d5; }
body[data-theme="dark"].woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping .shipping-notice,
body[data-theme="dark"].woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping .shipping-notice { color:#d0d2d5; }
body[data-theme="dark"].woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success,
body[data-theme="dark"].woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success { border-color:#315e50; background:#1f2b27; color:#c5ded5; }
body[data-theme="dark"].woocommerce-cart .awp-cart-desktop-promo .awp-free-shipping.success .shipping-notice,
body[data-theme="dark"].woocommerce-cart .awp-cart-mobile-promo .awp-free-shipping.success .shipping-notice { color:#c5ded5; }
