@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #1E3A5F;
  --secondary: #2563EB;
  --accent: #14B8A6;
  --highlight: #F59E0B;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 20px 30px rgba(37, 99, 235, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Poppins', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: var(--font-main);
  outline: none;
  border: none;
}

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

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo i {
  color: var(--secondary);
  font-size: 26px;
}

.logo span {
  color: var(--secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.search-box-header {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-header input {
  padding: 10px 16px 10px 38px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  border: 1px solid transparent;
  font-size: 14px;
  width: 220px;
  transition: var(--transition);
}

.search-box-header input:focus {
  background: var(--surface);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  width: 280px;
}

.search-box-header i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: var(--secondary);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--highlight);
  color: #000;
  font-weight: 700;
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

.hamburger {
  display: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
  background: #F1F5F9;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

.off-canvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.off-canvas-menu {
  position: fixed;
  top: 0;
  right: -50%;
  width: 50%;
  height: 100vh;
  background: var(--surface);
  z-index: 2000;
  padding: 40px 30px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.off-canvas-menu.active {
  right: 0;
}

.off-canvas-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.off-canvas-close {
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.off-canvas-close:hover {
  background: var(--secondary);
  color: var(--surface);
}

.off-canvas-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.off-canvas-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  padding: 10px 20px;
  width: 100%;
  text-align: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.off-canvas-link:hover, .off-canvas-link.active {
  background: #F1F5F9;
  color: var(--secondary);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.95), rgba(15, 23, 42, 0.95)), url('./images/Personal\ Electronics.jpeg') center/cover no-repeat;
  color: var(--surface);
  padding: 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
  z-index: 2;
  animation: fadeUp 1s ease-out;
  text-align: left;
}

.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid var(--accent);
  color: #5EEAD4;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: #E2E8F0;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h4 {
  font-size: 28px;
  color: var(--highlight);
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 13px;
  color: #94A3B8;
}

.hero-visual {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-3d-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero-3d-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, rgba(20, 184, 166, 0.25) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: pulseGlow 4s infinite alternate;
}

.hero-3d-headphone-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.6));
  animation: floatHeadphone 4s ease-in-out infinite;
}

@keyframes floatHeadphone {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.1); }
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.floating-badge-1 {
  top: -15px;
  right: -15px;
}

.floating-badge-2 {
  bottom: -15px;
  left: -15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: var(--surface);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--surface);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--accent);
  color: var(--surface);
}

.btn-accent:hover {
  background: #0D9488;
  transform: translateY(-3px);
}

.section {
  padding: 100px 0;
}

.section-bg {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 38px;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

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

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

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

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 520px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  z-index: 5;
  text-transform: uppercase;
}

.badge-sale {
  background: #EF4444;
  color: var(--surface);
}

.badge-new {
  background: var(--accent);
  color: var(--surface);
}

.badge-hot {
  background: var(--highlight);
  color: #000;
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #FFFFFF;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

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

.product-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-category-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--highlight);
  font-size: 13px;
  margin-bottom: 8px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 12px;
  margin-left: 6px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-status {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 16px;
}

.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  text-align: center;
  width: 100%;
}

.product-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #DCFCE7;
  color: #166534;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn-card {
  padding: 10px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add-cart {
  background: var(--primary);
  color: var(--surface);
}

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

.btn-view-details {
  background: #F1F5F9;
  color: var(--primary);
}

.btn-view-details:hover {
  background: #E2E8F0;
}

.category-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 58, 95, 0.75));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
  color: var(--surface);
}

.category-name {
  font-size: 22px;
  color: var(--surface);
  margin-bottom: 6px;
}

.category-desc {
  font-size: 13px;
  color: #CBD5E1;
  margin-bottom: 14px;
}

.btn-explore {
  align-self: center;
  padding: 8px 18px;
  font-size: 13px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: var(--surface);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-explore:hover {
  background: var(--accent);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.brand-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  transition: var(--transition);
  height: 100px;
  box-shadow: var(--shadow-sm);
}

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

.feature-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  background: var(--secondary);
  color: var(--surface);
  transform: rotateY(180deg);
}

.feature-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
}

.user-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.user-role {
  font-size: 12px;
  color: var(--text-muted);
}

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

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.collection-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  padding: 50px;
  color: var(--surface);
  box-shadow: var(--shadow-lg);
}

.collection-banner-1 {
  background: linear-gradient(90deg, rgba(30, 58, 95, 0.95), rgba(30, 58, 95, 0.4)), url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.collection-banner-2 {
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.95), rgba(20, 184, 166, 0.4)), url('https://images.unsplash.com/photo-1491553895911-0055eca6402d?auto=format&fit=crop&w=1200&q=80') center/cover;
}

.collection-content {
  max-width: 450px;
  z-index: 2;
}

.collection-title {
  font-size: 32px;
  color: var(--surface);
  margin-bottom: 12px;
}

.collection-text {
  font-size: 15px;
  color: #E2E8F0;
  margin-bottom: 24px;
}

.newsletter-section {
  background: linear-gradient(135deg, var(--primary), #0F172A);
  color: var(--surface);
  padding: 80px 0;
  border-radius: var(--radius-lg);
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}

.newsletter-box {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.newsletter-title {
  font-size: 36px;
  color: var(--surface);
  margin-bottom: 14px;
}

.newsletter-desc {
  font-size: 16px;
  color: #94A3B8;
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.newsletter-form input {
  flex-grow: 1;
  background: transparent;
  padding: 12px 24px;
  color: var(--surface);
  font-size: 15px;
}

.newsletter-form input::placeholder {
  color: #94A3B8;
}

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

.insta-item {
  position: relative;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-size: 24px;
  opacity: 0;
  transition: var(--transition);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-item:hover img {
  transform: scale(1.1);
}

.footer {
  background: #0F172A;
  color: #94A3B8;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid #1E293B;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--surface);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo i {
  color: var(--secondary);
}

.footer-logo span {
  color: var(--secondary);
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1E293B;
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 18px;
  color: var(--surface);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 14px;
  color: #94A3B8;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--surface);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  color: #CBD5E1;
}

.page-header {
  background: linear-gradient(135deg, var(--primary), #0F172A);
  color: var(--surface);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 60px;
}

.page-title {
  font-size: 42px;
  color: var(--surface);
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #94A3B8;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  background: var(--surface);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 20px;
}

.filter-categories {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--secondary);
  color: var(--surface);
}

.search-input-shop {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  width: 260px;
  background: #F8FAFC;
}

.search-input-shop:focus {
  background: var(--surface);
  border-color: var(--secondary);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-img-box {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.thumbnail-list {
  display: flex;
  gap: 14px;
}

.thumb-item {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.thumb-item.active, .thumb-item:hover {
  border-color: var(--secondary);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.detail-category {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.detail-title {
  font-size: 36px;
  margin-bottom: 12px;
}

.detail-brand-rating {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.detail-brand {
  font-size: 14px;
  color: var(--text-muted);
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
}

.detail-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}

.variant-selector {
  margin-bottom: 24px;
}

.variant-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.color-options, .size-options {
  display: flex;
  gap: 12px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--surface);
  outline: 2px solid transparent;
  transition: var(--transition);
}

.color-dot.active, .color-dot:hover {
  outline-color: var(--secondary);
}

.size-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.size-btn.active, .size-btn:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--surface);
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 140px;
  overflow: hidden;
  background: var(--surface);
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: #F1F5F9;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: #E2E8F0;
}

.qty-input {
  width: 52px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.purchase-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.specs-table tr:nth-child(even) {
  background: #F8FAFC;
}

.specs-label {
  font-weight: 600;
  color: var(--primary);
  width: 40%;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.policy-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.policy-text h5 {
  font-size: 14px;
}

.policy-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.cart-table-wrapper {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background: #F8FAFC;
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.cart-table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-item-flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

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

.cart-item-cat {
  font-size: 12px;
  color: var(--text-muted);
}

.remove-btn {
  color: #EF4444;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  background: none;
}

.remove-btn:hover {
  transform: scale(1.2);
}

.summary-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.summary-title {
  font-size: 20px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

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

.summary-row.total {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

.about-hero-img {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-card-box {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #F8FAFC;
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  background: var(--surface);
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 40px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.anim-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

.anim-zoom-in {
  animation: zoomIn 0.8s ease-out forwards;
}

@media (max-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-title {
    font-size: 52px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid, .cart-layout, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    margin: 0 auto;
    text-align: center;
  }
  .hero-btns, .hero-stats {
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .search-box-header input {
    width: 160px;
  }
  .search-box-header input:focus {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
  .off-canvas-menu {
    width: 50%;
  }
  .cart-table, .cart-table tbody, .cart-table tr {
    display: block;
    width: 100%;
  }
  .cart-table thead {
    display: none;
  }
  .cart-table tr {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    row-gap: 12px;
  }
  .cart-table td {
    padding: 0;
    border: none;
  }
  .cart-table td:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .cart-table td:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  .cart-table td:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
  }
  .cart-table td:nth-child(2)::before {
    content: 'Price: ';
    font-weight: 600;
    margin-right: 6px;
    color: var(--primary);
  }
  .cart-table td:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2;
    justify-self: end;
  }
  .cart-table td:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
  }
  .cart-table td:nth-child(4)::before {
    content: 'Item Subtotal:';
    font-weight: 600;
    color: var(--primary);
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  .grid-4, .grid-3 {
    grid-template-columns: 1fr;
  }
  .product-card {
    height: auto;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .collection-banner {
    padding: 30px 20px;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .newsletter-form input {
    width: 100%;
  }
  .main-img-box {
    height: 320px;
  }
  .detail-category {
    text-align: center;
    display: block;
  }
  .detail-title {
    font-size: 24px;
    text-align: center;
  }
  .product-actions, .purchase-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .btn-add-cart, .btn-card, .purchase-actions .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .detail-info {
    align-items: center;
    text-align: center;
  }
  .detail-brand-rating {
    justify-content: center;
  }
  .variant-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .specs-table {
    text-align: left;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 22px;
  }
  .hero-title {
    font-size: 30px;
  }
  .search-box-header {
    display: none;
  }
}

@media (max-width: 360px) {
  .off-canvas-menu {
    width: 70%;
  }
}

@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }
  .logo {
    font-size: 18px;
  }
}

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  min-width: 280px;
  max-width: 420px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  opacity: 0;
}

.toast-message.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background: linear-gradient(135deg, #10B981, #059669);
  border-left: 5px solid #047857;
}

.toast-error {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  border-left: 5px solid #B91C1C;
}

.toast-message i {
  font-size: 20px;
}
