/* cyhn shop — cart, checkout and order received (shared base: base.css; cards: cards.css).
   The default WooCommerce CSS is not loaded here: forms, payment methods, notices and tables
   are styled in this file. Sticky boxes use the fixed-header offset --header-offset
   (when defined on :root, e.g. in Customizer › Additional CSS). */

.cyw-commerce { --cyw-stick: calc(var(--header-offset, 0px) + 24px); }

/* ---------- Header: steps ---------- */
.cyw-chead { padding: 28px 0 30px; }
.cyw-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: none; }
.cyw-steps__i { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--cyw-muted); }
.cyw-steps__i + .cyw-steps__i::before { content: ""; width: 34px; height: 2px; background: var(--cyw-line); border-radius: 2px; margin-right: 2px; }
.cyw-steps__i.is-done + .cyw-steps__i::before { background: var(--cyw-leaf); }
.cyw-steps__i a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.cyw-steps__i a:hover .cyw-steps__t { text-decoration: underline; }
.cyw-steps__n { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 13.5px; background: var(--cyw-box); color: var(--cyw-muted); }
.cyw-steps__i.is-now { color: var(--cyw-ink); font-weight: 600; }
.cyw-steps__i.is-now .cyw-steps__n { background: var(--cyw-dark); color: var(--cyw-cream); }
.cyw-steps__i.is-done { color: var(--cyw-ink); }
.cyw-steps__i.is-done .cyw-steps__n { background: var(--cyw-leaf); color: var(--cyw-on-pri); }
.cyw-chead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cyw-chead__meta { margin: 0; color: var(--cyw-muted); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.cyw-chead__secure { color: var(--cyw-leaf); font-weight: 600; }
.cyw-cbody { padding-top: 40px; }

/* ---------- Shared: notices, buttons, fields ---------- */
.cyw-commerce .woocommerce-notices-wrapper:not(:empty) { margin-bottom: 18px; }
.cyw-commerce .woocommerce-message, .cyw-commerce .woocommerce-info, .cyw-commerce .woocommerce-error, .cyw-commerce .woocommerce-notice--error { list-style: none; margin: 0 0 12px; padding: 14px 18px; border-radius: 12px; background: var(--cyw-leaf-soft); color: var(--cyw-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 15px; }
.cyw-commerce .woocommerce-info { background: var(--cyw-white); border: 1px solid var(--cyw-line); }
.cyw-commerce .woocommerce-error, .cyw-commerce .woocommerce-notice--error { background: var(--cyw-red-soft); color: color-mix(in srgb, var(--cyw-red) 70%, #000); display: block; }
.cyw-commerce .woocommerce-error li + li { margin-top: 4px; }
.cyw-commerce .woocommerce-message a, .cyw-commerce .woocommerce-info a { color: var(--cyw-amber); font-weight: 700; }
.cyw-commerce .woocommerce-message .button, .cyw-commerce .woocommerce-info .button { order: 2; background: none; border: 0; padding: 0; color: var(--cyw-amber); font-weight: 700; text-decoration: underline; cursor: pointer; }
.cyw-commerce .button:not(.cyw-btn):not(.checkout-button):not(.wc-forward), .cyw-commerce button.button:not(.cyw-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--cyw-ink); color: var(--cyw-cream); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.cyw-commerce .button:not(.cyw-btn):hover { background: #000; color: var(--cyw-cream); }
.cyw-commerce .button:disabled, .cyw-commerce .button.disabled { opacity: .55; cursor: not-allowed; }
.cyw-commerce .cyw-btn { text-decoration: none; }

.cyw-commerce .input-text, .cyw-commerce input[type=text], .cyw-commerce input[type=email], .cyw-commerce input[type=tel], .cyw-commerce input[type=password], .cyw-commerce input[type=number], .cyw-commerce select, .cyw-commerce textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--cyw-line); border-radius: 10px; background: var(--cyw-white); color: var(--cyw-ink); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.cyw-commerce textarea { min-height: 96px; resize: vertical; }
.cyw-commerce .input-text:focus, .cyw-commerce select:focus, .cyw-commerce textarea:focus { outline: none; border-color: var(--cyw-amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cyw-amber) 18%, transparent); }
.cyw-commerce ::placeholder { color: var(--cyw-muted); }
.cyw-commerce .form-row { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cyw-commerce .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) { font-weight: 600; font-size: 14.5px; }
.cyw-commerce .form-row .required { color: var(--cyw-red); text-decoration: none; border: 0; }
.cyw-commerce .form-row .optional { color: var(--cyw-muted); font-weight: 400; font-size: 13px; }
.cyw-commerce .form-row .description { font-size: 13px; color: var(--cyw-muted); margin: 0; }
.cyw-commerce .woocommerce-input-wrapper { display: block; }
.cyw-commerce .form-row.woocommerce-invalid .input-text, .cyw-commerce .form-row.woocommerce-invalid select, .cyw-commerce .form-row.woocommerce-invalid .select2-selection { border-color: var(--cyw-red); }
.cyw-commerce .form-row.woocommerce-validated .input-text { border-color: color-mix(in srgb, var(--cyw-leaf) 50%, var(--cyw-white)); }
.cyw-commerce .checkout-inline-error-message { color: var(--cyw-red); font-size: 13.5px; margin: 2px 0 0; }
.cyw-commerce input[type=checkbox], .cyw-commerce input[type=radio] { width: 19px; height: 19px; accent-color: var(--cyw-amber); margin: 0; flex: none; }
.cyw-commerce .woocommerce-form__label-for-checkbox, .cyw-commerce label.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.cyw-commerce .woocommerce-form__label-for-checkbox input, .cyw-commerce label.checkbox input { margin-top: 2px; }

/* State / county picker (select2 / selectWoo) */
.cyw-commerce .select2-container { width: 100% !important; }
.cyw-commerce .select2-container .select2-selection--single { height: 48px; border: 1.5px solid var(--cyw-line); border-radius: 10px; background: var(--cyw-white); }
.cyw-commerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 45px; padding-left: 14px; color: var(--cyw-ink); }
.cyw-commerce .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 8px; }
.cyw-commerce .select2-container--open .select2-selection--single, .cyw-commerce .select2-container--focus .select2-selection--single { border-color: var(--cyw-amber); }
.select2-dropdown { border: 1.5px solid var(--cy-color-border, #e4ddcf); border-radius: 10px; overflow: hidden; }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--cy-color-primary, #2f3b2f) !important; }
.select2-search--dropdown .select2-search__field { border: 1px solid var(--cy-color-border, #e4ddcf); border-radius: 8px; padding: 8px; }

/* ---------- Cart ---------- */
.cyw-cart { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; }
.cyw-cart__main { min-width: 0; }
.cyw-cart__side { position: sticky; top: var(--cyw-stick); }
.cyw-cart .shop_table.cart, .cyw-cart .shop_table.cart tbody { display: block; width: 100%; border: 0; border-collapse: separate; }
.cyw-cart .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; grid-template-areas: "img name name rm" "img price qty sub"; gap: 6px 16px; align-items: center; background: var(--cyw-white); border-radius: var(--cyw-r); padding: 14px; margin-bottom: 12px; box-shadow: var(--cyw-shadow); }
.cyw-cart .shop_table.cart td { display: block; padding: 0; border: 0; }
.cyw-cart td.product-thumbnail { grid-area: img; align-self: start; }
.cyw-cart td.product-thumbnail img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--cyw-yellow-soft); }
.cyw-cart td.product-name { grid-area: name; font-size: 16px; line-height: 1.35; min-width: 0; }
.cyw-cart td.product-name > a { font-weight: 600; color: var(--cyw-ink); text-decoration: none; }
.cyw-cart td.product-name > a:hover { color: var(--cyw-amber); text-decoration: underline; }
.cyw-cart td.product-price { grid-area: price; color: var(--cyw-muted); font-size: 14px; }
.cyw-cart td.product-quantity { grid-area: qty; }
.cyw-cart td.product-subtotal { grid-area: sub; font-weight: 700; font-size: 17px; text-align: right; min-width: 90px; }
.cyw-cart td.product-remove { grid-area: rm; justify-self: end; align-self: start; }
.cyw-cart td.product-remove a.remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--cyw-muted); text-decoration: none; transition: background .15s, color .15s; }
.cyw-cart td.product-remove a.remove:hover { background: var(--cyw-red-soft); color: var(--cyw-red); }
.cyw-commerce dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 6px 0 0; font-size: 13.5px; color: var(--cyw-muted); }
.cyw-commerce dl.variation dt { font-weight: 600; margin: 0; }
.cyw-commerce dl.variation dd { margin: 0; }
.cyw-commerce dl.variation dd p { margin: 0; }
.cyw-commerce del { color: var(--cyw-muted); font-weight: 400; }
.cyw-commerce ins { text-decoration: none; }

/* Quantity: −/+ */
.cyw-cart .quantity { display: inline-flex; align-items: center; border: 1.5px solid var(--cyw-line); border-radius: 999px; background: var(--cyw-white); height: 44px; }
.cyw-cart .quantity input.qty { width: 40px; min-height: 0; height: 100%; padding: 0; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; box-shadow: none; }
.cyw-cart .quantity input.qty::-webkit-outer-spin-button, .cyw-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cyw-qty__btn { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 19px; border-radius: 999px; color: var(--cyw-ink); padding: 0; }
.cyw-qty__btn:hover { background: var(--cyw-box); }

/* Actions row: coupon, continue shopping; the update button is hidden (automatic) */
.cyw-cart tr.cyw-cart__actions-row { display: block; }
.cyw-cart td.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 4px; }
.cyw-coupon { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 0 16px; flex: 1 1 320px; max-width: 520px; box-shadow: var(--cyw-shadow); }
.cyw-coupon summary { display: flex; align-items: center; gap: 8px; min-height: 52px; cursor: pointer; font-weight: 600; list-style: none; }
.cyw-coupon summary::-webkit-details-marker { display: none; }
.cyw-coupon summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--cyw-muted); }
.cyw-coupon[open] summary::after { content: "−"; }
.cyw-coupon .coupon { display: flex; gap: 8px; padding-bottom: 14px; }
.cyw-coupon .coupon .input-text { flex: 1; min-width: 0; text-transform: uppercase; }
.cyw-coupon .coupon .cyw-btn { height: 48px; padding: 0 20px; font-size: 15px; flex: none; }
.cyw-cart__back { color: var(--cyw-amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.cyw-cart__back:hover { text-decoration: underline; }
.cyw-cart__update { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0 !important; border: 0 !important; }

/* Order summary (cart) and summary box (checkout) */
.cyw-sum-box, .cyw-co__sum { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 22px; box-shadow: var(--cyw-shadow); }
.cyw-sum-box__h { font-size: 22px; line-height: 1.25; margin: 0 0 14px; }
.cyw-commerce .shop_table:not(.cart) { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 15px; }
.cyw-commerce .shop_table:not(.cart) th, .cyw-commerce .shop_table:not(.cart) td { padding: 9px 0; border: 0; text-align: left; vertical-align: top; font-weight: 400; }
.cyw-commerce .shop_table:not(.cart) td { text-align: right; }
.cyw-commerce .shop_table:not(.cart) tr + tr th, .cyw-commerce .shop_table:not(.cart) tr + tr td { border-top: 1px solid var(--cyw-line); }
.cyw-commerce .shop_table .order-total th, .cyw-commerce .shop_table .order-total td { font-size: 19px; font-weight: 700; padding-top: 14px; }
.cyw-commerce .shop_table .order-total .includes_tax { display: block; font-size: 12.5px; font-weight: 400; color: var(--cyw-muted); }
.cyw-commerce .shop_table .cart-discount td, .cyw-commerce .shop_table .cart-discount th { color: var(--cyw-leaf); }
.cyw-commerce .woocommerce-remove-coupon { font-size: 13px; color: var(--cyw-muted); margin-left: 6px; }
/* Shipping methods */
.cyw-commerce tr.woocommerce-shipping-totals td { text-align: left; }
.cyw-commerce tr.woocommerce-shipping-totals th { width: 70px; }
.cyw-commerce #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cyw-commerce #shipping_method li { display: flex; align-items: center; gap: 8px; margin: 0; }
.cyw-commerce #shipping_method li label { cursor: pointer; }
.cyw-commerce #shipping_method li .amount { font-weight: 700; }
.cyw-commerce .woocommerce-shipping-destination { font-size: 13px; color: var(--cyw-muted); margin: 6px 0 0; }
.cyw-commerce .woocommerce-shipping-calculator { margin-top: 6px; }
.cyw-commerce .shipping-calculator-button { color: var(--cyw-amber); font-weight: 600; font-size: 14px; }
.cyw-commerce .shipping-calculator-form { display: grid; gap: 10px; margin-top: 10px; }
/* Free shipping bar */
.cyw-free { background: var(--cyw-box); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.cyw-free__msg { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.cyw-free__msg .cy-icon { color: var(--cyw-leaf); flex: none; }
.cyw-free__bar { height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--cyw-yellow) 22%, var(--cyw-white)); margin-top: 9px; overflow: hidden; }
.cyw-free__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyw-yellow), var(--cyw-yellow-d)); border-radius: 4px; transition: width .5s ease; }
.cyw-free.is-done .cyw-free__bar i { background: var(--cyw-leaf); }
/* Ship day, trust list */
.cyw-ship-day { display: flex; align-items: center; gap: 9px; margin: 12px 0 0; font-size: 14.5px; }
.cyw-ship-day .cy-icon { color: var(--cyw-leaf); flex: none; }
.cyw-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--cyw-line); display: grid; gap: 8px; font-size: 13.5px; color: var(--cyw-muted); }
.cyw-trust li { display: flex; align-items: center; gap: 8px; }
.cyw-trust .cy-icon { width: 18px; height: 18px; color: var(--cyw-leaf); flex: none; }
/* Proceed to checkout */
.cyw-commerce .wc-proceed-to-checkout { margin-top: 16px; }
.cyw-commerce .checkout-button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; border-radius: 999px; background: var(--cyw-amber); color: var(--cyw-on-pri); font-weight: 700; font-size: 17px; text-decoration: none; border: 0; transition: background .15s; }
.cyw-commerce .checkout-button:hover { background: var(--cyw-amber-h); color: var(--cyw-on-pri); }

/* Cross-sells, empty cart, grid */
.cyw-agrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cyw-agrid > li { display: flex; min-width: 0; }
.cyw-agrid .cyw-pcard { width: 100%; }
.cyw-commerce .cyw-pcard__im img { width: 100%; height: 100%; object-fit: cover; }
.cyw-cross { margin-top: 56px; }
.cyw-cross h2, .cyw-cart-pop h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 18px; }
.cyw-cart-empty__box { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 40px 28px; text-align: center; max-width: 640px; margin: 0 auto; box-shadow: var(--cyw-shadow); }
.cyw-cart-empty__ic { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cyw-box); color: var(--cyw-amber); }
.cyw-cart-empty__box h2 { font-size: 24px; margin: 16px 0 6px; }
.cyw-cart-empty__box p { margin: 0; color: var(--cyw-muted); }
.cyw-cart-empty__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cyw-cart-empty__cta .cyw-btn--ghost { height: 54px; }
.cyw-cart-pop { margin-top: 56px; }

/* Mobile cart bottom bar */
.cyw-cbar { display: none; }

/* ---------- Checkout ---------- */
.cyw-commerce .woocommerce-form-coupon-toggle .woocommerce-info, .cyw-commerce .woocommerce-form-login-toggle .woocommerce-info { justify-content: flex-start; gap: 6px; }
.cyw-commerce form.checkout_coupon, .cyw-commerce:not(.cyw-account) form.woocommerce-form-login { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 18px; margin: 0 0 16px; box-shadow: var(--cyw-shadow); display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.cyw-commerce form.checkout_coupon p:not(.form-row), .cyw-commerce:not(.cyw-account) form.woocommerce-form-login > p:first-child { flex-basis: 100%; margin: 0; color: var(--cyw-muted); font-size: 14.5px; }
.cyw-commerce form.checkout_coupon .form-row-first { flex: 1 1 220px; }
.cyw-commerce:not(.cyw-account) form.woocommerce-form-login .form-row { flex: 1 1 220px; }
.cyw-commerce:not(.cyw-account) form.woocommerce-form-login .form-row:not(.form-row-first):not(.form-row-last) { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
.cyw-commerce .lost_password { flex-basis: 100%; margin: 0; font-size: 14px; }
.cyw-commerce .clear { display: none; }

.cyw-co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.cyw-co__main { min-width: 0; display: grid; gap: 18px; }
.cyw-co__side { position: sticky; top: var(--cyw-stick); display: grid; gap: 0; }
/* WooCommerce prepends checkout errors to the form, i.e. into this grid: keep them full width on top so the columns don't shift. */
.cyw-co > .woocommerce-NoticeGroup { grid-column: 1 / -1; order: -2; min-width: 0; }
.cyw-co > .woocommerce-NoticeGroup > :last-child { margin-bottom: 0; }
.cyw-co__card { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 24px; box-shadow: var(--cyw-shadow); margin: 0; }
.cyw-co__h { display: flex; align-items: center; gap: 12px; font-size: 21px; line-height: 1.25; margin: 0 0 18px; }
.cyw-co__n { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--cyw-dark); color: var(--cyw-cream); font-size: 15px; font-weight: 700; flex: none; }
/* Fields: two-column grid (form-row-first / -last side by side) */
.cyw-co .woocommerce-billing-fields > h3, .cyw-co .woocommerce-additional-fields > h3 { display: none; }
.cyw-co .woocommerce-billing-fields__field-wrapper, .cyw-co .woocommerce-shipping-fields__field-wrapper, .cyw-co .woocommerce-additional-fields__field-wrapper, .cyw-co .woocommerce-account-fields .create-account { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cyw-co .form-row-wide, .cyw-co .form-row:not(.form-row-first):not(.form-row-last), .cyw-co #billing_address_2_field, .cyw-co #shipping_address_2_field { grid-column: 1 / -1; }
.cyw-co #billing_address_2_field label, .cyw-co #shipping_address_2_field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cyw-co .col-2 { margin-top: 18px; }
.cyw-co #ship-to-different-address { margin: 0 0 14px; font-size: 16px; }
.cyw-co #ship-to-different-address label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.cyw-co .shipping_address { padding-top: 4px; }
/* Delivery address first (invoice.php): contact, delivery address, optional billing section */
.cyw-co__sub { font-size: 17px; line-height: 1.3; margin: 22px 0 12px; }
.cyw-co__contact { margin-bottom: 4px; }
.cyw-co__billing { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--cyw-line); }
.cyw-co__differs { margin: 0; }
.cyw-co__differs label, .cyw-co .cyw-corp-toggle label { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.cyw-co__billing-fields .cyw-co__sub { margin-top: 14px; }
/* Corporate invoice: company and tax rows open with the checkbox */
.cyw-commerce .form-row.cyw-corp[hidden] { display: none !important; }
.cyw-commerce .cyw-corp-toggle .optional { display: none; }
/* Address book: checkout cards (address-book.php) */
.cyw-book { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.cyw-book__h { font-weight: 600; font-size: 14.5px; margin: 0 0 10px; padding: 0; }
.cyw-book__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cyw-book__card { position: relative; display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--cyw-line); border-radius: var(--cyw-r-sm); padding: 12px 14px; cursor: pointer; background: var(--cyw-white); font-size: 14px; line-height: 1.45; }
.cyw-book__card:has(input:checked) { border-color: var(--cyw-amber); box-shadow: 0 0 0 1px var(--cyw-amber); background: var(--cyw-paper); }
.cyw-book__card:has(input:focus-visible) { outline: 3px solid var(--cyw-amber); outline-offset: 2px; }
.cyw-book__card input { margin: 3px 0 0; accent-color: var(--cyw-amber); flex: none; }
.cyw-book__b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cyw-book__b b { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.cyw-book__b span { color: var(--cyw-muted); overflow-wrap: anywhere; }
.cyw-book__def, .cyw-abook__def { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--cyw-leaf-soft); color: var(--cyw-leaf); }
.cyw-book__card--new { align-items: center; color: var(--cyw-amber); }
.cyw-book__card--new .cyw-book__b b { color: var(--cyw-amber); }
.cyw-book__title { margin: 12px 0 0; }
.cyw-book__save { margin: 12px 0 0; }
/* Address book: My account › Addresses */
.cyw-abook__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; }
.cyw-abook__head p { margin: 0; color: var(--cyw-muted); max-width: 52ch; }
.cyw-abook__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cyw-abook__card { background: var(--cyw-white); border: 1.5px solid var(--cyw-line); border-radius: var(--cyw-r); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.cyw-abook__card.is-default { border-color: var(--cyw-amber); }
.cyw-abook__t { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.cyw-abook__a { margin: 0; color: var(--cyw-ink-2); font-size: 14.5px; line-height: 1.55; flex: 1; }
.cyw-abook__corp { white-space: pre-line; color: var(--cyw-muted); }
.cyw-abook__actions { display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--cyw-line); padding-top: 10px; }
.cyw-abook__actions form { margin: 0; }
.cyw-abook__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--cyw-ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.cyw-abook__btn:hover { background: var(--cyw-cream); color: var(--cyw-ink); }
.cyw-abook__btn--del { color: var(--cyw-red); }
.cyw-abook__h { font-size: 21px; margin: 0 0 16px; }
.cyw-abook__form .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cyw-abook__form .form-row-wide, .cyw-abook__form .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.cyw-abook__submit { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
@media (max-width: 600px) {
	.cyw-abook__form .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
}
.cyw-co .woocommerce-additional-fields { margin-top: 18px; }
.cyw-co .woocommerce-account-fields { margin-top: 14px; }
/* Payment methods */
.cyw-co #payment { background: none; }
.cyw-co .wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cyw-co .wc_payment_method { border: 1.5px solid var(--cyw-line); border-radius: 12px; padding: 14px 16px; background: var(--cyw-white); transition: border-color .15s, background .15s; }
.cyw-co .wc_payment_method:has(> input:checked) { border-color: var(--cyw-amber); background: var(--cyw-paper); }
.cyw-co .wc_payment_method > input { margin-right: 10px; vertical-align: middle; }
.cyw-co .wc_payment_method > label { font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cyw-co .wc_payment_method > label img { max-height: 24px; width: auto; }
.cyw-co .payment_box { margin: 10px 0 0; padding: 12px 14px; background: var(--cyw-cream); border-radius: 10px; font-size: 14.5px; color: var(--cyw-ink-2); }
.cyw-co .payment_box p:last-child { margin-bottom: 0; }
.cyw-co .payment_box fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.cyw-co .place-order { display: grid; gap: 12px; margin: 0; }
.cyw-co .woocommerce-terms-and-conditions-wrapper { font-size: 13.5px; color: var(--cyw-muted); }
.cyw-co .woocommerce-privacy-policy-text p { margin: 0 0 8px; }
.cyw-co .woocommerce-terms-and-conditions-wrapper a { color: var(--cyw-amber); }
.cyw-co .woocommerce-terms-and-conditions { max-height: 220px; overflow: auto; border: 1px solid var(--cyw-line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: var(--cyw-white); }
.cyw-co #place_order { width: 100%; min-height: 58px; border-radius: 999px; border: 0; background: var(--cyw-amber); color: var(--cyw-on-pri); font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; transition: background .15s; }
.cyw-co #place_order:hover { background: var(--cyw-amber-h); }
.cyw-co__secure { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: var(--cyw-muted); }
.cyw-co__secure .cy-icon { color: var(--cyw-leaf); flex: none; }
/* Summary: header row (toggles on mobile), item rows */
.cyw-co__sum-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: default; font-weight: 700; font-size: 19px; margin: 0 0 12px; }
.cyw-co__sum-h::-webkit-details-marker { display: none; }
.cyw-co__sum-t { display: inline-flex; align-items: center; gap: 8px; }
.cyw-co__sum-total { display: none; }
.cyw-co .woocommerce-checkout-review-order-table tbody td { padding: 10px 0; }
.cyw-co .woocommerce-checkout-review-order-table td.product-name { width: 100%; text-align: left; }
.cyw-ro { display: flex; align-items: center; gap: 12px; }
.cyw-co .woocommerce-checkout-review-order-table td.product-total { white-space: nowrap; font-weight: 600; }
.cyw-ro__im { position: relative; flex: none; width: 58px; height: 58px; }
.cyw-ro__im img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; display: block; background: var(--cyw-yellow-soft); }
.cyw-ro__q { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--cyw-dark); color: var(--cyw-cream); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cyw-ro__t { min-width: 0; font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.cyw-ro__t .product-quantity { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cyw-co .woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: var(--cyw-ink-2); }
.cyw-co__side .cyw-ship-day { padding: 0 6px; }
.cyw-co__side .cyw-trust { padding-left: 6px; padding-right: 6px; border-top: 0; }

/* ---------- Order received ---------- */
.cyw-ty { max-width: 860px; margin: 0 auto; }
.cyw-ty__box { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 34px 30px; box-shadow: var(--cyw-shadow); text-align: center; }
.cyw-ty__ok { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cyw-leaf); color: var(--cyw-on-pri); }
.cyw-ty__h { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin: 16px 0 6px; }
.cyw-ty__lead { margin: 0; color: var(--cyw-muted); }
.cyw-ty__facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; text-align: left; }
.cyw-ty__facts li { background: var(--cyw-box); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cyw-ty__facts span { font-size: 12.5px; color: var(--cyw-muted); text-transform: uppercase; letter-spacing: .06em; }
.cyw-ty__facts strong { font-size: 16px; overflow-wrap: anywhere; }
.cyw-ty .cyw-ship-day { justify-content: center; margin-top: 18px; }
.cyw-ty__next { list-style: none; margin: 22px auto 0; padding: 0; display: grid; gap: 8px; max-width: 460px; text-align: left; }
.cyw-ty__next li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.cyw-ty__next .cy-icon { color: var(--cyw-leaf); flex: none; }
.cyw-ty__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cyw-ty__cta .cyw-btn--ghost { height: 54px; }
.cyw-ty__box--failed { text-align: left; }
.cyw-ty__details { margin-top: 24px; display: grid; gap: 18px; }
.cyw-ty__details > section, .cyw-ty__details .woocommerce-order-details, .cyw-ty__details .woocommerce-customer-details { background: var(--cyw-white); border-radius: var(--cyw-r); padding: 22px; box-shadow: var(--cyw-shadow); margin: 0; }
.cyw-ty__details h2 { font-size: 20px; margin: 0 0 12px; }
.cyw-ty__details .woocommerce-table--order-details td.product-name { text-align: left; }
.cyw-ty__details .woocommerce-table--order-details td.product-name a { color: var(--cyw-ink); font-weight: 600; text-decoration: none; }
.cyw-ty__details .woocommerce-table--order-details td.product-name a:hover { color: var(--cyw-amber); }
.cyw-ty__details .woocommerce-table--order-details th.product-total { text-align: right; }
.cyw-ty__details .woocommerce-table--order-details thead th { padding-top: 0; font-size: 12.5px; color: var(--cyw-muted); text-transform: uppercase; letter-spacing: .06em; }
.cyw-ty__details .woocommerce-table--order-details tbody td { padding: 14px 0; }
.cyw-ty__details .woocommerce-table--order-details td.product-name .product-quantity { font-weight: 400; color: var(--cyw-muted); }
.cyw-ty__details .woocommerce-table--order-details td.product-total { white-space: nowrap; font-weight: 600; }
.cyw-ty__details .woocommerce-table--order-details tfoot th { color: var(--cyw-ink-2); }
/* Item meta (order details, My account › Order): label | value grid in a soft box instead of a bulleted list */
.cyw-commerce ul.wc-item-meta { list-style: none; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--cyw-box); display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; font-size: 14px; line-height: 1.45; }
.cyw-commerce ul.wc-item-meta li { display: contents; }
.cyw-commerce ul.wc-item-meta .wc-item-meta-label { font-weight: 400; color: var(--cyw-muted); float: none; margin: 0; }
.cyw-commerce ul.wc-item-meta p { margin: 0; color: var(--cyw-ink); overflow-wrap: break-word; }
.cyw-ty__details .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cyw-ty__details address { font-style: normal; line-height: 1.6; padding: 12px 14px; border-radius: 12px; background: var(--cyw-box); }
.cyw-ty__details address p { margin: 4px 0 0; }

/* ---------- Mobile ---------- */
@media (max-width: 1080px) {
	.cyw-agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cyw-cart { grid-template-columns: minmax(0, 1fr) 340px; }
	.cyw-co { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 900px) {
	.cyw-chead { padding: 14px 0 20px; }
	.cyw-steps { margin-bottom: 16px; }
	.cyw-steps__i + .cyw-steps__i::before { width: 16px; }
	.cyw-steps__i:not(.is-now) .cyw-steps__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cyw-cbody { padding-top: 24px; }
	.cyw-cart, .cyw-co { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.cyw-cart__side, .cyw-co__side { position: static; }
	.cyw-co__side { order: -1; }
	.cyw-co__sum-h { cursor: pointer; margin: 0; font-size: 16px; }
	.cyw-co__sum[open] .cyw-co__sum-h { margin-bottom: 12px; }
	.cyw-co__sum-total { display: block; }
	.cyw-co__sum-t::after { content: "▾"; font-size: 13px; transition: transform .2s; }
	.cyw-co__sum[open] .cyw-co__sum-t::after { transform: rotate(180deg); }
	.cyw-co__sum { padding: 14px 16px; }
	.cyw-co__side .cyw-ship-day, .cyw-co__side .cyw-trust { display: none; }
	.cyw-co__card { padding: 18px 16px; }
	.cyw-cart .shop_table.cart tr.cart_item { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img name rm" "img price price" "qty qty sub"; padding: 12px; }
	.cyw-cart td.product-thumbnail img { width: 76px; height: 76px; }
	.cyw-cart td.product-subtotal { align-self: center; }
	.cyw-agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.cyw-ty__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cyw-ty__details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
	.cyw-commerce ul.wc-item-meta { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.cyw-commerce ul.wc-item-meta .wc-item-meta-label { font-size: 12.5px; margin-top: 8px; }
	.cyw-commerce ul.wc-item-meta li:first-child .wc-item-meta-label { margin-top: 0; }
	.cyw-cbar { display: flex; position: fixed; left: 0; right: 0; bottom: env(safe-area-inset-bottom); z-index: 950; align-items: center; gap: 12px; padding: 10px var(--cyw-gutter); background: var(--cyw-dark); color: var(--cyw-cream); transform: translateY(130%); visibility: hidden; transition: transform .25s ease, visibility .25s; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); font-family: inherit; }
	.cyw-cbar.on { transform: none; visibility: visible; }
	.cyw-cbar__t { flex: 1; font-weight: 700; font-size: 18px; }
	.cyw-cbar__t .includes_tax { display: none; }
	.cyw-cbar .cyw-btn { height: 46px; padding: 0 18px; font-size: 15px; background: var(--cyw-yellow); color: var(--cyw-ink); }
}
@media (max-width: 560px) {
	.cyw-co .woocommerce-billing-fields__field-wrapper, .cyw-co .woocommerce-shipping-fields__field-wrapper, .cyw-co .woocommerce-additional-fields__field-wrapper { grid-template-columns: 1fr; }
	.cyw-coupon .coupon { flex-wrap: wrap; }
	.cyw-coupon .coupon .cyw-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.cyw-cbar, .cyw-free__bar i { transition: none !important; }
}
