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

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

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

/* Header Styles */
.header {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #6366f1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.search-input {
    padding: 12px 45px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    background: #f9fafb;
    transition: all 0.3s ease;
    width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.theme-toggle {
    padding: 10px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: #e5e7eb;
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-swiper {
    height: 70vh;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
}

.hero-swiper img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    transition: none !important;
    object-position: center !important;
}

/* Ensure images fill container at all screen sizes */
.swiper-slide .relative {
    overflow: hidden !important;
}

.swiper-slide img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    transition: none !important;
    object-position: center !important;
    display: block !important;
    border-radius: 1rem !important;
}

/* Force proper sizing on all devices */
.heroSwiper .swiper-slide {
    overflow: hidden !important;
}

.heroSwiper .swiper-slide > div {
    overflow: hidden !important;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.8) !important;
    color: #333 !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    margin-top: 0 !important;
}

.hero-nav-btn:after {
    font-size: 16px !important;
    font-weight: bold !important;
}

@media (max-width: 768px) {
    .hero-nav-btn {
        width: 32px !important;
        height: 32px !important;
    }
    
    .hero-nav-btn:after {
        font-size: 12px !important;
    }
    
    .hero-swiper {
        height: 50vh;
        min-height: 300px;
        width: 100% !important;
        margin: 0 !important;
        border-radius: 1rem !important;
    }
    
    .heroSwiper {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 1rem !important;
    }
    
    .heroSwiper .swiper-slide {
        width: 100% !important;
    }
    
    .swiper-slide .relative {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .swiper-slide img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transition: none !important;
        object-position: center !important;
        border-radius: 1rem !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .hero-swiper img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transition: none !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 600px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.hero-slide img {
    transition: transform 0.3s ease;
}

.hero-slide:hover img {
    transform: scale(1.02);
}

.hero-nav-btn {
    color: #6366f1 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
    opacity: 0.8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.hero-swiper:hover .hero-nav-btn {
    opacity: 1;
}

.hero-nav-btn:hover {
    background: #6366f1 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3) !important;
}

.swiper-pagination-bullet {
    background: white !important;
    opacity: 0.6 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #6366f1 !important;
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: 70px;
        padding: 0 16px;
    }
    
    .hero-swiper {
        border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .hero-nav-btn {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    
    /* Hide pagination on small devices */
    .swiper-pagination {
        display: none !important;
    }
    
    /* Fix image zoom and ensure full image display */
    .hero-swiper img,
    .heroSwiper img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Category card images - allow normal sizing for proper swiper behavior */
    .category-card img {
        object-fit: cover !important;
        width: 100%;
        height: 100%;
    }
    
    /* Ensure container has no extra spacing */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Categories Section */
.categories-section {
    padding: 64px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

@media (max-width: 768px) {
    .categories-section {
        padding: 48px 0;
    }
}

.categories-swiper {
    padding: 20px 0;
    overflow: hidden;
}

/* Override Tailwind classes for proper swiper behavior */
.categories-swiper .swiper-slide {
    flex-shrink: 0;
    box-sizing: border-box;
}

.categories-swiper .category-card {
    width: 100%;
    height: auto;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Ensure proper mobile display */
@media (max-width: 767px) {
    .categories-swiper {
        padding: 16px 0;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .categories-swiper .swiper-wrapper {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .categories-swiper .swiper-slide {
        width: calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
        flex-basis: calc(50% - 6px) !important;
        box-sizing: border-box !important;
        margin-right: 12px !important;
    }
    
    .categories-swiper .swiper-slide:nth-child(2n) {
        margin-right: 0 !important;
    }
    
    .categories-swiper .category-card {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border-radius: 12px;
        overflow: hidden;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .categories-swiper .category-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        display: block;
    }
    
    .categories-swiper .category-card h3 {
        padding: 12px;
        margin: 0;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        /* Removed color to allow Tailwind dark mode classes to work */
        line-height: 1.4;
    }
}

/* Navigation buttons styling */
.categories-swiper .swiper-button-next,
.categories-swiper .swiper-button-prev {
    color: #3B82F6;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.categories-swiper .swiper-button-next:hover,
.categories-swiper .swiper-button-prev:hover {
    background: #3B82F6;
    color: white;
    transform: scale(1.1);
}

.categories-swiper .swiper-button-next::after,
.categories-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.categories-swiper .swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.categories-swiper .swiper-button-disabled:hover {
    background: white;
    color: #3B82F6;
    transform: none;
}

.category-card {
    /* Remove conflicting styles to let Tailwind handle the layout */
}

.category-card:hover {
    /* Keep hover effects but remove conflicting positioning */
}

.category-card img {
    /* Remove fixed dimensions to let Tailwind handle sizing */
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    /* Remove conflicting styles to let Tailwind handle typography */
}

.categories-nav-btn {
    color: #6366f1 !important;
    background: white !important;
    border-radius: 12px !important;
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    border: 2px solid #e5e7eb !important;
}

.categories-nav-btn:hover {
    background: #6366f1 !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3) !important;
    border-color: #6366f1 !important;
}

@media (max-width: 640px) {
    .categories-nav-btn {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    
    /* Ensure exactly 2 categories are visible on mobile */
    .categories-swiper .swiper-slide {
        width: calc(50% - 6px) !important;
        margin-right: 12px !important;
    }
    
    .categories-swiper .swiper-slide:nth-child(2n) {
        margin-right: 0 !important;
    }
}

/* Products Section */
.products-section {
    padding: 64px 0;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .products-section {
        padding: 48px 0;
    }
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.product-btn {
    background: white;
    color: #333;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.product-card:hover .product-btn {
    transform: translateY(0);
}

.product-btn:hover {
    background: #6366f1;
    color: white;
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.product-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

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

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6366f1;
}

.original-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Mobile Grid Improvements */
@media (max-width: 640px) {
    .products-section .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .product-btn {
        font-size: 0.8rem;
        padding: 8px 12px;
        transform: translateY(0);
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .product-description {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .original-price {
        font-size: 0.8rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .products-section .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
}

.newsletter-btn {
    background: white;
    color: #6366f1;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

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

.social-link:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

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

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

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info {
    space-y: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #d1d5db;
}

.contact-item .material-icons {
    color: #6366f1;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

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

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

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

/* Default Light Theme */
body {
    background: #ffffff;
    color: #1f2937;
}

/* Brand Colors */
:root {
    --brand-primary: #5E5EEE;
    --brand-secondary: #F87171;
}

/* Responsive Design */
@media (min-width: 769px) and (max-width: 1280px) {
    .hero-section {
        padding: 1rem 0.5rem;
    }
    
    .hero-swiper {
        height: 50vh;
        min-height: 300px;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .heroSwiper {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 1rem !important;
    }
    
    .heroSwiper .swiper-slide {
        width: 100% !important;
    }
    
    .swiper-slide .relative {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .swiper-slide img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transition: none !important;
        object-position: center !important;
        border-radius: 1rem !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
    }
    
    .hero-swiper img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
        transition: none !important;
        object-position: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

/* Mobile specific rules for banner */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0.75rem !important;
        margin: 0 !important;
    }
    
    .hero-section .container {
        padding: 0 !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .heroSwiper {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 1rem !important;
        padding: 0 !important;
    }
    
    .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .swiper-slide .relative {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 1rem !important;
        overflow: hidden !important;
    }
    
    .swiper-slide img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 1rem !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .category-card {
        /* Let Tailwind handle mobile responsive styles */
    }
    
    .category-card img {
        /* Let Tailwind handle mobile responsive image sizing */
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    /* Improve touch targets */
    button, .btn, .product-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing on mobile */
    .hero-section {
        margin-top: 40px;
    }
    
    /* Optimize text sizes */
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 640px) {
    .hero-section {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .footer {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-section {
        margin-top: 30px;
        padding: 0 12px;
    }
    
    .categories-section,
    .products-section {
        padding: 40px 0;
    }
    
    /* Ultra mobile optimizations */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

/* Hover effects for better UX */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Scrollbar styling removed - using browser defaults */

/* Mobile menu functionality */
#mobile-menu {
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
}

#mobile-menu nav ul li a {
    position: relative;
    transition: all 0.3s ease;
}

#mobile-menu nav ul li a:hover {
    background-color: #f3f4f6;
    transform: translateX(5px);
}

#mobile-menu nav ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
    border-radius: 0 4px 4px 0;
}

#mobile-menu nav ul li a:hover::before {
    width: 4px;
}

/* Mobile menu button improvements */
#mobile-menu-btn {
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover {
    transform: scale(1.1);
    background-color: #f3f4f6;
    border-radius: 8px;
}

/* Ensure mobile menu is properly positioned */
@media (max-width: 1023px) {
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
    }
}

/* Additional responsive improvements for categories */
@media (max-width: 639px) {
    .categories-swiper {
        margin: 0 -16px;
        padding: 16px 16px;
        overflow: hidden !important;
    }
    
    .categories-swiper .swiper-wrapper {
        gap: 12px;
        width: 100% !important;
    }
    
    .categories-swiper .swiper-slide {
        width: calc(50% - 6px) !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .categories-swiper .category-card {
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 100% !important;
    }
    
    .categories-swiper .category-card img {
        height: 100px;
        border-radius: 8px 8px 0 0;
    }
    
    .categories-swiper .category-card h3 {
        font-size: 12px;
        padding: 8px;
        line-height: 1.2;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    .categories-swiper .swiper-slide {
        width: calc(33.333% - 8px) !important;
        margin-right: 12px !important;
    }
    
    .categories-swiper .swiper-slide:nth-child(3n) {
        margin-right: 0 !important;
    }
}

/* Ensure proper spacing and alignment */
.categories-section .container {
    overflow: hidden;
}

.categories-swiper .swiper-wrapper {
    align-items: stretch;
}

.categories-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.categories-swiper .category-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* bullets hide from number */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}













