/* ==========================================================================
   BST Logo Preview — UI Styles
   Theme colours are injected as CSS custom properties by PHP at runtime.
   ========================================================================== */

/* -----------------------------------------------------------------------
   Canvas control tooltip
   ----------------------------------------------------------------------- */

.bst-ctrl-tooltip {
	position:         fixed;
	z-index:          99999;
	pointer-events:   none;
	background:       #1f2937;
	color:            #fff;
	font-size:        11px;
	font-weight:      500;
	line-height:      1;
	padding:          5px 8px;
	border-radius:    4px;
	white-space:      nowrap;
	opacity:          0;
	transform:        translateY( 4px );
	transition:       opacity 0.12s ease, transform 0.12s ease;
}

.bst-ctrl-tooltip--visible {
	opacity:   1;
	transform: translateY( 0 );
}

/* -----------------------------------------------------------------------
   Inline wrap (always-visible mode on product pages)
   ----------------------------------------------------------------------- */

.bst-inline-wrap {
	margin: 24px 0;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.bst-inline-wrap .bst-customizer-wrap {
	padding: 16px;
}

.bst-inline-wrap .bst-autosave-notice {
	margin: 12px 16px 0;
	border-radius: 8px;
}

/* -----------------------------------------------------------------------
   Trigger button
   ----------------------------------------------------------------------- */

.bst-trigger-wrap {
	margin: 14px 0;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.bst-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 24px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
	border: 2px solid var(--bst-lc-primary, #2c87c5);
	border-radius: 8px;
	background: transparent;
	color: var(--bst-lc-primary, #2c87c5);
	cursor: pointer;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s;
	line-height: 1.4;
}

.bst-trigger-btn:hover {
	background: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary-text, #fff);
	box-shadow: 0 4px 14px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.35 );
}

.bst-trigger-status {
	font-size: 13px;
	font-weight: 600;
	color: #2e7d32;
}

/* -----------------------------------------------------------------------
   Modal overlay
   ----------------------------------------------------------------------- */

.bst-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease;
}

.bst-modal-overlay.bst-modal-open {
	opacity: 1;
	pointer-events: auto;
}

/* -----------------------------------------------------------------------
   Modal container
   ----------------------------------------------------------------------- */

.bst-modal {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(0, 0, 0, 0.10);
	width: 100%;
	max-width: 980px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	transform: translateY(-16px) scale(0.99);
	transition: transform 0.22s cubic-bezier(0.34, 1.1, 0.64, 1);
	overflow: hidden;
	font-family: var(--bst-lc-font, inherit);
}

.bst-modal-overlay.bst-modal-open .bst-modal {
	transform: translateY(0) scale(1);
}

.bst-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	border-bottom: 1px solid #f0f0f0;
	background: #fff;
	flex-shrink: 0;
}

.bst-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	letter-spacing: -0.01em;
}

.bst-modal-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: #f3f4f6;
	border: none;
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
	color: #6b7280;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
	flex-shrink: 0;
}

.bst-modal-close:hover {
	background: #fee2e2;
	color: #dc2626;
}

.bst-modal-body {
	overflow-y: auto;
	padding: 24px;
	flex: 1;
}

body.bst-modal-active {
	overflow: hidden;
}

/* -----------------------------------------------------------------------
   Customizer wrap
   ----------------------------------------------------------------------- */

.bst-modal-body .bst-customizer-wrap {
	margin: 0;
	border-top: none;
	padding-top: 0;
}

#bst-logo-customizer {
	--bst-lc-primary:      #2c87c5;
	--bst-lc-primary-dark: #1f6da0;
	--bst-lc-primary-rgb:  44, 135, 197;
	--bst-lc-primary-text: #ffffff;
}

.bst-customizer-wrap {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	color: #374151;
	margin: 20px 0 30px;
	border-top: 3px solid var(--bst-lc-primary);
	padding-top: 20px;
}

.bst-customizer-wrap *,
.bst-customizer-wrap *::before,
.bst-customizer-wrap *::after {
	box-sizing: inherit;
}

/* -----------------------------------------------------------------------
   Two-column layout
   ----------------------------------------------------------------------- */

.bst-customizer-layout {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-wrap: wrap;
}

/* -----------------------------------------------------------------------
   Canvas column
   ----------------------------------------------------------------------- */

.bst-canvas-col {
	flex: 0 0 auto;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

/* -----------------------------------------------------------------------
   Mockup image switcher
   ----------------------------------------------------------------------- */

.bst-mockup-switcher {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.bst-mockup-nav {
	width: 48px;
	height: 22px;
	padding: 0;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #f9fafb;
	color: #6b7280;
	font-size: 9px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.bst-mockup-nav:hover:not( :disabled ) {
	background: var(--bst-lc-primary, #2c87c5);
	border-color: var(--bst-lc-primary, #2c87c5);
	color: #fff;
}

.bst-mockup-nav:disabled {
	opacity: 0.3;
	cursor: default;
}

.bst-mockup-thumb {
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	flex-shrink: 0;
	transition: border-color 0.15s, box-shadow 0.15s;
	display: block;
}

.bst-mockup-thumb:hover {
	border-color: var(--bst-lc-primary, #2c87c5);
}

.bst-mockup-thumb.active {
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.25 );
}

.bst-mockup-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* -----------------------------------------------------------------------
   Canvas
   ----------------------------------------------------------------------- */

.bst-canvas-wrap {
	flex: 0 0 auto;
	position: relative;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f9fafb;
	line-height: 0;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.bst-canvas-wrap canvas {
	display: block;
	cursor: default;
}

.bst-canvas-hint {
	font-size: 11px;
	color: #9ca3af;
	text-align: center;
	margin: 6px 0 0;
	line-height: 1.5;
	padding: 0 4px 6px;
}

/* -----------------------------------------------------------------------
   Controls (right column)
   ----------------------------------------------------------------------- */

.bst-controls-wrap {
	flex: 1 1 290px;
	min-width: 290px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.bst-order-section {
	flex: 0 0 100%;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 16px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* -----------------------------------------------------------------------
   Tabs
   ----------------------------------------------------------------------- */

.bst-tabs {
	display: flex;
	margin: 0;
	padding: 6px 6px 0;
	list-style: none;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	gap: 2px;
}

.bst-tab {
	flex: 1;
	padding: 8px 6px;
	text-align: center;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	border-radius: 8px 8px 0 0;
	transition: background 0.15s, color 0.15s;
	user-select: none;
	line-height: 1.3;
}

.bst-tab:hover {
	background: #fff;
	color: var(--bst-lc-primary, #2c87c5);
}

.bst-tab.active {
	background: #fff;
	color: var(--bst-lc-primary, #2c87c5);
	font-weight: 700;
	border-bottom: 2px solid var(--bst-lc-primary, #2c87c5);
	margin-bottom: -1px;
}

/* -----------------------------------------------------------------------
   Tab panels
   ----------------------------------------------------------------------- */

.bst-tab-content {
	display: none;
	padding: 18px;
	background: #fff;
}

.bst-tab-content.active {
	display: block;
}

/* -----------------------------------------------------------------------
   Form elements
   ----------------------------------------------------------------------- */

.bst-field-group {
	margin-bottom: 16px;
}

.bst-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.bst-hint-text {
	color: #9ca3af;
	font-size: 11.5px;
	display: block;
	margin-bottom: 7px;
}

.bst-upload-row,
.bst-url-row {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}

/* Custom file picker button */
.bst-file-hidden {
	position: absolute;
	opacity: 0;
	width: 0.1px;
	height: 0.1px;
	overflow: hidden;
	pointer-events: none;
}

/* Only label-specific overrides — colours/sizing come from .bst-btn */
.bst-file-btn {
	cursor: pointer;
	user-select: none;
	flex-shrink: 0;
}

.bst-file-btn:active {
	transform: scale(0.97);
}

.bst-file-btn svg {
	flex-shrink: 0;
}

.bst-file-name {
	font-size: 12px;
	color: #6b7280;
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bst-url-row input[type="url"],
#bst-text-input,
#bst-font-family,
#bst-font-size {
	flex: 1;
	min-width: 0;
	padding: 8px 11px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bst-url-row input[type="url"]:focus,
#bst-text-input:focus,
#bst-font-family:focus,
#bst-font-size:focus {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
}

#bst-text-color {
	width: 44px;
	height: 36px;
	padding: 2px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	cursor: pointer;
}

.bst-field-row {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	flex-wrap: wrap;
}

.bst-half {
	flex: 1 1 80px;
}

.bst-checkbox-row {
	margin-bottom: 14px;
	gap: 16px;
}

.bst-checkbox-row label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 13px;
}

/* -----------------------------------------------------------------------
   Range sliders
   ----------------------------------------------------------------------- */

.bst-range-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bst-range-row input[type="range"] {
	flex: 1;
	cursor: pointer;
	accent-color: var(--bst-lc-primary, #2c87c5);
	height: 4px;
}

.bst-range-label {
	min-width: 44px;
	font-size: 12px;
	color: #6b7280;
	text-align: right;
	font-weight: 600;
}

/* -----------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------- */

.bst-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: #f9fafb;
	color: #374151;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.bst-btn:hover {
	background: #f3f4f6;
	border-color: #9ca3af;
}

.bst-btn-primary {
	background: var(--bst-lc-primary, #2c87c5);
	border-color: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary-text, #fff);
	box-shadow: 0 1px 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.30 );
}

.bst-btn-primary:hover {
	background: var(--bst-lc-primary-dark, #1f6da0);
	border-color: var(--bst-lc-primary-dark, #1f6da0);
	color: var(--bst-lc-primary-text, #fff);
	box-shadow: 0 4px 12px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.40 );
}

.bst-btn-secondary {
	background: var(--bst-lc-primary, #2c87c5);
	border-color: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary-text, #fff);
	margin-top: 12px;
	width: 100%;
	justify-content: center;
}

.bst-btn-secondary:hover {
	background: var(--bst-lc-primary-dark, #1f6da0);
	border-color: var(--bst-lc-primary-dark, #1f6da0);
	color: var(--bst-lc-primary-text, #fff);
}

.bst-btn-sm {
	padding: 5px 11px;
	font-size: 12px;
	border-radius: 6px;
}

.bst-btn-danger {
	background: #dc2626;
	border-color: #b91c1c;
	color: #fff;
	box-shadow: none;
}

.bst-btn-danger:hover {
	background: #b91c1c;
	border-color: #991b1b;
}

.bst-btn:disabled,
.bst-btn[disabled] {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.bst-btn-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

/* -----------------------------------------------------------------------
   Status messages
   ----------------------------------------------------------------------- */

.bst-status {
	min-height: 20px;
	font-size: 12px;
	font-weight: 500;
	margin-top: 8px;
	padding: 0 2px;
}

.bst-status.success { color: #16a34a; }
.bst-status.error   { color: #dc2626; }
.bst-status.loading { color: #6b7280; }

/* -----------------------------------------------------------------------
   Instructions
   ----------------------------------------------------------------------- */

.bst-instructions {
	background: rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.05 );
	border-left: 3px solid var(--bst-lc-primary, #2c87c5);
	padding: 10px 14px;
	margin: 12px 0;
	border-radius: 0 8px 8px 0;
}

.bst-instructions p {
	margin: 3px 0;
	font-size: 12px;
	color: #6b7280;
}

/* -----------------------------------------------------------------------
   Logo history thumbnails
   ----------------------------------------------------------------------- */

.bst-logo-history {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0;
	min-height: 60px;
}

.bst-logo-history:empty::before {
	content: attr(data-empty);
	color: #9ca3af;
	font-size: 12px;
	font-style: italic;
	align-self: center;
}

.bst-logo-thumb {
	position: relative;
	width: 70px;
	height: 70px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bst-logo-thumb:hover {
	border-color: var(--bst-lc-primary, #2c87c5);
	transform: scale(1.06);
	box-shadow: 0 4px 12px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.25 );
}

.bst-logo-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.bst-logo-thumb .bst-thumb-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	font-size: 13px;
	line-height: 1;
	color: #dc2626;
	cursor: pointer;
	display: none;
	background: rgba(255,255,255,0.90);
	border-radius: 50%;
	width: 16px;
	height: 16px;
	text-align: center;
}

.bst-logo-thumb:hover .bst-thumb-remove {
	display: block;
}

/* -----------------------------------------------------------------------
   Save tab preview
   ----------------------------------------------------------------------- */

.bst-design-preview {
	margin: 14px 0;
	text-align: center;
}

.bst-design-preview img {
	max-width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.bst-save-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.bst-quantity-label {
	margin: 0;
	white-space: nowrap;
	font-weight: 600;
	color: #374151;
}

.bst-quantity-input {
	width: 80px;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s, box-shadow 0.15s;
	-moz-appearance: textfield;
}

.bst-quantity-input::-webkit-inner-spin-button,
.bst-quantity-input::-webkit-outer-spin-button {
	opacity: 1;
}

.bst-quantity-input[readonly]::-webkit-inner-spin-button,
.bst-quantity-input[readonly]::-webkit-outer-spin-button {
	display: none;
}

@keyframes bst-pulse {
	0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.7); }
	70%  { box-shadow: 0 0 0 12px rgba(34,197,94,0);   }
	100% { box-shadow: 0 0 0 0   rgba(34,197,94,0);    }
}
.bst-pulse-highlight {
	animation: bst-pulse 0.9s ease-out 3;
	outline: 2px solid #22c55e !important;
}

.bst-qty-swatch-hint {
	font-size:   11px;
	color:       #6b7280;
	margin:      4px 0 0;
	line-height: 1.4;
	font-style:  italic;
}

.bst-quantity-input:focus {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
}

.bst-price-per-unit {
	font-size: 13px;
	font-weight: 700;
	color: var(--bst-lc-primary, #2c87c5);
	white-space: nowrap;
}

/* -----------------------------------------------------------------------
   Save details block (qty + date + button)
   ----------------------------------------------------------------------- */

.bst-save-details {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bst-save-btn-full {
	width: 100%;
	justify-content: center;
}

.bst-optional-label {
	font-size: 11px;
	font-weight: 400;
	color: #9ca3af;
	margin-left: 4px;
}

.bst-date-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bst-date-input {
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
	color: #111827;
	width: 100%;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bst-date-input:focus {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
}

/* -----------------------------------------------------------------------
   Pricing tiers table
   ----------------------------------------------------------------------- */

.bst-pricing-tiers {
	margin: 12px 0 4px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.bst-tier-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.bst-tier-table thead th {
	background: #f3f4f6;
	padding: 7px 12px;
	text-align: left;
	font-weight: 700;
	color: #374151;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bst-tier-row td {
	padding: 7px 12px;
	border-top: 1px solid #f3f4f6;
	color: #374151;
}

.bst-tier-row.active {
	background: rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.08 );
}

.bst-tier-row.active td {
	color: var(--bst-lc-primary, #2c87c5);
	font-weight: 700;
}

/* -----------------------------------------------------------------------
   Visual guide label on canvas
   ----------------------------------------------------------------------- */

.bst-visual-guide-label {
	margin: 6px 0 2px;
	font-size: 11px;
	color: #9ca3af;
	text-align: center;
	font-style: italic;
	letter-spacing: 0.01em;
}

/* -----------------------------------------------------------------------
   Auto-save restore notice
   ----------------------------------------------------------------------- */

.bst-autosave-notice {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 16px;
	margin-bottom: 12px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 8px;
	font-size: 13px;
	color: #92400e;
}

.bst-autosave-notice span {
	line-height: 1.4;
}

.bst-autosave-actions {
	display: flex;
	gap: 8px;
	width: 100%;
}

.bst-autosave-actions .bst-btn {
	flex: 1;
	width: auto;
	margin-top: 0;
	justify-content: center;
}

/* -----------------------------------------------------------------------
   Artwork tab — info accordion
   ----------------------------------------------------------------------- */

.bst-artwork-info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 12px;
	color: #1e40af;
}

.bst-artwork-info summary {
	padding: 10px 14px;
	cursor: pointer;
	font-weight: 700;
	font-size: 12px;
	color: #1e40af;
	list-style: none;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 7px;
}

.bst-artwork-info summary::-webkit-details-marker {
	display: none;
}

.bst-artwork-info summary::before {
	content: '▶';
	font-size: 9px;
	transition: transform 0.15s;
	display: inline-block;
}

.bst-artwork-info[open] summary::before {
	transform: rotate(90deg);
}

.bst-artwork-info-body {
	padding: 4px 14px 14px;
	border-top: 1px solid #bfdbfe;
}

.bst-artwork-info-body h4 {
	margin: 10px 0 3px;
	font-size: 12px;
	font-weight: 700;
	color: #1e3a8a;
}

.bst-artwork-info-body p {
	margin: 0 0 4px;
	color: #3b82f6;
	line-height: 1.6;
	font-size: 12px;
}

.bst-artwork-info-body strong {
	color: #1e3a8a;
}

/* -----------------------------------------------------------------------
   Artwork tab — notices
   ----------------------------------------------------------------------- */

.bst-required-star {
	color: #dc2626;
	font-weight: 700;
	margin-left: 2px;
}

.bst-artwork-required-notice {
	background: #fffbeb;
	border: 1px solid #fcd34d;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 12px;
	color: #92400e;
	line-height: 1.5;
}

.bst-artwork-disclosure {
	margin-top: 14px;
	padding: 10px 14px;
	background: #f8fafc;
	border-left: 3px solid #94a3b8;
	border-radius: 0 6px 6px 0;
	font-size: 12px;
	color: #475569;
	line-height: 1.5;
}

.bst-print-file-preview {
	margin-top: 10px;
}

.bst-artwork-done {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	border-radius: 8px;
	margin-bottom: 8px;
}

.bst-artwork-done-icon {
	color: #16a34a;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
}

.bst-artwork-done-name {
	font-size: 13px;
	font-weight: 600;
	color: #15803d;
	word-break: break-all;
}

#bst-print-preview-img {
	max-width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-top: 8px;
	display: block;
}

/* -----------------------------------------------------------------------
   Standalone mode — product picker (dropdown)
   ----------------------------------------------------------------------- */

.bst-product-picker {
	padding: 8px 0 20px;
}

.bst-picker-intro {
	font-size: 16px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 20px;
	letter-spacing: -0.01em;
}

.bst-picker-dropdown-wrap {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 440px;
}

.bst-picker-select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.4;
	background: #fff;
	color: #111827;
	cursor: pointer;
	appearance: auto;
	transition: border-color 0.15s, box-shadow 0.15s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bst-picker-select:focus {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 3px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
}

#bst-pick-product-btn {
	align-self: flex-start;
	padding: 11px 28px;
	font-size: 14px;
	border-radius: 10px;
}

.bst-picker-layout {
	display: flex;
	gap: 40px;
	align-items: stretch;
}

.bst-picker-left {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bst-picker-right {
	flex: 0 0 340px;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.bst-picker-product-image {
	width: 340px;
	height: 340px;
	border-radius: 14px;
	border: 2px dashed #d1d5db;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f9fafb;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.bst-picker-product-image.bst-has-image {
	border-style: solid;
	border-color: #e5e7eb;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.bst-picker-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 10px;
}

.bst-picker-image-placeholder {
	font-size: 12px;
	color: #9ca3af;
	text-align: center;
	padding: 16px;
	line-height: 1.5;
}

/* -----------------------------------------------------------------------
   Standalone mode — selected product bar
   ----------------------------------------------------------------------- */

.bst-selected-product-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
	padding: 10px 16px;
	background: rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.06 );
	border-left: 3px solid var(--bst-lc-primary, #2c87c5);
	border-radius: 0 10px 10px 0;
}

.bst-selected-product-name {
	font-weight: 700;
	font-size: 14px;
	color: #111827;
	flex: 1 1 0;
}

#bst-change-product {
	flex-shrink: 0;
	background: transparent;
	border-color: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary, #2c87c5);
	padding: 5px 12px;
	margin: 0;
	width: auto;
	font-size: 12px;
}

#bst-change-product:hover {
	background: var(--bst-lc-primary, #2c87c5);
	border-color: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary-text, #fff);
}

/* -----------------------------------------------------------------------
   Size breakdown grid (Save tab)
   ----------------------------------------------------------------------- */

.bst-size-group {
	margin-top: 4px;
}

.bst-size-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 8px;
	margin-top: 8px;
}

.bst-size-cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.bst-size-label {
	font-size: 11px;
	font-weight: 700;
	color: #374151;
	text-align: center;
	letter-spacing: 0.03em;
}

.bst-size-input {
	width: 100%;
	padding: 7px 4px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s, box-shadow 0.15s;
	-moz-appearance: textfield;
}

.bst-size-input::-webkit-inner-spin-button,
.bst-size-input::-webkit-outer-spin-button {
	opacity: 1;
}

.bst-size-input:focus {
	outline: none;
	border-color: var( --bst-lc-primary, #2c87c5 );
	box-shadow: 0 0 0 3px rgba( var( --bst-lc-primary-rgb, 44, 135, 197 ), 0.15 );
}

.bst-size-total {
	font-size: 12px;
	font-weight: 600;
	margin-top: 6px;
	text-align: right;
}

.bst-size-total-ok    { color: #16a34a; }
.bst-size-total-error { color: #dc2626; }

.bst-status.warning { color: #d97706; }

/* Requirements checklist */
.bst-requirements-checklist {
	background:    #fffbeb;
	border:        1px solid #fbbf24;
	border-radius: 8px;
	padding:       12px 14px;
	margin-bottom: 12px;
}
.bst-req-heading {
	font-size:   12px;
	font-weight: 700;
	color:       #92400e;
	margin:      0 0 8px;
}
.bst-req-list {
	list-style:     none;
	padding:        0;
	margin:         0;
	display:        flex;
	flex-direction: column;
	gap:            5px;
}
.bst-req-list li {
	font-size:    12px;
	padding-left: 20px;
	position:     relative;
	color:        #dc2626;
}
.bst-req-list li::before {
	content:     "✗";
	position:    absolute;
	left:        0;
	font-weight: 700;
}
.bst-req-list li.bst-req-done            { color: #16a34a; }
.bst-req-list li.bst-req-done::before    { content: "✓"; }

/* -----------------------------------------------------------------------
   Product Colour Swatch Picker
   ----------------------------------------------------------------------- */

.bst-colour-swatch-picker {
	padding: 14px 0 12px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 16px;
}

.bst-colour-picker-label {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bst-colour-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.bst-colour-swatch {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: 2px solid transparent;
	border-radius: 50%;
	padding: 2px;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bst-colour-swatch:hover {
	border-color: #d1d5db;
}

.bst-colour-swatch.bst-colour-swatch--active {
	border-color: var( --bst-lc-primary, #2c87c5 );
	box-shadow: 0 0 0 3px rgba( var( --bst-lc-primary-rgb, 44, 135, 197 ), 0.15 );
}

.bst-cs-dot {
	display: block;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba( 0, 0, 0, 0.12 );
	flex-shrink: 0;
}

.bst-cs-label {
	display: none;
}

/* -----------------------------------------------------------------------
   Hat Position Picker Step
   ----------------------------------------------------------------------- */

.bst-position-picker-step {
	padding: 8px 0 24px;
}

.bst-pp-section {
	margin-bottom: 28px;
}

.bst-pp-heading {
	font-size: 17px;
	font-weight: 800;
	color: #111827;
	margin: 0 0 14px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.bst-pp-subheading {
	font-size: 13px;
	color: #6b7280;
	margin: -8px 0 12px;
}

.bst-pp-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 14px;
}

.bst-pp-grid--single {
	grid-template-columns: 1fr;
	max-width: 200px;
}

.bst-pp-grid--all {
	grid-template-columns: repeat( 4, 1fr );
}

.bst-pp-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	border-radius: 10px;
}

.bst-pp-card-inner {
	width: 100%;
	aspect-ratio: 1 / 1;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.bst-pp-card:hover .bst-pp-card-inner {
	border-color: var( --bst-lc-primary, #2c87c5 );
}

.bst-pp-card.bst-pp-selected .bst-pp-card-inner,
.bst-pp-card.bst-pp-selected-extra .bst-pp-card-inner {
	border-color: var( --bst-lc-primary, #2c87c5 );
	box-shadow: 0 0 0 3px rgba( var( --bst-lc-primary-rgb, 44, 135, 197 ), 0.25 );
}

.bst-pp-card.bst-pp-card--active .bst-pp-card-inner {
	border-color: var( --bst-lc-primary, #2c87c5 );
	box-shadow: 0 0 0 4px rgba( var( --bst-lc-primary-rgb, 44, 135, 197 ), 0.45 );
	background: rgba( var( --bst-lc-primary-rgb, 44, 135, 197 ), 0.06 );
}

.bst-pp-card.bst-pp-card--active .bst-pp-label {
	color: var( --bst-lc-primary, #2c87c5 );
	font-weight: 800;
}

.bst-pp-deselect {
	display: none;
	position: absolute;
	top: 4px;
	right: 4px;
	width: 18px;
	height: 18px;
	background: #dc2626;
	color: #fff;
	font-size: 12px;
	line-height: 18px;
	text-align: center;
	border-radius: 50%;
	font-style: normal;
	pointer-events: auto;
	z-index: 2;
}

.bst-pp-card--extra.bst-pp-selected-extra .bst-pp-deselect {
	display: block;
}

.bst-pp-card-inner {
	position: relative;
}

.bst-pp-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 8px;
}

.bst-pp-img[src=""] {
	min-height: 60px;
	background: #f3f4f6;
	padding: 0;
}

.bst-pp-label {
	font-size: 12px;
	font-weight: 600;
	color: #374151;
	text-align: center;
	line-height: 1.3;
}

.bst-pp-price {
	display: block;
	font-size: 11px;
	font-weight: 600;
	color: #059669;
	text-align: center;
	margin-top: 2px;
}

.bst-design-cost {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	margin-bottom: 16px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
	font-size: 13px;
}

.bst-design-cost__label {
	color: #374151;
	font-weight: 500;
}

.bst-design-cost__total {
	font-weight: 700;
	color: #059669;
}

.bst-bulk-note {
	font-size: 12px;
	color: #6b7280;
	font-style: italic;
}

.bst-position-picker-step {
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 24px;
}

/* -----------------------------------------------------------------------
   Responsive — tablet (≤ 680px)
   ----------------------------------------------------------------------- */

@media ( max-width: 680px ) {

	.bst-customizer-layout {
		flex-direction: column;
		gap: 16px;
	}

	.bst-canvas-col {
		flex-direction: column-reverse;
		width: 100%;
	}

	.bst-mockup-switcher {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 6px;
	}

	.bst-mockup-nav {
		width: 26px;
		height: 52px;
		font-size: 9px;
	}

	.bst-canvas-wrap {
		width: 100%;
	}

	.bst-controls-wrap {
		width: 100%;
		min-width: 0;
	}
}

@media ( max-width: 680px ) {
	.bst-pp-grid {
		gap: 10px;
	}
	.bst-pp-grid--all {
		grid-template-columns: repeat( 2, 1fr );
	}
	.bst-pp-heading {
		font-size: 14px;
	}
}

/* -----------------------------------------------------------------------
   Responsive — phone (≤ 480px)
   ----------------------------------------------------------------------- */

@media ( max-width: 480px ) {

	.bst-modal-overlay {
		padding: 0;
		align-items: flex-end;
	}

	.bst-modal {
		max-width: 100%;
		max-height: 92vh;
		border-radius: 20px 20px 0 0;
	}

	.bst-modal-header {
		padding: 16px 20px;
	}

	.bst-modal-header h3 {
		font-size: 16px;
	}

	.bst-modal-body {
		padding: 16px;
	}

	.bst-tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 4px 4px 0;
	}

	.bst-tabs::-webkit-scrollbar {
		display: none;
	}

	.bst-tab {
		font-size: 11px;
		padding: 8px 5px;
		white-space: nowrap;
		flex: 1 0 auto;
	}

	.bst-btn {
		min-height: 44px;
	}

	.bst-mockup-thumb {
		width: 46px;
		height: 46px;
	}

	.bst-mockup-nav {
		width: 24px;
		height: 46px;
	}

	.bst-logo-thumb {
		width: 60px;
		height: 60px;
	}

	.bst-picker-dropdown-wrap {
		max-width: 100%;
	}

	.bst-picker-layout {
		flex-direction: column-reverse;
		gap: 16px;
	}

	.bst-picker-right {
		flex: none;
		width: 100%;
		justify-content: flex-start;
	}

	.bst-picker-product-image {
		width: 160px;
		height: 160px;
	}

	#bst-pick-product-btn {
		width: 100%;
	}
}

/* -----------------------------------------------------------------------
   Save tab — position preview swiper
   ----------------------------------------------------------------------- */

#bst-design-preview {
	position: relative;
	overflow: hidden;
	margin-bottom: 12px;
}

.bst-swiper {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.bst-swiper-track {
	display: flex;
	transition: transform 0.3s ease;
	will-change: transform;
}

.bst-swiper-slide {
	flex: 0 0 100%;
	min-width: 100%;
	text-align: center;
	padding: 8px 0;
}

.bst-swiper-single {
	text-align: center;
	padding: 8px 0;
}

.bst-preview-label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 8px;
}

.bst-preview-img {
	max-width: 100%;
	max-height: 240px;
	border-radius: 6px;
	display: block;
	margin: 0 auto;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.bst-swiper-prev,
.bst-swiper-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid #d1d5db;
	border-radius: 50%;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #374151;
	z-index: 2;
	padding: 0;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	transition: background 0.15s;
}

.bst-swiper-prev:hover,
.bst-swiper-next:hover {
	background: #fff;
}

.bst-swiper-prev { left: 4px; }
.bst-swiper-next { right: 4px; }

.bst-swiper-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 10px;
}

.bst-swiper-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: background 0.15s, transform 0.15s;
}

.bst-swiper-dot.active {
	background: var(--bst-lc-primary, #2c87c5);
	transform: scale(1.25);
}

.bst-swiper-counter {
	text-align: center;
	font-size: 11px;
	color: #9ca3af;
	margin: 6px 0 0;
}

.bst-swiper-empty {
	text-align: center;
	color: #9ca3af;
	font-size: 13px;
	padding: 24px 0;
}

/* -----------------------------------------------------------------------
   Save tab — Custom colour swatch picker
   ----------------------------------------------------------------------- */

.bst-swatch-select {
	position: relative;
	width: 100%;
}

/* Shared field look — trigger button used for both colour and size pickers */
.bst-swatch-trigger {
	width: 100%;
	height: 32px;
	padding: 0 24px 0 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 12px;
	font-family: inherit;
	font-weight: 400;
	line-height: 1;
	color: #6b7280;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 8px center;
	background-size: 12px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
	white-space: nowrap;
	overflow: hidden;
}

.bst-swatch-trigger {
	display: flex;
	align-items: center;
	gap: 6px;
	text-align: left;
}

/* Swap to up-chevron when open */
.bst-swatch-open .bst-swatch-trigger {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 2px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 15 12 9 18 15'%3E%3C/polyline%3E%3C/svg%3E");
}

.bst-swatch-trigger--selected {
	color: #111827;
}

.bst-swatch-dot {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.12);
	display: inline-block;
}

.bst-swatch-dot--preview {
	width: 14px;
	height: 14px;
}

.bst-swatch-label-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}


.bst-swatch-dropdown {
	position: fixed; /* fixed escapes overflow:hidden on all ancestors */
	z-index: 999999;
	min-width: 180px;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.14);
	padding: 4px 0;
}

.bst-swatch-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	font-size: 13px;
	color: #374151;
	cursor: pointer;
	transition: background 0.1s;
	white-space: nowrap;
}

.bst-swatch-option:hover {
	background: #f3f4f6;
}

.bst-swatch-option--placeholder {
	color: #9ca3af;
}

.bst-swatch-option--selected {
	background: rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.08 );
	color: var(--bst-lc-primary, #2c87c5);
	font-weight: 600;
}

/* -----------------------------------------------------------------------
   Save tab — Colour / Size / Qty table
   ----------------------------------------------------------------------- */

.bst-cq-group {
	margin-bottom: 12px;
}

.bst-cq-table {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.bst-cq-header {
	display: grid;
	grid-template-columns: 1fr 1fr 60px 32px;
	gap: 6px;
	padding: 7px 10px;
	background: #f3f4f6;
	font-size: 11px;
	font-weight: 700;
	color: #374151;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.bst-cq-row {
	display: grid;
	grid-template-columns: 1fr 1fr 60px 32px;
	gap: 6px;
	align-items: center;
	padding: 7px 10px;
	border-top: 1px solid #f3f4f6;
}

.bst-cq-row:first-child {
	border-top: none;
}

.bst-cq-qty {
	width: 100%;
	padding: 6px 4px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	background: #fff;
	color: #111827;
	transition: border-color 0.15s;
	-moz-appearance: textfield;
}

.bst-cq-qty::-webkit-inner-spin-button,
.bst-cq-qty::-webkit-outer-spin-button {
	opacity: 1;
}

.bst-cq-qty:focus {
	outline: none;
	border-color: var(--bst-lc-primary, #2c87c5);
	box-shadow: 0 0 0 2px rgba( var(--bst-lc-primary-rgb, 44, 135, 197), 0.15 );
}

.bst-cq-remove {
	padding: 4px 6px;
	font-size: 14px;
	line-height: 1;
	border-radius: 6px;
}

.bst-cq-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	margin-top: 6px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 13px;
	color: #374151;
}

.bst-cq-total-row strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--bst-lc-primary, #2c87c5);
}

.bst-bulk-note {
	font-size: 11px;
	color: #6b7280;
	margin: 4px 10px 0;
	font-style: italic;
}

.bst-price-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 10px;
	margin-top: 6px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 6px;
	font-size: 13px;
	color: #374151;
}

.bst-price-total-row strong {
	font-size: 16px;
	font-weight: 700;
	color: var( --bst-lc-primary, #2c87c5 );
}

.bst-cq-add-row {
	margin-top: 8px;
	background: transparent;
	border-color: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary, #2c87c5);
}

.bst-cq-add-row:hover {
	background: var(--bst-lc-primary, #2c87c5);
	color: var(--bst-lc-primary-text, #fff);
}

/* -----------------------------------------------------------------------
   Save tab — Pricing summary
   ----------------------------------------------------------------------- */

.bst-pricing-summary {
	padding: 10px 14px;
	margin: 8px 0;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
}

.bst-price-breakdown {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 4px;
}

.bst-price-breakdown td {
	padding: 3px 0;
	font-size: 14px;
	color: #374151;
}

.bst-price-breakdown .bst-price-val {
	text-align: right;
	white-space: nowrap;
}

.bst-price-breakdown .bst-price-val strong {
	color: #059669;
}

.bst-pricing-grand-total td {
	padding-top: 7px;
	border-top: 1px solid #bbf7d0;
	font-size: 15px;
}

.bst-pricing-grand-total .bst-price-val strong {
	color: #047857;
	font-size: 16px;
}

.bst-pricing-line {
	margin: 0 0 2px;
	font-size: 14px;
	color: #374151;
}

.bst-pricing-line strong {
	color: #059669;
}

.bst-pricing-note {
	margin: 0;
	font-size: 11px;
	color: #6b7280;
}

/* -----------------------------------------------------------------------
   Save tab — Cart action buttons
   ----------------------------------------------------------------------- */

.bst-cart-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.bst-cart-actions .bst-btn-primary {
	width: 100%;
	justify-content: center;
}

.bst-cart-actions .bst-btn-secondary,
.bst-cart-actions a.bst-btn-secondary,
.bst-cart-actions a.bst-btn-secondary:link,
.bst-cart-actions a.bst-btn-secondary:visited,
.bst-cart-actions a.bst-btn-secondary:hover {
	margin-top: 0;
	color: var(--bst-lc-primary-text, #fff);
	text-decoration: none;
}
