/* ===== TechCart - Modern E-Commerce Styles ===== */
:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-hover: #c73650;
  --highlight: #0f3460;
  --text: #333;
  --text-light: #666;
  --text-muted: #999;
  --bg: #f8f9fa;
  --white: #fff;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; transition: var(--transition); }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.navbar-brand span { color: var(--accent); }
.navbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.navbar-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.navbar-links a:hover { color: var(--white); }
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}
.navbar-links a:hover::after { width: 100%; }
.cart-icon {
  position: relative;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-toggle { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; background: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 40%, var(--highlight) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 6s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15,52,96,0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroPulse 8s ease-in-out infinite reverse;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.hero-badge {
  display: inline-block;
  background: rgba(233,69,96,0.2);
  color: var(--accent);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(233,69,96,0.3);
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 35px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(233,69,96,0.4); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { background: var(--secondary); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== FEATURED CAROUSEL ===== */
.featured-section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-header .underline {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  min-width: 100%;
  padding: 20px;
}
.carousel-card {
  background: linear-gradient(135deg, var(--secondary), var(--highlight));
  border-radius: var(--radius);
  padding: 50px;
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--white);
  min-height: 320px;
}
.carousel-card-img {
  flex: 0 0 280px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-card-img img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card-info { flex: 1; }
.carousel-card-info h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.carousel-card-info p { color: rgba(255,255,255,0.7); margin-bottom: 20px; line-height: 1.7; }
.carousel-card-info .price { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}
.carousel-btn:hover { background: var(--accent); color: var(--white); }
.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

/* ===== CATEGORIES ===== */
.categories-section { padding: 60px 0; background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}
.category-card {
  text-align: center;
  padding: 30px 15px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.category-emoji { font-size: 2.5rem; margin-bottom: 10px; }
.category-name { font-weight: 600; font-size: 0.9rem; color: var(--text); }

/* ===== PRODUCT GRID ===== */
.products-section { padding: 80px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-category {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.product-name {
  font-size: 1rem;
  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-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.product-price .old-price {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.product-actions {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
}
.product-actions .btn { flex: 1; justify-content: center; font-size: 0.85rem; padding: 10px 14px; }
.btn-cart { background: var(--primary); color: var(--white); }
.btn-cart:hover { background: var(--highlight); }
.btn-view { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-view:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== TRUST BADGES ===== */
.trust-section {
  padding: 60px 0;
  background: var(--white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.trust-item {
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--transition);
}
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-icon { font-size: 2.5rem; margin-bottom: 12px; }
.trust-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; color: var(--primary); }
.trust-desc { font-size: 0.85rem; color: var(--text-light); }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 15px; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== DETAIL PAGE ===== */
.detail-page { padding: 40px 0 80px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding: 20px 0; }
.detail-category {
  display: inline-block;
  background: rgba(233,69,96,0.1);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.detail-name { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 15px; line-height: 1.3; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.detail-desc { color: var(--text-light); line-height: 1.8; margin-bottom: 30px; font-size: 1rem; }
.detail-btns { display: flex; gap: 15px; margin-bottom: 30px; }
.detail-btns .btn { flex: 1; justify-content: center; padding: 14px 24px; }
.detail-meta { border-top: 1px solid var(--border); padding-top: 20px; }
.detail-meta p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 8px; }
.detail-meta strong { color: var(--text); }
.breadcrumb {
  padding: 20px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* ===== CART PAGE ===== */
.cart-page { padding: 40px 0 80px; min-height: 60vh; }
.cart-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 30px; color: var(--primary); }
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 20px; }
.cart-empty h3 { font-size: 1.4rem; color: var(--text); margin-bottom: 10px; }
.cart-empty p { color: var(--text-light); margin-bottom: 25px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; margin-bottom: 4px; color: var(--text); }
.cart-item-price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-btn {
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--primary); color: var(--white); }
.qty-val {
  width: 45px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 36px;
  line-height: 36px;
}
.cart-item-remove {
  background: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}
.cart-item-remove:hover { color: var(--accent); background: rgba(233,69,96,0.1); }
.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.cart-summary h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: var(--primary); }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.95rem;
}
.summary-row.total {
  border-top: 2px solid var(--border);
  margin-top: 10px;
  padding-top: 15px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.cart-summary .btn { margin-top: 20px; }

/* ===== CHECKOUT PAGE ===== */
.checkout-page { padding: 40px 0 80px; min-height: 60vh; }
.checkout-page h1 { font-size: 2rem; font-weight: 700; margin-bottom: 30px; color: var(--primary); }
.checkout-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
}
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}
.step.active { color: var(--accent); }
.step.done { color: var(--primary); }
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.step.active .step-num { background: var(--accent); color: var(--white); }
.step.done .step-num { background: var(--primary); color: var(--white); }
.step-line {
  width: 50px;
  height: 2px;
  background: var(--border);
}
.step-line.done { background: var(--primary); }

.checkout-panel {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.checkout-panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.checkout-panel > p {
  color: var(--text-light);
  margin-bottom: 25px;
  font-size: 0.95rem;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--accent); }
.form-msg {
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}
.form-msg.error { color: var(--accent); display: block; }
.form-msg.success { color: #4CAF50; display: block; }
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.otp-inputs input {
  width: 50px;
  height: 55px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}
.otp-inputs input:focus { border-color: var(--accent); }

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.payment-option:hover { border-color: var(--accent); background: rgba(233,69,96,0.03); }
.payment-option.selected { border-color: var(--accent); background: rgba(233,69,96,0.05); }
.payment-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.payment-icon.jazzcash { background: #e94560; color: white; }
.payment-icon.easypaisa { background: #4caf50; color: white; }
.payment-name { font-weight: 600; font-size: 1.05rem; }
.payment-desc { font-size: 0.8rem; color: var(--text-light); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 40px 0 80px; }
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  box-shadow: var(--shadow);
}
.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin: 30px 0 12px;
}
.legal-content p, .legal-content li {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.legal-content ul { padding-left: 20px; margin-bottom: 15px; }
.legal-content ul li { margin-bottom: 8px; }

/* ===== TOAST NOTIFICATION ===== */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--accent);
}
.toast.success { border-left-color: #4CAF50; }
.toast-icon { font-size: 1.3rem; }
.toast-text { font-size: 0.9rem; font-weight: 500; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100px); }
}

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .mobile-toggle { display: block; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
  }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 60px 0; }
  .carousel-card { flex-direction: column; padding: 30px; }
  .carousel-card-img { flex: 0 0 200px; width: 100%; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .detail-btns { flex-direction: column; }
  .checkout-panel { padding: 25px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
}
