/* Checkout and My Account > Addresses (enqueued from legacy.php).
 *
 * House number | apartment and floor | entrance (.al-half, set in
 * legacy.php) are half rows at every width. Woodmart's field wrapper is a
 * 4-column grid whose rows span var(--wd-col): 4, or 2 for
 * form-row-first/last from 1025px only. The doubled class beats that rule.
 * Grid order is DOM order, so the visual order is the tab order. */

/* Woodmart ships that grid only in its checkout CSS; the same grid for the
 * My Account address form, so it lays out like the checkout. */
.woocommerce-address-fields__field-wrapper {
  --wd-col: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.woocommerce-address-fields__field-wrapper > * {
  grid-column: auto / span var(--wd-col);
  margin-bottom: 0;
  width: unset;
}
@media (min-width: 1025px) {
  .woocommerce-address-fields__field-wrapper > :is(.form-row-first, .form-row-last) {
    --wd-col: 2;
  }
}

[class*="__field-wrapper"] > .form-row.al-half {
  --wd-col: 2;
}

/* Below 360px "דירה / ביתן (אופציונלי)" wraps to two lines. Two lines of
 * label on every half keep each pair's inputs level (the text sits on the
 * bottom line), and an inline error under one input does not move its
 * neighbour. */
@media (max-width: 359.98px) {
  [class*="__field-wrapper"] > .form-row.al-half > label {
    min-height: 3.2em; /* 2lh for browsers without the unit */
    min-height: 2lh;
    align-content: end;
  }
}

/* Moved from Theme Settings → Custom CSS (2026-09-25). */
/* Checkout: no "have a coupon?" line. */
.woocommerce-form-coupon-toggle {
	display: none;
}
/* My Account dashboard: the link tiles on white, each with a large ink
   icon above its name (as the old rule drew it). */
.wd-my-account-links a {
	background-color: var(--al-bg);
}
.wd-my-account-links a::before {
	content: "\f140";
	font-family: "woodmart-font";
	display: block;
	margin-block-end: 10px;
	color: var(--al-ink);
	font-size: 50px;
	font-weight: 400;
	line-height: 1;
}

/* ---------------------------------------------------------------------------
 * The Checkout block (al-checkout.php). Woodmart's block styles already draw
 * the fields from the --wd-form-* tokens; these rules keep the classic form's
 * layout and the token rules the block's own CSS does not follow.
 *
 * Its address form is a flex row once the block (a size container) is 400px
 * wide, with every text field half and country, street and company full.
 * Order is set in al-checkout.php: first | last name, country, city |
 * street, the four house fields, phone.
 * ------------------------------------------------------------------------- */

/* Street beside the city, as the other pairs (the block has it full width).
   One class more than the block's own rule, which prints later. */
@container (min-width: 400px) {
  .wc-block-checkout :is(.wc-block-checkout__shipping-fields, .wc-block-checkout__billing-fields) .wc-block-components-address-form .wc-block-components-address-form__address_1 {
    flex: 1 0 calc(50% - 12px);
  }
}

/* Country comes after the names here, so it needs the space the block
   gives every field but the first. */
.wc-block-checkout .wc-block-components-checkout-step .wc-block-components-address-form .wc-block-components-address-form__country {
  margin-top: 12px;
}

/* House number | apartment and floor | entrance are half rows at every
   width, small phones included (legacy.php does the same on the classic
   form). Under 400px the block lays the form out as a column, so the row
   is made here, with every other field full width. */
@container (max-width: 399.98px) {
  .wc-block-checkout .wc-block-components-address-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 12px;
  }
  .wc-block-checkout .wc-block-components-address-form > * {
    flex: 0 0 100%;
  }
  .wc-block-checkout .wc-block-components-address-form > [class*="__al-shipping-"] {
    flex: 1 0 calc(50% - 6px);
    min-width: 0;
  }
}

/* 16px text in every field: below that iOS zooms on focus (the block sets
   15px). */
.wc-block-checkout :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
  font-size: 16px;
}

/* Prices are ink (the block draws its totals in the secondary grey). */
.wc-block-checkout :is(.wc-block-components-totals-item__value, .wc-block-components-product-price, .wc-block-components-formatted-money-amount) {
  color: var(--al-price);
}

/* AL Shipping's city / street list and its "confirm your details" dialog,
   in the site's tokens: the list as a field's popup, the dialog as a modal,
   one orange action with an ink label. A class more than AL Shipping's own
   rules, which print later. */
.al-cs-list.al-cs-list {
  border-color: var(--al-line);
  border-radius: var(--al-r-sm);
  box-shadow: var(--al-sh-2);
  color: var(--al-ink);
}
.al-cs-list .al-cs-option[aria-selected="true"] {
  background: var(--al-surface);
}
@media (hover: hover) {
  .al-cs-list .al-cs-option:hover {
    background: var(--al-line-soft);
  }
}
.al-cs-list .al-cs-note {
  color: var(--al-ink-2);
}
.al-cs-modal.al-cs-modal {
  border-radius: var(--al-r-xl);
  box-shadow: var(--al-sh-pop);
  color: var(--al-ink);
  font-family: var(--al-font);
}
.al-cs-modal .al-cs-modal-footer button {
  min-block-size: 48px;
  border-radius: var(--al-r-md);
  font-weight: 600;
}
.al-cs-modal .al-cs-modal-confirm,
.al-cs-modal .al-cs-modal-confirm:is(:hover, :focus) {
  border-color: var(--al-orange);
  background: var(--al-orange);
  color: var(--al-ink);
}
.al-cs-modal .al-cs-modal-confirm:hover {
  border-color: var(--al-orange-hover);
  background: var(--al-orange-hover);
}
.al-cs-modal .al-cs-modal-cancel,
.al-cs-modal .al-cs-modal-cancel:is(:hover, :focus) {
  border-color: var(--al-line);
  background: var(--al-surface);
  color: var(--al-ink);
}
.al-cs-modal .al-cs-modal-cancel:hover {
  background: var(--al-line-soft);
}

/* ---------------------------------------------------------------------------
 * Checkout block: the look (Raz, 2026-09-25, both restyles, "A+B").
 *   - Every step with a heading is a white card on the page band, its
 *     number in an ink disc before the heading.
 *   - Labels above the fields, as on the classic form, not inside them.
 *   - The chosen shipping or payment option sits on the orange tint with a
 *     3px orange edge, and AL Shipping's pickup point select comes right
 *     under the chosen rate, on the same tint.
 *   - The order summary is a card too, with larger pictures and total.
 *   - A quieter contact step: Woodmart's two consent boxes in small print,
 *     no "checking out as a guest" line.
 *   - A lock and "תשלום מאובטח" under the order button (al-checkout.php).
 * Woodmart's block rules start ".wd.wd.wd :is(.wc-block-checkout, …)" and
 * print after this file: where ours meet one of them they start
 * ".wd.wd.wd .wc-block-checkout .wc-block-components-form", a class more.
 * ------------------------------------------------------------------------- */

/* The two columns as they were up to WooCommerce 11.1: fields 65%, summary
 * 35%. 11.2 made the summary a fixed 360px with a 48px gap on top of
 * Woodmart's 30px padding. 11.2 also stacks the columns below a 920px
 * container (its script collapses the summary there), so this starts at
 * 920px too. Woodmart up to 8.6.6 put its 30px between the columns as
 * padding inside the summary column; 8.6.8 makes it a column-gap (".wd
 * :is(…)", printed after this file), so the gap is set here, one class
 * stronger, and the summary column is 30px narrower: the same card widths
 * as before. Needs Woodmart 8.6.8 or later (8.6.6's padding would double
 * the gap). */
@container (min-width: 920px) {
  .wd .wc-block-checkout.wc-block-components-sidebar-layout {
    column-gap: 30px;
  }
  .wd .wc-block-checkout.wc-block-components-sidebar-layout .wc-block-components-main {
    flex: 0 0 65%;
    width: 65%;
  }
  .wd .wc-block-checkout.wc-block-components-sidebar-layout .wc-block-components-sidebar {
    flex: 0 0 calc(35% - 30px);
    width: calc(35% - 30px);
    padding-inline: 0;
  }
}

/* The cards. */
.wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step:has(> .wc-block-components-checkout-step__heading-container),
.wc-block-checkout .wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block .wp-block-woocommerce-checkout-order-summary-block {
  border: 1px solid var(--al-line);
  border-radius: var(--al-r-lg);
  background: var(--al-bg);
  box-shadow: var(--al-sh-1);
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step:has(> .wc-block-components-checkout-step__heading-container) {
  margin-block-end: var(--al-s-5);
  padding: var(--al-s-6);
}
@container (max-width: 519.98px) {
  .wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step:has(> .wc-block-components-checkout-step__heading-container) {
    margin-block-end: var(--al-s-4);
    padding: var(--al-s-5) var(--al-s-4);
  }
}

/* The step number: an ink disc before each card's heading. A counter of
   our own: the block's "show step numbers" setting stays off, it would put
   a "1." in the margin with a line down the step. */
.wc-block-checkout .wc-block-checkout__form {
  counter-reset: al-step;
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step > .wc-block-components-checkout-step__heading-container .wc-block-components-checkout-step__title {
  display: flex;
  align-items: center;
  gap: var(--al-s-3);
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-components-checkout-step > .wc-block-components-checkout-step__heading-container .wc-block-components-checkout-step__title::before {
  content: counter(al-step);
  content: counter(al-step) / "";
  counter-increment: al-step;
  display: grid;
  flex: none;
  place-items: center;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 50%;
  background: var(--al-ink);
  color: var(--al-bg);
  font-size: var(--al-fs-sm);
  font-weight: 700;
  line-height: 1;
}

/* Labels above the fields. */
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-block-components-text-input,
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__container {
  display: flex;
  flex-direction: column;
  block-size: auto;
  line-height: var(--al-lh);
  white-space: normal;
}
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-block-components-text-input > label,
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__container > label,
.wc-block-checkout .al-pickup-point-host .al-pickup-point-field label {
  position: static;
  order: -1;
  max-inline-size: none;
  margin: 0 0 6px;
  transform: none;
  opacity: 1;
  color: var(--al-ink);
  font-size: var(--al-fs-sm);
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  cursor: default;
}
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-block-components-text-input :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"]),
.wd.wd.wd .wc-block-checkout .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__container > select {
  block-size: var(--wd-form-height);
  padding-block: 0;
}
.wc-block-checkout .wc-block-components-form .wc-blocks-components-select .wc-blocks-components-select__expand {
  inset-block: auto calc(var(--wd-form-height) / 2);
  transform: translateY(50%);
}

/* The quieter contact step. */
.wc-block-checkout .wc-block-checkout__contact-fields .wc-block-components-checkbox .wc-block-components-checkbox__label {
  color: var(--al-ink-3);
  font-size: var(--al-fs-xs);
  line-height: 1.45;
}
.wc-block-checkout .wc-block-checkout__contact-fields .wc-block-checkout__guest-checkout-notice {
  display: none;
}

/* The shipping rates and the payment methods: one framed list each, a
   hairline between the options, the chosen one on the tint with the edge
   (in place of the block's dark frame). */
.wc-block-checkout .wc-block-components-shipping-rates-control,
.wc-block-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
  overflow: clip;
  border: 1px solid var(--al-line);
  border-radius: var(--al-r-sm);
}
.wc-block-checkout .wc-block-components-radio-control--highlight-checked::after,
.wc-block-checkout .wc-block-components-radio-control :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option)::after {
  content: none;
}
.wd.wd.wd .wc-block-checkout .wc-block-components-radio-control :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) {
  border-radius: 0;
  box-shadow: none;
}
.wc-block-checkout .wc-block-components-radio-control :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) + :is(.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option) {
  border-block-start: 1px solid var(--al-line);
}
.wd.wd.wd .wc-block-checkout .wc-block-components-radio-control :is(label.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted),
.wc-block-checkout .al-pickup-point-host .al-pickup-point-field {
  position: relative;
  background: var(--al-orange-tint);
}
.wd.wd.wd .wc-block-checkout .wc-block-components-radio-control :is(label.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted)::before,
.wc-block-checkout .al-pickup-point-host .al-pickup-point-field::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  inline-size: 3px;
  background: var(--al-orange-edge);
}

/* AL Shipping's pickup point box, from 0.13.0, is the last thing in the
   address step: its own host div at the end of the shipping address block,
   where the city above it is the city its list is drawn for. It reads as
   the chosen rate's own panel — the tint and the orange edge above — and
   runs the full width of the card, past the address form's gaps. */
.wc-block-checkout .al-pickup-point-host .al-pickup-point-field {
  margin: var(--al-s-5) 0 0;
  padding: var(--al-s-4);
  border: 0;
  border-radius: var(--al-r-sm);
}

/* The rates themselves: the package and radio group wrappers are plain
   divs that step aside (display: contents), so the options are the
   control's own flex children and the tiles below can wrap. */
.wc-block-checkout .wc-block-components-shipping-rates-control {
  display: flex;
  flex-direction: column;
}
.wc-block-checkout .wc-block-components-shipping-rates-control :is(.wc-block-components-shipping-rates-control__package, .wc-block-components-radio-control) {
  display: contents;
}

/* "איך תרצו לקבל את ההזמנה?" (the rates step, moved up in al-checkout.php):
   from 600px the rates are tiles side by side, name over price over the
   "[…]" text, a hairline between them (the 1px gaps show the line colour).
   Tiles grow to fill each row, so four or five rates (heavy carts) wrap
   without holes. Narrower, the stacked list above stays. */
@container (min-width: 600px) {
  .wc-block-checkout .wc-block-components-shipping-rates-control {
    flex-flow: row wrap;
    gap: 1px;
    background: var(--al-line);
  }
  .wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option {
    flex: 1 1 180px;
    background: var(--al-bg);
  }
  .wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option + .wc-block-components-radio-control__option {
    border-block-start: 0;
  }
  .wc-block-checkout .wc-block-components-shipping-rates-control .wc-block-components-radio-control__label-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* "סוג הכתובת" above the city (al-checkout.js); "בית פרטי" hides
   apartment, floor and entrance. */
.wc-block-checkout .al-house-type {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--al-s-2) var(--al-s-5);
  margin: var(--al-s-3) 0 0; /* the fields' own top gap; the city keeps its own */
  padding: 0;
  border: 0;
  font-size: var(--al-fs-sm);
  color: var(--al-ink);
}
.wc-block-checkout .al-house-type legend { /* as the field labels */
  float: inline-start; /* lets the legend sit in the flex row's flow */
  inline-size: 100%;
  margin: 0 0 2px;
  padding: 0;
  border: 0;
  color: var(--al-ink);
  font-size: var(--al-fs-sm);
  font-weight: 600;
  line-height: 1.4;
}
.wc-block-checkout .al-house-type label {
  display: inline-flex;
  align-items: center;
  gap: var(--al-s-2);
  min-block-size: 24px; /* tap target (WCAG 2.5.8) */
  margin: 0;
  cursor: pointer;
}
.wc-block-checkout .al-house-type input {
  inline-size: 18px;
  block-size: 18px;
  margin: 0;
  accent-color: var(--al-ink);
}
.wd.wd.wd .wc-block-checkout .wc-block-components-form .al-house-private :is(.wc-block-components-address-form__al-shipping-apartment, .wc-block-components-address-form__al-shipping-floor, .wc-block-components-address-form__al-shipping-entrance) {
  display: none; /* beats "Labels above the fields" (display: flex) */
}
@container (min-width: 400px) { /* the phone keeps its own row, not beside the house number */
  .wc-block-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form.al-house-private .wc-block-components-address-form__phone {
    flex-basis: 100%;
  }
}

/* The order summary card: larger pictures and total. Below a 920px
   container the block folds the sidebar summary and also slots a second
   copy above the order button. The copy is hidden, so the sidebar one is
   the only summary on a phone and on a desktop. al-checkout.js opens the
   phone summary once; the block's own title still folds it. */
@container (max-width: 919.98px) { /* the stacked layout (WooCommerce 11.2) */
  .wc-block-checkout .wc-block-checkout__sidebar.wc-block-components-sidebar {
    padding-inline: 0 !important; /* Woodmart's 30px column gap, !important */
  }
  .wc-block-checkout .wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block :is(.wc-block-components-checkout-order-summary__title, .wc-block-components-totals-wrapper) {
    padding-inline: var(--al-s-4);
  }
  .wc-block-checkout .wc-block-checkout__sidebar.wp-block-woocommerce-checkout-totals-block :is(.wc-block-components-checkout-order-summary__title, .wc-block-components-checkout-order-summary__content) {
    border-block: 0;
  }
}
/* The second copy, slotted into the actions block above "שליחת הזמנה".
   WooCommerce hides it from 920px (the sidebar is the summary there) and
   shows it below that. Hide it at every width: one summary, the sidebar
   one. The doubled class beats a later single-class display. */
html body .wc-block-checkout .wc-block-checkout__actions .checkout-order-summary-block-fill-wrapper.checkout-order-summary-block-fill-wrapper {
  display: none;
}
@media (max-width: 949.98px), (min-width: 1025px) { /* not in the narrow column (stacked below a 920px container) */
  .wc-block-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
    inline-size: 64px;
  }
  .wc-block-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img {
    inline-size: 64px;
    max-inline-size: 64px;
  }
}
.wc-block-checkout :is(.wc-block-checkout__sidebar, .checkout-order-summary-block-fill) .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  color: var(--al-ink);
  font-size: var(--al-fs-h3);
  font-weight: 600;
}
.wc-block-checkout :is(.wc-block-checkout__sidebar, .checkout-order-summary-block-fill) .wc-block-components-totals-footer-item :is(.wc-block-components-totals-item__value, .wc-block-components-formatted-money-amount) {
  color: var(--al-price);
  font-size: var(--al-fs-h2);
  font-weight: 700;
}

/* Quantity in the order summary (al-checkout.js). One control under the
   line price: −, the number, +. Ink on white, the form radius. The order
   button stays the only orange action. The block's badge would show a
   second quantity, so it goes while the control is there. 16px in the
   field: below that, iOS zooms on focus. On a touch screen the row is a
   thumb high, as the cart stepper is. Decrease sits at the inline start
   (the right, in Hebrew), same order as the cart.
   --al-co-size is the row. Woodmart's button rule
   (:is(button, [type=button]) { min-height: var(--btn-height, 42px) })
   is beaten here with min-height: 0 and an explicit height, or the − / +
   and the × grow past the box. The marks are SVG, centred in the button. */
html body .wc-block-checkout .al-co-line {
  --al-co-size: 36px;
  display: inline-flex;
  align-items: center;
  gap: var(--al-s-2);
  max-inline-size: 100%;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-qty) .wc-block-components-order-summary-item__quantity {
  display: none;
}
/* The row is wider than the room between the photo and the line total on
   a phone (44px buttons; more so with the savings badge), and the
   summary's display: table then pushed the total past the card's edge.
   The line becomes a grid: photo | name, prices, delivery | total, and
   the − / number / + row also takes the total's column under it. The
   description's own box goes (display: contents), so its padding and gap
   are set on each line; the text sits where it did. */
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) .wc-block-components-order-summary-item__image {
  grid-column: 1;
  grid-row: 1 / span 9;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) .wc-block-components-order-summary-item__description {
  display: contents;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) .wc-block-components-order-summary-item__description > * {
  grid-column: 2;
  justify-self: start;
  margin-block-start: 4px;
  padding-inline: 24px 12px;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) .wc-block-components-order-summary-item__description > .al-co-line {
  grid-column: 2 / -1;
}
html body .wc-block-checkout .wc-block-components-order-summary-item:has(.al-co-line) .wc-block-components-order-summary-item__total-price {
  grid-column: 3;
  grid-row: 1 / span 2;
}
html body .wc-block-checkout .al-co-qty {
  display: inline-flex;
  align-items: stretch;
  block-size: var(--al-co-size);
  height: var(--al-co-size);
  min-block-size: 0;
  min-height: 0;
  max-inline-size: 100%;
  margin: 0;
  border: 1px solid var(--al-line);
  border-radius: var(--al-r-sm);
  background: var(--al-bg);
  color: var(--al-ink);
}
html body .wc-block-checkout .al-co-qty:focus-within {
  border-color: var(--al-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--al-focus) 34%, transparent);
}
html body .wc-block-checkout .al-co-qty :focus-visible,
html body .wc-block-checkout .al-co-remove:focus-visible {
  --wd-otl-style: none; /* Woodmart's outline is !important; the ring is on the group */
  outline: none;
}
html body .wc-block-checkout .al-co-qty .al-co-qty__btn,
html body .wc-block-checkout .al-co-remove {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  align-self: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--al-ink);
  font-size: 0;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  vertical-align: middle;
  min-inline-size: 0;
  min-block-size: 0;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
}
html body .wc-block-checkout .al-co-qty .al-co-qty__btn {
  inline-size: var(--al-co-size);
  width: var(--al-co-size);
  block-size: var(--al-co-size);
  height: var(--al-co-size);
}
html body .wc-block-checkout .al-co-qty .al-co-qty__btn:disabled,
html body .wc-block-checkout .al-co-remove:disabled {
  color: var(--al-ink-4);
  cursor: default;
}
html body .wc-block-checkout .al-co-qty .al-co-qty__btn svg,
html body .wc-block-checkout .al-co-remove svg {
  display: block;
  flex: none;
  inline-size: 14px;
  block-size: 14px;
  width: 14px;
  height: 14px;
}
html body .wc-block-checkout .al-co-qty .al-co-qty__input {
  box-sizing: border-box;
  flex: none;
  align-self: stretch;
  inline-size: 2.6em;
  min-inline-size: 0;
  min-width: 0;
  block-size: var(--al-co-size);
  height: var(--al-co-size);
  min-block-size: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--al-ink);
  font-family: inherit;
  font-size: 16px; /* literal, so a token cannot bring back the iOS zoom */
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: var(--al-co-size);
  text-align: center;
  vertical-align: middle;
  -moz-appearance: textfield;
  appearance: textfield;
}
html body .wc-block-checkout .al-co-qty .al-co-qty__input::-webkit-outer-spin-button,
html body .wc-block-checkout .al-co-qty .al-co-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* "הסרת פריט": the same square as the stepper, with no border of its own,
   so it does not read as a second, larger box. The × is the same drawn
   mark as − and +. In Hebrew it sits at the inline end (the left). */
html body .wc-block-checkout .al-co-remove {
  inline-size: var(--al-co-size);
  width: var(--al-co-size);
  block-size: var(--al-co-size);
  height: var(--al-co-size);
  color: var(--al-ink-2);
}
html body .wc-block-checkout .al-co-remove:focus-visible {
  border-radius: var(--al-r-sm);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--al-focus) 34%, transparent);
}
@media (hover: hover) {
  html body .wc-block-checkout .al-co-remove:hover {
    background: var(--al-surface);
    border-radius: var(--al-r-sm);
  }
}
@media (pointer: coarse) {
  html body .wc-block-checkout .al-co-line {
    --al-co-size: 44px;
  }
  html body .wc-block-checkout .al-co-qty .al-co-qty__btn svg,
  html body .wc-block-checkout .al-co-remove svg {
    inline-size: 16px;
    block-size: 16px;
    width: 16px;
    height: 16px;
  }
}

/* The last card: order note, terms, the order button and the lock line.
   They are siblings the block's script owns, with no wrapper of their own,
   so each is a slice of one card: the sides on every slice, the top on the
   note, the bottom and the shadow on the lock line. Margins become padding
   so the white runs through. The order-fields slice holds the consent
   checkbox. */
html body .wc-block-checkout .wc-block-checkout__form.wc-block-checkout__form > :is(.wc-block-checkout__order-notes, .wc-block-checkout__terms, .wc-block-checkout__order-fields, .wc-block-checkout__actions, .al-co-trust) {
  --al-co-pad: var(--al-s-6); /* beats Woodmart's "form > div[class]:not():not()" margins */
  margin: 0;
  padding-inline: var(--al-co-pad);
  border-inline: 1px solid var(--al-line);
  background: var(--al-bg);
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-checkout__order-notes {
  padding-block: var(--al-co-pad) var(--al-s-6);
  border-block-start: 1px solid var(--al-line);
  border-start-start-radius: var(--al-r-lg);
  border-start-end-radius: var(--al-r-lg);
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-checkout__terms {
  padding-block: var(--al-s-5);
}
.wc-block-checkout .wc-block-checkout__form > .wc-block-checkout__order-fields {
  display: flow-root; /* the checkbox's top margin stays inside, no seam */
  padding-block-end: var(--al-s-5);
}
.wc-block-checkout .wc-block-checkout__form > .al-co-trust {
  padding-block: var(--al-s-3) var(--al-co-pad);
  border-block-end: 1px solid var(--al-line);
  border-end-start-radius: var(--al-r-lg);
  border-end-end-radius: var(--al-r-lg);
  box-shadow: var(--al-sh-1);
}
@container (max-width: 519.98px) {
  .wc-block-checkout .wc-block-checkout__form > :is(.wc-block-checkout__order-notes, .wc-block-checkout__terms, .wc-block-checkout__order-fields, .wc-block-checkout__actions, .al-co-trust) {
    --al-co-pad: var(--al-s-4);
  }
}

/* Under the order button: the lock and "תשלום מאובטח". */
.wc-block-checkout .al-co-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--al-s-2);
  margin: var(--al-s-3) 0 0;
  color: var(--al-ink-2);
  font-size: var(--al-fs-sm);
}
.wc-block-checkout .al-co-trust::before {
  content: "";
  inline-size: 16px;
  block-size: 16px;
  background: currentColor;
  -webkit-mask: var(--al-lock) center / contain no-repeat;
  mask: var(--al-lock) center / contain no-repeat;
}
