:root {
  --red: #cc1a1a;
  --red-dark: #a01212;
  --red-light: #f5e0e0;
  --orange: #e05a00;
  --dark: #1a1a2e;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* NAVBAR */
.navbar { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 64px; max-width: 1200px; margin: 0 auto; }
.navbar-brand { font-weight: 900; font-size: 1.3rem; color: var(--red); display: flex; align-items: center; gap: 8px; }
.navbar-brand svg { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--dark); transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; display: block; }

/* HERO */
.hero { background: linear-gradient(135deg, #fff0f0 0%, #ffe8e8 50%, #fff 100%); padding: 90px 20px; text-align: center; border-bottom: 1px solid var(--red-light); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(204,26,26,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(204,26,26,0.04) 1px, transparent 1px); background-size: 40px 40px; }
.hero .container { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(204,26,26,0.1); color: var(--red); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 20px; color: var(--dark); }
.hero h1 span { color: var(--red); }
.hero p { font-size: 1.1rem; color: var(--gray); max-width: 560px; margin: 0 auto 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(204,26,26,0.3); }
.btn-outline { background: #fff; color: var(--dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-success { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-success:hover { background: #15803d; }

/* STATS BAR */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 28px 20px; }
.stats-bar .container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item .value { font-size: 2.2rem; font-weight: 900; color: var(--dark); }
.stat-item .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); font-weight: 600; margin-top: 4px; }
.stat-icon { font-size: 1.6rem; margin-bottom: 8px; }

/* SECTION */
.section { padding: 72px 20px; }
.section-alt { background: #fff; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 12px; }
.section-header h2 { font-size: 1.9rem; font-weight: 900; }
.section-header p { color: var(--gray); margin-top: 4px; }
.section-link { color: var(--red); font-weight: 700; font-size: 0.9rem; }
.section-link:hover { text-decoration: underline; }

/* PRODUCT CARDS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-color: var(--red); }
.product-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.badge-sale { position: absolute; top: 12px; left: 12px; background: var(--orange); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.badge-featured { position: absolute; top: 12px; right: 12px; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }
.badge-type { position: absolute; bottom: 12px; left: 12px; background: rgba(0,0,0,0.7); color: #fff; padding: 3px 9px; border-radius: 5px; font-size: 0.7rem; font-weight: 600; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.product-cat { font-size: 0.72rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.product-rating { font-size: 0.78rem; color: #f59e0b; font-weight: 600; }
.product-name { font-weight: 800; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; color: var(--dark); }
.product-desc { font-size: 0.82rem; color: var(--gray); flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.product-price { display: flex; align-items: baseline; gap: 6px; }
.price-current { font-size: 1.2rem; font-weight: 900; color: var(--red); }
.price-original { font-size: 0.82rem; color: var(--gray); text-decoration: line-through; }
.sales-count { font-size: 0.72rem; color: var(--gray); }

/* CATEGORIES */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.category-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; text-align: center; cursor: pointer; transition: all .2s; display: block; }
.category-card:hover { border-color: var(--red); background: var(--red-light); transform: translateY(-2px); }
.cat-icon { font-size: 2.4rem; margin-bottom: 10px; }
.cat-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 4px; }
.cat-count { font-size: 0.76rem; color: var(--gray); }

/* SEARCH BAR */
.search-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 20px; }
.search-bar .container { max-width: 1200px; margin: 0 auto; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.search-input-wrap { flex: 1; min-width: 220px; position: relative; }
.search-input-wrap input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.9rem; outline: none; transition: border-color .2s; }
.search-input-wrap input:focus { border-color: var(--red); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray); width: 18px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { padding: 8px 16px; border-radius: 50px; border: 1px solid var(--border); font-size: 0.82rem; font-weight: 600; cursor: pointer; background: #fff; color: var(--gray); transition: all .2s; }
.filter-tab.active, .filter-tab:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* PAGE HEADER */
.page-header { background: linear-gradient(135deg, #fff0f0, #fff); padding: 48px 20px; border-bottom: 1px solid var(--red-light); }
.page-header .container { max-width: 1200px; margin: 0 auto; }
.page-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.page-header p { color: var(--gray); }
.breadcrumb { font-size: 0.82rem; color: var(--gray); margin-bottom: 12px; }
.breadcrumb a { color: var(--red); }

/* PRODUCT DETAIL */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 60px 20px; max-width: 1100px; margin: 0 auto; }
.detail-img img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.detail-info h1 { font-size: 1.7rem; font-weight: 900; margin-bottom: 12px; }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.stars { color: #f59e0b; font-size: 1rem; }
.detail-desc { color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.detail-price-box { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.detail-price { font-size: 2rem; font-weight: 900; color: var(--red); }
.detail-orig-price { color: var(--gray); text-decoration: line-through; font-size: 1rem; margin-left: 8px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: var(--red-light); color: var(--red); padding: 4px 10px; border-radius: 50px; font-size: 0.76rem; font-weight: 600; }
.detail-meta-list { list-style: none; margin-bottom: 24px; }
.detail-meta-list li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.detail-meta-list li strong { min-width: 90px; color: var(--dark); }
.detail-meta-list li span { color: var(--gray); }

/* CHECKOUT & FORMS */
.form-page { max-width: 680px; margin: 0 auto; padding: 48px 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow); }
.card h2, .card h3 { font-weight: 800; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--dark); }
.form-label span { color: var(--red); }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; outline: none; transition: border-color .2s; font-family: inherit; }
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(204,26,26,0.1); }
.form-hint { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }

/* JAZZCASH BOX */
.jazzcash-box { background: linear-gradient(135deg, #fff0f0, #ffe8e8); border: 2px solid var(--red); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.jazzcash-box h3 { color: var(--red); font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.jc-step { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(204,26,26,0.15); }
.jc-step:last-child { border-bottom: none; }
.jc-num { width: 28px; height: 28px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.jc-text { font-size: 0.88rem; color: var(--dark); }
.jc-text strong { color: var(--red); font-size: 1rem; }
.jc-account { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; margin: 12px 0; }
.jc-account .number { font-size: 1.5rem; font-weight: 900; color: var(--red); }
.jc-account .name { font-size: 0.82rem; color: var(--gray); }

/* ALERT */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.88rem; font-weight: 600; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #16a34a; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.alert-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1d4ed8; }

/* ORDER SUMMARY */
.order-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 24px; }
.order-summary h3 { font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.order-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; }
.order-row.total { font-weight: 800; font-size: 1rem; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.order-row .price { color: var(--red); font-weight: 700; }

/* DOWNLOAD */
.download-success { text-align: center; padding: 60px 20px; }
.success-icon { width: 80px; height: 80px; background: #f0fdf4; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 2.5rem; }
.download-card { background: #fff; border: 2px solid #16a34a; border-radius: var(--radius); padding: 28px; max-width: 480px; margin: 0 auto; }

/* LEGAL PAGES */
.legal-page { max-width: 780px; margin: 0 auto; padding: 60px 20px; }
.legal-page h1 { font-size: 2.2rem; font-weight: 900; color: var(--red); margin-bottom: 6px; }
.legal-page .updated { color: var(--gray); margin-bottom: 36px; font-size: 0.88rem; }
.legal-section { margin-bottom: 36px; }
.legal-section h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--red-light); }
.legal-section p, .legal-section li { color: var(--gray); line-height: 1.85; font-size: 0.93rem; }
.legal-section ul { padding-left: 20px; margin-top: 8px; }
.legal-section li { margin-bottom: 6px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; transition: border-color .2s; }
.contact-card:hover { border-color: var(--red); }
.contact-icon { width: 60px; height: 60px; background: var(--red-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; }
.contact-card h3 { font-weight: 800; margin-bottom: 6px; }
.contact-card .number { font-size: 1.8rem; font-weight: 900; color: var(--red); }
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; margin-bottom: 6px; }
.faq-a { color: var(--gray); font-size: 0.88rem; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 20px 24px; margin-top: 80px; }
footer .container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { color: var(--red); font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-tagline { font-size: 0.85rem; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-jc .label { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.footer-jc .number { font-size: 1.3rem; font-weight: 900; color: var(--red); }
.footer-jc .name { font-size: 0.78rem; }
footer h4 { color: rgba(255,255,255,0.9); font-size: 0.78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 18px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: color .2s; }
footer ul li a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .stats-bar .container { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
}
