/* Shared club palette; native commerce, editorial presentation. */
.cmria-cart-open { overflow: hidden; }
.cmria-cart-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; border: 0;
  width: min(580px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh;
  background: var(--cmria-color-paper); color: var(--cmria-color-ink);
  font-family: var(--cmria-font-body); box-shadow: -24px 0 90px #0002;
  overflow: hidden; overscroll-behavior: contain;
}
.cmria-cart-drawer:not([open]) { display: none; }
.cmria-cart-drawer[open] { display: flex; flex-direction: column; animation: cmria-bag-in .28s ease-out; }
.cmria-cart-drawer::backdrop { background: #0b10115c; backdrop-filter: blur(7px); }
.cmria-cart-drawer *, .cmria-cart-page .cmria-entry-content * { box-sizing: border-box; }
.cmria-cart-drawer button, .cmria-cart-drawer a { -webkit-tap-highlight-color: transparent; }
.cmria-cart-drawer :focus-visible, .cmria-cart-page :focus-visible { outline: 2px solid var(--cmria-color-ink); outline-offset: 4px; }
.cmria-bag-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px 30px 22px; border-bottom: 1px solid var(--cmria-color-border); flex-shrink: 0; }
.cmria-bag-kicker { margin: 0 0 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; line-height: 1.6; }
.cmria-bag-heading h2 { font-family: var(--cmria-font-display); font-size: clamp(28px, 4vw, 38px); line-height: 1.15; text-transform: uppercase; font-weight: 400; margin: 0; }
.cmria-bag-close { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; padding: 0; border: 1px solid var(--cmria-color-border); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; font-size: 30px; font-weight: 300; }
.cmria-bag-close:hover { background: var(--cmria-color-ink); color: var(--cmria-color-paper); }
.cmria-bag-feedback { font-size: 12px; padding: 0 30px; flex-shrink: 0; }
.cmria-bag-feedback:has([data-cart-status]:not(:empty)) { padding-block: 12px; }
.has-cart-error .cmria-bag-feedback { border-bottom: 1px solid currentColor; }
.cmria-bag-feedback button { margin-left: 8px; background: none; border: 0; text-decoration: underline; color: inherit; cursor: pointer; min-height: 32px; }
.cmria-bag-content { overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; padding: 0 30px; scrollbar-width: thin; }
.cmria-bag-content[aria-busy=true] { opacity: .65; }
.cmria-bag-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--cmria-color-border); }
.cmria-bag-item:last-child { border-bottom: 0; }
.cmria-bag-image { display: grid; place-items: center; align-self: start; aspect-ratio: 3/4; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); overflow: hidden; color: var(--cmria-color-muted); font-size: 26px; }
.cmria-bag-image img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cmria-bag-detail { min-width: 0; }
.cmria-bag-name { display: block; font-size: 15px; line-height: 1.4; font-weight: 750; text-decoration: none; color: inherit; overflow-wrap: anywhere; }
.cmria-bag-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cmria-bag-meta { margin: 8px 0 0; font-size: 11px; line-height: 1.6; color: var(--cmria-color-muted); overflow-wrap: anywhere; }
.cmria-bag-meta div { display: flex; flex-wrap: wrap; gap: 0 4px; }
.cmria-bag-meta dt { font-weight: 500; }
.cmria-bag-meta dd { margin: 0; }
.cmria-bag-price { font-size: 14px; line-height: 1.5; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmria-bag-controls { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 14px; }
.cmria-bag-quantity { display: inline-flex; align-items: center; border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); }
.cmria-bag-quantity button { width: 36px; min-height: 40px; padding: 0; border: 0; background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
.cmria-bag-quantity button:disabled { opacity: .3; cursor: default; }
.cmria-bag-quantity button:not(:disabled):hover { background: var(--cmria-color-surface); }
.cmria-bag-quantity-value { min-width: 26px; text-align: center; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cmria-bag-remove { border: 0; padding: 0; min-height: 40px; font: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; background: none; color: var(--cmria-color-muted); cursor: pointer; }
.cmria-bag-footer { padding: 22px 30px max(18px, env(safe-area-inset-bottom)); border-top: 1px solid var(--cmria-color-border); background: var(--cmria-color-paper); flex-shrink: 0; }
.cmria-bag-total { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; font-size: 13px; }
.cmria-bag-total strong { font-size: 28px; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmria-bag-discount:not([hidden]) { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-top: 8px; }
.cmria-bag-note { font-size: 11px; line-height: 1.65; color: var(--cmria-color-muted); margin: 12px 0 18px; }
.cmria-bag-primary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 58px; padding: 15px 20px; background: var(--cmria-color-accent); color: var(--cmria-color-on-accent); border-radius: var(--cmria-radius); font-size: 14px; font-weight: 800; text-decoration: none; }
.cmria-bag-primary:hover { filter: brightness(.95); }
.cmria-bag-primary span { font-size: 25px; font-weight: 400; }
.cmria-bag-continue { display: block; margin: 6px auto 0; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; min-height: 40px; padding: 5px 12px; cursor: pointer; }
.cmria-bag-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 100%; padding: 30px 12px; }
.cmria-bag-empty-mark { display: grid; place-items: center; border: 1px solid var(--cmria-color-border); width: 74px; height: 74px; border-radius: 50%; font-size: 35px; color: var(--cmria-color-accent); transform: rotate(-10deg); margin-bottom: 24px; }
.cmria-bag-empty h3 { font-family: var(--cmria-font-display); font-size: 29px; line-height: 1.2; font-weight: 400; text-transform: uppercase; margin: 0; max-width: 280px; }
.cmria-bag-empty p { max-width: 290px; font-size: 13px; line-height: 1.8; color: var(--cmria-color-muted); margin: 16px 0; }
.cmria-bag-empty-link { border: 0; background: transparent; color: inherit; min-height: 44px; padding: 8px; font: inherit; font-size: 12px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.is-empty .cmria-bag-footer .cmria-bag-primary { display: none; }
.cmria-cart-page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 22px 0 44px; margin-bottom: 24px; border-bottom: 1px solid var(--cmria-color-border); }
.cmria-cart-page-heading h1 { margin: 0; font-family: var(--cmria-font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5vw, 76px); line-height: 1.08; letter-spacing: -.02em; }
.cmria-cart-page-heading h1 span { color: var(--cmria-color-accent-text, var(--cmria-color-ink)); }
.cmria-cart-page-heading > a { color: inherit; font-size: 12px; font-weight: 700; text-decoration: none; padding-block: 12px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.cmria-cart-page-heading > a span { margin-left: 20px; }
.cmria-cart-page .woocommerce-notices-wrapper { grid-column: 1/-1; }
.cmria-cart-page .woocommerce-cart-form { min-width: 0; }
.cmria-cart-page .woocommerce table.shop_table { border: 0; border-collapse: collapse; border-radius: 0; margin: 0; }
.cmria-cart-page .woocommerce table.shop_table th { padding: 14px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--cmria-color-muted); font-weight: 700; }
.cmria-cart-page .woocommerce table.shop_table td { border-color: var(--cmria-color-border); padding: 24px 10px; background: transparent; }
.cmria-cart-page .woocommerce table.cart .product-thumbnail { width: 106px; }
.cmria-cart-page .woocommerce table.cart .product-thumbnail img { width: 86px; height: 112px; object-fit: contain; padding: 6px; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); }
.cmria-cart-page .woocommerce table.cart .product-name { min-width: 0; overflow-wrap: anywhere; }
.cmria-cart-page .woocommerce table.cart .product-name > a { font-weight: 750; text-decoration: none; color: inherit; font-size: 15px; line-height: 1.4; }
.cmria-cart-page .woocommerce table.cart dl.variation { margin-top: 8px; font-size: 12px; color: var(--cmria-color-muted); }
.cmria-cart-page .woocommerce .quantity .qty { width: 64px; min-height: 44px; padding: 8px; background: transparent; border: 1px solid var(--cmria-color-border); color: inherit; border-radius: var(--cmria-radius); font: inherit; font-size: 14px; }
.cmria-cart-page .woocommerce .product-price, .cmria-cart-page .woocommerce .product-subtotal { white-space: nowrap; font-size: 14px; }
.cmria-cart-page .woocommerce .product-subtotal { font-weight: 750; }
.cmria-cart-page .woocommerce a.remove { display: grid; place-items: center; width: 36px; height: 36px; font-size: 22px; font-weight: 400; color: var(--cmria-color-muted) !important; }
.cmria-cart-page .woocommerce a.remove:hover { background: var(--cmria-color-ink); color: var(--cmria-color-paper) !important; }
.cmria-cart-page .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; padding: 28px; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); }
.cmria-cart-page .woocommerce .cart_totals h2 { font-family: var(--cmria-font-display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin: 0 0 22px; }
.cmria-cart-page .woocommerce .cart_totals table td, .cmria-cart-page .woocommerce .cart_totals table th { padding: 16px 0; font-size: 13px; text-transform: none; letter-spacing: 0; }
.cmria-cart-page .woocommerce .cart_totals table td { text-align: right; }
.cmria-cart-page .woocommerce .cart_totals .order-total td { font-size: 26px; }
.cmria-cart-page .woocommerce .cart_totals .order-total th { color: var(--cmria-color-ink); }
.cmria-cart-page .woocommerce .wc-proceed-to-checkout { padding: 20px 0 0; }
.cmria-cart-page .woocommerce a.button, .cmria-cart-page .woocommerce button.button { min-height: 48px; padding: 15px 20px; font-family: inherit; font-weight: 750; font-size: 13px; line-height: 1.4; border-radius: var(--cmria-radius); background: var(--cmria-color-ink); color: var(--cmria-color-paper); }
.cmria-cart-page .woocommerce a.checkout-button { margin: 0; font-size: 15px; background: var(--cmria-color-accent); color: var(--cmria-color-on-accent); }
.cmria-cart-page .woocommerce a.checkout-button:hover { background: var(--cmria-color-accent); color: var(--cmria-color-on-accent); filter: brightness(.95); }
.cmria-cart-page .woocommerce button.button:disabled,
.cmria-cart-page .woocommerce button.button:disabled[disabled] { background: transparent; border: 1px solid var(--cmria-color-border); color: var(--cmria-color-ink) !important; opacity: .55; }
.cmria-cart-page .woocommerce .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.cmria-cart-page .woocommerce .coupon #coupon_code { width: 155px; margin: 0; min-height: 48px; padding: 12px; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); font: inherit; font-size: 12px; color: inherit; }
.cmria-cart-page .woocommerce:has(.cart-empty) { text-align: center; }
.cmria-cart-page .woocommerce .cart-empty { padding: 36px 20px 18px; background: transparent; color: var(--cmria-color-ink); border: 0; margin: 25px 0 0; font: 400 clamp(26px, 3vw, 38px)/1.25 var(--cmria-font-display); text-transform: uppercase; }
.cmria-cart-page .woocommerce .cart-empty::before { content: '↗'; position: static; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 26px; border: 1px solid var(--cmria-color-border); border-radius: 50%; color: var(--cmria-color-accent); font: 36px/1 var(--cmria-font-body); }
.cmria-cart-page .woocommerce .return-to-shop { margin: 12px 0 48px; }
.cmria-cart-page .woocommerce .cross-sells { width: 100%; float: none; margin-top: 32px; }
/* Keep native WooCommerce Cart blocks, including their state and accessibility. */
.cmria-cart-page .wc-block-cart { color: var(--cmria-color-ink); font-family: var(--cmria-font-body); margin-block: 20px 60px; }
.cmria-cart-page .wc-block-cart .wc-block-cart-items__header th { font-size: 10px; letter-spacing: .12em; color: var(--cmria-color-muted); padding-bottom: 18px; }
.cmria-cart-page .wc-block-cart .wc-block-cart-items__row td { padding-block: 26px; border-color: var(--cmria-color-border); }
.cmria-cart-page .wc-block-cart table.wc-block-cart-items { width: 100%; table-layout: fixed; }
.cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image { width: 128px; padding-right: 24px; vertical-align: top; }
.cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product { width: auto; vertical-align: top; }
.cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total { width: 96px; white-space: nowrap; vertical-align: top; font-weight: 750; }
.cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-components-product-name { font-size: 16px; font-weight: 750; line-height: 1.45; }
.cmria-cart-page .wc-block-cart .wc-block-cart-item__quantity { flex-wrap: wrap; gap: 8px; }
.cmria-cart-page .wc-block-cart .wc-block-cart-item__image img { width: 100%; aspect-ratio: 3/4; object-fit: contain; padding: 5px; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); }
.cmria-cart-page .wc-block-cart .wc-block-components-product-name { color: inherit; font-size: 16px; font-weight: 750; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.cmria-cart-page .wc-block-cart .wc-block-components-product-metadata { font-size: 12px; color: var(--cmria-color-muted); }
.cmria-cart-page .wc-block-cart .wc-block-components-product-metadata__description { display: none; }
.cmria-cart-page .wc-block-cart .wc-block-components-quantity-selector { min-height: 44px; border-radius: var(--cmria-radius); }
.cmria-cart-page .wc-block-cart .wc-block-cart-item__remove-link { min-height: 32px; text-underline-offset: 3px; color: var(--cmria-color-muted); }
.cmria-cart-page .wc-block-cart .wc-block-cart__sidebar { padding: 26px; background: var(--cmria-color-surface); border: 1px solid var(--cmria-color-border); border-radius: var(--cmria-radius); align-self: flex-start; }
.cmria-cart-page .wc-block-cart .wc-block-cart__totals-title { font-family: var(--cmria-font-display); font-size: 27px; font-weight: 400; padding: 0 0 22px; text-align: left; }
.cmria-cart-page .wc-block-cart .wc-block-components-totals-wrapper { border-color: var(--cmria-color-border); }
.cmria-cart-page .wc-block-cart .wc-block-components-totals-item { padding-inline: 0; }
.cmria-cart-page .wc-block-cart .wc-block-components-totals-footer-item { font-size: 22px; padding-block: 22px; }
.cmria-cart-page .wc-block-cart .wc-block-cart__submit-button { min-height: 58px; background: var(--cmria-color-accent); color: var(--cmria-color-on-accent); border-radius: var(--cmria-radius); font-size: 14px; font-weight: 800; text-decoration: none; }
.cmria-cart-page .wc-block-cart .wc-block-components-totals-coupon { padding-inline: 0; }
.cmria-cart-page .wc-block-cart .wc-block-components-totals-coupon-link { color: inherit; font-size: 13px; }
.cmria-cart-page .wc-block-cart__empty-cart__title { font-family: var(--cmria-font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 400; text-transform: uppercase; }
@media (min-width: 1050px) {
  .cmria-cart-page .cmria-entry-content > .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
  .cmria-cart-page .woocommerce .cart-collaterals { position: sticky; top: calc(var(--cmria-header-height, 94px) + 32px); }
}
@media (max-width: 1049px) { .cmria-cart-page .woocommerce .cart-collaterals { margin-top: 28px; } }
@media (max-width: 767px) {
  .cmria-cart-page-heading { flex-direction: column; align-items: flex-start; padding-block: 12px 30px; gap: 20px; }
  .cmria-cart-page .woocommerce table.cart tr.cart_item { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px 14px; padding: 24px 0; border-top: 1px solid var(--cmria-color-border); }
  .cmria-cart-page .woocommerce table.cart tr.cart_item td { display: block; border: 0; padding: 0; text-align: left !important; background: transparent; }
  .cmria-cart-page .woocommerce table.cart tr.cart_item td:before { display: none; }
  .cmria-cart-page .woocommerce table.cart tr.cart_item .product-thumbnail { display: block; grid-column: 1; grid-row: 1/4; width: auto; }
  .cmria-cart-page .woocommerce table.cart .product-thumbnail img { width: 76px; height: 100px; }
  .cmria-cart-page .woocommerce table.cart .product-name { grid-column: 2; grid-row: 1; }
  .cmria-cart-page .woocommerce table.cart .product-remove { grid-column: 3; grid-row: 1; }
  .cmria-cart-page .woocommerce table.cart .product-price { grid-column: 2; grid-row: 2; color: var(--cmria-color-muted); font-size: 12px; }
  .cmria-cart-page .woocommerce table.cart .product-quantity { grid-column: 2; grid-row: 3; }
  .cmria-cart-page .woocommerce table.cart .product-subtotal { grid-column: 3; grid-row: 3; align-self: center; }
  .cmria-cart-page .woocommerce table.cart td.actions { padding: 24px 0; }
  .cmria-cart-page .woocommerce .coupon { float: none; padding-bottom: 12px; }
  .cmria-cart-page .woocommerce .coupon #coupon_code { width: 100%; flex: 1 1 120px; }
  .cmria-cart-page .woocommerce .coupon .button { width: auto; }
  .cmria-cart-page .woocommerce .cart-collaterals .cart_totals { padding: 22px; }
  .cmria-cart-page .wc-block-cart .wc-block-cart__sidebar { padding: 22px; }
}
@media (max-width: 600px) {
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items,
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items tbody { display: block; width: 100%; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items thead { display: none; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px 18px; padding: 24px 0; border-bottom: 1px solid var(--cmria-color-border); }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row td { display: block; width: auto; min-width: 0; padding: 0; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__image { grid-row: 1/3; grid-column: 1; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__product { grid-column: 2; grid-row: 1; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-cart-item__total { grid-column: 2; grid-row: 2; text-align: left; }
  .cmria-cart-page .wc-block-cart table.wc-block-cart-items .wc-block-components-product-name { font-size: 14px; }
  .cmria-cart-page .wc-block-cart .wc-block-cart-item__wrap { padding: 0; }
  .cmria-cart-page .wc-block-cart .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items: flex-start; }
}
@media (max-width: 420px) {
  .cmria-bag-heading { padding: 22px 18px 18px; }
  .cmria-bag-content, .cmria-bag-feedback { padding-inline: 18px; }
  .cmria-bag-footer { padding-inline: 18px; }
  .cmria-bag-item { grid-template-columns: 70px minmax(0, 1fr); gap: 10px 14px; }
  .cmria-bag-image { grid-row: 1/3; }
  .cmria-bag-price { grid-column: 2; text-align: left; }
  .cmria-bag-name { font-size: 14px; }
  .cmria-bag-heading h2 { font-size: 28px; }
}
@media (max-height: 620px) {
  .cmria-bag-heading { padding-block: 12px; }
  .cmria-bag-heading .cmria-bag-kicker { display: none; }
  .cmria-bag-footer { padding-block: 12px; }
  .cmria-bag-note { margin-block: 6px; }
  .cmria-bag-primary { min-height: 46px; padding-block: 8px; }
}
@keyframes cmria-bag-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .cmria-cart-drawer[open] { animation: none; } }
