/* Cart page (/cart-2/) in the Himam platform look: the WooCommerce + Flatsome cart markup, restyled.
   Loaded only on the cart page by himam-platform-pages.php; the checkout and payment pages are not touched.
   v63 (2026-11-11, the owner: «the cart has awful design re design it»): rebuilt on the system's ground (the sign-in
   page's cool tint with the pink and sky glows, as every screen since v60j); each course a card with its catalog
   picture and what it is; one summary card (the total, «إتمام الطلب», the ways to pay); on phones and tablets a bar at
   the bottom with the total and the same button while the summary's is off the screen (himam-platform-pages.php).
   Day and night both live here: the colours are variables, and the night ones (html.hm-night) only change them. Every
   rule inside the page starts at #content, so it outweighs the older cart lines of the generated night sheet
   (himam-night-shell.css, which loads after this file) and the theme's.
   Hand-written (not generated). Brand: navy #24255C, pink #F06CAB, sky #32B8E4. */

body.woocommerce-cart {
  --hm-title: #24255C; --hm-text: #1E1F4D; --hm-muted: #5B5E7E; --hm-on-pink: #1E1F4D;
  --hm-pink: #F06CAB; --hm-pink-deep: #B8326F; --hm-pink-soft: #FCE8F2;
  --hm-sky: #32B8E4; --hm-sky-deep: #12668F; --hm-sky-soft: #E2F3FA;
  --hm-card: rgb(255 255 255 / .88); --hm-card-line: rgb(36 37 92 / .08); --hm-line: rgb(36 37 92 / .1);
  --hm-soft: rgb(36 37 92 / .05); --hm-chip: #ECEDF6; --hm-chip-ink: #3A3C6E; --hm-frame: #EEF1F7;
  --hm-glass: rgb(255 255 255 / .55); --hm-glass-line: rgb(255 255 255 / .75); --hm-step-on: #24255C; --hm-bar: rgb(255 255 255 / .92);
  --hm-shadow: 0 1px 2px rgb(27 22 64 / .05), 0 14px 34px -20px rgb(27 22 64 / .28);
  --hm-head: "Rubik", Tahoma, system-ui, sans-serif;
  background: radial-gradient(60rem 40rem at 12% 8%, rgb(240 108 171 / .2), transparent 60%) fixed,
    radial-gradient(56rem 40rem at 88% 92%, rgb(50 184 228 / .22), transparent 60%) fixed, #E5E9F2;
}
:root.hm-night body.woocommerce-cart {
  --hm-title: #ECEDFA; --hm-text: #E2E3F4; --hm-muted: #A9ABC8; --hm-pink-deep: #F5A3CB; --hm-pink-soft: rgb(240 108 171 / .15);
  --hm-sky-deep: #8FD6F0; --hm-sky-soft: rgb(50 184 228 / .15);
  --hm-card: rgb(31 32 66 / .88); --hm-card-line: rgb(255 255 255 / .08); --hm-line: rgb(255 255 255 / .1);
  --hm-soft: rgb(255 255 255 / .05); --hm-chip: rgb(255 255 255 / .08); --hm-chip-ink: #D5D6EC; --hm-frame: #27284C;
  --hm-glass: rgb(255 255 255 / .06); --hm-glass-line: rgb(255 255 255 / .1); --hm-step-on: #3B3D8A; --hm-bar: rgb(24 25 52 / .94);
  --hm-shadow: 0 1px 2px rgb(0 0 0 / .25), 0 14px 34px -20px rgb(0 0 0 / .75);
  background: radial-gradient(60rem 40rem at 12% 8%, rgb(240 108 171 / .14), transparent 60%) fixed,
    radial-gradient(56rem 40rem at 88% 92%, rgb(50 184 228 / .13), transparent 60%) fixed, #14152E;
}
:root body.woocommerce-cart :is(#wrapper, #main, #content) { background: transparent; }
#content { padding-block: 2.25rem 4.5rem; min-height: 60vh; color: var(--hm-text); }
#content .row-main { max-width: 72rem; }
#content .woocommerce :focus-visible { outline: 2px solid var(--hm-sky); outline-offset: 2px; }

/* ── Page head: the title, how many courses, the purchase steps ── */
#content .hm-cart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 1.75rem; }
#content .hm-cart-head h1 { margin: 0; font-family: var(--hm-head); font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 800; line-height: 1.25; color: var(--hm-title); }
#content .hm-cart-sub { margin: .375rem 0 0; font-size: .9375rem; font-weight: 600; color: var(--hm-muted); }
#content .hm-cart-n { display: none; }
/* the steps: one capsule, the step one is at filled */
#content .hm-steps { display: flex; align-items: center; gap: .25rem; margin: 0; padding: .3125rem; list-style: none; border: 1px solid var(--hm-glass-line); border-radius: 999px; background: var(--hm-glass); box-shadow: 0 1px 2px rgb(27 22 64 / .04); }
#content .hm-steps li { display: flex; align-items: center; gap: .5rem; margin: 0; padding-block: .3125rem; padding-inline: .3125rem .875rem; border-radius: 999px; font-size: .875rem; font-weight: 700; line-height: 1.2; color: var(--hm-muted); white-space: nowrap; }
#content .hm-steps li::before { content: none; }
#content .hm-step-n { box-shadow: none; display: grid; place-items: center; width: 1.625rem; height: 1.625rem; border-radius: 999px; background: var(--hm-soft); font-size: .8125rem; font-weight: 800; color: var(--hm-muted); }
#content .hm-steps [aria-current] { background: var(--hm-step-on); color: #fff; }
#content .hm-steps [aria-current] .hm-step-n { background: var(--hm-pink); color: var(--hm-on-pink); }

/* ── Two columns: the courses | the summary (one under the other below 64rem) ── */
#content .woocommerce > .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; max-width: none; margin: 0; }
#content .woocommerce > .row > .col { width: auto; max-width: none; flex-basis: auto; padding: 0; border: 0 !important; }
@media (min-width: 64rem) {
  #content .woocommerce > .row { grid-template-columns: minmax(0, 1fr) 22.5rem; gap: 2rem; align-items: start; }
}

/* ── The courses: the cart's table, one card per row ── */
#content .cart-wrapper { overflow: visible; }
#content .woocommerce-cart-form table.shop_table { display: block; margin: 0; border: 0; background: none; }
#content .woocommerce-cart-form .shop_table thead { display: none; }
#content .woocommerce-cart-form .shop_table tbody { display: flex; flex-direction: column; gap: 1rem; }
#content .woocommerce-cart-form .shop_table td { padding: 0; border: 0; background: none; text-align: start; }
#content .woocommerce-cart-form .shop_table td::before { display: none !important; }
#content .woocommerce-cart-form tr.cart_item {
  display: grid; grid-template-columns: 10rem minmax(0, 1fr) auto; grid-template-rows: 1fr auto;
  grid-template-areas: "thumb name total" "thumb remove total"; align-items: start; gap: .5rem 1.25rem;
  padding: 1rem; border: 1px solid var(--hm-card-line); border-radius: 1.25rem; background: var(--hm-card); box-shadow: var(--hm-shadow);
}
/* the picture, in one frame shape for every course */
#content tr.cart_item td.product-thumbnail { grid-area: thumb; display: block !important; width: auto; min-width: 0; max-width: none; }
#content tr.cart_item td.product-thumbnail a { display: block; border-radius: .875rem; }
#content .hm-ci-frame { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: .875rem; background: var(--hm-frame); }
#content .hm-ci-frame.is-white { background: #fff; }
#content tr.cart_item td.product-thumbnail img:not(.hm-ci-frame img) { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .875rem; }
/* the name, then what the course is and its teacher */
#content tr.cart_item td.product-name { grid-area: name; display: block !important; min-width: 0; padding-top: .125rem; }
#content tr.cart_item td.product-name > a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  color: var(--hm-title); font-size: 1.0625rem; font-weight: 800; line-height: 1.6; text-decoration: none;
}
#content tr.cart_item td.product-name > a:hover { color: var(--hm-pink-deep); text-decoration: underline; text-underline-offset: 4px; }
#content .hm-ci-facts { display: flex; flex-wrap: wrap; gap: .375rem; margin: .5rem 0 0; padding: 0; list-style: none; }
#content .hm-ci-facts li { margin: 0; padding: .125rem .625rem; border-radius: 999px; background: var(--hm-chip); color: var(--hm-chip-ink); font-size: .75rem; font-weight: 700; line-height: 1.7; }
#content .hm-ci-facts li.is-sky { background: var(--hm-sky-soft); color: var(--hm-sky-deep); }
#content .hm-ci-facts li.is-pink { background: var(--hm-pink-soft); color: var(--hm-pink-deep); }
#content .hm-ci-who { display: flex; align-items: center; gap: .375rem; margin: .5rem 0 0; font-size: .875rem; font-weight: 600; line-height: 1.5; color: var(--hm-muted); }
#content .hm-ci-who svg { flex: none; }
/* a course is bought once (sold individually): no quantity and no "1 x price" line */
#content tr.cart_item .mobile-product-price, #content tr.cart_item td.product-price, #content tr.cart_item td.product-quantity { display: none !important; }
#content tr.cart_item td.product-subtotal { grid-area: total; display: block !important; padding-top: .125rem; text-align: end; font-family: var(--hm-head); font-size: 1.25rem; font-weight: 800; line-height: 1.5; color: var(--hm-title); white-space: nowrap; }
#content tr.cart_item td.product-subtotal .amount { color: inherit; }
/* «إزالة»: a bin and the word, quiet until pointed at */
#content tr.cart_item td.product-remove { grid-area: remove; display: block !important; position: static; align-self: end; justify-self: start; width: auto; }
#content tr.cart_item a.remove {
  position: static; display: inline-flex; align-items: center; gap: .375rem; width: auto; height: auto; min-height: 2.25rem; margin: 0; margin-inline-start: -.625rem; padding: 0 .625rem;
  border: 0 !important; border-radius: 999px; background: transparent !important; color: var(--hm-muted) !important;
  font-size: .875rem !important; font-weight: 700; line-height: 1 !important; text-align: start; opacity: 1; transition: background-color .2s, color .2s;
}
#content tr.cart_item a.remove::before { content: none; }
#content tr.cart_item a.remove svg { flex: none; }
#content tr.cart_item a.remove:hover { background: var(--hm-pink-soft) !important; color: var(--hm-pink-deep) !important; }

/* below the cards: «تصفّح دورات أخرى» + «تحديث السلة» (only while a change waits) */
#content .woocommerce-cart-form tr:not(.cart_item) { display: block; }
#content .woocommerce-cart-form td.actions { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: .25rem 0 0; }
#content td.actions .continue-shopping { float: none; margin: 0; }
#content td.actions .button-continue-shopping.button {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; margin: 0; padding: 0 1.25rem; border: 1px solid var(--hm-line); border-radius: .75rem;
  background: var(--hm-glass); box-shadow: none; color: var(--hm-title); font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0;
}
#content td.actions .button-continue-shopping.button::before {
  content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
#content td.actions .button-continue-shopping.button:hover { border-color: var(--hm-sky); background: var(--hm-card); color: var(--hm-title); box-shadow: none; }
#content td.actions button[name="update_cart"] {
  float: none; min-height: 2.75rem; margin: 0; padding: 0 1.25rem; border: 1px solid var(--hm-title); border-radius: .75rem;
  background: transparent; color: var(--hm-title); font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none;
}
#content td.actions button[name="update_cart"]:hover { background: var(--hm-soft); color: var(--hm-title); box-shadow: none; }
#content td.actions button[name="update_cart"]:disabled { display: none; }

/* ── The summary card ── */
#content .cart-collaterals .cart-sidebar { padding: 1.5rem; border: 1px solid var(--hm-card-line); border-radius: 1.25rem; background: var(--hm-card); box-shadow: var(--hm-shadow); }
@media (min-width: 64rem) { #content .cart-collaterals .cart-sidebar { position: sticky; top: 6rem; } }
#content .cart_totals > table:first-child { display: none; }
#content .cart_totals > h2 { display: block; margin: 0 0 1rem; font-family: var(--hm-head); font-size: 1.125rem; font-weight: 800; color: var(--hm-title); text-transform: none; letter-spacing: 0; }
#content .cart_totals .shop_table { display: block; margin: 0; border: 0; background: none; }
#content .cart_totals .shop_table tbody { display: grid; gap: .25rem; }
#content .cart_totals .shop_table tr { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .5rem 0; border: 0; background: none; }
#content .cart_totals .shop_table :is(th, td) { display: block !important; padding: 0; border: 0; background: none; font-size: .9375rem; text-transform: none; letter-spacing: 0; }
#content .cart_totals .shop_table th { font-weight: 600; color: var(--hm-muted); text-align: start; }
#content .cart_totals .shop_table td { font-weight: 700; color: var(--hm-text); text-align: end; }
#content .cart_totals .shop_table td::before { display: none !important; }
/* the subtotal only while something is taken off it (a coupon); otherwise it only repeats the total */
#content .cart_totals tbody:not(:has(tr.cart-discount)) tr.cart-subtotal { display: none; }
#content .cart_totals tr.cart-discount td { color: #1F8A5B; }
#content .cart_totals tr.order-total { align-items: center; margin-top: .25rem; padding: .875rem 1rem; border-radius: 1rem; background: var(--hm-soft); }
#content .cart_totals tr.order-total th { font-size: 1rem; font-weight: 800; color: var(--hm-title); }
#content .cart_totals tr.order-total :is(td, .amount) { font-family: var(--hm-head); font-size: 1.75rem; font-weight: 800; line-height: 1.2; color: var(--hm-title); }

/* «إتمام الطلب»: brand pink with navy words (the brand rule for buttons on pink) */
#content .cart_totals .wc-proceed-to-checkout { margin: 1rem 0 0; padding: 0; }
#content .cart_totals a.checkout-button.button {
  display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; min-width: 0; min-height: 3.375rem; margin: 0; padding: 0 1.5rem;
  border: 0; border-radius: .75rem; background: var(--hm-pink); color: var(--hm-on-pink); font-size: 1.0625rem; font-weight: 800;
  text-transform: none; letter-spacing: 0; box-shadow: 0 14px 28px -16px rgb(194 57 122 / .9); transition: filter .2s, transform .2s;
}
#content .cart_totals a.checkout-button.button:hover { background: var(--hm-pink); color: var(--hm-on-pink); box-shadow: 0 16px 30px -16px rgb(194 57 122 / .95); filter: brightness(1.05); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { #content .cart_totals a.checkout-button.button:hover { transform: none; } }

/* under the button: safe payment, the ways to pay, help */
#content .hm-cart-assure { display: grid; justify-items: center; gap: .75rem; margin: 1rem 0 0; text-align: center; }
#content .hm-cart-trust { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: 0; font-size: .8125rem; font-weight: 700; color: var(--hm-muted); }
#content .hm-cart-trust svg { flex: none; color: var(--hm-sky-deep); }
#content .hm-pay-ways { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0; padding: 0; list-style: none; }
#content .hm-pay-ways li { display: inline-flex; align-items: center; gap: .375rem; margin: 0; padding: .3125rem .75rem; border: 1px solid var(--hm-line); border-radius: 999px; font-size: .8125rem; font-weight: 700; line-height: 1.4; color: var(--hm-text); }
#content .hm-pay-ways svg { flex: none; color: var(--hm-muted); }
#content .hm-cart-help { width: 100%; margin: .25rem 0 0; padding: .875rem 0 0; border-top: 1px solid var(--hm-line); font-size: .8125rem; color: var(--hm-muted); }
#content .hm-cart-help a { color: var(--hm-sky-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* the coupon (only while a coupon exists): folded under «لديك قسيمة خصم؟» (himam.js) */
#content form.ux-cart-coupon { margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--hm-line); }
#content .ux-cart-coupon .coupon { display: flex; flex-wrap: wrap; gap: .5rem; }
#content .ux-cart-coupon .widget-title {
  display: flex; flex: 1 0 100%; align-items: center; gap: .5rem; min-height: 2.25rem; margin: 0; padding: 0; border: 0;
  font-family: inherit; font-size: .9375rem; font-weight: 700; color: var(--hm-title); text-transform: none; letter-spacing: 0;
}
#content .ux-cart-coupon .widget-title::after { content: none; }
#content .ux-cart-coupon .widget-title .icon-tag { color: var(--hm-pink); }
#content .ux-cart-coupon.hm-foldable .widget-title { cursor: pointer; border-radius: .5rem; }
#content .ux-cart-coupon.hm-foldable .widget-title::after {
  content: ""; display: block; margin-inline-start: auto; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 0 2px 2px;
  transform: rotate(-45deg); transition: transform .2s;
}
#content .ux-cart-coupon.hm-foldable.is-open .widget-title::after { transform: rotate(135deg); }
#content .ux-cart-coupon.hm-foldable:not(.is-open) .coupon > :not(.widget-title) { display: none; }
#content .ux-cart-coupon input#coupon_code {
  flex: 1 1 9rem; height: 2.75rem; margin: 0; padding: 0 1rem; border: 1px solid var(--hm-line); border-radius: .75rem;
  background: var(--hm-card); box-shadow: none; font-size: .9375rem; color: var(--hm-text);
}
#content .ux-cart-coupon input#coupon_code:focus { border-color: var(--hm-sky); box-shadow: 0 0 0 4px rgb(50 184 228 / .2); outline: none; }
#content .ux-cart-coupon button[name="apply_coupon"].button {
  flex: none; width: auto !important; min-width: 0 !important; height: 2.75rem; min-height: 0; margin: 0; padding: 0 1.25rem !important; border: 0; border-radius: .75rem;
  background: #24255C; color: #fff; font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none;
}
#content .ux-cart-coupon button[name="apply_coupon"].button:hover { background: #1A1B47; color: #fff; box-shadow: none; }

/* ── Messages («تمت إزالة …», coupon errors…) ── */
#content .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 1.25rem; }
#content :is(.woocommerce-message, .woocommerce-info:not(.cart-empty), .woocommerce-error) {
  margin: 0 0 .5rem; padding: .875rem 1.125rem; border: 1px solid var(--hm-card-line); border-radius: 1rem; background: var(--hm-card);
  box-shadow: var(--hm-shadow); color: var(--hm-text); font-size: .9375rem; font-weight: 600;
}
#content .woocommerce-message { border-inline-start: 4px solid var(--hm-sky); }
#content .woocommerce-error { border-inline-start: 4px solid var(--hm-pink); }
#content :is(.woocommerce-message, .woocommerce-info) a { color: var(--hm-sky-deep); font-weight: 700; }
#content .message-wrapper .message-container { padding: 0; text-align: start; }

/* ── The empty cart ── */
#content .woocommerce > .text-center {
  display: flex; flex-direction: column; align-items: center; max-width: 34rem; margin: 1.5rem auto 0; padding: 3rem 1.5rem 2.5rem !important;
  border: 1px solid var(--hm-card-line); border-radius: 1.5rem; background: var(--hm-card); box-shadow: var(--hm-shadow);
}
#content .wc-empty-cart-message { width: 100%; }
#content .wc-empty-cart-message .woocommerce-info { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#content .wc-empty-cart-message .message-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 0; font-family: var(--hm-head); font-size: 1.25rem; font-weight: 800; color: var(--hm-title); text-align: center; }
#content .wc-empty-cart-message .message-container::before {
  content: ""; width: 4.5rem; height: 4.5rem; border-radius: 999px; background-color: var(--hm-pink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F06CAB' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6h15l-1.5 9h-12z'/%3E%3Cpath d='M6 6 5 3H2'/%3E%3Ccircle cx='9' cy='20' r='1.5'/%3E%3Ccircle cx='18' cy='20' r='1.5'/%3E%3C/svg%3E");
  background-position: center; background-size: 2rem; background-repeat: no-repeat;
}
#content .hm-cart-empty-note { margin: .5rem 0 0; font-size: .9375rem; color: var(--hm-muted); text-align: center; }
#content .return-to-shop { margin: 1.5rem 0 0; }
#content .return-to-shop a.button {
  display: inline-flex; align-items: center; min-height: 3rem; margin: 0; padding: 0 1.75rem; border: 0; border-radius: .75rem;
  background: var(--hm-pink); color: var(--hm-on-pink); font-size: 1rem; font-weight: 800; text-transform: none; letter-spacing: 0; box-shadow: none;
}
#content .return-to-shop a.button:hover { background: var(--hm-pink); color: var(--hm-on-pink); box-shadow: none; filter: brightness(1.05); }

/* ── Phones and tablets: the bar at the bottom (the script shows it while the summary's button is off the screen) ── */
#content .hm-cart-bar { display: none; }
@media (max-width: 63.99rem) {
  #content .hm-cart-bar:not([hidden]) {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 1rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--hm-card-line);
    background: var(--hm-bar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -10px 30px -18px rgb(27 22 64 / .35);
    animation: hm-cart-bar-in .2s ease-out;
  }
  /* room under the footer for the bar: a margin, so the page's navy edge (not the light ground) shows there */
  body.woocommerce-cart.hm-cart-bar-on { margin-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}
#content .hm-cart-bar-sum { display: grid; margin: 0; line-height: 1.25; white-space: nowrap; }
#content .hm-cart-bar-sum > span { font-size: .75rem; font-weight: 700; color: var(--hm-muted); }
#content .hm-cart-bar-sum strong { font-family: var(--hm-head); font-size: 1.25rem; font-weight: 800; color: var(--hm-title); }
#content .hm-cart-bar-sum .amount { color: inherit; }
#content .hm-cart-bar-go {
  display: flex; flex: 1; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.25rem; border-radius: .75rem;
  background: var(--hm-pink); color: var(--hm-on-pink); font-size: 1rem; font-weight: 800; text-decoration: none; box-shadow: 0 12px 24px -14px rgb(194 57 122 / .9);
}
#content .hm-cart-bar-go:hover { color: var(--hm-on-pink); filter: brightness(1.05); }
@keyframes hm-cart-bar-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { #content .hm-cart-bar:not([hidden]) { animation: none; } }

/* ── Phones ── */
@media (max-width: 39.99rem) {
  #content { padding-top: 1.25rem; }
  #content .hm-cart-head { margin-bottom: 1.25rem; }
  #content .hm-steps { width: 100%; justify-content: space-between; }
  #content .hm-steps li { padding-inline-end: .75rem; font-size: .8125rem; }
  #content .woocommerce-cart-form tr.cart_item {
    grid-template-columns: 6.5rem minmax(0, 1fr) auto; grid-template-rows: auto auto;
    grid-template-areas: "thumb name name" "thumb total remove"; gap: .625rem .875rem; padding: .875rem;
  }
  #content tr.cart_item td.product-name > a { font-size: .9375rem; }
  #content tr.cart_item td.product-subtotal { align-self: center; text-align: start; font-size: 1.125rem; }
  #content tr.cart_item td.product-remove { align-self: center; justify-self: end; }
  #content tr.cart_item a.remove { margin-inline: 0 -.5rem; }
  #content .cart-collaterals .cart-sidebar { padding: 1.25rem; }
}
