/* ============================================================
   LaCasa Cart 10/10 + Empty Cart — v1.9.2
   Arabic RTL premium WooCommerce cart page
   ============================================================ */

:root {
  --lc1010-bg: #fbfaf7;
  --lc1010-card: #ffffff;
  --lc1010-soft: #f7f4ee;
  --lc1010-soft-2: #f1ede4;
  --lc1010-ink: #1b1a18;
  --lc1010-ink-2: #34312d;
  --lc1010-muted: #746f66;
  --lc1010-faint: #9a9284;
  --lc1010-line: #e7e1d6;
  --lc1010-line-2: #f0ece5;
  --lc1010-gold: #bd9658;
  --lc1010-gold-2: #d5b47c;
  --lc1010-gold-deep: #8d6a36;
  --lc1010-green: #20b45b;
  --lc1010-green-deep: #148b43;
  --lc1010-danger: #b84237;
  --lc1010-danger-soft: #fff2f0;
  --lc1010-shadow: 0 18px 55px rgba(31, 24, 16, .08);
  --lc1010-radius: 18px;
}

body.lc-cart-10-10-page {
  background: linear-gradient(180deg, #fff 0%, var(--lc1010-bg) 48%, #fff 100%) !important;
}

body.lc-cart-10-10-page .woocommerce,
body.lc-cart-10-10-page .entry-content,
body.lc-cart-10-10-page main,
body.lc-cart-10-10-page #primary,
body.lc-cart-10-10-page .site-main {
  overflow: visible !important;
}

body.lc-cart-10-10-page .woocommerce-notices-wrapper {
  max-width: 1320px;
  margin: 0 auto 18px;
  padding-inline: 24px;
}

body.lc-cart-10-10-page .woocommerce-message,
body.lc-cart-10-10-page .woocommerce-error,
body.lc-cart-10-10-page .woocommerce-info {
  border-radius: 14px !important;
  border: 1px solid var(--lc1010-line) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.04) !important;
  color: var(--lc1010-ink) !important;
  direction: rtl;
}

.lc-cart1010,
.lc-cart1010 * {
  box-sizing: border-box;
}

.lc-cart1010 {
  width: min(100% - 48px, 1320px);
  margin: 0 auto 72px;
  direction: rtl;
  color: var(--lc1010-ink);
  font-family: inherit;
}

.lc-cart1010 a {
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

/* Hide duplicate default page titles around cart page */
body.lc-cart-10-10-page h1.entry-title,
body.lc-cart-10-10-page .entry-header,
body.lc-cart-10-10-page .page-header,
body.lc-cart-10-10-page .woocommerce-products-header,
body.lc-cart-10-10-page .page-title-wrap,
body.lc-cart-10-10-page .page-banner {
  display: none !important;
}

/* Hero */
.lc-cart1010__hero {
  text-align: center;
  padding: clamp(34px, 5vw, 68px) 0 22px;
}

.lc-cart1010__crumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13px;
  color: var(--lc1010-faint);
  margin-bottom: 18px;
}

.lc-cart1010__crumbs a {
  color: var(--lc1010-muted);
  text-decoration: none;
}

.lc-cart1010__crumbs a:hover {
  color: var(--lc1010-gold);
}

.lc-cart1010__crumbs strong {
  color: var(--lc1010-gold-deep);
  font-weight: 600;
}

.lc-cart1010__hero h1 {
  margin: 0;
  color: var(--lc1010-ink);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.lc-cart1010__hero p {
  margin: 12px 0 12px;
  color: var(--lc1010-muted);
  font-size: 15px;
}

.lc-cart1010__title-line {
  display: block;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lc1010-gold), transparent);
  margin: 0 auto;
}

/* Steps */
.lc-cart1010__steps {
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto minmax(60px, 1fr) auto;
  align-items: start;
  width: min(100%, 780px);
  margin: 0 auto 32px;
  gap: 16px;
}

.lc-cart1010__step {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 112px;
  color: var(--lc1010-muted);
}

.lc-cart1010__step span {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e7e6e2;
  color: var(--lc1010-ink-2);
  font-weight: 800;
  border: 6px solid #f8f7f4;
  box-shadow: 0 3px 12px rgba(0,0,0,.05);
}

.lc-cart1010__step strong {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lc-cart1010__step.is-active span {
  background: linear-gradient(135deg, var(--lc1010-gold-2), var(--lc1010-gold-deep));
  color: #fff;
}

.lc-cart1010__step.is-active strong {
  color: var(--lc1010-ink);
}

.lc-cart1010__step-line {
  height: 2px;
  background: linear-gradient(90deg, var(--lc1010-line), var(--lc1010-line-2));
  margin-top: 21px;
}

/* Shipping bar */
.lc-cart1010__shipping {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  margin: 0 0 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--lc1010-line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.035);
}

.lc-cart1010__shipping.is-success {
  border-color: rgba(32,180,91,.24);
  background: linear-gradient(90deg, rgba(32,180,91,.08), rgba(255,255,255,.92));
}

.lc-cart1010__shipping-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--lc1010-green-deep);
  font-size: 14px;
}

.lc-cart1010__shipping-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(32,180,91,.12);
  color: var(--lc1010-green-deep);
  font-weight: 900;
}

.lc-cart1010__shipping-track {
  flex: 1;
  max-width: 360px;
  height: 5px;
  background: var(--lc1010-line-2);
  border-radius: 999px;
  overflow: hidden;
}

.lc-cart1010__shipping-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--lc1010-gold-2), var(--lc1010-gold));
  border-radius: 999px;
}

/* Main layout */
.lc-cart1010__form {
  display: block;
}

.lc-cart1010__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 24px;
  align-items: start;
}

.lc-cart1010__products,
.lc-cart1010__summary-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--lc1010-line);
  border-radius: var(--lc1010-radius);
  box-shadow: var(--lc1010-shadow);
}

.lc-cart1010__products {
  overflow: hidden;
}

.lc-cart1010__products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--lc1010-line-2);
}

.lc-cart1010__products-head h2,
.lc-cart1010__summary-card header h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--lc1010-ink);
}

.lc-cart1010__products-head p,
.lc-cart1010__summary-card header p {
  margin: 6px 0 0;
  color: var(--lc1010-muted);
  font-size: 13px;
}

.lc-cart1010__secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(32,180,91,.08);
  color: var(--lc1010-green-deep);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lc-cart1010__table-head,
.lc-cart1010__item {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) 118px 134px 128px 32px;
  gap: 18px;
  align-items: center;
}

.lc-cart1010__table-head {
  padding: 16px 28px;
  background: linear-gradient(180deg, #fff, #fdfbf8);
  border-bottom: 1px solid var(--lc1010-line-2);
  color: var(--lc1010-muted);
  font-size: 12px;
  font-weight: 800;
}

.lc-cart1010__items {
  padding: 0 28px;
}

.lc-cart1010__item {
  padding: 24px 0;
  border-bottom: 1px solid var(--lc1010-line-2);
}

.lc-cart1010__item:last-child {
  border-bottom: 0;
}

.lc-cart1010__product {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.lc-cart1010__media {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f6f3ed, #fff);
  border: 1px solid var(--lc1010-line-2);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.lc-cart1010__media a,
.lc-cart1010__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.lc-cart1010__media img {
  object-fit: cover;
}

.lc-cart1010__info {
  min-width: 0;
}

.lc-cart1010__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 18px;
  margin-bottom: 6px;
}

.lc-cart1010__badges span {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(189,150,88,.12);
  color: var(--lc1010-gold-deep);
  font-size: 10px;
  font-weight: 800;
}

.lc-cart1010__badges .is-warn {
  background: #fff4e8;
  color: #b56e22;
}

.lc-cart1010__info h3 {
  margin: 0;
  color: var(--lc1010-ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.lc-cart1010__info h3 a {
  color: inherit;
  text-decoration: none;
}

.lc-cart1010__info h3 a:hover {
  color: var(--lc1010-gold-deep);
}

.lc-cart1010__meta,
.lc-cart1010__meta p,
.lc-cart1010__meta dl,
.lc-cart1010__meta dd,
.lc-cart1010__meta dt {
  margin: 0;
  color: var(--lc1010-muted);
  font-size: 12px;
  line-height: 1.55;
}

.lc-cart1010__meta {
  margin-top: 7px;
}

.lc-cart1010__price,
.lc-cart1010__subtotal {
  color: var(--lc1010-ink);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.lc-cart1010__price {
  color: var(--lc1010-muted);
}

.lc-cart1010__subtotal {
  font-size: 16px;
}

.lc-cart1010__qty .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  min-width: 112px;
  border: 1px solid var(--lc1010-line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.lc-cart1010__qty input.qty,
.lc-cart1010__qty-input {
  width: 38px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--lc1010-ink) !important;
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  outline: 0 !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.lc-cart1010__qty input.qty::-webkit-outer-spin-button,
.lc-cart1010__qty input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lc-cart1010__qty .lc-qty-btn {
  width: 37px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--lc1010-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.lc-cart1010__qty .lc-qty-btn:hover {
  background: var(--lc1010-soft);
  color: var(--lc1010-gold-deep);
}

.lc-cart1010__remove-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--lc1010-muted) !important;
  text-decoration: none !important;
  font-size: 23px;
  line-height: 1;
  background: transparent;
  border: 1px solid transparent;
}

.lc-cart1010__remove-btn:hover {
  color: var(--lc1010-danger) !important;
  background: var(--lc1010-danger-soft);
  border-color: rgba(184,66,55,.18);
}

/* Actions */
.lc-cart1010__actions {
  display: block !important;
  padding: 20px 28px !important;
  border-top: 1px solid var(--lc1010-line-2) !important;
  background: linear-gradient(180deg, #fff, #fdfbf8) !important;
  overflow: visible !important;
  clear: both !important;
}

.lc-cart1010__buttons {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  direction: rtl !important;
}

.lc-cart1010__continue,
.lc-cart1010__empty,
.lc-cart1010__update,
.lc-cart1010__action-btn {
  min-width: 166px !important;
  min-height: 46px !important;
  height: 46px !important;
  padding: 0 20px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-indent: 0 !important;
  letter-spacing: normal !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  max-width: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.lc-cart1010__action-btn span,
.lc-cart1010__continue span,
.lc-cart1010__empty span,
.lc-cart1010__update span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
}

.lc-cart1010__continue {
  border: 1px solid rgba(189,150,88,.36) !important;
  color: var(--lc1010-gold-deep) !important;
  background: #fffaf2 !important;
}

.lc-cart1010__continue:hover {
  color: #fff !important;
  background: var(--lc1010-gold-deep) !important;
  border-color: var(--lc1010-gold-deep) !important;
  transform: translateY(-1px);
}

.lc-cart1010__empty {
  border: 1px solid rgba(184,66,55,.34) !important;
  color: var(--lc1010-danger) !important;
  background: var(--lc1010-danger-soft) !important;
}

.lc-cart1010__empty:hover {
  background: var(--lc1010-danger) !important;
  color: #fff !important;
  border-color: var(--lc1010-danger) !important;
  transform: translateY(-1px);
}

.lc-cart1010__update {
  border: 1px solid #25211c !important;
  color: #25211c !important;
  background: #fff !important;
}

.lc-cart1010__update:hover {
  background: #25211c !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.lc-cart1010__update:disabled,
.lc-cart1010__update[disabled] {
  opacity: .82 !important;
  cursor: not-allowed !important;
  color: #5a5148 !important;
  border-color: rgba(37,33,28,.32) !important;
  background: #f7f2ea !important;
}

/* Summary */
.lc-cart1010__summary {
  position: sticky;
  top: 24px;
}

.lc-cart1010__summary-card {
  padding: 26px;
}

.lc-cart1010__summary-card header {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lc1010-line-2);
  margin-bottom: 18px;
}

.lc-cart1010__totals {
  display: grid;
  gap: 13px;
  margin-bottom: 18px;
}

.lc-cart1010__total-row,
.lc-cart1010__grand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lc-cart1010__total-row {
  color: var(--lc1010-muted);
  font-size: 13px;
}

.lc-cart1010__total-row strong {
  color: var(--lc1010-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.lc-cart1010__total-row .is-free,
.lc-cart1010__total-row.is-discount strong {
  color: var(--lc1010-green-deep);
}

.lc-cart1010__grand {
  padding: 18px 0;
  margin: 4px 0 18px;
  border-top: 1px solid var(--lc1010-line);
  border-bottom: 1px solid var(--lc1010-line);
}

.lc-cart1010__grand span {
  font-size: 15px;
  color: var(--lc1010-ink);
  font-weight: 800;
}

.lc-cart1010__grand strong,
.lc-cart1010__grand .woocommerce-Price-amount {
  color: var(--lc1010-gold-deep);
  font-size: 25px;
  font-weight: 900;
  white-space: nowrap;
}

.lc-cart1010__coupon {
  padding: 14px;
  border-radius: 14px;
  background: var(--lc1010-soft);
  margin-bottom: 16px;
}

.lc-cart1010__coupon label {
  display: block;
  color: var(--lc1010-gold-deep);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 9px;
}

.lc-cart1010__coupon > div {
  display: flex;
  gap: 8px;
}

.lc-cart1010__coupon input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--lc1010-line);
  background: #fff;
  padding: 0 12px;
  color: var(--lc1010-ink);
  font-family: inherit;
}

.lc-cart1010__coupon input:focus {
  outline: 0;
  border-color: var(--lc1010-gold);
  box-shadow: 0 0 0 3px rgba(189,150,88,.12);
}

.lc-cart1010__coupon button {
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--lc1010-ink);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  font-family: inherit;
}

.lc-cart1010__coupon button:hover {
  background: var(--lc1010-gold-deep);
}

.lc-cart1010__checkout,
.lc-cart1010__whatsapp {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
}

.lc-cart1010__checkout {
  background: linear-gradient(135deg, var(--lc1010-gold-2), var(--lc1010-gold-deep));
  color: #fff !important;
  box-shadow: 0 14px 24px rgba(189,150,88,.22);
  margin-bottom: 10px;
}

.lc-cart1010__checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(189,150,88,.28);
}

.lc-cart1010__whatsapp {
  background: #fff;
  border: 1px solid rgba(32,180,91,.38);
  color: var(--lc1010-green-deep) !important;
  margin-bottom: 18px;
}

.lc-cart1010__whatsapp span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lc1010-green);
  color: var(--lc1010-green);
  font-size: 1px;
}

.lc-cart1010__whatsapp:hover {
  background: rgba(32,180,91,.08);
  transform: translateY(-1px);
}

.lc-cart1010__payments {
  padding: 15px 0 16px;
  border-top: 1px solid var(--lc1010-line-2);
  border-bottom: 1px solid var(--lc1010-line-2);
  margin-bottom: 16px;
  text-align: center;
}

.lc-cart1010__payments > span {
  display: block;
  margin-bottom: 10px;
  color: var(--lc1010-muted);
  font-size: 12px;
  font-weight: 800;
}

.lc-cart1010__payments > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.lc-cart1010__payments b {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--lc1010-line);
  color: var(--lc1010-ink-2);
  font-size: 10px;
  font-weight: 900;
}

.lc-cart1010__payments small {
  display: block;
  margin-top: 10px;
  color: var(--lc1010-gold-deep);
  font-size: 11px;
}

.lc-cart1010__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lc-cart1010__trust div {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--lc1010-line-2);
}

.lc-cart1010__trust span {
  color: var(--lc1010-gold-deep);
  font-weight: 900;
}

.lc-cart1010__trust b {
  font-size: 11px;
  line-height: 1.25;
}

.lc-cart1010__trust small {
  color: var(--lc1010-muted);
  font-size: 9.5px;
  line-height: 1.35;
}

/* Help */
.lc-cart1010__help {
  margin: 32px calc(50% - 50vw) 0;
  padding: 42px 24px;
  text-align: center;
  background: linear-gradient(135deg, #f2ede5, #fbfaf7);
}

.lc-cart1010__help span {
  color: var(--lc1010-gold-deep);
  font-size: 12px;
  font-weight: 800;
}

.lc-cart1010__help h2 {
  margin: 8px 0;
  color: var(--lc1010-ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
}

.lc-cart1010__help p {
  margin: 0 0 18px;
  color: var(--lc1010-muted);
}

.lc-cart1010__help a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--lc1010-green);
  color: #fff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(32,180,91,.2);
}

/* Empty cart */
.lc-cart1010--empty {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.lc-cart1010__empty-state {
  width: min(100%, 720px);
  padding: clamp(38px, 6vw, 72px);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--lc1010-line);
  box-shadow: var(--lc1010-shadow);
  text-align: center;
}

.lc-cart1010__empty-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--lc1010-soft);
  font-size: 36px;
}

.lc-cart1010__empty-state h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--lc1010-ink);
}

.lc-cart1010__empty-state p {
  margin: 0 auto 22px;
  max-width: 520px;
  color: var(--lc1010-muted);
  line-height: 1.8;
}

.lc-cart1010__empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lc-cart1010__empty-actions .lc-cart1010__checkout,
.lc-cart1010__empty-actions .lc-cart1010__whatsapp {
  width: auto;
  min-width: 160px;
  padding: 0 22px;
  margin: 0;
}

/* Legacy WooCommerce elements compatibility */
.lc-cart1010 .coupon,
.lc-cart1010 table.shop_table {
  display: none !important;
}

/* Responsive */
@media (max-width: 1180px) {
  .lc-cart1010__layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
  }

  .lc-cart1010__table-head,
  .lc-cart1010__item {
    grid-template-columns: minmax(235px, 1.4fr) 102px 118px 112px 30px;
    gap: 14px;
  }
}

@media (max-width: 1024px) {
  .lc-cart1010 {
    width: min(100% - 32px, 760px);
  }

  .lc-cart1010__layout {
    grid-template-columns: 1fr;
  }

  .lc-cart1010__summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .lc-cart1010 {
    width: min(100% - 24px, 540px);
    margin-bottom: 46px;
  }

  .lc-cart1010__steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 22px;
  }

  .lc-cart1010__step-line {
    display: none;
  }

  .lc-cart1010__step {
    min-width: 0;
  }

  .lc-cart1010__step span {
    width: 36px;
    height: 36px;
    border-width: 5px;
  }

  .lc-cart1010__shipping {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .lc-cart1010__shipping-track {
    max-width: none;
  }

  .lc-cart1010__products-head {
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .lc-cart1010__table-head {
    display: none;
  }

  .lc-cart1010__items {
    padding: 0 18px;
  }

  .lc-cart1010__item {
    display: grid;
    grid-template-columns: 1fr 32px;
    gap: 14px;
    padding: 20px 0;
  }

  .lc-cart1010__product {
    grid-column: 1 / 2;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
  }

  .lc-cart1010__media {
    width: 92px;
    height: 92px;
    border-radius: 14px;
  }

  .lc-cart1010__remove {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: start;
  }

  .lc-cart1010__price,
  .lc-cart1010__qty,
  .lc-cart1010__subtotal {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 0 0 0 0;
  }

  .lc-cart1010__price::before,
  .lc-cart1010__qty::before,
  .lc-cart1010__subtotal::before {
    content: attr(data-title);
    color: var(--lc1010-muted);
    font-size: 12px;
    font-weight: 800;
  }

  .lc-cart1010__subtotal {
    padding-top: 10px;
    border-top: 1px dashed var(--lc1010-line);
  }

  .lc-cart1010__actions {
    padding: 18px !important;
  }

  .lc-cart1010__buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .lc-cart1010__continue,
  .lc-cart1010__empty,
  .lc-cart1010__update,
  .lc-cart1010__action-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  .lc-cart1010__summary-card {
    padding: 20px;
  }

  .lc-cart1010__coupon > div {
    flex-direction: column;
  }

  .lc-cart1010__trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .lc-cart1010__product {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .lc-cart1010__media {
    width: 82px;
    height: 82px;
  }

  .lc-cart1010__info h3 {
    font-size: 15px;
  }
}

/* ============================================================
   v1.9.3 — hard visibility fix for bottom cart action buttons
   Fixes theme conflicts that make إفراغ السلة / متابعة التسوق faint or hidden.
   ============================================================ */
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__actions {
  display: block !important;
  width: 100% !important;
  min-height: 92px !important;
  padding: 22px 24px !important;
  border-top: 1px solid var(--lc1010-line-2) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf8 100%) !important;
  position: relative !important;
  z-index: 9 !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__buttons {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 50px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.28fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  direction: ltr !important; /* places متابعة التسوق left, إفراغ السلة center, تحديث right */
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__continue,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__empty,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__action-btn,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__actions a,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__actions button {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  height: 50px !important;
  padding: 0 16px !important;
  border-radius: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  direction: rtl !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
  transform: none !important;
  overflow: visible !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__btn-label,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__btn-icon,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__action-btn span,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__actions a span,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__actions button span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  text-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__btn-icon {
  font-size: 15px !important;
  font-weight: 900 !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__continue {
  color: var(--lc1010-gold-deep) !important;
  background: #fffaf2 !important;
  border: 1px solid rgba(189,150,88,.55) !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__continue:hover {
  color: #fff !important;
  background: var(--lc1010-gold-deep) !important;
  border-color: var(--lc1010-gold-deep) !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__empty {
  color: var(--lc1010-danger) !important;
  background: #fff !important;
  border: 1px solid rgba(184,66,55,.55) !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__empty:hover {
  color: #fff !important;
  background: var(--lc1010-danger) !important;
  border-color: var(--lc1010-danger) !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update:disabled,
body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update[disabled] {
  color: #fff !important;
  background: var(--lc1010-ink) !important;
  border: 1px solid var(--lc1010-ink) !important;
  opacity: 1 !important;
}

body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update:hover {
  color: #fff !important;
  background: var(--lc1010-gold-deep) !important;
  border-color: var(--lc1010-gold-deep) !important;
}

@media (max-width: 760px) {
  body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__buttons {
    grid-template-columns: 1fr !important;
    direction: rtl !important;
  }

  body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__continue,
  body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__empty,
  body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__update,
  body.lc-cart-10-10-page .lc-cart1010 .lc-cart1010__action-btn {
    width: 100% !important;
  }
}


/* ============================================================
   v1.9.4 — final 10/10 desktop polish after live screenshot
   Wider canvas, clearer product rows, stronger action hierarchy.
   ============================================================ */
body.lc-cart-10-10-page .lc-cart1010 {
  width: min(1240px, calc(100vw - 72px)) !important;
  max-width: none !important;
  margin-inline: auto !important;
}

@media (min-width: 1025px) {
  body.lc-cart-10-10-page .lc-cart1010 {
    position: relative !important;
    right: 50% !important;
    transform: translateX(50%) !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__layout {
    grid-template-columns: minmax(0, 1fr) 355px !important;
    gap: 26px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__products {
    min-width: 0 !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__table-head,
  body.lc-cart-10-10-page .lc-cart1010__item {
    grid-template-columns: minmax(360px, 1.55fr) 118px 124px 126px 34px !important;
    gap: 18px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__products-head {
    padding: 28px 30px 22px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__items {
    padding: 0 30px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__item {
    padding: 24px 0 !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__product {
    grid-template-columns: 106px minmax(220px, 1fr) !important;
    gap: 17px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__media {
    width: 106px !important;
    height: 106px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__info h3 {
    font-size: 16.5px !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__meta,
  body.lc-cart-10-10-page .lc-cart1010__meta * {
    font-size: 11.5px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__price,
  body.lc-cart-10-10-page .lc-cart1010__subtotal {
    font-size: 14px !important;
    text-align: center !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__subtotal {
    font-size: 15px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__actions {
    padding: 18px 24px !important;
    min-height: 86px !important;
  }

  body.lc-cart-10-10-page .lc-cart1010__buttons {
    grid-template-columns: 1fr 1fr 1.18fr !important;
    gap: 12px !important;
  }
}

@media (min-width: 1181px) {
  body.lc-cart-10-10-page .lc-cart1010__layout {
    grid-template-columns: minmax(0, 1fr) 365px !important;
  }
}

@media (max-width: 1024px) {
  body.lc-cart-10-10-page .lc-cart1010 {
    width: min(100% - 32px, 760px) !important;
    right: auto !important;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  body.lc-cart-10-10-page .lc-cart1010 {
    width: min(100% - 24px, 540px) !important;
  }
}
