/* =====================================================================
   GOKUDO cart drawer. It slides in from the right, backed by the real
   WooCommerce mini-cart, and it loads site-wide.
   ===================================================================== */
.cart-overlay{position:fixed;inset:0;background:var(--scrim);z-index:300;opacity:0;visibility:hidden;transition:.35s;backdrop-filter:blur(2px)}
.cart-overlay.open{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;height:100%;width:440px;max-width:92vw;background:var(--bg);z-index:301;transform:translateX(100%);transition:transform .45s cubic-bezier(.16,1,.3,1);display:flex;flex-direction:column;border-left:1px solid var(--line)}
.cart-drawer.open{transform:none}
.cart-head{display:flex;align-items:center;justify-content:space-between;padding:26px 28px;border-bottom:1px solid var(--line);flex:none}
.cart-head h3{font-family:var(--display);font-weight:700;font-size:24px;text-transform:uppercase;letter-spacing:var(--track-sm)}
.cart-head .x{background:none;border:none;color:var(--muted);font-size:24px;cursor:pointer;line-height:1;transition:color .2s}
.cart-head .x:hover{color:var(--ink)}

/* Drawer body: scrolling item list with a pinned checkout footer */
.cart-drawer-body{flex:1;display:flex;flex-direction:column;min-height:0}
.cart-items-list{flex:1;overflow-y:auto;padding:8px 28px}
.cart-drawer .cart-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--faint);gap:14px;text-align:center;padding:40px 28px}
.cart-drawer .cart-empty .note{font-size:13px}

.citem{display:flex;gap:16px;padding:22px 0;border-bottom:1px solid var(--line2)}
.citem .ci-thumb img{width:72px;height:72px;object-fit:cover;background:var(--bg2);border:1px solid var(--line);display:block}
.citem .ci-info{flex:1;min-width:0}
.citem .ci-info b{font-size:14px;display:block;margin-bottom:4px;line-height:1.2}
.citem .ci-info .ci-meta{font-family:var(--label);font-size:10px;color:var(--faint);letter-spacing:.1em;text-transform:uppercase}
.citem .ci-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:12px;flex:none}
.citem .ci-price{font-weight:700;font-size:14px;white-space:nowrap}
/* The padding enlarges the hit area, and the negative margin keeps the icon in place. */
.citem .ci-rm{background:none;border:none;color:var(--faint);cursor:pointer;transition:color .2s;padding:8px 0 8px 12px;margin:-8px 0 -8px -12px}
.citem .ci-rm svg{display:block;width:16px;height:16px}
.citem .ci-rm:hover{color:var(--blue)}

.cart-foot{padding:22px 28px 26px;border-top:1px solid var(--line);flex:none;background:var(--bg)}
.cart-sub{display:flex;justify-content:space-between;margin-bottom:6px;font-size:13px;color:var(--muted)}
.cart-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.cart-view{display:flex;align-items:center;justify-content:center;padding:15px;border:1px solid var(--line);color:var(--ink);font-family:var(--label);font-size:11px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;transition:background .2s,border-color .2s,color .2s}
.cart-view:hover{border-color:var(--ink);background:var(--ink);color:var(--on-dark)}
/* Careful: .checkout must stay scoped inside .cart-drawer. WooCommerce's own
   checkout form is <form class="checkout">. An unscoped rule here repaints the whole
   checkout page with the var(--blue) accent, then var(--ink) on :hover. The accent
   flashes as the mouse moves.
   This button keeps its own shorter transition
   (background and color only, .2s instead of the shared .25s all-property
   transition). It also keeps its own 18px padding, because the drawer is narrower
   than a full-width page. */
.cart-drawer .checkout{display:flex;align-items:center;justify-content:center;width:100%;border:none;cursor:pointer;font-size:13px;letter-spacing:.22em;padding:18px;transition:background .2s,color .2s;text-decoration:none}

@media(max-width:560px){
	.cart-drawer{width:100%;max-width:100%}
	.cart-items-list,.cart-foot,.cart-head{padding-left:22px;padding-right:22px}
}
