/* ─── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --dark:    #0a0c0f;
  --dark2:   #111620;
  --text:    #1a1f2e;
  --muted:   #6b7280;
  --gold:    #c9a34e;
  --gold2:   #e8c472;
  --light:   #f8f7f4;
  --white:   #ffffff;
  --border:  #e8e4da;
  --radius:  20px;
  --radius-lg: 30px;
  --shadow:  0 20px 60px rgba(0,0,0,.08);
  --shadow-lg: 0 40px 100px rgba(0,0,0,.15);
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ─── UTILITIES ────────────────────────────────────────────── */
.container { width: min(1200px, 92%); margin: auto; }
.muted { color: var(--muted); }

/* ─── SCROLL REVEAL ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--transition), transform .7s var(--transition);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: none; }

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,163,78,.4);
  background: var(--gold2);
}
.btn.dark {
  background: var(--dark);
}
.btn.dark:hover {
  background: #1e2738;
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}
.btn.outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold) !important;
}
.btn.outline:hover {
  background: var(--gold);
  color: #fff !important;
}

/* ─── HEADER ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 100;
  border-bottom: 1px solid rgba(230,226,216,.6);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  transition: opacity var(--transition);
}
.brand:hover { opacity: .8; }
.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
}
.brand-logo-placeholder {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--dark2), #2a3550);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav a:not(.nav-cta):hover {
  background: rgba(201,163,78,.1);
  color: var(--gold);
}
.nav a.active {
  color: var(--gold);
}
.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,163,78,.35) !important;
}
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  transition: background var(--transition);
}
.menu-btn:hover { background: var(--light); }
.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark2);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,163,78,.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,163,78,.06) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,163,78,.15);
  border: 1px solid rgba(201,163,78,.3);
  color: var(--gold2);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero Visual */
.hero-visual {
  position: relative;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 40px;
}
.hero-img-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: .4;
}
.hero-img-placeholder p {
  font-size: .85rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.hero-card-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card-float .icon {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hero-card-float strong { font-size: .85rem; color: #fff; }
.hero-card-float span { font-size: .75rem; color: rgba(255,255,255,.6); display: block; }

/* ─── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section.alt { background: var(--light); }
.section-label {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

/* ─── CARDS ────────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,163,78,.25);
}
.card-img {
  aspect-ratio: 4/3;
  background: #f0ede6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: .85rem;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--transition);
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.card-body .muted { font-size: .88rem; margin-bottom: 14px; }
.card-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 9px; }

/* ─── ABOUT ────────────────────────────────────────────────── */
.about-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark2), #2a3550);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-icon-placeholder {
  font-size: 80px;
  color: var(--gold);
  opacity: .6;
}
.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--gold);
  color: #fff;
  padding: 14px 22px;
  border-radius: 16px;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(201,163,78,.4);
}
.about-badge strong { font-size: 1.6rem; display: block; }
.about-badge span { font-size: .75rem; opacity: .9; }

/* ─── STATS ────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: rgba(201,163,78,.06);
  border: 1px solid rgba(201,163,78,.15);
  border-radius: var(--radius);
}
.stat-item strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
}
.stat-item span { font-size: .85rem; color: var(--muted); }

/* ─── CONTACT ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.info-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,163,78,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.info-row strong { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 2px; }
.info-row p { margin: 0; font-size: .95rem; }
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

/* ─── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  background: var(--dark2);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,163,78,.1) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.4rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.65); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--gold2); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ─── PRODUCT DETAIL ───────────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light);
  aspect-ratio: 1;
  position: sticky;
  top: 100px;
}
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-content h2 { font-size: 1.8rem; font-weight: 900; letter-spacing: -.02em; margin-bottom: 16px; }
.features {
  white-space: pre-line;
  background: var(--light);
  padding: 22px 26px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  font-size: .9rem;
  line-height: 2;
  margin: 20px 0;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding-top: 60px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,163,78,.4), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
}
.footer-desc { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--gold); transform: translateY(-2px); }
.footer-grid h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 800;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,.55);
  margin: 9px 0;
  font-size: .88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-grid a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item .icon {
  width: 32px;
  height: 32px;
  background: rgba(201,163,78,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-item span { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
.footer-admin-link {
  opacity: 0;
  transition: opacity .3s;
  font-size: .7rem;
  color: rgba(255,255,255,.15) !important;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 0 !important;
}
.footer-admin-link:hover {
  opacity: 1 !important;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.4) !important;
  padding-left: 8px !important;
}
.footer-bottom:hover .footer-admin-link { opacity: 1; }

/* ─── ADMIN ────────────────────────────────────────────────── */
.admin-body { background: #f1f3f8; }
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--dark);
  color: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-brand {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1rem;
}
.sidebar-brand .dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,163,78,.4); }
  50% { box-shadow: 0 0 0 6px rgba(201,163,78,0); }
}
.sidebar-nav { padding: 16px 14px; flex: 1; }
.sidebar-section {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  padding: 12px 10px 6px;
  font-weight: 800;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  margin: 2px 0;
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  position: relative;
}
.sidebar a .nav-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.sidebar a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.sidebar a:hover .nav-icon { background: rgba(201,163,78,.2); }
.sidebar a.active {
  background: rgba(201,163,78,.15);
  color: var(--gold2);
}
.sidebar a.active .nav-icon { background: rgba(201,163,78,.25); color: var(--gold); }
.sidebar-footer {
  padding: 16px 14px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  margin-bottom: 6px;
}
.sidebar-user .avatar {
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}
.sidebar-user span { font-size: .82rem; color: rgba(255,255,255,.6); }

.admin-main { padding: 36px 40px; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.admin-topbar h1 {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.02em;
}
.admin-topbar p { color: var(--muted); font-size: .88rem; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.admin-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.admin-card h1, .admin-card h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--light);
  letter-spacing: -.02em;
}

/* Stat cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-card .stat-icon.gold  { background: rgba(201,163,78,.12); }
.stat-card .stat-icon.blue  { background: rgba(59,130,246,.1); }
.stat-card .stat-icon.green { background: rgba(34,197,94,.1); }
.stat-card .stat-icon.pink  { background: rgba(236,72,153,.1); }
.stat-card strong { font-size: 1.7rem; font-weight: 900; display: block; letter-spacing: -.02em; }
.stat-card span { font-size: .8rem; color: var(--muted); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.form-field { margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 7px;
}
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  font-size: .92rem;
  background: #fafaf8;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,163,78,.12);
  background: #fff;
}
input[type="checkbox"] {
  width: auto;
  accent-color: var(--gold);
  margin-right: 8px;
}
input[type="file"] {
  padding: 10px 14px;
  background: var(--light);
  cursor: pointer;
}
textarea { resize: vertical; }

.form-hint { font-size: .78rem; color: var(--muted); margin-top: 5px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.checkbox-label { display: flex; align-items: center; font-weight: 600; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--text); cursor: pointer; }

/* Saved alert */
.alert-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Table */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .88rem;
}
thead { background: #fafaf8; }
th {
  padding: 14px 18px;
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--transition); }
tbody tr:hover { background: #fafaf8; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge.green { background: #ecfdf5; color: #065f46; }
.badge.red { background: #fef2f2; color: #991b1b; }
.badge.gold { background: rgba(201,163,78,.1); color: #92640a; }
.badge.gray { background: #f3f4f6; color: #6b7280; }
.actions { display: flex; gap: 8px; }
.actions a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 700;
  transition: background var(--transition);
}
.actions .edit { background: #eff6ff; color: #1d4ed8; }
.actions .edit:hover { background: #dbeafe; }
.actions .del { background: #fef2f2; color: #b91c1c; }
.actions .del:hover { background: #fee2e2; }

/* Product image thumb */
.product-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--light);
  object-fit: cover;
  flex-shrink: 0;
}
.product-name-cell { display: flex; align-items: center; gap: 12px; }

/* ─── LOGIN ─────────────────────────────────────────────────── */
.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 30% 40%, #1a2035 0%, var(--dark) 60%);
  position: relative;
  overflow: hidden;
}
.login::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,163,78,.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.login-box {
  width: min(440px, 92%);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  padding: 44px 40px;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 40px 100px rgba(0,0,0,.4);
}
.login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
  box-shadow: 0 12px 30px rgba(201,163,78,.35);
}
.login-box h1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.login-box p.sub {
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin-bottom: 28px;
}
.login-box label {
  color: rgba(255,255,255,.6);
}
.login-box input {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  color: #fff;
}
.login-box input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(201,163,78,.15);
}
.login-box input::placeholder { color: rgba(255,255,255,.3); }
.login-box .btn { width: 100%; justify-content: center; padding: 14px; font-size: .95rem; }
.alert {
  background: rgba(185,28,28,.15);
  border: 1px solid rgba(185,28,28,.3);
  color: #fca5a5;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: .85rem;
}
.login-hint {
  text-align: center;
  margin-top: 18px;
  font-size: .78rem;
  color: rgba(255,255,255,.2);
}

/* ─── UPLOAD PREVIEWS ──────────────────────────────────────── */
.img-preview-wrap {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px dashed var(--border);
  background: var(--light);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition);
}
.img-preview-wrap:hover { border-color: var(--gold); }
.img-preview-wrap img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}
.img-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px;
  color: var(--muted);
  font-size: .82rem;
}
.img-preview-placeholder svg { width: 32px; height: 32px; opacity: .4; }

/* Hero banner preview in settings */
.hero-img-preview-wrap {
  aspect-ratio: 16/7;
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed var(--border);
  background: linear-gradient(135deg, #1a2035, #0a0c0f);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  cursor: pointer;
  transition: border-color var(--transition);
}
.hero-img-preview-wrap:hover { border-color: var(--gold); }
.hero-img-preview-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: .82rem;
}
.hero-img-preview-placeholder svg { width: 36px; height: 36px; opacity: .3; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-main { padding: 24px; }
}
@media (max-width: 850px) {
  .menu-btn { display: flex; flex-direction: column; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 80px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,.1);
  }
  .menu-open .nav { display: flex; }
  .nav a { width: 100%; }
  .hero-grid, .about-box, .contact-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-card-float { position: relative; left: auto; bottom: auto; margin-top: 20px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 0; }
  .sidebar-brand { border-right: 1px solid rgba(255,255,255,.08); border-bottom: 0; }
  .sidebar-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .sidebar-section { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { gap: 30px; }
  .about-badge { position: static; margin-top: 20px; display: inline-block; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .login-box { padding: 32px 24px; }
  .admin-main { padding: 16px; }
}
