:root {
    --primary-color: #f25f4c;
    --secondary-color: #ff8fa3;
    --text-color: #333;
    --background-color: #fffaf0;
    --card-color: #ffffff;
    --accent-color: #ff8906;
    --border-radius: 10px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s ease;
    
    /* Additional colors */
    --off-white: #fffaf0;
    --light-gray: #f7f3ea;
    --medium-gray: #e5e4e0;
    --dark-gray: #666;
    --footer-bg: #2a2a2a;
    --footer-text: #f1f1f1;
    
    /* Fixed product colors (don't change in dark mode) */
    --product-white: #f8f7f4;
    --product-black: #111;
}

/* Dark mode colors */
[data-theme="dark"] {
    --primary-color: #ff8906;
    --secondary-color: #f25f4c;
    --text-color: #e4e4e4;
    --background-color: #0f0e17;
    --card-color: #1e1e1e;
    --accent-color: #e53170;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    
    /* Additional colors */
    --off-white: #1e1e1e;
    --light-gray: #252525;
    --medium-gray: #333;
    --dark-gray: #aaa;
    --footer-bg: #0a0a0a;
    --footer-text: #e4e4e4;
    
    /* Fixed product colors remain the same */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.app-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(242, 95, 76, 0.05) 2%, transparent 8%),
        radial-gradient(circle at 75% 44%, rgba(255, 143, 163, 0.05) 2%, transparent 8%),
        radial-gradient(circle at 46% 67%, rgba(242, 95, 76, 0.05) 2%, transparent 8%),
        radial-gradient(circle at 33% 89%, rgba(255, 143, 163, 0.05) 2%, transparent 8%),
        radial-gradient(circle at 80% 15%, rgba(255, 137, 6, 0.05) 2%, transparent 8%);
    background-size: 300% 300%;
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
}

.app-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f25f4c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

[data-theme="dark"] .app-container::before {
    opacity: 0.2;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 137, 6, 0.15) 2%, transparent 8%),
        radial-gradient(circle at 75% 44%, rgba(229, 49, 112, 0.15) 2%, transparent 8%),
        radial-gradient(circle at 46% 67%, rgba(255, 137, 6, 0.15) 2%, transparent 8%),
        radial-gradient(circle at 33% 89%, rgba(229, 49, 112, 0.15) 2%, transparent 8%),
        radial-gradient(circle at 80% 15%, rgba(255, 137, 6, 0.15) 2%, transparent 8%);
}

[data-theme="dark"] .app-container::after {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff8906' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Floating particles animation */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 80%;
    left: 30%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    width: 8px;
    height: 8px;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 10%;
    left: 80%;
    width: 12px;
    height: 12px;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    animation-delay: 8s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 85%;
    width: 10px;
    height: 10px;
    animation-delay: 10s;
}

.particle:nth-child(7) {
    top: 30%;
    left: 40%;
    width: 14px;
    height: 14px;
    animation-delay: 12s;
}

.particle:nth-child(even) {
    border-color: var(--secondary-color);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.2;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Sakura petals animation for hero section */
.hero-section {
    overflow: hidden;
}

.sakura-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sakura {
    position: absolute;
    background-color: var(--secondary-color);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    transform: rotate(45deg);
    animation: sakuraFall linear infinite;
}

.sakura:nth-child(1) {
    width: 10px;
    height: 10px;
    left: 10%;
    animation-duration: 9s;
    animation-delay: 0s;
}

.sakura:nth-child(2) {
    width: 12px;
    height: 12px;
    left: 30%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.sakura:nth-child(3) {
    width: 8px;
    height: 8px;
    left: 50%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.sakura:nth-child(4) {
    width: 14px;
    height: 14px;
    left: 70%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.sakura:nth-child(5) {
    width: 9px;
    height: 9px;
    left: 90%;
    animation-duration: 9.5s;
    animation-delay: 4s;
}

@keyframes sakuraFall {
    0% {
        top: -10%;
        transform: rotate(0deg) translateX(0);
    }
    25% {
        transform: rotate(90deg) translateX(30px);
    }
    50% {
        transform: rotate(180deg) translateX(-30px);
    }
    75% {
        transform: rotate(270deg) translateX(30px);
    }
    100% {
        top: 110%;
        transform: rotate(360deg) translateX(0);
    }
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.2rem;
    position: sticky;
    top: 0;
    background-color: rgba(248, 247, 244, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 10;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.02);
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(242, 95, 76, 0.1);
}

[data-theme="dark"] header {
    background-color: rgba(30, 30, 30, 0.95);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 137, 6, 0.1);
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(242, 95, 76, 0.2);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 10px rgba(242, 95, 76, 0.2);
    }
    100% {
        text-shadow: 0 0 20px rgba(242, 95, 76, 0.4);
    }
}

[data-theme="dark"] .logo h1 {
    text-shadow: 0 0 15px rgba(255, 137, 6, 0.3);
    animation: logoDarkGlow 3s ease-in-out infinite alternate;
}

@keyframes logoDarkGlow {
    0% {
        text-shadow: 0 0 10px rgba(255, 137, 6, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 137, 6, 0.6);
    }
}

.tagline {
    font-size: 0.65rem;
    margin-top: -4px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    align-items: center;
}

.menu-btn, .cart-btn, .theme-toggle-btn {
    font-size: 1rem;
    padding: 0.4rem;
    margin-left: 0.5rem;
    position: relative;
    color: var(--text-color);
    transition: var(--transition);
}

.menu-btn:hover, .cart-btn:hover, .theme-toggle-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.55rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-content {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--card-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.active .nav-content {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.2rem;
}

.nav-links {
    margin-top: 3rem;
}

.nav-links li {
    margin-bottom: 1.5rem;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.social-icons a {
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('images/hero section image.webp');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 1.2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.accent {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(242, 95, 76, 0.25), 0 0 0 rgba(242, 95, 76, 0);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(242, 95, 76, 0.4), 0 0 20px rgba(242, 95, 76, 0.2);
}

.primary-btn:hover::before {
    opacity: 1;
}

[data-theme="dark"] .primary-btn {
    box-shadow: 0 4px 12px rgba(255, 137, 6, 0.25), 0 0 0 rgba(255, 137, 6, 0);
}

[data-theme="dark"] .primary-btn:hover {
    box-shadow: 0 8px 20px rgba(255, 137, 6, 0.4), 0 0 20px rgba(255, 137, 6, 0.2);
}

/* Collections Section */
.collections-section {
    padding: 1.5rem 0.8rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-align: center;
}

.filter-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.4rem 0;
    margin: 0 -0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-container span {
    flex: 0 0 auto;
    padding: 0.4rem 0.9rem;
    margin: 0 0.4rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.filter-container span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.filter-container span:hover::before {
    transform: translateY(0);
}

.filter-container span:hover {
    color: white;
    box-shadow: 0 0 10px rgba(242, 95, 76, 0.2);
}

.filter-container span.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 8px rgba(242, 95, 76, 0.2);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    padding: 0 0.5rem;
}

.product-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 15px rgba(242, 95, 76, 0.15);
}

.product-image {
    position: relative;
    padding-top: 125%; /* Aspect ratio */
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 0.8rem;
}

.product-name {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-colors {
    display: flex;
    gap: 0.25rem;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-dot[style*="--product-white"] {
    border: 1px solid var(--medium-gray);
}

/* Ensure product colors are visible in dark mode */
[data-theme="dark"] .color-btn[style*="--product-white"],
[data-theme="dark"] .color-dot[style*="--product-white"] {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Product View Modal */
.product-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.product-view-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: white;
    z-index: 1001;
}

.product-view-content {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-gallery {
    padding: 0.8rem;
}

.product-main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-main-image img {
    width: 100%;
    height: auto;
    max-height: 45vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
}

.thumbnail-item {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.thumbnail-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.thumbnail-item.active {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(242, 95, 76, 0.25);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 1.2rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.color-options h4, .size-options h4, .quantity-selector h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.color-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.color-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-btn.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent-color);
}

.size-selector {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.size-btn {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    background-color: #f1f1f1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.size-btn.active {
    transform: translateY(-2px) scale(1.05);
    background-color: var(--primary-color);
    color: white;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quantity-control button {
    width: 28px;
    height: 28px;
    background-color: #f1f1f1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.quantity-control button:hover {
    background-color: var(--light-gray);
}

.quantity-control span {
    padding: 0 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.add-to-cart-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.add-to-cart-btn.added {
    background-color: #4CAF50;
}

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 1.2rem 1.2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    opacity: 0.7;
    font-size: 0.8rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column a {
    display: block;
    margin-bottom: 0.6rem;
    opacity: 0.7;
    transition: var(--transition);
    font-size: 0.85rem;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.social-links i {
    font-size: 1.1rem;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Media Queries */
@media (min-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .product-view-content {
        flex-direction: row;
    }
    
    .product-gallery {
        width: 50%;
    }
    
    .product-details {
        width: 50%;
    }
    
    .footer-content {
        flex-direction: row;
    }
    
    .footer-logo {
        width: 30%;
    }
    
    .footer-links {
        width: 70%;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Additional modern styles */
.product-main-image img {
    width: 100%;
    height: auto;
    max-height: 45vh;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.product-card {
    background-color: var(--card-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 15px rgba(242, 95, 76, 0.15);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Add pulse animation for cart count */
.cart-count.pulse {
    animation: pulse 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* Active state for quantity buttons */
.quantity-control button.active {
    background-color: var(--primary-color);
    color: white;
    transform: scale(0.9);
}

/* Smoother transitions for buttons */
.filter-container span {
    flex: 0 0 auto;
    padding: 0.4rem 0.9rem;
    margin: 0 0.4rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.filter-container span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.filter-container span:hover::before {
    transform: translateY(0);
}

.filter-container span:hover {
    color: white;
    box-shadow: 0 0 10px rgba(242, 95, 76, 0.2);
}

.filter-container span.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 8px rgba(242, 95, 76, 0.2);
}

/* Enhanced add to cart button */
.add-to-cart-btn {
    width: 100%;
    padding: 0.9rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.add-to-cart-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.add-to-cart-btn.added {
    background-color: #4CAF50;
}

/* Smooth section transitions */
section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Improved scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(242, 95, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(242, 95, 76, 0.5);
}

/* Enhanced thumbnail hover effect */
.thumbnail-item {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.thumbnail-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.thumbnail-item.active {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(242, 95, 76, 0.25);
}

/* Cart Modal Styles */
.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-modal-content {
    background-color: var(--card-color);
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cart-modal.active .cart-modal-content {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.close-cart-btn {
    font-size: 1.1rem;
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.empty-cart {
    text-align: center;
    padding: 2rem 0;
    color: #888;
    font-size: 0.9rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    animation: fadeIn 0.3s ease;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin: 0 0 0.3rem;
    font-weight: 600;
}

.cart-item-details p {
    font-size: 0.75rem;
    margin: 0 0 0.2rem;
    color: #666;
}

.cart-item-price-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.cart-item-price-qty span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.cart-quantity {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 0.2rem;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.cart-quantity span {
    padding: 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.remove-item-btn {
    position: absolute;
    top: 1rem;
    right: 0;
    color: #999;
    font-size: 0.9rem;
    padding: 0.3rem;
    transition: color 0.2s ease;
}

.remove-item-btn:hover {
    color: #ff3b30;
}

.cart-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

.total-price {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.checkout-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 480px) {
    .cart-modal-content {
        max-width: 100%;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Additional dark mode styles */
[data-theme="dark"] .filter-container span {
    background-color: var(--light-gray);
}

[data-theme="dark"] .filter-container span.active {
    background-color: var(--primary-color);
}

[data-theme="dark"] .product-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .nav-content {
    background-color: var(--card-color);
}

[data-theme="dark"] .size-btn {
    background-color: var(--medium-gray);
    color: var(--text-color);
}

[data-theme="dark"] .size-btn.active {
    background-color: var(--primary-color);
    color: white;
}

[data-theme="dark"] .quantity-control button {
    background-color: var(--medium-gray);
    color: var(--text-color);
}

[data-theme="dark"] .cart-modal-content {
    background-color: var(--card-color);
}

[data-theme="dark"] .cart-quantity {
    background-color: var(--medium-gray);
}

[data-theme="dark"] .cart-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .cart-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Theme toggle button animation */
.theme-toggle-btn {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.theme-toggle-btn:active {
    transform: rotate(180deg);
}

/* Improved off-white styling */
.product-card {
    background-color: var(--card-color);
}

.filter-container span {
    background-color: var(--light-gray);
}

.size-btn {
    background-color: var(--light-gray);
}

.quantity-control button {
    background-color: var(--light-gray);
}

/* Update white color in product colors */
.color-btn[style*="--product-white"] {
    border: 1px solid var(--medium-gray);
}

/* Dark mode hover effects */
[data-theme="dark"] .filter-container span:hover {
    box-shadow: 0 0 10px rgba(255, 137, 6, 0.3);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 15px rgba(255, 137, 6, 0.15);
}

/* Modern refinements */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.5;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Improved card hover */
.product-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 15px rgba(242, 95, 76, 0.15);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 137, 6, 0.2);
}

/* Improved buttons */
.primary-btn, .add-to-cart-btn, .checkout-btn {
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-btn:hover, .add-to-cart-btn:hover, .checkout-btn:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Improved section transitions */
section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Improved color dots */
.color-dot, .color-btn {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-dot:hover, .color-btn:hover {
    transform: scale(1.2);
}

.color-btn.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent-color);
}

/* Improved thumbnails */
.thumbnail-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.thumbnail-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.thumbnail-item.active {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(242, 95, 76, 0.25);
}

[data-theme="dark"] .thumbnail-item.active {
    box-shadow: 0 8px 15px rgba(255, 137, 6, 0.25);
}

/* Enhanced size buttons */
.size-btn {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.size-btn:hover {
    transform: translateY(-2px);
    background-color: var(--light-gray);
}

.size-btn.active {
    transform: translateY(-2px) scale(1.05);
    background-color: var(--primary-color);
    color: white;
}

/* Enhanced filter buttons */
.filter-container span {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-container span:hover {
    transform: translateY(-3px);
}

.filter-container span.active {
    transform: translateY(-3px) scale(1.05);
}

/* Enhanced modal animations */
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Image Zoom Styles */
.zoom-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.zoom-container.active {
    opacity: 1;
    pointer-events: auto;
}

.zoom-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.1s ease-out;
    cursor: grab;
}

.zoom-image.zoomed {
    cursor: move;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.zoom-btn {
    color: white;
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 5px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.zoom-level {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

/* Make product images clickable */
.product-main-image {
    cursor: zoom-in;
}

/* Touch indicators for mobile */
.touch-indicator {
    position: absolute;
    top: 70px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.touch-indicator.fade {
    opacity: 0;
} 