/* v17 */
html,
body {
	overflow-x: hidden;
}

.wrapper-business {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	margin-top: 0 !important;
	padding-top: 0 !important;
	overflow-x: hidden;
	width: 100%;
	box-sizing: border-box;
}

.wrapper-business * {
	box-sizing: border-box;
}

.container {
	flex: 1;
}

.store-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 2rem 0;
	margin-bottom: 2rem;
}

.store-branding {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.store-logo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.3);
	object-fit: cover;
}

.store-info h1 {
	margin: 0;
	font-size: 2.5rem;
	font-weight: bold;
}

.store-tagline {
	opacity: 0.9;
	font-size: 1.1rem;
	margin-top: 0.5rem;
}

.trust-badges {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
	align-items: center;
}

.trust-badge {
	background: rgba(255, 255, 255, 0.1);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.enhanced-step-navigation {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-progress {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 2rem;
}

.progress-line {
	position: absolute;
	top: 25px;
	left: 0;
	right: 0;
	height: 3px;
	background: #e0e0e0;
	z-index: 1;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	transition: width 0.3s ease;
	border-radius: 2px;
}

.step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
	cursor: pointer;
	transition: all 0.3s ease;
}

.step-item:hover .step-circle {
	transform: scale(1.05);
}

.step-circle {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
	transition: all 0.3s ease;
	color: #666;
}

.step-circle.active {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	transform: scale(1.1);
}

.step-circle.completed {
	background: #4CAF50;
	color: white;
}

.content-card h3 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.content-card h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.content-card h5 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
}

.step-label {
	text-align: center;
	font-size: 13px;
}

.step-label strong {
	font-size: 14px;
}

.content-card {
	background: white;
	border-radius: 15px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-row {
	border-bottom: 1px solid #f0f0f0;
	padding: 1rem 0;
}

.product-row:last-child {
	border-bottom: none;
}

.product-img img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 10px;
	border: 2px solid #f0f0f0;
}

.product-desc {
	vertical-align: top;
	padding: 15px 10px;
}

.product-title {
	font-weight: 600;
	color: #333;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.4;
	white-space: normal;
	/* Allow wrapping by default */
	display: block;
	/* Ensure block level for wrapping */
}

.product-title:hover {
	color: #667eea;
	text-decoration: none;
}

.product-description {
	color: #666;
	font-size: 14px;
	margin: 8px 0;
	line-height: 1.4;
	max-height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.table th {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	border: none;
	padding: 12px 8px;
}

.table td {
	font-size: 14px;
	border: none;
	padding: 15px 8px;
	vertical-align: middle;
}

.product-price {
	font-size: 16px;
	font-weight: 600;
	color: #667eea;
}

.btn-store-primary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	color: white;
	padding: 12px 20px;
	border-radius: 25px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
}

.btn-store-primary:hover {
	transform: translateY(-2px);
	color: white;
	box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Address autocomplete styling */
.address-suggestions {
	position: absolute;
	z-index: 1000;
	background: white;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	max-height: 200px;
	overflow-y: auto;
	width: 100%;
	margin-top: 2px;
}

.suggestion-item {
	padding: 12px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	transition: background-color 0.2s ease;
}

.suggestion-item:hover {
	background-color: #f8f9fa;
}

.suggestion-item:last-child {
	border-bottom: none;
}

.address-success {
	position: absolute;
	top: -35px;
	left: 0;
	right: 0;
	background: #4CAF50;
	color: white;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	z-index: 1001;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.form-group small {
	display: block;
	margin-top: 5px;
	color: #666;
	font-size: 12px;
}

.form-group small i {
	margin-right: 4px;
	color: #667eea;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.5;
	color: #333;
}

p,
.text-muted {
	font-size: 14px;
	line-height: 1.5;
}

small,
.small {
	font-size: 13px;
}

.order-summary-card {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 15px;
	padding: 1.5rem;
	position: sticky;
	top: 20px;
}

.order-summary-card .d-flex {
	font-size: 14px;
	margin-bottom: 8px;
}

.order-summary-card .h5 {
	font-size: 18px;
	font-weight: 600;
}

.security-badge {
	background: linear-gradient(45deg, #e8f5e8, #f0f8ff);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 2rem 0;
	border-left: 4px solid #4CAF50;
}

.form-control {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 15px;
	transition: all 0.3s ease;
	line-height: 1.4;
}

.form-control:focus {
	border-color: #667eea;
	box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
	outline: none;
}

.form-control select,
select.form-control {
	padding: 8px 12px;
	height: auto;
	line-height: 1.4;
}

.form-control-sm {
	padding: 6px 10px;
	font-size: 14px;
	height: auto;
	line-height: 1.4;
}

.form-group label {
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
	font-size: 14px;
}

/* Fix for select dropdown options */
select option {
	padding: 8px 12px;
	font-size: 14px;
}

.store-footer {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 3rem 0 2rem 0;
	margin-top: 4rem;
	border-top: 1px solid #e0e0e0;
}

.payment-methods {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.payment-icon {
	height: 35px;
	opacity: 0.7;
	transition: all 0.3s ease;
	filter: grayscale(20%);
}

.payment-icon:hover {
	opacity: 1;
	filter: grayscale(0%);
	transform: translateY(-2px);
}

.footer-info {
	text-align: center;
	color: #666;
}

.footer-info h6 {
	color: #333;
	font-weight: 600;
	margin-bottom: 1rem;
}

@media (max-width: 768px) {
	.store-branding {
		flex-direction: column;
		text-align: center;
	}

	.trust-badges {
		justify-content: center;
		flex-wrap: wrap;
		margin-top: 1.5rem;
	}

	.step-progress {
		flex-direction: row;
		/* Keep horizontal */
		gap: 0;
	}

	.progress-line {
		display: block;
		top: 20px;
		/* Adjust for smaller hearts/circles */
	}

	.store-info h1 {
		font-size: 1.8rem;
	}

	.store-tagline {
		font-size: 0.95rem;
		padding: 0 1rem;
	}

	/* Enhanced Navigation Mobile Optimization */
	.enhanced-step-navigation {
		padding: 0;
		margin: 0 0 1.5rem 0;
		width: 100%;
		/* Natural flow within container */
		border-radius: 0;
		box-shadow: none;
		/* Remove card look for cleaner mobile */
		background: transparent;
	}

	.step-progress {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		gap: 0;
		position: relative;
		padding: 0 10px;
	}

	.progress-line {
		display: block;
		top: 15px;
		left: 40px;
		/* Adjust to start after first circle center */
		right: 40px;
		/* Adjust to end before last circle center */
		z-index: 0;
	}

	.step-circle {
		width: 32px;
		height: 32px;
		font-size: 14px;
		background: #fff;
		/* Keep white bg for connector line transparency */
		border: 2px solid #e0e0e0;
		z-index: 1;
		margin: 0 auto 0.5rem auto;
		/* Center circle */
	}

	.step-circle.active {
		border-color: transparent;
		/* Gradient fills it */
	}

	.step-item {
		flex: 1;
		text-align: center;
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 0 2px;
	}

	.step-label {
		margin-top: 5px;
		width: 100%;
	}

	.step-label strong {
		font-size: 11px;
		display: block;
		line-height: 1.2;
		white-space: normal;
		/* Allow wrapping to prevent overlap */
		overflow: visible;
	}

	.step-label small {
		display: none;
	}


	/* Enhanced Mobile Product Cards (Liquid Design) */
	.table thead {
		display: none;
	}

	.table tbody {
		display: block;
		width: 100%;
	}

	.table tr {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin-bottom: 1.5rem;
		background: white;
		border: 1px solid #f0f0f0;
		border-radius: 16px;
		padding: 1.5rem;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
		position: relative;
		transition: transform 0.2s ease;
	}

	.table tr:active {
		transform: scale(0.995);
	}

	/* Reset TD defaults for card layout */
	.table td {
		display: block;
		width: 100% !important;
		padding: 0;
		border: none;
		margin-bottom: 0.75rem;
		white-space: normal !important;
		/* CRITICAL FIX: Prevent runaway width */
	}

	/* Product Image - Centered */
	/* Product Image */
	.product-img {
		display: block;
		margin-bottom: 1.25rem;
		text-align: center !important;
	}

	.product-img img {
		width: 120px;
		height: 120px;
		max-width: 100%;
		border-radius: 12px;
		margin: 0 auto;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
		object-fit: contain;
	}

	/* Product Description */
	/* Product Typography */
	.product-desc {
		padding: 0 !important;
		text-align: center;
	}

	.product-title {
		font-size: 1.15rem;
		font-weight: 700;
		color: #111 !important;
		margin-bottom: 0.5rem;
		line-height: 1.4;
		display: block;
		width: 100%;
		/* Ensure it fits container */
		white-space: normal !important;
		/* Force wrapping */
	}

	.product-description {
		font-size: 0.95rem;
		color: #4a5568;
		/* Darker gray for readability */
		line-height: 1.5;
		margin-bottom: 1rem;
		white-space: normal !important;
	}

	.product-desc:after {
		content: '';
		display: block;
		width: 40px;
		height: 2px;
		background: #e2e8f0;
		margin: 1rem auto;
	}

	/* Price Row */
	.product-price {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 1.25rem;
		font-weight: 800;
		color: #2b6cb0 !important;
		padding: 0.5rem 0;
		border: none;
		margin: 0;
	}

	.product-price:before {
		content: attr(data-label);
		color: #a0aec0;
		font-size: 0.75rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1.5px;
	}

	/* Quantity Row */
	td[data-label="%_QTY%"] {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding-top: 0.5rem;
	}

	td[data-label="%_QTY%"]:before {
		content: attr(data-label);
		color: #a0aec0;
		font-size: 0.75rem;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 1.5px;
	}

	.form-control-sm {
		width: auto;
		min-width: 90px;
		border: 1px solid #cbd5e0;
		border-radius: 8px;
		padding: 6px 12px;
		background-color: #f7fafc;
		color: #2d3748;
		font-weight: 600;
	}

	/* Select Input Styling */
	.form-control-sm {
		width: auto;
		min-width: 80px;
		border-color: #ddd;
	}

	/* Wrapper padding on mobile */
	.wrapper-business {
		padding-top: 0 !important;
		margin-top: 0 !important;
		overflow-x: hidden;
	}
}


.footer-clarification {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 13px;
	line-height: 1.5;
}

.footer-addresses {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-address h6 {
	margin: 0 0 6px 0;
	font-weight: 600;
}

.footer-address p {
	margin: 0;
	opacity: .9;
}

.footer-links a {
	color: inherit;
	opacity: .9;
	text-decoration: none;
}

.footer-links a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-links .sep {
	margin: 0 8px;
	opacity: .6;
}