
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');


/* 🎨 Updated Core Variables with soft white/grey tones */
:root {
--primary-color: #007bff;
--primary-light: #4da3ff;
--primary-dark: #0056b3;

--secondary-color: #6c757d;
--secondary-light: #a1a8ae;
--secondary-dark: #494f54;

--text-primary: #2d3748;
--text-secondary: #4a5568;
--text-muted: #718096;

--bg-light: #f9f9fb;     /* softer white background */
--bg-alt: #f1f3f6;       /* subtle light grey for contrast */
--bg-dark: #e9ecef;      /* slightly darker section divider */

--border-color: #e2e8f0;

--transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
--hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}



/* Cart Sidebar Improvements */

/* Cart Sidebar Refinements */
#cartSidebar {
top: 1rem;
right: 1rem;
padding: 1.5rem;
width: 380px;
max-height: calc(100vh - 2rem);
}

.cart-item {
padding: 1rem;
border: 1px solid var(--border-color);
margin-bottom: 1rem;
}


.cart-item:hover {
transform: translateX(5px);
}

/* Cart Sidebar Styles */
#cartSidebar {
position: fixed;
right: 0;
top: 0;
height: 100%;
width: 85%;
max-width: 300px;
background-color: white;
box-shadow: -2px 0 10px rgba(0,0,0,0.15);
transform: translateX(100%);
transition: transform 0.3s ease;
z-index: 40;
display: flex;
flex-direction: column;
}

#cartSidebar.active {
transform: translateX(0);
}

.out-of-stock {
position: relative;
opacity: 0.8;
}

.out-of-stock::after {
content: "Out of Stock";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(255, 0, 0, 0.8);
color: white;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: bold;
}

.out-of-stock-btn {
opacity: 0.5;
pointer-events: none;
cursor: not-allowed;
}

.stock-badge {
position: absolute;
top: 8px;
right: 8px;
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 2px 6px;
border-radius: 10px;
font-size: 10px;
font-weight: bold;
}

.cart-header {
padding: 12px 15px;
border-bottom: 1px solid #eee;
display: flex;
justify-content: space-between;
align-items: center;
}

.cart-header h2 {
font-size: 16px;
font-weight: 600;
margin: 0;
}

.cart-close-button {
background: none;
border: none;
font-size: 18px;
color: #666;
cursor: pointer;
padding: 5px;
}

.cart-items-container {
flex-grow: 1;
overflow-y: auto;
padding: 10px 15px;
}

.cart-items {
display: flex;
flex-direction: column;
gap: 10px;
}

.cart-item {
padding-bottom: 10px;
border-bottom: 1px solid #f5f5f5;
}

.cart-item-header {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
}

.cart-item-name {
font-weight: 500;
font-size: 14px;
}

.cart-item-price {
font-weight: 500;
font-size: 14px;
}

.cart-item-details {
color: #777;
font-size: 12px;
margin-bottom: 5px;
}

.cart-item-actions {
display: flex;
align-items: center;
justify-content: space-between;
}

.quantity-control {
display: flex;
align-items: center;
border: 1px solid #eee;
border-radius: 4px;
overflow: hidden;
}

.quantity-button {
background: #f5f5f5;
border: none;
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
cursor: pointer;
}

.quantity-value {
padding: 0 8px;
font-size: 13px;
}

.remove-button {
background: none;
border: none;
color: #e53e3e;
font-size: 12px;
cursor: pointer;
padding: 3px 8px;
}

.empty-cart {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 200px;
color: #777;
}

.empty-cart i {
font-size: 48px;
margin-bottom: 10px;
color: #ddd;
}

.empty-cart p {
font-size: 14px;
}

.cart-footer {
padding: 12px 15px;
border-top: 1px solid #eee;
}

.cart-total {
display: flex;
justify-content: space-between;
font-weight: 600;
font-size: 15px;
margin-bottom: 10px;
}

.checkout-button {
width: 100%;
padding: 8px 0;
background-color: #2a6496;
color: white;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s;
}

.checkout-button:hover {
background-color: #1e4b73;
}

/* Responsive adjustments */
@media (max-width: 480px) {
#cartSidebar {
width: 90%;
max-width: 280px;
}

.cart-header {
padding: 10px 12px;
}

.cart-header h2 {
font-size: 15px;
}

.cart-items-container {
padding: 8px 12px;
}

.cart-footer {
padding: 10px 12px;
}
}


/* Form Styling */
.form-input {
width: 100%;
padding: 0.75rem 1rem;
border: 2px solid var(--bg-light);
border-radius: 12px;
transition: var(--transition-base);
}

.form-input:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
outline: none;
}

/* Button Styles */
.btn {
padding: 5rem 1.5rem;
border-radius: 12px;
font-weight: 600;
transition: var(--transition-base);
}
.btn-primary {
background: var(--primary-color);
color: white;
padding: 3.75rem 1.5rem;
border-radius: 1.5rem;
font-weight: 600;
transition: all 0.3s ease;
}

.btn-primary:hover {
background: var(--secondary-color);
transform: translateY(-2px);
}

/* Notifications */
.notification {
position: fixed;
top: 1rem;
right: 1rem;
padding: 1rem 1.5rem;
border-radius: 12px;
color: white;
box-shadow: var(--card-shadow);
animation: slideIn 0.3s ease-out;
z-index: 9999;
}

.notification-success {
background: #10B981;
}

.notification-error {
background: #EF4444;
}

.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}

.social-links a {
color: var(--secondary-light);
transition: var(--transition-base);
}

.social-links a:hover {
color: white;
transform: translateY(-2px);
}

/* Empty State */
.empty-products {
text-align: center;
padding: 4rem 1rem;
background: var(--bg-light);
border-radius: 20px;
margin: 2rem 0;
}

.empty-products i {
font-size: 5rem;
color: var(--secondary-light);
margin-bottom: 1.5rem;
animation: float 3s ease-in-out infinite;
}

.empty-products h3 {
font-size: 1.5rem;
color: var(--secondary-dark);
margin-bottom: 1rem;
}

.empty-products p {
color: var(--secondary-color);
max-width: 400px;
margin: 0 auto 1.5rem;
}

.empty-products .btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}


.animate-vibrate {
animation: vibrate 0.3s linear;
}

/* Floating Cart */


#cartSidebar.open {
transform: translateX(0);
}
/* Button Animations */
.btn {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn:active {
transform: translateY(0);
}



.hero-section {
padding: 4rem 2rem 8rem;
margin-bottom: 4rem;
position: relative;
}

.contact-seller-btn {
position: relative;
z-index: 10;
margin-top: 1rem;
display: inline-block;
padding: 0.75rem 1.5rem;
background: var(--primary-color);
color: white;
border-radius: 8px;
font-weight: 500;
transition: var(--transition-base);
}

/* 
/* Search Section Core Styles */
.search-section {
background: white;
padding: 1.5rem;
margin: -4rem auto 2rem;
max-width: 800px;
border-radius: 1rem;
box-shadow: var(--card-shadow);
position: relative;
z-index: 20;
}

.search-container {
display: flex;
align-items: center;
position: relative;
}

/* Mobile Search Toggle (Hidden on Desktop) */
.mobile-search-toggle {
display: none;
background: var(--primary-color);
color: white;
border: none;
border-radius: 50%;
width: 3rem;
height: 3rem;
justify-content: center;
align-items: center;
position: absolute;
right: 1rem;
bottom: -1.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
cursor: pointer;
z-index: 30;
}

.mobile-search-toggle i {
font-size: 1.2rem;
}

/* Search Area (Full Width on Desktop) */
.search-area {
display: grid;
grid-template-columns: 1fr auto;
gap: 1rem;
align-items: center;
width: 100%;
}

/* Search Box Styles */
.search-box {
position: relative;
width: 100%;
}

.search-input {
width: 100%;
height: var(--input-height);
padding: 0 1rem 0 2.5rem;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.3s ease;
}

.search-input:focus {
border-color: var(--primary-color);
background: white;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
outline: none;
}

.search-icon {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: var(--icon-size);
transition: color 0.3s ease;
}

/* Animations */
.animate-foundation {
transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.fade-out {
animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
to { opacity: 0; }
}

#app {
transition: opacity 0.5s ease;
}

.search-input:focus + .search-icon {
color: var(--secondary-color);
}

.loading-indicator {
position: absolute;
right: 0.75rem;
top: 50%;
transform: translateY(-50%);
}

.hidden {
display: none;
}

/* Category Box Styles */
.category-box {
position: relative;
width: 140px;
}

.category-select {
width: 100%;
height: var(--input-height);
padding: 0 2rem 0 0.75rem;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 0.875rem;
background: #f8fafc;
appearance: none;
cursor: pointer;
transition: all 0.3s ease;
}

.category-select:focus {
border-color: var(--primary-color);
background: white;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
outline: none;
}

.category-icon {
position: absolute;
right: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: var(--icon-size);
pointer-events: none;
transition: transform 0.3s ease;
}

.category-select:focus + .category-icon {
transform: translateY(-50%) rotate(180deg);
color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
.search-section {
margin: -2rem auto 1.5rem;
padding: 1rem;
}

.mobile-search-toggle {
display: flex;
}

.search-area {
display: none; /* Hidden by default on mobile */
grid-template-columns: 1fr;
gap: 0.75rem;
margin-top: 1rem;
}

.search-area.active {
display: grid; /* Show when active */
}

.category-box {
width: 100%;
}
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
.search-section {
margin: -1rem auto 1rem;
padding: 0.75rem;
}

.mobile-search-toggle {
width: 2.5rem;
height: 2.5rem;
}

.mobile-search-toggle i {
font-size: 1rem;
}

.search-input, .category-select {
height: 2.5rem;
font-size: 0.85rem;
}
} */

/* Button Hover Effects */
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* Add these styles to your existing CSS */
#countdown {
color: var(--primary-color);
font-weight: bold;
}

.fade-out {
animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
to { opacity: 0; visibility: hidden; }
}
/* Add these styles */
#countdownContainer {
animation: gentlePulse 2s infinite alternate;
}

@keyframes gentlePulse {
0% { transform: scale(1); }
100% { transform: scale(1.05); }
}

.animate-pulse {
animation: urgentPulse 0.5s infinite alternate;
}

@keyframes urgentPulse {
0% { opacity: 1; }
100% { opacity: 0.7; }
}

.loading-text {
animation: textFade 2s infinite alternate;
}

@keyframes textFade {
0% { opacity: 0.8; }
100% { opacity: 1; }
}

/* Keep your existing fade-out animation */
.fade-out {
animation: fadeOut 0.5s ease-out forwards;
}
/* Optimized Loading Screen */
#loadingScreen {
animation: fadeOut 5s ease-out forwards;
animation-delay: 4.5s;
background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.loading-spinner {
border: 3px solid rgba(0,0,0,0.1);
border-top: 3px solid var(--primary-color);
width: 50px;
height: 50px;
animation: fastSpin 0.7s linear infinite;
}


@keyframes fadeOut {
to { opacity: 0; visibility: hidden; }
}

@keyframes fastSpin {
to { transform: rotate(360deg); }
}
/* Add these styles to your existing CSS */
#countdown {
color: var(--primary-color);
font-weight: bold;
}

.fade-out {
animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
to { opacity: 0; visibility: hidden; }
}

/* Empty Store Slideshow */
.empty-store {
text-align: center;
padding: 4rem 1rem;
background: var(--bg-light);
border-radius: 12px;
margin: 2rem 0;
animation: float 3s ease-in-out infinite;
}

.empty-store i {
font-size: 4rem;
color: var(--secondary-light);
margin-bottom: 1rem;
}

.empty-store h3 {
font-size: 1.5rem;
color: var(--secondary-dark);
margin-bottom: 1rem;
}

.empty-store p {
color: var(--secondary-color);
max-width: 400px;
margin: 0 auto;
}

/* Admin Icon in Header */
.admin-icon {
cursor: pointer;
transition: transform 0.3s ease;
}

.admin-icon:hover {
transform: scale(1.1);
}
@keyframes modalFadeIn {
from {
opacity: 0;
visibility: hidden;
}
to {
opacity: 1;
visibility: visible;
}
}

@keyframes modalSlideIn {
from {
transform: translateY(20px);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}

.modal-active {
animation: modalFadeIn 0.3s ease forwards;
}

.modal-active > div > div {
animation: modalSlideIn 0.3s ease forwards;
}

/* Product card hover effect */
.product-card {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Loading spinner for modal */
.modal-loading {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.9);
}

.modal-loading::after {
content: "";
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}



/* Product details styling */
.product-details {
text-align: left;
}

.product-name {
color: var(--primary-dark);
font-size: 1.5rem;
margin-bottom: 1rem;
}

.product-price {
color: var(--primary-dark);
font-size: 1.25rem;
margin-bottom: 1.5rem;
}

.product-actions {
margin-top: 1.5rem;
}

/* Improved Product Cards */
.product-card {
background: white;
border-radius: 1rem;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin: 0.15rem;
flex: 1 1 300px;
max-width: 100%;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
width: 100%;
height: 300px;
object-fit: full;
transition: transform 0.3s ease;
}

.product-card .content {
padding: 0.6rem;
}

.product-card h3 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
color: var(--text-primary);
}

.product-card .description {
font-size: 0.9rem;
color: var(--text-secondary);
line-height: 1.4;
margin-bottom: 1rem;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

/* Search Section Core Styles */
.search-section {
background: white;
padding: 1.5rem;
margin: -4rem auto 2rem;
max-width: 800px;
border-radius: 1rem;
box-shadow: var(--card-shadow);
position: relative;
z-index: 20;
}

.search-container {
display: flex;
align-items: center;
position: relative;
}

/* Mobile Search Toggle (Hidden on Desktop) */
.mobile-search-toggle {
display: none;
background: var(--primary-color);
color: white;
border: none;
border-radius: 50%;
width: 3rem;
height: 3rem;
justify-content: center;
align-items: center;
position: absolute;
right: 1rem;
bottom: -1.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
cursor: pointer;
z-index: 30;
}

.mobile-search-toggle i {
font-size: 1.2rem;
}

/* Search Area (Full Width on Desktop) */
.search-area {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
}

/* Search Box Styles */
.search-box {
position: relative;
width: 100%;
}

.search-input {
width: 100%;
height: var(--input-height);
padding: 0 1rem 0 2.5rem;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 0.95rem;
transition: all 0.3s ease;
}

.search-input:focus {
border-color: var(--primary-color);
background: white;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
outline: none;
}

.search-icon {
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: var(--icon-size);
transition: color 0.3s ease;
}

.search-input:focus + .search-icon {
color: var(--secondary-color);
}

.loading-indicator {
position: absolute;
right: 0.75rem;
top: 50%;
transform: translateY(-50%);
}

.hidden {
display: none;
}

/* New Category Chips Container */
.categories-container {
width: 100%;
margin-top: 0.5rem;
}

.categories-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 0.75rem;
}

.categories-title {
font-size: 0.875rem;
font-weight: 600;
color: #374151;
display: flex;
align-items: center;
gap: 0.5rem;
}

.categories-title i {
color: var(--primary-color, #3b82f6);
}

.expand-toggle {
background: none;
border: none;
color: var(--primary-color, #3b82f6);
font-size: 0.75rem;
font-weight: 500;
cursor: pointer;
padding: 0.25rem 0.5rem;
border-radius: 4px;
transition: all 0.2s ease;
}

.expand-toggle:hover {
background: rgba(59, 130, 246, 0.1);
}

/* Category Chips Grid */
.categories-grid {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
max-height: 200px;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
}

.categories-grid.expanded {
max-height: none;
}

.categories-grid.collapsed {
max-height: 80px;
}

/* Individual Category Chip */
.category-chip {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.5rem 0.875rem;
background: #f8fafc;
border: 2px solid #e2e8f0;
border-radius: 2rem;
font-size: 0.8125rem;
font-weight: 500;
color: #64748b;
cursor: pointer;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
user-select: none;
position: relative;
overflow: hidden;
}

.category-chip::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
transition: left 0.5s ease;
}

.category-chip:hover::before {
left: 100%;
}

.category-chip:hover {
border-color: var(--primary-color, #3b82f6);
background: rgba(59, 130, 246, 0.05);
color: var(--primary-color, #3b82f6);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.category-chip.active {
background: var(--primary-color, #3b82f6);
border-color: var(--primary-color, #3b82f6);
color: white;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.category-chip.active:hover {
background: var(--secondary-color, #2563eb);
border-color: var(--secondary-color, #2563eb);
}

/* Category chip icons */
.category-chip i {
font-size: 0.75rem;
opacity: 0.8;
}

.category-chip.active i {
opacity: 1;
}

/* "All Categories" special styling */
.category-chip.all-categories {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-color: transparent;
color: white;
font-weight: 600;
}

.category-chip.all-categories:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.category-chip.all-categories.active {
background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Fade overlay for collapsed state */
.categories-fade {
position: relative;
}

.categories-fade::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 20px;
background: linear-gradient(transparent, white);
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
}

.categories-fade.show-fade::after {
opacity: 1;
}

/* Loading state for categories */
.categories-loading {
display: flex;
gap: 0.5rem;
align-items: center;
padding: 1rem 0;
}

.category-skeleton {
width: 80px;
height: 32px;
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
border-radius: 1rem;
}

@keyframes loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}

/* Animations */
.animate-foundation {
transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.fade-out {
animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
to { opacity: 0; }
}

#app {
transition: opacity 0.5s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
.search-section {
margin: -2rem auto 1.5rem;
padding: 1rem;
}

.mobile-search-toggle {
display: flex;
}

.search-area {
display: none; /* Hidden by default on mobile */
flex-direction: column;
gap: 0.75rem;
margin-top: 1rem;
}

.search-area.active {
display: flex; /* Show when active */
}

.categories-grid {
max-height: 160px;
}

.categories-grid.collapsed {
max-height: 60px;
}

.category-chip {
font-size: 0.75rem;
padding: 0.375rem 0.75rem;
}

.categories-title {
font-size: 0.8125rem;
}
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
.search-section {
margin: -1rem auto 1rem;
padding: 0.75rem;
}

.mobile-search-toggle {
width: 2.5rem;
height: 2.5rem;
}

.mobile-search-toggle i {
font-size: 1rem;
}

.search-input {
height: 2.5rem;
font-size: 0.85rem;
}

.category-chip {
font-size: 0.7rem;
padding: 0.3rem 0.6rem;
}

.categories-grid {
gap: 0.375rem;
max-height: 120px;
}

.categories-grid.collapsed {
max-height: 50px;
}
}

/* Improved Product Modal */
#productModal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 90%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 900;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
}

#productModal.active {
opacity: 1;
visibility: visible;
}

.modal-details {
padding: 2rem;
}

#storeHeader {
position: sticky;
top: 0;
background: transparent !important;
backdrop-filter: none !important;
z-index: 1000;
height: 80px; /* Increased from 70px */
padding: 1rem 2rem; /* Increased padding */

display: flex;
align-items: center;
transition: all 0.3s ease;
border-bottom: none !important;
box-shadow: none !important;
}



#storeHeader.scrolled {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


.header-container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}


/* Required CSS for animations */
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}

.animate-pulse {
animation: pulse 2s infinite;
}

/* Make sure transforms work */
.curtain {
will-change: transform;
}

/* Appear animation for main content */
#app {
opacity: 0;
transition: opacity 0.5s ease 0.5s;
}

.header-title {
font-size: 1.5rem;
font-weight: 700;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 60vw;
}

.header-actions {
display: flex;
gap: 1.25rem;
align-items: center;
}

.header-icon {
font-size: 1.5rem; /* Larger icon size */
color: var(--text-primary);
padding: 0.75rem;
border-radius: 50%;
transition: all 0.2s ease;
}

.header-icon:hover {
background: rgba(0, 0, 0, 0.05);
color: var(--primary-color);
}

.cart-button {
position: relative;
}

.cart-count {
position: absolute;
top: -0.25rem;
right: -0.25rem;
background: var(--primary-color);
color: white;
border-radius: 50%;
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
}




/* HERO SECTION SPACING */
.hero-section {
padding: 8rem 1.5rem 2rem; /* Ample top spacing */
margin: 0 auto;
max-width: 1400px;
}

.hero-title {
font-size: 2.5rem;
font-weight: 800;
line-height: 1.2;
margin-bottom: 1.5rem;
text-align: center;
}

.hero-title span {
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

.hero-motto {
font-size: 1.25rem;
color: var(--text-secondary);
text-align: center;
max-width: 700px;
margin: 0 auto 2.5rem;
line-height: 1.5;
}

.contact-seller-btn {
padding: 0.875rem 2rem;
font-size: 1rem;
font-weight: 600;
border-radius: 2rem;
background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
color: white;
border: none;
display: inline-flex;
align-items: center;
margin: 0 auto;
transition: all 0.2s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 1024px) {
.hero-title {
font-size: 2.2rem;
}
}

@media (max-width: 768px) {
#storeHeader {
padding: 0.6rem 1rem;
height: 65px;
}

.header-title {
font-size: 1.3rem;
}

.header-icon {
font-size: 1.3rem;
padding: 0.5rem;
}

.hero-section {
padding: 6rem 2rem 3rem;
}

.hero-title {
font-size: 1.8rem;
}

.hero-motto {
font-size: 1.1rem;
margin-bottom: 2rem;
}
}

@media (max-width: 480px) {
.header-title {
max-width: 50vw;
}

.header-actions {
gap: 0.75rem;
}

.hero-title {
font-size: 1.6rem;
}

.contact-seller-btn {
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
}
}



.product-card .cart-icon-btn {
background-color: white;
border: none;
border-radius: 50%;
padding: 0.75rem;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.product-card .cart-icon-btn:hover {
background-color: var(--primary-color);
}

.product-card .cart-icon-btn i {
color: var(--primary-color);
transition: color 0.3s ease;
}

.product-card .cart-icon-btn:hover i {
color: white;
}


.modal-details h2 {
font-size: 2rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 1rem;
}

.modal-details p {
font-size: 1rem;
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 1.5rem;
}

.modal-details .price {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 2rem;
}

.modal-actions {
display: flex;
gap: 1rem;
}

.modal-actions .btn-primary {
flex: 1;
padding: 1rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.3s ease;
}

.modal-actions .btn-primary:hover {
background-color: var(--secondary-color);
transform: translateY(-2px);
}

.modal-actions .btn-secondary {
flex: 1;
padding: 1rem;
background-color: transparent;
border: 2px solid var(--primary-color);
color: var(--primary-color);
border-radius: 0.5rem;
font-weight: 600;
transition: all 0.3s ease;
}

.modal-actions .btn-secondary:hover {
background-color: var(--primary-color);
color: white;
}

/* Vibration Animation */
@keyframes vibrate {
0% { transform: translateX(0); }
25% { transform: translateX(-3px); }
50% { transform: translateX(3px); }
75% { transform: translateX(-3px); }
100% { transform: translateX(0); }
}

.vibrate {
animation: vibrate 0.5s ease-in-out;
}

.loading-spinner-small {
width: 20px;
height: 20px;
border: 2px solid rgba(0, 0, 0, 0.1);
border-top-color: var(--primary-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}


/* Medium Mobile Devices (376px - 767px) */
@media screen and (min-width: 376px) and (max-width: 767px) {
body {
font-size: 12px;
}

.header {
padding: 0.5rem 0.2rem; /* Reduce padding for smaller screens */
}

.header-title {
font-size: 1.2rem; /* Smaller font size for mobile */
margin-bottom: 0.1rem; /* Reduce margin */
}

.header-motto {
font-size: 0.6rem; /* Smaller font size for mobile */
}
}



/* Footer Styles */
footer {
background-color: white;
color: black;
padding: 1.5rem 0 1rem; /* Reduced top padding */
border-top: 1px solid #e2e8f0;
}

.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem; /* Reduced side padding */
}

.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem; /* Reduced from 2rem */
margin-bottom: 1rem; /* Reduced from 2rem */
}

.footer-section {
padding: 1rem;
}

.footer-section h3 {
font-size: 1.25rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--primary-color);
}

.footer-section p {
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 1rem;
}

.footer-social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}

.footer-social-links a {
color: var(--primary-color);
font-size: 1.25rem;
transition: all 0.3s ease;
}

.footer-social-links a:hover {
color: var(--primary-dark);
transform: translateY(-2px);
}

.footer-copyright {
text-align: center;
padding-top: 1.5rem;
border-top: 1px solid #e2e8f0;
color: var(--text-secondary);
font-size: 0.875rem;
}

/* Smooth transitions for all interactive elements */
#floatingCart, #whatsappButton, .modal-actions button {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Cart count styling */
#floatingCartCount {
transition: all 0.2s ease;
box-shadow: 0 0 0 2px white; /* Creates a border effect */
}


/* Mobile-specific adjustments */
@media (max-width: 768px) {
footer {
padding: 1rem 0 0.75rem; /* Even tighter on mobile */
}

.footer-grid {
grid-template-columns: 1fr;
gap: 0.75rem; /* Tighter gap between sections */
padding: 0 0.5rem; /* Less side padding */
}

.footer-section {
padding: 0.75rem 0; /* Reduced section padding */
border-bottom: 1px solid #f1f1f1; /* Visual separator */
}

.footer-section:last-child {
border-bottom: none;
}

.footer-copyright {
padding-top: 0.75rem; /* Reduced padding */
font-size: 0.8rem; /* Slightly smaller text */
}
}


/* Responsive Styles */
@media (min-width: 768px) {
.footer-grid {
grid-template-columns: repeat(3, 1fr); /* 3 columns for tablets and desktops */
}
}

@media (max-width: 480px) {
.footer-section h3 {
font-size: 1.1rem; /* Smaller font size for mobile */
}

.footer-section p {
font-size: 0.9rem; /* Smaller font size for mobile */
}

.footer-social-links i {
font-size: 1.25rem; /* Smaller icons for mobile */
}

.footer-copyright {
font-size: 0.875rem; /* Smaller font size for mobile */
}
}
#cartSidebar {
position: fixed;
top: 0;
right: 0;
height: 100vh;
width: 380px; /* Adjust width as needed */
background: white;
box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
transform: translateX(100%);
transition: transform 0.3s ease-in-out;
z-index: 1000; /* Ensure it's above other content */
}

#cartSidebar.open {
transform: translateX(0);
}




/* Image section */
.bg-gray-50 {
min-height: 300px; /* Reduced from 400px */
max-height: 65vh; /* Better proportion */
}

/* Button section */
.modal-actions {
height: auto; /* Let content determine height */
min-height: 80px; /* Enough for buttons */
}


.close-button {
background: none;
border: none;
cursor: pointer;
font-size: 3em;
padding: 5px;
}

.order-summary {
margin-bottom: 25px;
}

.order-item {
display: flex;
justify-content: space-between;
margin: 10px 0;
padding: 5px 0;
border-bottom: 1px solid #f5f5f5;
}

.total {
display: flex;
justify-content: space-between;
border-top: 2px solid #eee;
padding-top: 15px;
margin-top: 15px;
font-weight: bold;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}

.form-group input,
.form-group textarea {
width: 100%;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}

.form-group textarea {
min-height: 80px;
resize: vertical;
}

.submit-button {
width: 100%;
padding: 12px;
background: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
font-weight: 500;
transition: background-color 0.3s ease;
}

.submit-button:hover {
background: #0056b3;
}

/* Checkout Modal Styles */
#checkoutModal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.7);
z-index: 2000;
display: none;
align-items: center;
justify-content: center;
padding: 10px;
opacity: 0;
transition: opacity 0.3s ease;
}

#checkoutModal.active {
opacity: 1;
}

.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 15px;
border-bottom: 1px solid #eee;
}

.modal-header h2 {
font-size: 18px;
font-weight: 600;
color: #333;
margin: 0;
}

/* Add these to your CSS */
img.zoomed {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
object-fit: contain;
z-index: 9999;
background: rgba(0, 0, 0, 0.9);
padding: 2rem;
cursor: zoom-out;
}

.cursor-zoom-in {
cursor: zoom-in;
}

.cursor-zoom-out {
cursor: zoom-out;
}
.close-button {
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: #666;
padding: 5px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
width: 28px;
height: 28px;
transition: background-color 0.2s;
}

.close-button:hover {
background-color: #f5f5f5;
}

.order-summary {
padding: 12px 15px;
border-bottom: 1px solid #eee;
}

.order-summary h3 {
font-size: 16px;
margin-top: 0;
margin-bottom: 10px;
}

.checkout-items {
max-height: 120px;
overflow-y: auto;
margin-bottom: 12px;
}

.order-item {
display: flex;
justify-content: space-between;
padding: 6px 0;
font-size: 14px;
border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child {
border-bottom: none;
}

.item-details {
display: flex;
align-items: center;
gap: 8px;
}

.item-name {
font-weight: 500;
}

.item-quantity {
color: #666;
font-size: 13px;
}

.item-price {
font-weight: 500;
}

.delivery-method {
margin: 12px 0;
}

.delivery-options {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 6px;
}

.delivery-option {
flex: 1;
min-width: 80px;
padding: 8px;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
text-align: center;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
}

.delivery-option:hover {
background: #f0f0f0;
border-color: #ccc;
}

.delivery-option.selected {
background: #f0f7ff;
border-color: #2a6496;
color: #2a6496;
}

.delivery-option .fee {
font-size: 12px;
font-weight: 500;
margin-top: 2px;
}

.total {
display: flex;
justify-content: space-between;
font-weight: bold;
font-size: 16px;
padding-top: 10px;
border-top: 1px solid #eee;
}

#checkoutForm {
padding: 12px 15px;
}

/* Modal header */
.modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
border-bottom: 1px solid #eee;
padding-bottom: 1rem;
}

.modal-header h2 {
margin: 0;
color: var(--primary-color);
font-size: 1.5rem;
}

.close-button {
background: none;
border: none;
font-size: 3.25rem;
cursor: pointer;
color: #666;
transition: color 0.2s;
}

.close-button:hover {
color: var(--secondary-color);
}

/* Success Modal Styles */
#successModal {
transition: opacity 0.3s ease;
}

#successModal.hidden {
opacity: 0;
pointer-events: none;
}

#successModal .bg-white {
transform: translateY(-20px);
transition: transform 0.3s ease;
}

#successModal:not(.hidden) .bg-white {
transform: translateY(0);
}

/* Order summary */
.order-summary {
margin-bottom: 1.5rem;
padding: 1rem;
background-color: #f9f9f9;
border-radius: 0.25rem;
}


.order-summary h3 {
margin-top: 0;
margin-bottom: 1rem;
font-size: 1.2rem;
}

.order-item {
display: flex;
justify-content: space-between;
padding: 0.5rem 0;
border-bottom: 1px solid #eee;
}

.order-item:last-child {
border-bottom: none;
}

.total {
display: flex;
justify-content: space-between;
font-weight: bold;
padding-top: 1rem;
margin-top: 0.5rem;
border-top: 2px solid #ddd;
}

/* Add to your existing styles */
.btn-secondary {
transition: all 0.3s ease;
}

.btn-secondary:hover {
transform: translateY(-2px);
}

/* Add to your existing styles */
.border-purple-600 {
border-color: #9333ea;
}
.text-purple-600 {
color: #9333ea;
}
.hover\:bg-purple-600:hover {
background-color: #9333ea;
}
.hover\:text-white:hover {
color: white;
}

/* Form styling */
#checkoutForm {
display: flex;
flex-direction: column;
gap: 1rem;
}

.form-group {
display: flex;
flex-direction: column;
}

.form-group label {
margin-bottom: 0.25rem;
font-weight: 500;
}

.form-group input,
.form-group textarea {
padding: 0.5rem;
border: 1px solid #ddd;
border-radius: 0.25rem;
font-family: inherit;
font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
border-color: var(--primary-color);
outline: none;
}

.submit-button {
background-color: var(--primary-color);
color: white;
padding: 0.75rem 1rem;
border: none;
border-radius: 0.25rem;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 1rem;
}

.submit-button:hover {
background-color: var(--primary-dark, #0056b3);
}

.submit-button:disabled {
background-color: #aaa;
cursor: not-allowed;
}

/* Floating Cart Animation */
@keyframes cartBounce {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-5px) scale(1.1); }
}

@keyframes cartShake {
0% { transform: rotate(0deg); }
25% { transform: rotate(5deg); }
50% { transform: rotate(0deg); }
75% { transform: rotate(-5deg); }
100% { transform: rotate(0deg); }
}

.cart-animate {
animation: cartBounce 0.5s ease, cartShake 0.5s ease;
}

/* Responsive adjustments */
@media (max-width: 640px) {
.modal-content {
padding: 1.5rem;
width: 90%;
}

.submit-button {
padding: 0.6rem 0.8rem;
}
}


X
/* Improved Top Banner Styles */
#topBanner {
transition: all 0.3s ease;
z-index: 1000;
background-color: #fffbeb;
border-bottom: 1px solid #fde047;
max-height: 100px;
overflow: hidden;
}

#topBanner.hidden {
opacity: 0;
max-height: 0;
padding-top: 0;
padding-bottom: 0;
border-bottom-width: 0;
pointer-events: none;
}

/* Scrolling text animation */
@keyframes scrollText {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}

.animate-scroll {
animation: scrollText 15s linear infinite;
padding-left: 100%; /* Start offscreen */
}

@media (min-width: 768px) {
.animate-scroll {
animation: none;
padding-left: 0;
}
}

/* Animation for Pop-up */
@keyframes slideIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

#infoPopup:not(.hidden) {
animation: slideIn 0.3s ease-out;
}

/* Improved Top Banner Styles */
#topBanner {
transition: all 0.3s ease;
z-index: 1000;
background-color: #fffbeb;
border-bottom: 1px solid #fde047;
max-height: 100px;
overflow: hidden;
}

#topBanner.hidden {
opacity: 0;
max-height: 0;
padding-top: 0;
padding-bottom: 0;
border-bottom-width: 0;
pointer-events: none;
}

/* Scrolling text animation */
@keyframes scrollText {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}

.animate-scroll {
animation: scrollText 15s linear infinite;
padding-left: 100%; /* Start offscreen */
}

@media (min-width: 768px) {
.animate-scroll {
animation: none;
padding-left: 0;
}
}

/* Carousel CSS */
.carousel-container {
position: relative;
max-width: 1200px;
height: 300px;
margin: 1rem auto;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: #f8fafc; /* Fallback background */
}

#carousel {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
}

.carousel-item {
min-width: 100%;
height: 100%;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
background-color: #f8fafc;
}

.carousel-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
padding: 0.75rem;
background-color: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#prevButton {
left: 15px;
}

#nextButton {
right: 15px;
}

/* Add to your existing styles */
#deliveryZone option {
padding: 8px;
}

#orderSuccessModal {
transition: all 0.3s ease;
}
#orderSuccessModal .modal-content {
max-height: 80vh;
overflow-y: auto;
}

#checkoutTotal .breakdown {
font-size: 0.9em;
color: #666;
margin-top: 5px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
.carousel-container {
height: 200px;
}

.carousel-nav-btn {
width: 32px;
height: 32px;
padding: 0.5rem;
}
}

/* Product Cards Grid */
#productsGrid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 0.3rem;
padding: 0.3rem;
max-width: 1200px;
margin: 0 auto;
}

/* Product Card Styling */
.product-card {
background: white;
border-radius: 1rem;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
height: 100%;
display: flex;
flex-direction: column;
}

.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.product-card .img-container {
position: relative;
overflow: hidden;
height: 220px; /* Fixed height for desktop */
}

/* Product Image */
.product-card img {
width: 100%;
height: 100%;
object-fit: contain;
transition: transform 0.4s ease;
}

.product-card:hover img {
transform: scale(1.05);
}

.category-bubble {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.category-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-bubble.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.category-bubble.active i {
    color: white;
}

.category-container {
    animation: fadeInUp 0.6s ease-out;
}

.category-container {
position: relative;
}

.category-bubble {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
min-width: fit-content;
}

.category-bubble:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-bubble.active {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
transform: scale(1.05);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.category-bubble.active i {
color: white;
}

.bubble-appear {
animation: bubbleAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bubbleAppear {
0% {
opacity: 0;
transform: scale(0.3) translateY(20px);
}
70% {
transform: scale(1.1) translateY(-5px);
}
100% {
opacity: 1;
transform: scale(1) translateY(0);
}
}

.ripple-effect {
position: relative;
overflow: hidden;
}

.ripple-effect::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::before {
width: 300px;
height: 300px;
}

/* Hidden categories transition */
.hidden-categories {
overflow: hidden;
max-height: 0;
transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
opacity: 0;
}

.hidden-categories.show {
max-height: 500px;
opacity: 1;
}

/* Toggle button styles */
.category-toggle-btn {
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-toggle-btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
.search-row {
flex-direction: column;
}

.category-toggle-btn {
align-self: center;
margin-top: 0;
}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bubble-appear {
    animation: bubbleAppear 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bubbleAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    70% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:active::before {
    width: 300px;
    height: 300px;
}

/* Animation Styles */
.animate-floor {
animation: growWidth 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.animate-wall-left {
animation: growHeight 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}

.animate-wall-right {
animation: growHeight 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.9s forwards;
}

.animate-shelf {
animation: fadeInGrow 0.5s ease-out 1.4s forwards;
}

.animate-product {
animation: popIn 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) 1.8s forwards;
}

.animate-sign {
animation: fadeInUp 0.6s ease-out 2s forwards;
}

@keyframes growWidth {
0% { width: 0; }
100% { width: 100%; }
}

@keyframes growHeight {
0% { height: 0; }
100% { height: calc(100% - 1rem); }
}

@keyframes fadeInGrow {
0% { opacity: 0; transform: scaleX(0.8); }
100% { opacity: 1; transform: scaleX(1); }
}

@keyframes popIn {
0% { opacity: 0; transform: scale(0.5); }
80% { transform: scale(1.1); }
100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }
}

/* Curtain Animation */
.curtain {
transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.loading-complete .left-curtain {
transform: translateX(-100%);
}

.loading-complete .right-curtain {
transform: translateX(100%);
}

.loading-complete .store-construction, 
.loading-complete .store-sign {
opacity: 0;
transition: opacity 0.3s ease;
}
/* Product Content */
.product-card .content {
padding: 0.5rem 0.75rem; /* Increased padding for better readability */
display: flex;
flex-direction: column;
justify-content: space-between;
flex-grow: 1;
}

/* Product Name */
.product-card h3 {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.25rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
line-height: 1.3;
}

/* Product Price */
.product-card .price {
font-size: 1.25rem;
font-weight: 700;
color: var(--primary-color);
margin-top: 0.5rem;
}

/* Action Buttons */
.product-card .actions {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0.75rem;
}

.product-card .add-to-cart-btn {
padding: 0.5rem 1rem;
background-color: var(--primary-color);
color: white;
border: none;
border-radius: 0.5rem;
font-weight: 500;
font-size: 0.875rem;
cursor: pointer;
transition: background-color 0.2s ease;
}

.product-card .add-to-cart-btn:hover {
background-color: #2563eb;
}

/* Buy Now Button */
.buy-now-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 0.75rem;
background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.product-card:hover .buy-now-overlay {
opacity: 1;
}

.buy-now-btn {
width: 100%;
padding: 0.5rem;
background-color: #10b981;
color: white;
border: none;
border-radius: 0.375rem;
font-weight: 500;
font-size: 0.875rem;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}

/* Cart Icon Button */
.cart-icon-btn {
position: absolute;
top: 0.75rem;
right: 0.75rem;
width: 2rem;
height: 2rem;
border-radius: 50%;
background-color: white;
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
transition: transform 0.2s ease;
}

.cart-icon-btn:hover {
transform: scale(1.1);
}

/* Empty State */
#emptyStoreAnimation {
text-align: center;
padding: 3rem 1rem;
}

.empty-store-fade-in {
animation: fadeIn 0.5s ease-in-out;
}

.hidden {
display: none;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

/* Responsive Styles - IMPROVED FOR MOBILE */
@media (max-width: 768px) {
body {
padding: 0; /* Remove body padding on mobile */
}

#productsGrid {
grid-template-columns: repeat(2, 1fr);
gap: 0.4rem;
padding: 0.2rem; /* Reduced padding */
width: 100%; /* Full width */
max-width: 100%; /* Override max-width */
}

.product-card .img-container {
height: 160px; /* Adjusted height for tablet */
}

.buy-now-overlay {
opacity: 1; /* Always show on mobile */
}

.product-card .content {
padding: 0.4rem 0.5rem; /* Optimized padding */
}
}

@media (max-width: 480px) {
body {
padding: 0; /* Remove body padding */
}

#productsGrid {
grid-template-columns: repeat(2, 1fr);
gap: 0.3rem;
padding: 0.15rem; /* Further reduced padding */
margin: 0; /* Remove margin */
}

.product-card {
border-radius: 0.75rem; /* Slightly smaller radius */
}

.product-card .img-container {
height: 140px; /* Adjusted height for mobile */
}

.product-card h3 {
font-size: 0.85rem; /* Smaller font */
-webkit-line-clamp: 2; /* Limit to 2 lines */
margin-bottom: 0.15rem;
}

.product-card .price {
font-size: 1rem; /* Slightly smaller price */
margin-top: 0.3rem;
}

.product-card .content {
padding: 0.3rem 0.4rem; /* Even smaller padding */
}

.product-card .add-to-cart-btn {
padding: 0.4rem 0.6rem; /* Smaller button */
font-size: 0.8rem;
}
}


/* === Base Modal Styling === */
.modal-content {
background: white;
border-radius: 8px;
width: 100%;
max-width: 450px;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
animation: modal-pop 0.3s ease;
padding: 2rem;
}

/* === Modal Animations === */
@keyframes modal-pop {
from { transform: scale(0.9); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}

@keyframes modalFadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

/* === Scrollbar Styling === */
.modal-content::-webkit-scrollbar {
width: 8px;
background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
background: #555;
}

/* === Modal Container and Overlay === */
.modal-overlay {
display: none;
align-items: center;
justify-content: center;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.8);
top: 0; left: 0; right: 0; bottom: 0;
z-index: 9999;
padding: 16px;
box-sizing: border-box;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}
.modal-overlay.active {
opacity: 1;
pointer-events: auto;
}
.modal-container {
display: none;
flex-direction: row;
width: 95vw;
height: 90vh;
transform: translateY(20px);
transition: transform 0.3s ease;
}
.modal-overlay.active .modal-container {
display: flex;
transform: translateY(0);
}

/* === Modal Content Section === */
.modal-content-section {
flex: 1 1 100%;
display: flex;
flex-direction: column;
max-height: 100%;
}

/* === Product Modal Specific === */
#productModal .modal-content {
overflow-y: auto;
max-height: 90%;
}
#productModal .bg-gray-50 {
min-height: 85%;
overflow: hidden;
}
#modalProductImage {
max-width: 100%;
max-height: 80vh;
transition: transform 0.3s ease, opacity 0.3s ease;
}
#modalProductImage:hover {
transform: scale(1.5);
cursor: zoom-out;
}

/* === Modal Actions === */
.modal-actions {
display: grid;
gap: 0.5rem;
padding-top: 1rem;
margin-top: auto;
grid-template-columns: repeat(1, 1fr); /* default */
}
.modal-actions button {
padding: 0.75rem 0.5rem;
font-size: 0.875rem;
}

/* === Hide Body Scroll When Modal Is Open === */
body.modal-open {
overflow: hidden !important;
position: fixed;
width: 100%;
}

/* === Text Content Styling === */
#modalProductName,
#modalProductDescription {
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
}

/* === Utility Classes === */
.hidden {
display: none;
}

/* === Loading Spinner === */
.loading-spinner-small {
border: 2px solid rgba(0, 0, 0, 0.1);
border-top: 2px solid var(--primary-color);
border-radius: 50%;
width: 16px;
height: 16px;
animation: spin 1s linear infinite;
}

/* === Responsive Breakpoints === */

/* Small Devices (max-width: 640px) */
@media (max-width: 640px) {
.modal-content {
padding: 1.5rem;
width: 90%;
}
}

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
.modal-container {
width: 100vw;
height: 100vh;
max-height: none;
border-radius: 0;
flex-direction: column;
}
.modal-image-container,
.modal-content-section {
flex: 1 1 100%;
min-height: auto;
}
.modal-actions {
grid-template-columns: repeat(2, 1fr);
}
.modal-header h2 {
font-size: 18px;
}
}

/* Tablets and up (min-width: 768px) */
@media (min-width: 768px) {
.modal-container {
flex-direction: row;
max-width: 600px;
height: 80vh;
}
.modal-image-container {
flex: 0 0 45%;
height: auto;
max-height: 70vh;
}
.modal-content-section {
flex: 0 0 55%;
max-height: 70vh;
}
.modal-actions {
grid-template-columns: repeat(4, 1fr);
}
.form-group input,
.form-group textarea {
padding: 12px;
}
.modal-header h2 {
font-size: 24px;
}
}

/* Large Devices (max-width: 1024px) */
@media (max-width: 1024px) {
.product-card {
flex: 1 1 250px;
}
.modal-content {
max-width: 90%;
}
.header-motto {
display: none;
}
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
#productsGrid {
grid-template-columns: 2fr 1fr;
gap: 0.25rem;
padding: 0.1rem;
}
.product-card .img-container {
height: 150px;
}
.product-card h3 {
font-size: 0.8rem;
}
.product-card .price {
font-size: 0.95rem;
}
.product-card .actions {
margin-top: 0.5rem;
}
.modal-image-container {
padding-bottom: 70%;
}
.modal-actions button {
font-size: 12px;
padding: 6px;
}
}

/* Small Screen Height (max-height: 600px) */
@media (max-height: 600px) and (max-width: 768px) {
.modal-container {
max-height: 95vh;
}
.modal-image-container {
padding-bottom: 50%;
}
}

/* Touch Devices */
@media (hover: none) {
.modal-content {
-webkit-overflow-scrolling: touch;
}
.form-group input,
.form-group textarea {
font-size: 16px;
}
.modal-close {
-webkit-tap-highlight-color: transparent;
}
}

/* Enhanced Loading Animations */

/* Product Placeholder Styles */
.product-placeholder {
@apply bg-white rounded-lg shadow-md p-4 border border-gray-200;
animation: pulse 1.5s ease-in-out infinite;
}

.product-placeholder .bg-gray-200 {
background-color: #e5e7eb;
}

/* Improved fade transitions */
.fade-out {
opacity: 0 !important;
transform: translateY(-10px);
transition: all 0.3s ease-out;
}

.fade-in {
opacity: 1 !important;
transform: translateY(0);
animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* Pulse animation for placeholders */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.7;
}
}

/* Subtle loader overlay */
#subtleLoader {
backdrop-filter: blur(2px);
animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

/* Loading screen improvements */
#loadingScreen {
transition: opacity 0.3s ease-out;
}

#loadingScreen.fade-out {
opacity: 0;
}

/* Product grid container positioning */
.products-grid-container {
position: relative;
}

/* Enhanced product card animations */
.product-card {
opacity: 0;
transform: translateY(20px);
transition: all 0.3s ease-out;
}

.product-card.fade-in {
opacity: 1;
transform: translateY(0);
}

/* Smooth transitions for category changes */
#productsGrid {
min-height: 400px; /* Prevent layout shift during loading */
transition: opacity 0.2s ease-out;
}

/* Loading spinner improvements */
.loading-spinner {
display: flex;
align-items: center;
justify-content: center;
}

.loading-spinner .animate-spin {
animation: spin 1s linear infinite;
}

@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

/* Prevent content jump during loading */
.store-container {
min-height: 100vh;
}

#app {
transition: opacity 0.3s ease-out;
}

/* Enhanced empty state animation */
.empty-store-fade-in {
animation: emptyStoreFadeIn 0.8s ease-out forwards;
}

@keyframes emptyStoreFadeIn {
from {
opacity: 0;
transform: translateY(30px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

/* Improved category bubble animations */
.bubble-appear {
animation: bubbleAppear 0.4s ease-out forwards;
}

@keyframes bubbleAppear {
from {
opacity: 0;
transform: translateY(-10px) scale(0.9);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

/* Responsive improvements */
@media (max-width: 768px) {
.product-placeholder {
margin-bottom: 1rem;
}

#subtleLoader {
margin: 1rem;
border-radius: 0.5rem;
}
}

/* Skeleton loading for product images */
.product-image[src*="placeholder"] {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}

/* Scrollable Description Section */
.description-container {
max-height: 30vh;
overflow-y: auto;
padding-right: 0.5rem;
}
.description-container::-webkit-scrollbar {
width: 4px;
}
.description-container::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 2px;
}

  /* iOS PWA Prompt Styles */
        #ios-pwa-prompt {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            display: none;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 320px;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }
        
        #ios-pwa-prompt.visible {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        #ios-pwa-prompt .pwa-content {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        
        #ios-pwa-prompt .pwa-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            margin-right: 15px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            flex-shrink: 0;
        }
        
        #ios-pwa-prompt .pwa-text {
            flex: 1;
        }
        
        #ios-pwa-prompt .pwa-title {
            font-weight: 600;
            margin-bottom: 4px;
            color: #2d3748;
        }
        
        #ios-pwa-prompt .pwa-description {
            font-size: 14px;
            color: #718096;
            line-height: 1.4;
        }
        
        #ios-pwa-prompt .pwa-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        
        #ios-pwa-prompt .pwa-button {
            padding: 8px 16px;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            border: none;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        #ios-pwa-prompt .pwa-button.primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        
        #ios-pwa-prompt .pwa-button.secondary {
            background: transparent;
            color: #718096;
        }
        
        #ios-pwa-prompt .pwa-button:hover {
            transform: translateY(-1px);
        }
        
        #ios-pwa-prompt .pwa-close {
            position: absolute;
            top: 12px;
            right: 12px;
            background: transparent;
            border: none;
            color: #a0aec0;
            cursor: pointer;
            font-size: 18px;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }
        
        #ios-pwa-prompt .pwa-close:hover {
            background: rgba(0, 0, 0, 0.05);
        }
        
        /* Arrow animation */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-5px);}
            60% {transform: translateY(-3px);}
        }
        
        #ios-pwa-prompt .pwa-arrow {
            position: absolute;
            top: -20px;
            right: 30px;
            font-size: 24px;
            color: white;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
            animation: bounce 2s infinite;
        }
        
        @media (max-width: 480px) {
            #ios-pwa-prompt {
                bottom: 70px; /* Above the WhatsApp button */
                left: 10px;
                right: 10px;
                max-width: none;
            }
        }
        
        /* Demo page styles */
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f9fa;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .hero {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 16px;
            margin-bottom: 40px;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #2d3748;
        }
        
        .hero p {
            font-size: 1.2rem;
            color: #4a5568;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .products {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        
        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
        }
        
        .product-image {
            height: 200px;
            background-color: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #718096;
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-title {
            font-size: 1.2rem;
            margin: 0 0 10px;
            color: #2d3748;
        }
        
        .product-price {
            font-weight: bold;
            color: #667eea;
            margin-bottom: 15px;
        }
        
        .product-description {
            color: #718096;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .btn {
            display: inline-block;
            padding: 10px 20px;
            background: #667eea;
            color: white;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: background 0.3s ease;
        }
        
        .btn:hover {
            background: #5a67d8;
        }
        
        footer {
            text-align: center;
            padding: 40px 20px;
            color: #718096;
            border-top: 1px solid #e2e8f0;
            margin-top: 40px;
        }



























/* ================= About Section ================= */
.about-section {
padding: 80px 20px;
background: linear-gradient(135deg, var(--bg-light), var(--bg-muted));
}

.about-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
max-width: 1100px;
margin: 0 auto;
flex-wrap: wrap;
}

.about-content {
flex: 1 1 500px;
text-align: left;
animation: slideIn 0.6s ease forwards;
}

.about-title {
font-size: 2.5rem;
font-weight: 700;
color: var(--primary);
margin-bottom: 20px;
position: relative;
}

.about-title::after {
content: "";
display: block;
width: 80px;
height: 4px;
background: var(--secondary);
margin: 12px 0;
border-radius: 2px;
}

.about-text {
font-size: 1.1rem;
line-height: 1.8;
color: var(--muted-foreground);
margin-bottom: 20px;
}

.about-image img {
max-width: 450px;
width: 100%;
border-radius: 1rem;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
transition: transform 0.4s ease;
}
.about-image img:hover {
transform: scale(1.03);
}

/* ================= Features ================= */
.features-list {
display: flex;
flex-direction: column;
gap: 1rem;
}

.feature-item {
display: flex;
align-items: flex-start;
gap: 1rem;
}

.feature-icon-wrapper {
color: var(--secondary);
margin-top: 0.25rem;
flex-shrink: 0;
}

.feature-icon-wrapper svg {
width: 1.75rem;
height: 1.75rem;
}

.feature-title {
font-weight: 600;
color: var(--primary);
margin-bottom: 0.25rem;
}

.feature-description {
color: var(--muted-foreground);
}

/* ================= Services Section ================= */
.services-section {
padding: 60px 16px; /* smaller padding for mobile */
background: var(--bg-alt);
}

.section-header {
text-align: center;
margin-bottom: 2rem;
}

.section-title {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
}

.section-subtitle {
font-size: 1rem;
color: var(--text-muted);
}

/* Responsive Grid */
.services-grid {
display: grid;
gap: 1.25rem;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Service Card */
.service-card {
background: var(--bg-light);
padding: 1.25rem;
border-radius: 0.75rem;
text-align: center;
transition: var(--transition-base);
box-shadow: var(--card-shadow);
}

.service-card:hover {
transform: translateY(-4px);
box-shadow: var(--hover-shadow);
}

/* Icon Wrapper */
.service-icon-wrapper {
width: 56px;
height: 56px;
margin: 0 auto 0.75rem;
background: var(--secondary-light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-size: 24px;
transition: var(--transition-base);
}

.service-card:hover .service-icon-wrapper {
background: var(--primary-light);
color: #fff;
}

/* Title & Description */
.service-title {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--primary-color);
}

.service-description {
font-size: 0.9rem;
line-height: 1.5;
color: var(--text-secondary);
}


/* ================= Contact Section ================= */
.contact-section {
padding: 5rem 20px;
background: linear-gradient(135deg, var(--charcoal), var(--bg-dark));
color: var(--cream);
text-align: center;
}

/* Reuse contact-card styles from your snippet but switch to vars */
.contact-card {
background-color: hsl(var(--cream) / 0.1);
backdrop-filter: blur(8px);
padding: 1.5rem;
transition: all 0.3s ease;
color: inherit;
}
.contact-card:hover {
background-color: hsl(var(--cream) / 0.2);
transform: scale(1.05);
}
.contact-card svg {
color: var(--secondary);
transition: transform 0.3s ease;
}
.contact-card:hover svg {
transform: scale(1.1);
}

/* ================= Animations ================= */
@keyframes slideIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

