:root {
  --bg: #ffffff;
  --bg2: #f8fafc;
  --bg3: #f1f5f9;
  --bg4: #e2e8f0;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --accent-light: #60a5fa;
  --accent-pale: rgba(37, 99, 235, 0.08);
  --accent-pale2: rgba(37, 99, 235, 0.15);
  --text: #0f172a;
  --text2: #475569;
  --text3: #64748b;
  --border: rgba(0, 0, 0, 0.06);
  --border2: rgba(37, 99, 235, 0.2);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.04), 0 4px 10px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.08), 0 12px 24px rgba(0, 0, 0, 0.04);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s 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: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- NAVBAR ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

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

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
  align-items: center;
}

.nav-links li a,
.nav-links li button {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  padding: 0.5rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  position: relative;
}

.nav-links li a:hover,
.nav-links li button:hover {
  color: var(--accent);
  background: var(--accent-pale);
}

.nav-links li a.active,
.nav-links li button.active {
  color: var(--accent);
  background: var(--accent-pale);
  font-weight: 600;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.5rem !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent2) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

/* ---- PAGES ---- */
.page {
  display: none;
  padding-top: 72px;
  min-height: 100vh;
}

.page.active {
  display: block;
  animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- HOME PAGE ---- */
.hero {
  padding: calc(1rem + 72px) 2.5rem 5rem;
  margin-top: -72px;
  text-align: center;
  position: relative;
  background: url('../assets/hero-bg.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.7);
  /* dark overlay */
  z-index: 0;
}

.hero-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-pale);
  border: 1px solid var(--border2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 2rem;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.6s ease-out;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: none;
  border: 1.5px solid var(--border2);
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 2.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.25);
}

.btn-outline:active {
  transform: translateY(0);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--text);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  /* glass */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 700px;
  margin: 4rem auto 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.stat-item {
  background: transparent;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.stat-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Brands */
.brands-wrap {
  padding: 3.5rem 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg2);
}

.brands-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.brands-row {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: var(--transition);
  cursor: default;
  filter: none;
  /* HAPUS GRAYSCALE */
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.12);
}

/* Featured Section */
.section {
  padding: 5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-title span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.see-all {
  font-size: 0.875rem;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.see-all:hover {
  opacity: 0.7;
  transform: translateX(2px);
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--border2);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.15), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--bg2), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover .product-img {
  background: linear-gradient(145deg, var(--accent-pale), var(--bg3));
}

.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255, 255, 255, 0.6));
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  text-transform: uppercase;
}

.product-body {
  padding: 1.25rem 1.5rem;
}

.product-brand {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.product-price-old {
  font-size: 0.82rem;
  color: var(--text3);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ---- CATEGORY PAGE ---- */
.cat-layout {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 72px);
}

.cat-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}

.sidebar-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 1.5rem;
  margin-bottom: 1.25rem;
}

.cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text2);
  border-left: 3px solid transparent;
  font-weight: 500;
}

.cat-item:hover {
  color: var(--text);
  background: var(--accent-pale);
}

.cat-item.active {
  color: var(--accent);
  background: var(--accent-pale);
  border-left-color: var(--accent);
  font-weight: 600;
}

.cat-icon {
  font-size: 1.15rem;
}

.cat-count {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--bg4);
  color: var(--text3);
  padding: 3px 10px;
  border-radius: 99px;
  transition: var(--transition);
}

.cat-item.active .cat-count {
  background: var(--accent-pale2);
  color: var(--accent);
}

.cat-main {
  flex: 1;
  padding: 2.5rem 3rem;
  overflow-y: auto;
  background: var(--bg);
}

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

.cat-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.cat-header h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sort-select {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text2);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  appearance: none;
  outline: none;
  transition: var(--transition);
  font-weight: 500;
}

.sort-select:hover {
  border-color: var(--accent);
}

.sort-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-pale);
}

/* Product detail panel */
.detail-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.detail-overlay.open {
  display: flex;
}

.detail-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.03),
    0 24px 80px rgba(0, 0, 0, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.06);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--text2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.close-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.detail-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  min-height: 480px;
}

/* ---- Detail Left (Image Area) ---- */
.detail-left {
  background: linear-gradient(165deg, var(--bg2) 0%, var(--bg3) 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border-right: 1px solid var(--border);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.detail-left::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.detail-left::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.detail-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.detail-img-wrap:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transform: scale(1.01);
}

.detail-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3);
  z-index: 2;
}

.detail-emoji {
  font-size: 6rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: var(--transition);
  animation: floatEmoji 3s ease-in-out infinite;
}

@keyframes floatEmoji {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.detail-img-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg4);
  transition: var(--transition);
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 99px;
  box-shadow: 0 1px 6px rgba(37, 99, 235, 0.3);
}

.detail-features {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.feature-chip:hover {
  border-color: var(--border2);
  color: var(--accent);
  background: rgba(37, 99, 235, 0.05);
}

.feature-icon {
  font-size: 0.85rem;
}

/* ---- Detail Right (Info Area) ---- */
.detail-right {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.detail-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.detail-brand {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--accent-pale);
  padding: 4px 10px;
  border-radius: 6px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.15);
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 600;
}

.stock-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(22, 163, 74, 0.4);
  animation: pulse 2s infinite;
}

.detail-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--text3);
  font-weight: 500;
}

.detail-price-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.discount-badge {
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.detail-price-old {
  font-size: 0.9rem;
  color: var(--text3);
  text-decoration: line-through;
  margin-top: 4px;
}

.detail-savings {
  font-size: 0.8rem;
  color: #16a34a;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.detail-savings::before {
  content: '↓';
  font-weight: 700;
}

.detail-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

/* Specs Section */
.specs-section {
  margin-bottom: 1.5rem;
}

.specs-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-title-icon {
  font-size: 0.9rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.spec-item {
  background: var(--bg);
  padding: 0.75rem 1rem;
  transition: var(--transition-fast);
}

.spec-item:hover {
  background: var(--accent-pale);
}

.spec-key {
  font-size: 0.72rem;
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.spec-val {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 600;
}

/* ---- FLOATING WHATSAPP BUTTON ---- */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 60px;
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.float-wa:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.float-wa:active {
  transform: translateY(0);
}

.float-wa::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 60px;
  background: rgba(37, 211, 102, 0.25);
  z-index: -1;
  animation: waPulse 2.5s ease-in-out infinite;
}

@keyframes waPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.12);
    opacity: 0;
  }
}

.float-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-wa-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ---- ABOUT PAGE ---- */
.about-hero {
  padding: 5rem 2.5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -1px;
  position: relative;
}

.about-hero h1 em {
  color: var(--accent);
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero p {
  color: var(--text2);
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
}

.about-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  opacity: 0;
  transition: var(--transition);
}

.about-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.about-card:hover::before {
  opacity: 1;
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-pale);
  border-radius: 14px;
}

.about-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  letter-spacing: -0.3px;
}

.about-card p {
  color: var(--text2);
  font-size: 0.9rem;
  line-height: 1.75;
}

.team-section {
  padding: 3rem 2.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

.team-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
  letter-spacing: -0.5px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  border-color: var(--border2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-pale), var(--accent-pale2));
  border: 2px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.team-card:hover .avatar {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.team-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.team-role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4.5rem 2.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text3);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text2);
  text-decoration: none;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(2px);
  display: inline-block;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.8;
}

.addr-item {
  display: flex;
  gap: 10px;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.addr-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text3);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom a:hover {
  opacity: 0.7;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text3);
}

.empty-state .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--text2);
  margin-bottom: 0.5rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg2);
}

::-webkit-scrollbar-thumb {
  background: var(--bg4);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text3);
}

/* Selection */
::selection {
  background: var(--accent-pale2);
  color: var(--accent);
}

@media(max-width: 768px) {
  nav {
    padding: 0 1.25rem;
    height: 64px;
  }

  .hero {
    padding: 4rem 1.25rem 3rem;
  }

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

  .stat-item:not(:last-child)::after {
    right: 20%;
    left: 20%;
    top: auto;
    bottom: 0;
    width: auto;
    height: 1px;
  }

  .cat-layout {
    flex-direction: column;
  }

  .cat-sidebar {
    width: 100%;
    height: auto;
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .cat-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 10px;
  }

  .cat-item.active {
    border-bottom-color: var(--accent);
    border-left-color: transparent;
  }

  .sidebar-title {
    width: 100%;
  }

  .cat-main {
    padding: 1.5rem 1.25rem;
  }

  .detail-inner {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    max-height: 95vh;
  }

  .detail-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 2rem 1.5rem;
  }

  .detail-left::before,
  .detail-left::after {
    display: none;
  }

  .detail-img-wrap {
    max-width: 240px;
  }

  .detail-emoji {
    font-size: 4rem;
  }

  .detail-right {
    padding: 1.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }
}

@media(max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    gap: 0.1rem;
  }
}