/* Farmer & Fable cart — brown & gold */
.cart-icon { position: relative; display: inline-flex; align-items: center; margin-left: 1.2rem; color: var(--gold); vertical-align: middle; }
.cart-icon:hover { color: var(--ember-light); }
.cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: var(--gold); color: #2a2119; font: 700 11px/18px Arial, sans-serif; text-align: center; }
.cart-count[hidden] { display: none; }
button.buy-btn { cursor: pointer; border: none; font: inherit; width: 100%; }
.buy-now-alt { display: block; margin-top: .5rem; font-size: .9rem; text-align: center; color: var(--text-muted); text-decoration: underline; }
.size-pick { display: flex; align-items: center; gap: .5rem; margin: .4rem 0 .6rem; color: var(--text-muted); font-size: .95rem; }
.size-select { flex: 1; padding: .35rem .5rem; background: #2a2119; color: var(--text); border: 1px solid rgba(212,175,55,.45); border-radius: 6px; font: inherit; }
.size-select.needs-size { border-color: var(--ember-light); box-shadow: 0 0 0 2px rgba(224,122,61,.4); }
.free-ship-line { text-align: center; color: var(--gold); font-family: 'Cinzel', serif; letter-spacing: .04em; margin: 1rem auto 0; }

.cart-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cart-drawer.open { opacity: 1; pointer-events: auto; }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--bg-card); border-left: 1px solid rgba(212,175,55,.35); transform: translateX(100%); transition: transform .25s; color: var(--text); }
.cart-drawer.open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(212,175,55,.25); }
.cart-head h3 { color: var(--gold); margin: 0; }
.cart-close { background: none; border: none; color: var(--gold); font-size: 2rem; line-height: 1; cursor: pointer; }
.cart-ship { padding: .8rem 1.2rem; background: rgba(212,175,55,.08); font-size: 1rem; }
.ship-bar { height: 6px; background: rgba(255,255,255,.12); border-radius: 3px; margin-top: .4rem; overflow: hidden; }
.ship-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ember), var(--gold)); }
.cart-lines { list-style: none; flex: 1; overflow-y: auto; padding: .5rem 1.2rem; margin: 0; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid rgba(212,175,55,.15); }
.cart-line img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.cl-name { font-weight: 600; line-height: 1.2; }
.cl-meta { color: var(--text-muted); font-size: .9rem; }
.cl-qty { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; }
.cl-qty button { background: #2a2119; color: var(--gold); border: 1px solid rgba(212,175,55,.45); border-radius: 5px; min-width: 28px; height: 28px; cursor: pointer; font-size: 1rem; }
.cl-qty button:disabled { opacity: .4; cursor: default; }
.cl-qty .cl-remove { border: none; background: none; color: var(--text-muted); text-decoration: underline; font-size: .85rem; }
.cl-price { font-weight: 700; color: var(--gold); }
.cart-empty { padding: 2rem 0; text-align: center; color: var(--text-muted); }
.cart-foot { padding: 1rem 1.2rem 1.4rem; border-top: 1px solid rgba(212,175,55,.25); }
.cart-sub { display: flex; justify-content: space-between; font-size: 1.15rem; }
.cart-note { color: var(--text-muted); font-size: .85rem; margin: .3rem 0 .8rem; }
.cart-error { color: #ffb4a0; font-size: .9rem; margin-bottom: .6rem; }
.cart-checkout:disabled { opacity: .5; cursor: default; }
