:root {
  --bg-dark: #0f0f12;
  --bg-card: rgba(26, 26, 32, 0.85);
  --gold-color: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --text-light: #f5f5f5;
  --text-dim: #aaaaaa;
  --wa-green: #25d366;
  --notice-bg: rgba(43, 37, 16, 0.9);
  --border-color: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

.margin-top { margin-top: 30px; }
.margin-bottom { margin-bottom: 40px; }
.text-center { text-align: center; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 5px var(--gold-glow); }
  50% { box-shadow: 0 0 15px var(--gold-color); }
  100% { box-shadow: 0 0 5px var(--gold-glow); }
}

.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-pulse { animation: pulseGlow 3s infinite; }

.announcement-bar {
  background: linear-gradient(90deg, #d4af37, #f3e5ab, #d4af37);
  color: #000;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-size: 13px;
}

.navbar {
  background-color: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { text-decoration: none; }
.logo h2 { color: #fff; font-size: 22px; letter-spacing: 1px; }
.logo span { color: var(--gold-color); }
.logo small { display: block; font-size: 11px; color: var(--text-dim); }

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-color);
}

.cart-icon {
  position: relative;
  font-size: 20px;
  cursor: pointer;
  color: var(--gold-color);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #e63946;
  color: #fff;
  font-size: 10px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&q=80&w=1200') center/cover no-repeat;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: var(--gold-color);
  color: #000;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.hero h1 { font-size: 38px; color: #fff; margin: 15px 0 10px; }
.hero p { color: #ddd; font-size: 16px; margin-bottom: 20px; }

.notice-box {
  background: var(--notice-bg);
  border-left: 4px solid var(--gold-color);
  padding: 15px;
  border-radius: 6px;
  color: #ffeb99;
  font-size: 14px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-gold {
  background: var(--gold-color);
  color: #000;
}

.glow-btn:hover {
  box-shadow: 0 0 15px var(--gold-color);
  transform: translateY(-2px);
}

.btn-add-cart {
  width: 100%;
  background: #25252b;
  color: var(--gold-color);
  margin-top: 10px;
  border: 1px solid var(--gold-color);
}

.btn-add-cart:hover {
  background: var(--gold-color);
  color: #000;
}

.featured, .shop-section { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 { color: var(--gold-color); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.product-card {
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: 0.3s;
}

.product-card:hover {
  border-color: var(--gold-color);
  transform: translateY(-5px);
}

.img-wrapper {
  position: relative;
  height: 220px;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 3px;
  color: #000;
}

.badge-islamic { background: #d4af37; }
.badge-chitrali { background: #e0a96d; }
.badge-festive { background: #e63946; color: #fff; }

.product-info { padding: 15px; }
.product-info h3 { font-size: 16px; margin-bottom: 5px; }
.product-info .category { color: var(--text-dim); font-size: 12px; }
.product-info .price { font-size: 18px; font-weight: bold; color: var(--gold-color); margin-top: 8px; }
.product-info .price small { font-size: 11px; color: var(--text-dim); }

.page-header {
  background: #000;
  padding: 35px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 { color: var(--gold-color); }

.shop-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.shop-controls input, .shop-controls select {
  padding: 10px;
  background: #1a1a20;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 4px;
}

.shop-controls input { flex: 1; }

.cart-modal-overlay, .checkout-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 1000;
}

.cart-modal-overlay { justify-content: flex-end; }
.checkout-modal-overlay { justify-content: center; align-items: center; }

.cart-drawer {
  background: #141418;
  width: 100%;
  max-width: 380px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.cart-header button { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; margin: 15px 0; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #1e1e24;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.cart-note { font-size: 11px; color: var(--text-dim); margin-bottom: 15px; }

.btn-checkout, .btn-whatsapp-submit {
  width: 100%;
  background: var(--wa-green);
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.checkout-box {
  background: #141418;
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 420px;
  border: 1px solid var(--gold-color);
}

.checkout-box .sub-text { color: var(--gold-color); font-size: 13px; margin-bottom: 15px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; margin-bottom: 4px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 8px; background: #202026; border: 1px solid var(--border-color); color: #fff; border-radius: 4px;
}

.btn-cancel {
  width: 100%; background: #444; color: #fff; margin-top: 8px; border: none; padding: 10px; border-radius: 4px; cursor: pointer;
}

.glass-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.price-highlights {
  display: flex;
  gap: 20px;
}

.price-box {
  flex: 1;
  background: #1e1e24;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  border: 1px solid var(--gold-color);
}

.price-tag { font-size: 22px; font-weight: bold; color: var(--gold-color); margin: 5px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.wa-contact-box {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid var(--wa-green);
  padding: 15px;
  border-radius: 6px;
}

.wa-icon { font-size: 32px; color: var(--wa-green); }
.wa-link { color: var(--wa-green); font-weight: bold; font-size: 18px; text-decoration: none; }

footer {
  background: #08080a;
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 30px 0;
}

.footer-col h3, .footer-col h4 { color: var(--gold-color); margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col a, .footer-col p { color: var(--text-dim); text-decoration: none; font-size: 13px; line-height: 1.6; }

.footer-bottom {
  text-align: center;
  padding: 15px;
  background: #000;
  font-size: 12px;
  color: #666;
}

@media (max-width: 768px) {
  .contact-grid, .price-highlights, .shop-controls { flex-direction: column; grid-template-columns: 1fr; }
}