/* Computer Melli 6.0 — commerce surfaces. */

body.computer-melli-theme {
  --cm-primary: #5b21b6;
  --cm-primary-strong: #3d146f;
  --cm-primary-bright: #7c3aed;
  --cm-primary-soft: #f3effb;
  --cm-promo: #d92d55;
  --cm-promo-soft: #fff2f5;
  --cm-dark: #17121d;
  --cm-page: #f5f6f9;
  --cm-surface: #fff;
  --cm-surface-soft: #fafbfc;
  --cm-text: #17131c;
  --cm-muted: #6d6772;
  --cm-line: #e2e4ea;
  --cm-success: #087a55;
  --cm-warning: #9b5d0a;
  --cm-shadow-sm: 0 10px 30px rgba(25, 19, 34, .055);
  --cm-shadow: 0 24px 70px rgba(25, 19, 34, .10);
}

.computer-melli-theme :where(h1,h2,h3,h4,h5,h6,p,label,input,button,select,textarea) { font-family: inherit; }
.computer-melli-theme .woocommerce,
.computer-melli-theme .woocommerce-page { width: 100%; max-width: none; }
/* WooCommerce's block-theme stylesheet caps .woocommerce-page main .woocommerce at 1000px, squeezing the checkout form into a right-aligned narrow column. Both theme scopes live on <body>, so they must be a compound selector here, not a descendant chain. */
.computer-melli-theme.woocommerce-page main .woocommerce { width: 100%; max-width: none; margin-inline: auto; }
.computer-melli-theme .cm-native-commerce-shell > .woocommerce { min-height: 0; }
.computer-melli-theme .cm-native-commerce-shell :where(.col-1,.col-2) { box-sizing: border-box; }

/* Shared commerce header and steps */
.computer-melli-theme .cm-commerce-page { padding: 18px 0 70px; }
.computer-melli-theme .cm-commerce-heading { margin: 6px 0 22px; }
.computer-melli-theme .cm-commerce-heading h1 { margin: 8px 0 5px; font-size: clamp(28px,3.2vw,40px); line-height: 1.35; }
.computer-melli-theme .cm-commerce-heading p { margin: 0; color: var(--cm-muted); font-size: 12px; }
.computer-melli-theme .cm-checkout-steps { max-width: 760px; display: grid; grid-template-columns: repeat(3,1fr); margin: 0 0 26px; }
.computer-melli-theme .cm-checkout-steps span { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--cm-muted); font-size: 10px; font-weight: 750; text-align: center; }
.computer-melli-theme .cm-checkout-steps span::before { content: ""; position: absolute; z-index: 0; top: 18px; right: -50%; width: 100%; height: 2px; background: var(--cm-line); }
.computer-melli-theme .cm-checkout-steps span:first-child::before { display: none; }
.computer-melli-theme .cm-checkout-steps b { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 4px solid var(--cm-page); border-radius: 50%; background: var(--cm-line); color: var(--cm-muted); box-shadow: 0 0 0 1px var(--cm-line); }
.computer-melli-theme .cm-checkout-steps .is-active,
.computer-melli-theme .cm-checkout-steps .is-complete { color: var(--cm-primary); }
.computer-melli-theme .cm-checkout-steps .is-active b,
.computer-melli-theme .cm-checkout-steps .is-complete b { background: var(--cm-primary); color: #fff; box-shadow: 0 0 0 1px var(--cm-primary); }
.computer-melli-theme .cm-checkout-steps .is-active::before,
.computer-melli-theme .cm-checkout-steps .is-complete::before { background: var(--cm-primary); }

/* Account */
.computer-melli-theme .cm-account-hero {
  min-height: 190px;
  display: flex;
  align-items: center;
  padding: clamp(28px,4vw,48px);
  margin: 4px 0 24px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(112deg,#17101f 0%,#35135e 58%,#6d28d9 100%);
  box-shadow: 0 22px 55px rgba(48,21,75,.14);
}
.computer-melli-theme .cm-account-hero__copy { max-width: 760px; }
.computer-melli-theme .cm-account-hero h1 { margin: 10px 0 7px; color: #fff; font-size: clamp(31px,4vw,46px); letter-spacing: -.035em; }
.computer-melli-theme .cm-account-hero p { margin: 0; color: #ded6e7; font-size: 13px; line-height: 1.95; }
.computer-melli-theme .cm-account-surface.is-logged-out .cm-account-native { padding-block: 2px 20px; }
.computer-melli-theme .cm-account-surface.is-logged-out .woocommerce { display: block !important; }
.computer-melli-theme .cm-auth-layout { max-width: 720px; display: grid; grid-template-columns: 1fr; gap: 18px; margin-inline: auto; }
/* My Account shows the login card alone; pin it to one centered column even if
   an older cached stylesheet still carries the two-up #customer_login grid. */
.computer-melli-theme #customer_login { grid-template-columns: 1fr; }
.computer-melli-theme .cm-auth-layout.has-registration { max-width: 1120px; grid-template-columns: 1fr 1fr; align-items: start; }
.computer-melli-theme .cm-auth-card { overflow: hidden; border: 1px solid var(--cm-line); border-radius: 20px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); }
.computer-melli-theme .cm-auth-card__head { padding: 25px 27px 19px; border-bottom: 1px solid var(--cm-line); background: var(--cm-surface-soft); }
.computer-melli-theme .cm-auth-eyebrow { color: var(--cm-primary); font-size: 10px; font-weight: 900; }
.computer-melli-theme .cm-auth-card__head h2 { margin: 5px 0 4px; font-size: 22px; }
.computer-melli-theme .cm-auth-card__head p { margin: 0; color: var(--cm-muted); font-size: 11px; }
/* Card header and auth form share one centered column. The old
   `margin: 0 !important` here cancelled the parent theme's `margin-inline: auto`
   (and `form.login { margin: 0 0 15px !important }` out-specified it), so the
   form kept the inherited 38rem max-width but hugged the inline-start edge
   (right in RTL). Re-center both with symmetric insets; `margin-inline: auto`
   keeps the centering RTL-proof, and the .cm-auth-card-scoped rule out-ranks
   the generic `form.login` margin override. */
.computer-melli-theme .cm-auth-card__head { width: calc(100% - 48px); max-width: 560px; margin-inline: auto; box-sizing: border-box; }
.computer-melli-theme .cm-auth-card .cm-auth-form { width: calc(100% - 48px); max-width: 560px; margin: 0 auto !important; box-sizing: border-box; padding: 24px 27px 27px !important; border: 0 !important; float: none; transform: none; }
.computer-melli-theme .cm-auth-form .form-row { padding: 0 !important; margin: 0 0 15px !important; }
.computer-melli-theme .cm-auth-form label { display: block; margin-bottom: 7px; color: var(--cm-text); font-size: 11px; font-weight: 850; }
.computer-melli-theme .cm-auth-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: -2px 0 17px; }
.computer-melli-theme .cm-auth-actions .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; margin: 0; font-size: 10px; }
.computer-melli-theme .cm-auth-lost { color: var(--cm-primary); font-size: 10px; font-weight: 800; }
.computer-melli-theme .cm-auth-submit-row { margin: 0 !important; }
.computer-melli-theme .cm-auth-submit-row .button { width: 100%; min-height: 50px; }
.computer-melli-theme .cm-auth-help { padding: 12px 14px; border-radius: 11px; background: var(--cm-primary-soft); color: var(--cm-primary-strong); font-size: 10px; }
.computer-melli-theme .cm-account-native .woocommerce-ResetPassword { width: min(720px,100%); margin-inline: auto; padding: 28px; border: 1px solid var(--cm-line); border-radius: 18px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); }

/* Empty cart */
.computer-melli-theme .cm-cart-surface.is-empty .cm-commerce-heading { max-width: 740px; margin-inline: auto; text-align: center; }
.computer-melli-theme .cm-cart-surface.is-empty .cm-commerce-heading .cm-pill { margin-inline: auto; }
.computer-melli-theme .cm-cart-surface.is-empty .cm-native-commerce-shell { max-width: 840px; margin-inline: auto; }
.computer-melli-theme .cm-cart-empty { min-height: 330px; display: grid; justify-items: center; align-content: center; gap: 12px; padding: 42px 24px; border: 1px solid var(--cm-line); border-radius: 22px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); text-align: center; }
.computer-melli-theme .cm-cart-empty__eyebrow { padding: 6px 10px; border-radius: 999px; background: var(--cm-primary-soft); color: var(--cm-primary); font-size: 10px; font-weight: 900; }
.computer-melli-theme .cm-cart-empty h2 { margin: 0; font-size: 25px; }
.computer-melli-theme .cm-cart-empty p { max-width: 520px; margin: 0; color: var(--cm-muted); font-size: 12px; line-height: 1.9; }
.computer-melli-theme .cm-cart-empty__button { min-width: 190px; margin-top: 7px; }
.computer-melli-theme .woocommerce-info.cart-empty,
.computer-melli-theme .return-to-shop { display: none !important; }

/* Notices */
.computer-melli-theme .woocommerce-notices-wrapper { margin-bottom: 14px; }
.computer-melli-theme .woocommerce-message,
.computer-melli-theme .woocommerce-info,
.computer-melli-theme .woocommerce-error { padding: 14px 16px !important; border: 1px solid var(--cm-line) !important; border-radius: 14px !important; background: var(--cm-surface) !important; color: var(--cm-text) !important; box-shadow: none !important; font-size: 11px !important; line-height: 1.8; }
.computer-melli-theme .woocommerce-message::before,
.computer-melli-theme .woocommerce-info::before,
.computer-melli-theme .woocommerce-error::before { display: none !important; }
.computer-melli-theme .cm-added-message { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.computer-melli-theme .cm-added-message a { flex: 0 0 auto; padding: 8px 12px; border-radius: 9px; background: var(--cm-primary); color: #fff; font-weight: 850; }

/* Quantity */
.computer-melli-theme .cm-quantity { width: 122px; min-width: 122px; height: 46px; display: grid; grid-template-columns: 36px minmax(42px,1fr) 36px; overflow: hidden; border: 1px solid var(--cm-line); border-radius: 11px; background: var(--cm-surface); }
.computer-melli-theme .cm-quantity.is-static { grid-template-columns: 1fr; }
.computer-melli-theme .cm-quantity__button { width: 36px; min-width: 36px; min-height: 44px; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--cm-surface) !important; color: var(--cm-text) !important; box-shadow: none !important; font-size: 18px !important; }
.computer-melli-theme .cm-quantity input.qty { width: 100% !important; min-width: 0 !important; height: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 0 3px !important; border: 0 !important; border-inline: 1px solid var(--cm-line) !important; border-radius: 0 !important; background: var(--cm-surface) !important; color: var(--cm-text) !important; text-align: center !important; direction: ltr; font-size: 13px !important; font-weight: 850 !important; box-shadow: none !important; -moz-appearance: textfield; }
.computer-melli-theme .cm-quantity input.qty::-webkit-outer-spin-button,
.computer-melli-theme .cm-quantity input.qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.computer-melli-theme .cm-quantity.is-static input.qty { border-inline: 0 !important; }

/* Cart */
.computer-melli-theme .cm-cart-form { margin: 0; }
.computer-melli-theme .cm-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 18px; align-items: start; }
.computer-melli-theme .cm-cart-items-card,
.computer-melli-theme .cm-cart-summary { border: 1px solid var(--cm-line); border-radius: 19px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); }
.computer-melli-theme .cm-cart-items-card { overflow: hidden; }
.computer-melli-theme .cm-cart-items-head { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 21px; border-bottom: 1px solid var(--cm-line); background: var(--cm-surface-soft); }
.computer-melli-theme .cm-cart-items-head h2 { margin: 2px 0 0; font-size: 21px; }
.computer-melli-theme .cm-cart-items-eyebrow { color: var(--cm-primary); font-size: 9px; font-weight: 900; }
.computer-melli-theme .cm-cart-items-count { padding: 6px 10px; border-radius: 999px; background: var(--cm-primary-soft); color: var(--cm-primary); font-size: 10px; font-weight: 850; }
.computer-melli-theme .cm-cart-items-list { padding: 0 21px; }
.computer-melli-theme .cm-cart-item { display: grid; grid-template-columns: 112px minmax(0,1fr) 205px; gap: 17px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--cm-line); }
.computer-melli-theme .cm-cart-item:last-child { border-bottom: 0; }
.computer-melli-theme .cm-cart-item__media { width: 112px; height: 100px; display: grid; place-items: center; overflow: hidden; border-radius: 13px; background: var(--cm-surface-soft); }
.computer-melli-theme .cm-cart-item__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.computer-melli-theme .cm-cart-item__details { min-width: 0; }
.computer-melli-theme .cm-cart-item__name { display: block; margin-bottom: 7px; overflow-wrap: anywhere; font-size: 13px; font-weight: 900; line-height: 1.8; }
.computer-melli-theme .cm-cart-item__meta { color: var(--cm-muted); font-size: 9px; }
.computer-melli-theme .cm-cart-item__meta dl { margin: 0; }
.computer-melli-theme .cm-cart-item__meta dt,
.computer-melli-theme .cm-cart-item__meta dd { display: inline; float: none; margin: 0 0 0 4px; }
.computer-melli-theme .cm-cart-item__unit-price { display: flex; gap: 7px; align-items: baseline; margin-top: 9px; }
.computer-melli-theme .cm-cart-item__unit-price span { color: var(--cm-muted); font-size: 9px; }
.computer-melli-theme .cm-cart-item__unit-price strong { font-size: 12px; }
.computer-melli-theme .cm-cart-item__controls { display: grid; grid-template-columns: 1fr; justify-items: end; gap: 9px; }
.computer-melli-theme .cm-cart-item__quantity,
.computer-melli-theme .cm-cart-item__subtotal { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; }
.computer-melli-theme .cm-cart-item__quantity > span,
.computer-melli-theme .cm-cart-item__subtotal > span { color: var(--cm-muted); font-size: 9px; }
.computer-melli-theme .cm-cart-item__subtotal strong { white-space: nowrap; font-size: 13px; }
.computer-melli-theme .cm-cart-item__remove { min-width: 64px; min-height: 32px; display: inline-flex !important; align-items: center; justify-content: center; padding: 5px 10px !important; border-radius: 8px !important; background: var(--cm-promo-soft) !important; color: var(--cm-promo) !important; font-size: 9px !important; font-weight: 850 !important; line-height: 1 !important; }
.computer-melli-theme .cm-cart-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 21px; border-top: 1px solid var(--cm-line); background: var(--cm-surface-soft); }
.computer-melli-theme .cm-cart-coupon { display: grid; grid-template-columns: minmax(150px,230px) auto; gap: 8px; }
.computer-melli-theme .cm-cart-coupon input { min-width: 0; }
.computer-melli-theme .cm-cart-actions .button { min-height: 44px !important; }
.computer-melli-theme .cm-cart-summary-column { display: grid; gap: 10px; position: sticky; top: 156px; }
.computer-melli-theme .cm-cart-summary { padding: 20px; }
.computer-melli-theme .cm-cart-summary__head { padding-bottom: 14px; border-bottom: 1px solid var(--cm-line); }
.computer-melli-theme .cm-cart-summary__head span { color: var(--cm-primary); font-size: 9px; font-weight: 900; }
.computer-melli-theme .cm-cart-summary__head h2 { margin: 3px 0 0; font-size: 20px; }
.computer-melli-theme .cm-cart-summary table { width: 100%; margin: 10px 0 14px !important; border: 0 !important; border-collapse: collapse !important; }
.computer-melli-theme .cm-cart-summary th,
.computer-melli-theme .cm-cart-summary td { padding: 10px 0 !important; border: 0 !important; border-bottom: 1px solid var(--cm-line) !important; background: transparent !important; font-size: 10px !important; }
.computer-melli-theme .cm-cart-summary th { text-align: right !important; font-weight: 650 !important; }
.computer-melli-theme .cm-cart-summary td { text-align: left !important; }
.computer-melli-theme .cm-cart-summary .order-total th,
.computer-melli-theme .cm-cart-summary .order-total td { padding-top: 14px !important; border-bottom: 0 !important; font-size: 14px !important; font-weight: 900 !important; }
.computer-melli-theme .cm-cart-summary .wc-proceed-to-checkout { padding: 0; }
.computer-melli-theme .cm-cart-summary .checkout-button { width: 100%; margin: 0 !important; }
.computer-melli-theme .cm-cart-summary__note { margin: 10px 0 0; color: var(--cm-muted); font-size: 9px; text-align: center; }
.computer-melli-theme .cm-cart-continue { display: block; color: var(--cm-primary); font-size: 10px; font-weight: 850; text-align: center; }

/* Checkout */
.computer-melli-theme .cm-checkout-form { margin: 0; }
.computer-melli-theme .cm-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 18px; align-items: start; }
.computer-melli-theme .cm-checkout-main { display: grid; gap: 14px; min-width: 0; }
.computer-melli-theme .cm-checkout-panel,
.computer-melli-theme .cm-checkout-summary-card { border: 1px solid var(--cm-line); border-radius: 19px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); }
.computer-melli-theme .cm-checkout-panel { padding: 21px; }
.computer-melli-theme .cm-checkout-panel__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.computer-melli-theme .cm-checkout-panel__number { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: var(--cm-primary-soft); color: var(--cm-primary); font-size: 12px; font-weight: 900; }
.computer-melli-theme .cm-checkout-panel__head h2 { margin: 0; font-size: 19px; }
.computer-melli-theme .cm-checkout-panel__head p { margin: 3px 0 0; color: var(--cm-muted); font-size: 10px; }
.computer-melli-theme .cm-checkout-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 14px; }
.computer-melli-theme .cm-checkout-fields .form-row { width: auto !important; float: none !important; clear: none !important; margin: 0 !important; padding: 0 !important; }
.computer-melli-theme .cm-checkout-fields .cm-field-full,
.computer-melli-theme .cm-checkout-fields .form-row-wide { grid-column: 1 / -1; }
.computer-melli-theme .cm-checkout-fields label { display: block; margin-bottom: 6px; color: var(--cm-text); font-size: 10px; font-weight: 850; }
.computer-melli-theme .cm-checkout-fields .optional { color: var(--cm-muted); font-size: 8px; font-weight: 600; }
.computer-melli-theme .cm-checkout-fields .required { color: var(--cm-promo); }
.computer-melli-theme .cm-checkout-fields :where(input.input-text,select:not(.select2-hidden-accessible),textarea,.select2-selection) { width: 100% !important; }
.computer-melli-theme .cm-checkout-order-fields { grid-template-columns: 1fr; }
.computer-melli-theme .cm-checkout-order-fields textarea { min-height: 110px; resize: vertical; }
.computer-melli-theme .cm-checkout-account-fields { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--cm-line); }
.computer-melli-theme .cm-checkout-account-fields .create-account { margin: 0 !important; }
.computer-melli-theme .cm-checkout-summary-column { position: sticky; top: 156px; min-width: 0; }
.computer-melli-theme .cm-checkout-summary-card { overflow: hidden; }
.computer-melli-theme .cm-checkout-summary-card__head { padding: 19px 20px 15px; border-bottom: 1px solid var(--cm-line); background: var(--cm-surface-soft); }
.computer-melli-theme .cm-checkout-summary-card__head span { color: var(--cm-primary); font-size: 9px; font-weight: 900; }
.computer-melli-theme .cm-checkout-summary-card__head h2 { margin: 3px 0 0; font-size: 20px; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-review-order { padding: 0; position: static; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.computer-melli-theme .cm-checkout-order-table { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse !important; }
.computer-melli-theme .cm-checkout-order-table th,
.computer-melli-theme .cm-checkout-order-table td { padding: 11px 20px !important; border: 0 !important; border-bottom: 1px solid var(--cm-line) !important; background: var(--cm-surface) !important; font-size: 10px !important; vertical-align: top; }
.computer-melli-theme .cm-checkout-order-table thead th { background: var(--cm-surface-soft) !important; color: var(--cm-muted); font-size: 9px !important; }
.computer-melli-theme .cm-checkout-order-table th { text-align: right !important; }
.computer-melli-theme .cm-checkout-order-table td { text-align: left !important; }
.computer-melli-theme .cm-checkout-order-table .product-name { width: 64%; text-align: right !important; overflow-wrap: anywhere; }
.computer-melli-theme .cm-checkout-order-table .product-quantity { display: inline-block; margin-right: 4px; color: var(--cm-muted); }
.computer-melli-theme .cm-checkout-order-table .wc-item-meta { margin: 5px 0 0; color: var(--cm-muted); font-size: 8px; }
.computer-melli-theme .cm-checkout-order-table .order-total th,
.computer-melli-theme .cm-checkout-order-table .order-total td { padding-top: 15px !important; border-bottom: 0 !important; font-size: 14px !important; font-weight: 900 !important; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment { margin: 0 !important; border-radius: 0 !important; background: var(--cm-surface-soft) !important; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment ul.payment_methods { padding: 14px 20px !important; border-top: 1px solid var(--cm-line) !important; border-bottom: 1px solid var(--cm-line) !important; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment ul.payment_methods li { padding: 12px; margin: 0 0 8px; border: 1px solid var(--cm-line); border-radius: 11px; background: var(--cm-surface); }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment ul.payment_methods li:last-child { margin-bottom: 0; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment ul.payment_methods li label { font-size: 11px; font-weight: 850; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment .payment_box { margin: 8px 0 0 !important; padding: 11px !important; background: var(--cm-surface-soft) !important; color: var(--cm-muted) !important; font-size: 9px !important; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment .payment_box::before { display: none !important; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment .place-order { padding: 16px 20px 20px !important; }
.computer-melli-theme .cm-checkout-summary-card #place_order { width: 100%; min-height: 50px; }
.computer-melli-theme .cm-checkout-summary-card .woocommerce-privacy-policy-text,
.computer-melli-theme .cm-checkout-summary-card .woocommerce-terms-and-conditions-wrapper { color: var(--cm-muted); font-size: 9px; line-height: 1.8; }
.computer-melli-theme .woocommerce-form-coupon-toggle,
.computer-melli-theme .woocommerce-form-login-toggle { margin-bottom: 11px; }
.computer-melli-theme form.checkout_coupon,
.computer-melli-theme form.login { margin: 0 0 15px !important; border: 1px solid var(--cm-line) !important; border-radius: 14px !important; background: var(--cm-surface); }

/* Catalogue and sale badge */
.computer-melli-theme .cm-catalog-hero { min-height: 190px; padding: 32px 36px; border-radius: 21px; background: linear-gradient(112deg,#1d0b3f,#4c1d95 63%,#9333ea); }
.computer-melli-theme .cm-catalog-hero.has-no-image { min-height: 165px; background: linear-gradient(112deg,#17131d,#2b183e 63%,#4b247b); }
.computer-melli-theme .cm-catalog-hero.has-no-image::after { display: none; }
.computer-melli-theme .cm-catalog-hero h1 { font-size: clamp(30px,4vw,42px); }
.computer-melli-theme .cm-shop-layout { margin-top: 18px; }
.computer-melli-theme .cm-catalog-toolbar { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 13px 10px 18px; border-radius: 16px; }
.computer-melli-theme .cm-result-count { order: 1; color: var(--cm-muted); font-size: 11px; }
.computer-melli-theme .cm-result-count p { margin: 0 !important; }
.computer-melli-theme .cm-ordering { order: 2; margin-right: auto; }
.computer-melli-theme .cm-ordering-form { display: flex; align-items: center; gap: 9px; margin: 0; }
.computer-melli-theme .cm-ordering-form label { color: var(--cm-muted); font-size: 10px; font-weight: 800; }
.computer-melli-theme .cm-ordering-form select { min-width: 205px; min-height: 44px !important; padding: 7px 13px !important; border-radius: 10px !important; font-size: 11px !important; }
.computer-melli-theme .cm-product-card .cm-discount-badge,
.computer-melli-theme .cm-product-card .onsale,
.computer-melli-theme span.onsale {
  min-width: 0 !important;
  min-height: 0 !important;
  top: 11px !important;
  right: 11px !important;
  left: auto !important;
  padding: 4px 7px !important;
  border: 1px solid #ffd5df !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.96) !important;
  color: var(--cm-promo) !important;
  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

/* Product reviews and related products */
.computer-melli-theme .cm-product-tabs .woocommerce-Tabs-panel { min-height: 0; padding: 27px !important; }
.computer-melli-theme .cm-product-tabs #reviews { display: block !important; }
.computer-melli-theme .cm-product-tabs #review_form_wrapper { width: min(760px,100%); margin-inline: auto; padding: 0 !important; border: 0 !important; }
.computer-melli-theme .cm-product-tabs #review_form { padding: 22px; border: 1px solid var(--cm-line); border-radius: 16px; background: #fafbfc; }
.computer-melli-theme .cm-product-tabs .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.computer-melli-theme .cm-product-tabs .comment-form > p { margin: 0 !important; }
.computer-melli-theme .cm-product-tabs .comment-form-rating,
.computer-melli-theme .cm-product-tabs .comment-form-comment,
.computer-melli-theme .cm-product-tabs .comment-form-cookies-consent,
.computer-melli-theme .cm-product-tabs .form-submit,
.computer-melli-theme .cm-product-tabs .comment-notes { grid-column: 1 / -1; }
.computer-melli-theme .cm-product-tabs .comment-form label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 850; }
.computer-melli-theme .cm-product-tabs .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--cm-muted); font-size: 9px; }
.computer-melli-theme .cm-related-products { padding-top: 44px; clear: both; }
.computer-melli-theme .cm-related-grid { width: 100%; display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 16px; overflow: visible; }
.computer-melli-theme .cm-related-grid > * { width: auto !important; max-width: none !important; min-width: 0 !important; float: none !important; clear: none !important; margin: 0 !important; }

/* No moving or zooming hover effects. */
.computer-melli-theme :where(.cm-product-card,.cm-category-card,.cm-brand-row a,.cm-primary-button,.cm-secondary-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.wc-block-components-button) { transform: none !important; }
.computer-melli-theme :where(.cm-product-card,.cm-category-card,.cm-brand-row a):hover { transform: none !important; }
.computer-melli-theme .cm-product-card:hover .cm-product-card__image img { transform: none !important; }

@media (max-width: 1080px) {
  .computer-melli-theme .cm-cart-layout { grid-template-columns: minmax(0,1fr) 330px; }
  .computer-melli-theme .cm-checkout-layout { grid-template-columns: minmax(0,1fr) 360px; }
  .computer-melli-theme .cm-cart-item { grid-template-columns: 100px minmax(0,1fr) 185px; }
  .computer-melli-theme .cm-related-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width: 860px) {
  .computer-melli-theme .cm-auth-layout.has-registration { grid-template-columns: 1fr; max-width: 720px; }
  .computer-melli-theme .cm-cart-layout,
  .computer-melli-theme .cm-checkout-layout { grid-template-columns: 1fr; }
  .computer-melli-theme .cm-cart-summary-column,
  .computer-melli-theme .cm-checkout-summary-column { position: static; }
  .computer-melli-theme .cm-checkout-summary-column { order: -1; }
  .computer-melli-theme .cm-cart-item { grid-template-columns: 100px minmax(0,1fr); }
  .computer-melli-theme .cm-cart-item__controls { grid-column: 2; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: center; justify-items: stretch; }
  .computer-melli-theme .cm-cart-item__quantity,
  .computer-melli-theme .cm-cart-item__subtotal { display: grid; gap: 5px; }
  .computer-melli-theme .cm-cart-item__remove { align-self: end; }
  .computer-melli-theme .cm-catalog-toolbar { position: static; flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .computer-melli-theme .cm-account-hero { min-height: 0; padding: 28px 23px; }
  .computer-melli-theme .cm-auth-card__head,
  .computer-melli-theme .cm-auth-card .cm-auth-form { padding-inline: 19px !important; }
  .computer-melli-theme .cm-auth-actions { align-items: flex-start; flex-direction: column; }
  .computer-melli-theme .cm-cart-actions { align-items: stretch; flex-direction: column; }
  .computer-melli-theme .cm-cart-coupon { grid-template-columns: minmax(0,1fr) auto; width: 100%; }
  .computer-melli-theme .cm-cart-actions .cm-update-cart { width: 100%; }
  .computer-melli-theme .cm-related-grid { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 9px; }
  .computer-melli-theme .cm-related-grid > * { min-width: min(78vw,310px) !important; scroll-snap-align: start; }
  .computer-melli-theme .cm-product-tabs .comment-form { grid-template-columns: 1fr; }
  .computer-melli-theme .cm-product-tabs .comment-form > p { grid-column: 1 !important; }
}

/* Checkout fields stack below 1125px: beside the 360–400px summary column the
   form column is only ~440–700px wide, and two ~220px inputs side by side are
   what made the panels look thin and tall. */
@media (max-width: 1125px) {
  .computer-melli-theme .cm-checkout-fields { grid-template-columns: 1fr; }
  .computer-melli-theme .cm-checkout-fields .cm-field-full,
  .computer-melli-theme .cm-checkout-fields .form-row-wide { grid-column: auto; }
}

@media (max-width: 520px) {
  .computer-melli-theme .cm-commerce-page { padding-top: 10px; }
  .computer-melli-theme .cm-commerce-heading { margin-bottom: 16px; }
  .computer-melli-theme .cm-commerce-heading p { line-height: 1.8; }
  .computer-melli-theme .cm-checkout-steps { margin-inline: -7px; }
  .computer-melli-theme .cm-checkout-steps span { font-size: 8px; }
  .computer-melli-theme .cm-cart-empty { min-height: 300px; padding: 32px 17px; }
  .computer-melli-theme .cm-cart-items-head { padding: 15px; }
  .computer-melli-theme .cm-cart-items-list { padding: 0 15px; }
  .computer-melli-theme .cm-cart-item { grid-template-columns: 78px minmax(0,1fr); gap: 11px; padding: 15px 0; }
  .computer-melli-theme .cm-cart-item__media { width: 78px; height: 76px; }
  .computer-melli-theme .cm-cart-item__controls { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .computer-melli-theme .cm-cart-item__remove { grid-column: 1 / -1; justify-self: start; }
  .computer-melli-theme .cm-cart-actions { padding: 14px 15px; }
  .computer-melli-theme .cm-cart-coupon { grid-template-columns: 1fr; }
  .computer-melli-theme .cm-cart-coupon .button { width: 100%; }
  .computer-melli-theme .cm-cart-summary,
  .computer-melli-theme .cm-checkout-panel { padding: 16px; }
  .computer-melli-theme .cm-checkout-summary-card__head { padding-inline: 16px; }
  .computer-melli-theme .cm-checkout-order-table th,
  .computer-melli-theme .cm-checkout-order-table td { padding-inline: 16px !important; }
  .computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment ul.payment_methods,
  .computer-melli-theme .cm-checkout-summary-card .woocommerce-checkout-payment .place-order { padding-inline: 16px !important; }
  .computer-melli-theme .cm-added-message { align-items: flex-start; flex-direction: column; }
}

/* Integration resets for parent/WooCommerce layout rules. */
.computer-melli-theme form.checkout.woocommerce-checkout.cm-checkout-form { display: block !important; grid-template-columns: none !important; }
.computer-melli-theme .cm-checkout-summary-card #order_review_heading { display: block; grid-column: auto !important; padding: 0 !important; margin: 3px 0 0 !important; border: 0 !important; background: transparent !important; }
.computer-melli-theme form.woocommerce-cart-form.cm-cart-form { padding: 0 !important; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.computer-melli-theme .cm-cart-summary .shop_table_responsive tr,
.computer-melli-theme .cm-checkout-order-table tr { display: table-row !important; }
.computer-melli-theme .cm-cart-summary .shop_table_responsive th,
.computer-melli-theme .cm-cart-summary .shop_table_responsive td,
.computer-melli-theme .cm-checkout-order-table th,
.computer-melli-theme .cm-checkout-order-table td { display: table-cell !important; }
.computer-melli-theme .cm-cart-summary .shop_table_responsive td::before,
.computer-melli-theme .cm-checkout-order-table td::before { display: none !important; }

/* Remove decorative glyph controls and motion. */
.computer-melli-theme .woocommerce-product-gallery__trigger { display: none !important; }
.computer-melli-theme :where(.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,a.button,button.button,input.button,.wc-block-components-button):hover {
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}
.computer-melli-theme .cm-pdp-media .cm-discount-badge {
  padding: 5px 8px !important;
  border: 1px solid #ffd5df !important;
  border-radius: 8px !important;
  background: rgba(255,255,255,.96) !important;
  color: var(--cm-promo) !important;
  font-size: 9px !important;
  box-shadow: none !important;
}
.computer-melli-theme .cm-product-card:hover {
  border-color: var(--cm-line) !important;
  box-shadow: 0 7px 22px rgba(28,18,37,.045) !important;
}
.computer-melli-theme .cm-category-card:hover {
  transform: none !important;
  box-shadow: var(--cm-shadow-sm) !important;
  border-color: var(--cm-line) !important;
}
.computer-melli-theme .cm-brand-row a:hover { transform: none !important; }
.computer-melli-theme .cm-checkout-panel .woocommerce-billing-fields,
.computer-melli-theme .cm-checkout-panel .woocommerce-shipping-fields,
.computer-melli-theme .cm-checkout-panel .woocommerce-additional-fields { padding: 0 !important; }
.computer-melli-theme .cm-checkout-panel .woocommerce-billing-fields > h3,
.computer-melli-theme .cm-checkout-panel .woocommerce-shipping-fields > h3,
.computer-melli-theme .cm-checkout-panel .woocommerce-additional-fields > h3 { display: none !important; }


/* Price-direction containment across cart, checkout, search and product cards. */
.computer-melli-theme :where(.cm-search-result__price,.cm-cart-item__unit-price strong,.cm-cart-item__subtotal strong,.cm-cart-summary td,.cm-checkout-order-table td,.cm-product-card__price,.cm-single-price) .woocommerce-Price-amount,
.computer-melli-theme :where(.cm-search-result__price,.cm-cart-item__unit-price strong,.cm-cart-item__subtotal strong,.cm-cart-summary td,.cm-checkout-order-table td,.cm-product-card__price,.cm-single-price) bdi {
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Product/category/brand cards remain completely static on pointer hover. */
.computer-melli-theme .cm-product-card:hover {
  border-color: var(--cm-line) !important;
  box-shadow: 0 7px 22px rgba(28,18,37,.045) !important;
}
.computer-melli-theme .cm-category-card:hover {
  border-color: var(--cm-line) !important;
  box-shadow: var(--cm-shadow-sm) !important;
}
.computer-melli-theme .cm-brand-row a:hover {
  border-color: var(--cm-line) !important;
  color: var(--cm-muted) !important;
  box-shadow: none !important;
}


/* ============================================================
   Readability pass — larger, softer, clearer type everywhere
   ============================================================ */
.computer-melli-theme {
  --cm-text: #18141c;
  --cm-muted: #5d5665;
}

/* Base copy and links */
.computer-melli-theme p,
.computer-melli-theme li,
.computer-melli-theme dd,
.computer-melli-theme .cm-product-short-description,
.computer-melli-theme .cm-product-tabs .woocommerce-Tabs-panel,
.computer-melli-theme .cm-article-card,
.computer-melli-theme .entry-content {
  letter-spacing: .012em;
}

/* Header + navigation */
.computer-melli-theme .cm-logo-name { font-size: 23px; }
.computer-melli-theme .cm-product-search input[type="search"] { font-size: 14px; }
.computer-melli-theme .cm-primary-menu a { font-size: 13px; }
.computer-melli-theme .cm-hot-link,
.computer-melli-theme .cm-category-trigger { font-size: 13px; }
.computer-melli-theme .cm-round-action { font-size: 13px; }
.computer-melli-theme .cm-promo-bar { font-size: 13px; letter-spacing: .01em; }

/* Homepage */
.computer-melli-theme .cm-hero-panel p { font-size: 15px; line-height: 1.95; }
.computer-melli-theme .cm-hero-eyebrow { font-size: 13px; }
.computer-melli-theme .cm-section-heading > a { font-size: 13px; }
.computer-melli-theme .cm-category-card strong { font-size: 14.5px; }
.computer-melli-theme .cm-category-card small { font-size: 12px; }
.computer-melli-theme .cm-service-grid strong { font-size: 14.5px; }
.computer-melli-theme .cm-service-grid small { font-size: 12px; }
.computer-melli-theme .cm-brand-row a { font-size: 19px; }

/* Product cards */
.computer-melli-theme .cm-product-card__status { font-size: 12px; }
.computer-melli-theme .cm-product-card__title { font-size: 15.5px; line-height: 1.7; }
.computer-melli-theme .cm-product-card__specs { font-size: 12.5px; line-height: 1.8; }
.computer-melli-theme .cm-product-card__price { font-size: 16.5px; }
.computer-melli-theme .cm-discount-badge { font-size: 12px; }
.computer-melli-theme .cm-stock-badge { font-size: 11px; }

/* Flash sale */
.computer-melli-theme .cm-flash-aside > span { font-size: 12px; }
.computer-melli-theme .cm-flash-aside > a { font-size: 12px; }
.computer-melli-theme .cm-flash-aside p { font-size: 13px; }
.computer-melli-theme .cm-flash-aside h2 { font-size: 31px; }

/* Promo banners */
.computer-melli-theme .cm-promo-banner > span { font-size: 12px; }
.computer-melli-theme .cm-promo-banner p { font-size: 13.5px; }
.computer-melli-theme .cm-promo-banner strong { font-size: 13px; }

/* Catalog */
.computer-melli-theme .cm-breadcrumbs,
.computer-melli-theme .woocommerce-breadcrumb { font-size: 13.5px; }
.computer-melli-theme .cm-filter-section h2 { font-size: 14.5px; }
.computer-melli-theme .cm-filter-checks label { font-size: 12.5px; }
.computer-melli-theme .cm-price-inputs label span { font-size: 11px; }
.computer-melli-theme .cm-price-inputs input { font-size: 13px; }
.computer-melli-theme .cm-result-count { font-size: 12.5px; }
.computer-melli-theme .cm-ordering select { font-size: 12.5px; }
.computer-melli-theme .cm-subcategory-row a { font-size: 12.5px; }
.computer-melli-theme .cm-catalog-hero p,
.computer-melli-theme .cm-catalog-description { font-size: 14px; }

/* Single product */
.computer-melli-theme .cm-pdp-stock { font-size: 12.5px; }
.computer-melli-theme .cm-product-model { font-size: 12.5px; }
.computer-melli-theme .cm-product-rating-row,
.computer-melli-theme .cm-product-rating-row a { font-size: 12.5px; }
.computer-melli-theme .cm-key-specs strong { font-size: 12.5px; }
.computer-melli-theme .cm-seller-row small { font-size: 11.5px; }
.computer-melli-theme .cm-seller-row strong { font-size: 13.5px; }
.computer-melli-theme .cm-seller-row .cm-success-text { font-size: 11px; }
.computer-melli-theme .cm-product-meta-list > div,
.computer-melli-theme .cm-product-meta-list dt,
.computer-melli-theme .cm-product-meta-list dd { font-size: 12.5px; }
.computer-melli-theme .cm-product-reassurance strong { font-size: 12.5px; }
.computer-melli-theme .cm-product-reassurance small { font-size: 11.5px; }
.computer-melli-theme .cm-product-tabs .woocommerce-tabs ul.tabs li a { font-size: 13px !important; }
.computer-melli-theme .cm-product-tabs .woocommerce-Tabs-panel { font-size: 14.5px; }
.computer-melli-theme .cm-product-tabs table.shop_attributes th,
.computer-melli-theme .cm-product-tabs table.shop_attributes td { font-size: 12.5px; }
.computer-melli-theme .cm-pdp-no-image strong { font-size: 20px; }
.computer-melli-theme .cm-pdp-no-image small { font-size: 12.5px; }

/* Search results */
.computer-melli-theme .cm-search-result strong { font-size: 13.5px; }
.computer-melli-theme .cm-search-result small { font-size: 11.5px; }
.computer-melli-theme .cm-search-result__price { font-size: 12.5px; }
.computer-melli-theme .cm-search-message { font-size: 14px; }

/* Footer */
.computer-melli-theme .cm-site-footer section h2 { font-size: 15.5px; }
.computer-melli-theme .cm-site-footer section a,
.computer-melli-theme .cm-site-footer section p,
.computer-melli-theme .cm-footer-brand p { font-size: 13.5px; line-height: 1.9; }
.computer-melli-theme .cm-footer-bottom { font-size: 12px; }

/* Commerce surfaces (cart / checkout / account) */
.computer-melli-theme .cm-commerce-heading p,
.computer-melli-theme .cm-account-hero p { font-size: 14px; }
.computer-melli-theme .cm-checkout-steps span { font-size: 12.5px; }
.computer-melli-theme .cm-account-hero { font-size: 15px; }
.computer-melli-theme .woocommerce table.shop_table th,
.computer-melli-theme .woocommerce table.shop_table td { font-size: 13px; }
.computer-melli-theme .woocommerce-cart-form__cart-item .cm-cart-item__name { font-size: 14.5px; }
.computer-melli-theme .cm-cart-item__unit-price span,
.computer-melli-theme .cm-cart-item__quantity span,
.computer-melli-theme .cm-cart-item__subtotal span { font-size: 12px; }
.computer-melli-theme .cm-cart-item__unit-price strong,
.computer-melli-theme .cm-cart-item__subtotal strong { font-size: 14px; }
.computer-melli-theme .cm-cart-empty p { font-size: 14px; }
.computer-melli-theme .cm-cart-items-eyebrow { font-size: 12px; }
.computer-melli-theme .cm-cart-items-count { font-size: 13px; }
.computer-melli-theme .woocommerce .cart_totals h2 { font-size: 16px; }
.computer-melli-theme .woocommerce .cart_totals .woocommerce-Price-amount { font-size: 15px; }


/* Contrast pass — clearer muted text on light surfaces, legible footer text */
.computer-melli-theme .cm-product-short-description { color: #4b4550; }
.computer-melli-theme .cm-product-tabs .woocommerce-Tabs-panel { color: #4b4550; }
.computer-melli-theme .cm-product-card__specs { color: #57505d; }
.computer-melli-theme .cm-search-result small { color: #6a6370; }
.computer-melli-theme .cm-product-search input[type="search"]::placeholder { color: #6b6370; }
.computer-melli-theme .cm-site-footer section a { color: #c6c0cc; }
.computer-melli-theme .cm-site-footer section p,
.computer-melli-theme .cm-footer-brand p { color: #b6b0bd; }
.computer-melli-theme .cm-footer-bottom { color: #a29ca8; }
.computer-melli-theme .cm-brand-row a { color: #615a67; }
.computer-melli-theme .cm-catalog-description,
.computer-melli-theme .cm-catalog-hero p { color: #e8e1ee; }


/* ============================================================
   پس‌کرایه shipping methods — checkout panel + cart totals
   ============================================================ */
.computer-melli-theme .cm-checkout-shipping-fields { display: block; }
/* Scoped through the panel + ul#shipping_method ID: WooCommerce's own
   `.woocommerce ul#shipping_method li label { display:inline }` carries an ID
   selector, so a class-only theme rule can never override it. With the ID
   matched, the label really is the card: it fills its <li>, wraps its text and
   contains the radio dot. */
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method { position: relative; }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method > input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method label { position: relative; min-height: 108px; display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 17px 52px 17px 19px; border: 1.5px solid var(--cm-line); border-radius: 14px; background: var(--cm-surface); cursor: pointer; }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method label::before { content: ""; position: absolute; top: 50%; inset-inline-start: 20px; width: 19px; height: 19px; margin-top: -9.5px; border: 2px solid #cfc9d8; border-radius: 50%; background: var(--cm-surface); box-sizing: border-box; }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method:hover label { border-color: var(--cm-muted); }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method > input:checked + label { border-color: var(--cm-primary); background: var(--cm-primary-soft); }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method > input:checked + label::before { border-color: var(--cm-primary); background: radial-gradient(circle, var(--cm-primary) 0 42%, transparent 52%); }
.computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method > input:focus-visible + label { outline: 2px solid var(--cm-primary); outline-offset: 2px; }
.computer-melli-theme .cm-shipping-method__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 900; }
.computer-melli-theme .cm-shipping-method__tag { padding: 3px 9px; border-radius: 999px; background: var(--cm-promo-soft); color: var(--cm-promo); font-size: 10px; font-weight: 850; }
.computer-melli-theme .cm-shipping-method__cost { color: var(--cm-primary-strong); font-size: 11.5px; font-weight: 850; }
.computer-melli-theme .cm-shipping-method__desc { color: var(--cm-muted); font-size: 11px; line-height: 1.8; }

/* Cart totals shipping row */
.computer-melli-theme .cm-cart-summary .woocommerce-shipping-totals td { text-align: right !important; }
.computer-melli-theme .cm-cart-summary .woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.computer-melli-theme .cm-cart-summary .woocommerce-shipping-methods li { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--cm-line); border-radius: 10px; background: var(--cm-surface); }
.computer-melli-theme .cm-cart-summary .shipping_method { accent-color: var(--cm-primary); }
.computer-melli-theme .cm-cart-summary .woocommerce-shipping-destination { margin: 7px 0 0; color: var(--cm-muted); font-size: 9.5px; line-height: 1.7; }

/* The review table repeats the method choice made in the panel. */
.computer-melli-theme .cm-checkout-order-table tr.shipping { display: none !important; }

/* ============================================================
   Registration page + auth cross-links
   ============================================================ */
.computer-melli-theme .cm-register-layout { max-width: 1080px; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.computer-melli-theme .cm-auth-side { display: grid; gap: 14px; }
.computer-melli-theme .cm-auth-side__card { padding: 20px 21px; border: 1px solid var(--cm-line); border-radius: 18px; background: var(--cm-surface); box-shadow: var(--cm-shadow-sm); }
.computer-melli-theme .cm-auth-side__card h3 { margin: 0 0 9px; font-size: 15px; }
.computer-melli-theme .cm-auth-side__card p { margin: 0 0 13px; color: var(--cm-muted); font-size: 11.5px; line-height: 1.9; }
.computer-melli-theme .cm-auth-side__card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.computer-melli-theme .cm-auth-side__card li { position: relative; padding-inline-start: 22px; color: var(--cm-text); font-size: 11.5px; font-weight: 750; }
.computer-melli-theme .cm-auth-side__card li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--cm-success); font-weight: 900; }
.computer-melli-theme .cm-auth-side__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 11px; background: var(--cm-primary); color: #fff !important; font-size: 11.5px; font-weight: 850; }
.computer-melli-theme .cm-auth-switch { margin: 15px 0 0 !important; padding: 13px 0 0 !important; border-top: 1px dashed var(--cm-line); color: var(--cm-muted); font-size: 11px; text-align: center; }
.computer-melli-theme .cm-auth-switch a { color: var(--cm-primary); font-weight: 850; }

@media (max-width: 860px) {
  .computer-melli-theme .cm-register-layout { grid-template-columns: 1fr; max-width: 720px; }
}

/* Two-up shipping cards need roughly 420px each; below that the methods stack
   into full-width rows so the text never has to squeeze into a narrow column. */
@media (max-width: 1320px) {
  .computer-melli-theme .cm-checkout-shipping-panel #shipping_method { grid-template-columns: 1fr; }
  .computer-melli-theme .cm-checkout-shipping-panel #shipping_method .cm-shipping-method label { min-height: 0; }
}
