/*
 * Корзина и оформление РЭМ СПОРТ — доски Cart-* и Checkout-* (1440 и 390).
 * Шаблоны темы page-cart.html и page-checkout.html (main.rs-cart-page), блоки WooCommerce и свои remsport/receipt,
 * remsport/summary-extra (assets/checkout.js). Штатные переключатель «Доставка / Самовывоз», список ставок,
 * пункты самовывоза, строка доставки и платёжный адрес скрыты: способ получения выбирает remsport/receipt.
 */

/* ---------- Страница ---------- */
.rs-cart-page { padding-top: 32px; padding-bottom: 72px; }
.rs-cart-page > * { margin-block: 0; }
.rs-cart-page > * + * { margin-block-start: 32px; }
.rs-cart-page .wp-block-woocommerce-cart,
.rs-cart-page .wp-block-woocommerce-checkout { margin: 0; padding: 0; }
.rs-cart-page__content > * { margin-block: 0; }

.rs-cart-head { gap: 16px; align-items: baseline !important; }
.rs-cart-head__title { max-width: none !important; margin: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 34px; line-height: 1.15; }
.rs-cart-count { margin: 0; font-size: 16px; color: var(--rs-muted); }
.rs-cart-page:has(.wp-block-woocommerce-empty-cart-block) .rs-cart-count { display: none; }

/* Полоса «Как проходит заказ» (паттерн order-steps): только названия шагов, первый — текущий. */
.rs-order-bar .rs-steps > summary, .rs-order-bar .rs-steps__terms { display: none; }
.rs-order-bar .rs-steps__list { margin: 0; padding: 16px 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 1px solid var(--rs-line); border-radius: 16px; }
.rs-order-bar .rs-steps__list li { align-items: center; gap: 12px; min-width: 0; }
.rs-order-bar .rs-steps__list li:not(:last-child)::after { content: ""; flex: 1; min-width: 16px; height: 2px; background: var(--rs-line); }
.rs-order-bar .rs-steps__list li:first-child::after { background: var(--rs-orange); }
.rs-order-bar .rs-steps__num { width: 32px; height: 32px; border: 1.5px solid var(--rs-line); background: transparent; color: var(--rs-muted); font-size: 15px; font-weight: 600; }
.rs-order-bar li:first-child .rs-steps__num { border-color: var(--rs-orange); background: var(--rs-orange); color: var(--rs-dark); font-weight: 700; }
.rs-order-bar .rs-steps__text { font-size: 0; }   /* пояснения шагов — только на странице товара */
.rs-order-bar .rs-steps__text b { font-size: 16px; font-weight: 500; color: var(--rs-muted); white-space: nowrap; }
.rs-order-bar li:first-child .rs-steps__text b { font-weight: 700; color: var(--rs-dark); }

/* Оформление: крошки, заголовок, полоса из 4 отрезков. */
.rs-checkout-page { padding-top: 24px; }
.rs-checkout-page > * + * { margin-block-start: 28px; }
.rs-checkout-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--rs-muted); }
.rs-checkout-crumbs li + li::before { content: "/"; margin-right: 8px; }
.rs-checkout-crumbs a { color: var(--rs-muted); }
.rs-checkout-crumbs [aria-current] { color: var(--rs-dark); }
.rs-checkout-back { display: none; }
.rs-checkout-page__title { max-width: var(--wp--style--global--content-size) !important; margin: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 700; font-size: 40px; line-height: 1.1; }
.rs-order-bar--checkout .rs-steps__list { padding: 0; gap: 12px; border: 0; border-radius: 0; }
.rs-order-bar--checkout .rs-steps__list li { flex-direction: row; flex-wrap: wrap; gap: 10px; align-items: center; }
.rs-order-bar--checkout .rs-steps__list li::before { content: ""; flex: 0 0 100%; height: 4px; border-radius: 2px; background: var(--rs-line); }
.rs-order-bar--checkout .rs-steps__list li:first-child::before { background: var(--rs-orange); }
.rs-order-bar--checkout .rs-steps__list li::after { display: none; }
.rs-order-bar--checkout .rs-steps__num { width: 28px; height: 28px; font-size: 14px; }
.rs-order-bar--checkout .rs-steps__text b { font-size: 15px; }

/* ---------- Раскладка: товары и итог ---------- */
.rs-cart-page .wc-block-components-sidebar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; margin: 0; }
.rs-checkout-page .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr) 440px; }
.rs-cart-page .wc-block-components-main,
.rs-cart-page .wc-block-components-sidebar { width: auto; margin: 0; padding: 0; }
.rs-cart-page .wc-block-components-sidebar-layout > .wc-block-components-notices,
.rs-cart-page .wc-block-components-sidebar-layout > .wc-block-store-notices { grid-column: 1 / -1; }

/* ---------- Корзина: строки ---------- */
.rs-cart-page table.wc-block-cart-items { display: block; width: 100%; margin: 0; border: 0; }
.rs-cart-page .wc-block-cart-items caption { display: none; }
.rs-cart-page .wc-block-cart-items thead,
.rs-cart-page .wc-block-cart-items tbody { display: block; }
.rs-cart-page .wc-block-cart table.wc-block-cart-items tr { display: grid; grid-template-columns: 112px minmax(0, 1fr) 128px 140px 44px; column-gap: 20px; align-items: start; border: 0; border-bottom: 1px solid var(--rs-line); }
.rs-cart-page .wc-block-cart-items th, .rs-cart-page .wc-block-cart-items td { display: block; padding: 0; border: 0; }
.rs-cart-page .wc-block-cart-items__header { padding: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rs-muted); }
.rs-cart-page .wc-block-cart-items__header th { font-size: inherit; font-weight: inherit; text-align: left; }
.rs-cart-page .wc-block-cart-items__header-image { grid-column: 1 / 3; }
.rs-cart-page .wc-block-cart-items__header-product { grid-column: 3; }
.rs-cart-page .wc-block-cart-items__header-product::after { content: "Количество"; }
.rs-cart-page .wc-block-cart-items__header-total { grid-column: 4; text-align: right !important; font-size: 0 !important; }
.rs-cart-page .wc-block-cart-items__header-total::after { content: "Сумма"; font-size: 13px; }
.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-rows: repeat(4, auto) 1fr; row-gap: 4px; padding: 24px 0; }
.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { grid-column: 1; grid-row: 1 / span 5; }
.rs-cart-page .wc-block-cart-item__image a { display: grid; place-items: center; width: 112px; height: 112px; border: 1px solid var(--rs-line); border-radius: 12px; background: #fff; }
.rs-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img { width: 96px; height: 96px; object-fit: contain; }
.rs-cart-page .wc-block-cart-items td.wc-block-cart-item__product,
.rs-cart-page .wc-block-cart-item__wrap,
.rs-cart-page .wc-block-cart-item__quantity { display: contents !important; }
.rs-cart-page .wc-block-cart-item__wrap > * { grid-column: 2; margin: 0; }
/* Перебивает table.wc-block-cart-items … .wc-block-components-product-name WooCommerce (14px, 500). */
.rs-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--rs-dark); text-decoration: none; }
.rs-cart-page .wc-block-cart-items__row .wc-block-components-product-name:hover { color: var(--rs-orange-text); }
.rs-cart-page .wc-block-cart-item__prices,
.rs-cart-page .wc-block-cart-item__prices .wc-block-components-product-price { font-size: 14px; color: var(--rs-muted); }
.rs-cart-page .wc-block-cart-item__prices .wc-block-components-product-price__value { color: inherit; font-weight: 400; }
.rs-cart-page .wc-block-cart-items__row .wc-block-components-product-metadata { font-size: 15px; color: var(--rs-muted); }
.rs-cart-page .wc-block-components-product-details { margin: 0; padding: 0; list-style: none; }
.rs-cart-page .wc-block-components-product-details__name { font-weight: 400; }
.rs-cart-page .wc-block-cart-items__row .wc-block-components-product-badge { order: 1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px; border: 0; border-radius: 8px; background: var(--rs-light); color: var(--rs-dark); font-size: 14px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.rs-cart-page .wc-block-components-product-backorder-badge::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--rs-orange-text);
	-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.rs-cart-page .wc-block-cart-items__row .wc-block-components-quantity-selector { grid-column: 3; grid-row: 1 / span 4; align-self: start; justify-self: start; display: flex; align-items: center; width: max-content; height: 48px; margin: 0; border: 1.5px solid var(--rs-line); border-radius: 10px; background: #fff; }
.rs-cart-page .wc-block-components-quantity-selector::after { display: none; }
.rs-cart-page .wc-block-components-quantity-selector__button { width: 44px; min-width: 44px; height: 100%; padding: 0; border: 0; background: transparent; color: var(--rs-dark); font: 500 20px var(--wp--preset--font-family--onest); opacity: 1; }
.rs-cart-page .wc-block-components-quantity-selector__button:disabled { color: var(--rs-line); }
.rs-cart-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { width: 34px; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; text-align: center; font: 600 16px var(--wp--preset--font-family--onest); color: var(--rs-dark); -moz-appearance: textfield; }
.rs-cart-page .wc-block-components-quantity-selector__input::-webkit-inner-spin-button,
.rs-cart-page .wc-block-components-quantity-selector__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link { grid-column: 5; grid-row: 1 / span 4; align-self: start; display: grid !important; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--rs-muted); cursor: pointer; }
.rs-cart-page .wc-block-cart-item__remove-link:hover { background: var(--rs-light); color: var(--rs-dark); }
.rs-cart-page .wc-block-cart-item__remove-link svg { width: 22px; height: 22px; fill: currentColor; }
.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 4; grid-row: 1 / span 4; align-self: start; padding-top: 8px !important; text-align: right; }
.rs-cart-page .wc-block-cart-item__total .wc-block-components-product-price { font-size: 20px; font-weight: 700; color: var(--rs-dark); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-cart-page .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }

/* ---------- Итог (корзина и оформление) ---------- */
.rs-cart-page .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.rs-cart-page .wc-block-checkout__sidebar { display: flex; flex-direction: column; gap: 20px; }
.rs-cart-page .wc-block-cart__sidebar { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 16px; background: var(--rs-light); }
.rs-cart-page .wc-block-cart__sidebar > *, .rs-cart-page .wp-block-woocommerce-cart-order-summary-block > * { margin: 0; }
.rs-cart-page .wc-block-cart__totals-title { margin: 0; padding: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 20px; line-height: 1.25; text-transform: none; letter-spacing: 0; color: var(--rs-dark); text-align: left; }
/* WooCommerce прячет «Сумма заказа» на узком экране; на доске Cart-Mobile заголовок есть. */
.rs-cart-page .wc-block-cart .wc-block-components-sidebar .wc-block-cart__totals-title { display: block; }
.rs-cart-page .wc-block-components-totals-wrapper { padding: 0; border: 0; }
.rs-cart-page .wc-block-components-totals-wrapper::after { display: none; }
.rs-cart-page .wc-block-components-totals-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 16px; margin: 0; padding: 0; }
.rs-cart-page .wc-block-components-totals-item__label { flex: 1 1 auto; font-size: 16px; }
.rs-cart-page .wc-block-components-totals-item__value { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-cart-page .wc-block-components-totals-item__description { flex: 0 0 100%; font-size: 14px; color: var(--rs-muted); }
.rs-cart-page .wp-block-woocommerce-cart-order-summary-totals-block,
.rs-cart-page .wp-block-woocommerce-checkout-order-summary-totals-block { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--rs-line); }
.rs-cart-page .wp-block-woocommerce-cart-order-summary-totals-block:empty { display: none; }
.rs-cart-page .wp-block-woocommerce-cart-order-summary-totals-block > :empty,
.rs-cart-page .wp-block-woocommerce-checkout-order-summary-totals-block > :empty { display: none; }

/* Штатные строки «Товары» и «Доставка» заменены своими (remsport/summary-extra). */
.rs-cart-page .wp-block-woocommerce-cart-order-summary-subtotal-block,
.rs-cart-page .wp-block-woocommerce-checkout-order-summary-subtotal-block,
.rs-cart-page .wp-block-woocommerce-cart-order-summary-shipping-block,
.rs-cart-page .wp-block-woocommerce-checkout-order-summary-shipping-block { display: none !important; }

/* Промокод: поле раскрыто, «Промокод» — подпись, а не кнопка. */
.rs-cart-page .wc-block-components-totals-coupon { margin: 0; padding: 0; border: 0; }
.rs-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button { display: block; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--rs-dark); pointer-events: none; cursor: default; }
.rs-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button svg,
.rs-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__button-icon { display: none; }
.rs-cart-page .wc-block-components-totals-coupon .wc-block-components-panel__content { padding: 0; }
.rs-cart-page .wc-block-components-totals-coupon__form { display: flex; gap: 8px; margin: 0; }
.rs-cart-page .wc-block-components-totals-coupon__input { flex: 1; min-width: 0; margin: 0 !important; }
.rs-cart-page .wc-block-components-totals-coupon__button { flex: none; height: 52px; min-height: 52px; padding: 0 20px; border: 1.5px solid var(--rs-dark); border-radius: 10px; background: #fff; color: var(--rs-dark); font: 600 16px var(--wp--preset--font-family--onest); }
.rs-cart-page .wc-block-components-totals-coupon__button:hover:not(:disabled) { background: var(--rs-dark); color: #fff; }
.rs-cart-page .wc-block-components-totals-coupon__button:disabled { opacity: 0.5; }
.rs-cart-page .wc-block-components-totals-discount__coupon-list .wc-block-components-chip__text,
.rs-cart-page .wc-block-components-totals-discount__coupon-list .wc-block-components-chip { text-transform: uppercase; }   /* код купона Store API отдаёт строчными */
.rs-coupon-hint { position: relative; margin: -12px 0 0 !important; padding: 12px 14px 12px 44px; border-radius: 10px; background: var(--rs-peach); color: var(--rs-dark); font-size: 14px; line-height: 1.45; }
.rs-coupon-hint::before { content: ""; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; background: var(--rs-orange-text);
	-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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13'/%3E%3Cpath d='M12 7C10.5 4 7 4 7 6s3 1 5 1zM12 7c1.5-3 5-3 5-1s-3 1-5 1z'/%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='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13'/%3E%3Cpath d='M12 7C10.5 4 7 4 7 6s3 1 5 1zM12 7c1.5-3 5-3 5-1s-3 1-5 1z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Поля ввода WooCommerce: подпись над полем (а не внутри), высота 52. */
.rs-cart-page .wc-block-components-text-input { display: flex; flex-direction: column; gap: 8px; margin: 0; position: relative; }
.rs-cart-page .wc-block-components-text-input label { order: -1; position: static; transform: none !important; margin: 0; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--rs-dark); white-space: normal; overflow: visible; max-width: none; }
.rs-cart-page .wc-block-components-totals-coupon__input label { position: absolute; left: 16px; top: 50%; transform: translateY(-50%) !important; font-size: 16px; font-weight: 400; color: var(--rs-muted); pointer-events: none; }
.rs-cart-page .wc-block-components-totals-coupon__input.is-active label { display: none; }
.rs-cart-page .wc-block-components-text-input input,
.rs-cart-page .wc-block-components-textarea,
.rs-cart-page .wc-blocks-components-select__select { width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 16px !important; border: 1.5px solid var(--rs-line) !important; border-radius: 10px !important; background: #fff; box-shadow: none !important; font: 400 16px var(--wp--preset--font-family--onest); color: var(--rs-dark); }
.rs-cart-page .wc-block-components-textarea { height: 112px; padding: 14px 16px !important; resize: vertical; }
.rs-cart-page .wc-block-components-text-input input:focus,
.rs-cart-page .wc-block-components-textarea:focus { border-color: var(--rs-dark) !important; outline: 2px solid var(--rs-orange); outline-offset: 1px; }
.rs-cart-page .wc-block-components-text-input.has-error input { border-color: #C62828 !important; }
.rs-cart-page .wc-block-components-validation-error { margin: 0; font-size: 13px; }
.rs-cart-page .wc-block-components-validation-error > p { margin: 0; }

/* Своя строка «Товары» и способ получения. */
.rs-sx { display: flex; flex-direction: column; gap: 12px; }
.rs-sx__goods .wc-block-components-totals-item__label { flex: 0 1 auto; }
.rs-sx__goods .wc-block-components-totals-item__value { display: flex; flex-direction: column; align-items: flex-end; }
.rs-sx__store { font-size: 14px; font-weight: 400; color: var(--rs-muted); white-space: nowrap; }
.rs-sx__row.wc-block-components-totals-item { flex-wrap: nowrap; align-items: baseline; gap: 12px; }
.rs-sx__row .wc-block-components-totals-item__label { flex: 1 1 auto; min-width: 0; font-size: 15px; }
.rs-sx__row .wc-block-components-totals-item__value { flex: 0 0 auto; max-width: 50%; font-size: 16px; font-weight: 600; white-space: normal; text-align: right; }
.rs-sx.is-busy, .rs-receipt.is-busy { opacity: 0.6; pointer-events: none; }
.rs-sx__receipt { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 8px 0 0; border: 0; }
.rs-sx__receipt legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 600; }
.rs-sx__option { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: #fff; cursor: pointer; }
.rs-sx__option.is-selected { border: 2px solid var(--rs-dark); padding: 13.5px 15.5px; }
.rs-sx__option.is-disabled { border: 1.5px dashed #CFC8C0; background: transparent; color: var(--rs-muted); cursor: default; }
.rs-sx__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rs-sx__text b { font-weight: 600; line-height: 1.35; }
.rs-sx__sub { font-size: 14px; color: var(--rs-muted); }
.rs-sx__value { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-sx__option.is-disabled .rs-sx__value { font-size: 14px; font-weight: 600; }
.rs-sx__min { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; color: var(--rs-muted); }
.rs-sx__min svg { flex: none; }
.rs-sx__warn { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--rs-orange); border-radius: 12px; background: #fff; }
.rs-sx__warn svg { flex: none; color: var(--rs-orange-text); }
.rs-sx__warn > span { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }
.rs-sx__warn b { font-variant-numeric: tabular-nums; }
.rs-sx__warn > span > b { font-size: 16px; }
.rs-sx__muted { color: var(--rs-muted); }

/* Радиокнопки своих блоков. */
.rs-radio { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rs-dark); }

/* «К оплате» / «Итого». */
.rs-cart-page .wc-block-components-totals-footer-item { padding-top: 20px; border-top: 1px solid var(--rs-line); align-items: baseline; }
.rs-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 18px; font-weight: 600; }
.rs-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 28px; font-weight: 700; }
.rs-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__description { display: none; }

/* Кнопки «Перейти к оформлению» и «Отправить заказ на подтверждение». */
.rs-cart-page .wc-block-cart__submit { margin: 0; }
.rs-cart-page .wc-block-cart__submit-container { padding: 0; }
/* Штатная кнопка-«липучка» на узком экране — над нижним меню телефона, на белой полосе. */
.rs-cart-page .wc-block-cart__submit-container--sticky { bottom: var(--rs-mobile-nav, 0px); padding: 10px 16px; background: #fff; box-shadow: 0 -1px 0 var(--rs-line); }
.rs-cart-page .wc-block-cart__submit-button,
.rs-cart-page .wc-block-components-checkout-place-order-button { display: flex; align-items: center; justify-content: center; width: 100%; height: 56px; min-height: 56px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--rs-orange); color: var(--rs-dark); font: 600 17px var(--wp--preset--font-family--onest); text-decoration: none; box-shadow: none; }
.rs-cart-page .wc-block-cart__submit-button:hover,
.rs-cart-page .wc-block-components-checkout-place-order-button:hover { background: #E57800; color: var(--rs-dark); }
.rs-terms-link { margin: 0 !important; font-size: 15px; font-weight: 600; }
.rs-terms-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--rs-orange-text); }
.wc-block-cart__sidebar .rs-terms-link { margin-top: -14px !important; text-align: center; }
.rs-cart-page .wc-block-cart__payment-options, .rs-cart-page .wc-block-cart__express-payment:empty { display: none; }

/* ---------- Оформление: разделы-карточки ---------- */
.rs-cart-page .wc-block-checkout__form { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }
.rs-cart-page .wc-block-checkout__form > * { flex: 1 1 100%; min-width: 0; margin: 0 !important; }
.rs-cart-page .wc-block-checkout__form > :empty { display: none; }
.rs-cart-page .wc-block-checkout__form > .wc-block-components-checkout-step { padding: 28px; border: 1px solid var(--rs-line); border-radius: 16px; background: #fff; }
.rs-cart-page .wc-block-components-checkout-step { position: static; margin: 0; }
.rs-cart-page .wc-block-components-checkout-step::after { display: none; }
.rs-cart-page .wc-block-components-checkout-step__heading-container { margin: 0 0 20px; }
.rs-cart-page .wc-block-components-checkout-step__heading { margin: 0 0 20px; }
.rs-cart-page .wc-block-components-checkout-step__heading-container .wc-block-components-checkout-step__heading { margin: 0; }
.rs-cart-page .wc-block-components-checkout-step__title { margin: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 20px; line-height: 1.3; }
.rs-cart-page .wc-block-components-checkout-step__description { display: none; }
.rs-cart-page .wc-block-components-checkout-step__content,
.rs-cart-page .wc-block-components-checkout-step__container { margin: 0; padding: 0; border: 0; }
.rs-cart-page .wc-block-components-checkout-step__container::after,
.rs-cart-page .wc-block-components-checkout-step__content::after { display: none; }

/* Штатный выбор доставки и самовывоза, платёжный адрес, страна (продаём только по России) — скрыты. */
.rs-cart-page .wc-block-checkout__shipping-method,
.rs-cart-page .wc-block-checkout__pickup-options,
.rs-cart-page .wc-block-checkout__shipping-option,
.rs-cart-page .wc-block-checkout__billing-fields,
.rs-cart-page .wc-block-checkout__use-address-for-billing,
.rs-cart-page .wc-block-components-address-form__country,
.rs-cart-page .wc-block-checkout__guest-checkout-notice { display: none !important; }

/* Контакты: Имя, Телефон, Почта — в ряд, как на доске; подсказка под телефоном. */
.rs-cart-page #contact.wc-block-components-address-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rs-cart-page #contact > * { margin: 0 !important; }
.rs-cart-page #contact .wc-block-components-address-form__remsport-name { order: 1; }
.rs-cart-page #contact .wc-block-components-address-form__remsport-phone { order: 2; }
.rs-cart-page #contact .wc-block-components-address-form__email { order: 3; }
.rs-cart-page #contact .wc-block-components-address-form__email label { font-size: 0; }
.rs-cart-page #contact .wc-block-components-address-form__email label::after { content: "Почта"; font-size: 14px; }
.rs-cart-page .wc-block-components-address-form__remsport-phone::after { content: var(--rs-phone-hint, none); order: 5; font-size: 13px; line-height: 1.4; color: var(--rs-muted); }   /* у поля WooCommerce line-height: 0 — без своей высоты строка налезала на «Почту» */
.rs-cart-page #contact .wc-block-components-checkbox { order: 4; grid-column: 1 / -1; }

/* Адрес доставки: одно поле «Адрес». */
.rs-cart-page .wc-block-components-address-form-wrapper .wc-block-components-address-form { display: flex; flex-direction: column; gap: 16px; }
.rs-cart-page .wc-block-components-address-form-wrapper .wc-block-components-address-form > * { margin: 0; }
.rs-cart-page .wc-block-components-address-card { padding: 14px 16px; border: 1.5px solid var(--rs-line); border-radius: 10px; }
.rs-cart-page .wc-block-components-address-card__edit { color: var(--rs-orange-text); font-weight: 600; }

/* Получение (remsport/receipt). */
.rs-receipt__list { display: flex; flex-direction: column; gap: 10px; }
.rs-receipt__option { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: #fff; }
label.rs-receipt__option { flex-direction: row; }
.rs-receipt__option.is-selected { padding: 15.5px 17.5px; border: 2px solid var(--rs-dark); }
.rs-receipt__option.is-disabled { border-style: dashed; background: var(--rs-light); color: var(--rs-muted); }
.rs-receipt__label { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; }
.rs-receipt__option.is-disabled.rs-receipt__label { cursor: default; }
.rs-receipt__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.45; }
.rs-receipt__sub { font-size: 14px; color: var(--rs-muted); }
.rs-receipt__sub--strong { font-weight: 600; color: var(--rs-dark); }
.rs-receipt__shops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; margin: 0 0 0 34px; padding: 0; border: 0; }
.rs-receipt__shop { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: #fff; cursor: pointer; }
.rs-receipt__shop.is-selected { padding: 13.5px 15.5px; border: 2px solid var(--rs-dark); }
.rs-receipt__shop .rs-receipt__text { gap: 4px; }
.rs-receipt__shop b { font-size: 16px; font-weight: 700; }
.rs-receipt__fact { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--rs-muted); }
.rs-receipt__fact svg { flex: none; margin-top: 3px; }
.rs-receipt__note { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 0 34px; padding: 14px 16px; border-radius: 12px; background: var(--rs-light); font-size: 15px; line-height: 1.45; }
.rs-receipt__note svg { flex: none; margin-top: 2px; color: var(--rs-orange-text); }

/* Оплата: карточки; «Оплата в магазине при получении» при доставке — неактивная карточка (штатно её нет в списке). */
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control { display: flex; flex-direction: column; gap: 10px; border: 0; box-shadow: none; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option,
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control__option { position: relative; margin: 0; border: 0; box-shadow: none; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { padding: 16px 18px; border: 1.5px solid var(--rs-line); border-radius: 12px; background: #fff; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option::after { display: none; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:has(input:checked) { padding: 15.5px 17.5px; border: 2px solid var(--rs-dark); }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control__option { padding: 0 0 0 34px; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control__input { left: 0; top: 2px; width: 20px; height: 20px; min-width: 20px; margin: 0; transform: none; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control__label { font-size: 16px; font-weight: 600; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content { padding: 2px 0 0 34px; font-size: 14px; color: var(--rs-muted); }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control::after { display: none; }
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control:not(:has(input[value="cod"]))::before,
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control:not(:has(input[value="cod"]))::after {
	display: block; position: static; order: 2; width: auto; height: auto; margin: 0; border: 1.5px dashed var(--rs-line); background: var(--rs-light); color: var(--rs-muted); pointer-events: none;
}
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control:not(:has(input[value="cod"]))::before {
	content: "Оплата в магазине при получении"; padding: 16px 18px 0 52px; border-bottom: 0; border-radius: 12px 12px 0 0; font-size: 16px; font-weight: 600; line-height: 1.45;
	background: var(--rs-light) radial-gradient(circle at 28px 27px, #fff 7.5px, #CFC8C0 8px, #CFC8C0 9.5px, transparent 10px) no-repeat;
}
.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control:not(:has(input[value="cod"]))::after {
	content: "Только при самовывозе"; order: 3; margin-top: -10px; padding: 2px 18px 16px 52px; border-top: 0; border-radius: 0 0 12px 12px; font-size: 14px; line-height: 1.45;
}

/* Комментарий: раскрыт сразу (checkout.js), флажок — заголовок раздела. */
.rs-cart-page .wc-block-checkout__order-notes .wc-block-components-checkbox { margin: 0 0 20px; pointer-events: none; }
.rs-cart-page .wc-block-checkout__order-notes .wc-block-components-checkbox__input,
.rs-cart-page .wc-block-checkout__order-notes .wc-block-components-checkbox__mark { display: none; }
.rs-cart-page .wc-block-checkout__order-notes .wc-block-components-checkbox__label { margin: 0; padding: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 20px; line-height: 1.3; }
.rs-cart-page .wc-block-checkout__add-note { margin: 0; }
.rs-cart-page .wc-block-checkout__add-note .wc-block-components-textarea { margin: 0; }

/* Согласие, кнопка, «Скоро позвоним…», «Условия заказа». */
.rs-cart-page .wc-block-checkout__terms { margin: 4px 0 0 !important; padding: 0; border: 0; font-size: 15px; line-height: 1.45; }
.rs-cart-page .wc-block-checkout__terms::before { display: none; }
.rs-cart-page .wc-block-checkout__terms a { color: var(--rs-orange-text); }
.rs-cart-page .wc-block-components-checkbox { margin: 0; }
.rs-cart-page .wc-block-components-checkbox label { display: flex; align-items: flex-start; gap: 12px; }
.rs-cart-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { flex: none; width: 20px; height: 20px; min-width: 20px; margin: 1px 0 0; border: 1.5px solid var(--rs-dark); border-radius: 4px; }
.rs-cart-page .wc-block-components-checkbox .wc-block-components-checkbox__label { margin: 0; }
.rs-cart-page .wc-block-checkout__actions { flex: 0 0 auto !important; margin: 0 !important; padding: 0; }
.rs-cart-page .wc-block-checkout__actions_row { display: block; }
.rs-cart-page .wc-block-checkout__actions .wc-block-components-checkout-place-order-button { width: auto; padding: 0 32px; }
.rs-checkout-note { flex: 1 1 280px !important; align-self: center; font-size: 14px; line-height: 1.45; color: var(--rs-muted); }
.wc-block-checkout__form .rs-terms-link { margin-top: -12px !important; }

/* Ваш заказ: «Изменить», строки, итог. */
.rs-cart-page .wc-block-checkout__sidebar { position: static; top: auto; padding: 28px; border-radius: 16px; background: var(--rs-light); }
.rs-cart-page .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { position: relative; margin: 0; border: 0; }
.rs-cart-page .wc-block-components-checkout-order-summary__title { margin: 0 0 18px; padding: 0; border: 0; }
.rs-cart-page .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text { margin: 0; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 20px; line-height: 1.3; }
.rs-cart-page .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-price,
.rs-cart-page .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title-icon { display: none; }
.rs-cart-page .wc-block-components-checkout-order-summary__content-container { display: flex; flex-direction: column; gap: 18px; }
.rs-cart-page .wc-block-components-checkout-order-summary__content-container > * { margin: 0 !important; }
.rs-edit-cart { position: absolute; top: 2px; right: 0; margin: 0 !important; font-size: 15px; font-weight: 600; }
.rs-edit-cart a { color: var(--rs-orange-text); }
.rs-cart-page .wc-block-components-order-summary { padding: 0; }
.rs-cart-page .wc-block-components-order-summary__content { display: flex; flex-direction: column; gap: 16px; }
.rs-cart-page .wc-block-components-order-summary-item { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--rs-line); }
.rs-cart-page .wc-block-components-order-summary-item__image { flex: none; position: relative; box-sizing: border-box; width: 64px; padding: 4px; border-radius: 10px; background: #fff; }
.rs-cart-page .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img { display: block; width: 56px; max-width: none; height: 56px; object-fit: contain; }
.rs-cart-page .wc-block-components-order-summary-item__quantity { top: -8px; right: -8px; transform: none; min-width: 22px; height: 22px; border: 0; border-radius: 11px; background: var(--rs-dark); color: #fff; font-size: 12px; font-weight: 700; box-shadow: none; }
.rs-cart-page .wc-block-components-order-summary-item__description { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 0; }
.rs-cart-page .wc-block-components-order-summary-item__description .wc-block-components-product-name { margin: 0; font-family: var(--wp--preset--font-family--onest); font-size: 15px; font-weight: 600; line-height: 1.35; }
.rs-cart-page .wc-block-components-order-summary-item__description .wc-block-cart-item__prices,
.rs-cart-page .wc-block-components-order-summary-item__description .wc-block-components-product-price { font-size: 13px; color: var(--rs-muted); }
.rs-cart-page .wc-block-components-order-summary-item__individual-price { font-weight: 400; color: inherit; }
.rs-cart-page .wc-block-components-order-summary-item__description .wc-block-components-product-metadata { font-size: 14px; color: var(--rs-muted); }
.rs-cart-page .wc-block-components-order-summary-item__description .wc-block-components-product-badge { align-self: flex-start; padding: 2px 0 0; border: 0; background: none; color: var(--rs-orange-text); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.rs-cart-page .wc-block-components-order-summary-item__total-price { flex: none; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rs-cart-page .wc-block-checkout__sidebar .wc-block-components-totals-footer-item { padding-top: 14px; }
.rs-checkout-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 700; }   /* «Итого» на доске оформления — 700, «К оплате» в корзине — 600 */
.rs-cart-page .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-totals-block { padding-top: 0; border-top: 0; }

/* ---------- Пустая корзина ---------- */
.rs-cart-page .wp-block-woocommerce-empty-cart-block { padding: 40px 0; }
.rs-cart-empty__title { margin: 0 0 24px; font-family: var(--wp--preset--font-family--unbounded); font-weight: 600; font-size: 24px; }
.rs-cart-empty__title::before { display: none !important; }

/* ---------- Телефон (доски *-Mobile, 390) ---------- */
@media (max-width: 1100px) {
	.rs-cart-page .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
	.rs-order-bar .rs-steps__text b { white-space: normal; }
}
@media (max-width: 900px) {
	.rs-cart-page .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr); }
	/* Узкая раскладка WooCommerce (не is-large): «Ваш заказ» штатно переносится в форму к кнопке, верхняя свёрнутая плашка не нужна. */
	.rs-checkout-page .wc-block-checkout__sidebar:not(.is-large) { display: none; }
}
@media (max-width: 781px) {
	.rs-cart-page { padding-top: 16px; padding-bottom: 40px; }
	.rs-cart-page > * + * { margin-block-start: 20px; }
	.rs-cart-head { gap: 12px; }
	.rs-cart-head__title { font-size: 24px; line-height: 1.2; }
	.rs-cart-count { font-size: 15px; }

	.rs-order-bar .rs-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border-radius: 14px; }
	.rs-order-bar .rs-steps__list li { gap: 10px; }
	.rs-order-bar .rs-steps__list li::after { display: none; }
	.rs-order-bar .rs-steps__num { width: 28px; height: 28px; font-size: 14px; }
	.rs-order-bar .rs-steps__text b { font-size: 14px; line-height: 1.3; white-space: normal; }

	.rs-checkout-page { padding-top: 8px; }
	.rs-checkout-page > * + * { margin-block-start: 16px; }
	.rs-checkout-crumbs { display: none; }
	.rs-checkout-back { display: inline-flex; align-items: center; gap: 6px; height: 44px; font-size: 15px; font-weight: 600; color: var(--rs-orange-text); text-decoration: none; }
	.rs-checkout-back::before { content: "‹"; font-size: 22px; line-height: 1; }
	.rs-checkout-page__title { font-size: 24px; line-height: 1.15; }
	.rs-order-bar--checkout .rs-steps__list { grid-template-columns: 1fr; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--rs-light); }
	.rs-order-bar--checkout .rs-steps__list li::before { display: none; }
	.rs-order-bar--checkout .rs-steps__list li { gap: 12px; }
	.rs-order-bar--checkout .rs-steps__num { border: 0; background: #fff; }
	.rs-order-bar--checkout .rs-steps__text b { font-size: 15px; }

	/* Строки корзины — карточки. */
	.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header { display: none; }
	.rs-cart-page .wc-block-cart-items tbody { display: flex; flex-direction: column; gap: 12px; }
	.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr) 44px; grid-template-rows: none; column-gap: 12px; row-gap: 2px; padding: 14px; border: 1px solid var(--rs-line); border-radius: 14px; }
	.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image { grid-row: 1 / span 3; }
	.rs-cart-page .wc-block-cart-item__image a { width: 72px; height: 72px; border: 0; }
	.rs-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img { width: 72px; height: 72px; }
	.rs-cart-page .wc-block-cart-item__wrap > * { grid-column: 2; }
	.rs-cart-page table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name { grid-column: 2; font-size: 16px; line-height: 1.3; }
	.rs-cart-page .wc-block-cart-item__prices .wc-block-components-product-price { font-size: 13px; }   /* «N ₽ · в магазине M ₽» в одну строку */
	.rs-cart-page .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { width: 32px; }
	.rs-cart-page .wc-block-cart-items__row .wc-block-components-product-metadata { font-size: 14px; }
	.rs-cart-page .wc-block-cart-items__row .wc-block-components-product-badge { grid-column: 1 / -1; margin-top: 8px; }
	.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__remove-link { grid-column: 3; grid-row: 1 / span 2; margin: -8px -8px 0 0; }
	.rs-cart-page .wc-block-cart-items__row .wc-block-components-quantity-selector { grid-column: 1 / 3; grid-row: 10; height: 44px; margin-top: 10px; }
	.rs-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 2 / 4; grid-row: 10; align-self: center; margin-top: 10px; padding-top: 0 !important; }
	.rs-cart-page .wc-block-cart-item__total .wc-block-components-product-price { font-size: 18px; }

	.rs-cart-page .wc-block-cart__sidebar { gap: 18px; padding: 18px; border-radius: 14px; }
	.rs-cart-page .wc-block-cart .wp-block-woocommerce-cart-order-summary-block { border-bottom: 0; }
	.rs-cart-page .wc-block-cart__totals-title { font-size: 18px; }
	.rs-cart-page .wc-block-components-totals-coupon__button { height: 48px; min-height: 48px; padding: 0 16px; font-size: 15px; }
	.rs-cart-page .wc-block-components-text-input input, .rs-cart-page .wc-blocks-components-select__select { height: 48px; min-height: 48px; padding: 0 14px !important; }
	.rs-coupon-hint { padding: 12px 12px 12px 42px; }
	.rs-coupon-hint::before { left: 12px; }
	.rs-sx__option { gap: 10px; padding: 12px 14px; }
	.rs-sx__option.is-selected { padding: 11.5px 13.5px; }
	.rs-sx__text b, .rs-sx__value { font-size: 15px; }
	.rs-sx__sub, .rs-sx__min { font-size: 13px; }
	.rs-sx__warn { padding: 14px; }
	.rs-sx__warn > span { font-size: 14px; }
	.rs-sx__warn > span > b { font-size: 15px; }
	.rs-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 17px; }
	.rs-cart-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 24px; }
	.rs-cart-page .wc-block-cart__submit-button { height: 52px; min-height: 52px; font-size: 16px; }

	/* Оформление. */
	.rs-cart-page .wc-block-checkout__form { gap: 16px; }
	.rs-cart-page .wc-block-checkout__form > .wc-block-components-checkout-step { padding: 16px; border-radius: 14px; }
	.rs-cart-page .wc-block-components-checkout-step__heading-container, .rs-cart-page .wc-block-components-checkout-step__heading { margin-bottom: 14px; }
	.rs-cart-page .wc-block-components-checkout-step__title, .rs-cart-page .wc-block-checkout__order-notes .wc-block-components-checkbox__label { font-size: 18px; }
	.rs-cart-page #contact.wc-block-components-address-form { grid-template-columns: 1fr; gap: 14px; }
	.rs-cart-page .wc-block-components-text-input { gap: 6px; }
	.rs-receipt__list { gap: 8px; }
	.rs-receipt__option { padding: 14px; }
	.rs-receipt__option.is-selected { padding: 13.5px; }
	.rs-receipt__label { gap: 12px; }
	.rs-receipt__text { font-size: 15px; line-height: 1.4; }
	.rs-receipt__shops { grid-template-columns: 1fr; margin-left: 0; }
	.rs-receipt__note { margin-left: 0; font-size: 14px; }
	.rs-cart-page .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option { padding: 14px; }
	/* Порядок низа формы как на доске Checkout-Mobile: комментарий → «Ваш заказ» → согласие → кнопка → «Условия заказа» → пояснение (оба по центру). */
	.rs-cart-page .wc-block-checkout__actions { display: contents; }
	.rs-cart-page .wc-block-checkout__actions > :not(.wc-block-components-notices__snackbar) { flex: 1 1 100%; min-width: 0; order: 3; }
	.rs-cart-page .wc-block-checkout__actions > :has(> .checkout-order-summary-block-fill-wrapper) { order: 1; }
	.rs-cart-page .wc-block-checkout__terms { order: 2; }
	.wc-block-checkout__form .rs-terms-link { order: 4; text-align: center; }
	.rs-checkout-note { order: 5; text-align: center; }
	.rs-cart-page .wc-block-checkout__actions .wc-block-components-checkout-place-order-button { width: 100%; height: 56px; min-height: 56px; font-size: 16px; }
	.rs-checkout-note { flex-basis: 100% !important; }

	/* «Ваш заказ» в форме перед кнопкой (штатный перенос WooCommerce на узком экране). */
	.rs-cart-page .checkout-order-summary-block-fill-wrapper:not(.is-content-inline) { position: relative; padding: 16px; border-radius: 14px; background: var(--rs-light); }
	.rs-cart-page .checkout-order-summary-block-fill-wrapper .rs-edit-cart { top: 14px; right: 16px; }
	.rs-cart-page .checkout-order-summary-block-fill { border: 0; border-radius: 0; }
	.rs-cart-page .checkout-order-summary-block-fill-wrapper .wc-block-components-checkout-step__heading { margin: 0 0 14px; }
	.rs-cart-page .checkout-order-summary-block-fill-wrapper .wc-block-components-totals-footer-item { padding-top: 14px; }
	.rs-cart-page .checkout-order-summary-block-fill-wrapper .wp-block-woocommerce-checkout-order-summary-totals-block { padding-top: 0; border-top: 0; }
	.rs-cart-page .checkout-order-summary-block-fill-wrapper .wc-block-components-checkout-step__title { font-size: 18px; }
	/* WooCommerce даёт товарам, промокоду и строкам итога в этой плашке поля 0 16px — на доске их нет. */
	.rs-cart-page .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-order-summary,
	.rs-cart-page .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-totals-coupon,
	.rs-cart-page .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-totals-item { padding-left: 0; padding-right: 0; }
}
