/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Touch-friendly buttons */
button, a, input[type="button"], input[type="submit"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Smooth scrolling for mobile */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Prevent text selection on buttons */
button, .btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 500;
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo h1:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Search Container */
.search-container {
    flex: 1;
    max-width: 650px;
    position: relative;
}

.search-bar {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-bar:focus-within {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.search-bar input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    outline: none;
    background: transparent;
    color: #333;
    font-family: inherit;
}

.search-bar input::placeholder {
    color: #999;
    font-weight: 400;
}

.search-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.98);
}

.clear-search-btn {
    padding: 8px 12px;
    background: transparent;
    color: #999;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 8px;
}

.clear-search-btn:hover {
    color: #ff4444;
    transform: rotate(90deg);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    animation: slideDown 0.3s ease;
    border: 1px solid #f0f0f0;
}

.search-dropdown.active {
    display: block;
}

/* Custom scrollbar for search dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Suggestions */
.search-suggestions {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestions:empty {
    display: none;
}

.search-suggestions h4 {
    font-size: 13px;
    color: #999;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-suggestions h4 i {
    color: #667eea;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.suggestion-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    transform: translateX(-5px);
}

.suggestion-item i {
    color: #667eea;
    font-size: 14px;
    width: 20px;
}

.suggestion-item .suggestion-text {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.suggestion-item .suggestion-category {
    font-size: 12px;
    color: #999;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Search Results */
.search-results {
    padding: 15px;
}

.search-results:empty {
    display: none;
}

.search-results h4 {
    font-size: 13px;
    color: #999;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-results h4 i {
    color: #667eea;
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-color: #667eea;
    transform: translateX(-5px);
}

.search-result-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 10px;
    font-size: 30px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search-result-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.search-result-category {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-price {
    font-size: 16px;
    font-weight: 700;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.search-result-discount {
    font-size: 11px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.no-results i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.no-results h4 {
    font-size: 16px;
    color: #666;
    margin: 0 0 8px 0;
}

.no-results p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Search Loading */
.search-loading {
    text-align: center;
    padding: 30px;
    color: #667eea;
}

.search-loading i {
    font-size: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.nav-icons {
    display: flex;
    gap: 25px;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-icon i {
    font-size: 24px;
    margin-bottom: 5px;
}

.nav-icon:hover {
    color: #667eea;
}

.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.language-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.language-btn .language-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.language-btn:hover .language-icon {
    transform: scale(1.1);
}

.language-btn i:first-child {
    font-size: 18px;
}

.language-btn i:last-child {
    font-size: 12px;
    transition: transform 0.3s;
}

.language-btn.active i:last-child {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    overflow: hidden;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    border: none;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.lang-option:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lang-option.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.lang-option .flag {
    font-size: 24px;
}

.lang-option span:last-child {
    flex: 1;
    text-align: right;
}

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

.categories-bar {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 12px 0;
}

.categories {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.category-link {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s;
}

.category-link:hover,
.category-link.active {
    color: #667eea;
    background: #e8eaf6;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

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

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

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

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

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    height: 100%;
    gap: 50px;
}

.slide-text {
    flex: 1;
    color: white;
    animation: slideInRight 1s ease-out;
}

.slide.active .slide-text {
    animation: slideInRight 1s ease-out;
}

.slide-title {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-description {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

.slide-btn {
    padding: 18px 50px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.slide-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.slide-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 1s ease-out;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.slide.active .slide-image {
    animation: slideInLeft 1s ease-out;
}

/* Support for real images in slider */
.slide-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    z-index: 0;
}

/* When slide has real image, make it full width */
.slide.has-real-image .slide-content {
    position: relative;
    z-index: 2;
}

.slide.has-real-image .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    flex: none;
}

.slide.has-real-image .slide-text {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
}

.emoji-image {
    font-size: 180px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    right: 30px;
}

.slider-arrow.next {
    left: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 35px;
    border-radius: 6px;
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background: #f8f9fa;
}

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

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item::after {
    content: 'اضغط للعرض';
    position: absolute;
    bottom: -25px;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.category-item:hover::after {
    opacity: 1;
}

.category-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

.category-item:hover .category-circle {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    transform: scale(1.05);
}

.category-circle i {
    font-size: 50px;
    color: white;
}

.category-item h3 {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Flash Deals */
.flash-deals {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.timer {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff3cd;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
}

.countdown {
    display: flex;
    gap: 5px;
    font-size: 20px;
    color: #ff4757;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff4757;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    color: #e0e0e0;
}

.product-info {
    padding: 12px;
}

.product-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.stars {
    color: #ffc107;
    font-size: 12px;
}

.rating-count {
    color: #999;
    font-size: 12px;
}

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

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

/* Enhanced currency symbol in product cards */
.current-price .currency-symbol {
    font-size: 0.85em;
    font-weight: 600;
    color: #2c3e50;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.old-price .currency-symbol {
    font-size: 0.9em;
}

.discount {
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-to-cart:hover {
    background: #5568d3;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Products Section */
.products-section {
    padding: 40px 0;
}

.load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 15px 50px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: #667eea;
    color: white;
}

/* Features Section */
.features {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: #bdc3c7;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #667eea;
}

.newsletter {
    display: flex;
    gap: 0;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter button {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter button:hover {
    background: #764ba2;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    left: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    left: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-header h3 {
    font-size: 22px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 40px 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff4757;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.remove-item {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.checkout-btn:hover {
    transform: scale(1.02);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-modal.active {
    display: flex;
}

.login-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.close-login-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f5f5f5;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.close-login-modal:hover {
    background: #ff4757;
    color: white;
    transform: rotate(90deg);
}

.login-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
}

.login-tab {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.login-tab.active {
    color: #667eea;
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-form-container {
    display: none;
    padding: 40px 30px;
}

.auth-form-container.active {
    display: block;
}

.auth-form-container h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #999;
    margin-bottom: 30px;
}

.auth-form {
    margin-bottom: 25px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 14px 45px 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.remember-me input {
    cursor: pointer;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #764ba2;
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.social-login {
    text-align: center;
    margin-top: 25px;
}

.social-login p {
    color: #999;
    margin-bottom: 15px;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn.google {
    color: #db4437;
    border-color: #db4437;
}

.social-btn.google:hover {
    background: #db4437;
    color: white;
}

.social-btn.facebook {
    color: #4267B2;
    border-color: #4267B2;
}

.social-btn.facebook:hover {
    background: #4267B2;
    color: white;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.terms-checkbox input {
    cursor: pointer;
}

.terms-checkbox a {
    color: #667eea;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    width: 180px;
    border-radius: 30px;
}

.whatsapp-float i {
    transition: all 0.3s ease;
}

.whatsapp-float:hover i {
    margin-right: 10px;
}

.whatsapp-text {
    position: absolute;
    right: 60px;
    opacity: 0;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    right: 70px;
}

/* WhatsApp Button Animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* ===== Responsive Design ===== */

/* Large Tablets & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .nav-icons {
        gap: 15px;
    }
    
    .nav-icon span {
        font-size: 13px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 18px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Landscape & Small Tablets (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 12px;
    }
    
    .top-banner {
        font-size: 12px;
        padding: 8px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-content {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
    }
    
    .search-bar {
        width: 100%;
        border-radius: 25px;
    }
    
    .search-bar input {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .search-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .clear-search-btn {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .nav-icons {
        gap: 10px;
    }
    
    .nav-icon {
        font-size: 18px;
        padding: 8px 12px;
    }
    
    .nav-icon span {
        font-size: 12px;
    }
    
    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
    
    .language-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .categories-bar {
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .categories {
        gap: 12px;
        padding: 0 5px;
    }
    
    .category-link {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* Hero Slider Responsive */
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
        gap: 25px;
    }
    
    .slide-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .slide-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .slide-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .emoji-image {
        font-size: 90px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow.prev {
        right: 10px;
    }
    
    .slider-arrow.next {
        left: 10px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 24px;
    }
    
    /* Sections */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .filter-buttons {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .timer {
        font-size: 14px;
    }
    
    .countdown span {
        padding: 6px 10px;
        font-size: 16px;
    }
    
    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .category-circle {
        width: 70px;
        height: 70px;
    }
    
    .category-circle i {
        font-size: 30px;
    }
    
    .category-item h3 {
        font-size: 13px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        height: 180px;
        font-size: 60px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-name {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .product-category {
        font-size: 11px;
    }
    
    .product-rating {
        font-size: 12px;
    }
    
    .current-price {
        font-size: 20px;
    }
    
    .old-price {
        font-size: 14px;
    }
    
    .discount {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .add-to-cart-btn {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .feature-card i {
        font-size: 40px;
    }
    
    .feature-card h3 {
        font-size: 16px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .newsletter {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        width: 100%;
    }
    
    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        left: -100%;
    }
    
    .cart-sidebar.active {
        left: 0;
    }
    
    /* Search Dropdown */
    .search-dropdown {
        max-height: 400px;
    }
    
    .search-result-item {
        padding: 10px;
        gap: 10px;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .search-result-name {
        font-size: 13px;
    }
    
    .search-result-price {
        font-size: 13px;
    }
    
    .suggestion-item {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* Mobile Portrait (320px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .top-banner {
        font-size: 11px;
        padding: 6px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-icons {
        gap: 8px;
    }
    
    .nav-icon {
        padding: 6px 10px;
        font-size: 16px;
    }
    
    .nav-icon span {
        display: none;
    }
    
    .language-btn span {
        display: none;
    }
    
    .language-btn {
        padding: 8px;
        min-width: auto;
    }
    
    .categories {
        gap: 8px;
    }
    
    .category-link {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 350px;
    }
    
    .slide-content {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .slide-title {
        font-size: 24px;
    }
    
    .slide-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .slide-btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .emoji-image {
        font-size: 70px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 20px;
    }
    
    .timer {
        font-size: 12px;
    }
    
    .countdown span {
        padding: 5px 8px;
        font-size: 14px;
    }
    
    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-circle {
        width: 60px;
        height: 60px;
    }
    
    .category-circle i {
        font-size: 26px;
    }
    
    .category-item h3 {
        font-size: 12px;
    }
    
    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image {
        height: 150px;
        font-size: 50px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .product-category {
        font-size: 10px;
    }
    
    .product-rating {
        font-size: 11px;
    }
    
    .current-price {
        font-size: 18px;
    }
    
    .old-price {
        font-size: 13px;
    }
    
    .discount {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .add-to-cart-btn {
        padding: 8px;
        font-size: 13px;
    }
    
    /* Features */
    .feature-card {
        padding: 20px;
    }
    
    .feature-card i {
        font-size: 35px;
    }
    
    .feature-card h3 {
        font-size: 15px;
    }
    
    .feature-card p {
        font-size: 12px;
    }
    
    /* Load More Button */
    .load-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Extra Small Mobile (max-width: 374px) */
@media (max-width: 374px) {
    .logo h1 {
        font-size: 18px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .slide-description {
        font-size: 13px;
    }
    
    .emoji-image {
        font-size: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-image {
        height: 200px;
        font-size: 70px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Floating Chat Button & Window ===== */
.chat-button-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-chat 2s infinite;
}

@keyframes pulse-chat {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(102, 126, 234, 0.6), 0 0 0 10px rgba(102, 126, 234, 0.1);
    }
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.chat-button:active {
    transform: scale(0.95);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 3px solid white;
    animation: bounce-badge 1s infinite;
}

@keyframes bounce-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.chat-tooltip {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.chat-button-container:hover .chat-tooltip {
    opacity: 1;
}

.chat-window {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9998;
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    backdrop-filter: blur(10px);
}

.chat-header-text h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

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

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-message.user .message-avatar {
    background: linear-gradient(135deg, #38f9d7 0%, #43e97b 100%);
}

.message-content {
    max-width: 70%;
    background: white;
    padding: 12px 15px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.message-content p {
    margin: 0 0 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.message-content p:last-of-type {
    margin-bottom: 8px;
}

.message-time {
    font-size: 11px;
    opacity: 0.6;
    display: block;
}

.chat-quick-replies {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-reply-btn {
    padding: 8px 12px;
    background: #f0f4ff;
    border: 1px solid #667eea;
    color: #667eea;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.quick-reply-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chat-input-container {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-attach-btn {
    background: #f0f4ff;
    border: none;
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.chat-attach-btn:hover {
    background: #667eea;
    color: white;
    transform: rotate(45deg);
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.chat-input:focus {
    border-color: #667eea;
    background: #f0f4ff;
}

.chat-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.chat-send-btn:active {
    transform: scale(0.95);
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo img {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 60px;
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .whatsapp-float:hover {
        width: 160px;
    }
    
    .whatsapp-text {
        font-size: 14px;
    }
}

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-button-container {
        bottom: 20px;
        left: 20px;
    }
    
    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .chat-window {
        left: 10px;
        right: 10px;
        bottom: 90px;
        width: auto;
        height: 500px;
    }
    
    .quick-reply-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* User Authentication Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
