.cart-panel { position: fixed; inset: 0 0 0 auto; width: min(497px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--color-soft); color: var(--color-coffee); overflow: hidden; }
.cart-panel:not([open]) { display: none; }
.cart-panel[open] { display: flex; flex-direction: column; }
.cart-panel::backdrop, .quick-search::backdrop { background: rgba(0, 0, 0, .7); }
.quick-search::backdrop { animation: eclat-panel-backdrop-in 400ms ease both; }
.quick-search.is-closing::backdrop { animation: eclat-panel-backdrop-out 400ms ease both; }
.cart-panel, .cart-panel::backdrop { animation: none; transition: none; transform: none; opacity: 1; }
.cart-panel { background: transparent; }
.cart-panel-surface { display: flex; flex: 1; flex-direction: column; width: 100%; height: 100%; min-height: 0; background: var(--color-champagne); }
@keyframes eclat-panel-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes eclat-panel-backdrop-out { from { opacity: 1; } to { opacity: 0; } }
.cart-panel-header { flex-shrink: 0; display: flex; min-height: 65px; align-items: center; justify-content: space-between; padding: max(10px, env(safe-area-inset-top)) 20px 10px; border-bottom: 1px solid color-mix(in srgb, var(--color-gold-dark) 30%, transparent); }
.storefront .cart-panel-header h2 { margin: 0; color: var(--color-gold-dark); font: 500 14px/1.5 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.cart-panel button { cursor: pointer; }
.cart-panel-header button { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; margin-right: -10px; border: 0; background: transparent; color: inherit; }
.cart-panel-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cart-panel-content { display: flex; min-height: 100%; flex-direction: column; }
.cart-panel-message { margin: 0; padding: 0 20px; font-size: 12px; }
.cart-panel-message:not(.text-danger), .cart-panel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cart-panel-message:not(:empty) { padding-block: 12px; }
.cart-panel-empty { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; }
.cart-panel-empty-icon { display: block; margin: 0 auto 24px; color: var(--color-gold-dark); }
.storefront .cart-panel-empty h3 { margin: 0; color: var(--color-coffee); font: 500 clamp(30px, 7vw, 36px)/1.15 var(--font-display); }
.storefront .cart-panel .btn-dark { min-height: 48px; padding: 12px 24px; border: 1px solid var(--color-gold-dark); border-radius: var(--radius-control); background: transparent; color: var(--color-coffee); font-size: 14px; font-weight: 500; transition: background-color var(--motion-brand), color var(--motion-brand); }
.storefront .cart-panel .btn-dark:is(:hover, :focus-visible):not(:disabled) { border-color: var(--color-gold-dark); background: var(--color-coffee); color: var(--color-champagne); }
.cart-panel-header button:hover, .cart-panel-continue:hover, .cart-panel-remove:hover { color: var(--color-gold-dark); }
.cart-panel-items { padding-inline: 16px; }
.cart-panel-item { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid color-mix(in srgb, var(--color-gold-dark) 30%, transparent); }
.cart-panel-photo { align-self: start; }
.cart-panel-item img { display: block; width: 100%; height: 90px; border-radius: 6px; object-fit: cover; background: var(--color-champagne); }
.cart-panel-item-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; align-items: center; column-gap: 8px; min-width: 0; }
.storefront .cart-panel-item h3 { grid-column: 1 / -1; padding-right: 40px; margin: 0 0 4px; font: 500 13px/1.5 var(--font-body); overflow-wrap: anywhere; }
.cart-panel-item p { margin: 0; font-size: 12px; line-height: 1.6; }
.cart-panel-item .cart-panel-material { grid-column: 1 / -1; padding-right: 24px; color: var(--color-muted); font-size: 11px; overflow-wrap: anywhere; }
.cart-panel-unit-price { color: var(--color-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.cart-panel-stock-warning { grid-column: 1 / -1; }
.cart-panel-item [data-panel-quantity] { grid-column: 2; grid-row: auto; justify-self: end; min-width: 0; }
.cart-panel-item [data-panel-quantity]:has([data-panel-field-error]:not(:empty)) { grid-column: 1 / -1; width: 100%; text-align: right; }
.cart-panel-item p > span { color: var(--color-muted); font-size: 10px; }
.cart-panel-quantity { display: inline-flex; align-items: center; border: 0; box-shadow: none; text-decoration: none; }
.cart-panel-quantity button, .cart-panel-quantity input { width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font: 400 18px/1 var(--font-body); text-align: center; text-decoration: none; }
.cart-panel-quantity button { display: flex; align-items: center; }
.cart-panel-quantity button[data-panel-step="-1"] { justify-content: flex-end; padding-right: 4px; }
.cart-panel-quantity button[data-panel-step="1"] { justify-content: flex-start; padding-left: 4px; }
.cart-panel-quantity input { width: 24px; appearance: textfield; -moz-appearance: textfield; }
.storefront .cart-panel-quantity input[readonly] { border: 0; outline: 0; box-shadow: none; caret-color: transparent; cursor: default; pointer-events: none; }
.cart-panel-quantity input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-panel-quantity button:disabled { opacity: .35; cursor: default; }
.cart-panel-quantity button[data-cart-busy-lock]:disabled { opacity: 1; }
.cart-panel-remove, .cart-panel-update { min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.cart-panel-item > .cart-panel-remove-form { position: absolute; top: 0; right: 0; margin: 0; }
.cart-panel-remove { display: flex; width: 44px; align-items: center; justify-content: center; padding: 0; }
.cart-panel-remove svg { width: 16px; height: 16px; }
.cart-panel [data-panel-field-error] { display: block; font-size: 12px; line-height: 1.5; }
.cart-panel-summary { position: sticky; bottom: 0; z-index: 1; margin-top: auto; padding: 20px 20px max(16px, env(safe-area-inset-bottom)); background: var(--color-champagne); border-top: 1px solid color-mix(in srgb, var(--color-gold-dark) 30%, transparent); }
.cart-panel-summary strong { color: var(--color-gold-dark); font-variant-numeric: tabular-nums; }
.cart-panel-summary > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.cart-panel-total-label { color: var(--color-gold-dark); font: 500 14px/1.5 var(--font-body); letter-spacing: .08em; }
.cart-panel-summary p { margin: 12px 0; font-size: 11px; line-height: 1.6; }
.cart-panel-summary .btn { display: flex; min-height: 48px; align-items: center; justify-content: center; width: 100%; }
.cart-panel-summary [aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.cart-panel-continue { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: inherit; font-size: 12px; }
.cart-panel-continue span { position: relative; }
.cart-panel-continue span::after { position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; content: ''; background: var(--color-gold-dark); transition: background-color 220ms ease; }
.cart-panel-continue:is(:hover, :focus-visible) span::after { background: var(--color-coffee); }
.cart-panel-status { margin: 0; padding-inline: 20px; font-size: 12px; }
.cart-panel-status:not(:empty) { padding-block: 8px; }
.cart-panel-error { padding: 16px 20px; color: #a52222; font-size: 12px; }
.cart-panel-error :is(button, a) { display: inline-flex; min-height: 44px; align-items: center; margin-right: 12px; border: 0; background: transparent; color: inherit; text-decoration: underline; }
.cart-panel :is(a, button, input):focus-visible { outline: 2px solid var(--color-gold-dark); outline-offset: 3px; text-decoration: underline; text-underline-offset: 4px; }
.cart-panel .cart-panel-quantity :is(button, input):focus-visible { text-decoration: none; }
.cart-panel input:focus-visible { box-shadow: 0 1px 0 currentColor; }
.cart-panel [hidden] { display: none !important; }
@media (max-width: 767.98px) { .cart-panel { inset: auto 0 0; width: 100%; } }
@media (max-width: 359.98px) { .cart-panel-item { grid-template-columns: 64px minmax(0, 1fr); } .cart-panel-item img { height: 80px; } }
@media (max-height: 480px) { .cart-panel-summary { position: static; } }
@media (prefers-reduced-motion: reduce) { .cart-panel::backdrop, .quick-search::backdrop { animation: none; } .storefront .cart-panel .btn-dark, .cart-panel-continue span::after { transition: none; } }
