:root {
--primary: #10b981;
--primary-dark: #059669;
--primary-light: #ecfdf5;
--secondary: #64748b;
--dark: #0f172a;
--light: #f8fafc;
--white: #ffffff;
--shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--radius: 4px;
--radius-sm: 4px;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
background-color: var(--light);
color: var(--dark);
line-height: 1.6;
overflow-x: hidden;
}

.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1.5rem;
}

/* Header & Nav */
header {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
position: sticky;
top: 0;
z-index: 2000;
border-bottom: 1px solid rgba(226, 232, 240, 0.8);
padding: 0.75rem 0;
}

.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 1.5rem;
font-weight: 900;
text-decoration: none;
color: var(--dark);
letter-spacing: -1.2px;
}

.logo span { color: var(--primary); }

.nav-links {
display: flex;
gap: 2rem;
list-style: none;
align-items: center;
}

.nav-links a {
text-decoration: none;
color: var(--secondary);
font-weight: 700;
font-size: 0.95rem;
transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-actions {
display: flex;
gap: 1.25rem;
align-items: center;
}

.nav-icon {
position: relative;
text-decoration: none;
color: var(--dark);
font-size: 1.2rem;
transition: transform 0.2s;
display: flex;
align-items: center;
}

.badge {
position: absolute;
top: -8px;
right: -10px;
background: var(--primary);
color: white;
font-size: 0.7rem;
font-weight: 800;
padding: 2px 6px;
border-radius: 10px;
line-height: 1;
}

.menu-toggle {
display: none;
background: none;
border: none;
font-size: 1.6rem;
cursor: pointer;
color: var(--dark);
padding: 5px;
}

/* Hero Section */
.hero {
padding: 5rem 0;
background: radial-gradient(circle at top right, var(--primary-light), transparent);
text-align: center;
}

.hero h1 {
font-size: 3.5rem;
font-weight: 900;
line-height: 1.1;
margin-bottom: 1.5rem;
letter-spacing: -2px;
}

/* Product Cards */
.products-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1.5rem;
margin: 3rem 0;
}

.product-card {
background: var(--white);
border-radius: var(--radius);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
border: 1px solid rgba(226, 232, 240, 0.8);
position: relative;
padding: 0;
}

.product-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow);
}

.product-image {
display: block;
width: 100%;
aspect-ratio: 1 / 1;
overflow: hidden;
background: #f1f5f9;
}

.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
transform: scale(1.1);
}

.product-info {
padding: 1.25rem;
}

.product-category {
font-size: 0.75rem;
text-transform: uppercase;
font-weight: 800;
color: var(--secondary);
margin-bottom: 0.5rem;
letter-spacing: 1px;
}

.product-name {
font-size: 1rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--dark);
display: block;
text-decoration: none;
height: 2.8em;
overflow: hidden;
}

.product-bottom {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 1rem;
gap: 0.5rem;
}

.price {
font-size: 1.1rem;
font-weight: 800;
color: var(--dark);
}

/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
border-radius: var(--radius-sm);
font-weight: 700;
text-decoration: none;
transition: all 0.3s;
cursor: pointer;
border: none;
gap: 0.5rem;
}

.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
background: var(--primary-dark);
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
}

.btn-sm {
padding: 0.5rem 1rem;
font-size: 0.85rem;
border-radius: var(--radius-sm);
}

.btn-outline {
border: 2px solid var(--primary);
color: var(--primary);
background: transparent;
}

.btn-outline:hover {
background: var(--primary-light);
}

.wishlist-btn {
position: absolute;
top: 1rem;
right: 1rem;
width: 40px;
height: 40px;
background: rgba(255,255,255,0.9);
backdrop-filter: blur(4px);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
border: none;
cursor: pointer;
box-shadow: var(--shadow-sm);
transition: all 0.2s;
z-index: 10;
}

.wishlist-btn:hover {
background: white;
color: #ef4444;
}

/* Footer Section */
footer {
background: var(--dark);
color: white;
padding: 5rem 0 2rem;
margin-top: 5rem;
}

.footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 3rem;
margin-bottom: 4rem;
}

.footer-bottom {
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 2rem;
text-align: center;
font-size: 0.85rem;
color: var(--secondary);
}

/* Contact Layout Component */
.contact-layout {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 3rem;
align-items: start;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
.products-grid {
grid-template-columns: repeat(3, 1fr);
}
}

@media (max-width: 992px) {
.nav-links {
position: fixed;
top: 60px;
left: -100%;
width: 100%;
height: auto;
background: white;
flex-direction: column;
padding: 2.5rem 1.5rem;
gap: 1.5rem;
transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1500;
box-shadow: 0 15px 30px rgba(0,0,0,0.1);
border-bottom: 1px solid #e2e8f0;
}

.nav-links.active {
left: 0;
}

.menu-toggle {
display: block;
}
}

@media (max-width: 768px) {
.hero h1 { font-size: 2.2rem; }
.hero { padding: 3rem 0; }

.products-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0.5rem;
margin: 1rem 0;
}

.product-card {
padding: 0;
border-radius: 8px;
}

.product-info {
padding: 0.5rem;
}

.product-name {
font-size: 0.8rem;
margin-bottom: 0.2rem;
height: 2.4em;
overflow: hidden;
}

.price {
font-size: 0.9rem;
}

.product-bottom {
flex-direction: column;
align-items: flex-start;
gap: 0.4rem;
}



.product-bottom .btn {
width: 100%;
padding: 0.3rem;
font-size: 0.65rem;
border-radius: 4px;
}

.wishlist-btn {
width: 26px !important;
height: 26px !important;
font-size: 0.7rem !important;
}

.contact-layout {
grid-template-columns: 1fr;
}

.footer-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
}

@media (max-width: 480px) {
.logo { font-size: 1.25rem; }
.hero h1 { font-size: 1.8rem; }
.footer-grid { grid-template-columns: 1fr; }
}