@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #64748b;
    --bg-body: #f1f5f9;
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-height: 90px;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow-premium: 0 10px 30px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --mobile-menu-width: 320px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-header: 1.25rem;
    --radius-btn: 10px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}

a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

ul {
    list-style: none;
}

/* Header Floating Design (Pill Shape) */
.site-header {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-premium);
    margin: 0 auto;
}

.header-container {
    width: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* Navigation Desktop - Centered style */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--header-link-color, #475569);
    padding: 0.5rem 0.25rem;
    position: relative;
}

.nav-link:hover {
    color: var(--header-text-color, var(--text-main));
    opacity: 0.8;
}

/* Actions - Right aligned square buttons */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-btn);
    background: var(--header-text-color, #f1f5f9);
    border: none !important;
    outline: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--header-icon-color, #64748b);
    font-size: 1.2rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

.header-btn i {
    text-decoration: none !important;
}

.header-btn:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    border: 2px solid white;
}

/* Side Menu (Right) */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: calc(-1 * var(--mobile-menu-width));
    width: var(--mobile-menu-width);
    height: 100vh;
    background: white;
    z-index: 2100;
    /* box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1); */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.side-menu-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

.mobile-menu-close {
    background: #f8fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-nav {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.mobile-nav-list li {
    margin-bottom: 0.5rem;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
}

.mobile-nav-list a:hover {
    background: #f8fafc;
    color: var(--primary);
}

/* Footer Premium */
.site-footer {
    background: #11111d;
    color: #8b9bb4;
    padding: 3rem 0 2rem;
    margin-top: 5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Footer Top Text */
.footer-top {
    text-align: center;
    color: #fff;
    font-weight: 600;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Categories Grid */
.footer-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 2rem;
    margin-bottom: 3rem;
}

.footer-category-column {
    break-inside: avoid;
}

.footer-category-title {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.footer-subcategories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-subcategories li {
    margin-bottom: 0.5rem;
}

.footer-subcategories a {
    color: #8b9bb4;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-subcategories a:hover {
    color: #fff;
}

/* Footer Links & Bottom */
.footer-links {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: #8b9bb4;
    text-decoration: none !important;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom,
.footer-copyright {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .header-nav {
        display: none;
    }

    .site-header {
        top: 0px;
        left: 0px;
        right: 0px;
        height: 70px;
    }

    .header-logo img {
        height: 40px;
    }
}

main {
    margin-top: calc(var(--header-height));
    min-height: 100vh;
}