/* GenZ Accessories storefront — extends shared style.css */

.shop-hero {
  background: linear-gradient(150deg, #4c1d95 0%, #db2777 55%, #f59e0b 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.shop-hero .container { position: relative; z-index: 1; }
.shop-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.shop-hero p { font-size: 16.5px; color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 auto 28px; }
.shop-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Cart trigger in navbar */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: none;
  cursor: pointer;
}
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent); color: var(--dark);
  font-size: 10.5px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Product grid */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-visual {
  height: 170px; display: flex; align-items: center; justify-content: center; position: relative; color: var(--white);
}
.product-visual svg { opacity: 0.9; }
.product-badge {
  position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.92);
}
.product-badge.New { color: #2563eb; }
.product-badge.Bestseller { color: #d97706; }
.product-badge.Sale { color: #dc2626; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-category { font-size: 11.5px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.product-name { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.product-desc { font-size: 13px; color: var(--gray); flex: 1; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.product-price { font-size: 18px; font-weight: 800; font-family: var(--font-head); }
.product-price-original { font-size: 13px; color: var(--gray-light); text-decoration: line-through; }
.stock-tag { font-size: 11.5px; color: var(--success); font-weight: 600; }
.stock-tag.low { color: #d97706; }
.stock-tag.out { color: var(--danger); }

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); z-index: 400; display: none;
}
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100vh;
  background: var(--white); z-index: 401; transition: right 0.3s ease;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.open { right: 0; }
.cart-header { padding: 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-size: 18px; }
.cart-close { border: none; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-visual { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; }
.cart-item-price { font-size: 13px; color: var(--gray); }
.qty-control { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-control button {
  width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.qty-control span { font-size: 13.5px; font-weight: 600; min-width: 14px; text-align: center; }
.cart-item-remove { font-size: 12px; color: var(--danger); background: none; border: none; cursor: pointer; margin-left: auto; align-self: flex-start; }
.cart-footer { padding: 20px 22px; border-top: 1px solid var(--border); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 14px; font-size: 16px; }
.cart-empty { padding: 60px 20px; text-align: center; color: var(--gray); }

/* Shop About section */
.shop-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.shop-about-copy p { color: var(--gray); margin-bottom: 16px; font-size: 15.5px; }
.shop-about-visual {
  background: linear-gradient(150deg, #4c1d95 0%, #db2777 55%, #f59e0b 100%);
  border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px;
  color: var(--white);
}
.shop-about-visual .stat { display: flex; align-items: baseline; gap: 10px; }
.shop-about-visual .stat strong { font-size: 32px; font-family: var(--font-head); }
.shop-about-visual .stat span { font-size: 14px; color: rgba(255,255,255,0.85); }

/* Customer reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}
.review-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.review-quote { font-size: 14.5px; color: var(--dark-soft); line-height: 1.55; flex: 1; }
.review-person { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white); font-weight: 800; font-size: 14px; font-family: var(--font-head);
}
.review-name { font-size: 13.5px; font-weight: 700; }
.review-product { font-size: 12px; color: var(--gray-light); }

/* Footer socials (shop) */
.social-btn.tiktok { background: #000000; color: var(--white); }
.social-btn.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); color: var(--white); }
.footer-grid .social-row { margin: 0; }
.footer-grid .social-btn { flex: 0 0 auto; padding: 6px 14px; white-space: nowrap; }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-about-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-hero h1 { font-size: 30px; }
}
