.pb-cart-drawer {
	position: fixed;
	inset: 0;
	z-index: 10050;
	visibility: hidden;
	pointer-events: none;
}

.pb-cart-drawer[hidden] { display: block; }
.pb-cart-drawer.is-open { visibility: visible; pointer-events: auto; }

.pb-cart-drawer__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(5, 8, 12, .62);
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .28s ease;
}

.pb-cart-drawer.is-open .pb-cart-drawer__backdrop { opacity: 1; }

.pb-cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	width: min(460px, 100vw);
	height: 100%;
	background: #fff;
	box-shadow: -18px 0 48px rgba(0, 0, 0, .18);
	transform: translateX(100%);
	transition: transform .28s cubic-bezier(.22, .61, .36, 1);
	outline: 0;
}

.pb-cart-drawer.is-open .pb-cart-drawer__panel { transform: translateX(0); }
.pb-cart-open { overflow: hidden; }

.pb-cart-drawer__inner {
	display: flex;
	flex: 1;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
}

.pb-cart-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 28px 22px;
	border-bottom: 1px solid #e8e8e5;
}

.pb-cart-drawer__eyebrow {
	margin: 0 0 4px;
	color: #e73324;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.pb-cart-drawer__head h2 {
	margin: 0;
	color: #111820;
	font-family: "Saira Condensed", sans-serif;
	font-size: clamp(32px, 4vw, 42px);
	font-weight: 700;
	line-height: .95;
	text-transform: uppercase;
}

.pb-cart-drawer__head h2 span {
	color: #777;
	font-family: inherit;
	font-size: .52em;
	font-weight: 600;
}

.pb-cart-drawer__close {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	border: 1px solid #dcdcd8;
	border-radius: 999px;
	background: #fff;
	color: #111820;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.pb-cart-drawer__close:hover { color: #e73324; border-color: #e73324; transform: rotate(4deg); }

.pb-cart-drawer__body {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.pb-cart-drawer__items {
	margin: 0;
	padding: 0 28px;
	list-style: none;
}

.pb-cart-drawer__item {
	position: relative;
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr) 36px;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 22px 0;
	border-bottom: 1px solid #ecece8;
}

.pb-cart-drawer__media {
	width: 86px;
	height: 96px;
	overflow: hidden;
	border-radius: 12px;
	background: #f5f5f2;
}
.pb-cart-drawer__media a { display: block; width: 100%; height: 100%; }
.pb-cart-drawer__media img,
.woocommerce .pb-cart-drawer__media img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.pb-cart-drawer__item-content { display: grid; gap: 8px; min-width: 0; }
.pb-cart-drawer__item-name {
	display: -webkit-box;
	overflow: hidden;
	color: #111820;
	font-family: "Saira Condensed", sans-serif;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.12;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
.pb-cart-drawer__item-name:hover { color: #e73324; }
.pb-cart-drawer__item-content dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; margin: 0; color: #777; font-size: 11px; }
.pb-cart-drawer__item-content dl.variation dt,
.pb-cart-drawer__item-content dl.variation dd { margin: 0; padding: 0; }

.pb-cart-drawer__item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pb-cart-drawer__item-price { color: #111820; font-size: 14px; font-weight: 800; white-space: nowrap; }

.pb-cart-drawer__quantity {
	display: grid;
	grid-template-columns: 32px 38px 32px;
	height: 34px;
	overflow: hidden;
	border: 1px solid #d8d8d4;
	border-radius: 7px;
	background: #fff;
}
.pb-cart-drawer__quantity button,
.pb-cart-drawer__quantity input {
	display: grid;
	width: 100%;
	height: 32px;
	min-height: 32px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111820;
	font-size: 14px;
	line-height: 1;
	text-align: center;
}
.pb-cart-drawer__quantity button { cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.pb-cart-drawer__quantity button:hover { background: #e73324; color: #fff; }
.pb-cart-drawer__quantity input { border-right: 1px solid #e4e4e0; border-left: 1px solid #e4e4e0; appearance: textfield; }
.pb-cart-drawer__quantity input::-webkit-inner-spin-button,
.pb-cart-drawer__quantity input::-webkit-outer-spin-button { margin: 0; appearance: none; }

.pb-cart-drawer__remove {
	display: grid;
	align-self: start;
	width: 34px;
	height: 34px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 999px;
	background: #f6f1ef;
	color: #b91e14;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.pb-cart-drawer__remove:hover { background: #e73324; color: #fff; transform: rotate(5deg); }

.pb-cart-drawer__footer {
	flex: 0 0 auto;
	padding: 20px 28px max(24px, env(safe-area-inset-bottom));
	border-top: 1px solid #e8e8e5;
	background: #fff;
	box-shadow: 0 -10px 30px rgba(0, 0, 0, .04);
}
.pb-cart-drawer__subtotal { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #111820; }
.pb-cart-drawer__subtotal span { font-size: 14px; font-weight: 700; }
.pb-cart-drawer__subtotal strong { font-family: "Saira Condensed", sans-serif; font-size: 25px; font-weight: 700; }
.pb-cart-drawer__tax-note { margin: 5px 0 16px; color: #777; font-size: 11px; line-height: 1.4; }
.pb-cart-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pb-cart-drawer__button {
	display: flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 14px;
	border: 1px solid #111820;
	border-radius: 7px;
	font-family: "Saira Condensed", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.pb-cart-drawer__button:hover { transform: translateY(-1px); }
.pb-cart-drawer__button--secondary { background: #fff; color: #111820; }
.pb-cart-drawer__button--secondary:hover { background: #111820; color: #fff; }
.pb-cart-drawer__button--primary { border-color: #e73324; background: #e73324; color: #fff; }
.pb-cart-drawer__button--primary:hover { border-color: #111820; background: #111820; color: #fff; }

.pb-cart-drawer__empty {
	display: flex;
	min-height: 100%;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 48px 30px;
	text-align: center;
}
.pb-cart-drawer__empty-icon { display: grid; width: 76px; height: 76px; margin-bottom: 22px; place-items: center; border-radius: 999px; background: #f8e9e7; color: #e73324; }
.pb-cart-drawer__empty-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pb-cart-drawer__empty h3 { margin: 0 0 8px; font-family: "Saira Condensed", sans-serif; font-size: 30px; text-transform: uppercase; }
.pb-cart-drawer__empty p { max-width: 310px; margin: 0 0 22px; color: #777; line-height: 1.55; }
.pb-cart-drawer__shop-link { display: inline-flex; min-height: 48px; align-items: center; padding: 12px 22px; border-radius: 7px; background: #e73324; color: #fff; font-family: "Saira Condensed", sans-serif; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.pb-cart-drawer__shop-link:hover { background: #111820; color: #fff; }

.pb-cart-drawer__loader {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .72);
	opacity: 0;
	visibility: hidden;
	transition: opacity .16s ease, visibility .16s ease;
}
.pb-cart-drawer.is-loading .pb-cart-drawer__loader { opacity: 1; visibility: visible; }
.pb-cart-drawer__loader span { width: 34px; height: 34px; border: 3px solid #ecece8; border-top-color: #e73324; border-radius: 999px; animation: pb-cart-spin .75s linear infinite; }
@keyframes pb-cart-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
	.pb-cart-drawer__panel { width: 100%; }
	.pb-cart-drawer__head { padding: 20px 18px 18px; }
	.pb-cart-drawer__items { padding: 0 18px; }
	.pb-cart-drawer__item { grid-template-columns: 74px minmax(0, 1fr) 34px; gap: 12px; padding: 18px 0; }
	.pb-cart-drawer__media { width: 74px; height: 82px; }
	.pb-cart-drawer__footer { padding: 16px 18px max(18px, env(safe-area-inset-bottom)); }
	.pb-cart-drawer__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.pb-cart-drawer__backdrop,
	.pb-cart-drawer__panel,
	.pb-cart-drawer__loader { transition: none; }
}

/* v0.9.1.2 — isolate drawer controls from global WooCommerce/button styles. */
body .pb-cart-drawer > button.pb-cart-drawer__backdrop,
body .pb-cart-drawer > button.pb-cart-drawer__backdrop:hover,
body .pb-cart-drawer > button.pb-cart-drawer__backdrop:focus,
body .pb-cart-drawer > button.pb-cart-drawer__backdrop:active {
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: rgba(5, 8, 12, .62);
	background-image: none;
	box-shadow: none;
	transform: none;
	appearance: none;
}

body .pb-cart-drawer button.pb-cart-drawer__close,
body .pb-cart-drawer button.pb-cart-drawer__remove,
body .pb-cart-drawer button.pb-cart-drawer__close:hover,
body .pb-cart-drawer button.pb-cart-drawer__remove:hover,
body .pb-cart-drawer button.pb-cart-drawer__close:focus,
body .pb-cart-drawer button.pb-cart-drawer__remove:focus,
body .pb-cart-drawer button.pb-cart-drawer__close:active,
body .pb-cart-drawer button.pb-cart-drawer__remove:active {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	line-height: 1;
	text-indent: 0;
	box-shadow: none;
	appearance: none;
}

body .pb-cart-drawer button.pb-cart-drawer__close,
body .pb-cart-drawer button.pb-cart-drawer__close:hover,
body .pb-cart-drawer button.pb-cart-drawer__close:focus,
body .pb-cart-drawer button.pb-cart-drawer__close:active {
	width: 42px;
	min-width: 42px;
	max-width: 42px;
	height: 42px;
	min-height: 42px;
	max-height: 42px;
}

body .pb-cart-drawer button.pb-cart-drawer__remove,
body .pb-cart-drawer button.pb-cart-drawer__remove:hover,
body .pb-cart-drawer button.pb-cart-drawer__remove:focus,
body .pb-cart-drawer button.pb-cart-drawer__remove:active {
	width: 34px;
	min-width: 34px;
	max-width: 34px;
	height: 34px;
	min-height: 34px;
	max-height: 34px;
}

body .pb-cart-drawer button.pb-cart-drawer__close:hover,
body .pb-cart-drawer button.pb-cart-drawer__remove:hover {
	transform: none;
}
