/* ============================================
   Alpin Outdoor - OpenCart Theme Stylesheet
   Color Palette: Black #000, Gold #FEB003, White, Gray #F8F9FA
   Font: Montserrat
   ============================================ */

/* ---- OpenCart Override & Compatibility ---- */
body { padding-top: 0 !important; }
#common-home { padding: 0; }
#common-home .container { max-width: 100%; padding: 0; }
.breadcrumb { list-style: none; margin: 0; padding: 16px 0; background: #F8F9FA; border-radius: 0; border: none; }
.breadcrumb > li { display: inline-flex; align-items: center; font-size: 13px; }
.breadcrumb > li + li:before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 10px; color: #999; padding: 0 10px; }
.breadcrumb > li > a { color: #666; }
.breadcrumb > li > a:hover { color: #e9a003; text-decoration: none; }
.breadcrumb > li:last-child > a { color: #000; font-weight: 600; }
.btn-primary { background-color: #FEB003; border-color: #FEB003; color: #000; font-weight: 700; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: #e9a003; border-color: #e9a003; color: #000; }
.alert { border-radius: 8px; }
.pagination > li > a, .pagination > li > span { color: #333; border-color: #E5E5E5; }
.pagination > .active > a, .pagination > .active > span { background-color: #000; border-color: #000; color: #fff; }
.pagination > li > a:hover { background-color: #F8F9FA; border-color: #FEB003; }
.well { border: 1px solid #E5E5E5; border-radius: 8px; box-shadow: none; background: #fff; }
.form-control { border: 2px solid #E5E5E5; border-radius: 8px; font-family: 'Montserrat', sans-serif; }
.form-control:focus { border-color: #FEB003; box-shadow: 0 0 0 3px #FFF3D6; }

/* Account page grid */
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.account-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; background: #fff; border: 1px solid #E5E5E5; border-radius: 8px; transition: all 0.3s ease; text-align: center; }
.account-card:hover { border-color: #FEB003; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transform: translateY(-2px); }
.account-card i { font-size: 28px; color: #FEB003; margin-bottom: 12px; }
.account-card span { font-size: 14px; font-weight: 600; color: #333; }

/* Checkout page */
.checkout-page .panel { border: 1px solid #E5E5E5; border-radius: 8px; margin-bottom: 16px; }
.checkout-page .panel-heading { background: #F8F9FA; padding: 16px 20px; border-radius: 8px 8px 0 0; }
.checkout-page .panel-heading h4 { font-size: 16px; font-weight: 700; color: #000; margin: 0; font-family: 'Montserrat', sans-serif; }
.checkout-page .panel-body { padding: 20px; }
.checkout-page .panel-collapse { border-top: 1px solid #E5E5E5; }

/* Contact page */
.contact-layout { display: flex; gap: 40px; padding: 30px 0; }
.contact-info { flex: 1; }
.contact-form { flex: 1; }
.contact-info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; font-size: 14px; }
.contact-info-item i { color: #FEB003; font-size: 18px; margin-top: 2px; }
@media (max-width: 768px) { .contact-layout { flex-direction: column; gap: 20px; } }

/* OpenCart module containers */
.module-container { margin: 30px 0; }

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FEB003;
    --primary-hover: #e9a003;
    --primary-light: #FFF3D6;
    --black: #000000;
    --dark: #151D2A;
    --text: #333333;
    --text-light: #666666;
    --gray: #999999;
    --light-gray: #F8F9FA;
    --border: #E5E5E5;
    --white: #FFFFFF;
    --red: #d6182a;
    --green: #28a745;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
    --transition: all 0.3s ease;
    --header-height: 140px;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

input, select, textarea {
    font-family: var(--font);
    font-size: 14px;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
    background: var(--primary);
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}

.announcement-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 16px;
    min-height: 42px;
}

.announcement-text {
    letter-spacing: 0.3px;
}

.announcement-btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition);
}

.announcement-btn:hover {
    background: var(--dark);
    transform: scale(1.05);
}

/* ---- Header ---- */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 0 var(--border);
}

.header-main {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
    border-radius: 2px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 160px;
    height: 60px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
}

.search-btn {
    padding: 12px 18px;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--primary);
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

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

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-suggestion-item:hover {
    background: var(--light-gray);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    color: var(--text);
    font-size: 20px;
}

.header-action-item:hover {
    color: var(--black);
}

.action-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.action-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ---- Navigation ---- */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-link--sale {
    color: var(--red) !important;
}

.nav-link--new {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--black);
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
    border: 2px solid var(--black);
}

/* Mega Menu */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 500px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
    z-index: 100;
    padding: 30px;
    animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-item:hover .mega-menu {
    display: block;
}

.mega-menu-inner {
    display: flex;
    gap: 40px;
}

.mega-menu-column {
    flex: 1;
}

.mega-menu-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.mega-menu-list li {
    margin-bottom: 8px;
}

.mega-menu-list a {
    font-size: 14px;
    color: var(--text);
    padding: 4px 0;
    display: block;
}

.mega-menu-list a:hover {
    color: var(--primary-hover);
    padding-left: 6px;
}

.mega-menu-featured {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    min-height: 150px;
    width: 100%;
    transition: var(--transition);
}

.mega-menu-banner:hover {
    background: var(--primary-light);
}

.mega-menu-banner-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

/* ---- Hero Slider ---- */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.hero-slider .slick-slide {
    outline: none;
}

.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide-inner {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide-inner.slide-style-1 {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6741 50%, #8b9a7e 100%);
}

.hero-slide-inner.slide-style-2 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-slide-inner.slide-style-3 {
    background: linear-gradient(135deg, #434343 0%, #000000 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 600px;
    color: var(--white);
}

.hero-slide-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}

.hero-slide-discount {
    font-size: 100px;
    font-weight: 900;
    line-height: 1;
    color: var(--red);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-slide-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-slide-desc {
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-slide-btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--white);
    transition: var(--transition);
}

.hero-slide-btn:hover {
    background: var(--white);
    color: var(--black);
}

/* Slider arrows */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    width: 44px;
    height: 44px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    transition: var(--transition);
}

.hero-slider .slick-prev { left: 20px; }
.hero-slider .slick-next { right: 20px; }

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
    background: var(--primary);
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    color: var(--black);
    font-size: 20px;
    opacity: 1;
}

.hero-slider .slick-dots {
    bottom: 20px;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: var(--primary);
    opacity: 1;
}

/* ---- Promo Banner ---- */
.promo-banner {
    display: block;
    background: var(--dark);
    padding: 16px;
    text-align: center;
    margin: 0;
}

.promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.promo-banner-logo {
    width: 40px;
    height: 40px;
}

.promo-banner-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.promo-banner-text strong {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}

/* ---- Section Styles ---- */
.section {
    padding: 50px 0;
}

.section--gray {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* ---- Category Cards ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    background: var(--light-gray);
    display: flex;
    align-items: flex-end;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

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

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}

.category-card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.category-card-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Tab Filters ---- */
.tab-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tab-filter {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 30px;
    color: var(--text);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.tab-filter:hover {
    border-color: var(--primary);
    color: var(--black);
}

.tab-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--black);
}

/* ---- Product Cards ---- */
.products-slider {
    margin: 0 -8px;
}

.products-slider .slick-slide {
    padding: 0 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--light-gray);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-card-image .product-img-main {
    position: relative;
    z-index: 1;
}

.product-card-image .product-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
}

.product-card:hover .product-img-main {
    opacity: 0;
}

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

.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--sale {
    background: var(--red);
    color: var(--white);
}

.badge--new {
    background: var(--primary);
    color: var(--black);
}

.product-card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 2;
    font-size: 16px;
    color: var(--gray);
    transition: var(--transition);
}

.product-card-favorite:hover,
.product-card-favorite.active {
    color: var(--red);
}

.product-card-info {
    padding: 14px;
}

.product-card-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.price-old {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
}

.price-discount {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
}

/* Product Slider Arrows */
.products-slider .slick-prev,
.products-slider .slick-next {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    z-index: 10;
    transition: var(--transition);
}

.products-slider .slick-prev { left: -16px; }
.products-slider .slick-next { right: -16px; }

.products-slider .slick-prev:hover,
.products-slider .slick-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.products-slider .slick-prev:before,
.products-slider .slick-next:before {
    color: var(--black);
    font-size: 16px;
    opacity: 1;
}

/* ---- Brands Section ---- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: var(--transition);
}

.brand-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.brand-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Video Banner ---- */
.video-banner {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.video-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
    color: var(--white);
}

.video-banner-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.video-banner-desc {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.video-banner-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--black);
    padding: 14px 40px;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.video-banner-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* ---- Footer ---- */
.footer-categories {
    background: var(--light-gray);
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.footer-cat-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cat-list a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.footer-cat-list a:hover {
    color: var(--primary-hover);
}

.footer-main {
    background: var(--dark);
    padding: 50px 0;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 8px;
}

.footer-phone strong {
    font-size: 18px;
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--black);
}

.footer-bottom {
    background: #0d1520;
    padding: 20px 0;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-payment-title {
    font-size: 12px;
    font-weight: 600;
}

.payment-icons {
    display: flex;
    gap: 8px;
    font-size: 24px;
}

.footer-copyright p {
    font-size: 12px;
}

.footer-app-links {
    display: flex;
    gap: 10px;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.app-link:hover {
    background: var(--primary);
    color: var(--black);
}

/* ---- Mobile App Banner ---- */
.mobile-app-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 20px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

.mobile-app-banner-inner {
    position: relative;
}

.mobile-app-close {
    position: absolute;
    top: -5px;
    right: 0;
    font-size: 20px;
    color: var(--text);
    padding: 5px;
}

.mobile-app-banner p {
    font-size: 13px;
    color: var(--text-light);
    margin: 10px 0;
}

.mobile-app-btn {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

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

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ---- Mobile Menu ---- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--white);
    z-index: 2001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
    font-size: 16px;
    font-weight: 700;
}

.mobile-menu-close {
    font-size: 22px;
    color: var(--text);
    padding: 5px;
}

.mobile-menu-search {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-search form {
    display: flex;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.mobile-menu-search input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.mobile-menu-search button {
    padding: 10px 14px;
    color: var(--text);
}

.mobile-nav-list {
    flex: 1;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link--sale {
    color: var(--red) !important;
}

.mobile-submenu-arrow {
    font-size: 12px;
    color: var(--gray);
}

.mobile-submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 5;
    overflow-y: auto;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-back a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-hover);
    border-bottom: 1px solid var(--border);
}

.mobile-submenu-title {
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    border-bottom: 1px solid var(--border);
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu-footer {
    border-top: 1px solid var(--border);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 8px 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    padding: 16px 0;
    background: var(--light-gray);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--text-light);
}

.breadcrumb-list a:hover {
    color: var(--primary-hover);
}

.breadcrumb-separator {
    color: var(--gray);
    font-size: 10px;
}

.breadcrumb-current {
    color: var(--black);
    font-weight: 600;
}

/* ---- Page Content ---- */
.page-content {
    padding: 40px 0;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
}

/* ---- Category Page ---- */
.category-header {
    padding: 30px 0;
    background: var(--light-gray);
    text-align: center;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
}

.category-count {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.category-content {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

.category-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.filter-group {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.filter-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

.filter-list input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.category-products {
    flex: 1;
    min-width: 0;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: var(--radius);
}

.sort-bar select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 13px;
}

/* ---- Product Detail ---- */
.product-detail {
    display: flex;
    gap: 40px;
    padding: 30px 0;
}

.product-gallery {
    flex: 1;
    max-width: 550px;
}

.product-main-image {
    aspect-ratio: 1;
    background: var(--light-gray);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbs {
    display: flex;
    gap: 10px;
}

.product-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumb:hover,
.product-thumb.active {
    border-color: var(--primary);
}

.product-info-section {
    flex: 1;
}

.product-info-brand {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 16px;
}

.product-info-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.product-price-current {
    font-size: 28px;
    font-weight: 800;
    color: var(--black);
}

.product-price-old {
    font-size: 18px;
    color: var(--gray);
    text-decoration: line-through;
}

.product-price-discount {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    background: #fee;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.product-sizes {
    margin-bottom: 20px;
}

.product-sizes-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-option {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.size-option:hover {
    border-color: var(--black);
}

.size-option.active {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.size-option--sold-out {
    position: relative;
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #f5f5f5;
    border-color: #ddd;
}

.size-option--sold-out:hover {
    border-color: #ddd;
}

.stock-out-label {
    display: block;
    font-size: 8px;
    color: #e74c3c;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.btn--sold-out {
    background: #ccc;
    color: #666;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: not-allowed;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--primary);
    color: var(--black);
    border-color: var(--primary);
    flex: 1;
}

.btn--primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn--outline {
    background: transparent;
    color: var(--black);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--black);
}

.btn--dark {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn--dark:hover {
    background: var(--dark);
}

.btn--full {
    width: 100%;
}

/* ---- Cart Page ---- */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border);
    text-align: left;
    color: var(--text-light);
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: var(--light-gray);
    flex-shrink: 0;
    overflow: hidden;
}

.cart-product-name {
    font-size: 14px;
    font-weight: 500;
}

.cart-product-brand {
    font-size: 12px;
    color: var(--text-light);
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.cart-qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
    transition: var(--transition);
}

.cart-qty-btn:hover {
    background: var(--light-gray);
}

.cart-qty-input {
    width: 44px;
    height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
}

.cart-remove {
    color: var(--gray);
    font-size: 16px;
    transition: var(--transition);
}

.cart-remove:hover {
    color: var(--red);
}

.cart-summary {
    background: var(--light-gray);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-top: 30px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 2px solid var(--border);
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
}

/* ---- Login / Register ---- */
.auth-container {
    max-width: 460px;
    margin: 40px auto;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-link a {
    color: var(--primary-hover);
    font-weight: 600;
}

/* Checkout radio labels */
.checkout-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
}

.checkout-radio-label:hover,
.checkout-radio-label.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.checkout-radio-label input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.checkout-radio-text i {
    margin-right: 4px;
    color: var(--primary);
}

/* ---- Alert Messages ---- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert--info {
    background: var(--primary-light);
    color: var(--black);
    border: 1px solid var(--primary);
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.pagination a:hover {
    background: var(--light-gray);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.empty-state-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ---- Image Placeholder ---- */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    color: var(--gray);
    font-size: 36px;
}

/* ============================================
   RESPONSIVE - Mobile First Approach
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-slide-inner {
        min-height: 400px;
    }

    .hero-slide-discount {
        font-size: 70px;
    }

    .hero-slide-content {
        padding: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-detail {
        flex-direction: column;
    }

    .product-gallery {
        max-width: 100%;
    }

    .category-sidebar {
        display: none;
    }

    .category-products {
        width: 100%;
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --header-height: 120px;
    }

    .container {
        padding: 0 12px;
    }

    /* Announcement */
    .announcement-item {
        flex-direction: column;
        gap: 8px;
        padding: 8px 12px;
        font-size: 12px;
    }

    .announcement-text {
        font-size: 12px;
        line-height: 1.4;
    }

    .announcement-btn {
        font-size: 11px;
        padding: 5px 14px;
    }

    /* Header */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }

    .header-logo {
        order: 2;
    }

    .logo-svg {
        width: 80px;
        height: 40px;
    }

    .logo-img {
        height: 35px;
    }

    .header-search {
        order: 5;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-actions {
        order: 3;
        margin-left: auto;
        gap: 16px;
    }

    .action-label {
        display: none;
    }

    .header-action-item {
        font-size: 18px;
    }

    .search-input {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Navigation - hidden on mobile, shown in hamburger menu */
    .main-nav {
        display: none;
    }

    /* Hero Slider */
    .hero-slide-inner {
        min-height: 300px;
    }

    .hero-slide-content {
        padding: 30px 20px;
    }

    .hero-slide-subtitle {
        font-size: 13px;
    }

    .hero-slide-discount {
        font-size: 56px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-btn {
        padding: 12px 28px;
        font-size: 12px;
    }

    .hero-slider .slick-prev,
    .hero-slider .slick-next {
        width: 36px;
        height: 36px;
    }

    .hero-slider .slick-prev { left: 10px; }
    .hero-slider .slick-next { right: 10px; }

    /* Sections */
    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 20px;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .category-card {
        aspect-ratio: 3/4;
    }

    .category-card-title {
        font-size: 12px;
    }

    .category-card-content {
        padding: 12px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-info {
        padding: 10px;
    }

    .product-card-brand {
        font-size: 11px;
    }

    .product-card-name {
        font-size: 12px;
        min-height: 30px;
    }

    .price-current {
        font-size: 14px;
    }

    .price-old {
        font-size: 11px;
    }

    .tab-filters {
        gap: 8px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-filter {
        padding: 8px 18px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .brand-card {
        padding: 16px 10px;
    }

    .brand-card-name {
        font-size: 11px;
    }

    /* Video Banner */
    .video-banner-content {
        padding: 40px 16px;
    }

    .video-banner-title {
        font-size: 24px;
    }

    /* Footer */
    .footer-cat-list {
        gap: 12px;
    }

    .footer-cat-list a {
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Product Detail */
    .product-detail {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .product-gallery {
        max-width: 100%;
    }

    .product-main-image {
        border-radius: 6px;
    }

    .product-thumbs {
        gap: 6px;
    }

    .product-thumb {
        width: 56px;
        height: 56px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .product-info-name {
        font-size: 17px;
    }

    .product-info-brand {
        font-size: 12px;
    }

    .product-info-price {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 16px;
        padding-bottom: 16px;
    }

    .product-price-current {
        font-size: 22px;
    }

    .product-price-old {
        font-size: 15px;
    }

    .product-sizes {
        margin-bottom: 16px;
    }

    .size-options {
        gap: 6px;
    }

    .size-option {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    /* Cart */
    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: block;
    }

    .cart-table tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        position: relative;
    }

    .cart-table td {
        display: block;
        padding: 4px 0;
        border: none;
        text-align: left;
    }

    .cart-product {
        flex-direction: row;
        gap: 12px;
    }

    .cart-product-image {
        width: 70px;
        height: 70px;
    }

    .cart-product-name {
        font-size: 13px;
    }

    .cart-quantity {
        display: inline-flex;
        margin-top: 8px;
    }

    .cart-remove {
        position: absolute;
        top: 16px;
        right: 0;
    }

    .cart-summary {
        max-width: 100%;
        margin-top: 20px;
    }

    /* Checkout */
    .checkout-grid {
        flex-direction: column;
    }

    .checkout-summary {
        width: 100% !important;
    }

    /* Auth */
    .auth-container {
        margin: 16px 0;
        padding: 20px 16px;
        box-shadow: none;
        border: 1px solid var(--border);
    }

    .auth-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-input {
        padding: 11px 12px;
        font-size: 16px; /* prevents iOS zoom */
    }

    select.form-input,
    textarea.form-input {
        font-size: 16px;
    }

    .btn {
        padding: 13px 24px;
        font-size: 13px;
    }

    .btn--full {
        width: 100%;
    }

    /* Promo Banner */
    .promo-banner {
        padding: 12px 10px;
    }

    .promo-banner-inner {
        flex-direction: column;
        gap: 4px;
    }

    .promo-banner-text {
        font-size: 12px;
    }

    .promo-banner-text strong {
        font-size: 16px;
    }

    /* Page content */
    .page-content {
        padding: 20px 0;
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 10px 0;
    }

    .breadcrumb-list {
        font-size: 11px;
        gap: 5px;
    }

    /* Category Page */
    .category-header {
        padding: 20px 0;
    }

    .category-title {
        font-size: 22px;
    }

    .category-content {
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }

    .category-sidebar {
        display: none;
    }

    .sort-bar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 10px 12px;
        margin-bottom: 16px;
    }

    .sort-bar select {
        width: 100%;
    }

    /* Search Page */
    .search-results-header {
        flex-direction: column;
        gap: 10px;
    }

    /* Account Page */
    .account-layout {
        flex-direction: column;
    }

    .account-sidebar {
        width: 100%;
    }

    /* Pagination */
    .pagination {
        margin-top: 24px;
        gap: 4px;
    }

    .pagination a, .pagination span {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    /* Slider arrows on mobile */
    .products-slider .slick-prev { left: -4px; }
    .products-slider .slick-next { right: -4px; }

    .products-slider .slick-prev,
    .products-slider .slick-next {
        width: 30px;
        height: 30px;
    }

    .products-slider .slick-prev:before,
    .products-slider .slick-next:before {
        font-size: 14px;
    }

    /* Mega menu - force hide on mobile */
    .mega-menu {
        display: none !important;
    }

    /* Toast on mobile */
    .toast {
        top: auto;
        bottom: 70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(60px);
        opacity: 0;
        text-align: center;
        font-size: 12px;
        padding: 8px 16px;
        max-width: calc(100vw - 32px);
        white-space: nowrap;
    }

    .toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    /* Empty state */
    .empty-state {
        padding: 40px 16px;
    }

    .empty-state-icon {
        font-size: 44px;
    }

    .empty-state-title {
        font-size: 17px;
    }

    /* Alert on mobile */
    .alert {
        font-size: 13px;
        padding: 12px 14px;
    }

    /* Back to top */
    .back-to-top {
        bottom: 16px;
        left: 16px;
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-slide-inner {
        min-height: 220px;
    }

    .hero-slide-discount {
        font-size: 40px;
    }

    .hero-slide-title {
        font-size: 15px;
    }

    .hero-slide-content {
        padding: 16px 14px;
    }

    .hero-slide-subtitle {
        font-size: 11px;
    }

    .hero-slide-btn {
        padding: 10px 22px;
        font-size: 11px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .category-card {
        aspect-ratio: 3/4;
        border-radius: 6px;
    }

    .category-card-title {
        font-size: 10px;
        letter-spacing: 0;
    }

    .category-card-content {
        padding: 8px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .product-card {
        border-radius: 6px;
    }

    .product-card-info {
        padding: 8px;
    }

    .product-card-brand {
        font-size: 10px;
    }

    .product-card-name {
        font-size: 11px;
        min-height: 28px;
        margin-bottom: 6px;
        -webkit-line-clamp: 2;
    }

    .product-card-favorite {
        width: 28px;
        height: 28px;
        font-size: 12px;
        top: 6px;
        right: 6px;
    }

    .product-card-badges {
        top: 6px;
        left: 6px;
    }

    .badge {
        padding: 2px 6px;
        font-size: 9px;
    }

    .price-current {
        font-size: 13px;
    }

    .price-old {
        font-size: 10px;
    }

    .price-discount {
        font-size: 10px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .brand-card {
        padding: 12px 8px;
        min-height: 50px;
    }

    .brand-card-name {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .tab-filters {
        gap: 6px;
    }

    .tab-filter {
        padding: 7px 14px;
        font-size: 12px;
    }

    .section {
        padding: 20px 0;
    }

    .section-title {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    /* Footer compact */
    .footer-title {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .footer-phone strong {
        font-size: 15px;
    }

    .app-link {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Video Banner */
    .video-banner-content {
        padding: 30px 14px;
    }

    .video-banner-title {
        font-size: 20px;
    }

    .video-banner-desc {
        font-size: 13px;
    }

    .video-banner-btn {
        padding: 12px 28px;
        font-size: 12px;
    }

    /* Product detail mobile */
    .product-info-name {
        font-size: 16px;
    }

    .product-price-current {
        font-size: 20px;
    }

    .product-price-discount {
        font-size: 12px;
    }

    /* Logo shrink further */
    .logo-img {
        height: 28px;
    }

    /* Header actions tighter */
    .header-actions {
        gap: 12px;
    }

    .header-action-item {
        font-size: 16px;
    }

    .action-badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
        top: -4px;
        right: -4px;
    }

    /* Auth mobile */
    .auth-container {
        margin: 12px 0;
        padding: 16px 12px;
    }

    .auth-title {
        font-size: 18px;
    }
}

/* Extra small - iPhone SE etc */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .header-inner {
        gap: 8px;
    }

    .logo-img {
        height: 24px;
    }

    .header-actions {
        gap: 10px;
    }

    .search-input {
        padding: 8px 10px;
        font-size: 13px;
    }

    .hero-slide-discount {
        font-size: 34px;
    }

    .hero-slide-content {
        padding: 14px 12px;
    }

    .products-grid {
        gap: 4px;
    }

    .product-card-info {
        padding: 6px;
    }

    .product-card-name {
        font-size: 10px;
    }

    .price-current {
        font-size: 12px;
    }

    .footer-main {
        padding: 30px 0;
    }
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.visible-mobile { display: none; }

@media (max-width: 768px) {
    .hidden-mobile { display: none !important; }
    .visible-mobile { display: block !important; }
}

/* ---- Loading Spinner ---- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

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

/* ---- Notification Toast ---- */
.toast {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 99999;
    background: var(--black);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 260px;
    width: auto;
    white-space: nowrap;
    transform: translateY(-80px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast--success {
    background: #2ecc71;
}

.toast--error {
    background: #e74c3c;
}

/* ---- OpenCart Panels (Coupon, Shipping, Voucher) ---- */
.panel { border: 1px solid #E5E5E5; border-radius: 8px; margin-bottom: 16px; overflow: hidden; }
.panel-heading { background: #F8F9FA; padding: 0; }
.panel-title { margin: 0; }
.panel-title > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-size: 14px; font-weight: 700; color: #333; text-decoration: none; font-family: 'Montserrat', sans-serif; }
.panel-title > a:hover { color: #FEB003; }
.panel-title > a::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 12px; color: #999; transition: transform 0.3s; }
.panel-title > a.collapsed::after { transform: rotate(0deg); }
.panel-title > a:not(.collapsed)::after { transform: rotate(180deg); }
.panel-body { padding: 20px; }
.panel-body label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 6px; }
.panel-body .form-control, .panel-body input[type="text"], .panel-body select { width: 100%; padding: 10px 14px; border: 2px solid #E5E5E5; border-radius: 8px; font-size: 14px; font-family: 'Montserrat', sans-serif; margin-bottom: 12px; }
.panel-body .form-control:focus, .panel-body input[type="text"]:focus { border-color: #FEB003; outline: none; box-shadow: 0 0 0 3px #FFF3D6; }
.panel-body .input-group { display: flex; gap: 8px; }
.panel-body .input-group .form-control { flex: 1; margin-bottom: 0; }
.panel-body .input-group .input-group-btn { flex-shrink: 0; }
.panel-body .btn-primary, .panel-body .input-group-btn .btn { background: #FEB003; color: #000; border: 2px solid #FEB003; padding: 10px 24px; border-radius: 8px; font-size: 13px; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; text-transform: uppercase; white-space: nowrap; }
.panel-body .btn-primary:hover, .panel-body .input-group-btn .btn:hover { background: #e9a003; }
.panel-collapse { border-top: 1px solid #E5E5E5; }
.collapse { display: none; }
.collapse.in { display: block; }

/* ---- Cart Page Custom Styles ---- */
.cart-table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: 14px 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #E5E5E5; color: #999; text-align: left; }
.cart-table td { padding: 16px 12px; border-bottom: 1px solid #E5E5E5; vertical-align: middle; }
.cart-product-img { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; }
.cart-product-name { font-size: 14px; font-weight: 500; color: #333; }
.cart-product-options { font-size: 12px; color: #999; margin-top: 4px; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid #E5E5E5; border-radius: 6px; overflow: hidden; }
.quantity-control__btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: transparent; border: none; cursor: pointer; font-size: 12px; color: #666; }
.quantity-control__btn:hover { background: #F8F9FA; }
.quantity-control__input { width: 44px; height: 36px; text-align: center; border: none; border-left: 1px solid #E5E5E5; border-right: 1px solid #E5E5E5; font-weight: 600; font-size: 14px; font-family: 'Montserrat', sans-serif; }
.btn-remove { background: transparent; border: none; color: #999; cursor: pointer; font-size: 16px; padding: 8px; }
.btn-remove:hover { color: #d6182a; }
.cart-summary { background: #F8F9FA; border-radius: 12px; padding: 24px; max-width: 400px; margin-left: auto; margin-top: 24px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cart-summary__total { display: flex; justify-content: space-between; padding: 16px 0; border-top: 2px solid #E5E5E5; margin-top: 8px; font-size: 18px; font-weight: 700; }
.cart-summary__actions { display: flex; gap: 12px; margin-top: 16px; }
.cart-summary__actions .btn { flex: 1; text-align: center; justify-content: center; }
.cart-modules { margin-top: 30px; }
.cart-cards-mobile { display: none; }
@media (max-width: 768px) {
    .cart-table-wrap { display: none; }
    .cart-cards-mobile { display: block; }
    .cart-card { padding: 16px 0; border-bottom: 1px solid #E5E5E5; }
    .cart-card__top { display: flex; gap: 12px; }
    .cart-card__img { width: 80px; height: 80px; border-radius: 6px; object-fit: cover; }
    .cart-card__info { flex: 1; }
    .cart-card__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
    .cart-summary { max-width: 100%; }
    .cart-summary__actions { flex-direction: column; }
}

/* ---- Product Lightbox Gallery ---- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-image-wrap {
    max-width: 80vw;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image-wrap img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
}
.lightbox-counter {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-top: 12px;
    font-weight: 500;
}
.lightbox-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    overflow-x: auto;
    max-width: 80vw;
    padding: 4px 0;
}
.lightbox-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.2s;
    flex-shrink: 0;
}
.lightbox-thumb:hover { opacity: 0.8; }
.lightbox-thumb.active {
    border-color: #FEB003;
    opacity: 1;
}
.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-main-image { cursor: zoom-in; }
@media (max-width: 768px) {
    .lightbox-nav { width: 40px; height: 40px; font-size: 14px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-image-wrap { max-width: 95vw; }
    .lightbox-thumbs { max-width: 95vw; }
    .lightbox-thumb { width: 48px; height: 48px; }
}

/* ---- Product Gallery - themoosebay Pro Style ---- */
.product-gallery {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 600px;
    position: relative;
}
.gallery-thumbs-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
    flex-shrink: 0;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}
.gallery-thumbs-vertical::-webkit-scrollbar { width: 3px; }
.gallery-thumbs-vertical::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }
.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    background: #f8f9fa;
}
.gallery-thumb:hover { border-color: #ddd; }
.gallery-thumb.active { border-color: #FEB003; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1;
}
.gallery-main-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: crosshair;
    position: relative;
    overflow: hidden;
}
.gallery-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s;
}
.gallery-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e5e5;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s;
    opacity: 0;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: #FEB003; border-color: #FEB003; color: #000; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Zoom lens on hover */
.gallery-zoom-lens {
    display: none;
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid #FEB003;
    border-radius: 4px;
    background: rgba(254,176,3,0.1);
    pointer-events: none;
    z-index: 10;
}
.gallery-main-img:hover .gallery-zoom-lens { display: block; }

/* Zoom preview panel */
.gallery-zoom-preview {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 450px;
    height: 500px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    z-index: 100;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.gallery-zoom-preview.active { display: block; }
.gallery-zoom-preview img {
    position: absolute;
    max-width: none;
    transform-origin: 0 0;
}

/* Product detail layout override */
.product-detail {
    display: flex;
    gap: 40px;
    padding: 30px 0;
    position: relative;
}
.product-info-section { flex: 1; min-width: 0; }

@media (max-width: 1024px) {
    .gallery-zoom-preview { display: none !important; }
    .product-detail { flex-direction: column; }
    .product-gallery { max-width: 100%; }
}
@media (max-width: 768px) {
    .product-gallery { flex-direction: column; }
    .gallery-thumbs-vertical {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        order: 2;
    }
    .gallery-thumb { width: 60px; height: 60px; min-width: 60px; }
    .gallery-main { order: 1; aspect-ratio: 1; }
    .gallery-nav { opacity: 1; width: 34px; height: 34px; }
}

/* ---- Product Card Enhancements ---- */
.product-card-btn {
    display: block;
    text-align: center;
    padding: 10px 16px;
    margin-top: 10px;
    background: transparent;
    color: #FEB003;
    border: 2px solid #FEB003;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}
.product-card-btn:hover {
    background: #FEB003;
    color: #000;
}
.price-special { color: #d6182a; }
.product-card-price .price-old { order: 1; }
.product-card-price .price-current { order: 2; }
@media (max-width: 480px) {
    .product-card-btn { padding: 8px 10px; font-size: 11px; }
}
