/* Shared cart: header button + slide-in drawer. Front-end only; checkout is not simulated. */
#fq-root .fq-cart-btn { position: relative; flex: none; width: 46px; height: 46px; margin-left: 14px; display: grid; place-items: center; background: transparent; border: 1px solid var(--fq-line); color: var(--fq-ivory); cursor: pointer; transition: border-color .3s, color .3s; }
#fq-root .fq-cart-btn:hover { border-color: var(--fq-gold); color: var(--fq-gold); }
#fq-root .fq-cart-btn:focus-visible { outline: 2px solid var(--fq-gold); outline-offset: 2px; }
#fq-root .fq-cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#fq-root .fq-cart-btn__count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 10px; background: var(--fq-gold); color: #0a0f0c; font: 600 11px/1 var(--fq-sans); }
#fq-root .fq-cart-btn__count[hidden] { display: none; }
#fq-root .fq-cart-btn.is-bump { animation: fqbump .5s ease; }
@keyframes fqbump { 30% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (max-width: 1023px) { #fq-root .fq-header .fq-menu-btn { margin-left: auto; } }

#fq-root .fq-cart { position: fixed; inset: 0; z-index: 400; }
#fq-root .fq-cart[hidden] { display: none; }
#fq-root .fq-cart__scrim { position: absolute; inset: 0; background: rgba(2, 5, 3, 0.62); opacity: 0; transition: opacity .35s; }
#fq-root .fq-cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); display: flex; flex-direction: column; background: #070d0a; border-left: 1px solid var(--fq-line); box-shadow: -30px 0 80px rgba(0,0,0,.55); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); outline: none; color: var(--fq-ivory); }
#fq-root .fq-cart.is-open .fq-cart__scrim { opacity: 1; }
#fq-root .fq-cart.is-open .fq-cart__panel { transform: none; }
#fq-root .fq-cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--fq-line); }
#fq-root .fq-cart__head h2 { margin: 0; font: 500 26px/1 var(--fq-serif); text-transform: none; color: #efd9b4; letter-spacing: 0; }
#fq-root .fq-cart__close { width: 40px; height: 40px; background: transparent; border: 1px solid var(--fq-line); color: var(--fq-ivory); font-size: 22px; line-height: 1; cursor: pointer; }
#fq-root .fq-cart__close:hover { border-color: var(--fq-gold); color: var(--fq-gold); }
#fq-root .fq-cart__close:focus-visible, #fq-root .fq-cart button:focus-visible, #fq-root .fq-cart a:focus-visible { outline: 2px solid var(--fq-gold); outline-offset: 2px; }
#fq-root .fq-cart__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
#fq-root .fq-cart__items { list-style: none; margin: 0; padding: 0; }
#fq-root .fq-cart__item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(217,184,108,.16); }
#fq-root .fq-cart__item img { width: 72px; height: 90px; object-fit: cover; border: 1px solid var(--fq-line); }
#fq-root .fq-cart__name { margin: 0 0 2px; font: 500 15px/1.3 var(--fq-sans); color: #f3ecda; }
#fq-root .fq-cart__meta { margin: 0 0 10px; font-size: 12.5px; color: var(--fq-muted); }
#fq-root .fq-cart__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#fq-root .fq-cart__qty { display: inline-flex; align-items: center; border: 1px solid var(--fq-line); }
#fq-root .fq-cart__qty button { width: 32px; height: 32px; background: transparent; border: 0; color: var(--fq-ivory); font-size: 16px; cursor: pointer; }
#fq-root .fq-cart__qty button:hover { color: var(--fq-gold); }
#fq-root .fq-cart__qty span { min-width: 28px; text-align: center; font-size: 14px; }
#fq-root .fq-cart__price { font: 500 15px/1 var(--fq-sans); }
#fq-root .fq-cart__remove { margin-top: 8px; padding: 0; background: none; border: 0; color: var(--fq-muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
#fq-root .fq-cart__remove:hover { color: var(--fq-gold); }
#fq-root .fq-cart__empty { padding: 40px 0; text-align: center; color: var(--fq-muted); }
#fq-root .fq-cart__empty a { color: var(--fq-gold); }
#fq-root .fq-cart__foot { padding: 18px 24px 24px; border-top: 1px solid var(--fq-line); }
#fq-root .fq-cart__sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 15px; }
#fq-root .fq-cart__sub strong { font: 500 22px/1 var(--fq-serif); color: #efd9b4; }
#fq-root .fq-cart__note { margin: 0 0 14px; font-size: 12.5px; line-height: 1.5; color: var(--fq-muted); }
#fq-root .fq-cart__go { width: 100%; justify-content: center; text-align: center; background: var(--fq-gold); border: 1px solid var(--fq-gold); color: #0a0f0c; font-weight: 500; }
#fq-root .fq-cart__go[disabled], #fq-root .fq-cart__go[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
#fq-root .fq-cart__dev { display: inline-block; margin-left: 6px; padding: 2px 5px; font: 500 9px/1.2 var(--fq-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fq-gold); background: rgba(0,0,0,.5); }
#fq-root[data-mode='live'] .fq-cart__dev { display: none; }
@media (prefers-reduced-motion: reduce) { #fq-root .fq-cart__panel, #fq-root .fq-cart__scrim, #fq-root .fq-cart-btn.is-bump { transition: none; animation: none; } }
