:root {
  --primary: #0071bc;
  --primary-dark: #005a96;
  --primary-light: #3399d8;
  --secondary: #00a65a;
  --accent: #f0b429;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #1a202c;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --error: #dc3545;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

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

.search-btn, .cart-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.search-btn:hover, .cart-btn:hover {
  background: var(--background);
  color: var(--primary);
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--error);
  color: white;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.user-menu:hover {
  background: var(--background);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
}

.user-level {
  font-size: 12px;
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(0,113,188,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,113,188,0.5);
}

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

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(0,113,188,0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 50%, #f8fafc 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230071bc' fill-opacity='0.05' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,181.3C672,192,768,160,864,149.3C960,139,1056,149,1152,154.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  opacity: 0.6;
}

.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  overflow: hidden;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,218.7C672,235,768,245,864,234.7C960,224,1056,192,1152,176C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 8s ease-in-out infinite;
}

.wave:nth-child(2) {
  bottom: 10px;
  opacity: 0.5;
  animation: wave 6s ease-in-out infinite reverse;
}

.wave:nth-child(3) {
  bottom: 20px;
  opacity: 0.3;
  animation: wave 10s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

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

.hero-search {
  background: white;
  padding: 8px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  gap: 8px;
}

.hero-search input {
  flex: 1;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  outline: none;
}

.hero-search input::placeholder {
  color: var(--text-secondary);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 20%;
  left: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 50%;
  right: -20px;
  animation-delay: 1s;
}

.floating-card.card-3 {
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.floating-card .card-value {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.floating-card .card-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.card-icon.green { background: rgba(0,166,90,0.1); color: var(--secondary); }
.card-icon.blue { background: rgba(0,113,188,0.1); color: var(--primary); }
.card-icon.orange { background: rgba(240,180,41,0.1); color: var(--accent); }

.hero-image {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,181.3C672,192,768,160,864,149.3C960,139,1056,149,1152,154.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 12s linear infinite;
}

.hero-image-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.hero-image-content svg {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.categories {
  background: white;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.category-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--background);
  transition: var(--transition);
  cursor: pointer;
}

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

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-card span {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 600;
}

.merchants {
  background: linear-gradient(180deg, var(--background) 0%, white 100%);
}

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

.merchant-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.merchant-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transform: scaleX(0);
  transition: var(--transition);
}

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

.merchant-card:hover::before {
  transform: scaleX(1);
}

.merchant-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 32px;
}

.merchant-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.merchant-category {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.merchant-rebate {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rebate-badge {
  background: linear-gradient(135deg, var(--secondary) 0%, #00c76a 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.rebate-badge.hot {
  background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
}

.merchant-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tag {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--background);
  color: var(--text-secondary);
}

.merchant-action {
  position: absolute;
  bottom: 24px;
  right: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.merchant-card:hover .merchant-action {
  opacity: 1;
  transform: translateY(0);
}

.brands-section {
  background: white;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.brand-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  group: hover;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.brand-card:hover img {
  transform: scale(1.1);
}

.brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: white;
}

.brand-overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.brand-overlay span {
  font-size: 13px;
  opacity: 0.8;
}

.coupons-section {
  background: linear-gradient(180deg, white 0%, var(--background) 100%);
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coupon-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.coupon-header {
  padding: 20px;
  display: flex;
  gap: 16px;
  border-bottom: 1px dashed var(--border);
}

.coupon-discount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.coupon-discount span {
  font-size: 1rem;
}

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

.coupon-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.coupon-body {
  padding: 16px 20px;
}

.coupon-code {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--background);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.coupon-code code {
  flex: 1;
  font-family: monospace;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2px;
}

.copy-btn {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}

.copy-btn:hover {
  text-decoration: underline;
}

.coupon-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.coupon-expiry {
  display: flex;
  align-items: center;
  gap: 4px;
}

.coupon-remaining {
  color: var(--error);
  font-weight: 600;
}

.coupon-footer {
  padding: 12px 20px;
  background: var(--background);
}

.coupon-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.products-section {
  background: var(--background);
}

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

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--background);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.badge-new { background: var(--secondary); }
.badge-hot { background: var(--error); }
.badge-sale { background: var(--accent); }

.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-wishlist:hover {
  color: var(--error);
  transform: scale(1.1);
}

.product-content {
  padding: 16px;
}

.product-merchant {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.product-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

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

.price-original {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.product-rebate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,166,90,0.1);
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.app-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,181.3C672,192,768,160,864,149.3C960,139,1056,149,1152,154.7C1248,160,1344,160,1392,160L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave 12s linear infinite;
}

.app-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.app-text p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 450px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: white;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  transition: var(--transition);
}

.app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.app-btn svg {
  width: 24px;
  height: 24px;
}

.app-btn span {
  text-align: left;
}

.app-btn small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.8;
}

.app-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 40px 60px rgba(0,0,0,0.4);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-header {
  padding: 16px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.phone-header h4 {
  font-size: 14px;
}

.phone-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-card {
  background: var(--background);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  gap: 12px;
}

.phone-card-img {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: 8px;
}

.phone-card-text {
  flex: 1;
}

.phone-card-text h5 {
  font-size: 13px;
  margin-bottom: 4px;
}

.phone-card-text p {
  font-size: 11px;
  color: var(--secondary);
}

.footer {
  background: var(--text-primary);
  color: white;
  padding: 80px 0 0;
}

.footer-wave {
  margin-top: -80px;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%231a202c' d='M0,80L1440,80L1440,40C1200,60,960,20,720,30C480,40,240,60,0,40L0,80Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

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

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: white;
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,60L1440,60L1440,30C1200,40,960,20,720,25C480,30,240,40,0,30L0,60Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
  background-size: cover;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumb a {
  opacity: 0.8;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span {
  opacity: 0.6;
}

.filter-bar {
  background: white;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
}

.filter-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.filter-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  background: var(--background);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.filter-tag:hover, .filter-tag.active {
  background: var(--primary);
  color: white;
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-sort label {
  font-size: 14px;
  color: var(--text-secondary);
}

.filter-sort select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  appearance: none;
  cursor: pointer;
}

.search-bar-large {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-bar-large input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 56px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  box-shadow: var(--shadow-lg);
  outline: none;
}

.search-bar-large button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0;
}

.sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 140px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-item span {
  font-size: 14px;
}

.price-range {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-inputs input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.price-inputs span {
  color: var(--text-secondary);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f0ff 100%);
}

.auth-container {
  width: 100%;
  max-width: 440px;
}

.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .logo {
  justify-content: center;
  margin-bottom: 24px;
}

.auth-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--background);
  padding: 4px;
  border-radius: var(--radius);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.auth-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,113,188,0.1);
}

.form-group input.error {
  border-color: var(--error);
}

.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.forgot-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.forgot-link:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-auth {
  display: flex;
  gap: 12px;
}

.social-auth-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.social-auth-btn:hover {
  background: var(--background);
  border-color: var(--text-secondary);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.cart-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--background);
}

.cart-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

.cart-items {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.cart-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.cart-count {
  color: var(--text-secondary);
  font-size: 14px;
}

.cart-item {
  display: grid;
  grid-template-columns: 40px 100px 1fr 100px 150px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.cart-item:hover {
  background-color: rgba(0, 113, 188, 0.02);
}

.cart-item-select {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

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

.cart-item-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.cart-item-rebate {
  color: var(--secondary);
  font-weight: 600;
  font-size: 14px;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--background);
  padding: 4px;
  border-radius: var(--radius-sm);
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  font-size: 18px;
  transition: var(--transition);
}

.quantity-btn:hover {
  background: var(--primary);
  color: white;
}

.quantity-value {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.cart-item-price {
  text-align: right;
}

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

.cart-item-price .original {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: line-through;
}

.cart-item-remove {
  color: var(--text-secondary);
  margin-left: 16px;
}

.cart-item-remove:hover {
  color: var(--error);
}

.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

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

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

.rebate-highlight {
  background: rgba(0,166,90,0.1);
  color: var(--secondary);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  text-align: center;
}

.rebate-highlight .amount {
  font-size: 24px;
  font-weight: 700;
}

.checkout-btn {
  width: 100%;
  margin-top: 20px;
}

.settings-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--background);
}

.settings-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.settings-nav {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 4px;
}

.settings-nav-item:hover {
  background: var(--background);
  color: var(--text-primary);
}

.settings-nav-item.active {
  background: var(--primary);
  color: white;
}

.settings-content {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
}

.settings-section {
  margin-bottom: 40px;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.settings-section > p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.settings-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.settings-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.settings-card-item:last-child {
  border-bottom: none;
}

.settings-card-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.settings-card-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.account-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--background);
}

.account-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
}

.account-sidebar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: white;
  text-align: center;
}

.account-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 40px;
  border: 4px solid rgba(255,255,255,0.3);
}

.account-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.account-email {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 16px;
}

.account-level {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.account-stat {
  text-align: center;
}

.account-stat .value {
  font-size: 24px;
  font-weight: 700;
}

.account-stat .label {
  font-size: 12px;
  opacity: 0.8;
}

.account-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.account-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
}

.account-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.account-card-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: var(--background);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.quick-action:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}

.quick-action:hover .quick-action-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

.quick-action span {
  font-size: 13px;
  font-weight: 500;
}

.order-list {
  display: flex;
  flex-direction: column;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: none;
}

.order-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

.order-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.order-status.completed { background: rgba(0,166,90,0.1); color: var(--secondary); }
.order-status.pending { background: rgba(240,180,41,0.1); color: var(--accent); }
.order-status.processing { background: rgba(0,113,188,0.1); color: var(--primary); }

.order-amount {
  text-align: right;
}

.order-amount .amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.order-amount .rebate {
  font-size: 13px;
  color: var(--secondary);
}

.order-date {
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h3 {
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--background);
  color: var(--text-primary);
}

.coupon-success {
  text-align: center;
  padding: 20px 0;
}

.coupon-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,166,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary);
}

.coupon-success h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.coupon-success p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.coupon-display {
  background: var(--background);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.coupon-display code {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--text-secondary);
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

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

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 32px;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

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

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

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

  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-text p {
    margin: 0 auto 32px;
  }

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

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

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

  .sidebar {
    position: static;
  }

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

  .settings-container {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    position: static;
  }

  .account-container {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .merchant-grid {
    grid-template-columns: 1fr;
  }

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

  .coupon-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .cart-item-image {
    width: 80px;
    height: 80px;
  }

  .quantity-control {
    grid-column: 2;
  }

  .cart-item-price {
    grid-column: 2;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .cart-item-remove {
    margin-left: auto;
  }

  .order-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-status, .order-amount, .order-date {
    justify-self: start;
  }
}
