/* ==========================================================================
   Slide cart + easy checkout sheet (Naturo-style flow, site theme)
   ========================================================================== */

.pb-slide-cart,
.pb-easy,
.pb-vary {
	font-family: 'Hind Siliguri', 'Manrope', system-ui, sans-serif;
}

.pb-slide-cart {
	position: fixed;
	inset: 0;
	z-index: 100040;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
}
.pb-slide-cart.is-open {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
}
.pb-slide-cart__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.pb-slide-cart.is-open .pb-slide-cart__backdrop { opacity: 1; }
.pb-slide-cart__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(380px, 88vw);
	height: 100%;
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
	transform: translateX(100%);
	transition: transform 0.28s ease;
}
.pb-slide-cart.is-open .pb-slide-cart__panel { transform: none; }

.pb-slide-cart__head {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 0.6rem;
	padding: 0.95rem 1rem;
	border-bottom: 1px solid #eef2f7;
}
.pb-slide-cart__back {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	border: 0;
	background: none;
	color: var(--pb-action-blue, #2563eb);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 650;
	cursor: pointer;
	padding: 0;
}
.pb-slide-cart__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}
.pb-slide-cart__badge {
	min-width: 1.7rem;
	height: 1.7rem;
	padding: 0 0.4rem;
	border-radius: 999px;
	background: var(--pb-action-blue, #2563eb);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 0.78rem;
	font-weight: 800;
}
.pb-slide-cart__body {
	flex: 1;
	overflow: auto;
	padding: 0.9rem 1rem 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.pb-slide-cart__empty {
	margin: auto;
	text-align: center;
	color: #64748b;
	padding: 2rem 1rem;
}
.pb-slide-cart__empty strong {
	display: block;
	color: #0f172a;
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}
.pb-slide-cart__item {
	display: flex;
	gap: 0.7rem;
	padding: 0.7rem;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	background: #fff;
}
.pb-slide-cart__thumb {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #f8fafc;
	flex-shrink: 0;
}
.pb-slide-cart__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pb-slide-cart__info {
	min-width: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.45rem;
}
.pb-slide-cart__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
}
.pb-slide-cart__name {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 750;
	line-height: 1.35;
}
.pb-slide-cart__name a { color: inherit; text-decoration: none; }
.pb-slide-cart__remove {
	border: 0;
	background: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 0.15rem;
	line-height: 0;
}
.pb-slide-cart__remove:hover { color: #dc2626; }
.pb-slide-cart__remove .pb-icon { width: 1rem; height: 1rem; }
.pb-slide-cart__price { font-size: 0.95rem; color: #0f172a; }
.pb-slide-cart__step {
	display: inline-flex;
	align-items: center;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
.pb-slide-cart__step button {
	width: 1.85rem;
	height: 1.85rem;
	border: 0;
	background: #f8fafc;
	color: #0f172a;
	font-size: 1rem;
	cursor: pointer;
}
.pb-slide-cart__step span {
	min-width: 1.6rem;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 750;
}
.pb-slide-cart__foot {
	padding: 0.9rem 1rem 1.15rem;
	border-top: 1px solid #eef2f7;
	background: #fff;
}
.pb-slide-cart__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
	font-weight: 750;
}
.pb-slide-cart__total strong { font-size: 1.2rem; }
.pb-slide-cart__cta,
.pb-easy__submit {
	width: 100%;
	border: 0;
	border-radius: 12px;
	min-height: 48px;
	background: var(--pb-action-blue, #2563eb);
	color: #fff;
	font: inherit;
	font-weight: 800;
	font-size: 1rem;
	cursor: pointer;
}
.pb-slide-cart__cta:hover,
.pb-easy__submit:hover { background: var(--pb-action-hover, #1d4ed8); }
.pb-slide-cart__page {
	display: block;
	margin-top: 0.65rem;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 650;
	color: var(--pb-action-blue, #2563eb);
	text-decoration: none;
}

/* —— Easy checkout sheet —— */
.pb-easy,
.pb-easy h1,
.pb-easy h2,
.pb-easy h3,
.pb-easy h4,
.pb-easy h5,
.pb-easy h6,
.pb-easy button,
.pb-easy input,
.pb-easy textarea,
.pb-easy select,
.pb-easy label,
.pb-easy strong,
.pb-easy span,
.pb-easy p,
.pb-easy a {
	font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}
.pb-easy {
	position: fixed;
	inset: 0;
	z-index: 100050;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	color: #1a1a1a;
}
.pb-easy.is-open {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
}
.pb-easy__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	opacity: 0;
	transition: opacity 0.25s ease;
}
.pb-easy.is-open .pb-easy__backdrop { opacity: 1; }
.pb-easy__sheet {
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(980px, 100%);
	height: min(92dvh, 100%);
	max-height: 100%;
	transform: translate(-50%, 110%);
	transition: transform 0.3s ease;
	background: #fff;
	border-radius: 24px 24px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.16);
}
.pb-easy.is-open .pb-easy__sheet { transform: translate(-50%, 0); }

@media (min-width: 860px) {
	.pb-easy__sheet {
		top: 50%;
		bottom: auto;
		width: min(980px, calc(100% - 48px));
		height: min(860px, calc(100% - 40px));
		max-height: calc(100% - 40px);
		border-radius: 24px;
		transform: translate(-50%, 40%);
	}
	.pb-easy.is-open .pb-easy__sheet {
		transform: translate(-50%, -50%);
	}
}
.pb-easy__head {
	position: relative;
	padding: 1rem 3.2rem 0.85rem 1.25rem;
	flex-shrink: 0;
	background: #fff;
}
.pb-easy__handle {
	display: block;
	width: 42px;
	height: 4px;
	border-radius: 999px;
	background: #e5e7eb;
	margin: 0 auto 0.75rem;
}
@media (min-width: 860px) {
	.pb-easy__handle { display: none; }
	.pb-easy__head { padding-top: 1.15rem; }
}
.pb-easy__title {
	margin: 0;
	text-align: center;
	font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
	color: #171717;
}
.pb-easy__x {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #525252;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.pb-easy__x:hover { color: #171717; }
.pb-easy__x .pb-icon { width: 1.15rem; height: 1.15rem; }
.pb-easy__form {
	flex: 1 1 0%;
	min-height: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0 1.35rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
	background: #fff;
}
.pb-easy__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 2rem;
	align-items: start;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0.4rem;
}
.pb-easy__card {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin-bottom: 1.35rem;
}
.pb-easy__card-head,
.pb-easy__sub,
.pb-easy__sum-row,
.pb-easy__item-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.6rem;
}
.pb-easy__card-head {
	margin-bottom: 0.85rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid #f0f0f0;
}
.pb-easy__card-head h3,
.pb-easy__card-title {
	margin: 0 0 0.85rem;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #171717;
}
.pb-easy__card-head h3 { margin: 0; }
.pb-easy__card-head span {
	min-width: 2rem;
	height: 1.65rem;
	padding: 0 0.55rem;
	border-radius: 999px;
	background: #f4f4f5;
	color: #525252;
	font-size: 0.8rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.pb-easy__sub span,
.pb-easy__sum-row span {
	color: #525252;
	font-size: 0.95rem;
	font-weight: 500;
}
.pb-easy__items { display: flex; flex-direction: column; gap: 1rem; margin: 0.2rem 0 0.9rem; }
.pb-easy__item { display: flex; gap: 0.85rem; align-items: flex-start; }
.pb-easy__item-body { min-width: 0; flex: 1; }
.pb-easy__thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: #f5f5f4;
	flex-shrink: 0;
}
.pb-easy__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-easy__item-name {
	margin: 0 0 0.4rem;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.45;
	color: #171717;
}
.pb-easy__item-meta strong {
	font-size: 0.95rem;
	font-weight: 600;
	color: #171717;
}
.pb-easy .pb-slide-cart__step {
	border-color: #ececec;
	border-radius: 10px;
	background: #fafafa;
}
.pb-easy .pb-slide-cart__step button {
	background: transparent;
	font-family: inherit;
	font-weight: 600;
}
.pb-easy__sub {
	padding-top: 0.85rem;
	border-top: 1px solid #f0f0f0;
	font-size: 0.95rem;
}
.pb-easy__sub strong { font-size: 1rem; font-weight: 700; }
.pb-easy__choice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border: 1px solid #ececec;
	border-radius: 12px;
	margin-bottom: 0.55rem;
	cursor: pointer;
	background: #fff;
}
.pb-easy__choice:last-child { margin-bottom: 0; }
.pb-easy__choice.is-selected,
.pb-easy__choice:has(input:checked) {
	border-color: #c7d2fe;
	background: #f8faff;
}
.pb-easy__choice input {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	margin: 0 0.55rem 0 0;
	border: 2px solid #d4d4d4;
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
	position: static;
	opacity: 1;
	pointer-events: none;
	box-shadow: none;
}
.pb-easy__choice:has(input:checked) input,
.pb-easy__choice.is-selected input {
	border-color: var(--pb-action-blue, #2563eb);
	box-shadow: inset 0 0 0 4px var(--pb-action-blue, #2563eb);
}
.pb-easy__choice-label {
	flex: 1;
	font-size: 0.98rem;
	font-weight: 500;
	color: #171717;
}
.pb-easy__choice-price {
	font-size: 0.98rem;
	font-weight: 600;
	color: #171717;
}
.pb-easy__field {
	display: block;
	margin-bottom: 0.9rem;
}
.pb-easy__field span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.92rem;
	font-weight: 600;
	color: #262626;
}
.pb-easy__field input,
.pb-easy__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #e7e7e7;
	border-radius: 10px;
	padding: 0.8rem 0.95rem;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 400;
	line-height: 1.45;
	background: #fafafa;
	color: #171717;
}
.pb-easy__field textarea { min-height: 88px; resize: vertical; }
.pb-easy__field input::placeholder,
.pb-easy__field textarea::placeholder {
	color: #a3a3a3;
	font-weight: 400;
}
.pb-easy__field input:focus,
.pb-easy__field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--pb-action-blue, #2563eb);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.pb-easy .erd-otp { margin: 0 0 0.9rem; }
.pb-easy .erd-otp__msg:not([hidden]) {
	display: block;
}
.pb-easy__sum-row { margin-bottom: 0.65rem; }
.pb-easy__sum-row strong { font-size: 0.98rem; font-weight: 600; }
.pb-easy__sum-row--grand {
	margin-top: 0.35rem;
	padding-top: 0.75rem;
	border-top: 1px solid #f0f0f0;
}
.pb-easy__sum-row--grand span,
.pb-easy__sum-row--grand strong {
	font-size: 1.08rem;
	font-weight: 700;
	color: #171717;
}
.pb-easy__foot {
	flex-shrink: 0;
	margin-top: 0;
	padding-top: 0.85rem;
	background: #fff;
	border-top: 1px solid #f0f0f0;
}
.pb-easy__agree {
	display: flex;
	gap: 0.6rem;
	align-items: flex-start;
	margin: 0 0 0.95rem;
	font-size: 0.9rem;
	font-weight: 400;
	color: #404040;
	line-height: 1.55;
}
.pb-easy__agree input {
	width: 16px;
	height: 16px;
	margin-top: 0.2rem;
	accent-color: var(--pb-action-blue, #2563eb);
	flex-shrink: 0;
}
.pb-easy__agree a { color: var(--pb-action-blue, #2563eb); font-weight: 600; }
.pb-easy__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	border-radius: 10px;
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}
.pb-easy__submit strong { font-weight: 700; }
.pb-easy__submit.is-busy { opacity: 0.7; pointer-events: none; }
.pb-easy__note {
	margin: 0.7rem 0 0;
	text-align: center;
	font-size: 0.86rem;
	font-weight: 400;
	color: #737373;
	line-height: 1.55;
}
.pb-easy__status {
	margin: 0.55rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	color: #dc2626;
}
.pb-easy__status.is-ok { color: #16a34a; }

/* —— Variation picker —— */
.pb-vary {
	position: fixed;
	inset: 0;
	z-index: 100060;
	pointer-events: none;
	visibility: hidden;
	opacity: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.pb-vary.is-open {
	pointer-events: auto;
	visibility: visible;
	opacity: 1;
}
.pb-vary__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.5);
	opacity: 0;
	transition: opacity 0.22s ease;
}
.pb-vary.is-open .pb-vary__backdrop { opacity: 1; }
.pb-vary__box {
	position: relative;
	width: min(440px, 100%);
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding: 1rem 1.1rem 1.2rem;
	transform: translateY(110%);
	transition: transform 0.28s ease;
}
.pb-vary.is-open .pb-vary__box { transform: none; }
@media (min-width: 640px) {
	.pb-vary { align-items: center; }
	.pb-vary__box { border-radius: 20px; }
}
.pb-vary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.7rem;
	margin-bottom: 0.85rem;
}
.pb-vary__ident { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.pb-vary__ident img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
	background: #f1f5f9;
}
.pb-vary__ident h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
}
.pb-vary__label {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #64748b;
}
.pb-vary__list { display: flex; flex-direction: column; gap: 0.5rem; }
.pb-vary__opt {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.6rem;
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	padding: 0.75rem 0.85rem;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.pb-vary__opt.is-selected {
	border-color: var(--pb-action-blue, #2563eb);
	background: #eff6ff;
}
.pb-vary__opt.is-disabled { opacity: 0.45; cursor: not-allowed; }
.pb-vary__opt-name { font-weight: 750; }
.pb-vary__opt-price { font-weight: 800; }
.pb-vary__opt-price del { color: #94a3b8; font-weight: 600; margin-right: 0.25rem; }
.pb-vary__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
	margin-top: 1rem;
}
.pb-vary__actions .pb-btn { min-height: 44px; width: 100%; }

body.pb-easy-lock { overflow: hidden; }

/* —— Floating cart (right edge, Naturo-style) —— */
.pb-float-cart {
	position: fixed;
	top: 50%;
	right: 0;
	z-index: 100020;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	width: 60px;
	min-width: 60px;
	padding: 0.75rem 0.25rem 0.7rem;
	border: 0;
	border-radius: 12px 0 0 12px;
	background: #fff;
	box-shadow: 0 14px 34px -12px rgba(15, 23, 42, 0.35);
	color: #0f172a;
	font-family: 'Hind Siliguri', 'Manrope', system-ui, sans-serif;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.pb-float-cart:hover {
	transform: translateY(-50%) translateX(-2px);
}
.pb-float-cart__icon {
	position: relative;
	width: 2.15rem;
	height: 2.15rem;
	display: grid;
	place-items: center;
	color: #0f172a;
}
.pb-float-cart__icon .pb-icon {
	width: 1.55rem;
	height: 1.55rem;
}
.pb-float-cart__count {
	position: absolute;
	top: -0.35rem;
	right: -0.45rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.28rem;
	border-radius: 999px;
	background: var(--pb-action-blue, #2563eb);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	line-height: 1.15rem;
	text-align: center;
}
.pb-float-cart__price {
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	color: #0f172a;
}
.pb-float-cart__price .woocommerce-Price-amount,
.pb-float-cart__price .amount {
	color: inherit;
	font-weight: inherit;
	font-size: inherit;
}
.pb-float-cart.is-empty .pb-float-cart__count { opacity: 0.85; }
body.pb-easy-lock .pb-float-cart {
	opacity: 0;
	pointer-events: none;
}

@media (max-width: 800px) {
	.pb-easy__grid { grid-template-columns: 1fr; }
	.pb-easy__sheet {
		height: min(94dvh, 100%);
		max-height: 100%;
	}
	.pb-slide-cart__back span:last-child { display: none; }
}

@media (max-width: 900px) {
	.pb-float-cart {
		display: none;
	}
}

/* Product card Buy Now — match Add to cart size */
.pb-card__footer-cta .pb-btn--buy-now {
	background: #0f172a !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: none !important;
	height: 36px !important;
	min-height: 36px !important;
	padding: 0 0.4rem !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	border-radius: var(--pb-radius-md) !important;
}
.pb-card__footer-cta .pb-btn--buy-now:hover {
	background: #1e293b !important;
}
