/* Reset and Base Styles */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-bg: #121212;
    --card-bg: #1c1c1c;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #333333;
    --input-bg: #2c2c2c;
    --success-color: #28a745;
    --light-gray: #2c2c2c;
    --medium-gray: #333333;
    --dark-gray: #b3b3b3;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --border-radius: 15px;
    --button-radius: 25px;
    --container-width: 1280px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --color-background: 255, 255, 255;
    --color-foreground: 51, 51, 51;
    --grid-desktop-horizontal-spacing: 2rem;
    --grid-mobile-horizontal-spacing: 1rem;
    --white: #ffffff;
    --hover-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
  }
body {
    background-color: var(--primary-color);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    padding: 8px 0;
    color: white;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.top-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-links a:hover {
    opacity: 0.8;
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

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

.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo a {
    text-decoration: none;
    color: var(--text-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

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

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

.nav-icons a.icon {
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-icons a.icon:hover, .nav-icons a.icon.active {
    color: var(--secondary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
    color: white;
    z-index: 1;
}

.slide-content h2 {
    font-size: 40px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--button-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    position: relative;
    font-size: 28px;
    font-weight: 700;
    width: 100%;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Featured Products */
.featured-products {
    padding: 4rem 0;
    background: var(--primary-color);
}

.featured-products .container {
    display: block;
}

/* Categories Grid */
.categories {
    padding: 4rem 0;
}

.categories .container {
    display: block;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Features Section */
.features {
    padding: 3.5rem 0;
    background: var(--color-background);
    position: relative;
    overflow: hidden;
}

.features .container {
    display: block;
}

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

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2ecc71 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon-wrap,
.feature-card:hover h3,
.feature-card:hover p {
    color: var(--white);
}

.feature-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    color: #e3e3e3;
    font-size: 2.5rem;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrap {
    background: rgba(222, 222, 222, 0.2);
    color: #fff;
}

.feature-content {
    transition: all 0.3s ease;
}

.feature-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.feature-content p {
    color: #6c757d;
    transition: color 0.3s ease;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
}

.why-choose-us .container {
    display: block;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Product Video Section */
.scrolling-videos-section {
    padding: 5rem 0;
    background: var(--dark-bg);
    overflow: hidden;
}

.scrolling-videos-section .container {
    display: block;
}

.scrolling-videos-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.scrolling-videos-list {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.scrolling-videos-item {
    position: relative;
    width: 250px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.scrolling-videos-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.scrolling-videos-images {
    width: 100%;
    height: 100%;
}

.scrolling-videos-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scrolling-videos-item:hover .scrolling-videos-images img {
    transform: scale(1.1);
}

.scrolling-videos-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.scrolling-videos-player:hover {
    background: rgba(0, 0, 0, 0.6);
}

.scrolling-videos-player svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.scrolling-videos-player:hover svg {
    transform: scale(1.2);
}

/* Video Scrollbar */
.video-scrollbar-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.video-scrollbar-track {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
    /* Ensure visibility on mobile */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Force minimum visibility */
    opacity: 1 !important;
}

/* Only apply hover effects on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .video-scrollbar-track:hover {
        background: rgba(255, 255, 255, 0.3);
    }
}

.video-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    cursor: grab;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Ensure visibility on mobile */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Force minimum visibility */
    opacity: 1 !important;
}

/* Only apply hover effects on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .video-scrollbar-thumb:hover {
        background: var(--secondary-color);
        transform: scaleY(1.2);
    }
}

/* Active state for both desktop and mobile */
.video-scrollbar-thumb:active {
    cursor: grabbing;
    transform: scaleY(1.3);
    background: var(--secondary-color);
}

/* Mobile-specific styles to ensure visibility */
@media (hover: none) and (pointer: coarse) {
    .video-scrollbar-track {
        background: rgba(255, 255, 255, 0.3);
        /* Make it more visible on mobile */
    }
    
    .video-scrollbar-thumb {
        background: var(--primary-color);
        /* Ensure thumb is always visible on mobile */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }
    
    .video-scrollbar-thumb:active {
        background: var(--secondary-color);
        transform: scaleY(1.3);
        box-shadow: 0 2px 8px #3498db;
    }
}

/* User interacting state - ensure visibility during touch/drag */
.video-scrollbar-track.user-interacting {
    background: rgba(255, 255, 255, 0.4) !important;
    /* Force visibility during interaction */
}

.video-scrollbar-thumb.user-interacting {
    background: var(--secondary-color) !important;
    transform: scaleY(1.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
    /* Force visibility and highlight during interaction */
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.modal-video {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-video-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    background: transparent;
    border: none;
    font-size: 40px;
    cursor: pointer;
    z-index: 1101;
}

/* Newsletter */
.newsletter {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

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

.newsletter h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2980b9;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #eaeaea;
    font-size: 0.95rem;
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-logo-section {
    max-width: 300px;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo-section p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.footer-nav-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

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

.footer-nav-section ul li {
    margin-bottom: 0.7rem;
}

.footer-nav-section ul li a {
    color: #eaeaea;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-nav-section ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-info {
    margin-top: -0.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-info-item i {
    margin-right: 0.8rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-info-item span {
    opacity: 0.9;
}

.footer-middle {
    background: rgba(0, 0, 0, 0.15);
    padding: 2.5rem 0;
}

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

.newsletter-widget h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.newsletter-widget p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
}

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

.footer-newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.footer-newsletter-form button:hover {
    background: #2980b9;
}

.footer-bottom {
    background-color: var(--primary-color);
    padding: 20px 0;
}

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

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal a {
    color: #eaeaea;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.copyright {
    opacity: 0.8;
}

.payment-methods img {
    max-height: 30px;
}

/* Footer Bottom Flex Layout */
.footer-bottom-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

/* Center align footer copyright on all devices */
.footer-copyright {
    text-align: center;
    width: 100%;
}

.footer-copyright p {
    text-align: center;
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .footer-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo-section {
        max-width: 100%;
        text-align: center;
        margin: 0 auto 2rem;
    }
    
    .footer-logo-section p {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-nav-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav-section {
        text-align: center;
    }
    
    .contact-info-item {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter-form button {
        width: 100%;
    }
}



/* Responsive Design */




@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links a {
        padding: 10px 0;
        font-size: 16px;
    }
    
    .nav-icons {
        gap: 20px;
    }
    
    /* Ensure footer container is properly set for mobile */
    .footer-main {
        padding: 40px 0 !important;
    }
    
    .footer-main .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    /* Mobile Hero Slider - Comprehensive Mobile Optimization */
    .hero-slider {
        max-height: 280px;
        min-height: 280px;
    }

    .swiper-slide img {
        height: 280px;
        object-fit: cover;
        object-position: center;
    }

    .slide-content {
        left: 5%;
        right: 5%;
        max-width: 90%;
        padding: 0 10px;
        text-align: left;
    }

    .slide-content h2 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 8px;
        font-weight: 700;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    }

    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 15px;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
        max-width: 100%;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
        font-weight: 600;
        border-radius: 20px;
        display: inline-block;
        min-width: 120px;
        text-align: center;
    }
    
    /* Hide Swiper navigation arrows on mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    /* Hide slider arrows on mobile */
    .slider__button {
        display: none;
    }
    
    /* Mobile Top Bar - Keep left/right alignment like desktop */
    .top-bar {
        padding: 6px 0;
        position: relative;
        z-index: 101;
    }
    
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        gap: 10px;
    }
    
    .top-bar .container .announcement {
        font-size: 12px;
        flex: 1;
        text-align: left;
    }
    
    .top-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-end;
        justify-content: flex-end;
    }
    
    .top-links a {
        font-size: 11px;
        display: flex;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }
    
    .top-links a i {
        font-size: 10px;
    }

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

    .category-card.large {
        grid-column: auto;
        height: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
    
    /* Mobile Footer Improvements - Force single column layout */
    .footer-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .footer-column {
        width: 100% !important;
        margin-bottom: 1.5rem;
        display: block !important;
    }
    
    .footer-brand {
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
    }
    
    .footer-logo-container {
        text-align: left !important;
    }
    
    .footer-logo {
        text-align: left !important;
    }
    
    .logo-tagline {
        text-align: left !important;
    }
    
    .footer-brand p {
        text-align: left !important;
        max-width: 100% !important;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: left !important;
    }
    
    .footer-column h3::after {
        left: 0 !important;
        transform: none !important;
        width: 60px;
    }
    
    .footer-links {
        text-align: left !important;
    }
    
    .footer-links li {
        margin-bottom: 0px;
    }
    
    .footer-links a {
        font-size: 15px;
        padding: 2px 0;
        display: block;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100% !important;
        margin: 0 0 2rem 0 !important;
    }
    
    .social-item {
        justify-content: flex-start !important;
        padding: 12px 16px;
        font-size: 14px;
        width: fit-content !important;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }
    
    .footer-bottom-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start !important;
    }
    
    .footer-bottom-links a {
        padding: 5px 0;
        text-align: left !important;
    }
    
    .footer-payment .payment-icons {
        justify-content: flex-start !important;
        gap: 15px;
    }
    
    .footer-payment .payment-icons i {
        font-size: 1.5rem;
    }
    
    /* Center align footer copyright */
    .footer-bottom-flex {
        justify-content: center !important;
        width: 100%;
    }
    
    .footer-copyright {
        text-align: center !important;
        width: 100%;
    }
    
    .footer-copyright p {
        text-align: center !important;
        margin: 0;
        font-size: 14px;
    }
}

/* Extra Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-slider {
        max-height: 250px;
        min-height: 250px;
    }

    .swiper-slide img {
        height: 250px;
    }

    .slide-content {
        left: 3%;
        right: 3%;
        max-width: 94%;
        padding: 0 5px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .cta-button {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    /* Hide Swiper navigation arrows on extra small mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    /* Hide slider arrows on extra small mobile */
    .slider__button {
        display: none;
    }
    
    /* Extra small mobile top bar adjustments */
    .top-bar .container .announcement {
        font-size: 11px;
    }
    
    .top-links {
        flex-direction: column;
        gap: 3px;
        align-items: flex-end;
    }
    
    .top-links a {
        font-size: 10px;
    }
    
    .top-links a i {
        font-size: 9px;
    }
    
    /* Center align footer copyright on small screens */
    .footer-copyright {
        text-align: center !important;
    }
    
    .footer-copyright p {
        text-align: center !important;
        margin: 0;
    }
}

/* Predictive Search */
.search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.field {
    position: relative;
    width: 100%;
}

.search__input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search__input:focus {
    border-color: var(--secondary-color);
}

.field__label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.search__input:focus ~ .field__label,
.search__input:not(:placeholder-shown) ~ .field__label {
    top: -12px;
    left: 10px;
    font-size: 0.8rem;
    background: white;
    padding: 0 5px;
}

.reset__button,
.search__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

.reset__button {
    right: 40px;
}

.search__button {
    right: 10px;
}

.icon {
    width: 20px;
    height: 20px;
}

.predictive-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    overflow-y: auto;
    max-height: 80vh;
}

.predictive-search__results-groups-wrapper {
    padding: 1rem;
}

.predictive-search__heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.predictive-search__results-list {
    list-style: none;
    margin-bottom: 2rem;
}

.predictive-search__list-item {
    margin-bottom: 0.5rem;
}

.predictive-search__item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.predictive-search__item:hover {
    background-color: #f5f5f5;
}

.predictive-search__image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 5px;
}

.predictive-search__item-content {
    flex: 1;
}

.predictive-search__item-heading {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.predictive-search__item mark {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--secondary-color);
    padding: 0 2px;
}

.price {
    font-size: 0.9rem;
}

.price--on-sale .price-item--regular {
    text-decoration: line-through;
    color: #777;
}

.price-item--sale {
    color: var(--accent-color);
    font-weight: bold;
}

.predictive-search__search-for-button {
    padding: 0.5rem 1rem 1rem;
    border-top: 1px solid #eee;
}

.predictive-search__item--term {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.animate-arrow svg {
    width: 14px;
    height: 10px;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.animate-arrow:hover svg {
    transform: translateX(5px);
}

.predictive-search__loading-state {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.path {
    stroke: var(--secondary-color);
    stroke-linecap: round;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: var(--shadow);
    z-index: 1100;
    display: none;
}

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

@media (max-width: 768px) {
    .search-dropdown {
        width: 300px;
        right: -100px;
    }
}

/* New Footer Design */
.footer-new {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
    color: var(--text-primary);
}

/* Wave SVG at top of footer */
.footer-wave {
    display: none;
}

/* Main Footer Area */
.footer-main {
    padding: 60px 0;
    background-color: var(--dark-bg);
}



.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Brand Section */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.logo-tagline {
    font-size: 0.875rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

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

/* App Download Section */
.app-download {
    margin-top: auto;
}

.app-download p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #fff;
}

.app-buttons {
    display: flex;
    gap: 0.75rem;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 0.5rem 0.875rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.app-button i {
    font-size: 1.125rem;
}

.app-button span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Footer Navigation Links */
.footer-column h3 {
    color: var(--secondary-color);
    font-size: 1.125rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links a:hover::before {
    width: 0;
    opacity: 1;
}

/* Social Media Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between icon and text */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content; /* allow button to grow with content */
    font-size: 1rem;
}

.social-item i {
    font-size: 1.2rem; /* adjust icon size */
}

.social-item:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: #fff;
}

/* Newsletter form alternative styles for footer */
.newsletter-form-alt {
    margin-top: 1rem;
}

.form-group {
    display: flex;
    position: relative;
}

.newsletter-form-alt input {
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: none;
    border-radius: 4px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

.newsletter-form-alt button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 1rem;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.newsletter-form-alt button:hover {
    color: var(--accent-color);
}

@media screen and (max-width: 768px) {
    .newsletter-form-alt input {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .form-group {
        justify-content: center;
    }
}

/* Page Layout Utilities */
.slider-mobile-gutter {
    position: relative;
    margin: 0 auto;
}

.page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Visually hidden but accessible content */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Slider navigation buttons */
.slider-component {
    position: relative;
}

.slider__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider__button--prev {
    left: -20px;
}

.slider__button--next {
    right: -20px;
}

.slider__button i {
    font-size: 1rem;
    color: #000;
}

.slider__button:hover {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 990px) {
    .slider__button {
        width: 35px;
        height: 35px;
    }
    
    .slider__button--prev {
        left: -5px;
    }

    .slider__button--next {
        right: -5px;
    }
}

/* Footer Copyright Alignment - Global Override */
.footer-bottom-flex {
    justify-content: center !important;
    width: 100%;
}

.footer-copyright {
    text-align: center !important;
    width: 100% !important;
}

.footer-copyright p {
    text-align: center !important;
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Best Sellers Section */
.best-sellers {
    padding: 60px 0;
}

.best-sellers .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.best-sellers .section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.best-sellers .section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #4e54c8;
}

/* Updated Notification Styles - align top-right and ensure fully visible */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    left: auto;
    transform: none;
    padding: 14px 20px;
    background-color: rgba(46, 204, 113, 0.95);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    min-width: 260px;
    max-width: 90vw;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification.error { background-color: rgba(231, 76, 60, 0.95); }

.notification.show {
    opacity: 1;
}

/* OTP Modal Styles */
.otp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.otp-modal.show {
    display: flex;
}

.otp-modal-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.otp-modal-title {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 24px;
    text-align: center;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Single OTP Input Styling */
.otp-input-single {
    width: 100%;
    height: 60px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 24px;
    text-align: center;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 0 20px;
    letter-spacing: 8px;
    font-weight: 600;
}

.otp-input-single:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    transform: scale(1.02);
}

.otp-input-single::placeholder {
    color: var(--text-secondary);
    letter-spacing: normal;
    font-weight: normal;
    font-size: 18px;
}

/* OTP Paste Hint Styling */
.otp-paste-hint {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.8;
}

.otp-paste-hint i {
    color: var(--secondary-color);
    font-size: 14px;
}

.otp-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.otp-modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: var(--button-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.otp-verify-btn {
    background-color: var(--secondary-color);
    color: white;
}

.otp-verify-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.otp-back-btn {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.otp-back-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.otp-resend {
    text-align: center;
    margin-top: 15px;
    color: var(--text-secondary);
}

.otp-resend button {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    padding: 0;
    margin-left: 5px;
}

.otp-resend button:hover {
    color: #2980b9;
}

/* OTP Spam Notice Styling */
.otp-spam-notice {
    text-align: center;
    margin-top: 15px;
    padding: 12px 15px;
    background-color: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: top;
    justify-content: center;
    gap: 8px;
}

.otp-spam-notice i {
    color: red;
    font-size: 16px;
}

.otp-spam-notice span {
    line-height: 1.4;
}

