/* OMEGA Z Commerce Experience — component-scoped navy/gold, never a global theme reset. */
.ozce-cart-anchor { position: relative; }
.ozce-cart-count { position: absolute; inset-block-start: -7px; inset-inline-end: -8px; min-width: 20px; height: 20px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border: 2px solid #092442; border-radius: 999px; background: #ebc66e; color: #092442; font: 700 11px/1 system-ui, sans-serif; font-variant-numeric: lining-nums tabular-nums; pointer-events: none; }
.ozce-cart-count[hidden], #ozce-cart-panel[hidden], [data-ozce-backdrop][hidden], #ozce-notice[hidden] { display: none !important; }
.ozce-loading { opacity: .7; cursor: progress; }
.ozce-loading::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-inline-start: 8px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: ozce-spin .7s linear infinite; }
[data-ozce-backdrop] { position: fixed; inset: 0; z-index: 99990; background: rgb(3 15 30 / 55%); }
#ozce-cart-panel { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 99991; width: min(420px, 100vw); max-height: 100dvh; overflow: auto; background: #fffdf8; color: #092442; box-shadow: 0 0 50px rgb(3 15 30 / 25%); padding: 22px; box-sizing: border-box; overscroll-behavior: contain; }
#ozce-cart-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 20px; padding-block-end: 14px; border-bottom: 1px solid #e9dfc9; }
#ozce-cart-panel h2 { margin: 0; color: #092442; font-size: 21px; }
#ozce-cart-panel [data-ozce-close] { width: 44px; min-height: 44px; border-radius: 50%; border: 1px solid #d4b468; background: transparent; color: #092442; font-size: 26px; cursor: pointer; }
#ozce-cart-panel .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
#ozce-cart-panel .woocommerce-mini-cart-item { position: relative; min-height: 92px; padding: 14px 30px 14px 0; border-bottom: 1px solid #e9dfc9; overflow-wrap: anywhere; }
#ozce-cart-panel .woocommerce-mini-cart-item img { float: inline-start; width: 65px; height: 75px; object-fit: contain; margin-inline-end: 12px; background: white; }
#ozce-cart-panel .woocommerce-mini-cart-item a:not(.remove) { color: #092442; font-weight: 600; }
#ozce-cart-panel .remove { position: absolute; inset-inline-end: 0; inset-block-start: 12px; width: 28px; min-height: 28px; text-align: center; color: #a12a26; }
#ozce-cart-panel .quantity { display: block; margin-block-start: 8px; font-variant-numeric: tabular-nums; }
#ozce-cart-panel .woocommerce-mini-cart__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
#ozce-cart-panel .woocommerce-mini-cart__buttons a { flex: 1; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 10px; box-sizing: border-box; border-radius: 9px; background: #ebc66e; color: #092442; font-weight: 700; }
#ozce-cart-panel .woocommerce-mini-cart__buttons .checkout { background: #092442; color: #fffdf8; }
.ozce-panel-open { overflow: hidden; }
#ozce-notice { position: fixed; inset-block-end: max(24px, env(safe-area-inset-bottom)); inset-inline: 16px; margin-inline: auto; z-index: 99992; width: max-content; max-width: min(520px, calc(100vw - 32px)); box-sizing: border-box; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 18px; border: 1px solid #d4b468; border-radius: 12px; background: #092442; color: #fffdf8; box-shadow: 0 8px 28px rgb(3 15 30 / 20%); font-size: 14px; overflow-wrap: anywhere; }
#ozce-notice a { color: #ebc66e; font-weight: 700; text-decoration: underline; min-height: 32px; display: inline-flex; align-items: center; }
#ozce-notice.ozce-error { border-color: #ec9993; }
#ozce-cart-panel :focus-visible, #ozce-notice :focus-visible, .ozce-cart-anchor:focus-visible { outline: 3px solid #b58624; outline-offset: 4px; }
@keyframes ozce-spin { to { transform: rotate(360deg); } }
@media (max-width: 480px) { #ozce-cart-panel { width: 100%; padding: 16px; padding-block-end: max(20px, env(safe-area-inset-bottom)); } #ozce-notice { inset-block-end: max(78px, env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: reduce) { .ozce-loading::after { animation: none; } }
