/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===== VARIABLES ===== */
:root {
    --primary-color: #6C63FF;
    --primary-dark: #5A52E5;
    --primary-light: #8B85FF;
    --accent-color: #FF6B6B;
    --accent-dark: #E85A5A;
    --secondary-color: #4ECDC4;
    --secondary-dark: #45B7B8;
    --dark-color: #2C3E50;
    --light-color: #F8F9FA;
    --gray-color: #6C757D;
    --gray-light: #E9ECEF;
    --white: #FFFFFF;
    --black: #000000;
    --gradient-primary: linear-gradient(135deg, #6C63FF 0%, #8B85FF 100%);
    --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #45B7B8 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #E85A5A 100%);
    --gradient-dark: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    margin-bottom: 2rem;
}

.logo-3d {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateZ(-10px) scale(1.1);
    filter: blur(20px);
    animation: logoShadow 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(10deg); }
}

@keyframes logoShadow {
    0%, 100% { transform: translateY(0px) scale(1.1); }
    50% { transform: translateY(-10px) scale(1.2); }
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.spinner-ring {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    animation-delay: -0.6s;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.5; }
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    height: 60px;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 249, 250, 0.99) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(108, 99, 255, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    min-height: 60px;
    max-height: 60px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.4rem;
    transition: var(--transition);
}

.logo .logo-3d {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 8px rgba(108, 99, 255, 0.3);
    filter: drop-shadow(0 2px 4px rgba(108, 99, 255, 0.2));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo .logo-3d i {
    font-size: 1.5rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

@keyframes logoGlow {
    0% { text-shadow: 0 2px 4px rgba(108, 99, 255, 0.3); }
    100% { text-shadow: 0 4px 8px rgba(108, 99, 255, 0.5); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    background: transparent;
}

.nav-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(10px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.cart-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.user-menu {
    position: relative;
}

.user-icon {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.user-icon:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 1rem;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
    transform: translateX(10px);
}

.mobile-nav-sublink {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--gray-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-sublink:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    text-decoration: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    color: white !important;
    text-decoration: none !important;
}

.btn-primary:visited,
.btn-primary:active,
.btn-primary:focus {
    color: white !important;
    text-decoration: none !important;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(-60px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5rem 0 2rem;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-title-accent {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideInUp 1s ease-out 0.6s both;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes slideInUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInUp 1s ease-out 0.8s both;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.hero-image-3d {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate3d 20s linear infinite;
}

@keyframes rotate3d {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element-1 {
    top: -20px;
    right: -20px;
    animation: floatUpDown 3s ease-in-out infinite;
}

.floating-element-2 {
    bottom: -20px;
    left: -20px;
    animation: floatUpDown 3s ease-in-out infinite 1s;
}

.floating-element-3 {
    top: 50%;
    right: -30px;
    animation: floatUpDown 3s ease-in-out infinite 2s;
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    transform: translateY(-5px);
}

.scroll-indicator span {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 3rem 0;
    background: var(--light-color);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-description {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.categories .section-title {
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories .section-subtitle {
    color: #5a6c7d;
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 118, 117, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.category-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
}

.category-card:nth-child(1) .category-card-inner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-card:nth-child(2) .category-card-inner {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.category-card:nth-child(3) .category-card-inner {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-card:nth-child(4) .category-card-inner {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.category-card:nth-child(5) .category-card-inner {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.category-card:nth-child(6) .category-card-inner {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.category-icon {
    font-size: 5rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    color: white !important;
    z-index: 3;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.category-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.category-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.category-link i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-link:hover i {
    transform: translateX(5px);
}

/* ===== PRODUCTS SECTION ===== */
.featured-products {
    padding: 6rem 0;
    background: var(--light-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.product-card-inner {
    position: relative;
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-placeholder {
    font-size: 3rem;
    color: var(--gray-color);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.product-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.product-actions .btn-primary {
    background: var(--gradient-primary) !important;
    color: white !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
}

.product-actions .btn-primary:hover,
.product-actions .btn-primary:focus,
.product-actions .btn-primary:active {
    color: white !important;
    text-decoration: none !important;
    background: var(--gradient-primary) !important;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--accent-color);
    color: white;
    animation: pulse 2s infinite;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-description {
    color: var(--gray-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-original {
    font-size: 1.2rem;
    color: var(--gray-color);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    position: relative;
    padding: 6rem 0;
    background: var(--dark-color);
    color: white;
}

.testimonials-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

/* ===== AUTHENTICATION FORMS ===== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
    margin-top: 70px;
}

.auth-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.auth-logo i {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(108, 99, 255, 0.3));
}

.auth-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.auth-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin: 0;
}

.auth-form {
    margin-bottom: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--gray-color);
    font-size: 1.1rem;
    z-index: 2;
    transition: var(--transition);
}

.input-group .form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--dark-color);
}

.input-group .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.input-group .form-control:focus + label,
.input-group .form-control:not(:placeholder-shown) + label {
    transform: translateY(-2.5rem) scale(0.8);
    color: var(--primary-color);
}

.input-group .form-control:focus ~ i {
    color: var(--primary-color);
}

.input-group label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.btn-auth {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.btn-auth i {
    transition: var(--transition);
}

.btn-auth:hover i {
    transform: translateX(5px);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.auth-footer p {
    color: var(--gray-color);
    margin: 0;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Google OAuth Styles */
.oauth-section {
    margin-bottom: 1.5rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #4285f4;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #4285f4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
    color: #4285f4;
}

.btn-google i {
    font-size: 1.2rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--gray-color);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-light);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

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

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== PRODUCT DETAIL SECTION ===== */
.product-detail-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Images */
.product-images {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.stock-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stock-badge.low-stock {
    background: #fff3cd;
    color: #856404;
}

.stock-badge.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

.image-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 12px;
}

.image-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-action-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Thumbnail Gallery */
.thumbnail-container {
    margin-top: 2rem;
}

.thumbnail-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.thumbnail-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-scroll::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.thumbnail-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.thumbnail-image.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.thumbnail-image:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-header {
    margin-bottom: 2rem;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-short-desc {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    gap: 4px;
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.review-count {
    font-size: 1rem;
    color: #999;
}

/* Price Display */
.product-price {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    border: 1px solid #dee2e6;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1.8rem;
    color: #999;
    text-decoration: line-through;
}

.savings {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-per-unit {
    font-size: 0.9rem;
    color: #666;
}

/* Stock Status */
.stock-status {
    margin-bottom: 2rem;
}

.in-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #28a745;
    font-size: 1.1rem;
    font-weight: 500;
}

.out-of-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dc3545;
    font-size: 1.1rem;
    font-weight: 500;
}

.stock-count {
    color: #666;
    font-size: 1rem;
}

/* Quantity Section */
.quantity-section {
    margin-bottom: 2rem;
}

.quantity-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.quantity-selector {
    display: flex;
    justify-content: flex-start;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quantity-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 80px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    background: transparent;
}

.quantity-input:focus {
    outline: none;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-wishlist {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-wishlist:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
}

.feature-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    background: white;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb i {
    font-size: 0.8rem;
    color: #999;
}

/* Product Tabs */
.product-tabs-section {
    margin-top: 3rem;
}

.product-tabs {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

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

.tab-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.newsletter-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-form-inner {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form-inner:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.newsletter-form-inner .form-control {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    background: transparent;
    color: #2c3e50;
    font-weight: 500;
}

.newsletter-form-inner .form-control::placeholder {
    color: #7f8c8d;
    opacity: 0.8;
}

.newsletter-form-inner .btn {
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-form-inner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #5a67d8 0%, #6c63ac 100%);
}

.newsletter-form-inner .btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.newsletter-form-inner .btn:hover i {
    transform: translateX(3px);
}

/* Newsletter responsive design */
@media (max-width: 768px) {
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .newsletter-title {
        font-size: 2.5rem;
    }
    
    .newsletter-form-inner {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .newsletter-form-inner .form-control {
        border-radius: 20px 20px 0 0;
    }
    
    .newsletter-form-inner .btn {
        border-radius: 0 0 20px 20px;
        margin-top: 1px;
    }
}

/* Newsletter decorative elements */
.newsletter-text {
    position: relative;
}

.newsletter-text::before {
    content: '✨';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.newsletter-text::after {
    content: '💌';
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    animation: slideInUp 0.6s ease-out;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 20px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== FLASH MESSAGES ===== */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flash-message {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 1rem 1.5rem;
    min-width: 300px;
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
}

.flash-message.show {
    transform: translateX(0);
    opacity: 1;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-message.flash-success {
    border-left: 4px solid var(--secondary-color);
}

.flash-message.flash-error {
    border-left: 4px solid var(--accent-color);
}

.flash-message.flash-info {
    border-left: 4px solid var(--primary-color);
}

.flash-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
}

.flash-close:hover {
    color: var(--dark-color);
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 1rem 1.5rem;
    z-index: 1000;
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-color);
}

.notification-success {
    border-left: 4px solid var(--secondary-color);
}

.notification-error {
    border-left: 4px solid var(--accent-color);
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Mobile Landscape (up to 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile and Small Tablet (up to 768px) */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }
    
    /* Header Responsive */
    .header-content {
        padding: 1rem 0;
        min-height: 60px;
    }
    
    .logo .logo-3d {
        font-size: 1.6rem;
    }
    
    .logo .logo-3d i {
        font-size: 1.6rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .cart-icon {
        padding: 0.6rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 8rem 0 4rem;
        margin-top: 0; /* Reset margin for mobile */
    }
    
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-image {
        order: -1;
        height: 250px;
    }
    
    .hero-image-3d {
        width: 200px;
        height: 200px;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Grid Layouts */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards */
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .testimonial-rating {
        margin-bottom: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    /* Newsletter */
    .newsletter {
        padding: 3rem 0;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .newsletter-title {
        font-size: 2.2rem;
    }
    
    .newsletter-form-inner {
        flex-direction: column;
        border-radius: 20px;
        max-width: none;
    }
    
    .newsletter-form-inner .form-control {
        border-radius: 20px 20px 0 0;
        margin-bottom: 0;
        padding: 1rem 1.5rem;
    }
    
    .newsletter-form-inner .btn {
        border-radius: 0 0 20px 20px;
        margin-top: 1px;
        padding: 1rem 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    /* Flash Messages */
    .flash-messages {
        right: 1rem;
        left: 1rem;
        top: 80px;
    }
    
    .flash-message {
        min-width: auto;
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    /* Modal */
    .modal-content {
        margin: 2rem;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header-content {
        padding: 0.8rem 0;
        min-height: 55px;
    }
    
    .logo .logo-3d {
        font-size: 1.4rem;
    }
    
    .logo .logo-3d i {
        font-size: 1.4rem;
    }
    
    .header-actions {
        gap: 0.3rem;
    }
    
    .cart-icon {
        padding: 0.5rem;
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        width: 280px;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .hero-image-3d {
        width: 160px;
        height: 160px;
    }
    
    /* Sections */
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    /* Cards */
    .category-card {
        padding: 1.2rem;
    }
    
    .category-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .category-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
    
    .product-card {
        margin-bottom: 1.2rem;
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-description {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 0.95rem;
    }
    
    .product-price .price-current {
        font-size: 1.1rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: 1.2rem;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-author {
        font-size: 0.85rem;
    }
    
    /* Newsletter */
    .newsletter {
        padding: 2.5rem 0;
    }
    
    .newsletter-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }
    
    .newsletter-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form-inner .form-control {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .newsletter-form-inner .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom-content {
        gap: 0.8rem;
    }
    
    .footer-bottom-text {
        font-size: 0.85rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
    }
    
    /* Flash Messages */
    .flash-messages {
        top: 70px;
        right: 0.8rem;
        left: 0.8rem;
    }
    
    .flash-message {
        padding: 0.8rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .btn-large {
        padding: 0.9rem 1.6rem;
        font-size: 0.95rem;
    }
    
    .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-control {
        padding: 0.8rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Modal */
    .modal-content {
        margin: 1rem;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 1.2rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1.2rem;
    }
    
    .modal-footer {
        padding: 0.8rem 1.2rem;
    }
    
    /* Tables */
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .table th,
    .table td {
        padding: 0.6rem 0.4rem;
    }
    
    /* Spacing Utilities */
    .mt-1, .my-1 { margin-top: 0.25rem !important; }
    .mt-2, .my-2 { margin-top: 0.5rem !important; }
    .mt-3, .my-3 { margin-top: 1rem !important; }
    .mt-4, .my-4 { margin-top: 1.5rem !important; }
    .mt-5, .my-5 { margin-top: 2rem !important; }
    
    .mb-1, .my-1 { margin-bottom: 0.25rem !important; }
    .mb-2, .my-2 { margin-bottom: 0.5rem !important; }
    .mb-3, .my-3 { margin-bottom: 1rem !important; }
    .mb-4, .my-4 { margin-bottom: 1.5rem !important; }
    .mb-5, .my-5 { margin-bottom: 2rem !important; }
    
    .p-1 { padding: 0.25rem !important; }
    .p-2 { padding: 0.5rem !important; }
    .p-3 { padding: 1rem !important; }
    .p-4 { padding: 1.5rem !important; }
    .p-5 { padding: 2rem !important; }
}

/* Extra Small Mobile Devices (up to 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .newsletter-title {
        font-size: 1.7rem;
    }
    
    .mobile-menu {
        width: 250px;
    }
    
    .category-card,
    .product-card,
    .feature-card,
    .testimonial-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .form-control {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* Page-Specific Mobile Responsiveness */

/* Product Detail Page Mobile Optimization */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 1rem 0;
    }
    
    .product-detail-section .container {
        padding: 0 1rem;
    }
    
    .product-detail-grid {
        display: block;
        gap: 1rem;
    }
    
    /* Mobile Image Gallery */
    .product-images {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .main-image-container {
        position: relative;
        height: 350px;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 1rem;
    }
    
    .main-product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
    }
    
    .discount-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        background: linear-gradient(135deg, #ff6b6b, #ff5252);
        color: white;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 10;
    }
    
    .stock-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 600;
        z-index: 10;
    }
    
    .stock-badge.low-stock {
        background: #fff3cd;
        color: #856404;
    }
    
    .stock-badge.out-of-stock {
        background: #f8d7da;
        color: #721c24;
    }
    
    .image-actions {
        position: absolute;
        bottom: 15px;
        right: 15px;
        display: flex;
        gap: 8px;
    }
    
    .image-action-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.6);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .image-action-btn:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.1);
    }
    
    /* Mobile Thumbnail Gallery */
    .thumbnail-container {
        margin-top: 1rem;
    }
    
    .thumbnail-scroll {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .thumbnail-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .thumbnail-image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        flex-shrink: 0;
    }
    
    .thumbnail-image.active {
        border-color: var(--primary-color);
        transform: scale(1.1);
    }
    
    .thumbnail-image:hover {
        border-color: var(--primary-color);
    }
    
    /* Mobile Product Info */
    .product-info {
        padding: 1rem;
        background: white;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .product-header {
        margin-bottom: 1rem;
    }
    
    .product-category {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .product-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .product-short-desc {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    /* Mobile Rating */
    .product-rating {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .stars {
        display: flex;
        gap: 2px;
        color: #ffd700;
    }
    
    .rating-text {
        font-size: 0.85rem;
        color: #666;
    }
    
    .review-count {
        font-size: 0.85rem;
        color: #999;
    }
    
    /* Mobile Price Display */
    .product-price {
        margin-bottom: 1rem;
        padding: 1rem;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        border-radius: 12px;
        border: 1px solid #dee2e6;
    }
    
    .price-container {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 0.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .original-price {
        font-size: 1.2rem;
        color: #999;
        text-decoration: line-through;
    }
    
    .savings {
        background: linear-gradient(135deg, #28a745, #20c997);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .price-per-unit {
        font-size: 0.8rem;
        color: #666;
    }
    
    /* Mobile Stock Status */
    .stock-status {
        margin-bottom: 1rem;
    }
    
    .in-stock {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #28a745;
        font-size: 0.9rem;
    }
    
    .out-of-stock {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #dc3545;
        font-size: 0.9rem;
    }
    
    .stock-count {
        color: #666;
        font-size: 0.85rem;
    }
    
    /* Mobile Quantity Section */
    .quantity-section {
        margin-bottom: 1.5rem;
    }
    
    .quantity-label {
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--dark-color);
    }
    
    .quantity-selector {
        display: flex;
        justify-content: center;
    }
    
    .quantity-controls {
        display: flex;
        align-items: center;
        background: white;
        border: 2px solid #e9ecef;
        border-radius: 25px;
        padding: 4px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        border: none;
        background: transparent;
        color: var(--primary-color);
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        border-radius: 50%;
    }
    
    .quantity-btn:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .quantity-input {
        width: 60px;
        height: 40px;
        border: none;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        color: var(--dark-color);
        background: transparent;
    }
    
    .quantity-input:focus {
        outline: none;
    }
    
    /* Mobile Action Buttons */
    .action-buttons {
        display: flex;
        gap: 12px;
        margin-bottom: 1.5rem;
    }
    
    .btn-add-cart {
        flex: 1;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .btn-add-cart:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .btn-wishlist {
        width: 50px;
        height: 50px;
        border: 2px solid var(--primary-color);
        background: white;
        color: var(--primary-color);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-wishlist:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }
    
    /* Mobile Features */
    .product-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0.75rem;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #e9ecef;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .feature-content h4 {
        font-size: 0.8rem;
        font-weight: 600;
        margin: 0;
        color: var(--dark-color);
    }
    
    .feature-content p {
        font-size: 0.7rem;
        color: #666;
        margin: 0;
    }
    
    /* Mobile Breadcrumb */
    .breadcrumb-section {
        padding: 0.5rem 0;
    }
    
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
        color: #666;
        flex-wrap: wrap;
    }
    
    .breadcrumb a {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .breadcrumb i {
        font-size: 0.7rem;
        color: #999;
    }
    
    /* Mobile Product Tabs */
    .product-tabs-section {
        margin-top: 1rem;
    }
    
    .product-tabs {
        background: white;
        border-radius: 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .tab-navigation {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tab-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        padding: 1rem;
        border: none;
        background: #f8f9fa;
        color: #666;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .tab-btn.active {
        background: var(--primary-color);
        color: white;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .tab-pane {
        display: none;
    }
    
    .tab-pane.active {
        display: block;
    }
}

/* Cart Page */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-items {
        order: 1;
    }
    
    .cart-summary {
        order: 2;
        position: static;
        max-height: none;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }
    
    .cart-item-details {
        flex: none;
        text-align: center;
    }
    
    .cart-item-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .cart-item-remove {
        margin-top: 0.5rem;
    }
}

/* Checkout Page */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .checkout-form {
        order: 1;
    }
    
    .checkout-summary {
        order: 2;
        position: static;
        max-height: none;
    }
    
    .checkout-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .checkout-step {
        padding: 0.8rem;
        text-align: center;
    }
    
    .checkout-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .address-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .payment-method {
        width: 100%;
        justify-content: center;
    }
}

/* Authentication Pages */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem 1rem;
        min-height: calc(100vh - 120px);
    }
    
    .auth-card {
        width: 100%;
        max-width: none;
        padding: 2rem 1.5rem;
        margin: 1rem 0;
        border-radius: 12px;
    }
    
    .auth-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .auth-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .auth-subtitle {
        font-size: 0.95rem;
    }
    
    .auth-form .form-group {
        margin-bottom: 1.5rem;
    }
    
    .auth-form .form-control {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .auth-form .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .auth-divider {
        margin: 1.5rem 0;
    }
    
    .social-auth {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-auth .btn {
        width: 100%;
        justify-content: center;
    }
    
    .auth-footer {
        text-align: center;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        border-top: 1px solid var(--gray-light);
    }
}

/* Profile and Account Pages */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .profile-sidebar {
        order: 2;
        position: static;
        max-height: none;
        background: white;
        border-radius: 8px;
        padding: 1.5rem;
    }
    
    .profile-content {
        order: 1;
    }
    
    .profile-nav {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .profile-nav-item {
        min-width: max-content;
    }
    
    .profile-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .profile-header {
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-info h2 {
        font-size: 1.3rem;
    }
    
    .address-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-history {
        overflow-x: auto;
    }
    
    .order-card {
        padding: 1.5rem;
    }
    
    .order-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .order-items {
        margin-top: 1rem;
    }
}

/* Search and Filter */
@media (max-width: 768px) {
    .search-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        text-align: center;
    }
    
    .sort-dropdown {
        width: 100%;
    }
    
    .search-results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .results-count {
        order: 2;
    }
    
    .view-toggle {
        order: 1;
        justify-content: center;
    }
}

/* Touch-Friendly Enhancements */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .mobile-nav-link {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for touch */
    .btn + .btn {
        margin-left: 0.5rem;
    }
    
    /* Improved hover states for touch */
    .btn:active,
    .nav-link:active,
    .card:active {
        transform: scale(0.98);
    }
    
    /* Better form controls for mobile */
    .form-control:focus {
        outline: none;
        box-shadow: 0 0 0 2px var(--primary-color);
        border-color: var(--primary-color);
    }
    
    /* Mobile-friendly tables */
    .table-responsive {
        border: none;
        box-shadow: none;
    }
    
    .table {
        margin-bottom: 0;
    }
    
    .table th,
    .table td {
        border-top: none;
        border-bottom: 1px solid var(--gray-light);
        white-space: nowrap;
    }
    
    /* Improved mobile menu */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.d-block {
    display: block;
}

.d-none {
    display: none;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.p-1 {
    padding: 1rem;
}

.p-2 {
    padding: 2rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== FOCUS STATES ===== */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
}

/* ===== PRINT STYLES ===== */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    .header,
    .footer,
    .mobile-menu,
    .flash-messages,
    .back-to-top {
        display: none !important;
    }
    
    .hero {
        page-break-inside: avoid;
    }
    
    .section-title {
        page-break-after: avoid;
    }
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.nav-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
}

.nav-section h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.nav-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.nav-section a:hover,
.nav-section a.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateX(2px);
}

.nav-section a i {
    width: 16px;
    font-size: 0.875rem;
}

.admin-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.admin-table {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.btn-danger {
    background: #dc2626;
    border-color: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

/* Dashboard Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6366f1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .admin-nav {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .admin-table {
        font-size: 0.875rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===== FEATURED CATEGORIES ===== */
.featured-categories {
    padding: 4rem 0;
    background: var(--light-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-primary);
    padding: 2rem 0;
    color: white;
}

.page-header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
    padding: 3rem 0;
    background: #f8f9fa;
}

.filters-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.category-filters {
    margin-bottom: 2rem;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.filter-title i {
    color: #7c3aed;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-chip:hover {
    background: #e2e8f0;
    color: #475569;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.filter-chip.active {
    background: #7c3aed !important;
    color: white !important;
    border-color: #7c3aed !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.filter-chip.active:hover {
    background: #6d28d9 !important;
    color: white !important;
    text-decoration: none;
}

.filter-chip i {
    font-size: 0.9rem;
}