/* Raz Service Commerce Frontend Styles */

.raz-service-card {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	max-width: 400px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.raz-service-card__image img {
	width: 100%;
	height: auto;
	display: block;
}

.raz-service-card__content {
	padding: 24px;
}

.raz-service-card__title {
	margin: 0 0 12px;
	font-size: 1.5rem;
}

.raz-service-card__price {
	margin-bottom: 16px;
	font-size: 1.25rem;
	font-weight: bold;
	color: #2d3748;
}

.raz-service-card__price-regular {
	color: #a0aec0;
	font-weight: normal;
	margin-right: 8px;
}

.raz-service-card__price-sale {
	color: #e53e3e;
}

.raz-service-card__description {
	margin-bottom: 24px;
	color: #4a5568;
}

.raz-service-card__button {
	display: inline-block;
	background: #3182ce;
	color: #fff;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	transition: background 0.2s;
}

.raz-service-card__button:hover {
	background: #2b6cb0;
	color: #fff;
}

/* Checkout */
.raz-checkout-container {
	max-width: 1000px;
	margin: 0 auto;
}

.raz-checkout-error {
	background: #fff5f5;
	border-left: 4px solid #fc8181;
	color: #c53030;
	padding: 16px;
	margin-bottom: 24px;
}

.raz-checkout-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
}

@media (max-width: 768px) {
	.raz-checkout-grid {
		grid-template-columns: 1fr;
	}
}

.raz-form-row {
	margin-bottom: 16px;
}

.raz-form-row label {
	display: block;
	font-weight: 600;
}

.raz-checkout-container .raz-form-row input[type="text"],
.raz-checkout-container .raz-form-row input[type="email"],
.raz-checkout-container .raz-form-row input[type="tel"],
.raz-checkout-container .raz-form-row textarea {
	width: 100%;
	padding: 6px 12px;
	line-height: 20px;
	border: 1px solid #cbd5e0;
	border-radius: 4px;
	box-sizing: border-box;
}

.raz-form-row .required {
	color: #e53e3e;
	border: none;
	text-decoration: none;
}

.raz-checkout-billing {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.raz-checkout-billing h3 {
	width: 100%;
	margin-bottom: 20px;
}

.raz-form-row {
	width: 100%;
	margin-bottom: 16px;
}

.raz-form-row--half {
	width: calc(50% - 10px);
}

@media (max-width: 600px) {
	.raz-form-row--half {
		width: 100%;
	}
}

.raz-checkout-summary {
	background: #f7fafc;
	padding: 24px;
	border: 2px solid #e2e8f0;
	margin-top: 85px;
	border-radius: 8px;
	margin-bottom: auto;
	position: sticky;
	top: 40px;
}

.raz-checkout-summary-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.raz-checkout-summary-table th,
.raz-checkout-summary-table td {
	padding: 12px 0;
	border-bottom: 1px solid #e2e8f0;
}

.raz-checkout-summary-table th,
.raz-checkout-summary-table td:first-child {
	text-align: left;
}

.raz-checkout-summary-table th:last-child,
.raz-checkout-summary-table td:last-child {
	text-align: right;
}

.raz-checkout-summary-table tfoot th,
.raz-checkout-summary-table tfoot td {
	border-bottom: none;
	padding-top: 16px;
}

.raz-checkout-payment {
	background: #fff;
	padding: 16px;
	border-radius: 4px;
	border: 1px solid #e2e8f0;
	margin-bottom: 24px;
}

.raz-checkout-place-order {
	width: 100%;
	background: #38a169;
	color: #fff;
	border: none;
	padding: 16px;
	font-size: 1.125rem;
	font-weight: bold;
	border-radius: 4px;
	cursor: pointer;
}

.raz-checkout-place-order:hover {
	background: #2f855a;
}

/* Order Summary (Thank You Page) */
.raz-order-summary {
	max-width: 800px;
	margin: 0 auto;
}

.raz-order-success-msg {
	font-size: 1.25rem;
	color: #38a169;
	margin-bottom: 32px;
}

.raz-order-overview {
	list-style: none;
	padding: 0;
	margin: 0 0 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}

.raz-order-overview li {
	display: flex;
	flex-direction: column;
	border-right: 1px dashed #cbd5e0;
	padding-right: 24px;
}

.raz-order-overview li:last-child {
	border-right: none;
}

.raz-order-details-table {
	width: 100%;
	border-collapse: collapse;
}

.raz-order-details-table th,
.raz-order-details-table td {
	padding: 12px;
	border: 1px solid #e2e8f0;
	text-align: left;
}

.raz-order-details-table tfoot th {
	text-align: right;
}