/* Header layout: ensure search grows between logo and nav */
.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Auth Modal removed */
/* Auth Section (non-modal) */
.auth-container { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 560px; border-radius: 12px; overflow: hidden; }
.auth-header { padding: 16px; border-bottom: 1px solid #eee; }
.auth-header h3 { margin: 0; font-weight: 700; }
.auth-tabs { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
.auth-tab-btn { flex: 1; padding: 10px; border: none; background: #f7f7f7; cursor: pointer; border-radius: 8px; font-weight: 600; }
.auth-tab-btn.active { background: #3f51b5; color: #fff; }
.auth-body { padding: 14px 16px 20px; }
.auth-form .full { width: 100%; }
.form-actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.alt-links { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.remember-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; }
.error-text { color: #e53935; font-size: 12px; margin-top: 4px; display: block; }
.helper-text { color: #777; font-size: 12px; display: block; }
.social-row { margin-top: 12px; display: flex; gap: 8px; flex-direction: column; }
.social-btn { width: 100%; border: none; border-radius: 6px; padding: 10px 12px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; justify-content: center; }
.social-btn.google { background: #fff; border: 1px solid #e0e0e0; }
.social-btn.facebook { background: #1877f2; color: #fff; }
.benefits { background: #f9fafc; border: 1px solid #eef1f6; border-radius: 8px; padding: 12px; margin-top: 12px; }

@media (max-width: 480px) {
  .auth-card { max-width: 100%; }
  .social-row { gap: 6px; }
}
.header-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.header-search { flex: 1; }
.header-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  outline: none;
  font-size: 14px;
}
.header-search input:focus {
  border-color: #bdbdbd;
}
/* Custom styles for Timeyon E-commerce Platform - Colorless Version */

/* Global Styles */
* {
    box-sizing: border-box;
}

/* Navigation and dropdown (existing minimal styles may exist) */
/* Sub-header bar directly under main header */
.sub-header {
  background: #ffffff;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  width: 100%;
}
.sub-header .sub-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
}

/* Ensure dropdowns in sub-header layer above content */
.sub-header .nav-dropdown { position: relative; }
.sub-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}
.sub-header .sub-dropdown { z-index: 1001; }

/* Optional: tweak link spacing for sub-header */
.sub-header .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  padding: 6px 10px;
}
.sub-header .nav-link:hover { color: #111; }

/* Products Nav Dropdown (minimal) */
.nav-dropdown {
    position: relative;
}
.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dropdown-arrow { font-size: 10px; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
    position: absolute; top: 100%; left: 0;
    background: #fff; border: 1px solid #e0e0e0; border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    padding: 12px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .2s ease; z-index: 50;
    /* Grid layout for items */
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 10px 14px;
    width: min(880px, 92vw);
    max-height: 70vh; /* prevent overflow */
    overflow: auto;
}
.dropdown-link { display:block; padding:10px 12px; color:#333; text-decoration:none; font-size:14px; border-radius:8px; }
.dropdown-link:hover { background:#f5f5f5; }
.dropdown-item { position: relative; }
.dropdown-item.has-sub > .sub-dropdown { left: 100%; top: 0; }
.sub-dropdown {
    position: absolute; min-width: 220px; background:#fff; border:1px solid #e0e0e0; border-radius:8px;
    box-shadow: 0 10px 24px rgba(0,0,0,.12); padding:8px 0; display:none;
}
.dropdown-item.has-sub:hover > .sub-dropdown { display:block; }

/* Responsive columns for dropdown grid */
@media (max-width: 1024px) {
  .dropdown-menu { grid-template-columns: repeat(2, minmax(160px, 1fr)); width: min(640px, 95vw); }
}
@media (max-width: 600px) {
  /* Centered, full-width dropdown with scroll on small screens */
  .dropdown-menu {
    left: 50%;
    transform: translate(-50%, 8px);
    grid-template-columns: 1fr;
    width: calc(100vw - 20px);
    max-height: 70vh;
  }
  /* Submenus stack inline under their parent for mobile */
  .dropdown-item.has-sub > .sub-dropdown {
    position: static;
    display: block !important;
    min-width: unset;
    box-shadow: none;
    border: none;
    padding: 4px 0 0 10px;
  }
}

/* Products Grid (minimal) */
.products-container { margin: 30px auto; max-width: 1200px; }
.products-container h2 { text-align:center; margin: 10px 0 20px; font-weight:700; }
.products-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap:16px; }
.product-card { background:#fff; border:1px solid #eee; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,.06); overflow:hidden; display:flex; flex-direction:column; }
.product-image { width:100%; height:180px; object-fit:cover; }
.product-info { padding:12px; display:flex; flex-direction:column; gap:8px; }
.product-name { font-size:16px; font-weight:600; color:#333; }
.product-price { color:#3f51b5; font-weight:700; }
.product-price .price-old { text-decoration: line-through; color:#9e9e9e; font-weight:400; margin-right:8px; }
.product-price .price-new { color:#e53935; font-weight:700; }
.product-details { font-size:13px; color:#666; min-height: 34px; }
.order-btn { margin-top:auto; background:#3f51b5; color:#fff; border:none; padding:10px; border-radius:8px; cursor:pointer; }
.order-btn:hover { background:#32408f; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    margin: 1px;
    background: #ffffff;
    min-height: 100vh;
}

/* Header Styles */
.mdl-layout__header {
    background: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e0e0e0;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 30px;
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-container:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: rotate(5deg) scale(1.1);
}

.logo-text {
    color: #333;
    font-size: 24px;
    font-weight: 800;
    margin-left: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
}

/* Categories Navigation removed */

/* Categories Header/Navigation removed */

/* Responsive Header Row Styling */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 15px;
    background-color: black;
}

.header-row > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.header-row img {
    height: 40px;
    width: auto;
}

.header-row > div:first-child span {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.header-row nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-row nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.header-row nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-row nav a i {
    font-size: 16px;
}

/* Header search styles removed */


/* Category filter styles removed */

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .header-row nav {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .header-row > div:nth-child(2) input {
        min-width: 150px;
        flex: 1;
    }
    
    .header-row nav a {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    /* Responsive Slider */
    .slider {
        height: 250px;
    }
    
    .slide-content {
        bottom: 10px;
        left: 10px;
        padding: 15px;
        font-size: 14px;
    }
    
    .slide-content h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .slide-content p {
        font-size: 12px;
    }
    
    .slider-btn {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    /* Category buttons removed */
    
}

@media (max-width: 480px) {
    .header-row {
        padding: 8px 15px;
    }
    
    .header-row nav {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .header-row nav a {
        text-align: center;
        padding: 10px;
    }
    
    .header-row > div:nth-child(2) input {
        min-width: auto;
        width: 100%;
    }
    
    /* Mobile Slider */
    .slider {
        height: 200px;
    }
    
    .slider-container {
        margin: 10px auto;
        border-radius: 10px;
    }
    
    .slide-content {
        bottom: 5px;
        left: 5px;
        padding: 10px;
        border-radius: 8px;
    }
    
    .slide-content h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }
    
    .slide-content p {
        font-size: 11px;
    }
    
    .slider-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .slider-btn.prev {
        left: 5px;
    }
    
    .slider-btn.next {
        right: 5px;
    }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.notification-btn {
    position: relative;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification-btn i {
    color: #333;
    font-size: 18px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #666;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    margin: 0 6px;
    padding: 14px 24px;
    border-radius: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 6px 20px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 12px 35px rgba(255, 255, 255, 0.4),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.2));
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(255, 255, 255, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #45b7d1);
    animation: activeNavGlow 2s ease infinite;
}

@keyframes activeNavGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.notification-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.notification-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #ff6b6b, #fd79a8);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    animation: notificationPulse 2s ease infinite;
}

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

/* Navigation Icons */
.nav-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* Header search container removed */

/* Section Management */
.section {
    display: none;
    padding: 20px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    margin: 20px;
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #fd79a8);
    background-size: 400% 400%;
    animation: rainbowShift 8s ease infinite;
}

.section.active {
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Slider Styles */
.slider-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(238, 90, 36, 0.9));
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-content h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.slide-content p {
    margin: 0;
    font-size: 16px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 300% 300%;
    animation: sliderBtnGlow 3s ease infinite;
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes sliderBtnGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.8);
    background: linear-gradient(135deg, #4ecdc4, #ff6b6b, #45b7d1);
    animation: sliderHover 0.6s ease infinite;
}

@keyframes sliderHover {
    0%, 100% { transform: translateY(-50%) scale(1.2) rotate(0deg); }
    50% { transform: translateY(-50%) scale(1.25) rotate(5deg); }
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Products grid and product card styles removed */


/* Orders Section */
.orders-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.order-id {
    font-weight: bold;
    color: #333;
}

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

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.pending {
    background-color: #f44336;
}

.status-dot.completed {
    background-color: #4caf50;
}

.order-details {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.order-product {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.order-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.order-product-info h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.order-product-price {
    color: #3f51b5;
    font-weight: bold;
}

/* Profile Section */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
}

.profile-card {
    width: 100%;
    margin-bottom: 20px;
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-label {
    font-weight: bold;
    color: #666;
}

.profile-value {
    color: #333;
}

/* Modern Footer Styles */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #2c3e50, #34495e, #1a252f);
    color: white;
    margin-top: 50px;
    overflow: hidden;
}

/* Footer Wave Animation */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: rgba(255, 255, 255, 0.1);
    animation: waveAnimation 8s ease-in-out infinite;
}

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

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

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

/* Company Info Section */
.company-info {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.footer-brand {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Footer Stats */
.footer-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 80px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Footer Headings */
.footer-heading {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 2px;
}

/* Quick Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 15px;
}

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

.footer-links a i {
    width: 16px;
    color: #ff6b6b;
}

/* Contact Info */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: #ff6b6b;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Social Section */
.social-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

/* Newsletter */
.newsletter h5 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff6b6b;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.newsletter-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.copyright i {
    color: #ff6b6b;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #ff6b6b;
}

/* Responsive Footer Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .company-info {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
    }
    
    .footer-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-content {
        padding: 60px 0 30px;
    }
    
    .footer-wave svg {
        height: 40px;
    }
    
    .footer-stats {
        justify-content: center;
        gap: 15px;
    }
    
    .stat-item {
        min-width: 70px;
        padding: 12px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
    .footer-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-item {
        min-width: auto;
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-links a {
        justify-content: center;
    }
}

/* Modal Styles */
.mdl-dialog {
    width: 400px;
    max-width: 90vw;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mdl-dialog__title {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.selected-product-preview {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.selected-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.selected-product-details h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.selected-product-price {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    font-size: 18px;
}

/* Header Responsive Design */
@media (max-width: 1024px) {
    .logo-container {
        margin-right: 20px;
    }
    
    .nav-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .header-actions {
        gap: 10px;
        margin-left: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .categories-header-row {
        display: none;
    }
    
    .social-media {
        text-align: left;
        margin-top: 20px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .logo-container {
        margin-right: 15px;
        padding: 6px 12px;
    }
    
    .site-logo {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .header-actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .order-product {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-text {
        font-size: 14px;
        margin-left: 6px;
    }
    
    .mobile-nav-menu {
        padding: 60px 15px 15px;
    }
    
    .mobile-nav-link {
        padding: 15px;
        font-size: 16px;
    }
    
    .logo-container {
        margin-right: 10px;
        padding: 4px 8px;
    }
    
    .site-logo {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .search-container .mdl-button {
        width: 40px;
        height: 40px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6b6b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.footer-logo-img {
    animation: float 3s ease-in-out infinite;
}

/* Scroll reveal animation for footer sections */
.footer-section {
    opacity: 0;
    transform: translateY(30px);
    animation: revealFooter 0.8s ease-out forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes revealFooter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
