:root {
	--primary-color: #2563eb;
	--text-color: #111827;
	--bg-color: #f9fafb;
	--card-bg: #ffffff;
	--accent-color: #10b981;
	--shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
	--link-bg: #f3f4f6;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
	background: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

.container {
	max-width: 1320px;
	margin: 0 auto;
	padding: 24px;
}

header {
	background: linear-gradient(180deg, #111827 0%, rgba(17, 24, 39, 0.95) 100%);
	color: #fff;
	padding: 16px 24px;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow);
}

header h1 {
	font-size: 1.75rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.avg-stars {
	color: #eab308;
	font-size: 1.25rem;
}

.cart-icon {
	cursor: pointer;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
}

.cart-icon span {
	background: var(--primary-color);
	border-radius: 12px;
	padding: 4px 10px;
	font-size: 0.85rem;
	font-weight: 600;
}

.cart-modal {
	display: none;
	position: fixed;
	top: 70px;
	right: 24px;
	background: var(--card-bg);
	border-radius: 12px;
	box-shadow: var(--shadow);
	width: 340px;
	padding: 24px;
	z-index: 1001;
}

.cart-modal h2 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
}

.cart-item:last-child {
	border-bottom: none;
}

.cart-item-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cart-item-controls button {
	background: #ef4444;
	color: #fff;
	border: none;
	padding: 4px 8px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 0.9rem;
}

.cart-item-controls button:hover {
	background: #dc2626;
}

.cart-item-controls input {
	width: 40px;
	text-align: center;
	padding: 4px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
}

.cart-total {
	margin-top: 16px;
	font-weight: 600;
	text-align: right;
}

.cart-actions {
	margin-top: 16px;
	text-align: right;
}

.checkout-btn {
	background: var(--primary-color);
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	transition: background 0.2s;
}

.checkout-btn:hover {
	background: #1d4ed8;
}

section {
	margin: 80px 0;
}

.store-hero {
	text-align: center;
}

.store-hero img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 16px;
}

.store-hero h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.store-hero p {
	font-size: 1.1rem;
	color: #4b5563;
	max-width: 800px;
	margin: 0 auto 16px;
}

.store-links {
	background: var(--link-bg);
	border-radius: 8px;
	padding: 8px 12px;
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.store-links a {
	background: var(--primary-color);
	color: #fff;
	padding: 6px 12px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 0.2s;
}

.store-links a:hover {
	background: var(--accent-color);
}

.store-map {
	margin-top: 24px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.store-map h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.store-map iframe {
	width: 100%;
	height: 400px;
	border: none;
	border-radius: 12px;
	box-shadow: var(--shadow);
}

.gallery {
	max-width: 800px;
	margin: 0 auto;
}

.gallery .slick-slide img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
}

.slick-prev, .slick-next {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 50%;
	z-index: 1;
}

.slick-prev:hover, .slick-next:hover {
	background: #ffffff;
}

.slick-prev:before, .slick-next:before {
	color: #111827;
	font-size: 20px;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.product-card {
	background: var(--card-bg);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.product-image img {
	width: 100%;
	height: 320px;
	object-fit: cover;
}

.product-info {
	padding: 16px;
	text-align: center;
}

.product-info h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 8px;
}

.product-info p {
	font-size: 0.95rem;
	color: #4b5563;
	margin-bottom: 12px;
}

.product-info .price {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-color);
	margin-bottom: 12px;
}

.add-to-cart {
	background: var(--primary-color);
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	width: 100%;
	transition: background 0.2s;
}

.add-to-cart:hover {
	background: #1d4ed8;
}

.cart-section {
	background: var(--card-bg);
	border-radius: 12px;
	padding: 24px;
	box-shadow: var(--shadow);
	display: none;
}

.cart-section.active {
	display: block;
}

.cart-section h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.cart-list {
	margin-bottom: 16px;
}

.cart-list .cart-empty {
	color: #4b5563;
	text-align: center;
}

.checkout-section {
	background: var(--card-bg);
	border-radius: 12px;
	padding: 24px;
	box-shadow: var(--shadow);
	display: none;
}

.checkout-section.active {
	display: block;
}

.checkout-section h2 {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 16px;
}

.checkout-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.checkout-form .full-width {
	grid-column: 1 / -1;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-size: 0.95rem;
	font-weight: 500;
	margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	width: 100%;
}

.form-group textarea {
	resize: vertical;
	min-height: 80px;
}

.form-group .stars {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 4px;
}

.form-group .stars input {
	display: none;
}

.form-group .stars label {
	font-size: 1.5rem;
	color: #ccc;
	cursor: pointer;
	margin-right: 5px;
}

.form-group .stars label.highlighted {
	color: #f5c518;
}

.submit-order, .submit-comment {
	background: var(--primary-color);
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 600;
	transition: background 0.2s;
	margin-top: 10px;
}

.submit-order:hover, .submit-comment:hover {
	background: #1d4ed8;
}

.comments-list {
	margin-top: 24px;
}

.comment {
	padding: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.comment:last-child {
	border-bottom: none;
}

.comment .name {
	font-weight: 600;
	margin-bottom: 8px;
}

.comment .stars {
	color: #eab308;
	margin-bottom: 4px;
}

.comment .text {
	font-size: 0.95rem;
	color: #4b5563;
}

.comment .date {
	font-size: 0.85rem;
	color: #6b7280;
	margin-top: 4px;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 16px;
	gap: 8px;
}

.pagination button {
	background: var(--card-bg);
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 0.95rem;
	transition: background 0.2s, border-color 0.2s;
}

.pagination button:hover {
	background: #f3f4f6;
	border-color: var(--primary-color);
}

.pagination button.active {
	background: var(--primary-color);
	color: #fff;
	border-color: var(--primary-color);
}

.pagination button:disabled {
	background: #e5e7eb;
	border-color: #e5e7eb;
	color: #9ca3af;
	cursor: not-allowed;
}

footer {
	text-align: center;
	padding: 32px 24px;
	background: #e5e7eb;
	margin-top: 48px;
	font-size: 0.9rem;
	color: #4b5563;
}

/* Password Modal Styles */
.password-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 2000;
	display: flex;
	justify-content: center;
	align-items: center;
}

.password-modal {
	background: var(--card-bg);
	padding: 24px;
	border-radius: 12px;
	box-shadow: var(--shadow);
	text-align: center;
	max-width: 400px;
	width: 90%;
}

.password-modal h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.password-modal input {
	padding: 10px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 1rem;
	width: 100%;
	margin-bottom: 16px;
}

.password-modal button {
	background: var(--primary-color);
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	transition: background 0.2s;
}

.password-modal button:hover {
	background: #1d4ed8;
}

.password-modal .error {
	color: #ef4444;
	font-size: 0.9rem;
	margin-top: 8px;
	display: none;
}

.hidden {
	display: none;
}

@media (max-width: 768px) {
	.product-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	}

	.cart-modal {
		width: 90%;
		right: 5%;
	}

	header h1 {
		font-size: 1.5rem;
	}

	.store-links {
		gap: 6px;
	}

	.store-links a {
		font-size: 0.85rem;
		padding: 4px 8px;
	}

	.store-hero h2 {
		font-size: 1.75rem;
	}

	.gallery .slick-slide img {
		height: 240px;
	}

	.checkout-form {
		grid-template-columns: 1fr;
	}

	.store-map iframe {
		height: 300px;
	}

	.password-modal {
		width: 95%;
	}
}