/* ML BEARING - Professional Industrial Theme v2 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --primary: #0f2b4c;
    --primary-mid: #1a3a5c;
    --primary-light: #2563eb;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --steel: #475569;
    --steel-light: #64748b;
    --steel-lighter: #94a3b8;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --orange: #ea580c;
    --text: #1e293b;
    --text-light: #475569;
    --gold: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* === ANIMATION KEYFRAMES === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes countUp { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }

/* === TOP BAR === */
.top-bar {
    background: var(--primary);
    color: var(--steel-lighter);
    font-size: 12px;
    padding: 8px 0;
    letter-spacing: 0.3px;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: var(--steel-lighter); transition: var(--transition); }
.top-bar a:hover { color: white; }

/* === HEADER === */
.site-header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}
.logo {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    white-space: nowrap;
}
.logo span { color: var(--accent); }

.search-bar {
    flex: 1;
    max-width: 520px;
    position: relative;
}
.search-bar input {
    width: 100%;
    padding: 12px 48px 12px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg);
    font-family: inherit;
}
.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
.search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 38px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}
.search-bar button:hover { background: var(--accent-hover); transform: scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions a {
    color: var(--steel);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.header-actions a:hover { color: var(--primary); }
.cart-count {
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav { background: var(--primary); }
.main-nav ul { list-style: none; display: flex; gap: 0; }
.main-nav a {
    display: block;
    color: rgba(255,255,255,0.8);
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.main-nav a:hover, .main-nav a.active {
    background: rgba(255,255,255,0.08);
    color: white;
}
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
}

.menu-toggle { display: none; background: none; border: none; color: var(--primary); font-size: 24px; cursor: pointer; padding: 4px; }

/* === HERO === */
.hero {
    background: linear-gradient(135deg, #0a1628 0%, #132744 40%, #1e3a5f 70%, #2563eb 100%);
    color: white;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; animation: fadeInUp 0.8s ease-out; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59,130,246,0.2);
    border: 1px solid rgba(59,130,246,0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.7; max-width: 540px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* === STATS BAR === */
.stats-bar {
    background: var(--white);
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}
.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
    animation: countUp 0.6s ease-out both;
}
.stat-item:last-child { border-right: none; }
.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}
.stat-label { font-size: 13px; color: var(--steel-light); font-weight: 500; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}
.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.btn-primary:hover { background: var(--accent-hover); color: white; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59,130,246,0.4); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(59,130,246,0.04); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--primary); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: white; }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* === SECTIONS === */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.section-subtitle { color: var(--steel-light); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* === PRODUCT GRID === */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}
.product-card-img {
    aspect-ratio: 1;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 2;
}
.product-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-brand {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}
.product-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent); }
.product-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; font-size: 13px; }
.stars { color: var(--gold); }
.rating-count { color: var(--steel-light); font-size: 12px; }
.product-price {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
}
.price-current { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--primary); }
.price-mrp { font-size: 14px; color: var(--steel-lighter); text-decoration: line-through; }
.price-discount { font-size: 12px; color: var(--success); font-weight: 600; }
.product-card .btn { margin-top: auto; border-radius: var(--radius); }

/* === PRODUCT PAGE === */
.product-detail { padding: 40px 0; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-gallery { position: sticky; top: 100px; }
.product-main-image {
    background: var(--white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    min-height: 400px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.product-main-image img { max-width: 100%; max-height: 450px; object-fit: contain; }
.product-info h1 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; font-size: 14px; color: var(--steel-light); }
.product-detail .product-price { font-size: 14px; margin-bottom: 20px; padding: 18px; background: linear-gradient(135deg, #f0f7ff, #f8fafc); border-radius: var(--radius-lg); border: 1px solid #e0edff; }
.product-detail .price-current { font-size: 30px; }
.gst-note { font-size: 12px; color: var(--steel-light); display: block; margin-top: 6px; }
.product-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.qty-selector { display: flex; align-items: center; border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-selector button { width: 42px; height: 42px; border: none; background: var(--bg); font-size: 18px; cursor: pointer; color: var(--steel); transition: var(--transition); }
.qty-selector button:hover { background: var(--border); }
.qty-selector input { width: 50px; height: 42px; border: none; text-align: center; font-size: 16px; font-weight: 600; font-family: inherit; }
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.specs-table td:first-child { font-weight: 600; color: var(--steel); width: 40%; }

/* === CATEGORY GRID === */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.category-card {
    flex: 0 1 calc(25% - 15px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--accent);
    transition: var(--transition);
}
.category-card:hover .category-icon { background: linear-gradient(135deg, var(--accent), var(--primary-light)); color: white; transform: scale(1.1); }
.category-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.category-card p { font-size: 13px; color: var(--steel-light); line-height: 1.5; }

/* === FEATURES / WHY CHOOSE === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
}
.feature-card:hover .feature-icon { background: linear-gradient(135deg, var(--accent), var(--primary-light)); color: white; }
.feature-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.feature-card p { font-size: 14px; color: var(--steel-light); line-height: 1.6; }

/* === BRANDS STRIP === */
.brands-strip {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.brand-item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--steel-lighter);
    letter-spacing: 2px;
    transition: var(--transition);
}
.brand-item:hover { color: var(--primary); }

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}
.cta-section h2 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === CART === */
.cart-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.cart-table th { background: var(--primary); color: white; padding: 14px 16px; font-size: 12px; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: 0.5px; }
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 60px; height: 60px; object-fit: cover; background: var(--bg); border-radius: var(--radius); }
.cart-summary { background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.cart-summary h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; color: var(--primary); padding-bottom: 14px; border-bottom: 2px solid var(--border); margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-total { font-size: 18px; font-weight: 700; color: var(--primary); border-top: 2px solid var(--primary); padding-top: 14px; margin-top: 10px; }

/* === CHECKOUT === */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--steel); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 14px; transition: var(--transition); font-family: inherit; background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--danger); font-size: 12px; margin-top: 4px; }

/* === FOOTER === */
.site-footer { background: #0a1628; color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; transition: var(--transition); }
.footer-col a:hover { color: white; padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* === PAGE HEADERS === */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%); color: white; padding: 48px 0; }
.page-header h1 { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 8px; }
.page-content { padding: 50px 0; }
.page-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--primary); margin: 30px 0 12px; }
.page-content h3 { font-size: 18px; color: var(--text); margin: 24px 0 10px; }
.page-content p { margin-bottom: 14px; line-height: 1.7; color: var(--text-light); }
.page-content ul, .page-content ol { margin: 10px 0 20px 24px; color: var(--text-light); }
.page-content li { margin-bottom: 6px; line-height: 1.6; }

/* === BREADCRUMB === */
.breadcrumb { padding: 14px 0; font-size: 13px; color: var(--steel-light); }
.breadcrumb a { color: var(--steel-light); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* === PAGINATION === */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); font-size: 14px; font-weight: 500; border: 1px solid var(--border); color: var(--steel); transition: var(--transition); }
.pagination a:hover { background: var(--accent); color: white; border-color: var(--accent); }
.pagination .active { background: var(--primary); color: white; border-color: var(--primary); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-card { background: var(--white); padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 16px; display: flex; gap: 14px; transition: var(--transition); }
.contact-info-card:hover { box-shadow: var(--shadow-md); }
.contact-info-card .icon { width: 46px; height: 46px; background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); flex-shrink: 0; }

/* === PAYMENT PAGE === */
.payment-container { max-width: 500px; margin: 40px auto; background: var(--white); border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-md); text-align: center; border: 1px solid var(--border); }
.upi-qr { max-width: 250px; margin: 20px auto; }
.payment-timer { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; color: var(--accent); margin: 10px 0; }

/* === STATUS PAGES === */
.status-page { text-align: center; padding: 80px 0; }
.status-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 36px; }
.status-icon.success { background: #dcfce7; color: var(--success); }
.status-icon.failed { background: #fee2e2; color: var(--danger); }

/* === TRACK ORDER === */
.track-form { max-width: 500px; margin: 0 auto; background: var(--white); padding: 30px; border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 1px solid var(--border); }
.order-timeline { padding: 20px 0; }
.timeline-step { display: flex; gap: 14px; padding-bottom: 24px; position: relative; }
.timeline-step::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border); }
.timeline-step:last-child::before { display: none; }
.timeline-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; color: white; flex-shrink: 0; }
.timeline-step.active .timeline-dot { background: var(--success); }
.timeline-step.current .timeline-dot { background: var(--accent); }

/* === ALERTS === */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* === ADMIN === */
.admin-sidebar { width: 240px; background: #0a1628; min-height: 100vh; position: fixed; left: 0; top: 0; }
.admin-sidebar .logo { padding: 20px; color: white; font-size: 18px; }
.admin-nav { list-style: none; padding: 10px 0; }
.admin-nav a { display: block; padding: 12px 20px; color: rgba(255,255,255,0.6); font-size: 14px; border-left: 3px solid transparent; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.04); color: white; border-left-color: var(--accent); }
.admin-content { margin-left: 240px; padding: 20px 30px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.admin-table th { background: var(--bg); padding: 12px 14px; font-size: 11px; text-transform: uppercase; color: var(--steel); text-align: left; letter-spacing: 0.5px; }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-table tr:hover { background: var(--bg); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-default { background: var(--bg-alt); color: var(--steel); }

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .header-main { flex-wrap: wrap; padding: 10px 0; }
    .logo { font-size: 18px; letter-spacing: 2px; }
    .header-actions { gap: 14px; font-size: 13px; }
    .header-actions a { font-size: 13px; }
    .cart-count { width: 18px; height: 18px; font-size: 10px; }
    .search-bar { order: 3; max-width: 100%; flex-basis: 100%; margin-top: 8px; }
    .search-bar input { padding: 10px 42px 10px 14px; font-size: 13px; }
    .menu-toggle { display: block; }
    .main-nav ul { display: none; flex-direction: column; }
    .main-nav.open ul { display: flex; }
    .hero { padding: 50px 0; }
    .hero h1 { font-size: 32px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .product-layout { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .checkout-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .product-card-body { padding: 12px; }
    .product-card-title { font-size: 13px; }
    .admin-sidebar { display: none; }
    .admin-content { margin-left: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 28px; }
    .brands-grid { gap: 24px; }
    .brand-item { font-size: 16px; }
}
