/* Mustaqil Store - Main Stylesheet */
@import url('https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #1B3A4B;
  --primary-light: #2D5F7C;
  --primary-lighter: #3A7CA5;
  --accent: #E8A838;
  --accent-hover: #D4952E;
  --bg: #FAFAF7;
  --card-bg: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --danger: #EF4444;
  --hero-gradient: linear-gradient(135deg, #1B3A4B 0%, #2D5F7C 50%, #3A7CA5 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 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', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

.navbar-logo svg {
  width: 36px;
  height: 36px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s var(--transition);
  position: relative;
}

.navbar-links a:hover {
  color: var(--primary-light);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--transition);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.cart-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.cart-btn:active {
  transform: scale(0.97);
}

.cart-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: var(--hero-gradient);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: border-color 0.2s var(--transition), background 0.2s var(--transition);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual .blueprint-pattern {
  width: 380px;
  height: 300px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  position: relative;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}

.blueprint-line {
  position: absolute;
  background: rgba(255,255,255,0.15);
}

.blueprint-line.h1 { top: 20%; left: 10%; width: 80%; height: 1px; }
.blueprint-line.h2 { top: 50%; left: 5%; width: 90%; height: 1px; }
.blueprint-line.h3 { top: 80%; left: 15%; width: 70%; height: 1px; }
.blueprint-line.v1 { top: 10%; left: 30%; width: 1px; height: 80%; }
.blueprint-line.v2 { top: 15%; left: 70%; width: 1px; height: 70%; }

.blueprint-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.blueprint-dot:nth-child(6) { top: 20%; left: 30%; }
.blueprint-dot:nth-child(7) { top: 50%; left: 70%; }
.blueprint-dot:nth-child(8) { top: 80%; left: 30%; }
.blueprint-dot:nth-child(9) { top: 50%; left: 30%; }
.blueprint-dot:nth-child(10) { top: 20%; left: 70%; }

/* ===== FEATURED CAROUSEL ===== */
.section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card {
  min-width: calc(33.333% - 16px);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
  cursor: pointer;
}

.carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.carousel-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.carousel-card-body {
  padding: 20px;
}

.carousel-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.carousel-card-body .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.carousel-card-body .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.2s var(--transition), box-shadow 0.2s var(--transition);
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.carousel-nav.prev { left: -12px; }
.carousel-nav.next { right: -12px; }

.carousel-nav svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 12px;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition), border-color 0.3s var(--transition);
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.category-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

/* ===== PRODUCT GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s var(--transition), box-shadow 0.3s var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.product-card-body {
  padding: 16px;
}

.product-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-body .product-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-footer .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.add-cart-btn {
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.add-cart-btn:hover {
  background: var(--primary-light);
}

.add-cart-btn:active {
  transform: scale(0.95);
}

/* ===== TRUST BADGES ===== */
.trust-section {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(27, 58, 75, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.trust-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.trust-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.65);
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary-light);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 8px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px 0 64px;
}

.product-gallery {
  position: sticky;
  top: 88px;
}

.product-gallery img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-info h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-info .product-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-info .price-large {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.product-info .price-large .original-price {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 12px;
}

.product-info .description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
}

.product-features {
  list-style: none;
  margin-bottom: 32px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text);
}

.product-features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--success);
  flex-shrink: 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-flex;
}

.quantity-selector button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  transition: background 0.2s;
}

.quantity-selector button:hover {
  background: var(--bg);
}

.quantity-selector input {
  width: 48px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

.product-actions {
  display: flex;
  gap: 16px;
}

.btn-add-cart {
  flex: 1;
  padding: 14px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

.btn-buy-now {
  flex: 1;
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.btn-buy-now:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-buy-now:active {
  transform: scale(0.97);
}

/* ===== CART PAGE ===== */
.cart-page {
  padding: 32px 0 64px;
}

.cart-page h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: var(--shadow-md);
}

.cart-item-img {
  width: 120px;
  height: 90px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-info .item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.remove-item {
  color: var(--danger);
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.remove-item:hover {
  opacity: 0.7;
}

.cart-summary {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  position: sticky;
  top: 88px;
}

.cart-summary h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
}

.summary-row.total {
  border-top: 2px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

.summary-row.total .amount {
  color: var(--primary);
}

.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  margin-top: 20px;
  transition: background 0.2s var(--transition), transform 0.15s var(--transition);
}

.btn-checkout:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-checkout:active {
  transform: scale(0.97);
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty svg {
  width: 80px;
  height: 80px;
  stroke: var(--border);
  margin-bottom: 20px;
}

.cart-empty h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--transition), visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--bg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--primary-light);
}

.btn-modal {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.btn-modal:hover {
  background: var(--primary-light);
}

.btn-modal:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
}

.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.otp-inputs input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.otp-inputs input:focus {
  border-color: var(--primary-light);
}

/* ===== PAYMENT SECTION ===== */
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-method {
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s var(--transition);
}

.payment-method:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.payment-method.selected {
  border-color: var(--accent);
  background: rgba(232, 168, 56, 0.05);
}

.payment-method .method-logo {
  font-size: 28px;
  margin-bottom: 8px;
}

.payment-method .method-name {
  font-size: 15px;
  font-weight: 600;
}

/* ===== POLICY PAGES ===== */
.policy-page {
  padding: 32px 0 64px;
}

.policy-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.policy-content {
  max-width: 800px;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text);
}

.policy-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--text);
}

.policy-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 12px;
}

.policy-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.policy-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s var(--transition), fadeOut 0.3s var(--transition) 2.7s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ===== FADE IN UP ANIMATION ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .carousel-card {
    min-width: calc(50% - 12px);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-gallery {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 48px 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .carousel-card {
    min-width: calc(100% - 0px);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .category-item {
    padding: 16px 8px;
  }

  .category-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-card-img {
    height: 150px;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-card-body h3 {
    font-size: 14px;
  }

  .product-card-footer .price {
    font-size: 15px;
  }

  .add-cart-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .cart-item {
    flex-direction: column;
  }

  .cart-item-img {
    width: 100%;
    height: 160px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .policy-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quantity-selector {
    width: 100%;
    justify-content: center;
  }
}
