/**
 * Request Quote Page Styles
 */

.rec-request-quote-page {
	padding: 40px 0;
	max-width: 1200px;
	margin: 0 auto;
}

.rec-request-quote-page .rec-container {
	padding: 0 20px;
}

.rec-page-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
	color: #333;
}

.rec-cart-empty {
	text-align: center;
	padding: 60px 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.rec-cart-empty p {
	font-size: 18px;
	color: #666;
	margin-bottom: 20px;
}

.rec-button {
	display: inline-block;
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.rec-button-primary {
	background-color: var(--rec-accent-color, #f97316);
	color: #ffffff;
}

.rec-button-primary:hover {
	background-color: #e8640e;
	color: #ffffff;
}

.rec-button-secondary {
	background-color: #4a90e2;
	color: #ffffff;
}

.rec-button-secondary:hover {
	background-color: #357abd;
	color: #ffffff;
}

.rec-quote-content-wrapper {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 30px;
	margin-top: 20px;
}

/* Cart Table */
.rec-quote-cart-table {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
}

.rec-cart-table {
	width: 100%;
	border-collapse: collapse;
}

.rec-cart-table thead {
	background: #f5f5f5;
}

.rec-cart-table th {
	padding: 15px;
	text-align: left;
	font-weight: 600;
	font-size: 14px;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
}

.rec-cart-table td {
	padding: 15px;
	border-bottom: 1px solid #e0e0e0;
	vertical-align: middle;
}

.rec-cart-table tbody tr:last-child td {
	border-bottom: none;
}

.rec-product-remove {
	width: 40px;
}

.rec-remove-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: #999;
	text-decoration: none;
	transition: all 0.3s ease;
}

.rec-remove-item:hover {
	background: #f0f0f0;
	color: #e74c3c;
}

.rec-product-thumbnail {
	width: 80px;
}

.rec-product-thumbnail img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
}

.rec-product-name {
	min-width: 200px;
}

.rec-product-name a {
	color: #4a90e2;
	text-decoration: none;
	font-weight: 500;
}

.rec-product-name a:hover {
	text-decoration: underline;
}

.rec-product-price,
.rec-product-subtotal {
	font-weight: 600;
	color: #333;
}

.rec-product-quantity input {
	width: 60px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
}

/* Coupon Section */
.rec-coupon-section {
	padding: 20px;
	background: #f9f9f9;
	border-top: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	flex-wrap: wrap;
}

.rec-coupon {
	display: flex;
	gap: 10px;
	flex: 1;
	min-width: 250px;
}

.rec-coupon-input {
	flex: 1;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

.rec-update-cart {
	margin-left: auto;
}

/* Cart Totals */
.rec-quote-cart-totals {
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 25px;
	height: fit-content;
}

.rec-cart-totals-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #333;
}

.rec-cart-totals-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 25px;
}

.rec-cart-totals-table th,
.rec-cart-totals-table td {
	padding: 12px 0;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
}

.rec-cart-totals-table th {
	font-weight: 600;
	color: #333;
}

.rec-cart-totals-table td {
	text-align: right;
	font-weight: 600;
}

.rec-order-total th,
.rec-order-total td {
	border-top: 2px solid #333;
	border-bottom: none;
	padding-top: 15px;
	font-size: 18px;
}

/* Quote Form */
.rec-quote-form-wrapper {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #e0e0e0;
}

.rec-quote-form-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #333;
}

.rec-quote-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rec-form-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rec-form-row label {
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.rec-form-row .required {
	color: #e74c3c;
}

.rec-form-row input,
.rec-form-row textarea {
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.rec-form-row input:focus,
.rec-form-row textarea:focus {
	outline: none;
	border-color: var(--rec-accent-color, #f97316);
}

.rec-form-row textarea {
	resize: vertical;
	min-height: 100px;
}

.rec-submit-quote {
	width: 100%;
	padding: 15px;
	font-size: 16px;
	margin-top: 10px;
}

.rec-quote-success {
	padding: 15px;
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 4px;
	color: #155724;
	margin-bottom: 20px;
}

.rec-quote-success p {
	margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
	.rec-quote-content-wrapper {
		grid-template-columns: 1fr;
	}
	
	.rec-quote-cart-totals {
		order: -1;
	}
}

@media (max-width: 768px) {
	.rec-request-quote-page {
		padding: 20px 0;
	}
	
	.rec-page-title {
		font-size: 24px;
	}
	
	.rec-cart-table {
		font-size: 14px;
	}
	
	.rec-cart-table th,
	.rec-cart-table td {
		padding: 10px 8px;
	}
	
	.rec-product-thumbnail {
		width: 60px;
	}
	
	.rec-product-thumbnail img {
		width: 50px;
		height: 50px;
	}
	
	.rec-coupon-section {
		flex-direction: column;
		align-items: stretch;
	}
	
	.rec-coupon {
		flex-direction: column;
	}
	
	.rec-update-cart {
		margin-left: 0;
		width: 100%;
	}
	
	.rec-cart-table th.rec-product-remove,
	.rec-cart-table td.rec-product-remove,
	.rec-cart-table th.rec-product-thumbnail,
	.rec-cart-table td.rec-product-thumbnail {
		display: none;
	}
	
	.rec-cart-table td[data-title]::before {
		content: attr(data-title) ": ";
		font-weight: 600;
		display: inline-block;
		width: 100px;
	}
}

