/* =====================================================
BoxJojo Commerce – Styles
===================================================== */

:root {
	--bjc-blue:        #d90b31;
	--bjc-blue-dark:   #f5c4aa;
	--bjc-blue-light:  #f5c4aa;
	--bjc-text:       #353a3f;
	--bjc-muted:      #666;
	--bjc-border:     #e0e0e0;
	--bjc-bg:         #F5F0EA;
	--bjc-white:      #ffffff;
	--bjc-radius:     4px;
	--bjc-shadow:     0 2px 12px rgba(0,0,0,.08);
	--bjc-transition: 0.3s ease-in-out;
}

/* ── Reset inside plugin ── */
.bjc-cart-wrap *,
.bjc-checkout-wrap *,
.bjc-thankyou-wrap * {
	box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

/* =====================================================
PAGE TITLES
===================================================== */
.bjc-page-title {
	font-size: 37px;
	font-weight: 600;
	color: #2a2a2a;
	margin: 0 0 28px;
	padding-bottom: 12px;
	border-bottom: 3px solid #d90b31;
	display: inline-block;
}

/* =====================================================
BUTTONS
===================================================== */
.bjc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .5px;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	line-height: 1;
	font-family: 'Open Sans', sans-serif;
}
.bjc-btn-primary {
	background: #d90b31;
	color: #ffffff;
	border-color: #d90b31;
}
.bjc-btn-primary:hover {
	background: #f5c4aa;
	border-color: #f5c4aa;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(77,111,216,.3);
}
.bjc-btn-outline {
	background: transparent;
	color: #d90b31;
	border-color: #d90b31;
}
.bjc-btn-outline:hover {
	background: #d90b31;
	color: #ffffff;
}

/* =====================================================
EMPTY CART
===================================================== */
.bjc-empty-cart {
	text-align: center;
	padding: 60px 20px;
}
.bjc-empty-icon {
	font-size: 64px;
	margin-bottom: 16px;
	opacity: .5;
}
.bjc-empty-cart p {
	font-size: 18px;
	color: var(--bjc-muted);
	margin-bottom: 24px;
}

/* =====================================================
CART TABLE
===================================================== */
.bjc-cart-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 0 40px;
}

.bjc-cart-table-wrap {
	overflow-x: auto;
	border-radius: 4px;
	box-shadow: var(--bjc-shadow);
	background: #ffffff;
}

.bjc-cart-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.bjc-cart-table thead th {
	padding: 14px 16px;
	text-align: left;
	font-weight: 600;
	color: #2a2a2a;
	border-bottom: 2px solid var(--bjc-border);
	white-space: nowrap;
	background: #f1eee4;
}
.bjc-cart-table tbody td {
	padding: 16px;
	border-bottom: 1px solid var(--bjc-border);
	vertical-align: middle;
}
.bjc-cart-table tfoot td {
	padding: 16px;
}

/* Item info */
.bjc-item-info {
	display: flex;
	align-items: center;
	gap: 14px;
}
.bjc-item-thumb {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid var(--bjc-border);
	flex-shrink: 0;
}
.bjc-item-name {
	font-weight: 600;
	color: #353a3f;
}

/* Qty controls */
.bjc-qty-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
}
.bjc-qty-btn {
	width: 34px;
	height: 34px;
	border: none;
	background: #d90b31;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease-in-out;
	flex-shrink: 0;
}
.bjc-qty-btn:hover { background: #f5c4aa; }
.bjc-qty-input {
	width: 52px;
	height: 34px;
	text-align: center;
	border: 2px solid var(--bjc-border);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	-moz-appearance: textfield;
}
.bjc-qty-input::-webkit-inner-spin-button,
.bjc-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.bjc-update-btn {
	padding: 0 14px;
	height: 34px;
	background: #d90b31;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
	white-space: nowrap;
	font-family: 'Open Sans', sans-serif;
}
.bjc-update-btn:hover { background: #f5c4aa; }

/* Remove */
.bjc-remove-btn {
	padding: 6px 14px;
	background: #d90b31;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease-in-out;
	font-family: 'Open Sans', sans-serif;
}
.bjc-remove-btn:hover { background: #f5c4aa; }

/* Totals */
.bjc-total-row td {
	border-top: 2px solid var(--bjc-border);
}
.bjc-total-label {
	text-align: right;
	font-weight: 600;
	font-size: 16px;
	color: #2a2a2a;
}
.bjc-total-val {
	font-weight: 700;
	font-size: 18px;
	color: #d90b31;
}

/* Cart actions */
.bjc-cart-actions {
	display: flex;
	gap: 14px;
	margin-top: 24px;
	justify-content: flex-start;
	flex-wrap: wrap;
}

/* Row removing animation */
.bjc-cart-row.bjc-removing {
	opacity: 0;
	transition: opacity .3s ease;
}
.bjc-empty-icon {
	font-size: 64px;
	margin-bottom: 16px;
	opacity: .5;
	display: flex;
	justify-content: center;
}
/* =====================================================
CHECKOUT V2 – REDESIGNED LAYOUT
===================================================== */

/* ── Wrapper & Page Title ── */
.bjc-checkout-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px 0 60px;
}

/* Step indicator bar */
.bjc-steps-bar {
	display: flex;
	align-items: center;
	margin-bottom: 36px;
}
.bjc-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: #aab;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.bjc-step-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 2px solid #d0d4e8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #aab;
	background: #fff;
	transition: all .3s;
}
.bjc-step-done .bjc-step-dot {
	background: #d90b31;
	border-color: #d90b31;
	color: #fff;
}
.bjc-step-done { color: #d90b31; }
.bjc-step-active .bjc-step-dot {
	background: #d90b31;
	border-color: #d90b31;
	color: #fff;
	box-shadow: 0 0 0 4px rgba(77,111,216,.18);
}
.bjc-step-active { color: #d90b31; }
.bjc-step-line {
	flex: 1;
	height: 2px;
	background: #e0e4f4;
	margin: 0 6px;
	margin-bottom: 18px;
}

/* ── V2 Grid layout ── */
.bjc-checkout-v2-layout {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 32px;
	align-items: start;
}
@media (max-width: 860px) {
	.bjc-checkout-v2-layout { grid-template-columns: 1fr; }
}

/* ── Section blocks (numbered) ── */
.bjc-v2-section {
	margin-bottom: 28px;
}
.bjc-v2-section-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
}
.bjc-v2-section-num {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #d90b31;
	background: rgba(77,111,216,.08);
	border-radius: 6px;
	padding: 6px 10px;
	line-height: 1;
	margin-top: 2px;
	flex-shrink: 0;
}
.bjc-v2-section-title {
	font-size: 17px;
	font-weight: 700;
	color: #1e2030;
	margin: 0 0 3px;
}
.bjc-v2-section-sub {
	font-size: 13px;
	color: #888;
	margin: 0;
}

/* ── V2 card ── */
.bjc-v2-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
	padding: 28px;
}
.bjc-v2-card-inner {
	padding: 24px 28px;
}

/* ── V2 form fields ── */
.bjc-v2-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}
.bjc-v2-field:last-child { margin-bottom: 0; }
.bjc-v2-label {
	font-size: 12px;
	font-weight: 700;
	color: #4a4f6a;
	letter-spacing: .4px;
	text-transform: uppercase;
}
.bjc-req { color: #e74c3c; }

.bjc-v2-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.bjc-v2-three-col {
	grid-template-columns: 1fr 1fr 1fr;
}
.bjc-v2-dims-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 12px;
	margin-bottom: 16px;
}
@media (max-width: 600px) {
	.bjc-v2-field-row { grid-template-columns: 1fr; }
	.bjc-v2-three-col { grid-template-columns: 1fr; }
	.bjc-v2-dims-row  { grid-template-columns: 1fr 1fr; }
	.bjc-cart-wrap { padding: 24px 40px 40px; }
	.bjc-cart-count { top: 2px !important; }
	.email-field { margin-top: 30px;}
}

/* ── Input styles (V2 form) ── */
.bjc-checkout-v2 input[type="text"],
.bjc-checkout-v2 input[type="email"],
.bjc-checkout-v2 input[type="tel"],
.bjc-checkout-v2 input[type="number"],
.bjc-checkout-v2 select,
.bjc-checkout-v2 textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #dde0ef;
	border-radius: 8px;
	font-size: 14px;
	color: #1e2030;
	background-color: #fafbff;
	transition: border-color .25s, box-shadow .25s;
	outline: none;
	font-family: 'Open Sans', sans-serif;
	appearance: none;
	-webkit-appearance: none;
}
.bjc-checkout-v2 select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234D6FD8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
	cursor: pointer;
}
.bjc-checkout-v2 input:focus,
.bjc-checkout-v2 select:focus,
.bjc-checkout-v2 textarea:focus {
	border-color: #d90b31;
	box-shadow: 0 0 0 3px rgba(77,111,216,.14);
	background-color: #fff;
}
.bjc-checkout-v2 textarea { resize: vertical; min-height: 100px; }
.bjc-err { color: #e74c3c; font-size: 12px; display: none; }
.bjc-v2-field.has-error input,
.bjc-v2-field.has-error select,
.bjc-v2-field.has-error textarea { border-color: #e74c3c; }
.bjc-v2-field.has-error .bjc-err { display: block; }

/* Phone wrap */
.bjc-phone-wrap {
	display: flex;
	align-items: center;
	border: 1.5px solid #dde0ef;
	border-radius: 8px;
	overflow: hidden;
	background: #fafbff;
	transition: border-color .25s;
}
.bjc-phone-wrap:focus-within { border-color: #d90b31; }
.bjc-phone-flag {
	padding: 0 12px;
	font-size: 13px;
	color: #888;
	white-space: nowrap;
	background: #f0f2fb;
	border-right: 1px solid #dde0ef;
	height: 100%;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.bjc-phone-wrap input {
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	background: transparent !important;
}

/* ── Form bottom: captcha + submit ── */
.bjc-v2-bottom {
	margin-top: 4px;
}
.bjc-fake-captcha {
	border: 1px solid #dde0ef;
	border-radius: 8px;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 300px;
	background: #f7f8fc;
	font-size: 14px;
	color: #1e2030;
	margin-bottom: 20px;
}
.bjc-fake-captcha label { display: flex; align-items: center; gap: 10px; cursor: pointer; }

/* Form message */
#bjc-form-msg {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 12px;
	display: none;
	font-size: 14px;
}
#bjc-form-msg.bjc-msg-error   { background: #fdecea; color: #c0392b; border: 1px solid #f5c6c6; display: block; }
#bjc-form-msg.bjc-msg-success { background: #eafaf1; color: #1e8449; border: 1px solid #a9dfbf; display: block; }

/* Submit button V2 */
.bjc-v2-submit-btn {
	width: 100%;
	padding: 15px 24px;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	border-radius: 10px;
	letter-spacing: .4px;
	background: linear-gradient(135deg, #d90b31 0%, #f5c4aa 100%);
	box-shadow: 0 4px 18px rgba(77,111,216,.35);
	transition: transform .2s, box-shadow .2s;
}
.bjc-v2-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(77,111,216,.45);
}
.bjc-submit-arrow {
	margin-left: 4px;
	flex-shrink: 0;
	margin-top: 1px;
}

/* ═══════════════════════════════
RIGHT SIDEBAR
═══════════════════════════════ */
.bjc-v2-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Panel base */
.bjc-v2-panel {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 20px rgba(0,0,0,.07);
	overflow: hidden;
}
.bjc-v2-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 22px 14px;
	border-bottom: 1px solid #edf0f7;
}
.bjc-v2-panel-header svg { color: #d90b31; flex-shrink: 0; }
.bjc-v2-panel-header h3 {
	font-size: 15px;
	font-weight: 700;
	color: #1e2030;
	margin: 0;
	flex: 1;
}
.bjc-v2-item-count {
	font-size: 11px;
	font-weight: 700;
	background: rgba(77,111,216,.1);
	color: #d90b31;
	border-radius: 20px;
	padding: 3px 10px;
}

/* Items list */
.bjc-v2-items-list {
	padding: 14px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 200px;
	overflow-y: auto;
}
.bjc-v2-item-row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.bjc-v2-item-img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #edf0f7;
	flex-shrink: 0;
}
.bjc-v2-item-placeholder {
	width: 48px;
	height: 48px;
	background: #f0f2fb;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}
.bjc-v2-item-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.bjc-v2-item-name {
	font-size: 13px;
	font-weight: 600;
	color: #1e2030;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bjc-v2-item-qty {
	font-size: 12px;
	color: #888;
}
.bjc-v2-item-price {
	font-size: 13px;
	font-weight: 700;
	color: #d90b31;
	white-space: nowrap;
}

/* Totals */
.bjc-v2-totals {
	padding: 14px 22px 18px;
	border-top: 1px solid #edf0f7;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.bjc-v2-total-row {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: #555;
}
.bjc-v2-free {
	font-size: 12px;
	font-weight: 700;
	color: #27ae60;
	background: rgba(39,174,96,.1);
	padding: 2px 8px;
	border-radius: 20px;
}
.bjc-v2-grand-total {
	font-size: 16px;
	font-weight: 800;
	color: #1e2030;
	border-top: 1px solid #edf0f7;
	padding-top: 10px;
	margin-top: 2px;
}
.bjc-v2-grand-total span:last-child { color: #d90b31; }

/* ─── Payment Options ─── */
.bjc-v2-payment-panel .bjc-v2-panel-header {
	border-bottom: 1px solid #edf0f7;
}

.bjc-v2-pay-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	margin: 8px 14px;
	border: 2px solid #edf0f7;
	border-radius: 10px;
	cursor: pointer;
	transition: border-color .2s, background .2s, box-shadow .2s;
	position: relative;
}
.bjc-v2-pay-option:hover {
	border-color: #b8c6f0;
	background: #f6f8ff;
}
.bjc-v2-pay-option.bjc-v2-pay-selected {
	border-color: #d90b31;
	background: rgba(77,111,216,.05);
	box-shadow: 0 2px 10px rgba(77,111,216,.12);
}

/* Payment icon bubbles */
.bjc-v2-pay-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.bjc-pay-icon-bank  { background: #e8edfb; color: #d90b31; }
.bjc-pay-icon-paypal { background: #e8f4fd; color: #0070ba; }
.bjc-pay-icon-later { background: #fef3e8; color: #e67e22; }

.bjc-v2-pay-info {
	flex: 1;
	min-width: 0;
}
.bjc-v2-pay-info strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #1e2030;
	margin-bottom: 2px;
}
.bjc-v2-pay-info span {
	font-size: 12px;
	color: #888;
}

/* Check circle */
.bjc-v2-pay-check {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #d0d4e8;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: background .2s, border-color .2s;
	color: transparent;
}
.bjc-v2-pay-option.bjc-v2-pay-selected .bjc-v2-pay-check {
	background: #d90b31;
	border-color: #d90b31;
	color: #fff;
}

.bjc-v2-pay-note {
	font-size: 11.5px;
	color: #aaa;
	text-align: center;
	padding: 10px 20px 16px;
	margin: 0;
}

/* ─── Trust strip ─── */

.bjc-v2-trust-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 8px;
	background: #fff;
	border-radius: 10px;
	font-size: 10.5px;
	font-weight: 700;
	color: #555;
	text-align: center;
	letter-spacing: .3px;
	text-transform: uppercase;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.bjc-v2-trust-item svg { color: #d90b31; }

/* Legacy compatibility */
.bjc-form-card {
	background: #ffffff;
	border-radius: 4px;
	box-shadow: var(--bjc-shadow);
	padding: 32px;
}
.bjc-form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.bjc-two-col   { grid-template-columns: 1fr 1fr; }
.bjc-three-col { grid-template-columns: 1fr 1fr 1fr; }
.bjc-four-col  { grid-template-columns: 1fr 1fr 1fr 1fr; }
.bjc-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.bjc-summary-card, .bjc-payment-card { background:#fff; border-radius:4px; box-shadow:var(--bjc-shadow); padding:24px; margin-bottom:20px; }
.bjc-summary-row { display:flex; justify-content:space-between; font-size:14px; color:#353a3f; padding:8px 0; }
.bjc-summary-total { font-weight:600; font-size:16px; color:#2a2a2a; }
.bjc-free-shipping { color:#27ae60; font-weight:600; }
.bjc-summary-divider { height:1px; background:var(--bjc-border); margin:4px 0; }
.bjc-payment-option { border:2px solid var(--bjc-border); border-radius:4px; padding:14px 16px; display:flex; align-items:flex-start; gap:12px; cursor:pointer; transition:border-color .3s; }
.bjc-payment-option.selected { border-color:#d90b31; }
.bjc-no-hidden-fees { font-size:12px; color:var(--bjc-muted); margin-top:12px; }
.bjc-trust-badges { display:flex; gap:12px; margin-bottom:16px; }
.bjc-badge { flex:1; border-radius:4px; padding:12px; display:flex; align-items:center; gap:8px; font-size:11px; }
.bjc-badge-ssl { background:#f5c4aa; color:#fff; }
.bjc-badge-safe { background:#2a2a2a; color:#fff; }
.bjc-payment-methods { display:flex; gap:8px; flex-wrap:wrap; }
.bjc-pm-option { flex:1; min-width:70px; padding:10px 8px; border:1.5px solid var(--bjc-border); border-radius:4px; text-align:center; font-size:12px; font-weight:600; cursor:pointer; transition:all .3s; color:#353a3f; }
.bjc-pm-option.active, .bjc-pm-option:hover { border-color:#d90b31; color:#d90b31; }
.bjc-submit-btn { width:100%; padding:14px; font-size:15px; justify-content:center; margin-top:8px; }

/* =====================================================
THANK YOU PAGE
===================================================== */
.bjc-thankyou-wrap {
	max-width: 560px;
	margin: 60px auto;
	padding: 24px;
	text-align: center;
}
.bjc-thankyou-card {
	background: #ffffff;
	border-radius: 4px;
	box-shadow: var(--bjc-shadow);
	padding: 48px 40px;
}
.bjc-ty-icon { font-size: 64px; margin-bottom: 20px; }
.bjc-thankyou-card h2 { font-size: 32px; font-weight: 600; color: #2a2a2a; margin: 0 0 14px; }
.bjc-thankyou-card p  { color: var(--bjc-muted); font-size: 15px; line-height: 1.7; margin: 0 0 28px; }

/* =====================================================
CART ICON (header + floating)
===================================================== */
.bjc-cart-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	padding: 4px;
}
.bjc-cart-icon-nav {
	margin-left: 8px;
}
.bjc-cart-svg {
	display: block;
}
.bjc-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	background: #d90b31;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	border: 2px solid #fff;
	animation: bjc-pop .2s ease;
}
@keyframes bjc-pop {
	0%   { transform: scale(0); }
	70%  { transform: scale(1.2); }
	100% { transform: scale(1); }
}

/* Floating icon */
.bjc-cart-icon-float {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 54px;
	height: 54px;
	background: #d90b31;
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 4px 20px rgba(77,111,216,.45);
	z-index: 9999;
	justify-content: center;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.bjc-cart-icon-float:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 24px rgba(77,111,216,.55);
	color: #fff;
}
.bjc-cart-icon-float .bjc-cart-count {
	top: -4px;
	right: -4px;
	border-color: transparent;
}

/* =====================================================
TOAST NOTIFICATION
===================================================== */
.bjc-toast {
	position: fixed;
	bottom: 90px;
	right: 28px;
	background: #2a2a2a;
	color: #fff;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	z-index: 10000;
	box-shadow: 0 4px 20px rgba(0,0,0,.25);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease;
	pointer-events: none;
	max-width: 300px;
	font-family: 'Open Sans', sans-serif;
}
.bjc-toast.bjc-toast-show {
	opacity: 1;
	transform: translateY(0);
}
.bjc-toast.bjc-toast-success { background: #27ae60; }
.bjc-toast.bjc-toast-error   { background: #f5c4aa; }

/* =====================================================
RESPONSIVE TWEAKS
===================================================== */
@media (max-width: 600px) {
	.bjc-form-card { padding: 20px; }
	.bjc-cart-icon-float { bottom: 16px; right: 16px; width: 48px; height: 48px; }

	/* Cart: hide table, show cards */
	.bjc-cart-table-wrap { overflow-x: visible; box-shadow: none; background: transparent; }
	.bjc-cart-table,
	.bjc-cart-table thead,
	.bjc-cart-table tbody,
	.bjc-cart-table tfoot,
	.bjc-cart-table tr,
	.bjc-cart-table td { display: block; width: 100%; }

	.bjc-cart-table thead { display: none; }

	.bjc-cart-row {
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 2px 12px rgba(0,0,0,.07);
		margin-bottom: 14px;
		padding: 14px;
		border-bottom: none !important;
	}

	.bjc-cart-row .col-item { padding: 0 0 10px 0; border-bottom: 1px solid #e8e8e8; margin-bottom: 10px; }
	.bjc-item-thumb { width: 64px; height: 64px; }
	.bjc-item-name { font-size: 15px; }

	.bjc-cart-row .col-price,
	.bjc-cart-row .col-qty,
	.bjc-cart-row .col-subtotal {
		padding: 5px 0;
		border-bottom: none;
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: 14px;
	}
	.bjc-cart-row .col-price::before    { content: "Price";    font-weight: 600; color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
	.bjc-cart-row .col-qty::before      { content: "Quantity"; font-weight: 600; color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }
	.bjc-cart-row .col-subtotal::before { content: "Subtotal"; font-weight: 600; color: #888; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; }

	.bjc-cart-row .col-remove { padding: 10px 0 0; border-bottom: none; text-align: right; }
	.bjc-remove-btn { width: 100%; }
	.bjc-update-btn { display: none; }
	.bjc-qty-wrap { justify-content: flex-end; }

	.bjc-cart-table tfoot { display: block; }
	.bjc-total-row {
		display: flex !important;
		justify-content: space-between;
		align-items: center;
		background: #fff;
		border-radius: 12px;
		box-shadow: 0 2px 12px rgba(0,0,0,.07);
		padding: 14px;
		margin-top: 4px;
	}
	.bjc-total-row .bjc-total-label,
	.bjc-total-row .bjc-total-val { padding: 0; border: none; }
	.bjc-total-label { text-align: left; }

	.bjc-cart-actions { flex-direction: column; }
	.bjc-cart-actions .bjc-btn { width: 100%; text-align: center; justify-content: center; }
	.bjc-checkout-wrap.bjc-checkout-v2{ padding: 24px 30px 60px; }
	.bjc-v2-three-col { margin-bottom : 20px;}
}
/* =====================================================
UPLOAD DESIGN FIELD — drag & drop zone + file list
===================================================== */
.bjc-v2-upload-zone {
	border: 2px dashed #d9d9d9;
	border-radius: 10px;
	background: #fafafa;
	padding: 28px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s, background .2s;
	position: relative;
}
.bjc-v2-upload-zone:hover,
.bjc-v2-upload-zone.bjc-drag-over {
	border-color: #d90b31;
	background: #fff8f8;
}
.bjc-v2-upload-zone.bjc-has-files {
	border-color: #c0392b;
	padding: 16px 20px;
}
.bjc-upload-zone-inner svg {
	color: #d90b31;
	margin-bottom: 10px;
}
.bjc-upload-zone-text {
	font-size: 14px;
	color: #444;
	margin: 0 0 4px;
}
.bjc-upload-zone-sub {
	font-size: 11px;
	color: #aaa;
	margin: 0 0 14px;
}
.bjc-v2-upload-btn {
	display: inline-block;
	background: #d90b31;
	color: #fff !important;
	border: none;
	padding: 9px 22px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.bjc-v2-upload-btn:hover { background: #d90b31; }

/* File list */
.bjc-upload-file-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: none;
}
.bjc-upload-file-item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 6px;
	padding: 8px 12px;
	margin-bottom: 6px;
	font-size: 13px;
}
.bjc-file-icon { font-size: 18px; flex-shrink: 0; }
.bjc-file-name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #333;
	font-weight: 500;
}
.bjc-file-size {
	color: #999;
	font-size: 11px;
	flex-shrink: 0;
}
.bjc-file-remove {
	background: none;
	border: none;
	color: #bbb;
	font-size: 14px;
	cursor: pointer;
	padding: 0 2px;
	line-height: 1;
	flex-shrink: 0;
	transition: color .15s;
}
.bjc-file-remove:hover { color: #c0392b; }

/* =====================================================
TRUST STRIP - SECURE ICONS IMAGE
===================================================== */
.bjc-v2-trust-strip {
	text-align: center;
	padding: 12px 0 4px;
}

/* Submit button placed in summary column below trust strip */
.bjc-summary-submit-btn {
	width: 100%;
	margin-top: 16px;
	padding: 14px;
	font-size: 15px;
	justify-content: center;
	display: flex;
}
.bjc-v2-secure-icons-img {
	max-width: 85%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* Upload summary — shown inside zone after files are selected */
.bjc-upload-summary {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 10px;
	font-size: 14px;
}
.bjc-summary-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: #27ae60;
	color: #fff;
	border-radius: 50%;
	font-size: 14px;
	font-weight: bold;
	flex-shrink: 0;
}
.bjc-summary-label {
	color: #222;
	font-weight: 600;
}
.bjc-add-more-btn {
	background: none;
	border: 1.5px solid #d90b31;
	color: #d90b31;
	border-radius: 5px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.bjc-add-more-btn:hover { background: #c0392b; color: #fff; }

/* File list rows */
.bjc-upload-file-item {
	position: relative;
	overflow: hidden;
}
.bjc-upload-file-item::before {
	content: '';
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 3px;
	background: #27ae60;
	border-radius: 6px 0 0 6px;
}
/* ═══════════════════════════════════════════════
CHECKOUT V3 — US shipping, Cash on Delivery
═══════════════════════════════════════════════ */
.bjc-checkout-v3 { max-width: 1080px; margin: 0 auto; padding: 30px 20px 60px; font-family: 'Open Sans', sans-serif; }
.bjc-checkout-v3 *, .bjc-checkout-v3 *::before, .bjc-checkout-v3 *::after { box-sizing: border-box; }
.bjc-co-title { font-size: 26px; font-weight: 700; color: #1e2030; margin: 0 0 20px; }
.bjc-co-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.bjc-co-main { min-width: 0; }
.bjc-co-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }

.bjc-co-card { background: #fff; border: 1px solid #e6e8f0; border-radius: 14px; padding: 26px; box-shadow: 0 2px 20px rgba(0,0,0,.05); }
.bjc-co-card-title { font-size: 18px; font-weight: 700; color: #1e2030; margin: 0 0 18px; }
.bjc-co-subhead { font-size: 13px; font-weight: 700; color: #1e2030; margin: 22px 0 12px; }
.bjc-co-subhead:first-of-type { margin-top: 0; }
.bjc-co-subnote { font-size: 12.5px; color: #7a8090; margin: -6px 0 14px; }

.bjc-checkout-v3 input[type="text"],
.bjc-checkout-v3 input[type="email"],
.bjc-checkout-v3 input[type="tel"],
.bjc-checkout-v3 input[type="number"],
.bjc-checkout-v3 select,
.bjc-checkout-v3 textarea {
	width: 100%; padding: 11px 14px; border: 1.5px solid #dde0ef; border-radius: 8px;
	font-size: 14px; color: #1e2030; background-color: #fafbff; outline: none;
	transition: border-color .25s, box-shadow .25s; font-family: 'Open Sans', sans-serif;
	appearance: none; -webkit-appearance: none;
}
.bjc-checkout-v3 select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%234D6FD8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer;
}
.bjc-checkout-v3 input:focus,
.bjc-checkout-v3 select:focus,
.bjc-checkout-v3 textarea:focus {
	border-color: #d90b31; box-shadow: 0 0 0 3px rgba(77,111,216,.14); background-color: #fff;
}
.bjc-checkout-v3 textarea { resize: vertical; min-height: 90px; }
.bjc-checkout-v3 .bjc-v2-field { margin-bottom: 14px; }

.bjc-co-specs-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; margin-bottom: 14px; }

.bjc-co-terms { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 4px; font-size: 12.5px; color: #4a4f5c; line-height: 1.6; cursor: pointer; }
.bjc-co-terms input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; }
.bjc-co-terms a { color: #d90b31; text-decoration: underline; }
.bjc-terms-err { margin: 0 0 8px; }

.bjc-co-secure-note { font-size: 12.5px; color: #c47b1a; margin: 16px 0 4px; font-weight: 600; }
.bjc-co-help { font-size: 12.5px; color: #7a8090; margin: 0 0 18px; }
.bjc-co-help a { color: #d90b31; }
.bjc-co-submit { width: auto; min-width: 160px; }

#bjc-form-msg { display: none; margin: 0 0 14px; padding: 10px 14px; border-radius: 8px; font-size: 13px; }
#bjc-form-msg.bjc-msg-error   { display: block; background: #fdecec; color: #c0392b; }
#bjc-form-msg.bjc-msg-success { display: block; background: #e8f8ee; color: #1e8a4c; }

.bjc-co-panel-head { padding: 16px 20px 12px; border-bottom: 1px solid #edf0f7; }
.bjc-co-panel-head h3 { margin: 0; font-size: 16px; font-weight: 700; color: #1e2030; }
.bjc-co-summary-items { padding: 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.bjc-co-sum-row { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #3a3f4a; }
.bjc-co-sum-name { padding-right: 10px; }
.bjc-co-sum-price { font-weight: 600; white-space: nowrap; }
.bjc-co-sum-line { padding: 12px 20px; border-top: 1px solid #edf0f7; }
.bjc-co-free { color: #1e8a4c; font-weight: 700; }
.bjc-co-sum-total { padding: 14px 20px; border-top: 1px solid #edf0f7; font-size: 16px; font-weight: 700; color: #1e2030; }
.bjc-co-sum-total span:last-child { color: #d90b31; }

.bjc-checkout-v3 .bjc-v2-pay-option { margin: 14px 18px; }
.bjc-co-pay-info { display: flex; flex-direction: column; gap: 2px; }
.bjc-co-pay-info strong { font-size: 14px; color: #1e2030; }
.bjc-co-pay-info span { font-size: 12.5px; color: #7a8090; }
.bjc-co-pay-note { font-size: 11.5px; color: #9aa0ad; margin: 0 18px 16px; }

.bjc-co-trust { display: flex; gap: 12px; }
.bjc-co-badge { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; font-size: 9px; line-height: 1.2; letter-spacing: .5px; flex: 1; }
.bjc-co-badge svg { flex-shrink: 0; }
.bjc-co-badge strong { font-size: 12px; }
.bjc-co-badge-green { background: #e8f8ee; color: #1e8a4c; }
.bjc-co-badge-dark  { background: #1e2030; color: #fff; }
.bjc-co-badge-sm { font-size: 8px; opacity: .85; }

@media (max-width: 880px) {
	.bjc-co-grid { grid-template-columns: 1fr; }
	.bjc-co-side { position: static; }
}
@media (max-width: 600px) {
	.bjc-co-specs-row { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
PO PRICE BAR  — [po_add_to_cart buy_now="both"]
and slider card footer
===================================================== */

.bjc-btn-secondary {
	background: transparent;
	color: #d90b31;
	border-color: #d90b31;
}
.bjc-btn-secondary:hover {
	background: #d90b31;
	color: #ffffff;
}

.po-atc-bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.po-price-label {
	font-size: 14px;
	color: #444;
	white-space: nowrap;
}
.po-price-label strong {
	color: var(--bjc-blue);
	font-size: 18px;
}
.po-atc-bar .bjc-btn {
	padding: 10px 18px;
	font-size: 13px;
}

/* ─── Slider card footer ─── */
.owl-bs-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.owl-bs-card-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}
.owl-bs-card-footer {
	padding: 10px 12px 12px;
	border-top: 1px solid #f0f0f0;
}
.owl-bs-card-footer .po-atc-bar {
	gap: 6px;
	flex-wrap: wrap;
	margin:8px 0;
}
.owl-bs-card-footer .po-price-label {
	width: 100%;
	font-size: 12px;
}
.owl-bs-card-footer .bjc-btn {
	flex: 1;
	justify-content: center;
	padding: 8px 10px;
	font-size: 12px;
}
.po-atc-wrap { display: flex; flex-direction: column; gap: 10px; }
.po-payment-portals { max-width: 100%; height: auto; display: block; }

@media(max-width:767px){.po-price-label { width: fit-content;}}
.po-atc-bar .bjc-btn.bjc-btn-secondary{
    background: var(--bjc-blue);
    color: white;
    font-family: 'Poppins';
    font-weight: 500;}
.po-atc-bar .bjc-btn.bjc-btn-secondary:hover{background:white;color:  var(--bjc-blue);}
.po-atc-bar .bjc-btn.bjc-btn-primary{font-family: 'Poppins';font-weight: 500;margin-left: auto;}
.po-atc-bar .bjc-btn.bjc-btn-primary:hover{background: var(--bjc-blue);color: white;}
