/* ============================
   CHINNYGOLD PLACE – STYLESHEET
   Clean. Premium. Gold.
   ============================ */

/* ===== CSS VARIABLES ===== */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #A07830;
  --gold-glow: rgba(201, 168, 76, 0.25);
  --black: #0F0F0F;
  --soft-black: #1A1A1A;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --beige: #F5F0E8;
  --beige-dark: #EDE5D5;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: rgba(201, 168, 76, 0.2);
  --border-soft: #EBEBEB;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.14);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --nav-height: 72px;
}

/* Dark Mode Overrides */
body.dark-mode {
  --white: #141414;
  --off-white: #1E1E1E;
  --beige: #252525;
  --beige-dark: #2A2A2A;
  --text-primary: #EDEDED;
  --text-secondary: #A3A3A3;
  --text-muted: #737373;
  --border-soft: #2D2D2D;
  --border: rgba(201, 168, 76, 0.25);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.1);
  --gold-glow: rgba(201, 168, 76, 0.15);
}

body.dark-mode .product-img-wrap {
  background: #ffffff;
}
body.dark-mode .product-img {
  mix-blend-mode: multiply;
}

body.dark-mode .hamburger span {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

/* Dark Mode - Remove Gradients & Make Solid/Soothing */
body.dark-mode .tag-trending,
body.dark-mode .btn-primary,
body.dark-mode .filter-btn.active {
  background: var(--gold-dark);
  box-shadow: none;
  border-color: transparent;
}

body.dark-mode .btn-nav-whatsapp,
body.dark-mode .btn-preorder,
body.dark-mode .tag-new,
body.dark-mode .btn-whatsapp-large,
body.dark-mode .mobile-whatsapp {
  background: #128C7E;
  box-shadow: none;
}

body.dark-mode .product-placeholder {
  background: var(--beige);
}

body.dark-mode .hero-inner::before,
body.dark-mode .hero-inner::after {
  opacity: 0.3;
  background: var(--gold-dark);
}

body.dark-mode .hero,
body.dark-mode .final-cta {
  background: var(--off-white);
}

body.dark-mode .navbar {
  background: rgba(20, 20, 20, 0.95);
}

body.dark-mode .mobile-menu {
  background: #141414;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ===== UTILITY ===== */
.gold-text { color: var(--gold); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
  height: var(--nav-height);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold);
  background: var(--gold-glow);
}

.theme-toggle {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition);
  margin-left: 8px;
  margin-right: 8px;
}
.theme-toggle:hover {
  background: var(--beige);
  color: var(--gold-dark);
}

.btn-nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.btn-nav-whatsapp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  padding: 12px 0 20px;
  animation: slideDown 0.3s ease;
}

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

.mobile-link {
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-soft);
}

.mobile-link:hover { color: var(--gold); background: var(--beige); }

.mobile-whatsapp {
  margin: 12px 24px 0;
  padding: 14px 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white !important;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  border: none;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--off-white) 0%, var(--beige) 50%, #F0E8D5 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float1 8s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
  bottom: 100px;
  left: -80px;
  animation: float2 10s ease-in-out infinite;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  top: 40%;
  left: 30%;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 30px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -25px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, 20px) rotate(10deg); }
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.2px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.4);
}

.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold);
  transition: var(--transition);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3), inset 0 0 8px rgba(201, 168, 76, 0.1);
}

.btn-outline:hover {
  background: var(--gold-glow);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), inset 0 0 12px rgba(201, 168, 76, 0.2);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-soft);
}

/* HERO VISUAL */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.hero-card-wrap {
  position: relative;
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-profile-ring {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold-light));
  padding: 5px;
  box-shadow: 0 20px 60px rgba(201,168,76,0.35), 0 0 0 12px rgba(201,168,76,0.08);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 20px 60px rgba(201,168,76,0.35), 0 0 0 12px rgba(201,168,76,0.08); }
  50% { box-shadow: 0 20px 60px rgba(201,168,76,0.45), 0 0 0 20px rgba(201,168,76,0.04); }
}

.hero-profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--beige);
}

.hero-profile-ring.img-error::after {
  content: "CG";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--beige-dark);
}

.floating-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}

.fb-1 { top: 20px; right: -10px; color: #128C7E; animation-delay: 0s; }
.fb-2 { bottom: 40px; right: -20px; animation-delay: 1.5s; }
.fb-3 { bottom: 20px; left: 0; animation-delay: 0.8s; }

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

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ===========================
   FILTER BAR
   =========================== */
.filter-section {
  position: sticky;
  top: var(--nav-height);
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.filter-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.835rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--off-white);
  border: 1.5px solid transparent;
  transition: var(--transition);
  flex-shrink: 0;
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.filter-btn svg {
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.filter-btn:hover svg,
.filter-btn.active svg {
  opacity: 1;
}

.filter-btn:hover {
  color: var(--gold-dark);
  background: var(--beige);
  border-color: var(--border);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(201,168,76,0.35);
  font-weight: 600;
}

/* ===== SEARCH BAR ===== */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--off-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  min-width: 200px;
  max-width: 280px;
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.search-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}

.search-icon-svg {
  opacity: 0.45;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.search-wrap:focus-within .search-icon-svg {
  opacity: 0.8;
  color: var(--gold-dark);
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.855rem;
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.search-clear {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.search-clear:hover {
  background: var(--border-soft);
  color: var(--text-primary);
}

.search-highlight {
  background: var(--gold-glow);
  color: var(--gold-dark);
  font-weight: 800;
  border-radius: 3px;
  padding: 0 2px;
  box-shadow: 0 1px 3px rgba(201,168,76,0.2);
}

body.dark-mode .search-highlight {
  background: rgba(201, 168, 76, 0.25);
  color: var(--gold);
}

@media (max-width: 640px) {
  .search-wrap {
    min-width: 140px;
    max-width: 160px;
  }
  .filter-bar {
    padding: 0 12px;
    gap: 8px;
  }
}

/* ===========================
   PRODUCTS SECTION
   =========================== */
.products-section {
  padding: 72px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-title.light { color: #ffffff; }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.section-sub.light { color: rgba(255,255,255,0.7); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  transition: all 0.3s ease;
}

/* PRODUCT CARD */
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardIn 0.4s ease both;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* IMAGE AREA */
.product-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 82%;
  overflow: hidden;
  background: #f5f5f5;
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

/* Placeholder when no image */
.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-dark) 100%);
}

.product-placeholder-icon { font-size: 3rem; }
.product-placeholder-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* TAG BADGE */
.product-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.tag-hot      { background: #FF4040; color: #ffffff; }
.tag-new      { background: #128C7E; color: #ffffff; }
.tag-trending { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #ffffff; }
.tag-sale     { background: #5B21B6; color: #ffffff; }

/* CARD BODY */
.product-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 8px;
}

.product-category-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.2s;
  flex: 1;
}

.product-desc:hover { color: var(--gold-dark); }

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn-preorder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.22);
  text-decoration: none;
}

.btn-preorder:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.38);
}

.btn-preorder svg { flex-shrink: 0; }

.card-share-btn {
  background: var(--off-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.card-share-btn:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

/* Load More */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold);
  transition: var(--transition);
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(201, 168, 76, 0.35), inset 0 0 10px rgba(201, 168, 76, 0.15);
}

.btn-load-more:hover {
  background: var(--gold-glow);
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.5), inset 0 0 14px rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
}

.btn-load-more.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* No Products */
.no-products {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}

.no-products-icon { font-size: 4rem; margin-bottom: 16px; }
.no-products h3 { font-size: 1.4rem; color: var(--text-primary); margin-bottom: 12px; }
.no-products p { margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
  background: var(--beige);
  padding: 90px 24px;
}

.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0.3;
  pointer-events: none;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.step-icon { font-size: 2.4rem; margin-bottom: 14px; margin-top: 8px; }

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================
   TRUST SECTION
   =========================== */
.trust-section {
  background: linear-gradient(160deg, var(--black) 0%, var(--charcoal) 50%, #1A1510 100%);
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.trust-inner { max-width: 1200px; margin: 0 auto; }

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

.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.trust-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.15);
}

.trust-icon { font-size: 2.4rem; margin-bottom: 16px; }

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
  padding: 100px 24px;
  background: linear-gradient(160deg, var(--beige) 0%, white 100%);
  text-align: center;
}

.cta-inner { max-width: 680px; margin: 0 auto; }

.cta-badge {
  display: inline-block;
  background: var(--gold-glow);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.cta-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-actions { display: flex; justify-content: center; }

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
  letter-spacing: 0.2px;
}

.btn-whatsapp-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.45);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--black);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--gold);
}

.footer-logo-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-logo-sub {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-categories h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-links a,
.footer-categories a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-categories a:hover { color: var(--gold-light); }

.footer-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-bottom: 12px;
}

.footer-wa-link:hover { background: #128C7E; transform: translateY(-1px); }

.footer-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: waEntrance 0.8s ease 1s both;
}

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

.floating-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 36px rgba(37,211,102,0.6);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--black);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--text-primary);
  border-right: none;
}

.floating-wa:hover .wa-tooltip { opacity: 1; }

/* ===========================
   IMAGE ZOOM BUTTON (on card)
   =========================== */
.product-img-wrap { position: relative; }

.img-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  transform: translateY(4px);
  background: rgba(255,255,255,0.92);
  color: var(--text-primary);
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.2px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  z-index: 5;
  font-family: var(--font-body);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-card:hover .img-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 100%;
  max-height: 92vh;
  transform: scale(0.93);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox.open .lightbox-inner {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #0F0F0F;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover {
  background: var(--gold-dark);
  transform: scale(1.1) rotate(90deg);
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: var(--gold);
  color: #0F0F0F;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-lg);
}

.lightbox-footer {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.lightbox-info {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lightbox-caption {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.lightbox-desc {
  color: rgba(255,255,255,0.72);
  font-size: 0.855rem;
  font-weight: 400;
  text-align: center;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-wa {
  font-size: 0.9rem;
  padding: 12px 28px;
}



/* ===========================
   ANIMATIONS
   =========================== */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease both;
}

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

/* ===========================
   RESPONSIVE – TABLET
   =========================== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===========================
   RESPONSIVE – MOBILE
   =========================== */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px 85px; /* Fine-tuned bottom padding */
    text-align: center;
  }

  .hero-content { order: 2; }
  .hero-visual { order: 1; }

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

  .hero-actions {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  .btn-primary, .btn-outline {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .hero-stats { justify-content: center; gap: 20px; }

  .hero-card-wrap { width: 240px; height: 240px; }
  .hero-profile-ring { width: 200px; height: 200px; }

  .fb-1 { top: 0; right: -20px; font-size: 0.75rem; padding: 6px 10px; }
  .fb-2 { bottom: 10px; right: -20px; font-size: 0.75rem; padding: 6px 10px; }
  .fb-3 { bottom: 0; left: -10px; font-size: 0.75rem; padding: 6px 10px; }

  .products-section { padding: 48px 16px 60px; }
  
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  .search-wrap { max-width: 100%; }

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

  .product-body { padding: 12px; }
  .product-name { font-size: 0.875rem; }
  .btn-preorder { font-size: 0.8rem; padding: 10px 12px; }
  .btn-preorder span { display: none; }

  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .floating-wa { width: 52px; height: 52px; bottom: 20px; right: 16px; }
}

@media (max-width: 400px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-body { padding: 10px; }
  .product-name { font-size: 0.8rem; }
  .hero-card-wrap { width: 200px; height: 200px; }
  .hero-profile-ring { width: 170px; height: 170px; }
}

/* ===========================
   DESKTOP GRID UPGRADE
   =========================== */
@media (min-width: 1025px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===========================
   NEW FEATURES (COUNTS, INFO, SKELETONS, TOP BTN)
   =========================== */

/* Filter Count Badges */
.filter-count {
  background: rgba(0,0,0,0.06);
  color: var(--text-secondary);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 700;
  transition: var(--transition);
}

.filter-btn.active .filter-count {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

.filter-btn:hover:not(.active) .filter-count {
  background: rgba(201,168,76,0.15);
  color: var(--gold-dark);
}

/* Results Info Bar */
.results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 12px;
}

.results-info strong {
  color: var(--text-primary);
  font-weight: 700;
}

.results-info em {
  color: var(--gold-dark);
  font-style: normal;
  font-weight: 600;
}

.ri-total {
  color: #999;
}

/* Skeleton Loading */
.skeleton-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.skeleton-img {
  width: 100%;
  padding-top: 82%;
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: #f0f0f0;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.short { width: 40%; height: 10px; margin-bottom: 4px; }
.skeleton-line.medium { width: 75%; }
.skeleton-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: auto;
  background: linear-gradient(90deg, #e8f5e9 25%, #c8e6c9 50%, #e8f5e9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 84px; /* above WhatsApp button */
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-primary);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--beige);
  color: var(--gold-dark);
  border-color: var(--gold);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 84px;
  }
}
