/* [cazrom_cart] : the frame holding InkSoft's cart and checkout , its loading placeholder and the empty state. */
:root:not(#cz) .czcart { --czcart-ink: #16181d; --czcart-muted: #5d6470; --czcart-line: #e3e4e8; --czcart-soft: #f3f4f6; width: 100%; color: var(--czcart-ink); text-align: left; }
:root:not(#cz) .czcart *, :root:not(#cz) .czcart *::before, :root:not(#cz) .czcart *::after { box-sizing: border-box; }
:root:not(#cz) .czcart [hidden] { display: none !important; }

:root:not(#cz) .czcart .czcart-signin { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--czcart-soft); font-size: 14px; line-height: 1.45; color: var(--czcart-muted); }
:root:not(#cz) .czcart .czcart-signin a { color: var(--czcart-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
:root:not(#cz) .czcart .czcart-status { margin: 0; font-size: 14px; color: var(--czcart-muted); }
:root:not(#cz) .czcart .czcart-status:empty { display: none; }

/* loading : grey blocks where the cart will be , no words to flicker */
:root:not(#cz) .czcart-loading { display: flex; flex-direction: column; gap: 14px; padding: 8px 0 24px; }
:root:not(#cz) .czcart-bone { display: block; border-radius: 14px; background: linear-gradient(90deg, var(--czcart-soft) 0%, #e9ebee 50%, var(--czcart-soft) 100%); background-size: 200% 100%; animation: czcart-shimmer 1.4s ease-in-out infinite; }
:root:not(#cz) .czcart-bone-row { height: 132px; }
:root:not(#cz) .czcart-bone-total { align-self: flex-end; width: min(360px, 100%); height: 96px; }
@keyframes czcart-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* the frame : as wide as its container , tall enough that the page scrolls , not the frame */
:root:not(#cz) .czcart-frame { position: relative; width: 100%; }
:root:not(#cz) .czcart .czcart-iframe { display: block; width: 100%; min-height: 520px; margin: 0; border: 0; background: transparent; opacity: 0; transition: opacity .2s ease; }
:root:not(#cz) .czcart-frame.is-ready .czcart-iframe { opacity: 1; }
/* while it loads the frame is in place but out of the way of the placeholder above it */
:root:not(#cz) .czcart-frame:not(.is-ready) { height: 0; overflow: hidden; }

/* nothing in the cart */
:root:not(#cz) .czcart-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 16px 64px; border-radius: 18px; background: var(--czcart-soft); text-align: center; }
:root:not(#cz) .czcart-empty-icon { color: var(--czcart-muted); }
:root:not(#cz) .czcart .czcart-empty-title { margin: 6px 0 0; padding: 0; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--czcart-ink); }
:root:not(#cz) .czcart .czcart-empty-text { margin: 0 0 12px; max-width: 420px; font-size: 15px; line-height: 1.5; color: var(--czcart-muted); }
:root:not(#cz) .czcart-note { padding: 12px 16px; border-radius: 12px; background: #fff4d6; color: #6b4a00; font-size: 14px; }

@media (max-width: 767px) {
    :root:not(#cz) .czcart-empty { padding: 40px 14px 48px; }
    :root:not(#cz) .czcart .czcart-empty-title { font-size: 21px; }
    :root:not(#cz) .czcart-empty .czu-button { width: 100%; }
    :root:not(#cz) .czcart-bone-row { height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
    :root:not(#cz) .czcart-bone { animation: none; }
    :root:not(#cz) .czcart .czcart-iframe { transition: none; }
}
