:root {
    --primary: #2bb673;
    --primary-dark: #249e61;
    --primary-light: #e8f9ef;
    --secondary: #1a8a56;
    --secondary-light: #f0fdf4;
    --dark: #222f3f;
    --darker: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --border: #e8e8e8;
    --bg-light: #f5f5f6;
    --bg-white: #fff;
    --red: #e84118;
    --orange: #f7941e;
    --blue: #00aeef;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
    --transition: 0.25s ease;
    --font: 'Rubik', -apple-system, sans-serif;
    --header-h: 68px;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.h-5px,
.size-5px {
    height: 5px;
}
.h-10px,
.size-10px {
    height: 10px;
}
.h-15px,
.size-15px {
    height: 15px;
}
.h-20px,
.size-20px {
    height: 20px;
}
.h-25px,
.size-25px {
    height: 25px;
}
.h-30px,
.size-30px {
    height: 30px;
}
.h-35px,
.size-35px {
    height: 35px;
}
.h-37px,
.size-37px {
    height: 37px;
}
.h-40px,
.size-40px {
    height: 40px;
}
.h-45px,
.size-45px {
    height: 45px;
}
.h-48px,
.size-48px {
    height: 48px;
}
.h-50px,
.size-50px {
    height: 50px;
}
.h-60px,
.size-60px {
    height: 60px;
}
.h-64px,
.size-64px {
    height: 64px;
}
.h-70px,
.size-70px {
    height: 70px;
}
.h-71px,
.size-70px {
    height: 70px;
}
.h-80px,
.size-80px {
    height: 80px;
}
.h-90px,
.size-90px {
    height: 90px;
}
.h-100px,
.size-100px {
    height: 100px;
}
.h-110px,
.size-110px {
    height: 110px;
}
.h-120px,
.size-120px {
    height: 120px;
}
.h-130px,
.size-130px {
    height: 130px;
}
.h-140px,
.size-140px {
    height: 140px;
}
.h-150px,
.size-150px {
    height: 150px;
}
.h-155px,
.size-155px {
    height: 155px;
}

.h-160px,
.size-160px {
    height: 160px;
}
.h-170px,
.size-170px {
    height: 170px;
}
.h-180px,
.size-180px {
    height: 180px;
}
.h-190px,
.size-190px {
    height: 190px;
}
.h-200px,
.size-200px {
    height: 200px;
}
.h-210px,
.size-210px {
    height: 210px;
}
.h-220px,
.size-220px {
    height: 220px;
}
.h-230px,
.size-230px {
    height: 230px;
}
.h-240px,
.size-240px {
    height: 240px;
}
.h-250px,
.size-250px {
    height: 250px;
}
.h-260px,
.size-260px {
    height: 260px;
}
.h-270px,
.size-270px {
    height: 270px;
}
.h-275px,
.size-275px {
    height: 275px;
}
.h-280px,
.size-280px {
    height: 280px;
}
.h-290px,
.size-290px {
    height: 290px;
}
.h-300px,
.size-300px {
    height: 300px;
}
.h-310px,
.size-310px {
    height: 310px;
}
.h-320px,
.size-320px {
    height: 320px;
}
@media(min-width: 1500px) {
     .h-xxl-300px,
    .size-xxl-300px {
        height: 300px;
    }
    .h-xxl-310px,
    .size-xxl-310px {
        height: 310px;
    }
    .h-xxl-320px,
    .size-xxl-320px {
        height: 320px;
    }
    .h-xxl-330px,
    .size-xxl-330px {
        height: 330px;
    }
    .h-xxl-340px,
    .size-xxl-340px {
        height: 340px;
    }
    .h-xxl-350px,
    .size-xxl-350px {
        height: 350px;
    }
    .h-xxl-360px,
    .size-xxl-360px {
        height: 360px;
    }
    .h-xxl-370px,
    .size-xxl-370px {
        height: 370px;
    }
    .h-xxl-380px,
    .size-xxl-380px {
        height: 380px;
    }
    .h-xxl-390px,
    .size-xxl-390px {
        height: 390px;
    }
    .h-xxl-400px,
    .size-xxl-400px {
        height: 400px;
    }
    .h-xxl-410px,
    .size-xxl-410px {
        height: 410px;
    }
    .h-xxl-420px,
    .size-xxl-420px {
        height: 420px;
    }
    .h-xxl-450px,
    .size-xxl-450px {
        height: 450px;
    }
    .h-xxl-460px,
    .size-xxl-460px {
        height: 460px;
    }
    .h-xxl-475px,
    .size-xxl-475px {
        height: 475px;
    }
    .h-xxl-485px,
    .size-xxl-485px {
        height: 485px;
    }
    .h-xxl-480px,
    .size-xxl-480px {
        height: 480px;
    }
    .h-xxl-490px,
    .size-xxl-490px {
        height: 490px;
    }
    .h-xxl-500px,
    .size-xxl-500px {
        height: 500px;
    }
    .h-xxl-550px,
    .size-xxl-550px {
        height: 550px;
    }
    .h-xxl-553px,
    .size-xxl-553px {
        height: 553px;
    }
    .h-xxl-556px,
    .size-xxl-556px {
        height: 556px;
    }
    .h-xxl-600px,
    .size-xxl-600px {
        height: 600px;
    }
    .h-xxl-650px,
    .size-xxl-650px {
        height: 650px;
    }
    .h-xxl-610px,
    .size-xxl-610px {
        height: 610px;
    }
    .h-xxl-640px,
    .size-xxl-640px {
        height: 640px;
    }
    .h-xxl-700px,
    .size-xxl-700px {
        height: 700px;
    }
    .h-xxl-750px,
    .size-xxl-750px {
        height: 750px;
    }
}


@media(min-width: 1200px) {
    .h-xl-300px,
    .size-xl-300px {
        height: 300px;
    }
    .h-xl-310px,
    .size-xl-310px {
        height: 310px;
    }
    .h-xl-320px,
    .size-xl-320px {
        height: 320px;
    }
    .h-xl-330px,
    .size-xl-330px {
        height: 330px;
    }
    .h-xl-340px,
    .size-xl-340px {
        height: 340px;
    }
    .h-xl-350px,
    .size-xl-350px {
        height: 350px;
    }
    .h-xl-360px,
    .size-xl-360px {
        height: 360px;
    }
    .h-xl-370px,
    .size-xl-370px {
        height: 370px;
    }
    .h-xl-380px,
    .size-xl-380px {
        height: 380px;
    }
    .h-xl-390px,
    .size-xl-390px {
        height: 390px;
    }
    .h-xl-400px,
    .size-xl-400px {
        height: 400px;
    }
    .h-xl-410px,
    .size-xl-410px {
        height: 410px;
    }
    .h-xl-420px,
    .size-xl-420px {
        height: 420px;
    }
    .h-xl-450px,
    .size-xl-450px {
        height: 450px;
    }
    .h-xl-460px,
    .size-xl-460px {
        height: 460px;
    }
    .h-xl-475px,
    .size-xl-475px {
        height: 475px;
    }
    .h-xl-480px,
    .size-xl-480px {
        height: 480px;
    }
    .h-xl-485px,
    .size-xl-485px {
        height: 485px;
    }
    .h-xl-490px,
    .size-xl-490px {
        height: 490px;
    }
    .h-xl-500px,
    .size-xl-500px {
        height: 500px;
    }
    .h-xl-553px,
    .size-xl-553px {
        height: 553px;
    }
    .h-xl-640px,
    .size-xl-640px {
        height: 640px;
    }
    .h-xl-750px,
    .size-xl-7500px {
        height: 750px;
    }
}

@media(min-width: 992px) {
     .h-lg-300px,
    .size-lg-300px {
        height: 300px;
    }
    .h-lg-310px,
    .size-lg-310px {
        height: 310px;
    }
    .h-lg-320px,
    .size-lg-320px {
        height: 320px;
    }
    .h-lg-330px,
    .size-lg-330px {
        height: 330px;
    }
    .h-lg-340px,
    .size-lg-340px {
        height: 340px;
    }
    .h-lg-350px,
    .size-lg-350px {
        height: 350px;
    }
    .h-lg-360px,
    .size-lg-360px {
        height: 360px;
    }
    .h-lg-370px,
    .size-lg-370px {
        height: 370px;
    }
    .h-lg-375px,
    .size-lg-375px {
        height: 375px;
    }
    .h-lg-380px,
    .size-lg-380px {
        height: 380px;
    }
    .h-lg-390px,
    .size-lg-390px {
        height: 390px;
    }
    .h-lg-400px,
    .size-lg-400px {
        height: 400px;
    }
    .h-lg-410px,
    .size-lg-410px {
        height: 410px;
    }
    .h-lg-420px,
    .size-lg-420px {
        height: 420px;
    }
    .h-lg-450px,
    .size-lg-450px {
        height: 450px;
    }
    .h-lg-460px,
    .size-lg-460px {
        height: 460px;
    }
    .h-lg-475px,
    .size-lg-475px {
        height: 475px;
    }
    .h-lg-485px,
    .size-lg-485px {
        height: 485px;
    }
    .h-lg-490px,
    .size-lg-490px {
        height: 490px;
    }
    .h-lg-500px,
    .size-lg-500px {
        height: 500px;
    }
    .h-lg-553px,
    .size-lg-553px {
        height: 553px;
    }
    .h-lg-640px,
    .size-lg-640px {
        height: 640px;
    }
    .h-lg-650px,
    .size-lg-650px {
        height: 650px;
    }
    .h-lg-800px,
    .size-lg-800px {
        height: 820px;
    }
}
@media(min-width: 768px) {
    .h-md-300px,
    .size-md-300px {
        height: 300px;
    }
    .h-md-310px,
    .size-md-310px {
        height: 310px;
    }
    .h-md-320px,
    .size-md-320px {
        height: 320px;
    }
    .h-md-330px,
    .size-md-330px {
        height: 330px;
    }
    .h-md-340px,
    .size-md-340px {
        height: 340px;
    }
    .h-md-350px,
    .size-md-350px {
        height: 350px;
    }
    .h-md-360px,
    .size-md-360px {
        height: 360px;
    }
    .h-md-370px,
    .size-md-370px {
        height: 370px;
    }
    .h-md-380px,
    .size-md-380px {
        height: 380px;
    }
    .h-md-390px,
    .size-md-390px {
        height: 390px;
    }
    .h-md-400px,
    .size-md-400px {
        height: 400px;
    }
    .h-md-410px,
    .size-md-410px {
        height: 410px;
    }
    .h-md-420px,
    .size-md-420px {
        height: 420px;
    }
    .h-md-450px,
    .size-md-450px {
        height: 450px;
    }
    .h-md-460px,
    .size-md-460px {
        height: 460px;
    }
    .h-md-475px,
    .size-md-475px {
        height: 475px;
    }
    .h-md-485px,
    .size-md-485px {
        height: 485px;
    }
    .h-md-490px,
    .size-md-490px {
        height: 490px;
    }
    .h-md-500px,
    .size-md-500px {
        height: 500px;
    }
    .h-md-553px,
    .size-md-553px {
        height: 553px;
    }
    .h-md-570px {
        height: 570px;
    }
    .h-md-600px {
        height: 600px;
    }
    .h-md-640px,
    .size-md-640px {
        height: 640px;
    }
    .h-md-800px,
    .size-md-800px {
        height: 820px;
    }
}
a { color: inherit; transition: var(--transition); }
a:hover { text-decoration: none; color: var(--primary); }
img { max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* Custom Container Sizes - Mobile First Approach */

/* Extra small devices (phones, < 576px) */
.container, 
.container-sm, 
.container-md, 
.container-lg, 
.container-xl, 
.container-xxl {
    width: 100%;
    padding-right: 25px;
    padding-left: 25px;
    margin-right: auto;
    margin-left: auto;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container, 
    .container-sm {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container, 
    .container-md, 
    .container-sm {
        max-width: 720px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm {
        max-width: 960px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container, 
    .container-xl, 
    .container-lg, 
    .container-md, 
    .container-sm {
        max-width: 1200px; /* Changed from 1140px to 1200px for better spacing */
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container, 
    .container-xxl, 
    .container-xl, 
    .container-lg, 
    .container-md, 
    .container-sm {
        max-width: 1800px;
    }
}

/* ===== DESKTOP HEADER (fabrilife/myntra style) ===== */
.desktop-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; background: var(--bg-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: var(--header-h);
}
.desktop-header-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; height: 100%; padding: 0 20px;
}
.header-logo { flex-shrink: 0; margin-right: 40px; }
.header-logo a { display: flex; align-items: center; }
.header-logo img { height: 32px; }

.header-nav-main { flex: 1; display: flex; align-items: center; }
.nav-category-list { display: flex; height: var(--header-h); align-items: center; }
.nav-category-item {
    position: relative; height: 100%; display: flex; align-items: center;
}
.nav-category-link {
    display: flex; align-items: center; padding: 0 18px; height: 100%;
    font-size: 13px; font-weight: 500; color: var(--dark);
    text-transform: uppercase; letter-spacing: 0.5px;
    cursor: pointer; transition: color var(--transition);
    border-bottom: 3px solid transparent;
}
.nav-category-link:hover { color: var(--primary); border-bottom-color: var(--primary); }

.header-actions {
    display: flex; align-items: center; gap: 2px; flex-shrink: 0;
}
.header-action {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; position: relative; color: var(--dark);
    cursor: pointer; transition: var(--transition); font-size: 18px;
    border-radius: 50%;
}
.header-action:hover { background: var(--bg-light); color: var(--primary); }
.action-badge {
    position: absolute; top: 3px; right: 3px;
    background: var(--red); color: #fff; font-size: 9px;
    padding: 2px 5px; border-radius: 50%; min-width: 17px;
    text-align: center; font-weight: 700; line-height: 13px;
}
.header-search-desktop {
    position: relative; margin-right: 8px;
}
.header-search-desktop .search-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: none; background: none;
    font-size: 18px; color: var(--dark); cursor: pointer; border-radius: 50%;
    transition: var(--transition);
}
.header-search-desktop .search-toggle:hover { background: var(--bg-light); color: var(--primary); }
.header-search-desktop .search-dropdown {
    position: absolute; top: 100%; right: 0; width: 320px;
    background: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 16px; display: none; z-index: 100;
}
.header-search-desktop .search-dropdown.open { display: block; }
.header-search-desktop .search-dropdown input {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 6px; font-size: 14px; outline: none;
}
.header-search-desktop .search-dropdown input:focus { border-color: var(--primary); }

/* Account dropdown */
.account-dropdown { position: relative; }
.account-dropdown .account-menu {
    position: absolute; top: 100%; right: 0; min-width: 200px;
    background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 8px; padding: 8px 0; z-index: 100;
    display: none; overflow: hidden;
}
.account-dropdown:hover .account-menu { display: block; }
.account-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 18px; font-size: 13px; color: var(--text);
    transition: var(--transition);
}
.account-menu a:hover { background: var(--bg-light); color: var(--primary); }
.account-menu a i { width: 18px; font-size: 14px; color: var(--text-lighter); }
.account-menu .divider { height: 1px; background: var(--border); margin: 4px 0; }

/* Desktop mega menu */
.mega-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--bg-white); box-shadow: var(--shadow-hover);
    border-radius: 0 0 8px 8px; padding: 30px; min-width: 700px;
    opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 100;
}
.nav-category-item:hover .mega-menu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-menu-inner { display: flex; gap: 40px; }
.mega-menu-categories { flex: 1; display: flex; gap: 40px; }
.mega-col { min-width: 140px; }
.mega-col h4 {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    color: var(--text-lighter); margin-bottom: 15px; letter-spacing: 1px;
}
.mega-col ul li { margin-bottom: 8px; }
.mega-col ul li a { font-size: 13px; color: var(--text-light); transition: var(--transition); }
.mega-col ul li a:hover { color: var(--primary); padding-left: 3px; }

/* ===== MOBILE TOP NAV ===== */
.mobile-top-nav {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    height: 56px; background: var(--bg-white); z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    justify-content: space-between; align-items: center; padding: 0 12px;
}
.top-nav-left, .top-nav-right { display: flex; align-items: center; gap: 4px; }
.top-nav-center { position: absolute; left: 50%; transform: translateX(-50%); }
.top-nav-logo img { height: 26px; }
.top-nav-btn {
    width: 40px; height: 40px; display: flex; align-items: center;
    justify-content: center; border: none; background: none;
    font-size: 20px; color: var(--dark); cursor: pointer; border-radius: 50%;
}
.top-nav-btn:hover { background: var(--bg-light); }
.top-nav-btn { position: relative; }
.wishlist-badge {
    position: absolute; top: 4px; right: 4px;
    background: var(--red); color: #fff; font-size: 8px;
    padding: 2px 5px; border-radius: 50%; min-width: 15px;
    text-align: center; font-weight: 700; line-height: 11px;
}

/* ===== MOBILE SEARCH MODAL ===== */
.mobile-search-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    height: 100%; background: var(--bg-white); z-index: 2000;
    flex-direction: column;
}
.mobile-search-modal.open { display: flex; }
.search-modal-header {
    display: flex; align-items: center; padding: 10px 12px;
    border-bottom: 1px solid var(--border); gap: 10px;
}
.search-modal-back { border: none; background: none; font-size: 20px; cursor: pointer; padding: 4px; color: var(--dark); }
.search-input-wrapper {
    flex: 1; display: flex; align-items: center;
    background: var(--bg-light); border-radius: 8px; padding: 0 12px;
}
.search-input-wrapper .search-icon { color: var(--text-lighter); font-size: 16px; margin-right: 8px; }
.search-input-wrapper input {
    flex: 1; border: none; background: transparent; padding: 10px 0;
    font-size: 14px; outline: none;
}
.search-clear-btn { border: none; background: none; color: var(--text-lighter); cursor: pointer; }
.search-suggestions { flex: 1; overflow-y: auto; padding: 16px; }
.search-section { margin-bottom: 20px; }
.search-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.search-section-header span { font-size: 13px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }
.clear-recent { border: none; background: none; font-size: 12px; color: var(--primary); cursor: pointer; }
.search-section-items { display: flex; flex-wrap: wrap; gap: 8px; }
.search-tag {
    display: inline-block; padding: 6px 14px; background: var(--bg-light);
    border-radius: 20px; font-size: 13px; color: var(--text-light);
    transition: var(--transition);
}
.search-tag:hover { background: var(--primary-light); color: var(--primary); }

/* ===== MOBILE SIDE MENU ===== */
.mobile-side-menu {
    display: none; position: fixed; top: 0; left: -300px; width: 300px;
    height: 100%; background: var(--bg-white); z-index: 2001;
    transition: left 0.3s ease; flex-direction: column;
}
.mobile-side-menu.open { left: 0; }
.side-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px; border-bottom: 1px solid var(--border);
}
.guest-greeting .welcome-text { display: block; font-size: 14px; font-weight: 600; }
.guest-greeting .auth-buttons { display: flex; gap: 8px; margin-top: 6px; }
.btn-login, .btn-register {
    padding: 4px 14px; border-radius: 4px; font-size: 12px;
    font-weight: 500; transition: var(--transition);
}
.btn-login { background: var(--primary); color: #fff; }
.btn-login:hover { background: var(--primary-dark); color: #fff; }
.btn-register { border: 1px solid var(--border); color: var(--text); }
.btn-register:hover { border-color: var(--primary); color: var(--primary); }
.user-greeting .welcome-text { font-size: 14px; font-weight: 600; }
.user-greeting .orders-link { font-size: 12px; color: var(--primary); }
.side-menu-close { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--text-lighter); }
.side-menu-content { flex: 1; overflow-y: auto; }
.side-menu-section { padding: 12px 16px; }
.side-menu-section-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-lighter); margin-bottom: 10px; }
.side-menu-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; font-size: 14px; color: var(--text);
    transition: var(--transition);
}
.side-menu-item:hover { color: var(--primary); }
.side-menu-item i { width: 20px; font-size: 16px; color: var(--text-lighter); }
.side-menu-item.highlight { color: var(--primary); }
.side-menu-item .chevron { margin-left: auto; font-size: 12px; color: var(--text-lighter); }
.side-menu-divider { height: 1px; background: var(--border); margin: 4px 0; }

.side-menu-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%;
    height: 100%; background: rgba(0,0,0,0.5); z-index: 2000;
}
.side-menu-overlay.open { display: block; }

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    height: 60px; background: var(--bg-white); z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    justify-content: space-around; align-items: center; padding: 0 4px;
}
.bottom-nav-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; padding: 6px 12px;
    border: none; background: none; cursor: pointer; color: var(--text-lighter);
    transition: var(--transition); position: relative;
}
.bottom-nav-item.active, .bottom-nav-item:hover { color: var(--primary); }
.bottom-nav-item .nav-icon { width: 22px; height: 22px; }
.bottom-nav-item .nav-icon svg { width: 100%; height: 100%; }
.bottom-nav-item .nav-label { font-size: 10px; font-weight: 500; }
.cart-icon-wrapper { position: relative; }
.cart-badge {
    position: absolute; top: -6px; right: -8px;
    background: var(--red); color: #fff; font-size: 8px;
    padding: 2px 5px; border-radius: 50%; min-width: 15px;
    text-align: center; font-weight: 700; line-height: 11px;
}

/* ===== MOBILE MEGA MENU ===== */
.mobile-mega-menu { display: none; }
.mega-menu-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 2002; display: none;
}
.mega-menu-backdrop.open { display: block; }
.mega-menu-container {
    position: fixed; bottom: 0; left: 0; width: 100%;
    max-height: 85vh; background: var(--bg-white); z-index: 2003;
    border-radius: 16px 16px 0 0; transform: translateY(100%);
    transition: transform 0.3s ease; display: flex; flex-direction: column;
}
.mega-menu-container.open { transform: translateY(0); }
.mega-menu-handle { display: flex; justify-content: center; padding: 10px 0 4px; }
.handle-bar { width: 36px; height: 4px; background: var(--border); border-radius: 2px; }
.mega-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 16px 12px; border-bottom: 1px solid var(--border);
}
.mega-menu-title { font-size: 16px; font-weight: 600; margin: 0; }
.mega-menu-close { border: none; background: none; font-size: 20px; cursor: pointer; color: var(--text-lighter); }
.mega-menu-content { flex: 1; overflow-y: auto; padding: 12px 0; }
.mega-menu-section { padding: 0 16px; }
.mega-menu-section .section-title {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--text-lighter); margin-bottom: 12px;
}
.mega-menu-view { display: block; }
.category-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #f0f0f0;
    cursor: pointer; transition: var(--transition); width: 100%;
    border: none; background: none; text-align: left; font-size: 14px;
}
.category-item:last-child { border-bottom: none; }
.category-item:hover { color: var(--primary); }
.category-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.category-icon.mens { background: #4a90d9; }
.category-icon.womens { background: #e87d9b; }
.category-icon.kids { background: #6cbf6c; }
.category-icon.teens { background: #9b6b99; }
.category-icon.sports { background: #f5a623; }
.category-icon.all { background: var(--primary); }
.category-info { flex: 1; }
.category-name { display: block; font-weight: 500; color: var(--text); }
.category-count { display: block; font-size: 11px; color: var(--text-lighter); margin-top: 2px; }
.quick-links { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.quick-link-card {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: var(--bg-light); border-radius: 8px;
    font-size: 12px; font-weight: 500; transition: var(--transition);
}
.quick-link-card:hover { background: var(--primary-light); color: var(--primary); }
.quick-link-card i { font-size: 14px; }

.back-to-main {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border: none; background: var(--bg-light);
    width: 100%; text-align: left; font-size: 14px; font-weight: 500;
    cursor: pointer; transition: var(--transition);
}
.back-to-main:hover { background: var(--border); }
.subcategory-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px;
}
.subcategory-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 8px; background: var(--bg-light); border-radius: 8px;
    font-size: 11px; font-weight: 500; text-align: center;
    transition: var(--transition);
}
.subcategory-card:hover { background: var(--primary-light); color: var(--primary); }
.subcat-initial {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--border); display: flex; align-items: center;
    justify-content: center; font-size: 13px; font-weight: 600;
}

/* ===== HERO ===== */
.hero-section { margin-bottom: 0; }
.hero-slider-wrap { position: relative; }
.hero-slide {
    height: 480px; display: flex !important; align-items: center;
    background-size: cover; background-position: center;
}
.hero-content { max-width: 500px; padding: 40px; }
.hero-content h1 {
    font-size: 48px; font-weight: 700; color: #fff;
    margin-bottom: 12px; line-height: 1.1; text-transform: uppercase;
}
.hero-content p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 25px; line-height: 1.6; }
.btn-hero {
    display: inline-block; padding: 14px 36px; background: var(--primary);
    color: #fff !important; font-weight: 600; font-size: 14px;
    border-radius: 4px; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 1px;
}
.btn-hero:hover { background: var(--primary-dark); color: #fff !important; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(43,182,115,0.3); }
.hero-section .slick-dots { bottom: 25px; }
.hero-section .slick-dots li { margin: 0 3px; }
.hero-section .slick-dots li button:before { color: #fff; opacity: 0.4; font-size: 12px; }
.hero-section .slick-dots li.slick-active button:before { opacity: 1; color: var(--primary); }
.hero-section .slick-dots li button:hover:before { opacity: 0.8; }

/* ===== CATEGORY STRIP ===== */
.category-strip { padding: 40px 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
    display: block; text-align: center; padding: 28px 16px;
    border: 1px solid var(--border); border-radius: 8px;
    transition: var(--transition); background: var(--bg-white);
}
.category-card:hover {
    border-color: var(--primary); box-shadow: 0 4px 20px rgba(43,182,115,0.1);
    transform: translateY(-3px);
}
.category-card-icon {
    width: 60px; height: 60px; margin: 0 auto 12px;
    background: var(--primary-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; color: var(--primary);
}
.category-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.category-card p { font-size: 12px; color: var(--text-lighter); margin: 0; }

/* ===== SECTION HEADERS ===== */
.section-wrap { padding: 50px 0; }
.section-alt { background: var(--bg-light); }
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px;
}
.section-header h2 {
    font-size: 22px; font-weight: 700; letter-spacing: 0.3px;
    position: relative;
}
.section-header h2:after {
    content: ''; display: block; width: 36px; height: 3px;
    background: var(--primary); margin-top: 6px; border-radius: 2px;
}
.view-all-link { font-size: 13px; color: var(--primary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.view-all-link i { font-size: 11px; margin-left: 4px; transition: var(--transition); }
.view-all-link:hover i { transform: translateX(3px); }

/* ===== PRODUCT CARD ===== */
.product-card-wrap { padding: 6px; }
.product-card {
    background: var(--bg-white); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden; transition: var(--transition); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-hover); border-color: transparent; transform: translateY(-2px); }
.product-card-link { display: block; }
.product-card-image {
    position: relative; overflow: hidden; background: var(--bg-light);
    aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center;
}
.product-card-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.05); }
.product-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
}
.sale-badge {
    background: var(--red); color: #fff; padding: 3px 10px;
    font-size: 11px; font-weight: 600; border-radius: 3px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.product-card-wishlist {
    position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
    background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px; color: var(--text-lighter);
    transition: var(--transition); opacity: 0; transform: translateX(10px);
}
.product-card:hover .product-card-wishlist { opacity: 1; transform: translateX(0); }
.product-card-wishlist:hover { background: #fff0f3; color: #ff3f6c; }
.product-card-wishlist.active { background: #fff0f3; color: #ff3f6c; opacity: 1; transform: translateX(0); }

.product-card-info { padding: 12px 14px 14px; }
.product-card-name {
    font-size: 13px; font-weight: 400; color: var(--text);
    line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px;
}
.product-card-price { display: flex; align-items: center; gap: 6px; }
.price-current { font-size: 14px; font-weight: 600; color: var(--dark); }
.price-old { font-size: 12px; color: var(--text-lighter); text-decoration: line-through; }
.price-discount { font-size: 11px; color: var(--red); font-weight: 500; }

.product-card-actions { padding: 0 14px 14px; }
.btn-quick-add {
    width: 100%; padding: 10px; background: var(--primary); color: #fff;
    border: none; border-radius: 4px; font-size: 13px; font-weight: 500;
    cursor: pointer; transition: var(--transition);
    opacity: 0; transform: translateY(5px); text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card:hover .btn-quick-add { opacity: 1; transform: translateY(0); }
.btn-quick-add:hover { background: var(--primary-dark); }

/* Product slider arrows */
.product-slider { margin: 0 -6px; }
.product-slider .slick-prev, .product-slider .slick-next {
    width: 38px; height: 38px; background: var(--bg-white) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 50%;
    z-index: 10; opacity: 0; transition: var(--transition);
}
.product-slider:hover .slick-prev, .product-slider:hover .slick-next { opacity: 1; }
.product-slider .slick-prev { left: -10px; }
.product-slider .slick-next { right: -10px; }
.product-slider .slick-prev:before, .product-slider .slick-next:before {
    font-family: FontAwesome; color: var(--dark); font-size: 16px; opacity: 0.8;
}
.product-slider .slick-prev:before { content: "\f053"; }
.product-slider .slick-next:before { content: "\f054"; }

/* ===== BRAND STORY ===== */
.brand-story-section { padding: 60px 0; background: var(--bg-white); }
.brand-content h2 {
    font-size: 30px; font-weight: 700; margin-bottom: 16px; line-height: 1.3;
}
.brand-content p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.brand-features { display: flex; gap: 20px; margin-top: 25px; flex-wrap: wrap; }
.brand-feature {
    text-align: center; padding: 14px 18px; background: var(--bg-light);
    border-radius: 8px; flex: 1; min-width: 100px;
}
.brand-feature i { font-size: 24px; color: var(--primary); display: block; margin-bottom: 6px; }
.brand-feature span { font-size: 12px; font-weight: 500; color: var(--text-light); }

/* ===== QUALITY STRIP (Our Promise) ===== */
.quality-strip { padding: 50px 0; background: var(--bg-white); border-top: 1px solid var(--border); }
.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.quality-item { text-align: center; padding: 20px; }
.quality-item i { font-size: 32px; color: var(--primary); display: block; margin-bottom: 12px; }
.quality-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; color: var(--dark); }
.quality-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
    .quality-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ===== FEATURES BAR ===== */
.features-bar { padding: 35px 0; background: var(--dark); }
.feature-item { text-align: center; color: #fff; padding: 10px; }
.feature-item i { font-size: 28px; color: var(--primary); display: block; margin-bottom: 6px; }
.feature-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.feature-item p { font-size: 12px; color: rgba(255,255,255,0.6); margin: 0; }

/* ===== FOOTER ===== */
.footer-newsletter { background: var(--primary); padding: 36px 0; color: #fff; }
.footer-newsletter h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.footer-newsletter p { opacity: 0.85; font-size: 13px; margin: 0; }
.newsletter-form .input-group { max-width: 460px; }
.newsletter-form .form-control {
    padding: 11px 18px; border: none; border-radius: 4px 0 0 4px;
    font-size: 14px; height: auto;
}
.btn-subscribe {
    background: var(--dark); color: #fff; border: none;
    padding: 11px 26px; font-weight: 600; font-size: 13px;
    text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 0 4px 4px 0; cursor: pointer; transition: var(--transition);
}
.btn-subscribe:hover { background: var(--darker); color: #fff; }

.footer-main { background: var(--darker); color: #bbb; padding: 45px 0 25px; }
.footer-widget { margin-bottom: 30px; }
.footer-widget h4 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-widget p { font-size: 13px; line-height: 1.8; color: #999; }
.footer-social { margin-top: 12px; }
.footer-social a {
    display: inline-flex; width: 32px; height: 32px;
    align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); border-radius: 50%;
    margin-right: 4px; color: #999; font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { font-size: 13px; color: #999; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 3px; }
.footer-contact li { margin-bottom: 8px; font-size: 13px; color: #bbb; display: flex; gap: 8px; }
.footer-contact li i { width: 16px; color: var(--primary); margin-top: 3px; }
.footer-apps p { font-size: 12px; color: #999; margin-bottom: 8px; }
.app-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: rgba(255,255,255,0.08);
    border-radius: 4px; color: #ddd; font-size: 12px;
    margin-right: 4px; margin-bottom: 4px; transition: var(--transition);
}
.app-badge:hover { background: var(--primary); color: #fff; }
.app-badge img { height: 16px; }
.footer-bottom { background: #0d0d1a; padding: 14px 0; color: #777; font-size: 12px; }
.footer-bottom p { margin: 0; }
.payment-icons { max-height: 20px; }

/* ===== SHOP PAGE ===== */
.shop-page { padding: 30px 0; }
.shop-sidebar { position: sticky; top: 88px; }
.sidebar-widget { margin-bottom: 25px; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.sidebar-widget h4 {
    font-size: 13px; font-weight: 600; margin-bottom: 14px;
    padding-bottom: 10px; border-bottom: 2px solid var(--primary);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.category-list li { margin-bottom: 2px; }
.category-list > li > a {
    display: block; padding: 6px 12px; font-size: 13px;
    color: var(--text-light); border-radius: 4px; transition: var(--transition);
}
.category-list > li > a:hover { background: var(--primary-light); color: var(--primary); }
.category-list > li.active > a { background: var(--primary); color: #fff; font-weight: 500; }
.sub-categories { padding-left: 14px; margin-top: 2px; }
.sub-categories li { margin-bottom: 1px; }
.sub-categories li a { padding: 4px 10px; font-size: 12px; color: var(--text-lighter); display: block; border-radius: 3px; }
.sub-categories li a:hover { background: var(--bg-light); color: var(--primary); }

.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.shop-breadcrumb h1 { font-size: 18px; font-weight: 700; margin: 0; }
.shop-breadcrumb p { font-size: 13px; color: var(--text-lighter); margin: 2px 0 0; }
.shop-sort select { font-size: 13px; border: 1px solid var(--border); padding: 6px 12px; border-radius: 4px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: var(--transition); }
.product-grid-item:hover { box-shadow: var(--shadow-hover); }

.pagination-wrap { margin-top: 30px; text-align: center; }
.pagination-wrap .pagination { justify-content: center; }
.page-link { color: var(--text); border-color: var(--border); font-size: 14px; padding: 8px 14px; }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.page-link:hover { color: var(--primary); }

/* ===== PRODUCT DETAIL ===== */
.product-detail-section { padding: 30px 0; }
.breadcrumb { background: none; padding: 10px 0; font-size: 12px; color: var(--text-lighter); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .active { color: var(--text); }

.product-gallery { position: sticky; top: 88px; }
.main-image {
    position: relative; background: var(--bg-light);
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 12px;
}
.product-main-img { width: 100%; height: auto; min-height: 400px; object-fit: contain; }
.thumbnail-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb-item {
    flex: 0 0 70px; width: 70px; height: 70px;
    border: 2px solid var(--border); border-radius: 4px;
    cursor: pointer; overflow: hidden; transition: var(--transition);
}
.thumb-item.active { border-color: var(--primary); }
.thumb-item:hover { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }

.product-info-card { padding-left: 10px; }
.product-brand { font-size: 11px; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-name-lg { font-size: 20px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }

.price-section { margin-bottom: 18px; }
.price-current-lg { font-size: 24px; font-weight: 700; color: var(--dark); }
.price-old-lg { font-size: 15px; color: var(--text-lighter); text-decoration: line-through; margin-left: 8px; }
.price-off-badge { display: inline-block; font-size: 12px; color: var(--red); font-weight: 600; margin-left: 8px; padding: 2px 8px; background: #fff0f0; border-radius: 3px; }
.price-tax-note { font-size: 12px; color: var(--text-lighter); margin-top: 4px; }

.color-selector { margin-bottom: 16px; }
.selector-label { font-size: 13px; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid var(--border); cursor: pointer;
    transition: all 0.2s; outline: none; padding: 0; position: relative;
}
.color-swatch.selected { border-color: var(--primary); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.color-swatch:hover { transform: scale(1.1); }

.size-selector { margin-bottom: 16px; }
.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    min-width: 46px; padding: 7px 12px; border: 2px solid var(--border);
    background: var(--bg-white); border-radius: 4px; font-size: 13px;
    font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--text);
}
.size-btn:hover { border-color: var(--primary); color: var(--primary); }
.size-btn.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
.size-btn.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }

.quantity-block { margin-bottom: 18px; }
.quantity-block label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 8px; }
.qty-controls { display: flex; align-items: center; width: 110px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.qty-btn {
    width: 34px; height: 36px; background: var(--bg-light);
    border: none; font-size: 16px; cursor: pointer; transition: var(--transition); color: var(--text);
}
.qty-btn:hover { background: var(--border); }
.qty-input {
    width: 42px; height: 36px; text-align: center; border: none;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    font-size: 14px; font-weight: 500;
}

.add-to-cart-section { margin-bottom: 18px; display: flex; gap: 10px; }
.btn-add-to-cart {
    flex: 1; padding: 13px 24px; background: var(--primary); color: #fff;
    border: none; border-radius: 4px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-add-to-cart:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(43,182,115,0.3); }
.btn-wishlist-lg {
    width: 48px; padding: 13px 0; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: 4px; cursor: pointer;
    font-size: 18px; color: var(--text-lighter); transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.btn-wishlist-lg:hover { border-color: #ff3f6c; color: #ff3f6c; }
.btn-wishlist-lg.active { border-color: #ff3f6c; color: #ff3f6c; background: #fff0f3; }

.delivery-info { border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-bottom: 18px; }
.delivery-info-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--text-light); }
.delivery-info-item i { color: var(--primary); width: 18px; font-size: 14px; }

.product-description-card { padding: 18px 0; }
.product-description-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.product-description-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.related-section { padding: 40px 0; background: var(--bg-light); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== CHECKOUT ===== */
.checkout-page { padding: 30px 0; background: var(--bg-light); min-height: 60vh; }
.checkout-title { font-size: 20px; font-weight: 700; margin-bottom: 25px; }
.checkout-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 20px; }
.checkout-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.checkout-card .form-group { margin-bottom: 16px; }
.checkout-card label { font-size: 13px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.checkout-card .form-control {
    padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 4px; font-size: 14px; transition: var(--transition);
}
.checkout-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,182,115,0.12); }

.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-method { border: 2px solid var(--border); border-radius: 8px; padding: 14px 18px; cursor: pointer; transition: var(--transition); }
.payment-method.active { border-color: var(--primary); background: var(--primary-light); }
.payment-method input[type="radio"] { display: none; }
.payment-method-content { display: flex; align-items: center; gap: 12px; }
.payment-method-content i { font-size: 20px; color: var(--primary); }
.payment-method-content strong { font-size: 14px; }
.payment-method-content small { display: block; color: var(--text-lighter); font-size: 12px; }

.order-summary-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.order-summary-item img { width: 54px; height: 68px; object-fit: cover; border-radius: 4px; }
.summary-item-details { flex: 1; }
.summary-item-name { font-size: 13px; font-weight: 500; }
.summary-item-meta { font-size: 11px; color: var(--text-lighter); }
.summary-item-price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.total-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; }
.total-row .free { color: var(--primary); font-weight: 500; }
.total-row.grand-total { font-weight: 700; font-size: 16px; border-top: 2px solid var(--dark); padding-top: 10px; margin-top: 7px; }
.btn-place-order {
    width: 100%; padding: 14px; background: var(--primary); color: #fff;
    border: none; border-radius: 4px; font-size: 15px; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-place-order:hover { background: var(--primary-dark); box-shadow: 0 4px 15px rgba(43,182,115,0.3); }
.secure-checkout-note { text-align: center; font-size: 12px; color: var(--text-lighter); margin-top: 10px; }
.secure-checkout-note i { color: var(--primary); }

.guest-checkout-banner {
    background: var(--primary-light); border: 1px solid var(--primary);
    border-radius: 8px; padding: 14px 18px; margin-bottom: 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.guest-checkout-banner p { margin: 0; font-size: 13px; color: var(--text); }
.guest-checkout-banner p i { color: var(--primary); }
.guest-checkout-banner a { font-size: 13px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.guest-checkout-banner a:hover { text-decoration: underline; }

/* ===== CART PAGE ===== */
.cart-page { padding: 30px 0; min-height: 400px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
    background: var(--bg-light); padding: 12px 16px; text-align: left;
    font-size: 13px; font-weight: 600; border-bottom: 2px solid var(--border);
    text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light);
}
.cart-table td { padding: 16px; vertical-align: middle; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-product { display: flex; align-items: center; gap: 12px; }
.cart-product-img { width: 60px; height: 80px; object-fit: cover; border-radius: 4px; }
.cart-product-name { font-weight: 500; font-size: 14px; color: var(--text); }
.cart-qty { display: flex; align-items: center; width: 90px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.cart-qty-btn { width: 28px; height: 32px; border: none; background: var(--bg-light); cursor: pointer; font-size: 14px; }
.cart-qty-btn:hover { background: var(--border); }
.cart-qty-input { width: 34px; height: 32px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 13px; }
.cart-remove { background: none; border: none; color: var(--text-lighter); cursor: pointer; font-size: 16px; }
.cart-remove:hover { color: var(--red); }
.cart-summary { margin-top: 25px; max-width: 360px; margin-left: auto; padding: 20px; border: 1px solid var(--border); border-radius: 8px; }

/* ===== AUTH ===== */
.auth-section { padding: 40px 0; min-height: 500px; display: flex; align-items: center; }
.auth-container { display: flex; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 30px rgba(0,0,0,0.06); min-height: 480px; width: 100%; }
.auth-form-side { flex: 1; padding: 40px; display: flex; align-items: center; justify-content: center; }
.auth-form-wrap { max-width: 400px; width: 100%; }
.auth-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-subtitle { color: var(--text-lighter); font-size: 14px; margin-bottom: 24px; }
.auth-form .form-control { padding: 11px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; }
.auth-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(43,182,115,0.12); }
.auth-form .btn-primary { padding: 12px; background: var(--primary); border: none; border-radius: 4px; font-weight: 600; }
.auth-form .btn-primary:hover { background: var(--primary-dark); }
.auth-alt-link { text-align: center; margin-top: 18px; font-size: 14px; }
.auth-alt-link a { color: var(--primary); font-weight: 500; }
.auth-image-side { flex: 1; background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); display: flex; align-items: center; justify-content: center; padding: 40px; color: #fff; }
.auth-image-content { text-align: center; }
.auth-image-content h2 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.auth-image-content p { font-size: 14px; opacity: 0.9; }

/* ===== WISHLIST ===== */
.wishlist-page { padding: 30px 0; min-height: 400px; }
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== ORDERS ===== */
.orders-page { padding: 30px 0; }
.order-status { padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-pending { background: #fff3cd; color: #856404; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }

/* ===== TOAST ===== */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 99999; }
.toast-message {
    padding: 12px 20px; border-radius: 4px; color: #fff; font-size: 13px;
    margin-bottom: 8px; box-shadow: var(--shadow-hover);
    animation: slideInRight 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.toast-message.success { background: var(--primary); }
.toast-message.error { background: var(--red); }
.toast-message.info { background: var(--blue); }
@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }

/* ===== SIDE CART ===== */
.side-cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 9998; display: none;
}
.side-cart-overlay.open { display: block; }
.side-cart {
    position: fixed; top: 0; right: -400px; width: 400px; max-width: 100%;
    height: 100%; background: var(--bg-white); z-index: 9999;
    display: flex; flex-direction: column; transition: right 0.3s ease;
}
.side-cart.open { right: 0; }
.side-cart-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.side-cart-header h4 { font-size: 15px; font-weight: 600; margin: 0; }
.side-cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-lighter); }
.side-cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty-state { text-align: center; padding: 40px 0; }
.cart-empty-state i { font-size: 48px; color: var(--border); display: block; margin-bottom: 12px; }
.cart-empty-state p { color: var(--text-lighter); font-size: 14px; }
.cart-empty-state .btn { margin-top: 8px; }
.side-cart-footer { padding: 16px 20px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.btn-checkout {
    display: block; width: 100%; padding: 12px; background: var(--primary);
    color: #fff; border: none; border-radius: 4px; font-size: 14px;
    font-weight: 600; text-align: center; cursor: pointer; transition: var(--transition);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-checkout:hover { background: var(--primary-dark); color: #fff; }
.btn-view-cart {
    display: block; width: 100%; padding: 10px; background: var(--bg-white);
    color: var(--text); border: 1px solid var(--border); border-radius: 4px;
    font-size: 13px; text-align: center; margin-top: 8px; cursor: pointer;
    transition: var(--transition);
}
.btn-view-cart:hover { border-color: var(--primary); color: var(--primary); }

/* Side cart items */
.cart-item-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid #f0f0f0;
}
.cart-item-row:last-child { border-bottom: none; }
.cart-item-img { width: 54px; height: 68px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; margin: 0 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: 11px; color: var(--text-lighter); margin: 0 0 6px; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-side-minus, .cart-side-plus {
    width: 24px; height: 24px; border: 1px solid var(--border);
    background: var(--bg-light); border-radius: 4px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; line-height: 1; padding: 0; color: var(--text);
}
.cart-side-minus:hover, .cart-side-plus:hover { background: var(--border); }
.cart-item-qty span { font-size: 13px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--dark); white-space: nowrap; }
.cart-item-remove { font-size: 14px; color: var(--text-lighter); cursor: pointer; display: block; text-align: right; margin-top: 4px; }
.cart-item-remove:hover { color: var(--red); }

/* Empty state for pages */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 56px; color: var(--border); display: block; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.empty-state p { color: var(--text-lighter); font-size: 14px; margin-bottom: 16px; }

/* Page titles */
.page-title { font-size: 22px; font-weight: 700; margin-bottom: 25px; }
.page-title .wishlist-count { font-size: 16px; color: var(--text-lighter); font-weight: 400; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .desktop-header { display: none; }
    .mobile-top-nav, .mobile-bottom-nav { display: flex; }
    .mobile-side-menu, .mobile-mega-menu { display: block; }

    .hero-slide { height: 320px; }
    .hero-content h1 { font-size: 28px; }
    .hero-content p { font-size: 14px; }
    .hero-content { padding: 20px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .auth-container { flex-direction: column; }
    .auth-image-side { display: none; }
    .brand-content h2 { font-size: 22px; }
    .brand-features { flex-wrap: wrap; }
    .product-info-card { padding-left: 0; margin-top: 20px; }
    .shop-sidebar { position: static; }
    .shop-title { font-size: 18px; }
    .features-bar .col-6 { margin-bottom: 12px; }
    .product-card-image { aspect-ratio: 3/4; }
    .section-header h2 { font-size: 18px; }
}

@media (max-width: 576px) {
    .hero-slide { height: 260px; }
    .hero-content h1 { font-size: 22px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .checkout-card { padding: 16px; }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
