/* KOOLA SHOP - World-Class Luxury E-Commerce Platform
   Premium Styling with 3D Effects and Animations */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gold-gradient: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);

    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f5576c;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;

    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition-normal);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

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

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

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.btn-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    background: var(--primary-gradient);
    color: var(--text-white);
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-top {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 22px;
    color: #764ba2;
    letter-spacing: 1px;
}

.logo-text-bottom {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
    letter-spacing: 1px;
}

.nav-search {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-lg);
    font-size: 15px;
    transition: var(--transition-normal);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

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

.suggestion-item {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-item:hover {
    background: var(--bg-light);
}

.suggestion-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-weight: 500;
    position: relative;
}

.nav-link i {
    font-size: 24px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: var(--text-white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    color: #000;
}

.module-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 16px 0;
}

.module-nav .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 16px;
    overflow-x: auto;
}

.module-link {
    color: var(--text-white);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.module-link i {
    font-size: 20px;
}

.module-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.module-link.highlight {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 64px;
    color: var(--text-white);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    width: 150px;
    height: 150px;
    top: 100px;
    right: 0;
    animation-delay: 2s;
}

.floating-card.card-3 {
    width: 180px;
    height: 180px;
    bottom: 0;
    left: 50px;
    animation-delay: 4s;
}

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

.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 10;
}

.hero-prev, .hero-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition-normal);
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 12px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.hero-dot.active {
    background: var(--text-white);
    width: 32px;
    border-radius: 6px;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* Module Cards */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.module-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.module-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--text-white);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.module-icon.tech {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.module-icon.fashion {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.module-icon.furniture {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.module-icon.home {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.module-icon.appliances {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.module-icon.news {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.module-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.module-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.module-bg-icon {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-size: 200px;
    color: rgba(0, 0, 0, 0.02);
    z-index: 0;
}

.module-card-actions {
    display: flex;
    gap: 12px;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--text-light);
}

.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;
    gap: 12px;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-white);
    z-index: 2;
}

.product-badge.featured {
    background: var(--primary-gradient);
}

.product-badge.flash {
    background: var(--danger-color);
    animation: pulse 2s infinite;
}

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

.product-info {
    padding: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #fbbf24;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 4px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.price-compare {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.news-category {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.news-date {
    color: var(--text-light);
}

.news-title {
    font-size: 20px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 12px;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    padding: 100px 0;
}

.cta-content {
    text-align: center;
    color: var(--text-white);
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 24px;
}

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

.footer-col h3 {
    color: var(--text-white);
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

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

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 8px;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    width: 20px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    max-height: 600px;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.chatbot-widget.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-gradient);
    color: var(--text-white);
    padding: 20px;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.chatbot-close {
    color: var(--text-white);
    font-size: 20px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    max-height: 400px;
}

.chatbot-message {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    max-width: 80%;
    animation: messageSlide 0.3s ease;
}

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

.chatbot-message.bot {
    background: var(--bg-light);
    color: var(--text-dark);
    margin-right: auto;
}

.chatbot-message.user {
    background: var(--primary-gradient);
    color: var(--text-white);
    margin-left: auto;
}

.chatbot-input {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-md);
    background: var(--primary-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-xl);
    z-index: 9998;
    transition: all var(--transition-normal);
}

.chatbot-trigger:hover {
    transform: scale(1.1);
}

/* Module Section Titles */
.module-featured-section {
    margin-bottom: 60px;
}

.module-section-title {
    font-size: 32px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.view-all-link {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.view-all-link:hover {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-search {
        display: none;
    }

    .nav-actions {
        gap: 16px;
    }

    .navbar .container-fluid {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .module-nav {
        padding: 12px 0;
    }

    .module-nav .container-fluid {
        gap: 12px;
        justify-content: space-between;
    }

    .module-link {
        width: 45px;
        height: 45px;
    }

    .module-link i {
        font-size: 18px;
    }

    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .product-name {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-price {
        font-size: 16px;
    }

    .chatbot-widget {
        width: 90%;
        right: 5%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 12px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .logo-text-top {
        font-size: 18px;
    }

    .logo-text-bottom {
        font-size: 14px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .product-price {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .module-link {
        width: 40px;
        height: 40px;
    }

    .module-link i {
        font-size: 16px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* Mobile Menu Dropdown */
.mobile-menu-dropdown {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu-dropdown a {
    display: block;
    padding: 16px;
    margin: 8px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-dropdown a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-dropdown a i {
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 769px) {
    .mobile-menu-dropdown {
        display: none !important;
    }
}
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 16px; }
.pt-3 { padding-top: 24px; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 16px; }
.pb-3 { padding-bottom: 24px; }
