.gg-cart-button{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid var(--gg-border-soft);border-radius:var(--gg-control-radius);background:var(--gg-control-surface);color:var(--gg-gold-text);cursor:pointer;transition:border-color var(--gg-motion),background var(--gg-motion)}
.gg-cart-button:hover{border-color:var(--gg-gold-dim);background:var(--gg-control-hover-surface)}
.gg-cart-button:focus-visible{outline:2px solid var(--gg-focus);outline-offset:3px}
.gg-cart-button svg,.gg-cart-drawer svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gg-cart-count{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gg-selected-rim);color:var(--gg-on-gold);font-size:11px;font-weight:700;line-height:1;box-shadow:0 0 0 2px var(--gg-panel-muted)}

.gg-cart-drawer{position:fixed;inset:0 0 0 auto;width:min(440px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;background:transparent;color:var(--gg-text);overflow:visible}
.gg-cart-drawer::backdrop{background:#000a;backdrop-filter:blur(2px)}
.gg-cart-drawer[open]{animation:gg-cart-enter 320ms cubic-bezier(.25,.65,.3,1) both}
.gg-cart-drawer[open]::backdrop{animation:gg-cart-fade 320ms ease-out both}
@keyframes gg-cart-enter{from{transform:translateX(100%)}to{transform:none}}
@keyframes gg-cart-fade{from{opacity:0}to{opacity:1}}
.gg-cart-panel{display:flex;flex-direction:column;height:100%;border-left:1px solid transparent;background:var(--gg-checkout-surface) padding-box,var(--gg-frame-rim) border-box;box-shadow:-12px 0 40px #0008}
.gg-cart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px 18px;border-bottom:1px solid var(--gg-divider-soft)}
.gg-cart-head h2{display:flex;align-items:baseline;gap:10px;margin:0;font-size:22px;line-height:1.2}
.gg-cart-head h2 small{color:var(--gg-muted);font-size:14px;font-weight:600}
.gg-cart-close{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--gg-border-soft);border-radius:50%;background:var(--gg-control-surface);color:var(--gg-gold-text);cursor:pointer}
.gg-cart-close:hover{border-color:var(--gg-gold-dim)}
.gg-cart-list{display:grid;align-content:start;gap:12px;flex:1;margin:0;padding:18px 24px;overflow-y:auto;list-style:none}

.gg-cart-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px;border:1px solid var(--gg-border-soft);border-radius:var(--gg-panel-radius);background:var(--gg-stone-surface)}
.gg-cart-thumb{display:block;width:72px;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:linear-gradient(160deg,#1d2125,#101316)}
.gg-cart-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.gg-cart-thumb-empty{display:block;width:100%;height:100%;background:radial-gradient(ellipse 70% 80% at 50% 100%,#dbb65d26,transparent 70%)}
.gg-cart-item-copy{display:grid;gap:6px;min-width:0}
.gg-cart-item-title{color:var(--gg-text);font-size:15px;font-weight:700;line-height:1.3;text-decoration:none}
.gg-cart-item-title:hover{color:var(--gg-gold-text)}
.gg-cart-item-values{margin:0;color:var(--gg-muted);font-size:13px;line-height:1.5}
.gg-cart-item-eta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:0;color:var(--gg-subtle);font-size:12.5px}
.gg-cart-item-eta span{white-space:nowrap}
.gg-cart-item-lines{display:grid;gap:4px;margin:2px 0 0}
.gg-cart-item-lines div{display:flex;flex-wrap:wrap;gap:4px 8px;font-size:13px;line-height:1.45}
.gg-cart-item-lines dt{color:var(--gg-subtle)}
.gg-cart-item-lines dt::after{content:":"}
.gg-cart-item-lines dd{margin:0;color:var(--gg-text)}
.gg-cart-item-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.gg-cart-item-side strong{color:var(--gg-gold-text);font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.gg-cart-remove{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:none;color:var(--gg-subtle);cursor:pointer;transition:color var(--gg-motion),border-color var(--gg-motion)}
.gg-cart-remove:hover{border-color:var(--gg-border-soft);color:var(--gg-gold-text)}
.gg-cart-remove:focus-visible,.gg-cart-close:focus-visible,.gg-cart-checkout:focus-visible,.gg-cart-continue:focus-visible{outline:2px solid var(--gg-focus);outline-offset:3px}

.gg-cart-foot{display:grid;gap:12px;padding:18px 24px 24px;border-top:1px solid var(--gg-divider-soft)}
.gg-cart-subtotal{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.gg-cart-subtotal span{color:var(--gg-muted);font-size:15px}
.gg-cart-subtotal strong{color:var(--gg-text);font-size:24px;font-variant-numeric:tabular-nums}
.gg-cart-checkout{display:grid;place-items:center;min-height:52px;border-radius:var(--gg-control-radius);background:var(--gg-action-surface);color:var(--gg-on-gold);font-size:16px;font-weight:700;text-decoration:none;box-shadow:inset 0 1px #fff6}
.gg-cart-checkout:hover{background:var(--gg-action-hover)}
.gg-cart-checkout:active{background:var(--gg-action-pressed)}
.gg-cart-continue{min-height:44px;border:1px solid var(--gg-border-soft);border-radius:var(--gg-control-radius);background:none;color:var(--gg-muted);font:inherit;font-weight:600;cursor:pointer}
.gg-cart-continue:hover{border-color:var(--gg-gold-dim);color:var(--gg-text)}
.gg-cart-empty{display:grid;justify-items:center;align-content:center;gap:14px;flex:1;padding:24px;color:var(--gg-muted);text-align:center}
.gg-cart-empty>svg{width:44px;height:44px;color:var(--gg-gold-dim)}
.gg-cart-empty p{margin:0;font-size:16px}
.gg-cart-empty .gg-cart-continue{width:min(240px,100%)}

@media(max-width:720px){
 .site-header .gg-cart-button{order:1;margin-left:auto}
 .site-header .gg-cart-button~.gg-navigation,.site-header .gg-navigation:has(~.gg-cart-button){margin-left:0}
 .gg-cart-head{padding:18px 16px 14px}
 .gg-cart-list{padding:14px 16px}
 .gg-cart-foot{padding:14px 16px 18px}
 .gg-cart-item{grid-template-columns:56px minmax(0,1fr) auto;gap:10px;padding:12px}
 .gg-cart-thumb{width:56px}
}
@media(prefers-reduced-motion:reduce){.gg-cart-drawer[open],.gg-cart-drawer[open]::backdrop{animation:none}}
