/**
 * VK Reservations - Main Stylesheet
 *
 * @package VK_Reservations
 */

/* Custom Dialog System */
.vk-dialog-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
}

.vk-dialog-overlay.vk-dialog-show {
	opacity: 1;
}

.vk-dialog {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	max-width: 500px;
	width: 100%;
	padding: 32px;
	text-align: center;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.vk-dialog-show .vk-dialog {
	transform: scale(1);
}

.vk-dialog-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	font-weight: bold;
	margin: 0 auto 20px;
}

.vk-dialog-icon-success {
	background: rgba(76, 175, 80, 0.1);
	color: #4caf50;
}

.vk-dialog-icon-error {
	background: rgba(244, 67, 54, 0.1);
	color: #f44336;
}

.vk-dialog-icon-warning {
	background: rgba(255, 152, 0, 0.1);
	color: #ff9800;
}

.vk-dialog-icon-info {
	background: rgba(33, 150, 243, 0.1);
	color: #2196f3;
}

.vk-dialog-message {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin-bottom: 24px;
}

.vk-dialog-buttons {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.vk-dialog-btn {
	padding: 12px 24px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	min-width: 100px;
}

.vk-dialog-btn-primary {
	background: #6f7f73;
	color: #ffffff;
}

.vk-dialog-btn-primary:hover {
	background: #5d6b61;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(111, 127, 115, 0.3);
}

.vk-dialog-btn-secondary {
	background: #f5f5f5;
	color: #333;
}

.vk-dialog-btn-secondary:hover {
	background: #e0e0e0;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.vk-dialog {
		padding: 24px;
		max-width: 90%;
	}

	.vk-dialog-icon {
		width: 56px;
		height: 56px;
		font-size: 28px;
	}

	.vk-dialog-message {
		font-size: 15px;
	}

	.vk-dialog-buttons {
		flex-direction: column;
	}

	.vk-dialog-btn {
		width: 100%;
	}
}

/* Container */
.vk-reservation-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.vk-reservation-wrapper {
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	padding: 30px;
}

/* Loading state */
.vk-reservation-loading {
	text-align: center;
	padding: 40px 20px;
}

.vk-reservation-loading p {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* Progress Indicator */
.vk-progress-indicator {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
	padding: 20px 0;
	position: relative;
}

.vk-progress-indicator::before {
	content: '';
	position: absolute;
	top: 37%;
	left: 0;
	right: 0;
	height: 2px;
	background: #e0e0e0;
	z-index: 0;
	transform: translateY(-50%);
}

.vk-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
	flex: 1;
}

.vk-progress-step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
}

.vk-progress-step.active .vk-progress-step-number {
	background: #6f7f73;
	color: white;
	box-shadow: 0 2px 8px rgba(111, 127, 115, 0.3);
}

.vk-progress-step.completed .vk-progress-step-number {
	background: #8a9a8e;
	color: white;
}

.vk-progress-step-label {
	font-size: 14px;
	color: #666;
	font-weight: 500;
	text-align: center;
}

.vk-progress-step.active .vk-progress-step-label {
	color: #6f7f73;
	font-weight: 600;
}

/* Step Container */
.vk-step-container {
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.vk-step-header {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #f0f0f0;
}

.vk-step-header h2 {
	margin: 0 0 10px 0;
	font-size: 28px;
	color: #333;
	font-weight: 600;
}

.vk-step-header p {
	margin: 0 0 15px 0;
	font-size: 16px;
	color: #666;
}

.vk-step-content {
	padding: 20px 0;
	min-height: 300px;
}

/* Currency Toggle */
.vk-currency-toggle {
	background: #6f7f73;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s ease;
}

.vk-currency-toggle:hover {
	background: #5d6b61;
}

/* Step Navigation Buttons */
.vk-step-navigation {
	display: flex;
	justify-content: space-between;
	gap: 15px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 2px solid #f0f0f0;
}

.vk-btn-nav {
	padding: 12px 30px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	min-width: 150px;
	min-height: 44px;
}

.vk-btn-previous {
	background: #f5f5f5;
	color: #333;
}

.vk-btn-previous:hover {
	background: #e0e0e0;
}

.vk-btn-next,
.vk-btn-submit {
	background: #6f7f73;
	color: white;
	margin-left: auto;
}

.vk-btn-next:hover,
.vk-btn-submit:hover {
	background: #5d6b61;
	box-shadow: 0 2px 8px rgba(111, 127, 115, 0.3);
}

/* Product Selection */
.vk-product-selection h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	color: #333;
}

.vk-product-type-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.vk-btn-add-product {
	flex: 1;
	min-width: 200px;
	padding: 20px;
	background: #f5f5f5;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.vk-btn-add-product:hover {
	background: #6f7f73;
	color: white;
	border-color: #6f7f73;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(111, 127, 115, 0.2);
}

.vk-btn-icon {
	font-size: 32px;
}

/* Buttons */
.vk-btn-edit,
.vk-btn-remove {
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	margin-left: 8px;
	transition: all 0.3s ease;
}

.vk-btn-edit {
	background: #2196F3;
	color: white;
}

.vk-btn-edit:hover {
	background: #1976D2;
}

.vk-btn-remove {
	background: #ff9800;
	color: white;
}

.vk-btn-remove:hover {
	background: #f57c00;
}

/* Products List */
.vk-products-list {
	margin-top: 30px;
	margin-bottom: 30px;
}

.vk-products-list h3 {
	margin: 0 0 15px 0;
	font-size: 18px;
	color: #333;
}

.vk-products-list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e0e0e0;
}

.vk-products-list-header h3 {
	margin: 0;
	font-size: 20px;
	color: #333;
}

.vk-products-total {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vk-total-label {
	font-size: 16px;
	color: #666;
	font-weight: 500;
}

.vk-total-price {
	font-size: 24px;
	font-weight: 700;
	color: #6f7f73;
}

.vk-products {
	list-style: none;
	padding: 0;
	margin: 0;
}

.vk-product-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	margin-bottom: 15px;
	transition: all 0.3s ease;
}

.vk-product-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #6f7f73;
}

.vk-product-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.vk-product-info strong {
	color: #333;
	font-size: 18px;
	font-weight: 600;
}

.vk-product-config-summary {
	font-size: 14px;
	color: #666;
}

.vk-product-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.vk-product-price {
	color: #6f7f73;
	font-weight: 600;
	font-size: 18px;
	min-width: 100px;
	text-align: right;
}

/* Empty State */
.vk-empty-state {
	text-align: center;
	padding: 40px 20px;
	color: #999;
	font-style: italic;
	font-size: 14px;
	background: #f9f9f9;
	border-radius: 8px;
	border: 2px dashed #e0e0e0;
}

/* Personal Info Form */
.vk-personal-info-form {
	max-width: 800px;
	margin: 0 auto;
}

.vk-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 20px;
}

.vk-form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 20px;
}

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

.vk-form-group input,
.vk-form-group textarea,
.vk-form-group select {
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	font-size: 16px;
	font-family: inherit;
	transition: border-color 0.3s ease;
}

.vk-form-group input:focus,
.vk-form-group textarea:focus,
.vk-form-group select:focus {
	outline: none;
	border-color: #6f7f73;
}

.vk-form-group textarea {
	resize: vertical;
	min-height: 100px;
}

/* Validation error styles */
.vk-form-group.has-error {
	background-color: #fff5f5;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.vk-form-group.has-error input,
.vk-form-group.has-error textarea,
.vk-form-group.has-error select {
	border-color: #f44336;
	border-width: 2px;
}

.vk-form-group.has-error input:focus,
.vk-form-group.has-error textarea:focus,
.vk-form-group.has-error select:focus {
	border-color: #f44336;
	box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.vk-field-error {
	color: #f44336;
	font-size: 13px;
	margin-top: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.vk-field-error::before {
	content: "⚠";
	font-size: 14px;
}

/* Shake animation for error fields */
@keyframes shake {
	0%, 100% { transform: translateX(0); }
	10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
	20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.vk-shake {
	animation: shake 0.5s ease-in-out;
}

.vk-radio-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Checkbox label */
.vk-checkbox-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 15px;
	color: #333;
}

.vk-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.vk-checkbox-label:hover {
	color: #6f7f73;
}

/* Delivery address fields */
.vk-delivery-address-option {
	margin-top: 15px;
	padding: 15px;
	background-color: #f9f9f9;
	border-radius: 4px;
}

.vk-delivery-address-fields {
	margin-top: 15px;
	padding: 20px;
	background-color: #f0f8ff;
	border: 1px solid #6f7f73;
	border-radius: 4px;
}

.vk-delivery-address-fields h4 {
	margin: 0 0 15px 0;
	color: #6f7f73;
	font-size: 16px;
}

/* Delivery address summary */
.vk-delivery-address-summary {
	margin-top: 10px;
	padding: 15px;
	background-color: #f0f8ff;
	border-left: 4px solid #6f7f73;
	border-radius: 4px;
}

.vk-delivery-address-summary p {
	margin: 5px 0;
}

.vk-radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-radio-label:hover {
	border-color: #6f7f73;
	background: #f9f9f9;
}

.vk-radio-label input[type="radio"] {
	margin: 0;
	cursor: pointer;
}

.vk-radio-label input[type="radio"]:checked + span {
	font-weight: 600;
	color: #6f7f73;
}

/* Packeta widget styles */
.vk-packeta-widget-container {
	margin-top: 15px;
}

.vk-packeta-button {
	background-color: #6f7f73;
	color: white;
	border: none;
	padding: 12px 24px;
	font-size: 16px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	width: 100%;
	font-weight: 600;
}

.vk-packeta-button:hover {
	background-color: #5d6b61;
}

.vk-packeta-selected {
	margin-top: 15px;
	padding: 15px;
	background-color: #f0f8f0;
	border: 2px solid #6f7f73;
	border-radius: 4px;
}

.vk-packeta-info strong {
	display: block;
	color: #333;
	font-size: 16px;
	margin-bottom: 5px;
}

.vk-packeta-info p {
	margin: 0;
	color: #666;
	font-size: 14px;
}

.vk-packeta-summary {
	margin-top: 10px;
	padding: 10px;
	background-color: #f9f9f9;
	border-left: 3px solid #6f7f73;
}

.vk-packeta-summary p {
	margin: 5px 0;
	font-size: 14px;
}

/* Summary */
.vk-summary {
	max-width: 800px;
	margin: 0 auto;
}

.vk-summary-section {
	margin-bottom: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
}

.vk-summary-section h3 {
	margin: 0 0 15px 0;
	font-size: 20px;
	color: #333;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 10px;
}

.vk-summary-info p {
	margin: 8px 0;
	font-size: 14px;
	color: #555;
}

.vk-summary-info strong {
	color: #333;
	font-weight: 600;
	margin-right: 5px;
}

.vk-summary-total {
	background: #fff;
	border: 2px solid #6f7f73;
}

.vk-price-breakdown {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.vk-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	font-size: 16px;
}

.vk-price-row.vk-discount {
	color: #f44336;
}

.vk-price-row.vk-total {
	border-top: 2px solid #e0e0e0;
	padding-top: 15px;
	margin-top: 10px;
	font-size: 20px;
	font-weight: 600;
	color: #6f7f73;
}

.vk-summary-note {
	margin-top: 15px;
	font-size: 13px;
	color: #666;
	font-style: italic;
}

/* Summary section header with edit button */
.vk-summary-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e0e0e0;
}

.vk-summary-section-header h3 {
	margin: 0;
	padding: 0;
	border: none;
}

.vk-btn-edit-section {
	padding: 6px 12px;
	font-size: 13px;
	background: #fff;
	color: #6f7f73;
	border: 1px solid #6f7f73;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-btn-edit-section:hover {
	background: #6f7f73;
	color: #fff;
}

/* Summary products list */
.vk-summary-products {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vk-summary-product {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 15px;
}

.vk-summary-product-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.vk-summary-product-header h4 {
	margin: 0;
	font-size: 16px;
	color: #333;
}

.vk-summary-product-actions {
	display: flex;
	gap: 8px;
}

.vk-btn-edit-small,
.vk-btn-remove-small {
	padding: 4px 10px;
	font-size: 12px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-btn-edit-small:hover {
	background: #6f7f73;
	color: #fff;
	border-color: #6f7f73;
}

.vk-btn-remove-small:hover {
	background: #f44336;
	color: #fff;
	border-color: #f44336;
}

/* Product details list */
.vk-product-details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 15px;
	margin: 10px 0;
	font-size: 14px;
}

.vk-product-details dt {
	font-weight: 600;
	color: #555;
}

.vk-product-details dd {
	margin: 0;
	color: #333;
}

.vk-summary-product-price {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #e0e0e0;
	text-align: right;
	font-size: 16px;
}

.vk-summary-product-price strong {
	margin-right: 10px;
}

/* Voucher section */
.vk-summary-voucher {
	background: #fff9e6;
	border: 2px solid #ffc107;
}

.vk-voucher-input-group {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.vk-voucher-input-group input {
	flex: 1;
	min-width: 200px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	text-transform: uppercase;
}

.vk-voucher-input-group .vk-btn {
	padding: 10px 20px;
	white-space: nowrap;
}

.vk-btn-text {
	background: transparent;
	color: #f44336;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 14px;
	text-decoration: underline;
}

.vk-btn-text:hover {
	color: #d32f2f;
}

.vk-voucher-applied {
	margin-top: 10px;
	padding: 10px;
	background: #d4edda;
	color: #155724;
	border-radius: 4px;
	font-size: 14px;
}

/* Confirmation */
.vk-confirmation-message {
	text-align: center;
	padding: 40px 20px;
	max-width: 600px;
	margin: 0 auto;
}

.vk-confirmation-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: #6f7f73;
	color: white;
	font-size: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}

.vk-confirmation-message p {
	font-size: 16px;
	color: #555;
	margin: 15px 0;
}

.vk-confirmation-message strong {
	color: #6f7f73;
}

.vk-confirmation-message .vk-btn {
	margin-top: 20px;
	padding: 12px 30px;
	font-size: 16px;
}

/* Modal System */
.vk-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.vk-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(2px);
}

.vk-modal-content {
	position: relative;
	background: white;
	border-radius: 8px;
	max-width: 800px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.vk-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	border: none;
	background: #f5f5f5;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 1;
}

.vk-modal-close:hover {
	background: #e0e0e0;
	transform: rotate(90deg);
}

.vk-modal-body {
	padding: 30px;
}

body.vk-modal-open {
	overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
	.vk-reservation-container {
		padding: 10px;
	}

	.vk-reservation-wrapper {
		padding: 20px;
	}

	.vk-progress-indicator {
		padding: 10px 0;
	}

	.vk-progress-step-label {
		font-size: 12px;
	}

	.vk-progress-step-number {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}

	.vk-step-header h2 {
		font-size: 24px;
	}

	.vk-step-header p {
		font-size: 14px;
	}

	.vk-product-type-buttons {
		flex-direction: column;
	}

	.vk-btn-add-product {
		min-width: 100%;
	}

	.vk-products-list-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.vk-products-total {
		width: 100%;
		justify-content: space-between;
		padding: 15px;
		background: #f5f5f5;
		border-radius: 8px;
	}

	.vk-total-price {
		font-size: 20px;
	}

	.vk-product-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.vk-product-info {
		width: 100%;
	}

	.vk-product-actions {
		width: 100%;
		justify-content: space-between;
	}

	.vk-product-price {
		text-align: left;
	}

	.vk-form-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.vk-step-navigation {
		flex-direction: column;
	}

	.vk-btn-nav {
		width: 100%;
		margin-left: 0 !important;
	}

	/* Fullscreen modals on mobile */
	.vk-modal-content {
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		border-radius: 0;
	}

	.vk-modal-body {
		padding: 20px;
		padding-top: 60px;
	}

	/* Sticky close button on mobile */
	.vk-modal-close {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1000;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	}
}

/* Product Configuration Form */
.vk-product-config-form {
	max-width: 100%;
}

.vk-product-config-form h2 {
	margin: 0 0 25px 0;
	color: #333;
	font-size: 24px;
}

.vk-product-config-form .vk-form-group {
	margin-bottom: 20px;
}

.vk-product-config-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #333;
}

.vk-product-config-form input[type="text"],
.vk-product-config-form select,
.vk-product-config-form textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

.vk-product-config-form input[type="text"]:focus,
.vk-product-config-form select:focus,
.vk-product-config-form textarea:focus {
	outline: none;
	border-color: #6f7f73;
}

.vk-product-config-form textarea {
	resize: vertical;
	min-height: 80px;
}

/* Size Selector */
.vk-size-selector {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.vk-size-group h4 {
	margin: 0 0 10px 0;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
}

.vk-radio-card {
	display: block;
	padding: 12px;
	margin-bottom: 8px;
	border: 2px solid #ddd;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-radio-card:hover {
	border-color: #6f7f73;
	background: #f9f9f9;
}

.vk-radio-card input[type="radio"] {
	margin-right: 8px;
}

.vk-radio-card input[type="radio"]:checked + span,
.vk-radio-card:has(input[type="radio"]:checked) {
	border-color: #6f7f73;
	background: #f0f8f0;
}

.vk-radio-card span {
	font-size: 14px;
	color: #333;
}

.vk-radio-card.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	background: #f5f5f5;
}

.vk-radio-card.disabled:hover {
	border-color: #ddd;
	background: #f5f5f5;
}

.vk-radio-card.disabled input[type="radio"] {
	cursor: not-allowed;
}

.vk-radio-card.disabled span {
	color: #999;
}

/* Voucher Notice */
.vk-voucher-notice {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
	color: #856404;
	font-size: 14px;
	line-height: 1.5;
}

/* Radio Group */
.vk-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vk-radio-group label {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 0;
}

.vk-radio-group label:hover {
	border-color: #6f7f73;
	background: #f9f9f9;
}

.vk-radio-group input[type="radio"] {
	margin-right: 6px;
}

.vk-radio-group label:has(input[type="radio"]:checked) {
	border-color: #6f7f73;
	background: #f0f8f0;
}

/* Checkbox Group */
.vk-checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vk-checkbox-group label {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 2px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 0;
}

.vk-checkbox-group label:hover {
	border-color: #6f7f73;
	background: #f9f9f9;
}

.vk-checkbox-group input[type="checkbox"] {
	margin-right: 6px;
}

.vk-checkbox-group label:has(input[type="checkbox"]:checked) {
	border-color: #6f7f73;
	background: #f0f8f0;
}

/* Custom Pricing Notice */
.vk-custom-pricing-notice {
	padding: 15px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 6px;
	margin: 20px 0;
}

.vk-custom-pricing-notice strong {
	display: block;
	margin-bottom: 5px;
	color: #856404;
}

.vk-custom-pricing-notice p {
	margin: 5px 0;
	color: #856404;
	font-size: 14px;
}

.vk-custom-pricing-notice p:last-child {
	margin-bottom: 0;
}

.vk-custom-pricing-notice #customPricingList {
	color: #664d03;
	font-weight: 600;
}

/* Image Radio Cards */
.vk-image-radio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 10px;
}

.vk-image-radio-grid-3col {
	grid-template-columns: repeat(3, 1fr);
}

.vk-image-radio-card {
	position: relative;
	display: block;
	cursor: pointer;
	border: 3px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	background: white;
}

.vk-image-radio-card:hover {
	border-color: #6f7f73;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.vk-image-radio-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vk-image-radio-card input[type="radio"]:checked + .vk-image-radio-content {
	border-color: #6f7f73;
}

.vk-image-radio-card:has(input[type="radio"]:checked) {
	border-color: #6f7f73;
	background: #f0f8f0;
	box-shadow: 0 4px 12px rgba(111, 127, 115, 0.2);
}

.vk-image-radio-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
}

.vk-image-radio-content img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	display: block;
}

.vk-image-radio-label {
	display: block;
	padding: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	background: white;
	width: 100%;
}

.vk-image-radio-card:has(input[type="radio"]:checked) .vk-image-radio-label {
	background: #f0f8f0;
	color: #2e7d32;
	font-weight: 600;
}

/* Switch Group (Ano/Ne) */
.vk-switch-group {
	margin: 15px 0;
}

.vk-switch-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.vk-switch-container {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vk-radio-switch {
	display: inline-flex;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	width: fit-content;
}

.vk-switch-option {
	position: relative;
	margin: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-switch-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.vk-switch-option span {
	display: block;
	padding: 8px 24px;
	font-size: 14px;
	font-weight: 500;
	color: #666;
	background: #fff;
	transition: all 0.3s ease;
	border-right: 1px solid #ddd;
	min-width: 60px;
	text-align: center;
}

.vk-switch-option:last-child span {
	border-right: none;
}

.vk-switch-option:hover span {
	background: #f5f5f5;
}

.vk-switch-option input[type="radio"]:checked + span {
	background: #6f7f73;
	color: #fff;
	font-weight: 600;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vk-switch-note {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

/* Price Display */
.vk-price-display {
	margin: 25px 0;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.vk-price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	font-size: 16px;
}

.vk-price-row.vk-price-total {
	border-top: 2px solid #ddd;
	margin-top: 10px;
	padding-top: 15px;
	font-size: 20px;
	font-weight: 600;
	color: #6f7f73;
}

/* Form Actions */
.vk-form-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.vk-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 44px;
}

.vk-btn-primary {
	background: #6f7f73;
	color: white;
}

.vk-btn-primary:hover {
	background: #5d6b61;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vk-btn-secondary {
	background: #f5f5f5;
	color: #333;
	border: 1px solid #ddd;
}

.vk-btn-secondary:hover {
	background: #e0e0e0;
}

/* Responsive adjustments for product config form */
@media (max-width: 768px) {
	.vk-size-selector {
		grid-template-columns: 1fr;
	}

	.vk-image-radio-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.vk-image-radio-content img {
		height: 120px;
	}

	.vk-image-radio-label {
		font-size: 12px;
		padding: 8px;
	}

	.vk-radio-group,
	.vk-checkbox-group {
		flex-direction: column;
	}

	.vk-radio-group label,
	.vk-checkbox-group label {
		width: 100%;
	}

	.vk-switch-option span {
		padding: 7px 20px;
		font-size: 13px;
		min-width: 55px;
	}

	.vk-form-actions {
		flex-direction: column-reverse;
	}

	.vk-form-actions .vk-btn {
		width: 100%;
	}

	.vk-price-row {
		font-size: 14px;
	}

	.vk-price-row.vk-price-total {
		font-size: 18px;
	}

	.vk-summary-section-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.vk-btn-edit-section {
		width: 100%;
		text-align: center;
	}

	.vk-summary-product-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.vk-summary-product-actions {
		width: 100%;
		justify-content: flex-end;
	}

	.vk-product-details {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.vk-product-details dt {
		font-weight: 600;
		margin-top: 8px;
	}

	.vk-product-details dd {
		margin-left: 10px;
	}

	.vk-voucher-input-group {
		flex-direction: column;
		align-items: stretch;
	}

	.vk-voucher-input-group input {
		width: 100%;
		min-width: auto;
	}

	.vk-voucher-input-group .vk-btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.vk-image-radio-grid {
		grid-template-columns: 1fr;
	}

	.vk-image-radio-content img {
		height: 180px;
	}

	.vk-switch-option span {
		padding: 6px 16px;
		font-size: 12px;
		min-width: 50px;
	}

	.vk-switch-note {
		font-size: 11px;
	}
}

/* ===================================
   Voucher System Styles (New)
   =================================== */

/* Voucher Section at Step 1 */
.vk-voucher-section {
	background: #f8f9fa;
	border: 2px dashed #dee2e6;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.vk-voucher-section h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #495057;
	font-size: 18px;
}

.vk-voucher-description {
	color: #6c757d;
	font-size: 14px;
	margin-bottom: 15px;
	line-height: 1.5;
}

.vk-voucher-input-wrapper {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.vk-voucher-input {
	flex: 1;
	min-width: 0;
}

.vk-voucher-input-wrapper .vk-btn {
	white-space: nowrap;
}

/* Voucher Messages */
.vk-voucher-message {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-top: 10px;
	display: none;
}

.vk-voucher-message.vk-voucher-success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
	display: block;
}

.vk-voucher-message.vk-voucher-error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
	display: block;
}

/* Voucher Badge */
.vk-voucher-badge {
	display: inline-block;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 10px;
	vertical-align: middle;
	box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* Product with Voucher */
.vk-product-item.has-voucher {
	border-left: 4px solid #667eea;
	background: linear-gradient(to right, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
}

.vk-product-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Voucher Pricing Breakdown */
.vk-voucher-pricing {
	margin-top: 8px;
	padding: 8px 12px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 6px;
	font-size: 13px;
}

.vk-voucher-base {
	display: block;
	color: #667eea;
	font-weight: 600;
	margin-bottom: 4px;
}

.vk-additional-charges {
	display: block;
	color: #495057;
	font-weight: 500;
}

/* Summary Page Voucher Styles */
.vk-summary-product.has-voucher {
	border-left: 4px solid #667eea;
	background: linear-gradient(to right, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
}

.vk-summary-product-title {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.vk-summary-product-title h4 {
	margin: 0;
}

.vk-voucher-price-breakdown {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vk-price-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
}

.vk-price-line.vk-additional {
	color: #6c757d;
	font-size: 14px;
}

.vk-price-line.vk-total {
	border-top: 2px solid #dee2e6;
	padding-top: 10px;
	margin-top: 4px;
}

/* Voucher Info in Summary Total */
.vk-voucher-info {
	margin-top: 15px;
	padding: 12px;
	background: rgba(102, 126, 234, 0.1);
	border-radius: 6px;
	border-left: 4px solid #667eea;
}

.vk-voucher-note {
	margin: 0;
	color: #495057;
	font-size: 14px;
	line-height: 1.5;
}

/* Responsive Adjustments for Voucher */
@media (max-width: 768px) {
	.vk-voucher-input-wrapper {
		flex-direction: column;
	}

	.vk-voucher-input-wrapper .vk-btn {
		width: 100%;
	}

	.vk-voucher-badge {
		margin-left: 0;
		margin-top: 5px;
		display: inline-block;
	}

	.vk-product-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ===================================
   Discount Code Section (Slevový kód)
   =================================== */

.vk-summary-discount {
	background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
	border-left: 4px solid #4caf50;
}

.vk-summary-discount h3 {
	color: #2e7d32;
	margin-bottom: 8px;
}

.vk-discount-description {
	color: #555;
	font-size: 14px;
	margin-bottom: 15px;
	line-height: 1.5;
}

.vk-discount-input-group {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

.vk-discount-input {
	flex: 1;
	min-width: 200px;
	padding: 10px 12px;
	border: 2px solid #4caf50;
	border-radius: 6px;
	font-size: 14px;
	text-transform: uppercase;
	transition: all 0.3s ease;
}

.vk-discount-input:focus {
	outline: none;
	border-color: #2e7d32;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.vk-discount-applied {
	margin-top: 12px;
	padding: 10px 15px;
	background: #c8e6c9;
	border-radius: 6px;
	color: #1b5e20;
	font-weight: 500;
	font-size: 14px;
}

.vk-discount-row {
	color: #2e7d32;
	font-weight: 600;
}

.vk-discount-row span:last-child {
	color: #2e7d32;
}

/* Button styling for discount section */
.vk-summary-discount .vk-btn-secondary {
	background: #4caf50;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.vk-summary-discount .vk-btn-secondary:hover {
	background: #45a049;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.vk-summary-discount .vk-btn-text {
	background: transparent;
	color: #d32f2f;
	border: none;
	padding: 10px 15px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.vk-summary-discount .vk-btn-text:hover {
	color: #b71c1c;
}

/* Responsive styles for discount section */
@media (max-width: 480px) {
	.vk-discount-input-group {
		flex-direction: column;
		align-items: stretch;
	}

	.vk-discount-input {
		min-width: 100%;
	}

	.vk-summary-discount .vk-btn-secondary,
	.vk-summary-discount .vk-btn-text {
		width: 100%;
	}
}

