/* ========================================
   H&R Sport - Light Theme
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --brand: #fb923c;
    --brand-dark: #f97316;
    --bg: #ffffff;
    --bg-section: #f5f5f4;
    --bg-card: #ffffff;
    --border: #ebebeb;
    --border-light: #e5e5e5;
    --text: #1a1a1a;
    --text-body: #6b7280;
    --text-muted: #9ca3af;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xl: 24px;
    --shadow: 0 1px 4px rgba(0,0,0,0.04);
    --shadow-hover: 0 16px 50px -12px rgba(251,146,60,0.18);
    --header-height: 72px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f4; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ===== Navigation ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: all 0.3s ease;
}
#navbar.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo img { max-height: 48px; border-radius: 8px; width: auto; }
.nav-logo .logo-icon {
    width: 40px; height: 40px;
    background: var(--brand);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-logo .logo-icon i { color: #000; font-size: 18px; }
.nav-logo span { font-size: 20px; font-weight: 800; color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 14px; font-weight: 500;
    color: var(--text-body);
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0; height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-body);
    font-size: 20px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.nav-toggle:hover { border-color: var(--brand); }
#mobileMenu {
    display: none;
    border-top: 1px solid var(--border);
}
#mobileMenu.show { display: block; }
#mobileMenu .mobile-links { padding: 16px 24px; background: var(--bg); }
#mobileMenu .mobile-links a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: all 0.3s ease;
}
#mobileMenu .mobile-links a:hover,
#mobileMenu .mobile-links a.active { background: rgba(251,146,60,0.1); color: var(--brand); }

/* ===== Hero ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 50%, rgba(251,146,60,0.08) 0%, transparent 50%), #000;
}
#hero .hero-grid-bg {
    position: absolute; inset: 0; opacity: 0.03;
    background-image: linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}
#hero .hero-dot { position: absolute; border-radius: 50%; }
#hero .container { position: relative; z-index: 10; width: 100%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text { text-align: right; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px;
    border: 1px solid rgba(251,146,60,0.25);
    background: rgba(251,146,60,0.08);
    margin-bottom: 32px;
}
.hero-badge .badge-dot {
    width: 8px; height: 8px;
    background: var(--brand); border-radius: 50%;
    animation: pulseBrand 2s infinite;
}
.hero-badge span { color: var(--brand); font-size: 14px; font-weight: 500; }
.hero-title {
    font-size: 60px; font-weight: 900; line-height: 0.95; letter-spacing: -0.02em;
    margin-bottom: 24px; color: #fff;
}
.hero-title .brand-text { color: var(--brand); }
.hero-subtitle {
    font-size: 18px; color: rgba(255,255,255,0.6);
    max-width: 560px; line-height: 1.8; margin-bottom: 40px;
}
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; align-items: center; gap: 48px;
    margin-top: 56px;
}
.hero-stats .stat-number { font-size: 30px; font-weight: 900; color: var(--brand); }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.hero-stats .stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); }
.hero-image { display: flex; justify-content: center; }
.hero-image-wrapper { position: relative; }
.hero-image-wrapper::before {
    content: ''; position: absolute; inset: -20px;
    background: rgba(251,146,60,0.08); border-radius: 2rem;
    filter: blur(30px); z-index: 0;
}
.hero-image-wrapper img {
    position: relative; z-index: 10;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    max-width: 420px; width: 100%;
    aspect-ratio: 520/620; object-fit: cover;
}
.hero-image .hero-badge-card {
    position: absolute; bottom: -16px; right: -16px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 20;
}
.hero-image .hero-badge-card .badge-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(251,146,60,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 18px;
}
.hero-image .hero-badge-card .badge-title { font-size: 12px; font-weight: 700; color: #fff; }
.hero-image .hero-badge-card .badge-sub { font-size: 10px; color: rgba(255,255,255,0.5); }
.hero-scroll-down {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 10;
}
.hero-scroll-down span { font-size: 12px; color: rgba(255,255,255,0.5); }
.hero-scroll-down .scroll-mouse {
    width: 24px; height: 40px;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.1);
    display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll-down .scroll-dot {
    width: 6px; height: 6px;
    background: var(--brand); border-radius: 50%;
    animation: bounce 1s infinite;
}

/* ===== Marquee ===== */
.marquee-bar {
    padding: 16px 0;
    background: var(--brand);
    overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: scrollLeft 30s linear infinite; }
.marquee-track .marquee-item { color: #000; font-weight: 700; font-size: 14px; padding: 0 32px; white-space: nowrap; }
.marquee-track .marquee-sep { color: rgba(0,0,0,0.5); font-size: 14px; padding: 0 16px; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-no-pad-top { padding-top: 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-badge {
    display: inline-block; color: var(--brand); font-size: 14px; font-weight: 700;
    letter-spacing: 0.05em; margin-bottom: 16px;
}
.section-header h2 { font-size: 48px; font-weight: 900; line-height: 1.1; color: var(--text); }
.section-header h2 .brand-text { color: var(--brand); }
.section-header p { color: var(--text-body); margin-top: 16px; font-size: 16px; max-width: 600px; margin: 16px auto 0; }
.section-reveal { opacity: 0; transform: translateY(40px); }
.section-reveal.visible { animation: fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.section-divider { height: 1px; background: linear-gradient(to left, transparent, rgba(251,146,60,0.15), transparent); margin-bottom: 80px; }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-badge { display: inline-block; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 16px; }
.about-title { font-size: 48px; font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: var(--text); }
.about-title .brand-text { color: var(--brand); }
.about-desc { color: var(--text-body); font-size: 18px; line-height: 1.8; margin-bottom: 32px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature {
    padding: 16px; border-radius: var(--radius);
    background: #f9f9f8; border: 1px solid var(--border-light);
}
.about-feature i { font-size: 24px; color: var(--brand); margin-bottom: 8px; display: block; }
.about-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.about-feature p { font-size: 12px; color: var(--text-body); }
.about-image-wrap { position: relative; }
.about-image-wrap .glow {
    position: absolute; inset: -16px;
    background: rgba(251,146,60,0.05);
    border-radius: var(--radius-xl); filter: blur(40px);
    z-index: 0;
}
.about-image-wrap img {
    position: relative; z-index: 10;
    width: 100%; border-radius: var(--radius);
    border: 1px solid var(--border-light);
    aspect-ratio: 6/5; object-fit: cover;
}

/* ===== Category / Products ===== */
.home-category-section { margin-bottom: 64px; }
.category-header {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 32px;
}
.category-header .cat-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(251,146,60,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 20px; flex-shrink: 0;
}
.category-header .cat-info { flex: 1; }
.category-header .cat-info h3 { font-size: 22px; font-weight: 900; color: var(--text); }
.category-header .cat-info p { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.category-header .cat-line { flex: 1; height: 1px; background: var(--border); display: none; }
.category-header .cat-line.show { display: block; }
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover {
    background: #fffcf8;
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.product-card .product-img-wrap {
    position: relative; overflow: hidden;
    background: #f9f9f8;
}
.product-card .product-img {
    width: 100%; aspect-ratio: 1; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.product-card:hover .product-img { transform: scale(1.08); }
.product-card .product-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0; transition: opacity 0.3s ease;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 16px;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-card .product-overlay span {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 8px 16px; border-radius: var(--radius-sm);
}
.product-card .p-4 { padding: 16px; }
.product-card .pname { font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card .pprice { display: flex; align-items: center; gap: 8px; }
.product-card .pprice .current { font-size: 18px; font-weight: 900; color: var(--brand); }
.cat-view-all { font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 32px; border-radius: var(--radius);
    font-size: 16px; font-weight: 700; border: none;
    cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; font-family: inherit; line-height: 1.2;
}
.btn-brand { background: var(--brand); color: #000; }
.btn-brand:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 30px -5px rgba(251,146,60,0.35); }
.btn-outline-brand { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn-outline-brand:hover { background: var(--brand); color: #000; transform: translateY(-2px); }
.btn-outline-light { background: transparent; border: 2px solid var(--border); color: var(--text-body); }
.btn-outline-light:hover { border-color: var(--brand); color: var(--text); }
.btn-sm { padding: 14px 24px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-see-all { position: relative; overflow: hidden; }
.btn-see-all::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-see-all:hover::before { transform: translateX(100%); }

/* ===== Product Detail ===== */
.product-detail { padding: 40px 0; margin-top: var(--header-height); min-height: 80vh; }
.breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 32px; font-size: 14px;
    color: var(--text-muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--border); }
.product-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; }
.product-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.product-main-image {
    border-radius: var(--radius); overflow: hidden;
    background: #f9f9f8; border: 1px solid var(--border);
    aspect-ratio: 1; cursor: zoom-in; margin-bottom: 16px;
}
.product-main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.product-thumb {
    width: 72px; height: 72px;
    border-radius: var(--radius-sm); overflow: hidden;
    border: 2px solid var(--border); cursor: pointer;
    transition: all 0.3s ease; background: #f9f9f8;
}
.product-thumb:hover, .product-thumb.active { border-color: var(--brand); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-card h1 { font-size: 32px; font-weight: 900; margin-bottom: 12px; color: var(--text); }
.product-info-card .price { font-size: 32px; font-weight: 900; color: var(--brand); margin-bottom: 24px; }
.product-meta { margin-bottom: 24px; }
.product-meta span { display: inline-block; padding: 8px 16px; background: #f9f9f8; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text-body); }
.product-meta i { color: var(--brand); margin-left: 6px; }
.product-back { margin-top: 32px; }

/* ===== Categories Sidebar ===== */
.categories-sidebar h4 { font-size: 16px; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--brand); color: var(--text); }
.categories-sidebar li { margin-bottom: 4px; }
.categories-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: all 0.3s ease; color: var(--text-body); }
.categories-sidebar a:hover { background: rgba(251,146,60,0.06); color: var(--text); }
.categories-sidebar a.active { background: rgba(251,146,60,0.1); color: var(--brand); }
.categories-sidebar a i { font-size: 12px; color: var(--brand); }

/* ===== Page Banner ===== */
.page-banner { padding: 120px 0 60px; text-align: center; background: #fff; margin-top: var(--header-height); border-bottom: 1px solid var(--border); }
.page-banner h1 { font-size: 48px; font-weight: 900; margin-bottom: 8px; color: var(--text); }
.page-banner p { font-size: 18px; color: var(--text-body); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.contact-item { padding: 24px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); text-align: center; transition: all 0.3s ease; }
.contact-item:hover { border-color: var(--brand); }
.contact-item i { width: 56px; height: 56px; border-radius: var(--radius); background: rgba(251,146,60,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--brand); font-size: 22px; }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.contact-item p, .contact-item a { color: var(--text-body); font-size: 14px; }
.contact-item a:hover { color: var(--brand); }
.contact-map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 300px; border: none; display: block; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; color: var(--text-body); }
.form-group .form-control, .form-group .form-textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 15px; font-family: 'Tajawal', sans-serif; background: var(--bg); color: var(--text); transition: border-color 0.3s ease; }
.form-group .form-control:focus, .form-group .form-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(251,146,60,0.08); }
.form-group .form-textarea { min-height: 140px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Filters Bar ===== */
.filters-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; padding: 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.filters-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; }
.filter-input { position: relative; flex: 1; min-width: 180px; }
.filter-input .search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-body); font-size: 14px; }
.filter-search { width: 100%; padding: 12px 40px 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Tajawal', sans-serif; background: var(--bg); color: var(--text); }
.filter-select { padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Tajawal', sans-serif; background: var(--bg); color: var(--text); min-width: 140px; }

/* ===== Footer ===== */
.site-footer { background: #f9f9f8; border-top: 1px solid var(--border); }
.footer-main { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-img { max-height: 36px; border-radius: 6px; }
.footer-desc { color: var(--text-body); font-size: 14px; line-height: 1.8; max-width: 320px; margin-top: 16px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-body); transition: all 0.3s ease; font-size: 18px; }
.footer-social a:hover { background: rgba(251,146,60,0.15); color: var(--brand); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-body); font-size: 14px; transition: color 0.3s ease; }
.footer-col ul a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: var(--text-muted); font-size: 12px; }
.footer-bottom .payment-icons { display: flex; gap: 16px; }
.footer-bottom .payment-icons i { color: var(--border); font-size: 24px; }

/* ===== Scroll Top ===== */
.scroll-top { position: fixed; bottom: 30px; left: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #000; border: none; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Error ===== */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: var(--header-height); }
.error-page h1 { font-size: 120px; font-weight: 900; color: var(--brand); line-height: 1; }
.error-page h2 { font-size: 28px; margin-bottom: 10px; color: var(--text); }
.error-page p { color: var(--text-body); margin-bottom: 24px; }

/* ===== Pagination ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; direction: ltr; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-body); border: 1px solid var(--border); background: var(--bg-card); transition: all 0.3s ease; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .active { background: var(--brand); color: #000; border-color: var(--brand); }

/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes pulseBrand { 0%, 100% { box-shadow: 0 0 0 0 rgba(251,146,60,0.5); } 70% { box-shadow: 0 0 0 15px rgba(251,146,60,0); } }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes floatHero { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-18px); } }
.animate-fade-up { animation: fadeInUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-hero { animation: floatHero 5s ease-in-out infinite; }
.animate-pulse-brand { animation: pulseBrand 2s infinite; }
.animate-scroll { animation: scrollLeft 30s linear infinite; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ===== Empty State ===== */
.empty-products { text-align: center; padding: 80px 20px; color: var(--text-body); }
.empty-products i { font-size: 60px; color: var(--border); margin-bottom: 16px; display: block; }

/* ===== Alerts ===== */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-success { background: rgba(34,197,94,0.08); color: #15803d; border: 1px solid rgba(34,197,94,0.15); }
.alert-error { background: rgba(239,68,68,0.08); color: #dc2626; border: 1px solid rgba(239,68,68,0.15); }
.alert-warning { background: rgba(251,146,60,0.08); color: var(--brand-dark); border: 1px solid rgba(251,146,60,0.15); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid-products { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 44px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero-inner { grid-template-columns: 1fr; gap: 24px; }
    .hero-title { font-size: 36px; }
    .hero-image { order: -1; }
    .hero-image-wrapper img { max-width: 300px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stats .stat-divider { display: none; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .grid-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 28px; }
    .home-category-section { margin-bottom: 48px; }
    .category-header { margin-bottom: 16px; }
    .category-header .cat-info h3 { font-size: 18px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-title { font-size: 32px; }
    .about-features { grid-template-columns: 1fr 1fr; gap: 10px; }
    .page-banner { padding: 100px 0 40px; }
    .page-banner h1 { font-size: 32px; }
    .container { padding: 0 16px; }
    .product-detail { padding: 20px 0; }
    .product-detail-inner { grid-template-columns: 1fr; gap: 24px; }
    .product-layout { grid-template-columns: 1fr; }
    .product-info-card h1 { font-size: 24px; }
    .product-card .p-4 { padding: 10px; }
    .product-card .pname { font-size: 12px; }
    .product-card .pprice .current { font-size: 15px; }
    .product-card .product-overlay { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-main { padding: 40px 0; }
    .filters-form { flex-direction: column; }
    .filter-input { min-width: 100%; }
    .filter-select { min-width: 100%; }
    .filters-bar { padding: 16px; }
    .categories-sidebar { margin-top: 0; }
    .error-page h1 { font-size: 80px; }
    .section-divider { margin-bottom: 48px; }
}
@media (max-width: 480px) {
    .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 24px; }
    .about-title { font-size: 26px; }
    .contact-cards { grid-template-columns: 1fr; }
}

/* ===== Disable hover on touch ===== */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover { transform: none; box-shadow: none; }
    .product-card:active { transform: scale(0.97); }
    .btn-see-all:hover { transform: none; box-shadow: none; }
}
