/* ===== SGM — Premium Dark Theme ===== */
:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --card: #15151f;
  --card-2: #1c1c28;
  --line: rgba(255, 255, 255, 0.08);
  --txt: #f4f4f6;
  --muted: #9a9aae;
  --gold: #e8b86d;
  --gold-2: #f6d491;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --green: #38d39f;
  --red: #ff6b6b;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Outfit", system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 0% 10%, rgba(0, 212, 255, 0.10), transparent 55%),
    var(--bg);
  color: var(--txt);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text strong { font-family: "Poppins", sans-serif; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ===== Announcement (marquee) ===== */
.announce {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  color: #1a1306;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
}
.announce-track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 26s linear infinite;
}
.announce-track span { padding: 0 8px; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: #1a1306;
  box-shadow: 0 8px 22px rgba(232, 184, 109, 0.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 16px; font-weight: 700; }
.logo-text small { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.search {
  flex: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  transition: border 0.2s, box-shadow 0.2s;
}
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 184, 109, 0.12); }
.search-icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; background: none; border: none; outline: none; color: var(--txt); font-size: 14px; font-family: inherit; }

.nav-links { display: flex; gap: 22px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--txt); }

.cart-btn {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--txt);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.15s, border 0.2s;
}
.cart-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.cart-btn svg { width: 20px; height: 20px; fill: currentColor; }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--gold); color: #1a1306;
  font-size: 11px; font-weight: 700;
  min-width: 19px; height: 19px;
  border-radius: 999px;
  display: grid; place-items: center;
  padding: 0 4px;
}

/* ===== Hero ===== */
.hero {
  max-width: 1200px;
  margin: 40px auto 10px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  position: relative;
}
.hero-glow {
  position: absolute; inset: -40px 0 0 -40px;
  background: radial-gradient(420px 280px at 20% 30%, rgba(124, 92, 255, 0.25), transparent 70%);
  filter: blur(20px); z-index: -1; pointer-events: none;
}
.hero-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--gold-2);
  background: rgba(232, 184, 109, 0.1);
  border: 1px solid rgba(232, 184, 109, 0.25);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -1px; }
.grad {
  background: linear-gradient(120deg, var(--gold), var(--gold-2) 40%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--muted); font-size: 16px; margin: 18px 0 26px; max-width: 460px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: 14px;
  padding: 13px 26px; border-radius: 12px;
  cursor: pointer; border: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1306; box-shadow: 0 12px 30px rgba(232, 184, 109, 0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(232, 184, 109, 0.45); }
.btn-ghost { background: transparent; color: var(--txt); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn.full { width: 100%; }

.hero-stats { display: flex; gap: 30px; margin-top: 34px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; font-family: "Poppins"; }
.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-art img { width: 100%; height: 420px; object-fit: cover; }

/* ===== Trust strip ===== */
.trust {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.trust-item span { font-size: 24px; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item small { color: var(--muted); font-size: 12px; }

/* ===== Section head ===== */
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 16px;
  margin: 50px 0 26px;
}
.section-head h2 { font-size: 28px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 14px; }

.filters { display: flex; gap: 10px; }
.chip {
  background: var(--card); color: var(--muted);
  border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
}
.chip:hover { color: var(--txt); border-color: var(--gold); }
.chip.active { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1306; border-color: transparent; }
.sort-select {
  background: var(--card); color: var(--txt);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-size: 13px; font-weight: 600;
  font-family: inherit; cursor: pointer; outline: none; transition: all 0.2s;
}
.sort-select:hover { border-color: var(--gold); }
.sort-select option { background: var(--bg-2); color: var(--txt); }

/* ===== Product grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  padding-bottom: 30px;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, border 0.25s, box-shadow 0.25s;
  animation: rise 0.5s ease both;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232, 184, 109, 0.4); box-shadow: var(--shadow); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.card-img { position: relative; aspect-ratio: 1 / 1; background: #0c0c14; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: var(--gold-2);
}
.badge.deal { color: var(--green); }
.wish {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: 1px solid var(--line);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  font-size: 14px; transition: all 0.2s;
}
.wish:hover { background: var(--red); border-color: var(--red); }

.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-brand { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.card-name { display: block; font-size: 16px; font-weight: 600; font-family: "Poppins"; transition: color 0.2s; }
.card-name:hover { color: var(--gold-2); }
a.card-img { display: block; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.card-specs span { font-size: 10px; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 3px 8px; border-radius: 6px; }
.card-rating { font-size: 12px; color: var(--gold-2); }
.card-rating small { color: var(--muted); }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card-price .now { font-size: 20px; font-weight: 700; font-family: "Poppins"; }
.card-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card-price .off { font-size: 11px; color: var(--green); font-weight: 700; }
.add-btn {
  margin-top: 6px;
  background: var(--card-2); color: var(--txt);
  border: 1px solid var(--line);
  padding: 11px; border-radius: 11px;
  font-weight: 600; font-size: 13px; cursor: pointer;
  font-family: "Poppins"; transition: all 0.2s;
}
.add-btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1306; border-color: transparent; }
.card-actions { display: flex; gap: 8px; margin-top: 6px; }
.card-actions .add-btn { flex: 1; margin-top: 0; }
.wa-btn {
  flex: none; width: 46px;
  background: #25d366; border: none; border-radius: 11px;
  cursor: pointer; display: grid; place-items: center;
  transition: transform 0.15s, filter 0.2s;
}
.wa-btn svg { width: 20px; height: 20px; color: #fff; }
.wa-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ===== Deals ===== */
.deals { max-width: 1200px; margin: 30px auto 60px; padding: 0 22px; }
.deals-inner {
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(124, 92, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #16131f, #0e0d16);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 26px;
}
.deals-inner h2 { font-size: 32px; margin: 8px 0 10px; }
.deals-inner p { color: var(--muted); margin-bottom: 20px; }
.deals-inner p strong { color: var(--gold-2); }
.deals-timer { display: flex; gap: 12px; }
.deals-timer div {
  background: rgba(0,0,0,0.4); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; text-align: center; min-width: 64px;
}
.deals-timer strong { display: block; font-size: 26px; font-family: "Poppins"; color: var(--gold-2); }
.deals-timer span { font-size: 11px; color: var(--muted); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 50px 22px 30px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 30px;
}
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-addr { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.socials { display: flex; gap: 10px; font-size: 18px; margin-top: 6px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  margin: 0; transition: all 0.2s;
}
.socials a:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 85;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  animation: waPulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float:hover { transform: scale(1.06); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.footer-bottom { border-top: 1px solid var(--line); text-align: center; padding: 18px; color: var(--muted); font-size: 13px; }

/* ===== Cart drawer ===== */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 60;
}
.overlay.show { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 400px; max-width: 90vw;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 70; display: flex; flex-direction: column;
}
.cart-drawer.show { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 20px; }
.close-btn { background: var(--card); border: 1px solid var(--line); color: var(--txt); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--muted); margin-top: 40px; }
.cart-row { display: flex; gap: 12px; align-items: center; }
.cart-row img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.cart-row .info { flex: 1; }
.cart-row .info strong { font-size: 14px; font-weight: 600; display: block; }
.cart-row .info span { font-size: 13px; color: var(--gold-2); }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty button { width: 24px; height: 24px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); color: var(--txt); cursor: pointer; font-size: 14px; }
.qty span { font-size: 13px; min-width: 18px; text-align: center; }
.cart-row .rm { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.cart-row .rm:hover { color: var(--red); }
.cart-foot { padding: 22px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total strong { font-size: 22px; font-family: "Poppins"; color: var(--gold-2); }

/* ===== Toast ===== */
.toast {
  position: fixed; bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1306; font-weight: 600; font-size: 14px;
  padding: 13px 24px; border-radius: 12px;
  box-shadow: var(--shadow); opacity: 0; transition: all 0.3s; z-index: 90;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== About page ===== */
.about-hero { max-width: 900px; margin: 60px auto 30px; padding: 0 22px; text-align: center; }
.about-hero h1 { font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.08; margin-top: 14px; }
.about-hero p { color: var(--muted); font-size: 17px; margin-top: 16px; }

.owner {
  max-width: 1100px; margin: 30px auto; padding: 0 22px;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start;
}
.owner-photo {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--card);
}
.owner-photo::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 -80px 80px -40px rgba(124,92,255,0.25);
  pointer-events: none;
}
.owner-photo img { width: 100%; height: 560px; object-fit: cover; display: block; }
.owner-info { padding-top: 10px; }
.owner-role {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--gold-2);
  background: rgba(232,184,109,0.1); border: 1px solid rgba(232,184,109,0.25);
  padding: 6px 14px; border-radius: 999px;
}
.owner-info h2 { font-size: 40px; font-weight: 800; margin: 14px 0 22px; }
.owner-mission, .owner-story {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin-bottom: 18px;
}
.owner-mission h3, .owner-story h3 { font-size: 18px; margin-bottom: 10px; }
.owner-mission p, .owner-story p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.owner-mission { border-left: 3px solid var(--gold); }

/* ===== Product detail page ===== */
.pd-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin: 24px 0 4px; }
.pd-back:hover { color: var(--gold-2); }
.pd-wrap {
  max-width: 1100px; margin: 14px auto 30px; padding: 0 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.pd-gallery {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: #0c0c14; box-shadow: var(--shadow);
}
.pd-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.pd-gallery .badge { top: 16px; left: 16px; font-size: 12px; }
.pd-info { padding-top: 6px; }
.pd-brand { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.pd-name { font-size: 34px; font-weight: 800; font-family: "Poppins"; margin: 8px 0 12px; line-height: 1.1; }
.pd-rating { color: var(--gold-2); font-size: 15px; margin-bottom: 18px; }
.pd-rating small { color: var(--muted); }
.pd-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pd-price .now { font-size: 34px; font-weight: 800; font-family: "Poppins"; }
.pd-price .was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.pd-price .off { font-size: 14px; color: var(--green); font-weight: 700; }
.pd-tax { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.pd-specs { list-style: none; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-specs li {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 13px; display: flex; align-items: center; gap: 8px;
}
.pd-specs li::before { content: "✓"; color: var(--green); font-weight: 700; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 160px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { transform: translateY(-2px); filter: brightness(1.07); }
.pd-trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 13px; }
.pd-trust span { display: inline-flex; align-items: center; gap: 6px; }
.related-head { max-width: 1100px; margin: 40px auto 18px; padding: 0 22px; }
.related-head h2 { font-size: 24px; }

/* ===== Admin panel ===== */
.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 30px 22px 80px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.admin-top h1 { font-size: 26px; }
.admin-top .muted { color: var(--muted); font-size: 13px; }

.login-box {
  max-width: 380px; margin: 80px auto;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 30px; text-align: center;
}
.login-box .logo-mark { margin: 0 auto 16px; }
.login-box h2 { font-size: 22px; margin-bottom: 6px; }
.login-box p { color: var(--muted); font-size: 13px; margin-bottom: 22px; }

.field { text-align: left; margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); color: var(--txt);
  border: 1px solid var(--line); border-radius: 11px;
  padding: 11px 14px; font-size: 14px; font-family: inherit; outline: none;
  transition: border 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,184,109,0.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tabs { display: flex; gap: 10px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tab {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-family: "Poppins"; font-weight: 600; font-size: 14px;
  padding: 12px 6px; border-bottom: 2px solid transparent; transition: all 0.2s;
}
.tab.active { color: var(--gold-2); border-bottom-color: var(--gold); }

.panel { display: none; }
.panel.active { display: block; }

.card-pane {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 22px;
}
.card-pane h3 { font-size: 17px; margin-bottom: 18px; }

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); }
.admin-table .row-actions { display: flex; gap: 8px; }
.icon-btn {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--txt);
  width: 34px; height: 34px; border-radius: 9px; cursor: pointer; font-size: 14px;
  display: grid; place-items: center; transition: all 0.2s;
}
.icon-btn:hover { border-color: var(--gold); }
.icon-btn.del:hover { border-color: var(--red); color: var(--red); }

.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }
.btn-line { background: transparent; border: 1px solid var(--line); color: var(--txt); }
.btn-line:hover { border-color: var(--gold); }

.upload-prev {
  width: 90px; height: 90px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 10px; display: block;
}

.modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center; z-index: 80; padding: 30px 16px; overflow-y: auto;
}
.modal-bg.show { display: flex; }
.modal {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  width: 100%; max-width: 560px; padding: 28px;
}
.modal h3 { font-size: 20px; margin-bottom: 20px; }
.modal-foot { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }

/* ===== Animations ===== */
/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.trust .reveal:nth-child(2) { transition-delay: 0.08s; }
.trust .reveal:nth-child(3) { transition-delay: 0.16s; }
.trust .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Hero entrance (staggered) */
.hero-content > * { animation: heroIn 0.7s both; }
.hero-content > .hero-tag { animation-delay: 0.05s; }
.hero-content > h1 { animation-delay: 0.15s; }
.hero-content > p { animation-delay: 0.28s; }
.hero-content > .hero-cta { animation-delay: 0.4s; }
.hero-content > .hero-stats { animation-delay: 0.52s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.hero-art { animation: artIn 0.9s 0.2s both; }
@keyframes artIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.hero-art img { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: scale(1.02) translateY(0); }
  50% { transform: scale(1.02) translateY(-12px); }
}

/* Animated gradient text */
.grad {
  background-size: 220% 220%;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Nav link underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Logo + chip + button press feedback */
.logo-mark { transition: transform 0.3s ease; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.btn:active, .add-btn:active, .wa-btn:active, .chip:active { transform: scale(0.96); }

/* Timer tick pulse */
.deals-timer #ss { animation: tick 1s steps(1) infinite; }
@keyframes tick { 50% { opacity: 0.55; } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { height: 280px; }
  .nav-links { display: none; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .owner { grid-template-columns: 1fr; gap: 24px; }
  .owner-photo img { height: 420px; }
  .field-row { grid-template-columns: 1fr; }
  .pd-wrap { grid-template-columns: 1fr; gap: 22px; }
  .pd-name { font-size: 28px; }
}
@media (max-width: 560px) {
  .search { display: none; }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .deals-inner { padding: 28px; }
  .hero-stats { gap: 20px; }
}
