/* Cart drawer. Tokens only. */
.header-us .cart-button .custom-dropdown-menu { display: none !important; }

.ccq-cdrawer[hidden] { display: none; }
.ccq-cdrawer { position: fixed; inset: 0; z-index: 99999 !important; }
.ccq-cdrawer__backdrop { position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, 0.75); animation: ccq-fade var(--ccc-duration, 250ms) var(--ccc-ease, ease-in-out); }
.ccq-cdrawer__panel { position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--ccq-bg, #fff); animation: ccq-cslide var(--ccc-duration, 250ms) var(--ccc-ease, ease-in-out); }
.ccq-cdrawer__inner { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.ccq-cdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--ccc-border, #d9d9d9); }
.ccq-cdrawer__head h2 { margin: 0; font-size: 13px; font-weight: 700; }
.ccq-cdrawer__count { font-weight: 400; }
.ccq-cdrawer .ccq-cdrawer__close { border: 0; background: none; box-shadow: none; padding: 0 4px; font-size: 30px; line-height: 1; cursor: pointer; color: var(--ccc-ink, #0b1014); }
.ccq-cdrawer__empty { display: grid; gap: 16px; justify-items: center; padding: 48px 24px; text-align: center; }

.ccq-cdrawer__progress { padding: 14px 24px 0; font-size: 13px; }
.ccq-cdrawer__progress p { margin: 0 0 8px; }
.ccq-cdrawer__bar { display: block; height: 4px; border-radius: 4px; background: var(--ccc-border, #d9d9d9); overflow: hidden; }
.ccq-cdrawer__bar span { display: block; height: 100%; background: var(--ccc-primary, #1e2934); transition: width var(--ccc-duration, 250ms) var(--ccc-ease, ease-in-out); }

.ccq-cdrawer__lines { flex: 1 1 auto; overflow: auto; margin: 0; padding: 8px 24px; list-style: none; }
.ccq-cdrawer__line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ccc-border, #d9d9d9); }
.ccq-cdrawer__line.is-busy { opacity: 0.5; pointer-events: none; }
.ccq-cdrawer__img img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--ccc-radius, 4px); display: block; }
.ccq-cdrawer__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; color: var(--ccc-text, #515151); }
.ccq-cdrawer__info dl.variation { margin: 0; font-size: 12px; }
.ccq-cdrawer__info dl.variation dt, .ccq-cdrawer__info dl.variation dd { display: inline; margin: 0; }
.ccq-cdrawer__info dl.variation dd p { display: inline; margin: 0; }
.ccq-cdrawer__name { font: 400 18px/1.2 var(--ccc-font-heading, serif); color: var(--ccc-ink, #0b1014); text-decoration: none; }
.ccq-cdrawer__price { font: 600 14px/1.2 var(--ccc-font-body, sans-serif); color: var(--ccc-ink, #0b1014); }
.ccq-cdrawer__qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.ccq-cdrawer .ccq-cdrawer__qty button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	min-width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--ccc-border, #d9d9d9);
	border-radius: var(--ccc-radius, 4px);
	background: var(--ccc-page, #fff);
	color: var(--ccc-ink, #0b1014);
	font: 600 16px/1 var(--ccc-font-body, sans-serif);
	cursor: pointer;
	box-shadow: none;
	box-sizing: border-box;
	text-align: center;
}
.ccq-cdrawer .ccq-cdrawer__qty button:disabled { opacity: 0.35; cursor: default; }
.ccq-cdrawer .ccq-cdrawer__qty .ccq-cdrawer__remove {
	display: inline-flex;
	align-items: center;
	width: auto;
	min-width: 0;
	height: auto;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ccc-text, #515151);
	font: 400 13px/1.2 var(--ccc-font-body, sans-serif);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.ccq-cdrawer__ups { padding: 16px 24px; border-top: 1px solid var(--ccc-border, #d9d9d9); }
.ccq-cdrawer__ups h3 { margin: 0 0 12px; font-size: 12px; font-weight: 700; }
.ccq-cdrawer__uplist { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.ccq-cdrawer__uplist::-webkit-scrollbar { display: none; }
.ccq-cdrawer__up { flex: 0 0 110px; display: flex; flex-direction: column; gap: 4px; scroll-snap-align: start; text-decoration: none; color: inherit; }
.ccq-cdrawer__up img { width: 110px; height: 110px; object-fit: cover; border-radius: var(--ccc-radius, 4px); }
.ccq-cdrawer__upname { font: 400 15px/1.2 var(--ccc-font-heading, serif); color: var(--ccc-ink, #0b1014); }
.ccq-cdrawer__upprice { font-size: 12px; }

.ccq-cdrawer__note { padding: 0 24px 12px; font-size: 13px; }
.ccq-cdrawer__note summary { cursor: pointer; padding: 8px 0; }
.ccq-cdrawer__note textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--ccc-border, #d9d9d9); border-radius: var(--ccc-radius, 4px); font: 400 14px/1.4 var(--ccc-font-body, sans-serif); }
.ccq-cdrawer__foot { display: grid; gap: 10px; padding: 16px 24px 20px; border-top: 1px solid var(--ccc-border, #d9d9d9); background: var(--ccq-bg, #fff); }
.ccq-cdrawer__sub { display: flex; justify-content: space-between; margin: 0; font: 400 14px/1 var(--ccc-font-body, sans-serif); }
.ccq-cdrawer__foot .ccq-btn { width: 100%; }
.ccq-cdrawer__foot .ccq-btn--link { justify-self: center; width: auto; }
body.ccq-cart-open { overflow: hidden; }
@keyframes ccq-cslide { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
