/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-orange: #ff8c00;
	--dark-orange: #e67e00;
	--light-orange: #ffa726;
	--text-dark: #2c2c2c;
	--text-gray: #666666;
	--bg-light: #f9f9f9;
	--white: #ffffff;
	--border-color: #e0e0e0;
	--radius: 8px;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text-dark);
	line-height: 1.6;
	background-color: var(--white);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}



/* Sidebars */
.sidebar {
	position: fixed;
	top: 0;
	height: 100vh;
	background-color: var(--white);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	z-index: 2000;
	transition: transform 0.3s ease;
	overflow-y: auto;
}

.left-sidebar {
	left: 0;
	width: 280px;
	transform: translateX(-100%);
}

.left-sidebar.active {
	transform: translateX(0);
}

.right-sidebar {
	right: 0;
	width: 350px;
	transform: translateX(100%);
}

.right-sidebar.active {
	transform: translateX(0);
}

.sidebar-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1999;
	display: none;
}

.sidebar-overlay.active {
	display: block;
}

.sidebar-header {
	padding: 20px;
	border-bottom: 1px solid var(--border-color);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sidebar-header h3 {
	font-size: 18px;
	color: var(--text-dark);
}

.close-sidebar {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--text-dark);
}

.sidebar-content {
	padding: 20px;
}

/* Mobile Menu */
.mobile-nav {
	list-style: none;
}

.mobile-nav li {
	border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
	display: block;
	padding: 15px 0;
	text-decoration: none;
	color: var(--text-dark);
	font-weight: 500;
}

.mobile-nav a:hover {
	color: var(--primary-orange);
}

/* Cart Sidebar */
.cart-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: var(--radius);
}

.cart-item-details {
	flex: 1;
}

.cart-item-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 5px;
}

.cart-item-price {
	color: var(--primary-orange);
	font-weight: bold;
	margin-bottom: 8px;
}

.cart-item-quantity {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qty-btn {
	background-color: var(--bg-light);
	border: 1px solid var(--border-color);
	width: 25px;
	height: 25px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.remove-item {
	background: none;
	border: none;
	color: var(--text-gray);
	cursor: pointer;
	font-size: 18px;
}

.cart-total {
	padding: 20px 0;
	border-top: 2px solid var(--border-color);
	margin-top: 20px;
}

.cart-total-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	font-size: 16px;
}

.cart-total-row.total {
	font-size: 20px;
	font-weight: bold;
	color: var(--primary-orange);
}

.checkout-btn {
	width: 100%;
	padding: 15px;
	background-color: var(--primary-orange);
	color: var(--white);
	border: none;
	border-radius: var(--radius);
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	margin-top: 15px;
	transition: background-color 0.3s;
}

.checkout-btn:hover {
	background-color: var(--dark-orange);
}

.empty-cart {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-gray);
}

/* Main Content */
main {
	margin-top: 74px;
	min-height: calc(100vh - 80px - 300px);
}

/* Hero Section */
.hero {
	background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
	padding: 60px 20px;
	text-align: center;
}

.hero h1 {
	font-size: 42px;
	color: var(--text-dark);
	margin-bottom: 15px;
}

.hero p {
	font-size: 18px;
	color: var(--text-gray);
	margin-bottom: 30px;
}

.btn-primary {
	display: inline-block;
	padding: 15px 40px;
	background-color: var(--primary-orange);
	color: var(--white);
	text-decoration: none;
	border-radius: var(--radius);
	font-weight: bold;
	transition: background-color 0.3s;
}

.btn-primary:hover {
	background-color: var(--dark-orange);
}

/* Categories Section */
.categories-section {
	padding: 60px 20px;
}

.section-title {
	text-align: center;
	font-size: 32px;
	margin-bottom: 40px;
	color: var(--text-dark);
}

.categories-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.category-card {
	background-color: var(--white);
	border: 2px solid var(--border-color);
	border-radius: var(--radius);
	padding: 30px;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s;
}

.category-card:hover {
	border-color: var(--primary-orange);
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
}

.category-icon {
	font-size: 48px;
	margin-bottom: 15px;
}

.category-card h3 {
	color: var(--text-dark);
	font-size: 20px;
	margin-bottom: 10px;
}

.category-card p {
	color: var(--text-gray);
	font-size: 14px;
}

/* Products Grid */
.products-section {
	padding: 60px 20px;
	background-color: var(--bg-light);
}

.products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	flex-wrap: wrap;
	gap: 20px;
}

.filter-sort {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.filter-sort select {
	padding: 10px 15px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	background-color: var(--white);
	cursor: pointer;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.product-card {
	background-color: var(--white);
	border: 2px solid transparent;
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	transition: all 0.3s;
}

.product-card:hover {
	border-color: var(--primary-orange);
	box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
	transform: translateY(-5px);
}

.product-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.product-info {
	padding: 20px;
}

.product-title {
	font-size: 18px;
	color: var(--text-dark);
	margin-bottom: 10px;
	font-weight: 600;
}

.product-description {
	font-size: 14px;
	color: var(--text-gray);
	margin-bottom: 15px;
	line-height: 1.5;
}

.product-price {
	font-size: 24px;
	color: var(--primary-orange);
	font-weight: bold;
	margin-bottom: 15px;
}

.add-to-cart-btn {
	width: 100%;
	padding: 12px;
	background-color: var(--primary-orange);
	color: var(--white);
	border: none;
	border-radius: var(--radius);
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
	background-color: var(--dark-orange);
}

/* Product Detail */
.product-detail {
	padding: 60px 20px;
}

.product-detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	margin-bottom: 60px;
}

.product-gallery {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.main-image {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: var(--radius);
	border: 2px solid var(--border-color);
}

.thumbnail-images {
	display: flex;
	gap: 15px;
}

.thumbnail {
	width: 100px;
	height: 100px;
	object-fit: cover;
	border-radius: var(--radius);
	border: 2px solid var(--border-color);
	cursor: pointer;
	transition: border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
	border-color: var(--primary-orange);
}

.product-detail-info h1 {
	font-size: 32px;
	margin-bottom: 15px;
}

.product-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
}

.stars {
	color: var(--primary-orange);
}

.product-detail-price {
	font-size: 36px;
	color: var(--primary-orange);
	font-weight: bold;
	margin-bottom: 20px;
}

.product-detail-description {
	color: var(--text-gray);
	line-height: 1.8;
	margin-bottom: 30px;
}

.quantity-selector {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
}

.quantity-selector label {
	font-weight: 600;
}

.quantity-input {
	display: flex;
	align-items: center;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	overflow: hidden;
}

.quantity-input button {
	background-color: var(--bg-light);
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 18px;
}

.quantity-input input {
	width: 60px;
	text-align: center;
	border: none;
	padding: 10px;
	font-size: 16px;
}

.product-actions {
	display: flex;
	gap: 15px;
	margin-bottom: 30px;
}

.btn-large {
	flex: 1;
	padding: 18px;
	border: none;
	border-radius: var(--radius);
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s;
}

.btn-add-cart {
	background-color: var(--primary-orange);
	color: var(--white);
}

.btn-add-cart:hover {
	background-color: var(--dark-orange);
}

.btn-buy-now {
	background-color: var(--text-dark);
	color: var(--white);
}

.btn-buy-now:hover {
	background-color: #1a1a1a;
}

.product-features {
	border-top: 1px solid var(--border-color);
	padding-top: 30px;
}

.product-features h3 {
	margin-bottom: 15px;
}

.product-features ul {
	list-style: none;
	padding-left: 0;
}

.product-features li {
	padding: 10px 0;
	padding-left: 25px;
	position: relative;
}

.product-features li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--primary-orange);
	font-weight: bold;
}

/* Contact Page */
.contact-section {
	padding: 60px 20px;
}

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.contact-item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.contact-icon {
	font-size: 32px;
	color: var(--primary-orange);
}

.contact-item h3 {
	margin-bottom: 5px;
}

.contact-item p {
	color: var(--text-gray);
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label {
	font-weight: 600;
}

.form-group input,
.form-group textarea {
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 14px;
}

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

.submit-btn {
	padding: 15px;
	background-color: var(--primary-orange);
	color: var(--white);
	border: none;
	border-radius: var(--radius);
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s;
}

.submit-btn:hover {
	background-color: var(--dark-orange);
}

/* Terms Page */
.terms-section {
	padding: 60px 20px;
	max-width: 900px;
	margin: 0 auto;
}

.terms-section h1 {
	margin-bottom: 30px;
}

.terms-section h2 {
	margin-top: 30px;
	margin-bottom: 15px;
	color: var(--primary-orange);
}

.terms-section p {
	margin-bottom: 15px;
	line-height: 1.8;
	color: var(--text-gray);
}

/* Footer */
footer {
	background-color: var(--text-dark);
	color: var(--white);
	padding-top: 60px;
	border-top: 3px solid var(--primary-orange);
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
}

.footer-section h3 {
	margin-bottom: 20px;
	color: var(--primary-orange);
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 10px;
}

.footer-section a {
	color: var(--white);
	text-decoration: none;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--primary-orange);
}

.social-links {
	display: flex;
	gap: 15px;
	margin-top: 15px;
}

.social-links a {
	font-size: 24px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 20px;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
	.mobile-menu-toggle {
		display: block;
	}

	.nav-menu {
		display: none;
	}

	.hero h1 {
		font-size: 32px;
	}

	.hero p {
		font-size: 16px;
	}

	.product-detail-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.main-image {
		height: 350px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

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

	.right-sidebar {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.hero h1 {
		font-size: 24px;
	}

	.section-title {
		font-size: 24px;
	}

	.products-grid {
		grid-template-columns: 1fr;
	}

	.product-actions {
		flex-direction: column;
	}
}
