/* ===== Variables & Reset ===== */
:root {
    --accent: #6bb252;
    --primary: #1f2937;
    --text-light: #4a5568;
    --text-dark: #1f2937;
    --border-color: #e2e8f0;
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

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

body {
    font-family: "Bricolage Grotesque", sans-serif;
    background: var(--bg-light);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "ss01" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Utility Classes ===== */
.d-none { display: none; }
.d-flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.p-4 { padding: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.rounded { border-radius: var(--radius-md); }
.rounded-full { border-radius: 9999px; }
.shadow { box-shadow: var(--shadow-sm); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #5a9a45;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* ===== Header & Navigation ===== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 30;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--accent);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ===== Dropdown ===== */
.dropdown {
    position: relative;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 2px;
    user-select: none;
    z-index: 1;
    display: flex;
    flex-direction: column-reverse;
}

.dropdown .selected {
    background: var(--bg-white);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.dropdown .selected:hover {
    border-color: #cbd5e0;
}

.dropdown .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: #718096;
}

.dropdown.active .arrow {
    transform: rotate(-180deg);
}

.dropdown ul {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    margin: 0 0 4px 0;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-5px);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    border: 1px solid var(--border-color);
}

.dropdown.active ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown ul li {
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.site-header {
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg-white);
    padding: 12px 20px;
}

.logo {
	font-weight: 700;
	font-size: 20px;
	color: var(--accent)
}

.nav {
	display: flex;
	gap: 8px;
	align-items: center
}

.nav-btn {
	background: none;
	border: 1px solid #e5e7eb;
	padding: 8px 12px;
	border-radius: 6px;
	cursor: pointer
}

.auth {
	display: flex;
	gap: 8px;
	align-items: center
}

.auth-btn {
	padding: 6px 10px;
	border-radius: 6px;
	cursor: pointer;
	background: var(--accent);
	color: white;
	border: none
}

.user-email {
	font-size: 13px;
	color: #374151
}

.filter-btn {
    padding: 8px 20px;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #6bb252;
    color: white;
}

/* Categories */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category {
	padding: 8px 12px;
	border-radius: 20px;
	border: 1px solid #e5e7eb;
	background: white;
	cursor: pointer
}

.category.active {
	background: var(--accent);
	color: white;
	border-color: var(--accent)
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* ===== Cart & Wishlist ===== */
.cart-sidebar {
    display: none;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.cart-sidebar h3 {
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item, .wishlist-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.cart-item:hover, .wishlist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cart-item img, .wishlist-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.cart-item-details, .wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title, .wishlist-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.cart-item-price, .wishlist-item-price {
    font-weight: 700;
    color: var(--accent);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 10px;
        gap: 10px;
    }
    
    .site-header {
        padding: 10px 15px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-item, .wishlist-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item img, .wishlist-item img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
}

/* Modal */
.modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.4);
	z-index: 40
}

.modal-content {
	background: white;
	padding: 16px;
	border-radius: 12px;
	max-width: 760px;
	width: 94%;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	position: relative
}

.modal-close {
	position: absolute;
	right: 20px;
	top: 20px;
	font-size: 24px;
	cursor: pointer;
}

.modal-content img {
	width: 220px;
	height: 220px;
	object-fit: contain
}

.modal-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px
}

select {
	padding: 6px;
	border-radius: 6px;
	border: 1px solid #e5e7eb
}

/* Cart & Wishlist Pages */
.cart-sidebar {
	display: none;
	max-width: 1200px;
	margin: 20px auto;
	padding: 20px 10px;
	background: white;
	border-radius: 12px;
}

.cart-sidebar h3 {
	margin: 0 0 25px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid #f0f0f0;
	color: #1f2937;
	font-size: 1.5rem;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Back to Shop Button */
#back-to-shop,
#browse-products, .detail-back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	transition: all 0.2s ease;
	text-decoration: none; 
}
#back-to-shop, .detail-back-button {
    background-color: #f8f8f8;
    color: #6bb252;
    border: 1px solid #6bb252;
}

#back-to-shop:hover,
#browse-products:hover,
.detail-back-button:hover {
    background-color: #6bb252;
    color: white;
	transform: translateY(-1px);
}

#back-to-shop i,
#browse-products i {
	transition: transform 0.2s ease;
}

#back-to-shop:hover i,
#browse-products:hover i {
	transform: translateX(-2px);
}

.cart-sidebar .close-btn {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #6b7280;
	transition: color 0.2s ease;
}

.cart-sidebar .close-btn:hover {
	color: #d97706;
}

#cart-items,
#wishlist-items {
	flex: 1;
	overflow-y: auto;
	margin-bottom: 20px;
}

/* Custom scrollbar */
#cart-items::-webkit-scrollbar,
#wishlist-items::-webkit-scrollbar {
	width: 6px;
}

#cart-items::-webkit-scrollbar-track,
#wishlist-items::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

#cart-items::-webkit-scrollbar-thumb,
#wishlist-items::-webkit-scrollbar-thumb {
	background: #cbd5e0;
	border-radius: 10px;
}

.cart-item,
.wishlist-item {
	display: flex;
	gap: 15px;
	padding: 15px;
	margin-bottom: 15px;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid #f0f0f0;
}

.cart-item:hover,
.wishlist-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item img,
.wishlist-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #f0f0f0;
	background: #fff;
}

.cart-item-details,
.wishlist-item-details {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.cart-item-title,
.wishlist-item-title {
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 5px;
	font-size: 0.95rem;
}

.cart-item-details-var-count {
    display: flex;
	flex-direction: row;
	gap: 15px;
}

.cart-remove-btn{
    justify-self: end;
    align-self: end;
    margin-left: auto;
    margin-right: 0;
    padding: 6px 12px;
    background-color: red;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    border: none;
}

.cart-remove-btn:hover{
    background-color: #dd0000;
}

.cart-remove-btn:active{
    transform: translateY(1px);
}

.cart-item-variant,
.cart-item-count,
.wishlist-item-variant {
	font-size: 0.8rem;
	color: #6b7280;
	margin: 3px 0;
}

.cart-item-price,
.wishlist-item-price {
	font-weight: 600;
	color: #d97706;
	margin: 5px 0;
	font-size: 0.95rem;
}

.cart-item-actions,
.wishlist-item-actions {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}

.cart-item-actions .btn,
.wishlist-item-actions .btn {
	background: none;
	border: none;
	color: #ef4444;
	cursor: pointer;
	font-size: 0.85rem;
	padding: 4px 8px;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.cart-item-actions .btn:hover,
.wishlist-item-actions .btn:hover {
	background: #fee2e2;
}

.cart-footer {
	padding: 15px 0 0;
	border-top: 2px solid #f0f0f0;
	margin-top: auto;
}

.cart-total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #1f2937;
}

#checkout-btn {
	width: 100%;
	padding: 12px;
    background-color: #6bb252;
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

#checkout-btn:hover {
    background-color: #64ad49;
	transform: translateY(-1px);
}

#checkout-btn:active {
	transform: translateY(0);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    max-width: 400px;
    margin: 40px auto;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #6bb252;
    font-size: 32px;
    position: relative;
    border: 2px dashed #e5e7eb;
}

.empty-state-icon.wishlist {
    color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}

.empty-state h3 {
	text-align: center;
	align-self: center;
	justify-self: center;
    color: #1f2937;
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 600;
}

.empty-state p {
    color: #6b7280;
    margin: 0 0 25px;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Login Prompt Styles */
#profile .login-prompt {
  max-width: 500px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

#profile .login-prompt h2 {
  color: #2d3748;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

#profile .login-prompt p {
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
}

#profile .login-prompt .login-icon {
  margin-bottom: 20px;
}

#profile .login-prompt .login-icon i {
  font-size: 60px;
  color: #4299e1;
}

#profile .login-prompt .btn {
  width: 100%;
  padding: 12px 20px;
  margin: 10px 0;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#profile .login-prompt .btn i {
  font-size: 1.1rem;
}

#profile .login-prompt .btn-primary {
  background-color: #4299e1;
  border-color: #4299e1;
}

#profile .login-prompt .btn-primary:hover {
  background-color: #3182ce;
  border-color: #2b6cb0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.2);
}

#profile .login-prompt .btn-outline-primary {
  color: #4299e1;
  border: 2px solid #4299e1;
  background: transparent;
}

#profile .login-prompt .btn-outline-primary:hover {
  background-color: #ebf8ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.1);
}

#profile .login-prompt .divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #a0aec0;
}

#profile .login-prompt .divider::before,
#profile .login-prompt .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
  margin: 0 10px;
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #6bb252;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(107, 178, 82, 0.2);
}

.empty-state .btn:hover {
    background: #5a9e43;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(107, 178, 82, 0.3);
}

.empty-state .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.empty-state .btn:hover i {
    transform: translateX(3px);
}

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
	opacity: 1;
	visibility: visible;
}

/* Quantity controls */
.cart-item-quantity {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
}

.cart-item-quantity select {
	padding: 4px 8px;
	border-radius: 6px;
	border: 1px solid #e5e7eb;
	background: white;
	font-size: 0.85rem;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-item-quantity select:focus {
	outline: none;
	border-color: #d97706;
	box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);
}

/* Responsive adjustments */
@media (max-width: 480px) {
	.cart-item,
	.wishlist-item {
		padding: 12px;
	}

	.cart-item img,
	.wishlist-item img {
		width: 70px;
		height: 70px;
	}
}

/* Animation for cart/wishlist items */
@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.cart-item,
.wishlist-item {
	animation: slideIn 0.3s ease-out forwards;
	opacity: 0;
}

/* Add delay for each item */
.cart-item:nth-child(1),
.wishlist-item:nth-child(1) {
	animation-delay: 0.05s;
}

.cart-item:nth-child(2),
.wishlist-item:nth-child(2) {
	animation-delay: 0.1s;
}

.cart-item:nth-child(3),
.wishlist-item:nth-child(3) {
	animation-delay: 0.15s;
}

.cart-item:nth-child(4),
.wishlist-item:nth-child(4) {
	animation-delay: 0.2s;
}

.cart-item:nth-child(5),
.wishlist-item:nth-child(5) {
	animation-delay: 0.25s;
}

/* Footer */
.site-footer {
	padding: 20px;
	text-align: center;
	color: #6b7280;
	border-top: 1px solid #e5e7eb
}

@media(max-width:850px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.modal-content {
		flex-direction: column;
		align-items: center
	}
}

@media(max-width:550px) {
	.product-grid {
		grid-template-columns: repeat(1, 1fr)
	}
}

/* Profile Page Styles */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
}

.profile-header {
	display: flex;
	flex-direction: column;
	align-items: center;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-edit-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-edit-avatar:hover {
    background: #5a9e3d;
    transform: scale(1.05);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.profile-section {
    background: #f9fafb;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.profile-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 1.25rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4b5563;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    background-color: #fff;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 178, 82, 0.1);
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.setting-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
}

.setting-item:hover {
    background: #f3f4f6;
    transform: translateX(3px);
}

.setting-item i:first-child {
    width: 24px;
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.1rem;
}

.setting-item i:last-child {
    margin-left: auto;
    color: #9ca3af;
    font-size: 0.8rem;
}

.setting-item.text-danger {
    color: #ef4444;
}

.setting-item.text-danger i:first-child {
    color: #ef4444;
}

/* Contact Us Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/almonds-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-details {
    background: #fff;
    border-radius: 10px;
}

.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-details > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    background: #f8f0e5;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #d4a76a;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-text p, .contact-text a {
    color: #666;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #d4a76a;
    text-decoration: none;
}

.social-links {
    margin-top: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #d4a76a;
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-container > p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a76a;
    box-shadow: 0 0 0 3px rgba(212, 167, 106, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #666;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: #fff;
}

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

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.map-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #d4a76a;
}

/* FAQ Section */
/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/almonds.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 60px;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-info-section {
    padding: 60px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-details h2,
.contact-form-container h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.contact-details h2::after,
.contact-form-container h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.contact-details p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-icon {
    background-color: #f3f4f6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.contact-text h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0 0 5px 0;
}

.contact-text p,
.contact-text a {
    color: #6b7280;
    margin: 5px 0;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--accent);
}

.social-links {
    margin-top: 40px;
}

.social-links h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.social-icons {
    display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form Styles */
.contact-form-container {
    background: #fff;
    border-radius: 10px;
    height: 100%;
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 10px;
}

.form-group.half {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #4b5563;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 178, 82, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #5a9e3f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 178, 82, 0.3);
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background-color: #f9fafb;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4a76a;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8f8f8;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.cta-box {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cta-box h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cta-box p {
    color: #666;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-text h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
}

.info-text p {
    margin: 0;
    color: #4b5563;
}

.business-hours {
    margin-top: 40px;
}

.business-hours h4 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.business-hours p {
    margin: 8px 0;
    color: #4b5563;
}

.contact-form-container .form-group {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    color: #4b5563;
    font-weight: 500;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* My Orders Page Styles */
.orders-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Orders Section */
.orders-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.orders-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
  position: relative;
}

/* Loading state */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.loading-state .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  color: #666;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background-color: #f5f5f5;
  color: #333;
}

.tab-btn.active {
  background-color: #f0f7ff;
  color: #1a73e8;
  font-weight: 600;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.order-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #eee;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.order-header h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #333;
}

.order-date {
  font-size: 0.85rem;
  color: #666;
  margin: 0.25rem 0;
}

.order-items {
  font-size: 0.9rem;
  color: #555;
  margin: 0.25rem 0 0 0;
  font-weight: 500;
}

.order-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: capitalize;
}

.order-status.pending {
  background-color: #fff3cd;
  color: #856404;
}

.order-status.processing,
.order-status.shipped {
  background-color: #e2f0ff;
  color: #004085;
}

.order-status.delivered,
.order-status.completed {
  background-color: #d4edda;
  color: #155724;
}

.order-status.cancelled,
.order-status.refunded {
  background-color: #f8d7da;
  color: #721c24;
}

.order-preview {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0.5rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.order-preview img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #eee;
  flex-shrink: 0;
}

.more-items {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

.order-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.btn-outline {
  background: transparent;
  border: 1px solid #1a73e8;
  color: #1a73e8;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

.btn-text {
  background: none;
  border: none;
  color: #d32f2f;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.btn-text:hover {
  color: #b71c1c;
  text-decoration: underline;
}

.no-orders {
  text-align: center;
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}

.no-orders i {
  font-size: 4rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.no-orders h3 {
  font-size: 1.5rem;
  color: #333;
  margin: 0.5rem 0;
}

.no-orders p {
  color: #666;
  margin-bottom: 1.5rem;
}

/* Order Details Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 2rem auto;
  max-width: 800px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  padding: 2rem;
  animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: #333;
}

.order-details-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.order-details-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.order-summary {
  margin: 2rem 0;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
}

.order-summary h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  color: #333;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.order-items-details {
  margin-bottom: 1.5rem;
}

.order-item-detail {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.order-item-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.order-item-detail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1rem;
  border: 1px solid #eee;
}

.item-info {
  flex: 1;
}

.item-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #333;
}

.item-info p {
  margin: 0.1rem 0;
  font-size: 0.9rem;
  color: #666;
}

.item-price {
  font-weight: 600;
  color: #333;
  margin-left: 1rem;
}

.order-totals {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #555;
}

.total-row:last-child {
  margin-bottom: 0;
}

.total-row.grand-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.shipping-details,
.payment-details,
.order-notes {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.shipping-details h3,
.payment-details h3,
.order-notes h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #333;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee;
}

.shipping-address p {
  margin: 0.5rem 0;
  color: #555;
  line-height: 1.5;
}

.shipping-address p:first-child {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
}

.payment-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.payment-status.paid,
.payment-status.completed {
  background-color: #d4edda;
  color: #155724;
}

.payment-status.pending {
  background-color: #fff3cd;
  color: #856404;
}

.payment-status.failed,
.payment-status.refunded {
  background-color: #f8d7da;
  color: #721c24;
}

.order-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

/* Related Products */
.detail-related {
    margin-top: 60px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.detail-related h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.detail-related h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e74c3c;
}

.detail-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* Card styles */
.detail-related .card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.detail-related .card:hover {
    transform: translateY(-1px);
}

.detail-related .card-img-container {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.detail-related .card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.detail-related .card:hover .card-img {
    transform: scale(1.05);
}

.related-product-title {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #1f2937;
    font-weight: 600;
}

.related-product-price {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.product-description {
    margin: 30px 0;
    line-height: 1.7;
    color: #4b5563;
}

.product-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.product-features {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #4b5563;
}

.feature i {
    color: var(--accent);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline:hover {
    background-color: rgba(107, 178, 82, 0.1);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary:hover {
    background-color: #5a9a45;
    transform: translateY(-1px);
}

.detail-container{
    margin-top: 10px;
    padding: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-title {
    font-size: 1.8rem;
  }

.cart-item-title, .wishlist-item-title, .cart-item-price{
    justify-self: start;
}
  
  .orders-grid {
    grid-template-columns: 1fr;
  }
  
  .order-card {
    padding: 1rem;
  }
  
  .order-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-outline, .btn-text {
    width: 100%;
    text-align: center;
  }
  
  .modal-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .orders-tabs {
    gap: 0.5rem;
  }
  
  .tab-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .order-preview img {
    width: 50px;
    height: 50px;
  }
  
  .more-items {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px; /* Base font size for mobile */
    }
    
    .contact-hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .contact-hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-details h2,
    .contact-form-container h2,
    .map-section h2,
    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .contact-text h3 {
        font-size: 1rem;
    }
    
    .contact-text p,
    .contact-text a,
    .contact-form label,
    .contact-form input,
    .contact-form select,
    .contact-form textarea,
    .faq-question {
        font-size: 0.875rem;
    }
    
    .faq-question {
        padding: 12px 15px;
        line-height: 1.4;
    }
    
    .contact-method {
        margin-bottom: 20px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Animation for FAQ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer.show {
    animation: fadeIn 0.3s ease-out;
    max-height: 500px; /* Adjust based on your content */
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.contact-container h1 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 15px;
}

.contact-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    overflow: hidden;
}

.contact-info {
    padding: 40px 30px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--accent);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-text h4 {
    margin: 0 0 5px 0;
    color: #1f2937;
}

.info-text p {
    margin: 0;
    color: #4b5563;
}

.business-hours {
    margin-top: 40px;
}

.business-hours h4 {
    color: #1f2937;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.business-hours p {
    margin: 8px 0;
    color: #4b5563;
}

.contact-form-container .form-group {
    margin-bottom: 20px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 8px;
    color: #4b5563;
    font-weight: 500;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* My Orders Page Styles */
.orders-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.orders-container h1 {
    text-align: center;
    color: #1f2937;
    margin-bottom: 30px;
}

.orders-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 8px 20px;
    background: #f3f4f6;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--accent);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e5e7eb;
}

.orders-list {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-orders {
    text-align: center;
    color: #6b7280;
}

.no-orders i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 15px;
}

.no-orders h3 {
    margin: 10px 0 5px;
    color: #1f2937;
}

.no-orders p {
    margin: 0 0 20px;
}

/* Responsive Styles for New Sections */
@media (max-width: 992px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-container,
    .contact-container,
    .orders-container {
        padding: 20px 15px;
    }
    
    .profile-section {
        padding: 20px;
    }
    
    .orders-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
}

/* Product Detail Page Styles */
.product-detail-content {
    display: flex;
    gap: 40px;
    position: relative;
    margin-top: 30px;
}

.back-button {
    display: inline-flex;
    max-height: none;
    width: 100%;
}
    
.detail-info {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    position: sticky;
    top: 20px;
}

.detail-title {
    font-size: 2.2rem;
    margin: 0 0 5px 0;
    color: #1f2937;
    font-weight: 700;
}

.detail-hindi {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-style: italic;
}

.detail-price-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
    font-size: 0.9rem;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 6px;
}

.detail-meta-item i {
    color: var(--accent);
}

.detail-variant,
.detail-quantity {
    margin-top: 20px;
    margin-bottom: 5px;
}

.detail-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.detail-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

.detail-form-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(107, 178, 82, 0.1);
}

.detail-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.1rem;
    font-weight: 600;
}

.detail-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 1rem;
    text-decoration: none;
}

.detail-btn i {
    margin-right: 8px;
}

.detail-btn-primary {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    flex: 1;
}

.detail-btn-primary:hover {
    background-color: #5a9e3f;
    border-color: #5a9e3f;
}

.detail-btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    flex: 1;
}

.detail-btn-outline:hover {
    background-color: rgba(107, 178, 82, 0.1);
}

.detail-description {
    margin-top: 40px;
}

.detail-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1f2937;
    font-weight: 600;
}

.detail-description p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 0.95rem;
}

.detail-feature i {
    color: var(--accent);
    font-size: 1rem;
}

.detail-related {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.detail-related h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #1f2937;
    text-align: center;
    font-weight: 600;
}

.detail-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.detail-main-image{
    border-radius: 20px;
}/* Product Detail Layout */
.detail-content {
    display: flex;
    gap: 40px;
    position: relative;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.detail-gallery {
    position: sticky;
    top: 20px;
    flex: 1;
    max-width: 50%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.detail-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.detail-info {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .detail-content {
        gap: 30px;
    }
    
    .detail-gallery {
        padding: 15px;
    }
    
    .detail-main-image {
        max-height: 450px;
        border-radius: 40px;
    }
}

@media (max-width: 992px) {
    .detail-info {
        padding: 20px;
    }

    .detail-container{
        max-width: 800px;
    }

    .detail-content {
        flex-direction: column;
        margin: 0 auto;
        gap: 25px;
        grid-template-columns: 1fr;
    }
    
    .detail-gallery {
        position: static;
        max-width: 100%;
        margin: 0;
        padding: 15px;
    }
    
    .detail-title {
        font-size: 1.8rem;
    }
    
    .detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .detail-btn {
        width: 100%;
    }
    
    .detail-info {
        padding: 20px;
    }
}

@media (min-width: 993px) {
    .detail-content {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }
    
    .detail-gallery {
        position: sticky;
        top: 20px;
        flex: 1;
        max-width: 50%;
        padding: 20px;
        grid-template-columns: 1fr;
        max-width: 800px;
        gap: 25px;
        padding: 0 15px;
        margin: 0 auto;
    }
    
    .detail-gallery {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto 20px;
        padding: 15px;
        border-radius: 20px;
    }
    
    .detail-info {
        padding: 0;
        max-height: none;
        overflow: visible;
    }
    
    .detail-gallery-wrapper {
        position: static;
    }
    
    .detail-main-image {
        max-height: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .detail-container {
        padding: 0 12px;
    }
    
    .detail-gallery {
        max-width: 100%;
        padding: 10px 0;
    }
    
    .detail-main-image {
        max-height: 400px;
        border-radius: 20px;
    }
    
    .detail-title {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .detail-hindi {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .detail-price {
        font-size: 1.6rem;
        margin: 15px 0;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
    
    .detail-variant,
    .detail-quantity {
        width: 100%;
    }
    
    .detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .detail-btn {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 576px) {
    .detail-container {
        padding: 0;
        width: 100%;
        overflow: hidden;
        padding-top: 70px;
    }
    
    .detail-content {
        gap: 10px;
        padding: 0;
        margin: 0;
        width: 100%;
    }
    
    /* ===== Product Detail Styles ===== */
    .detail-gallery {
        position: relative;
        padding: 0;
        margin: 0 0 15px;
        width: 100%;
        border-radius: 0;
        border: none;
        background: #fff;
    }
    
    .detail-main-image {
        max-height: 300px;
        display: flex;
        justify-content: center;
        height: auto;
        padding: 10px;
        border-radius: 40px;
        object-fit: contain;
    }
    
    .detail-info {
        padding: 0 15px;
    }
    
    .detail-title {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 8px;
        color: var(--text-dark);
    }
    
    .detail-hindi {
        font-size: 0.95rem;
        margin-bottom: 12px;
        color: var(--text-light);
    }
    
    .detail-description {
        line-height: 1.6;
        color: var(--text-light);
        margin-bottom: 20px;
    }
    
    .detail-price {
        font-size: 1.6rem;
        margin: 12px 0 15px;
    }
    
    .detail-description {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #374151;
        margin-bottom: 20px;
    }
    
    .detail-meta {
        margin: 20px 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }
    
    .detail-meta-item {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }
    
    .detail-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 25px 0;
    }
    
    .detail-actions .detail-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        background-color: var(--accent);
        color: white;
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: var(--transition);
        text-align: center;
    }
    
    .detail-actions .detail-btn:hover {
        background-color: #5a9a45;
        transform: translateY(-1px);
    }
    
    .detail-related {
        margin: 40px -15px 20px;
        padding: 30px 15px 20px;
        border-top: 1px solid #e5e7eb;
    }
    
    .detail-related h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .detail-related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 20px;
    }
    
    .related-product-img {
        height: 140px;
    }
    
    .related-product-info {
        padding: 12px;
    }
    
    .related-product-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .related-product-price {
        font-size: 0.95rem;
    }
    
    .detail-description {
        margin: 25px 0;
    }
    
    .detail-description h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .detail-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 1.6rem;
    }
    
    .detail-price {
        font-size: 1.5rem;
    }
    
    .detail-related {
        margin: 30px -15px 15px;
        padding: 25px 15px 15px;
    }
    
    .detail-related h2 {
        font-size: 1.3rem;
    }
    
    .detail-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .related-product-img {
        height: 130px;
    }

    

    .cart-remove-btn{
        width: 100%;
        padding: 8px 14px;
        border-radius: 8px;
    }

    .cart-remove-btn i{
        margin-right: 10px;
    }
}

@media (max-width: 380px) {
    .detail-related-grid {
        grid-template-columns: 1fr;
    }
    
    .related-product-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Product Detail Layout */
.detail-content {
    display: flex;
    gap: 40px;
    position: relative;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.detail-gallery {
    position: sticky;
    top: 20px;
    flex: 1;
    max-width: 50%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.detail-main-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.detail-info {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .detail-content {
        gap: 30px;
    }
    
    .detail-gallery {
        padding: 15px;
    }
    
    .detail-main-image {
        max-height: 450px;
        border-radius: 40px;
    }
}

@media (max-width: 992px) {
    .detail-content {
        flex-direction: column;
        max-width: 800px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .detail-gallery {
        position: static;
        max-width: 100%;
        margin: 0 auto 20px;
        padding: 15px;
    }
    
    .detail-info {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .detail-container {
        padding: 0 12px;
    }
    
    .detail-gallery {
        max-width: 100%;
        padding: 10px 0;
    }
    
    .detail-main-image {
        max-height: 400px;
    }
}
