:root {
    --sk-primary: #000000;
    --sk-secondary: #F8F8F8;
    --sk-accent: #FA0000;
    --sk-light: #FFFFFF;
    --sk-gray: #777777;
    --sk-dark: #1a1a1a;
    --sk-gradient: linear-gradient(135deg, #FA0000, #000000);
    --sk-light-gradient: linear-gradient(135deg, rgba(250, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--sk-secondary);
    color: var(--sk-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.98);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--sk-accent);
    margin-left: 4px;
}

.logo i {
    margin-right: 12px;
    color: var(--sk-accent);
    font-size: 2.4rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    position: relative;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
    font-size: 1.05rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--sk-gradient);
    transition: width 0.4s ease;
    border-radius: 2px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--sk-accent);
}

/* ===========================================
   Mobile Menu Toggle Button with Close Icon
   =========================================== */

/* Mobile Menu Button Container */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 170px !important;
}

/* Icons inside button */
.mobile-menu-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    line-height: 1;
}

/* Bars icon (hamburger) */
.mobile-menu-btn .fa-bars {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Times icon (close) */
.mobile-menu-btn .fa-times {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0) rotate(-180deg);
}

/* When menu is open - Button State */
.mobile-menu-btn.menu-open {
    background: var(--sk-accent);
    transform: rotate(180deg);
}

.mobile-menu-btn.menu-open .fa-bars {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0) rotate(90deg);
}

.mobile-menu-btn.menu-open .fa-times {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

/* Hover Effects */
.mobile-menu-btn:hover {
    background: var(--sk-accent);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(250, 0, 0, 0.3);
}

.mobile-menu-btn.menu-open:hover {
    transform: rotate(180deg) scale(1.05);
}

/* ===========================================
   Mobile Menu Styles
   =========================================== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Navigation Menu */
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(250, 0, 0, 0.15));
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 100px 0 60px;
        text-align: center;
        z-index: 998;
        margin: 0;
        overflow-y: auto;
    }

    /* Show menu */
    nav ul.show {
        display: flex;
        animation: slideInFromRight 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }

    /* Hide menu */
    nav ul.hide {
        animation: slideOutToRight 0.4s cubic-bezier(0.755, 0.05, 0.855, 0.06) forwards;
    }

    /* Menu Items */
    nav ul li {
        margin: 18px 0;
        width: 90%;
        max-width: 280px;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
    }

    /* Animate menu items when showing */
    nav ul.show li {
        opacity: 1;
        transform: translateX(0);
        animation: slideInItem 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    /* Stagger animation for menu items */
    nav ul.show li:nth-child(1) {
        animation-delay: 0.1s;
    }

    nav ul.show li:nth-child(2) {
        animation-delay: 0.15s;
    }

    nav ul.show li:nth-child(3) {
        animation-delay: 0.2s;
    }

    nav ul.show li:nth-child(4) {
        animation-delay: 0.25s;
    }

    nav ul.show li:nth-child(5) {
        animation-delay: 0.3s;
    }

    /* Menu Links */
    nav ul li a {
        font-size: 1.3rem;
        padding: 18px 30px;
        display: block;
        width: 100%;
        transition: all 0.4s ease;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: hidden;
    }

    nav ul li a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--sk-gradient);
        transition: all 0.5s ease;
        z-index: -1;
    }

    nav ul li a:hover::before,
    nav ul li a.active::before {
        left: 0;
    }

    nav ul li a:hover,
    nav ul li a.active {
        color: white;
        transform: translateX(10px);
        border-color: var(--sk-accent);
        box-shadow: 0 10px 25px rgba(250, 0, 0, 0.2);
    }

    /* Add a close button at the bottom of menu */
    .menu-close-btn {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        color: white;
        padding: 12px 40px;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }

    nav ul.show .menu-close-btn {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        animation: fadeInUp 0.6s ease 0.6s forwards;
    }

    .menu-close-btn:hover {
        background: var(--sk-accent);
        border-color: var(--sk-accent);
        transform: translateX(-50%) translateY(-3px);
        box-shadow: 0 10px 20px rgba(250, 0, 0, 0.3);
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay for backdrop */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 997;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ===========================================
   Animations
   =========================================== */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInItem {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 0, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(250, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(250, 0, 0, 0);
    }
}

/* ===========================================
   Responsive Adjustments
   =========================================== */
@media (max-width: 576px) {
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    nav ul {
        padding: 90px 0 50px;
    }

    nav ul li {
        margin: 15px 0;
        max-width: 250px;
    }

    nav ul li a {
        font-size: 1.2rem;
        padding: 16px 25px;
    }

    .menu-close-btn {
        padding: 10px 35px;
        font-size: 0.95rem;
    }

    .sk {
        width: 60px !important;
    }

    .sk-com {
        font-size: 25px;
    }
}

/* For very small screens */
@media (max-width: 375px) {
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    nav ul li a {
        font-size: 1.1rem;
        padding: 14px 22px;
    }
}

/* Dark/Light Mode Support */
@media (prefers-color-scheme: light) {
    .mobile-menu-btn {
        background: rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-btn:hover {
        background: var(--sk-accent);
    }
}

/* Enhanced Page Header */
.page-header {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/product/1.png') center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--sk-accent);
    border-radius: 3px;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 40px auto 0;
    font-weight: 300;
}

/* Enhanced Breadcrumb */
.breadcrumb {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--sk-gray);
}

.breadcrumb a {
    color: var(--sk-primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--sk-accent);
}

.breadcrumb span {
    margin: 0 10px;
}

/* Enhanced Products Section */
.products {
    padding: 100px 0;
    background-color: var(--sk-light);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sk-dark);
    position: relative;
}

.products-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--sk-gradient);
    border-radius: 3px;
}

.products-controls {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 12px 20px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    width: 300px;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--sk-light-gradient);
}

.search-box input:focus {
    border-color: var(--sk-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(250, 0, 0, 0.1);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sk-gray);
}

.filter-btn {
    background: var(--sk-gradient);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(250, 0, 0, 0.2);
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 0, 0, 0.3);
}

/* Enhanced Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--sk-gradient);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 240px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--sk-primary);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-info p {
    color: var(--sk-gray);
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
}

.price {
    color: var(--sk-accent);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 25px;
    display: block;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

.btn {
    display: inline-block;
    background: var(--sk-gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(250, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(250, 0, 0, 0.4);
}

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

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

/* Enhanced Product Categories */
.categories {
    padding: 80px 0;
    background-color: var(--sk-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 800;
    color: var(--sk-dark);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--sk-gradient);
    border-radius: 3px;
}

.section-title p {
    color: var(--sk-gray);
    max-width: 650px;
    margin: 35px auto 0;
    font-size: 1.15rem;
    line-height: 1.7;
}

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

.category-card {
    background-color: white;
    border-radius: 15px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--sk-gradient);
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}

.category-card:hover::before {
    height: 100%;
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-20px);
    color: white;
    box-shadow: 0 20px 50px rgba(250, 0, 0, 0.2);
}

.category-card:hover .category-icon {
    color: white;
    transform: scale(1.15) rotate(5deg);
}

.category-card:hover h3,
.category-card:hover p {
    color: white;
}

.category-icon {
    font-size: 4rem;
    color: var(--sk-accent);
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.category-card h3 {
    margin-bottom: 22px;
    font-size: 1.7rem;
    font-weight: 700;
    transition: color 0.5s ease;
}

.category-card p {
    color: var(--sk-gray);
    transition: color 0.5s ease;
    line-height: 1.7;
}

/* Enhanced Featured Products */
.featured-products {
    padding: 100px 0;
    background-color: var(--sk-light);
    position: relative;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sk-light-gradient);
    z-index: 0;
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Call to Action */
.cta {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/product/2.png') center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.cta p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: none;
}

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

/* Footer */
footer {
    background-color: var(--sk-dark);
    color: white;
    padding: 80px 0 25px;
    position: relative;
}

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

.footer-column h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--sk-gradient);
    border-radius: 2px;
}

.footer-column p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.05rem;
}

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

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.footer-column ul li a i {
    margin-right: 12px;
    font-size: 0.9rem;
    color: var(--sk-accent);
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(8px);
}

.footer-column ul li a:hover i {
    transform: scale(1.2);
}

.copyright {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.95rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--sk-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(250, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(250, 0, 0, 0.4);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--sk-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.sk-loader {
    width: 120px;
    height: 120px;
    position: relative;
}

.sk-logo {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--sk-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.sk-logo span {
    color: var(--sk-primary);
}

.loader-ring {
    width: 120px;
    height: 120px;
    border: 5px solid rgba(250, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: var(--sk-accent);
    animation: spin 1.5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
}

.loader-ring:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 10px;
    left: 10px;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: var(--sk-primary);
    animation: spin 1s linear infinite reverse;
}

.loader-ring:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    border: 5px solid rgba(250, 0, 0, 0.1);
    border-top-color: var(--sk-accent);
    animation: spin 0.5s linear infinite;
}

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

/* New Filter Panel */
.filter-panel {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.filter-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sk-dark);
}

.close-filter {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--sk-gray);
    transition: all 0.3s;
}

.close-filter:hover {
    color: var(--sk-accent);
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--sk-dark);
}

.filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-option input {
    margin-right: 10px;
}

.filter-option label {
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Product Counter */
.product-counter {
    margin-top: 20px;
    color: var(--sk-gray);
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .page-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-controls {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--sk-gradient);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        text-align: center;
        z-index: 999;
        transition: all 0.5s ease;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 20px 0;
    }

    nav ul li a {
        font-size: 1.3rem;
        padding: 12px 25px;
    }

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

    .page-header {
        padding: 150px 0 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .cta h2 {
        font-size: 2.5rem;
    }

    .cta p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-content {
        gap: 40px;
    }

    .filter-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .product-card,
    .category-card {
        padding: 25px;
    }

    .search-box input {
        width: 100%;
    }
}

/* Add these styles to your existing products.css file */

.stock-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.stock-status.in-stock {
    color: #198754;
}

.stock-status.low-stock {
    color: #ffc107;
}

.stock-status.out-of-stock {
    color: #dc3545;
}

.stock-qty {
    color: var(--sk-gray);
    font-size: 0.9rem;
}

.product-badge.popular {
    background: linear-gradient(135deg, #FF9800, #FF5722);
}

/* Modal styles */
.modal {
    animation: fadeIn 0.3s ease;
}

.modal-content {
    animation: slideIn 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--sk-accent);
    transform: scale(1.1);
}

.spec-item {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .stock-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .modal-content {
        padding: 20px;
    }
}

/* User Actions Styles */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

/* Cart Icon Styles */
.cart-icon-container {
    position: relative;
}

.cart-icon {
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    color: var(--sk-accent);
    background: rgba(250, 0, 0, 0.1);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--sk-gradient);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 0, 0, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(250, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 0, 0, 0);
    }
}

/* Login Button Styles */
.btn-login {
    background: var(--sk-gradient);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(250, 0, 0, 0.2);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(250, 0, 0, 0.3);
    color: white;
    text-decoration: none;
}

.btn-login i {
    font-size: 1rem;
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-toggle:hover {
    border-color: var(--sk-accent);
    background: rgba(250, 0, 0, 0.1);
}

.dropdown-toggle::after {
    margin-left: 8px;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    min-width: 220px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(250, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .user-actions {
        gap: 15px;
    }

    .btn-login {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .cart-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .user-actions {
        margin-left: 0;
        gap: 10px;
    }

    .user-name {
        display: none;
    }

    .dropdown-toggle {
        padding: 8px 15px;
    }

    .btn-login span {
        display: none;
    }

    .btn-login i {
        margin: 0;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .user-actions {
        position: absolute;
        right: 70px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 425px) {
    .mobile-menu-btn {
        margin-left: 130px !important;
    }

    .btn-login {
        margin-right: -20px !important;
    }
}

@media (max-width: 375px) {
    .mobile-menu-btn {
        margin-left: 105px !important;
    }

    .btn-login {
        margin-right: -25px !important;
    }

    .cart-icon {
        margin-right: -5px !important;
    }

    .sk-com {
        font-size: 22px !important;
    }
}