/* ===========================================================
   Popup Checkout (CartFlows Style) — সাদা থিম
   =========================================================== */

:root {
	--pcc-accent: #f5a623;
	--pcc-accent-dark: #d98e12;
	--pcc-text: #1c1c1c;
	--pcc-muted: #767676;
	--pcc-border: #e6e6e6;
	--pcc-bg: #ffffff;
	--pcc-bg-soft: #f7f7f8;
	--pcc-green: #17a673;
	--pcc-green-bg: #eafbf4;
	--pcc-radius: 16px;
	--pcc-font: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Trigger buttons ---------- */
.pcc-trigger-btn {
	font-family: var(--pcc-font);
	background: linear-gradient(180deg, var(--pcc-accent), var(--pcc-accent-dark));
	color: #1c1c1c;
	border: none;
	border-radius: 10px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 4px 12px rgba(245, 166, 35, .35);
}
.pcc-trigger-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 166, 35, .45); }
.pcc-inline-btn { width: 100%; justify-content: center; margin-top: 10px; }
.pcc-loop-btn { width: 100%; justify-content: center; margin-top: 8px; padding: 10px 14px; font-size: 13px; }
.pcc-cart-page-btn { width: 100%; justify-content: center; margin-bottom: 10px; }

.pcc-floating-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 99998;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 20px rgba(0,0,0,.12);
}
.pcc-floating-btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

/* ---------- Overlay & modal ---------- */
.pcc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 20, 20, .55);
	z-index: 999999;
	display: none;
	align-items: flex-end;
	justify-content: center;
	font-family: var(--pcc-font);
}
.pcc-overlay.pcc-open { display: flex; }

.pcc-modal {
	width: 100%;
	max-width: 460px;
	max-height: 92vh;
	background: var(--pcc-bg);
	border-radius: 20px 20px 0 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: pccSlideUp .25s ease-out;
	box-shadow: 0 -10px 40px rgba(0,0,0,.2);
}

@media (min-width: 560px) {
	.pcc-overlay { align-items: center; }
	.pcc-modal { border-radius: 20px; max-height: 88vh; }
}

@keyframes pccSlideUp {
	from { transform: translateY(24px); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

.pcc-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--pcc-border);
	flex-shrink: 0;
}
.pcc-modal-header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--pcc-text);
	display: flex;
	align-items: center;
	gap: 8px;
}
.pcc-close-btn {
	width: 32px; height: 32px;
	border-radius: 50%;
	border: none;
	background: var(--pcc-bg-soft);
	color: var(--pcc-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.pcc-close-btn:hover { background: #eee; }

.pcc-modal-body {
	padding: 16px 20px 20px;
	overflow-y: auto;
}

/* ---------- Product card ---------- */
.pcc-product-card {
	background: var(--pcc-bg-soft);
	border: 1px solid var(--pcc-border);
	border-radius: 14px;
	padding: 14px;
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto auto;
	column-gap: 12px;
	margin-bottom: 20px;
}
.pcc-product-thumb {
	width: 56px; height: 56px;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--pcc-border);
	grid-row: 1 / 3;
}
.pcc-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcc-product-info { display: flex; flex-direction: column; justify-content: center; }
.pcc-product-name { font-weight: 700; font-size: 15px; color: var(--pcc-text); line-height: 1.35; }
.pcc-product-price { font-size: 13px; color: var(--pcc-muted); margin-top: 4px; }
.pcc-product-price span { color: var(--pcc-accent-dark); font-weight: 700; }

.pcc-qty-wrap {
	grid-column: 1 / 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed var(--pcc-border);
}
.pcc-qty-label { font-size: 13px; color: var(--pcc-muted); font-weight: 600; }
.pcc-qty-control { display: flex; align-items: center; gap: 14px; }
.pcc-qty-minus, .pcc-qty-plus {
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 1px solid var(--pcc-border);
	background: #fff;
	color: var(--pcc-accent-dark);
	font-size: 18px;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.pcc-qty-input {
	width: 28px;
	text-align: center;
	border: none;
	background: transparent;
	font-weight: 700;
	font-size: 15px;
	color: var(--pcc-text);
}

/* ---------- Form fields ---------- */
.pcc-field { margin-bottom: 16px; }
.pcc-field label {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--pcc-text);
	margin-bottom: 6px;
}
.pcc-input-icon {
	display: flex;
	align-items: center;
	border: 1px solid var(--pcc-border);
	border-radius: 10px;
	background: var(--pcc-bg-soft);
	padding: 0 12px;
}
.pcc-input-icon.pcc-textarea-icon { align-items: flex-start; padding-top: 10px; }
.pcc-ic { font-size: 15px; margin-right: 8px; opacity: .75; flex-shrink: 0; }
.pcc-input-icon input,
.pcc-input-icon textarea {
	border: none;
	background: transparent;
	outline: none;
	width: 100%;
	padding: 11px 0;
	font-size: 14px;
	color: var(--pcc-text);
	font-family: var(--pcc-font);
	resize: none;
}
.pcc-input-icon:focus-within { border-color: var(--pcc-accent); box-shadow: 0 0 0 3px rgba(245,166,35,.15); }

/* ---------- Delivery area ---------- */
.pcc-delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcc-radio-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 1.5px solid var(--pcc-border);
	background: var(--pcc-bg-soft);
	border-radius: 10px;
	padding: 12px;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.pcc-radio-card.active { border-color: var(--pcc-accent); background: #fff8ec; }
.pcc-radio-left { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--pcc-text); }
.pcc-radio-left input { display: none; }
.pcc-radio-dot {
	width: 18px; height: 18px;
	border-radius: 50%;
	border: 2px solid var(--pcc-border);
	flex-shrink: 0;
	position: relative;
}
.pcc-radio-card.active .pcc-radio-dot { border-color: var(--pcc-accent); }
.pcc-radio-card.active .pcc-radio-dot::after {
	content: '';
	position: absolute; inset: 3px;
	border-radius: 50%;
	background: var(--pcc-accent);
}
.pcc-radio-charge { font-size: 12px; font-weight: 700; color: var(--pcc-accent-dark); white-space: nowrap; }

/* ---------- Payment method ---------- */
.pcc-payment-box {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #bfe9d8;
	background: var(--pcc-green-bg);
	border-radius: 12px;
	padding: 14px;
}
.pcc-payment-box .pcc-ic { font-size: 20px; margin: 0; }
.pcc-payment-text { flex: 1; display: flex; flex-direction: column; }
.pcc-payment-text strong { color: var(--pcc-green); font-size: 14px; }
.pcc-payment-text span { color: var(--pcc-muted); font-size: 12px; margin-top: 2px; }
.pcc-check {
	width: 22px; height: 22px;
	border-radius: 50%;
	background: var(--pcc-green);
	color: #fff;
	font-size: 13px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}

/* ---------- Summary ---------- */
.pcc-summary {
	border: 1px solid var(--pcc-border);
	border-radius: 12px;
	padding: 14px;
	margin: 18px 0 16px;
	background: var(--pcc-bg-soft);
}
.pcc-summary-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--pcc-text);
	padding: 5px 0;
}
.pcc-summary-row span:first-child { color: var(--pcc-muted); }
.pcc-summary-total {
	border-top: 1px solid var(--pcc-border);
	margin-top: 6px;
	padding-top: 10px;
	font-weight: 700;
	font-size: 16px;
}
.pcc-summary-total span:last-child { color: var(--pcc-accent-dark); }

/* ---------- Submit ---------- */
.pcc-form-msg {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 10px;
	min-height: 0;
}
.pcc-form-msg.pcc-error { color: #d33; }
.pcc-form-msg.pcc-success { color: var(--pcc-green); }

.pcc-submit-btn {
	width: 100%;
	border: none;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--pcc-accent), var(--pcc-accent-dark));
	color: #1c1c1c;
	font-family: var(--pcc-font);
	font-size: 16px;
	font-weight: 700;
	padding: 15px 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(245,166,35,.35);
}
.pcc-submit-btn:disabled { opacity: .65; cursor: not-allowed; }
.pcc-submit-total {
	background: rgba(0,0,0,.12);
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 14px;
}

/* ---------- Scrollbar (webkit) ---------- */
.pcc-modal-body::-webkit-scrollbar { width: 5px; }
.pcc-modal-body::-webkit-scrollbar-thumb { background: var(--pcc-accent); border-radius: 10px; }

/* ---------- Small screens fine-tune ---------- */
@media (max-width: 360px) {
	.pcc-modal-header h2 { font-size: 16px; }
	.pcc-product-name { font-size: 14px; }
}

/* ---------- Stable modal behavior / accessibility ---------- */
html.pcc-modal-lock,
body.pcc-modal-lock { overflow: hidden !important; }

body.pcc-modal-lock {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
}

.pcc-overlay {
	overscroll-behavior: contain;
	-webkit-tap-highlight-color: transparent;
	touch-action: none;
}
.pcc-modal {
	position: relative;
	contain: layout paint;
	will-change: transform;
	transform: translate3d(0, 24px, 0);
}
.pcc-overlay.pcc-open .pcc-modal {
	animation: pccSlideUp .22s cubic-bezier(.22,.61,.36,1) forwards;
}
.pcc-modal-header {
	position: relative;
	z-index: 3;
	background: var(--pcc-bg);
}
.pcc-close-btn {
	position: relative !important;
	z-index: 10 !important;
	flex: 0 0 32px !important;
	min-width: 32px !important;
	min-height: 32px !important;
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}
.pcc-modal-body {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.pcc-optional {
	font-size: 11px;
	font-weight: 500;
	color: var(--pcc-muted);
	margin-left: 4px;
}
.pcc-order-note-field textarea { min-height: 64px; }

@media (max-width: 559px) {
	.pcc-overlay {
		align-items: flex-end;
		padding: 0 !important;
	}
	.pcc-modal {
		width: 100%;
		max-width: 520px;
		max-height: min(92dvh, 760px);
		border-radius: 18px 18px 0 0;
	}
	.pcc-modal::before {
		content: '';
		position: absolute;
		top: 7px;
		left: 50%;
		width: 42px;
		height: 4px;
		transform: translateX(-50%);
		border-radius: 99px;
		background: #d8d8d8;
		z-index: 5;
	}
	.pcc-modal-header { padding-top: 20px; }
	.pcc-modal-body { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}


/* ---------- Header Cart: fixed/responsive sizing ---------- */
.pcc-elementor-header-cart,
.pcc-elementor-header-cart.pcc-header-cart {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 0;
	max-width: 100%;
	height: 44px;
	min-height: 44px;
	padding: 0 14px;
	line-height: 1;
	white-space: nowrap;
	flex: 0 0 auto;
	overflow: visible;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only {
	width: 54px;
	min-width: 54px;
	max-width: 54px;
	height: 44px;
	min-height: 44px;
	max-height: 44px;
	padding-left: 0;
	padding-right: 0;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon {
	width: 28px;
	height: 28px;
	font-size: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon svg {
	width: 28px !important;
	height: 28px !important;
	max-width: 28px;
	max-height: 28px;
}

.pcc-elementor-header-cart .pcc-cart-count-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	z-index: 3;
	flex: 0 0 auto;
}

.pcc-elementor-header-cart .pcc-header-cart-label,
.pcc-elementor-header-cart .pcc-header-cart-total {
	flex: 0 0 auto;
	white-space: nowrap;
}

.pcc-elementor-header-cart .pcc-cart-count,
.pcc-elementor-header-cart .pcc-header-cart-count,
.pcc-elementor-header-cart .pcc-cart-total,
.pcc-elementor-header-cart .pcc-header-cart-total {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
}

.pcc-elementor-header-cart .pcc-cart-icon,
.pcc-elementor-header-cart .pcc-header-cart-icon {
	flex: 0 0 auto;
	line-height: 1;
}

@media (max-width: 767px) {
	.pcc-elementor-header-cart,
	.pcc-elementor-header-cart.pcc-header-cart {
		height: 40px;
		min-height: 40px;
		padding-left: 10px;
		padding-right: 10px;
	}
}

.pcc-elementor-header-cart {
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
}

/* ---------- Multi-cart / Elementor widgets ---------- */
.pcc-elementor-add-to-cart .pcc-elementor-button-icon { display: inline-flex; line-height: 1; }
.pcc-button-pos-left .pcc-elementor-add-to-cart { margin-left: 0; margin-right: auto; }
.pcc-button-pos-center .pcc-elementor-add-to-cart { margin-left: auto; margin-right: auto; }
.pcc-button-pos-right .pcc-elementor-add-to-cart { margin-left: auto; margin-right: 0; }
.pcc-button-pos-full .pcc-elementor-add-to-cart { width: 100%; margin-left: 0; margin-right: 0; }


.pcc-elementor-add-to-cart,
.pcc-elementor-header-cart {
	font-family: var(--pcc-font);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	position: relative;
	box-sizing: border-box;
	text-decoration: none;
}
.pcc-elementor-add-to-cart { border: 0; }
.pcc-elementor-header-cart { border: 0; background: transparent; }
.pcc-header-cart-icon { display: inline-flex; line-height: 1; }
.pcc-cart-count-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--pcc-accent);
	color: #111;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.pcc-header-cart-total { font-weight: 700; }

.pcc-toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	transform: translate(-50%, 20px);
	z-index: 1000001;
	max-width: calc(100vw - 30px);
	padding: 11px 16px;
	border-radius: 10px;
	background: #1c1c1c;
	color: #fff;
	font-family: var(--pcc-font);
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, transform .18s ease;
}
.pcc-toast-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.pcc-toast-success { background: #16865f; }
.pcc-toast-error { background: #c83d3d; }

.pcc-cart-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.pcc-cart-item {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	padding: 11px;
	border: 1px solid var(--pcc-border);
	border-radius: 12px;
	background: var(--pcc-bg-soft);
}
.pcc-cart-item-thumb { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 9px; overflow: hidden; background: #fff; }
.pcc-cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcc-cart-item-info { min-width: 0; flex: 1; }
.pcc-cart-item-name { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--pcc-text); }
.pcc-cart-item-variation { font-size: 11px; color: var(--pcc-muted); margin-top: 2px; }
.pcc-cart-item-price { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--pcc-accent-dark); }
.pcc-cart-item-actions { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.pcc-cart-item-actions button {
	border: 1px solid var(--pcc-border);
	background: #fff;
	color: var(--pcc-text);
	cursor: pointer;
	font-family: var(--pcc-font);
}
.pcc-mini-minus, .pcc-mini-plus { width: 25px; height: 25px; border-radius: 50%; line-height: 1; }
.pcc-cart-item-actions > span { min-width: 18px; text-align: center; font-size: 12px; font-weight: 700; }
.pcc-remove-item { border-radius: 7px; padding: 4px 8px; font-size: 11px; color: #c33 !important; margin-left: 3px; }
.pcc-cart-total-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	margin-bottom: 16px;
	border: 1px solid var(--pcc-border);
	border-radius: 11px;
	background: var(--pcc-bg-soft);
	font-size: 14px;
	font-weight: 600;
}
.pcc-cart-total-box strong { color: var(--pcc-accent-dark); font-size: 16px; }
.pcc-cart-empty { text-align: center; padding: 24px 10px; color: var(--pcc-muted); font-size: 14px; }
.pcc-cart-view-only .pcc-modal-body { padding-bottom: 18px; }
.pcc-cart-view-only .pcc-cart-item { background: #fff; }
.pcc-cart-view-only .pcc-cart-total-box { margin-bottom: 0; }

@media (max-width: 559px) {
	.pcc-toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
}


/* ---------- Header Cart: prevent theme/Elementor click enlargement ---------- */
.pcc-elementor-header-cart,
.pcc-elementor-header-cart:hover,
.pcc-elementor-header-cart:focus,
.pcc-elementor-header-cart:focus-visible,
.pcc-elementor-header-cart:active {
	box-sizing: border-box !important;
	display: inline-flex !important;
	position: relative !important;
	align-items: center !important;
	justify-content: center !important;
	transform: none !important;
	scale: 1 !important;
	zoom: 1 !important;
	flex: 0 0 auto !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
	transition: none !important;
	animation: none !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:hover,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus-visible,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:active {
	width: 54px !important;
	min-width: 54px !important;
	max-width: 54px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:hover .pcc-header-cart-icon,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus .pcc-header-cart-icon,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:active .pcc-header-cart-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 28px !important;
	min-width: 28px !important;
	max-width: 28px !important;
	height: 28px !important;
	min-height: 28px !important;
	max-height: 28px !important;
	font-size: 28px !important;
	line-height: 1 !important;
	transform: none !important;
	scale: 1 !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon svg,
.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon i {
	width: 28px !important;
	height: 28px !important;
	max-width: 28px !important;
	max-height: 28px !important;
	font-size: 28px !important;
	line-height: 1 !important;
	transform: none !important;
	scale: 1 !important;
}

.pcc-elementor-header-cart .pcc-cart-count-badge {
	position: absolute !important;
	top: -5px !important;
	right: -5px !important;
	margin: 0 !important;
	transform: none !important;
	transition: none !important;
	flex: 0 0 auto !important;
}

@media (max-width: 767px) {
	.pcc-elementor-header-cart.pcc-header-cart-icon-only,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:hover,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:active {
		width: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
	}

	.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon svg,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only .pcc-header-cart-icon i {
		width: 24px !important;
		min-width: 24px !important;
		max-width: 24px !important;
		height: 24px !important;
		min-height: 24px !important;
		max-height: 24px !important;
		font-size: 24px !important;
	}
}


/* ---------- FINAL HEADER CART SIZE LOCK ---------- */
.pcc-elementor-header-cart,
.pcc-elementor-header-cart:hover,
.pcc-elementor-header-cart:focus,
.pcc-elementor-header-cart:focus-visible,
.pcc-elementor-header-cart:active,
.pcc-elementor-header-cart:visited {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	transform: none !important;
	scale: 1 !important;
	zoom: 1 !important;
	animation: none !important;
	transition-property: color, background-color, border-color, box-shadow !important;
	flex-grow: 0 !important;
	flex-shrink: 0 !important;
}

.pcc-elementor-header-cart .pcc-header-cart-icon,
.pcc-elementor-header-cart:hover .pcc-header-cart-icon,
.pcc-elementor-header-cart:focus .pcc-header-cart-icon,
.pcc-elementor-header-cart:focus-visible .pcc-header-cart-icon,
.pcc-elementor-header-cart:active .pcc-header-cart-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 var(--pcc-header-icon-size, 28px) !important;
	width: var(--pcc-header-icon-size, 28px) !important;
	min-width: var(--pcc-header-icon-size, 28px) !important;
	max-width: var(--pcc-header-icon-size, 28px) !important;
	height: var(--pcc-header-icon-size, 28px) !important;
	min-height: var(--pcc-header-icon-size, 28px) !important;
	max-height: var(--pcc-header-icon-size, 28px) !important;
	font-size: var(--pcc-header-icon-size, 28px) !important;
	line-height: 1 !important;
	transform: none !important;
	scale: 1 !important;
}

.pcc-elementor-header-cart .pcc-header-cart-icon svg,
.pcc-elementor-header-cart .pcc-header-cart-icon i,
.pcc-elementor-header-cart:hover .pcc-header-cart-icon svg,
.pcc-elementor-header-cart:hover .pcc-header-cart-icon i,
.pcc-elementor-header-cart:focus .pcc-header-cart-icon svg,
.pcc-elementor-header-cart:focus .pcc-header-cart-icon i,
.pcc-elementor-header-cart:active .pcc-header-cart-icon svg,
.pcc-elementor-header-cart:active .pcc-header-cart-icon i {
	width: var(--pcc-header-icon-size, 28px) !important;
	height: var(--pcc-header-icon-size, 28px) !important;
	max-width: var(--pcc-header-icon-size, 28px) !important;
	max-height: var(--pcc-header-icon-size, 28px) !important;
	font-size: var(--pcc-header-icon-size, 28px) !important;
	line-height: 1 !important;
	transform: none !important;
	scale: 1 !important;
}

.pcc-elementor-header-cart .pcc-cart-count-badge {
	position: absolute !important;
	top: -5px !important;
	right: -5px !important;
	margin: 0 !important;
	transform: none !important;
	transition: none !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:hover,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus-visible,
.pcc-elementor-header-cart.pcc-header-cart-icon-only:active {
	width: 54px !important;
	min-width: 54px !important;
	max-width: 54px !important;
	height: 44px !important;
	min-height: 44px !important;
	max-height: 44px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only {
	--pcc-header-icon-size: 28px;
}

@media (max-width: 767px) {
	.pcc-elementor-header-cart.pcc-header-cart-icon-only,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:hover,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:focus,
	.pcc-elementor-header-cart.pcc-header-cart-icon-only:active {
		width: 48px !important;
		min-width: 48px !important;
		max-width: 48px !important;
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
	}

	.pcc-elementor-header-cart.pcc-header-cart-icon-only {
		--pcc-header-icon-size: 24px;
	}
}

/* ---------- FINAL: prevent header-cart layout jump when AJAX updates total ---------- */
.pcc-elementor-header-cart {
	contain: layout paint;
	overflow: visible !important;
}

.pcc-elementor-header-cart .pcc-header-cart-icon {
	flex: 0 0 var(--pcc-header-icon-size, 28px) !important;
	width: var(--pcc-header-icon-size, 28px) !important;
	height: var(--pcc-header-icon-size, 28px) !important;
	min-width: var(--pcc-header-icon-size, 28px) !important;
	max-width: var(--pcc-header-icon-size, 28px) !important;
	min-height: var(--pcc-header-icon-size, 28px) !important;
	max-height: var(--pcc-header-icon-size, 28px) !important;
}

.pcc-elementor-header-cart .pcc-header-cart-total {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	flex: 0 0 auto !important;
	line-height: 1 !important;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only {
	--pcc-header-icon-size: 28px;
}

.pcc-elementor-header-cart.pcc-header-cart-icon-only.pcc-header-cart-has-total {
	/*
	 * Reserve space from the initial render so AJAX changing the total
	 * never makes the header cart jump/resize after clicking.
	 */
	width: 150px !important;
	min-width: 150px !important;
	max-width: 150px !important;
}

@media (max-width: 767px) {
	.pcc-elementor-header-cart.pcc-header-cart-icon-only.pcc-header-cart-has-total {
		width: 135px !important;
		min-width: 135px !important;
		max-width: 135px !important;
	}
}

/* ---------- LOOP ITEM: Add-to-Cart button stays inside its Elementor container ---------- */
.elementor-widget-pcc_add_to_cart,
.elementor-widget-pcc_add_to_cart > .elementor-widget-container,
.pcc-elementor-add-to-cart {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.elementor-widget-pcc_add_to_cart {
	width: 100%;
	min-width: 0 !important;
	overflow: hidden !important;
}

.elementor-widget-pcc_add_to_cart > .elementor-widget-container {
	width: 100%;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
}

.pcc-elementor-add-to-cart {
	display: flex;
	align-items: center;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
	text-overflow: ellipsis;
	white-space: nowrap;
	word-break: normal;
	box-sizing: border-box !important;
}

.pcc-elementor-add-to-cart .pcc-elementor-button-icon,
.pcc-elementor-add-to-cart > i,
.pcc-elementor-add-to-cart > svg {
	flex: 0 0 auto;
	max-width: 100%;
}

.pcc-elementor-add-to-cart .pcc-elementor-button-icon + * {
	min-width: 0;
}

@media (max-width: 767px) {
	.elementor-widget-pcc_add_to_cart,
	.elementor-widget-pcc_add_to_cart > .elementor-widget-container,
	.pcc-elementor-add-to-cart {
		max-width: 100% !important;
	}
}

/* ---------- PRODUCT CARD CART BUTTON: Elementor-style Position ---------- */
.elementor-widget-pcc_add_to_cart {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

.elementor-widget-pcc_add_to_cart > .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

.pcc-elementor-add-to-cart {
	box-sizing: border-box !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.pcc-button-pos-left .pcc-elementor-add-to-cart {
	width: fit-content;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.pcc-button-pos-center .pcc-elementor-add-to-cart {
	width: fit-content;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.pcc-button-pos-right .pcc-elementor-add-to-cart {
	width: fit-content;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: 0 !important;
}

.pcc-button-pos-full .pcc-elementor-add-to-cart {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: flex !important;
}

.pcc-button-pos-full .pcc-elementor-add-to-cart > * {
	max-width: 100%;
}

@media (max-width: 767px) {
	.pcc-button-pos-full .pcc-elementor-add-to-cart {
		width: 100% !important;
		max-width: 100% !important;
	}
}
