/* copierrental theme — component styles ported from prototype/site.css.
   Colours and fonts come from theme.json presets; the short aliases below keep the port readable. */
:root {
  --blue: var(--wp--preset--color--blue); --blue-d: var(--wp--preset--color--blue-dark);
  --blue-50: var(--wp--preset--color--blue-50); --blue-100: #e3f0ff;
  --navy: var(--wp--preset--color--navy); --deep: var(--wp--preset--color--deep);
  --ink: var(--wp--preset--color--ink); --muted: var(--wp--preset--color--muted);
  --line: var(--wp--preset--color--line); --soft: var(--wp--preset--color--soft);
  --green: var(--wp--preset--color--green); --amber: var(--wp--preset--color--amber);
  --red: var(--wp--preset--color--red);
  --r: 8px; --r-lg: 12px;
  --shadow: 0 1px 2px rgba(1, 31, 59, .05), 0 6px 18px rgba(1, 31, 59, .06);
  --font-h: var(--wp--preset--font-family--heading);
  --gutter: 16px;

  /* line icons (Feather, MIT) used as CSS masks so they inherit currentColor */
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 5L2 7'/%3E%3C/svg%3E");
  --i-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E");
  --i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
  --i-bank: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 22h18M6 18v-7M10 18v-7M14 18v-7M18 18v-7M12 2l9 5H3z'/%3E%3C/svg%3E");
  --i-headset: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E");
  --i-printer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V2h12v7'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  --i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
:where(a, button, input, select):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cr-main { min-height: 50vh; margin-top: 0 !important; }
.cr-main > :first-child, .wp-site-blocks > * { margin-block-start: 0; }
.cr-page { padding: 0 var(--gutter) 40px; }
.cr-topbar, .cr-header { padding-inline: var(--gutter); }
/* Woo blocks default to wide/full alignment; keep them on the 948px content column */
.cr-page > .cr-crumbs, .cr-page > .cr-tabs { max-width: var(--wp--style--global--content-size); margin-inline: auto !important; width: 100%; }
.cr-lead { color: var(--muted); }

/* ---------- environment strip (non-production only, see functions.php) ---------- */
.cr-env { background: #ffd84d; color: #3b2f00; font: 700 11px/1 var(--wp--preset--font-family--body); letter-spacing: .07em; text-transform: uppercase; text-align: center; padding: 5px 8px; }

/* ---------- icons ---------- */
.cr-ic { position: relative; padding-left: 23px; }
.cr-ic::before { content: ""; position: absolute; left: 0; top: .2em; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.cr-ic--phone { --icon: var(--i-phone); } .cr-ic--mail { --icon: var(--i-mail); } .cr-ic--truck { --icon: var(--i-truck); }
.cr-ic--shield { --icon: var(--i-shield); } .cr-ic--bank { --icon: var(--i-bank); } .cr-ic--headset { --icon: var(--i-headset); }

/* ---------- top bar + header ---------- */
.cr-topbar { background: var(--blue); color: #fff; font-size: 12px; }
.cr-topbar__row { gap: 22px !important; min-height: 31px; }
.cr-topbar p { margin: 0; }
.cr-topbar a { color: #fff; }
.cr-topbar .cr-ic { padding-left: 19px; }
.cr-topbar .cr-ic::before { width: 13px; height: 13px; top: .15em; }
.cr-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.cr-header__row { min-height: 74px; gap: 24px !important; }
.cr-logo { gap: 9px !important; flex: none; }
.cr-logo__mark { width: 44px; height: 40px; border-radius: 9px; background: var(--blue); position: relative; flex: none; }
.cr-logo__mark::after { content: ""; position: absolute; inset: 7px 9px; background: #fff; -webkit-mask: var(--i-printer) center / contain no-repeat; mask: var(--i-printer) center / contain no-repeat; }
.cr-logo__text > * { margin: 0 !important; }
.cr-logo .wp-block-site-title { font-family: var(--font-h); font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.cr-logo .wp-block-site-title a { color: var(--navy); }
.cr-logo .wp-block-site-tagline { font-size: 10px; color: var(--muted); margin-top: 3px !important; letter-spacing: .02em; white-space: nowrap; }
.cr-nav { font-size: 13px; font-weight: 500; gap: 20px !important; }
.cr-nav a { color: var(--ink); }
.cr-nav .current-menu-item > a, .cr-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.cr-search { margin-left: auto; width: 236px; flex: none; }
.cr-search .wc-block-product-search__fields { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; height: 38px; }
.cr-search input { border: 0 !important; font-size: 12.5px; padding: 0 12px !important; }
.cr-search button { background: var(--blue) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; width: 40px; }
.cr-icons { gap: 6px !important; color: var(--navy); flex: none; }
.cr-icons .wc-block-mini-cart__button { color: var(--navy); }

/* ---------- buttons ---------- */
.wp-element-button, .wp-block-button__link, .wc-block-components-button:not(.is-link) { border-radius: 6px; font-weight: 600; transition: background-color .15s, box-shadow .15s; }
.wp-element-button:hover, .wp-block-button__link:hover { background: var(--blue-d); text-decoration: none; }
.is-style-outline .wp-block-button__link { border: 1.5px solid var(--blue); color: var(--blue); background: #fff; }
.is-style-outline .wp-block-button__link:hover { background: var(--blue-50); }

/* ---------- home ---------- */
.cr-hero { background: linear-gradient(180deg, var(--blue-50), #fff); border-bottom: 1px solid #dceafb; padding: 40px var(--gutter) 34px; }
.cr-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: var(--blue); margin: 0 0 10px; }
.cr-hero__title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.015em; margin: 0; }
.cr-accent { color: var(--blue); }
.cr-hero__lead { color: var(--muted); font-size: 15px; max-width: 46ch; }
.cr-hero__img img { width: 100%; height: auto; }
.cr-section { padding: 30px var(--gutter) 10px; }
.cr-cats { gap: 14px !important; }
.cr-cat__link { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.cr-cat__link:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cr-cat__link img { height: 70px; width: auto; max-width: 80%; object-fit: contain; margin-bottom: 6px; }
.cr-cat__link b { font-family: var(--font-h); color: var(--navy); font-size: 14.5px; }
.cr-cat__link span { font-size: 12px; color: var(--muted); }
.cr-cats { margin-bottom: 0 !important; }
.cr-section__head { margin-block: 36px 14px !important; }
.cr-section__head h2 { margin: 0; }
.cr-section__head p { margin: 0; font-weight: 600; }
.cr-banner { background: var(--navy); color: #c9d6e6; border-radius: var(--r-lg); padding: 22px 24px; margin: 30px 0 20px; gap: 16px; }
.cr-banner h3 { color: #fff; margin: 0 0 4px; }
.cr-banner p { margin: 0; font-size: 13.5px; }
.cr-trust { gap: 14px !important; margin: 0 0 30px; }
.cr-trust p { font-size: 12.5px; color: var(--muted); margin: 0; padding-left: 32px; }
.cr-trust strong { color: var(--ink); }
.cr-trust .cr-ic::before { width: 22px; height: 22px; background: var(--blue); top: 0; }

/* ---------- product cards (product-collection) ---------- */
.cr-products { margin-bottom: 10px; }
.cr-pgrid { gap: 14px !important; }
.cr-pgrid > li { border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; position: relative; text-align: left; transition: border-color .15s, box-shadow .15s; }
.cr-pgrid > li .wc-block-components-product-stock-indicator, .cr-pgrid > li .wc-block-components-product-price { text-align: left; }
.cr-pgrid > li:hover { border-color: #b6cce6; box-shadow: var(--shadow); }
.cr-pgrid > li > * { margin: 0 !important; }
.cr-pcard__img { margin-bottom: 4px !important; }
.cr-pcard__img img { height: 128px !important; object-fit: contain !important; width: 100%; }
.cr-pcard__cat, .cr-pcard__cat a { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.cr-pcard__name { font-family: var(--wp--preset--font-family--body); font-size: 13.5px !important; font-weight: 600; line-height: 1.3; }
.cr-pcard__name a { color: var(--ink); }
.cr-pcard__spec { font-size: 12px; color: var(--muted); }
.cr-pcard__spec p { margin: 0; }
.cr-pcard__spec .wp-block-post-excerpt__more-text { display: none; }
.cr-pcard__price, .cr-pdp__price { font-family: var(--font-h); font-weight: 600; color: var(--blue-d); font-size: 17px; line-height: 1.25; }
.cr-pcard__price del { color: var(--muted); font-weight: 400; font-size: 13px; }
.cr-pcard__price ins { text-decoration: none; }
.woocommerce-price-suffix { display: block; font-family: var(--wp--preset--font-family--body); font-weight: 400; color: var(--muted); font-size: 11px; }
.cr-pcard__stock { font-size: 11.5px; font-weight: 500; }
.cr-pcard__stock.wc-block-components-product-stock-indicator--in-stock, .cr-pcard__stock .in-stock { color: var(--green); }
.cr-pcard__btn { margin-top: auto !important; padding-top: 6px; display: block !important; width: 100%; }
.cr-pcard__btn .wp-element-button, .cr-pcard__btn .wp-block-button__link { width: 100%; height: 36px; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; }
.wc-block-components-product-sale-badge { background: var(--red); color: #fff; border: 0; border-radius: 99px; font-size: 11px; font-weight: 600; padding: 2px 9px; text-transform: none; }

/* ---------- shop ---------- */
.cr-crumbs { font-size: 12px; color: var(--muted); padding: 16px 0 6px; }
.cr-shop { gap: 24px !important; align-items: flex-start; }
.cr-filters { align-self: flex-start; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.cr-filters__h { font-family: var(--wp--preset--font-family--body); font-size: 12px !important; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
.cr-filters ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.cr-filters li { padding: 4px 0; }
.cr-filters li a { color: var(--ink); }
.cr-filters .count { color: var(--muted); float: right; }
.cr-shop__bar { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.cr-shop__bar select { border: 1px solid #cbd5e1; border-radius: 6px; height: 34px; padding: 0 8px; font-size: 12.5px; }
.cr-pager { margin-top: 20px; gap: 6px; font-size: 13px; }
.cr-pager .page-numbers { min-width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--line); display: inline-grid; place-items: center; padding: 0 10px; }
.cr-pager .page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- product page ---------- */
.cr-pdp { gap: 32px !important; align-items: flex-start; }
.cr-pdp__gallery .woocommerce-product-gallery__image img { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; object-fit: contain; max-height: 380px; }
.cr-pdp__buy > * { margin-block: 0 12px; }
.cr-pdp__buy h1 { margin-top: 2px; }
.cr-pdp__price { font-size: 28px; }
.cr-pdp__cart .stock { color: var(--green); font-size: 12.5px; font-weight: 500; margin: 0 0 10px; }
.cr-pdp__cart form.cart { display: flex; gap: 10px; align-items: stretch; }
.cr-pdp__cart .quantity input { height: 44px; width: 64px; border: 1px solid #cbd5e1; border-radius: 6px; text-align: center; }
.cr-pdp__cart .single_add_to_cart_button { flex: 1; height: 44px; }
.cr-xlink { display: block; position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 11px 40px 11px 14px; font-size: 12.5px; color: var(--muted); }
.cr-xlink::after { content: ""; position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--blue); -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat; }
.cr-xlink:hover { border-color: var(--blue); text-decoration: none; }
.cr-xlink b { color: var(--ink); display: block; font-size: 13px; }
.cr-trust--pdp { margin: 4px 0 0; }
.cr-tabs { margin-top: 30px; }
.cr-tabs .wc-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 26px; padding: 0; margin: 0 0 16px; list-style: none; font-size: 13.5px; font-weight: 600; }
.cr-tabs .wc-tabs li { padding: 10px 0; } .cr-tabs .wc-tabs li a { color: var(--muted); }
.cr-tabs .wc-tabs li.active a { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); padding-bottom: 10px; }
.cr-related-h { margin-top: 36px; }

/* ---------- cart + checkout (Woo blocks) ---------- */
.cr-page__title { margin: 4px 0 16px; }
.cr-cartpage .wc-block-cart, .cr-checkoutpage .wc-block-checkout { margin-top: 0; }
.wc-block-cart__sidebar > *, .wc-block-checkout__sidebar { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.wc-block-cart__sidebar > * { padding: 18px; }
.wc-block-checkout__sidebar { padding: 4px 18px 10px; top: 96px; }
.wc-block-cart-items { border: 1px solid var(--line); border-radius: var(--r-lg); border-collapse: separate; overflow: hidden; }
.wc-block-cart-items th { font-size: 11.5px; letter-spacing: .05em; color: var(--muted); }
.wc-block-cart-items td, .wc-block-cart-items th { padding-inline: 14px !important; }
.wc-block-cart-item__image img { border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.wc-block-components-product-name { color: var(--ink); font-weight: 600; }
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value { font-size: 13.5px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-h); font-size: 17px; color: var(--navy); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--blue) !important; color: #fff !important; min-height: 48px; font-size: 14.5px; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--blue-d) !important; }
.cr-banner--slim { margin: 24px 0 10px; }
.cr-banner .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.cr-banner .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }
.wc-block-checkout__main .wc-block-components-checkout-step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 6px; margin-bottom: 14px; background: #fff; }
.wc-block-components-checkout-step__title { font-family: var(--font-h); color: var(--navy); }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select { border-color: #cbd5e1 !important; border-radius: 6px !important; }
.wc-block-components-text-input input:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px var(--blue-100) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--blue); border-radius: 8px; }
.cr-seller-note { font-size: 11.5px; color: var(--muted); margin-top: 14px; }
.cr-header--checkout .cr-secure { margin: 0; font-size: 12.5px; color: var(--muted); --icon: var(--i-lock); }
.cr-header--checkout .cr-secure strong { color: var(--green); margin-right: 12px; }
.cr-ic--lock { --icon: var(--i-lock); }

/* step indicator (checkout + order placed) */
.cr-steps { list-style: none; display: flex; gap: 8px; padding: 18px 0 16px; margin: 0; counter-reset: s; font-size: 12.5px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.cr-steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.cr-steps li:not(:last-child)::after { content: ""; width: 34px; height: 2px; background: var(--line); }
.cr-steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line); font-size: 11.5px; }
.cr-steps .is-on { color: var(--navy); }
.cr-steps .is-on::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.cr-steps .is-done { color: var(--green); }
.cr-steps .is-done::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.cr-steps .is-done::after { background: var(--green); }

/* order placed: the EFT details are the one thing the customer must act on */
.cr-thanks__status { font-family: var(--font-h); font-size: 24px; color: var(--navy); }
.cr-thanks .wc-block-order-confirmation-summary { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 18px; }
.cr-thanks__pay .wc-bacs-bank-details-heading, .cr-thanks__pay h2 { margin-top: 0; }
.cr-thanks__pay:not(:empty) { border: 2px solid var(--blue); border-radius: var(--r-lg); padding: 18px 20px; margin-block: 18px !important; background: #fff; }
.cr-thanks__pay ul.wc-bacs-bank-details { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.cr-thanks__next { margin-top: 26px; justify-content: center; }

/* ---------- My account (log in, sign up, dashboard) ---------- */
.cr-account .woocommerce { max-width: var(--wp--style--global--content-size); margin-inline: auto; }
.cr-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; margin-top: 8px; }
.cr-account #customer_login::before, .cr-account #customer_login::after { display: none; }
.cr-account #customer_login > .u-column1, .cr-account #customer_login > .u-column2 { width: auto; float: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); background: #fff; }
.cr-account #customer_login > .u-column2 { background: linear-gradient(180deg, var(--blue-50), #fff 120px); }
.cr-account h2 { font-size: 22px; margin: 0 0 14px; }
.cr-account form.login, .cr-account form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.cr-account .form-row { margin: 0 0 12px; padding: 0; }
.cr-account .form-row label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.cr-account .cr-check label, .cr-account .woocommerce-form-login__rememberme { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; }
.cr-account .cr-check input { margin-top: 3px; }
.cr-account input.input-text, .cr-account select, .cr-account textarea { width: 100%; height: 42px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 12px; font-size: 14px; background: #fff; }
.cr-account input.input-text:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px var(--blue-100); }
.cr-account .password-input { display: block; position: relative; }
.cr-account .show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; }
.cr-account .woocommerce-password-strength { font-size: 12px; margin-top: 6px; padding: 4px 8px; border-radius: 6px; }
.cr-account .woocommerce-password-strength.strong { background: #e7f7ee; color: var(--green); }
.cr-account .woocommerce-password-strength.short, .cr-account .woocommerce-password-strength.bad { background: #fdecec; color: var(--red); }
.cr-account .woocommerce-password-strength.good { background: #fff4dd; color: #8a5a00; }
.cr-account .woocommerce-privacy-policy-text { font-size: 11.5px; color: var(--muted); }
.cr-account .woocommerce-Button, .cr-account button.button { background: var(--blue); color: #fff; border: 0; border-radius: 6px; height: 44px; padding: 0 20px; font-weight: 600; cursor: pointer; width: 100%; margin-top: 4px; }
.cr-account .woocommerce-Button:hover, .cr-account button.button:hover { background: var(--blue-d); }
.cr-account .woocommerce-LostPassword { font-size: 12.5px; margin-top: 10px; }
.cr-account .woocommerce-MyAccount-navigation { float: none; width: auto; }
.cr-account .woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
/* explicit placement: notices (printed as the first child) span both columns instead of shoving the nav sideways */
.cr-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-navigation { grid-column: 1; }
.cr-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content { grid-column: 2; }
.cr-account .woocommerce:has(.woocommerce-MyAccount-navigation) > :not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content) { grid-column: 1 / -1; }
.cr-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.cr-account .woocommerce-MyAccount-navigation a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); font-size: 13.5px; font-weight: 500; }
.cr-account .woocommerce-MyAccount-navigation a:hover { background: var(--soft); text-decoration: none; }
.cr-account .woocommerce-MyAccount-navigation .is-active a { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.cr-account .woocommerce-MyAccount-content { float: none; width: auto; font-size: 14px; }
.cr-account .woocommerce-MyAccount-content > p:first-child { font-size: 15px; }
.cr-account table.shop_table { width: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); border-collapse: separate; border-spacing: 0; font-size: 13.5px; overflow: hidden; }
.cr-account table.shop_table th, .cr-account table.shop_table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.cr-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cr-account .woocommerce-Address { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; width: auto !important; float: none !important; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { list-style: none; border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; font-size: 13.5px; border: 1px solid; }
.woocommerce-error { background: #fdecec; border-color: #f5c2c2; color: #8f1d1d; }
.woocommerce-message { background: #e7f7ee; border-color: #b9e4cb; color: #14532d; }
.woocommerce-info { background: var(--blue-50); border-color: #cfe3fb; color: var(--navy); }
/* Woo 11 prints classic notices as block banners; keep them in the content column and in the same palette */
.cr-page .wc-block-components-notice-banner { max-width: var(--wp--style--global--content-size); margin: 0 auto 16px; border-radius: 8px; border-width: 1px; font-size: 13.5px; }
.wc-block-components-notice-banner.is-error { background: #fdecec; border-color: #f5c2c2; color: #8f1d1d; }
.wc-block-components-notice-banner.is-success { background: #e7f7ee; border-color: #b9e4cb; color: #14532d; }
.wc-block-components-notice-banner.is-info { background: var(--blue-50); border-color: #cfe3fb; color: var(--navy); }

/* ---------- footer ---------- */
.cr-footer { background: var(--deep); color: #c9d6e6; font-size: 12.5px; margin-top: 8px; padding: 0 var(--gutter); }
.cr-footer a { color: #c9d6e6; }
.cr-footer a:hover { color: #fff; }
.cr-footer__cols { gap: 30px !important; padding: 30px 0 22px; margin-block: 0 !important; }
.cr-footer__brand { font-family: var(--font-h); font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.cr-footer__brand a { color: #fff; }
.cr-footer__legal-name { font-size: 11.5px; color: #9fb3c8; }
.cr-footer__h { color: #fff; font: 600 12.5px var(--wp--preset--font-family--body) !important; margin: 0 0 9px; }
.cr-footer__list { list-style: none; padding: 0; margin: 0; }
.cr-footer__list li { margin: 4px 0; }
.cr-footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 12px 0; font-size: 11.5px; }
.cr-footer__legal p { margin: 0; }

/* ---------- phone width ---------- */
@media (max-width: 781px) {
  .cr-d-only { display: none !important; }
  .cr-header__row { min-height: 62px; gap: 12px !important; }
  .cr-logo__mark { width: 36px; height: 33px; }
  .cr-logo .wp-block-site-title { font-size: 19px; }
  .cr-logo .wp-block-site-tagline { display: none; }
  .cr-nav { order: 3; }
  .cr-icons { margin-left: auto; }
  .cr-hero { padding-top: 26px; }
  .cr-cats { display: grid !important; grid-template-columns: 1fr 1fr; }
  .cr-trust { display: grid !important; grid-template-columns: 1fr 1fr; }
  .cr-pgrid { grid-template-columns: 1fr 1fr !important; }
  .cr-filters { padding: 14px; }
  .cr-pdp__price { font-size: 24px; }
  .cr-account .woocommerce:has(.woocommerce-MyAccount-navigation) > .woocommerce-MyAccount-content { grid-column: 1; }
  .cr-account #customer_login, .cr-account .woocommerce:has(.woocommerce-MyAccount-navigation), .cr-account .woocommerce-Addresses { grid-template-columns: 1fr; }
  .cr-account #customer_login > .u-column1, .cr-account #customer_login > .u-column2 { padding: 18px; }
  .cr-header--checkout .cr-secure a { display: none; }
  .cr-steps li:not(:last-child)::after { width: 14px; }
  .cr-footer__legal { flex-direction: column; align-items: flex-start !important; gap: 6px; }
}

/* ---------- My account: dashboard, setup wizard, my machines (markup comes from copierrental-core) ---------- */
.cr-acct-head h1 { margin: 0 0 2px; font-size: 24px; }
.cr-acct-head p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.cr-acct-head--row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cr-skip { font-size: 12.5px; white-space: nowrap; }
.cr-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 18px; }
.cr-kpi { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; color: var(--muted); }
.cr-kpi:hover { border-color: var(--blue); text-decoration: none; }
.cr-kpi b { display: block; font: 600 22px/1.2 var(--font-h); color: var(--navy); }
.cr-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; background: #fff; }
.cr-card + .cr-card, .cr-card + .cr-grid2, .cr-kpis + .cr-card { margin-top: 18px; }
.cr-card h2 { font-size: 20px; margin: 0 0 6px; }
.cr-card h3, .cr-card h4 { margin: 0; }
.cr-card .cr-lead { font-size: 13px; margin: 0 0 16px; }
.cr-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cr-card__head a { font-size: 12px; }
.cr-card--table { padding: 14px 0 0; }
.cr-card--table .cr-card__head { padding: 0 18px 8px; }
.cr-card--table .cr-empty { padding: 0 18px 16px; margin: 0; font-size: 13px; color: var(--muted); }
.cr-account .cr-card--table table.shop_table { border: 0; border-radius: 0; border-top: 1px solid var(--line); font-size: 13px; }
.cr-card--table table.shop_table tr:last-child td { border-bottom: 0; }
.cr-card--steps { padding: 4px 18px; margin-bottom: 18px; }
.cr-steps--setup li a { color: inherit; }
.cr-steps--setup li a:hover { text-decoration: none; color: var(--blue); }
.cr-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.cr-muted { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.55; }
.cr-r { text-align: right !important; }
.cr-badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: var(--soft); color: var(--muted); }
.cr-badge--processing, .cr-badge--completed { background: #e7f7ee; color: var(--green); }
.cr-badge--on-hold, .cr-badge--pending { background: #fff4dd; color: #8a5a00; }
.cr-badge--cancelled, .cr-badge--failed, .cr-badge--refunded { background: #fdecec; color: #8f1d1d; }
.cr-note { display: flex; gap: 12px; align-items: center; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin: 0 0 16px; }
.cr-note > span { flex: 1; }
.cr-note b { display: block; }
.cr-note--info { background: var(--blue-50); border: 1px solid #cfe3fb; color: var(--navy); }
.cr-note--info b { display: inline; }
.cr-note--warn { background: #fff4dd; border: 1px solid #f3d9a0; color: #5c3b00; }
.cr-note--setup .button { white-space: nowrap; font-size: 12.5px; padding: 8px 14px; }
.cr-progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 6px 0 12px; }
.cr-progress i { display: block; height: 100%; background: var(--blue); transition: width .3s; }
.cr-setup { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.cr-setup > * { min-width: 0; }
.cr-setup__side .cr-card { margin-bottom: 14px; }
.cr-setup__grid2, .cr-form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.cr-setup__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.cr-account .cr-setup__actions .button { width: auto; display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.cr-setup__done { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; margin: 8px 0; }
.cr-setup__done b { display: block; }
.cr-setup__done > span:last-child span { color: var(--muted); }
.cr-tick { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: 12px; display: grid; place-items: center; flex: none; }
.cr-account .form-row select, .cr-account .input-text { width: 100%; height: 42px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 12px; font-size: 14px; background: #fff; }
.cr-account .form-row label.checkbox { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; }
.cr-account .form-row label.checkbox input { margin-top: 3px; }
.cr-btn-ghost, .cr-account .button.cr-btn-ghost { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line) !important; }
.cr-btn-outline, .cr-account .button.cr-btn-outline { background: transparent !important; color: var(--blue) !important; border: 1.5px solid var(--blue) !important; }
.cr-machine { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-size: 12.5px; margin-bottom: 8px; }
.cr-machine__ic { width: 38px; height: 38px; border-radius: 8px; background: var(--blue-50); flex: none; position: relative; }
.cr-machine__ic::after { content: ""; position: absolute; inset: 9px; background: var(--blue); -webkit-mask: var(--i-printer) center / contain no-repeat; mask: var(--i-printer) center / contain no-repeat; }
.cr-machine > span:nth-child(2) { min-width: 0; }
.cr-machine b { display: block; font-size: 13.5px; }
.cr-machine > span > span { color: var(--muted); }
.cr-machine__trade { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.cr-machine form { margin-left: 0; }
.cr-machine button { background: none; border: 0; color: var(--red); font-size: 12px; cursor: pointer; padding: 4px; }
.cr-machine-add { background: var(--soft); border-radius: 10px; padding: 14px; margin-top: 14px; }
.cr-machine-add h4 { margin: 0 0 10px; }
.cr-empty { font-size: 13px; color: var(--muted); }
.cr-turnstile { margin: 0 0 12px; }
@media (max-width: 781px) {
  .cr-kpis { grid-template-columns: 1fr 1fr; }
  .cr-grid2, .cr-setup, .cr-setup__grid2, .cr-form-grid2 { grid-template-columns: 1fr; }
  .cr-hide-m { display: none; }
  .cr-note { flex-wrap: wrap; }
  .cr-steps--setup li:not(.is-on) a { display: none; }
}

/* ---------- Sell & Trade (trade-in form, copierrental-core shortcode) ---------- */
.cr-tradein__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; margin-top: 6px; }
.cr-tradein .cr-card h2 { font-size: 18px; margin: 22px 0 10px; }
.cr-tradein .cr-card h2:first-of-type { margin-top: 0; }
.cr-tradein .cr-card h3 { font-size: 15px; margin: 0 0 8px; }
.cr-tradein__errors { background: #fdecec; border: 1px solid #f5c2c2; color: #7a1f1f; border-radius: 10px; padding: 12px 16px 12px 32px; margin: 0 0 16px; font-size: 13.5px; }
.cr-tradein__errors li { margin: 2px 0; }
.cr-tradein__hint { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.cr-tradein__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.cr-tradein__chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--soft); }
.cr-tradein__chips a:hover, .cr-tradein__chips a.is-on { border-color: var(--blue); color: var(--blue); text-decoration: none; }
.cr-tradein .form-row { margin: 0 0 12px; padding: 0; }
.cr-tradein .form-row > label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 4px; }
.cr-tradein input.input-text, .cr-tradein select, .cr-tradein textarea { box-sizing: border-box; width: 100%; height: 42px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 0 12px; font-size: 14px; background: #fff; font-family: inherit; }
.cr-tradein textarea { height: auto; min-height: 96px; padding: 10px 12px; }
.cr-tradein .form-row .woocommerce-input-wrapper:has(.input-radio) { display: grid; grid-template-columns: auto 1fr; gap: 8px 10px; align-items: center; }
.cr-tradein .form-row label.radio { font-weight: 400; font-size: 13.5px; margin: 0; }
.cr-tradein .form-row label.radio .required { display: none; }
.cr-tradein .input-radio { margin: 0; width: 16px; height: 16px; }
.cr-tradein button.button { background: var(--blue); color: #fff; border: 0; border-radius: 6px; height: 46px; padding: 0 24px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.cr-tradein button.button:hover { background: var(--blue-d); }
.cr-tradein__privacy { font-size: 12.5px; color: var(--muted); margin: 8px 0 14px; }
.cr-tradein__side .cr-card + .cr-card { margin-top: 14px; }
.cr-tradein__steps { margin: 0; padding-left: 20px; font-size: 13.5px; }
.cr-tradein__steps li { margin: 0 0 8px; }
.cr-tradein__steps b { display: block; }
.cr-tradein__list { margin: 0; padding-left: 18px; font-size: 13.5px; }
.cr-tradein__list li { margin: 0 0 6px; }
.cr-tradein__done { max-width: 640px; }
.cr-tradein__done .cr-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 2px 8px; border-radius: 6px; }
.cr-tradein__done .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .cr-tradein__grid { grid-template-columns: 1fr; }
  .cr-tradein .cr-card { padding: 16px 14px; }
}

/* ---------- two stores (site-buyprinters.css / site-copierrental.css set the colours and the signature piece) ---------- */
.cr-topbar__line { margin: 0; padding: 7px 0; font-size: 12.5px; }
.cr-wordmark { display: inline-flex; align-items: center; gap: 8px; flex: none; font-family: var(--font-h); font-size: 23px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); line-height: 1; margin: 0; }
.cr-wordmark:hover { text-decoration: none; }
.cr-wordmark b { font-weight: 800; }
.cr-wordmark--foot { color: #fff; margin-bottom: 10px; }
.cr-reg { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; }
.cr-reg i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.cr-wordmark__w { display: inline-flex; align-items: baseline; }
.cr-nav .wp-block-navigation-item__content { white-space: nowrap; }
.cr-header__row > .cr-search { flex: 1 1 180px; min-width: 0; max-width: 300px; margin-left: auto; }
.cr-search .wc-block-product-search__fields { display: flex; }
.cr-search .wc-block-product-search__field { flex: 1 1 auto; min-width: 0; }
.cr-search .wc-block-product-search__button { flex: none; }
.cr-za { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 1px; }

/* condition tag + rating plate ([cr_card_meta], plugin storefront.php) */
.cr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cr-cond { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px; background: var(--soft); color: var(--ink); }
.cr-cond--used { background: #fff4c7; }
.cr-plate { display: inline-flex; border: 1.5px solid currentColor; border-radius: 4px; font-size: 11.5px; color: var(--muted); }
.cr-plate > span { padding: 2px 8px; border-left: 1.5px solid currentColor; display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.cr-plate > span:first-child { border-left: 0; }
.cr-plate b { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.cr-pdp__buy .cr-meta { margin: 2px 0 4px !important; }

/* empty shop ([cr_empty_state]) */
.cr-empty { border: 1px dashed var(--line); border-radius: 10px; padding: 22px 20px; max-width: 640px; }
.cr-empty p { margin: 0 0 6px; color: var(--muted); }
.cr-empty b { color: var(--ink); font-size: 16px; }

/* product page link ([cr_product_extras]) */
.cr-xlink + .cr-xlink, .cr-xlink + p > .cr-xlink { margin-top: 8px; }

/* "why" row and the parts band */
.cr-why { gap: 40px !important; border-top: 1px solid var(--line); padding: 30px 0 10px; margin-top: 30px !important; }
.cr-why h3 { font-size: 17px; margin: 0 0 6px; }
.cr-why p { margin: 0; color: var(--muted); max-width: 42ch; }
.cr-partsband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.cr-partsband a { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); }
.cr-partsband a:hover { border-color: var(--ink); text-decoration: none; }
.cr-partsband span { color: var(--muted); font-size: 13px; }

@media (max-width: 781px) {
  .cr-wordmark { font-size: 20px; }
  .cr-partsband { grid-template-columns: 1fr; }
  .cr-why { gap: 20px !important; }
}
