/**
 * Elegance Custom Forms — Order Form Stylesheet
 * The multi-step order wizard, live pricing summary bar, the standalone
 * pricing-table and FAQ-accordion shortcodes, and the shop mega-menu list.
 * Depends on frontend-shop.css for design tokens.
 */

.elegance-form-container {
	font-family: var(--elegance-font-family);
	background: #ffffff;
	border: 1px solid var(--elegance-border);
	border-radius: var(--elegance-radius);
	box-shadow: var(--elegance-shadow-lg);
	padding: 30px;
	margin: 20px 0;
	box-sizing: border-box;
	color: #2d3748;
}
.elegance-form-container * {
	box-sizing: border-box;
}

.elegance-wizard-form {
	margin: 0;
	padding: 0;
}

/* Header */
.elegance-form-header {
	margin-bottom: 25px;
	border-bottom: 2px solid var(--elegance-light);
	padding-bottom: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.elegance-form-title {
	font-size: 28px;
	font-weight: 600;
	margin: 0;
	color: var(--elegance-dark);
	letter-spacing: -0.5px;
}
.elegance-form-sku {
	font-size: 13px;
	background: var(--elegance-light);
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid var(--elegance-border);
	color: #718096;
	font-weight: 600;
}

/* Progress tracker */
.elegance-wizard-progress {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 35px;
}
.elegance-progress-line-bg {
	position: absolute;
	top: 22px;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--elegance-border);
	z-index: 1;
}
.elegance-progress-line-fill {
	height: 100%;
	background: var(--elegance-primary);
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	width: 0%;
}
.elegance-progress-step {
	position: relative;
	z-index: 2;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}
.elegance-progress-step .step-circle {
	width: 48px;
	height: 48px;
	background: #ffffff;
	border: 3px solid var(--elegance-border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 18px;
	color: #94a3b8;
	transition: all 0.3s ease;
}
.elegance-progress-step .step-label {
	font-family: var(--elegance-font-heading);
	font-size: 13px;
	font-weight: 500;
	margin-top: 8px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: color 0.3s ease;
}
.elegance-progress-step.active .step-circle {
	border-color: var(--elegance-primary);
	background: var(--elegance-primary);
	color: #ffffff;
	box-shadow: 0 0 0 4px rgba(var(--elegance-primary-rgb), 0.2);
}
.elegance-progress-step.active .step-label {
	color: var(--elegance-dark);
}
.elegance-progress-step.completed .step-circle {
	border-color: var(--elegance-primary);
	background: #ffffff;
	color: var(--elegance-primary);
}
.elegance-progress-step.completed .step-label {
	color: var(--elegance-primary);
}

/* Steps layout */
.elegance-wizard-step {
	display: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.elegance-wizard-step.active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}
.elegance-step-fields-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

/* Fields */
.elegance-field-group {
	padding: 0 15px;
	margin-bottom: 24px;
}
.elegance-field-col-6 {
	flex: 0 0 50%;
	max-width: 50%;
}
.elegance-field-col-12 {
	flex: 0 0 100%;
	max-width: 100%;
}
@media (max-width: 768px) {
	.elegance-field-col-6 {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

.elegance-field-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 8px;
	color: #555555;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.required-indicator {
	color: var(--elegance-danger);
	margin-left: 2px;
}

.elegance-form-input {
	width: 100%;
	padding: 12px 16px;
	font-size: 16px;
	border: 1.5px solid var(--elegance-border);
	border-radius: var(--elegance-radius);
	background: #ffffff;
	box-shadow: var(--elegance-shadow-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	min-height: 44px;
}
.elegance-form-input:focus {
	outline: 2px solid var(--elegance-primary);
	outline-offset: -2px;
	border-color: var(--elegance-primary);
	box-shadow: 0 0 0 4px rgba(var(--elegance-primary-rgb), 0.15);
}
select.elegance-form-input {
	height: 42px;
	cursor: pointer;
}
textarea.elegance-form-input {
	resize: vertical;
}
.field-help-text {
	display: block;
	font-size: 12px;
	color: #718096;
	margin-top: 5px;
}

/* Per-field inline validation error (replaces the old single top-of-step-only banner) */
.elegance-field-group.has-error .elegance-form-input,
.elegance-field-group.has-error .elegance-upload-zone,
.elegance-field-group.has-error .elegance-size-grid-scroller {
	border-color: var(--elegance-danger);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.elegance-field-error-text {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--elegance-danger);
}

/* Choice fields (tile/chip style) */
.elegance-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.elegance-radio-item {
	display: flex;
	align-items: center;
	background: var(--elegance-light);
	border: 1.5px solid var(--elegance-border);
	padding: 10px 16px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.elegance-radio-item input {
	margin-right: 8px;
}
.elegance-radio-item label {
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.elegance-radio-item:hover {
	border-color: var(--elegance-primary);
	background: rgba(var(--elegance-primary-rgb), 0.05);
}
.elegance-radio-item:has(input:checked) {
	border-color: var(--elegance-primary);
	background: rgba(var(--elegance-primary-rgb), 0.08);
	box-shadow: 0 0 0 1px var(--elegance-primary);
}

.elegance-checkbox-group {
	display: flex;
	align-items: flex-start;
	background: var(--elegance-light);
	border: 1px solid var(--elegance-border);
	padding: 12px 16px;
	border-radius: 8px;
	margin-top: 5px;
}
.elegance-checkbox-group input {
	margin-right: 12px;
	margin-top: 4px;
	cursor: pointer;
}
.elegance-checkbox-group label {
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

/* File upload */
.elegance-upload-zone {
	border: 2px dashed var(--elegance-border);
	border-radius: var(--elegance-radius);
	padding: 25px;
	text-align: center;
	background: var(--elegance-light);
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}
.elegance-upload-zone.dragover {
	border-color: var(--elegance-primary);
	background: rgba(var(--elegance-primary-rgb), 0.05);
	transform: scale(1.01);
}
.elegance-file-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.upload-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 10px;
}
.upload-prompt-text {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 5px 0;
	color: var(--elegance-dark);
}
.upload-constraints {
	font-size: 11px;
	color: #a0aec0;
}
.upload-file-details {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid var(--elegance-border);
	padding: 8px 15px;
	border-radius: 8px;
	max-width: 320px;
	margin: 0 auto;
	box-shadow: var(--elegance-shadow-sm);
}
.selected-filename {
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	margin-right: 10px;
	flex: 1;
}
.remove-upload-btn {
	background: none;
	border: none;
	color: var(--elegance-danger);
	font-size: 18px;
	font-weight: 700;
	cursor: pointer;
	padding: 0 5px;
	line-height: 1;
}

/* PMS color picker */
.elegance-pms-picker-wrapper {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pms-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.pms-swatch {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 1px #cbd5e0;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	padding: 0;
}
.pms-swatch:hover,
.pms-swatch:focus-visible {
	transform: scale(1.15);
}
.pms-swatch.active {
	transform: scale(1.15);
	box-shadow: 0 0 0 2px var(--elegance-primary);
}

/* Size/qty grid table */
.elegance-size-grid-wrapper {
	margin-top: 5px;
}
.elegance-size-grid-scroller {
	overflow-x: auto;
	border: 1px solid var(--elegance-border);
	border-radius: 8px;
	box-shadow: var(--elegance-shadow-sm);
}
.elegance-size-grid-table {
	width: 100%;
	border-collapse: collapse;
}
.elegance-size-grid-table th {
	background: var(--elegance-light);
	padding: 12px;
	font-size: 14px;
	font-weight: 700;
	border-bottom: 1.5px solid var(--elegance-border);
	text-align: center;
	color: var(--elegance-dark);
	letter-spacing: 4px;
	text-transform: uppercase;
}
.elegance-size-grid-table td {
	padding: 12px;
	text-align: center;
	border-bottom: 1px solid #E5E5E5;
}
.elegance-size-qty-input {
	width: 100%;
	max-width: 60px;
	text-align: center;
	padding: 6px;
	border: 1px solid var(--elegance-border);
	border-radius: 6px;
	height: 36px;
}
.elegance-size-qty-input:focus {
	outline: none;
	border-color: var(--elegance-primary);
}

@media (max-width: 768px) {
	.elegance-size-grid-table,
	.elegance-size-grid-table thead,
	.elegance-size-grid-table tbody,
	.elegance-size-grid-table tr,
	.elegance-size-grid-table th,
	.elegance-size-grid-table td {
		display: block;
		width: 100%;
	}
	.elegance-size-grid-table thead {
		display: none;
	}
	.elegance-size-grid-table tr {
		border: none;
		display: flex;
		flex-direction: column;
		gap: 8px;
		padding: 10px 0;
	}
	.elegance-size-grid-table td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 15px;
		border: 1px solid #e2e8f0;
		border-radius: 6px;
		margin-bottom: 6px;
		background: #ffffff;
	}
	.elegance-size-grid-table td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 14px;
		color: var(--elegance-dark);
		text-transform: uppercase;
		letter-spacing: 1px;
	}
	.elegance-size-qty-input {
		max-width: 80px;
		text-align: right;
		height: 36px;
	}
}

/* Alerts */
.elegance-form-alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
}
.elegance-alert-danger {
	background: #fff5f5;
	border-left: 4px solid var(--elegance-danger);
	color: #c53030;
}
.elegance-alert-success {
	background: #f0fff4;
	border-left: 4px solid var(--elegance-success);
	color: #22543d;
}

/* Footer buttons */
.elegance-step-footer {
	display: flex;
	justify-content: flex-end;
	gap: 15px;
	margin-top: 30px;
	border-top: 1px solid var(--elegance-border);
	padding-top: 20px;
}
.elegance-btn {
	font-family: var(--elegance-font-heading);
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 700;
	border-radius: var(--elegance-radius);
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
}
.elegance-btn-primary {
	background: var(--elegance-primary);
	color: #ffffff;
}
.elegance-btn-primary:hover {
	background: var(--elegance-primary-hover);
	box-shadow: 0 4px 12px rgba(var(--elegance-primary-rgb), 0.25);
}
.elegance-btn-secondary {
	background: #ffffff;
	border: 1.5px solid var(--elegance-border);
	color: #475569;
}
.elegance-btn-secondary:hover {
	background: var(--elegance-light);
	color: var(--elegance-dark);
}
.elegance-btn-submit {
	background: var(--elegance-dark);
	color: #ffffff;
	min-width: 200px;
	position: relative;
	border: 2px solid var(--elegance-primary);
}
.elegance-btn-submit:hover {
	background: var(--elegance-primary);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(var(--elegance-primary-rgb), 0.25);
}
.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid #ffffff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: elegance-spin 0.8s linear infinite;
	position: absolute;
}
@keyframes elegance-spin {
	to { transform: rotate(360deg); }
}

/* Live pricing summary bar — sticks to the bottom of the viewport once its
   normal in-flow position scrolls past, so the running total stays visible
   through a long step instead of only appearing once you scroll all the way
   down. */
.elegance-pricing-summary-bar {
	display: flex;
	background: var(--elegance-dark);
	color: #ffffff;
	border-radius: var(--elegance-radius);
	margin-top: 25px;
	box-shadow: var(--elegance-shadow-md);
	overflow: hidden;
	position: sticky;
	bottom: 12px;
	z-index: 5;
}
.pricing-summary-col {
	flex: 1;
	padding: 15px 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-right: 1px solid rgba(255,255,255,0.1);
}
.pricing-summary-col:last-child {
	border-right: none;
}
.pricing-summary-col.highlighted-col {
	background: rgba(var(--elegance-primary-rgb), 0.2);
	border-left: 2px solid var(--elegance-primary);
}
.summary-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #a0aec0;
	margin-bottom: 4px;
	font-weight: 600;
}
.summary-value {
	font-size: 20px;
	font-weight: 700;
}
.highlighted-col .summary-value {
	color: var(--elegance-primary);
	font-size: 22px;
}
@media (max-width: 600px) {
	.elegance-pricing-summary-bar {
		flex-direction: column;
		position: static;
	}
	.pricing-summary-col {
		border-right: none;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	.pricing-summary-col.highlighted-col {
		border-left: none;
		border-top: 2px solid var(--elegance-primary);
	}
}

/* ==========================================================================
   Standalone pricing-table shortcode ([elegance_product_pricing_table])
   ========================================================================== */
.elegance-front-pricing-table-wrapper {
	margin: 15px 0;
	border: 1px solid var(--elegance-border);
	border-radius: 8px;
	overflow-x: auto;
	box-shadow: var(--elegance-shadow-md);
}
.elegance-front-pricing-table {
	width: 100%;
	min-width: 320px;
	border-collapse: collapse;
	text-align: left;
}
.elegance-front-pricing-table th {
	background: var(--elegance-dark);
	color: #ffffff;
	padding: 12px 15px;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.elegance-front-pricing-table td {
	padding: 12px 15px;
	border-bottom: 1px solid var(--elegance-border);
	font-size: 14px;
	color: #2d3748;
}
.elegance-front-pricing-table tr:last-child td {
	border-bottom: none;
}
.elegance-front-pricing-table tr:hover td {
	background: #f7f9fa;
}
.elegance-price-badge {
	font-weight: 700;
	color: var(--elegance-primary);
}

/* ==========================================================================
   FAQ accordion shortcode ([elegance_product_faq])
   ========================================================================== */
.elegance-faq-accordion {
	margin: 20px 0;
	border: 1px solid var(--elegance-border);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--elegance-shadow-md);
}
.elegance-faq-item {
	border-bottom: 1px solid var(--elegance-border);
}
.elegance-faq-item:last-child {
	border-bottom: none;
}
.elegance-faq-trigger {
	width: 100%;
	background: #ffffff;
	border: none;
	outline-offset: -2px;
	text-align: left;
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 600;
	color: var(--elegance-dark);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background 0.2s ease;
}
.elegance-faq-trigger::after {
	content: '+';
	font-size: 18px;
	color: var(--elegance-primary);
	transition: transform 0.2s ease;
}
.elegance-faq-trigger:hover {
	background: #f7f9fa;
}
.elegance-faq-item.active .elegance-faq-trigger::after {
	transform: rotate(45deg);
}
.elegance-faq-panel {
	max-height: 0;
	overflow: hidden;
	background: #fcfdfd;
	transition: max-height 0.25s ease-out;
}
.elegance-faq-content {
	padding: 16px 20px;
	font-size: 14px;
	line-height: 1.6;
	color: #4a5568;
	border-top: 1px solid #f0f4f8;
}

/* Interactive Visual Shape Selector */
.elegance-field-group.has-shape-picker {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

.elegance-shape-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 14px;
	margin-top: 10px;
	max-height: 320px;
	overflow-y: auto;
	padding-right: 6px;
	padding-bottom: 6px;
	scrollbar-width: thin;
	scrollbar-color: #cbd5e1 transparent;
}

.elegance-shape-grid::-webkit-scrollbar {
	width: 6px;
}

.elegance-shape-grid::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

.elegance-shape-card {
	position: relative;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 12px 14px;
	text-align: center;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	user-select: none;
}

.elegance-shape-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.elegance-shape-card.active {
	border-color: #d4af37;
	background: #fffdf7;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.elegance-shape-svg-box {
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #475569;
	transition: all 0.2s ease;
}

.elegance-shape-card:hover .elegance-shape-svg-box {
	color: #0284c7;
	transform: scale(1.06);
}

.elegance-shape-card.active .elegance-shape-svg-box {
	color: #d4af37;
	transform: scale(1.08);
}

.elegance-shape-title {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	line-height: 1.3;
}

.elegance-shape-card.active .elegance-shape-title {
	color: #0f172a;
	font-weight: 700;
}

.elegance-shape-badge {
	position: absolute;
	top: -9px;
	right: 8px;
	background: #d4af37;
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 20px;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

.elegance-shape-check {
	position: absolute;
	bottom: 8px;
	right: 8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #d4af37;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.6);
	transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elegance-shape-card.active .elegance-shape-check {
	opacity: 1;
	transform: scale(1);
}

/* Interactive Visual Patch Style Selector (With Images) */
.elegance-field-group.has-style-picker {
	width: 100% !important;
	flex: 0 0 100% !important;
	max-width: 100% !important;
}

.elegance-style-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
	gap: 16px;
	margin-top: 10px;
}

.elegance-style-card {
	position: relative;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 14px 10px;
	text-align: center;
	cursor: pointer;
	transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	user-select: none;
}

.elegance-style-card:hover {
	border-color: #cbd5e1;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.elegance-style-card.active {
	border-color: #d4af37;
	background: #fffdf7;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.elegance-style-img-box {
	width: 100%;
	height: 80px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.elegance-style-img-box img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.elegance-style-card:hover .elegance-style-img-box img {
	transform: scale(1.08);
}

.elegance-style-card.active .elegance-style-img-box img {
	transform: scale(1.1);
}

.elegance-style-title {
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	line-height: 1.3;
}

.elegance-style-card.active .elegance-style-title {
	color: #0f172a;
	font-weight: 700;
}

.elegance-style-check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #d4af37;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: scale(0.6);
	transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elegance-style-card.active .elegance-style-check {
	opacity: 1;
	transform: scale(1);
}

/* Bulk Price Chart Bar & Modal Popup */
.elegance-bulk-price-bar-wrap {
	background: #1e293b;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 25px;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.elegance-bulk-price-bar-header {
	margin-bottom: 10px;
}

.elegance-bulk-price-bar-title {
	font-size: 15px;
	font-weight: 700;
	color: #f8fafc;
	letter-spacing: 0.3px;
}

.elegance-bulk-price-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	overflow: hidden;
}

.elegance-price-bar-scroll {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	scrollbar-color: #475569 transparent;
}

.elegance-price-bar-col {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	padding: 8px 14px;
	text-align: center;
	min-width: 65px;
	flex-shrink: 0;
	transition: background 0.2s ease;
}

.elegance-price-bar-col:hover {
	background: rgba(255, 255, 255, 0.16);
}

.elegance-price-bar-qty {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #38bdf8;
	margin-bottom: 2px;
}

.elegance-price-bar-price {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #f1f5f9;
}

.elegance-see-more-price-btn {
	background: #00a0e9;
	color: #ffffff;
	border: none;
	border-radius: 30px;
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.2s ease;
	box-shadow: 0 4px 12px rgba(0, 160, 233, 0.35);
}

.elegance-see-more-price-btn:hover {
	background: #008cd1;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(0, 160, 233, 0.5);
}

/* Price Chart Modal Dialog */
.elegance-price-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.elegance-price-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

.elegance-price-modal-dialog {
	position: relative;
	background: #ffffff;
	border-radius: 16px;
	max-width: 480px;
	width: 90%;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	z-index: 2;
	overflow: hidden;
	animation: modalSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
	from { opacity: 0; transform: translateY(20px) scale(0.96); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.elegance-price-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.elegance-price-modal-title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.elegance-price-modal-close {
	background: transparent;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	padding: 4px 8px;
	border-radius: 6px;
	transition: color 0.2s ease;
}

.elegance-price-modal-close:hover {
	color: #0f172a;
}

.elegance-price-modal-body {
	padding: 20px 24px 28px;
	overflow-y: auto;
}

.elegance-price-modal-sub {
	font-size: 13px;
	color: #475569;
	margin-bottom: 16px;
	line-height: 1.5;
}

.elegance-price-modal-sub a {
	color: #0284c7;
	font-weight: 600;
	text-decoration: underline;
}

.elegance-price-modal-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.elegance-price-modal-table th {
	background: #00b0ff;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px 16px;
	text-align: center;
}

.elegance-price-modal-table th:first-child {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	width: 50%;
}

.elegance-price-modal-table th:last-child {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	width: 50%;
}

.elegance-price-modal-table td {
	padding: 10px 16px;
	text-align: center;
	border-bottom: 1px solid #f1f5f9;
	color: #1e293b;
	font-weight: 600;
}

.elegance-price-modal-table tr:nth-child(even) {
	background: #f8fafc;
}

.elegance-price-modal-table td.price-cell {
	color: #0f172a;
	font-weight: 700;
}

/* Category Archive Top Hero Banner */
.elegance-category-banner-wrapper {
	width: 100%;
	margin-bottom: 25px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
	background: #f8fafc;
	position: relative;
	max-height: 280px;
}

.elegance-category-banner-img {
	width: 100%;
	height: 100%;
	max-height: 280px;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elegance-category-banner-wrapper:hover .elegance-category-banner-img {
	transform: scale(1.02);
}

/* ==========================================================================
   Mobile Responsive Enhancements (@media max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
	/* 1. Bulk Price Chart Bar Mobile Layout Fix */
	.elegance-bulk-price-bar-wrap {
		padding: 14px 16px;
		margin-bottom: 20px;
	}

	.elegance-bulk-price-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.elegance-price-bar-scroll {
		width: 100%;
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 8px;
	}

	.elegance-price-bar-col {
		min-width: 76px;
		padding: 8px 10px;
	}

	.elegance-see-more-price-btn {
		width: 100%;
		text-align: center;
		padding: 10px 16px;
		display: block;
		border-radius: 8px;
	}

	/* 2. Select Patch Style / Material - 2 Columns on Mobile */
	.elegance-style-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}

	.elegance-style-card {
		padding: 12px 8px;
	}

	.elegance-style-img-box {
		height: 70px;
	}

	/* 3. Select Patch Shape - 3 Columns on Mobile with Fixed Height Scrollbox */
	.elegance-shape-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 8px !important;
		max-height: 280px !important;
		overflow-y: auto !important;
		padding-right: 4px !important;
		padding-bottom: 4px !important;
		-webkit-overflow-scrolling: touch;
	}

	.elegance-shape-card {
		padding: 12px 6px 10px;
	}

	.elegance-shape-svg-box {
		width: 36px;
		height: 36px;
		margin-bottom: 6px;
	}

	.elegance-shape-title {
		font-size: 11px;
		line-height: 1.2;
	}

	.elegance-shape-badge {
		font-size: 9px;
		padding: 1px 5px;
	}
}
