@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

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

:root {
  --blue:       #1B4FD8;
  --blue-dark:  #1340B0;
  --blue-light: #EEF2FF;
  --blue-mid:   #C7D4FA;
  --text-900:   #0F172A;
  --text-500:   #64748B;
  --text-300:   #CBD5E1;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;
  --border:     #E2E8F0;
  --error:      #DC2626;
  --success:    #16A34A;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text-900); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ── NAVBAR ───────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem,2vw,1.5rem);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(220px, 42vw);
}
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-links a { font-size: .875rem; font-weight: 500; color: var(--text-500); padding: .4rem .75rem; border-radius: 8px; transition: background .15s, color .15s; cursor: pointer; }
.nav-links a:hover { background: var(--bg); color: var(--text-900); }
.nav-links a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: .6rem; }

/* ── BUTTONS ──────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.25rem; border-radius: var(--radius); font-size: .875rem; font-weight: 600; cursor: pointer; border: none; transition: all .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--text-500); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--bg); color: var(--text-900); }
.btn-danger { background: #FEE2E2; color: var(--error); border: 1.5px solid #FECACA; }
.btn-danger:hover { background: #FECACA; }
.btn-green { background: #DCFCE7; color: var(--success); border: 1.5px solid #BBF7D0; }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--blue-light); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── BADGE ────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: #DCFCE7; color: var(--success); }
.badge-yellow { background: #FEF9C3; color: #A16207; }
.badge-red { background: #FEE2E2; color: var(--error); }
.badge-grey { background: var(--bg); color: var(--text-500); border: 1px solid var(--border); }

/* ── FORMS ────────────────────────────────────────── */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-900); margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .72rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); background: var(--white); color: var(--text-900);
  font-size: .9rem; transition: border-color .15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(27,79,216,.08); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-hint { font-size: .78rem; color: var(--text-500); margin-top: .35rem; }
.pw-wrap { position: relative; display: flex; align-items: center; }
.pw-wrap .form-input { padding-right: 44px; }
.pw-btn { position: absolute; right: 12px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text-500); padding: 0; transition: color .15s; }
.pw-btn:hover { color: var(--blue); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

/* Image upload */
.img-upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
  background: var(--bg);
}
.img-upload-zone:hover { border-color: var(--blue); background: var(--blue-light); }
.img-upload-zone.dragging { border-color: var(--blue); background: var(--blue-light); }
.img-upload-zone input[type=file] { display: none; }
.img-preview { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); margin-top: .75rem; border: 1px solid var(--border); }
.img-upload-icon { font-size: 2rem; margin-bottom: .5rem; }
.img-upload-label { font-size: .85rem; color: var(--text-500); }
.img-upload-label strong { color: var(--blue); }

/* ── MSG BOX ──────────────────────────────────────── */
.msg-box { padding: .75rem 1rem; border-radius: var(--radius); font-size: .85rem; margin-top: 1rem; display: none; }
.msg-box.error { background: #FEE2E2; color: var(--error); display: block; }
.msg-box.success { background: #DCFCE7; color: var(--success); display: block; }
.msg-box.info { background: var(--blue-light); color: var(--blue); display: block; }

/* ── HERO ─────────────────────────────────────────── */
.hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 96px 0 80px; }
.hero-inner { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.5rem,4vw,3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue-light); color: var(--blue); font-size: .72rem; font-weight: 700; padding: .4rem 1rem; border-radius: 999px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid var(--blue-mid); }
.hero h1 { font-size: clamp(2.4rem,4.5vw,3.5rem); margin-bottom: 1.25rem; letter-spacing: -.04em; line-height: 1.08; }
.hero h1 span { color: var(--blue); }
.hero p { color: var(--text-500); font-size: 1.05rem; margin-bottom: 2.5rem; max-width: 500px; line-height: 1.8; }
.hero-btns { display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: .5rem; }
.hero-visual { background: var(--blue-light); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--blue-mid); }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.hero-stat { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.25rem; border: 1px solid var(--border); }
.hero-stat-num { font-family: 'Syne',sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.hero-stat-label { color: var(--text-500); font-size: .8rem; margin-top: .2rem; }

/* ── HOME SECTIONS ────────────────────────────────── */
.home-section { padding: 64px 0; }
.home-section + .home-section { border-top: 1px solid var(--border); }
.home-section-inner { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1rem,2vw,1.5rem); }
.home-section-header { margin-bottom: 2.5rem; }
.section-kicker { display: inline-flex; align-items: center; gap: .4rem; background: var(--blue-light); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.5rem,3vw,1.9rem); margin-bottom: .6rem; }
.section-sub { color: var(--text-500); font-size: .95rem; }

/* Cat grid */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem 1.25rem; cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; text-align: center; }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-mid); }
.cat-icon { width: 52px; height: 52px; background: var(--blue-light); border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin: 0 auto 1rem; }
.cat-card h3 { font-size: .95rem; margin-bottom: .35rem; }
.cat-card p { font-size: .8rem; color: var(--text-500); }

/* Products grid */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

/* Product card */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-thumb { height: 180px; background: var(--blue-light); display: grid; place-items: center; font-size: 3rem; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-thumb-emoji { position: relative; z-index: 1; }
.product-thumb-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.product-body { padding: 1.1rem; }
.product-cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: .4rem; }
.product-name { font-family: 'Syne',sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: .35rem; line-height: 1.3; }
.product-desc { font-size: .82rem; color: var(--text-500); margin-bottom: .85rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-price { font-family: 'Syne',sans-serif; font-size: 1.05rem; font-weight: 700; }
.product-price small { font-family: 'DM Sans',sans-serif; font-size: .72rem; font-weight: 400; color: var(--text-500); }
.wish-btn {
  position: absolute;
  top: 10px; right: 10px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s;
  z-index: 2;
  line-height: 1;
}
.wish-btn:hover { transform: scale(1.15); }
.wish-btn.wished { color: #e53e3e; }
.wish-btn:disabled { cursor: wait; transform: none; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.why-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.why-icon { font-size: 1.5rem; margin-bottom: .85rem; }
.why-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.why-card p { font-size: .82rem; color: var(--text-500); line-height: 1.6; }

/* CTA strip */
.cta-strip { background: var(--blue); border-radius: var(--radius-lg); padding: 3rem; text-align: center; }
.cta-strip h2 { font-size: 1.75rem; color: var(--white); margin-bottom: .6rem; }
.cta-strip p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; font-size: .95rem; }

/* ── SHOP PAGE ────────────────────────────────────── */
.page-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 2rem 0; }
.page-header-inner { max-width: 1440px; margin: 0 auto; padding: 0 clamp(1rem,2vw,1.5rem); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.page-header h1 { font-size: 1.75rem; margin-bottom: .2rem; }
.page-header p { color: var(--text-500); font-size: .875rem; }
.page-body { max-width: 1440px; margin: 0 auto; padding: 2rem clamp(1rem,2vw,1.5rem); }
.shop-toolbar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filter-btn { padding: .4rem .9rem; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1.5px solid var(--border); background: var(--white); color: var(--text-500); cursor: pointer; transition: all .15s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.shop-search { padding: .5rem 1rem; border: 1.5px solid var(--border); border-radius: 999px; font-size: .85rem; width: 220px; background: var(--white); color: var(--text-900); transition: border-color .15s; margin-left: auto; }
.shop-search:focus { border-color: var(--blue); outline: none; }

/* ── PRODUCT DETAIL ───────────────────────────────── */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
.detail-thumb { height: 280px; background: var(--blue-light); border-radius: var(--radius-lg); border: 1px solid var(--blue-mid); display: grid; place-items: center; font-size: 5rem; margin-bottom: 2rem; overflow: hidden; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.detail-name { font-size: 1.9rem; margin-bottom: .85rem; letter-spacing: -.02em; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.detail-meta-item { font-size: .85rem; color: var(--text-500); }
.detail-meta-item strong { display: block; color: var(--text-900); font-weight: 600; font-size: .9rem; }
.detail-desc { color: var(--text-500); line-height: 1.75; margin-bottom: 1.75rem; }
.detail-features { list-style: none; }
.detail-features li { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.detail-features li:last-child { border-bottom: none; }
.detail-features li::before { content: '✓'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.detail-sidebar-card { position: sticky; top: 80px; align-self: start; padding: 1.75rem; }
.detail-price { font-family: 'Syne',sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .35rem; }
.detail-price small { font-family: 'DM Sans',sans-serif; font-size: .8rem; color: var(--text-500); font-weight: 400; }

/* ── AUTH ─────────────────────────────────────────── */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.auth-logo { font-family: 'Syne',sans-serif; font-size: 1.15rem; font-weight: 800; margin-bottom: 1.5rem; }
.auth-logo span { color: var(--blue); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: .3rem; }
.auth-card > p { color: var(--text-500); font-size: .88rem; margin-bottom: 1.75rem; }

/* ── ADMIN LAYOUT ─────────────────────────────────── */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar { width: 240px; flex-shrink: 0; background: var(--white); border-right: 1px solid var(--border); padding: 1rem 0; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; display: flex; flex-direction: column; }
.admin-sidebar-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-300); padding: .85rem .75rem .35rem; }
.admin-sidebar-link { display: flex; align-items: center; gap: .65rem; padding: .6rem .75rem; margin: 0 .5rem; border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: var(--text-500); cursor: pointer; transition: background .15s, color .15s; border: none; background: transparent; width: calc(100% - 1rem); text-align: left; }
.admin-sidebar-link:hover { background: var(--bg); color: var(--text-900); }
.admin-sidebar-link.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.admin-sidebar-link .icon { font-size: 1rem; flex-shrink: 0; }
.admin-sidebar-spacer { flex: 1; }
.admin-sidebar-footer { padding: .75rem; border-top: 1px solid var(--border); }
.admin-user-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem; margin-bottom: .5rem; }
.admin-user-email { font-size: .75rem; font-weight: 600; color: var(--text-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-role { font-size: .7rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.admin-main { flex: 1; padding: 2rem clamp(1rem,3vw,2rem); overflow-y: auto; min-width: 0; }
.admin-page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.75rem; gap: 1rem; flex-wrap: wrap; }
.admin-page-title { font-size: 1.5rem; margin-bottom: .2rem; }
.admin-page-sub { color: var(--text-500); font-size: .875rem; }

/* Stats */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-bottom: 1.75rem; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; }
.stat-card-label { font-size: .78rem; font-weight: 600; color: var(--text-500); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.stat-card-num { font-family: 'Syne',sans-serif; font-size: 2rem; font-weight: 800; color: var(--text-900); letter-spacing: -.03em; }
.stat-card-sub { font-size: .78rem; color: var(--text-500); margin-top: .25rem; }

/* Admin panel */
.admin-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.25rem; }
.admin-panel-title { font-family: 'Syne',sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.admin-panel-sub { color: var(--text-500); font-size: .82rem; margin-bottom: 1.25rem; }

/* Table */
.admin-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.admin-table-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); gap: 1rem; flex-wrap: wrap; }
.admin-table-title { font-family: 'Syne',sans-serif; font-size: .95rem; font-weight: 700; }
.admin-search { padding: .45rem .9rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: .82rem; background: var(--bg); color: var(--text-900); width: 200px; }
.admin-search:focus { border-color: var(--blue); outline: none; }
table { width: 100%; border-collapse: collapse; font-size: .855rem; }
thead th { text-align: left; padding: .75rem 1.25rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-500); background: var(--bg); border-bottom: 1px solid var(--border); }
tbody td { padding: .9rem 1.25rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg); }

/* Tabs inside admin sections */
.admin-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.admin-tab { padding: .6rem 1rem; font-size: .85rem; font-weight: 600; color: var(--text-500); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s; }
.admin-tab:hover { color: var(--text-900); }
.admin-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ── FOOTER ───────────────────────────────────────── */
footer { background: var(--white); border-top: 1px solid var(--border); padding: 2rem clamp(1rem,2vw,1.5rem); }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Syne',sans-serif; font-size: 1rem; font-weight: 800; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; gap: 1.25rem; list-style: none; }
.footer-links a { color: var(--text-500); font-size: .83rem; transition: color .15s; cursor: pointer; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { color: var(--text-500); font-size: .78rem; }

/* ── UTILS ────────────────────────────────────────── */
.spinner-wrap { display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; }
.spinner { width: 30px; height: 30px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--text-500); }
.empty-state h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--text-900); }
.empty-state p { font-size: .875rem; margin-bottom: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* WA float */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: white; border: none; cursor: pointer; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 4px 16px rgba(37,211,102,.4); z-index: 100; transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }

/* Overlay / Modal */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity .2s; }
.overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 2rem; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.modal-title { font-size: 1.15rem; }
.modal-close { background: none; border: none; font-size: 1.25rem; cursor: pointer; color: var(--text-500); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar-card { position: static; }
}
@media (max-width: 768px) {
  .admin-sidebar { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-logo img { height: 38px; max-width: 160px; }
  .nav-hamburger { display: flex; }
  .hero-showcase { padding-top: 24px; padding-bottom: 40px; }
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 199;
  flex-direction: column;
  gap: .25rem;
  box-shadow: var(--shadow-md);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-500);
  cursor: pointer;
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active {
  background: var(--blue-light);
  color: var(--blue);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: .25rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-900);
  border-radius: 2px;
  transition: all .2s;
}

@media (max-width: 540px) {
  .cat-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ── IMAGE GALLERY (Detail page) ──────────────────── */
.gallery-wrap { margin-bottom: 2rem; }
.gallery-main {
  width: 100%; aspect-ratio: 1/1; max-height: 480px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.gallery-main img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: opacity .25s ease;
}
.gallery-main .gallery-emoji {
  font-size: 5rem;
}
.gallery-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; z-index: 5;
  box-shadow: var(--shadow); transition: background .15s;
}
.gallery-nav-btn:hover { background: var(--blue-light); }
.gallery-nav-btn.prev { left: 10px; }
.gallery-nav-btn.next { right: 10px; }
.gallery-nav-btn:disabled { opacity: .3; cursor: default; }
.gallery-dots {
  display: flex; justify-content: center; gap: .4rem; margin-top: .65rem;
}
.gallery-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  padding: 0; transition: background .2s, transform .2s;
}
.gallery-dot.active { background: var(--blue); transform: scale(1.3); }
.gallery-thumbs {
  display: flex; gap: .5rem; margin-top: .65rem; flex-wrap: wrap;
}
.gallery-thumb {
  width: 64px; height: 64px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; flex-shrink: 0;
  transition: border-color .15s;
  background: var(--white);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.gallery-thumb.active { border-color: var(--blue); }

/* ── COLOR VARIANTS ───────────────────────────────── */
.color-picker-wrap { margin-bottom: 1.25rem; }
.color-picker-label { font-size: .8rem; font-weight: 600; color: var(--text-900); margin-bottom: .5rem; }
.color-picker-label span { font-weight: 400; color: var(--blue); margin-left: .35rem; }
.color-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.color-chip {
  padding: .35rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--white); cursor: pointer;
  transition: all .15s; color: var(--text-900);
}
.color-chip:hover { border-color: var(--blue); color: var(--blue); }
.color-chip.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Fix product card thumb */
.product-thumb { height: 200px; background: var(--white); display: grid; place-items: center; font-size: 3rem; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; padding: 10px; }

/* Fix detail thumb (old single-image fallback) */
.detail-thumb { height: 380px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); display: grid; place-items: center; font-size: 5rem; margin-bottom: 2rem; overflow: hidden; }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }

/* Admin multi-image upload */
.multi-img-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: .6rem; margin-top: .75rem;
}
.multi-img-item {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); background: var(--bg);
}
.multi-img-item img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.multi-img-remove {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px;
  background: var(--error); color: white; border: none; border-radius: 50%;
  font-size: .7rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.multi-img-main-badge {
  position: absolute; bottom: 4px; left: 4px;
  background: var(--blue); color: white; font-size: .6rem; font-weight: 700;
  padding: .15rem .4rem; border-radius: 4px;
}
.add-img-btn {
  aspect-ratio: 1/1; border: 2px dashed var(--border); border-radius: var(--radius);
  background: var(--bg); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .3rem;
  font-size: .75rem; color: var(--text-500); transition: border-color .15s, background .15s;
  min-height: 80px;
}
.add-img-btn:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }

/* Auth switch */
.auth-switch { text-align:center; font-size:.82rem; color:var(--text-500); margin-top:.85rem; }
.auth-switch a { color:var(--blue); font-weight:600; cursor:pointer; }
.auth-switch a:hover { text-decoration:underline; }

/* Homepage refresh */
.hero-showcase {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-showcase-inner { gap: 2rem; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-showcase .hero-kicker {
  background: var(--blue-light);
  color: var(--blue);
  border: 1px solid var(--blue-mid);
}
.hero-showcase h1 { color: var(--text-900); }
.hero-showcase h1 span { color: var(--blue); }
.hero-showcase p { color: var(--text-500); }
.hero-showcase .btn-outline {
  color: var(--blue);
  border-color: var(--blue);
}
.hero-showcase .btn-outline:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.hero-proof-card {
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
}
.hero-proof-card strong { color: var(--blue); }
.hero-proof-card span { color: var(--text-500); }

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-proof-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  backdrop-filter: blur(14px);
}

.hero-proof-card strong {
  display: block;
  color: var(--white);
  font-family: 'Syne',sans-serif;
  font-size: 1.45rem;
  margin-bottom: .25rem;
}

.hero-proof-card span {
  color: rgba(255,255,255,.68);
  font-size: .8rem;
}

.hero-media-shell { position: relative; min-height: 520px; }
.hero-media-chip {
  position: absolute;
  z-index: 4;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  backdrop-filter: blur(10px);
}

.hero-media-chip-top { top: 18px; left: 18px; }
.hero-media-chip-bottom { right: 18px; bottom: 58px; }

.hero-media-stage {
  position: relative;
  height: 100%;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 60px rgba(7,20,38,.35);
  background: rgba(255,255,255,.04);
}

.hero-media-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: rgba(255,255,255,.76);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .55s ease, transform 4.8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,20,38,.06), rgba(7,20,38,.3));
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.24);
  cursor: pointer;
  transition: transform .18s, background .18s;
}

.hero-dot.active {
  background: var(--white);
  transform: scale(1.28);
}

.metrics-band {
  padding: 1rem 0;
  background: #071426;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.metrics-band-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: .85rem;
}

.metric-pill {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 1rem 1.15rem;
}

.metric-pill strong {
  display: block;
  color: var(--white);
  font-family: 'Syne',sans-serif;
  font-size: 1.1rem;
  margin-bottom: .15rem;
}

.metric-pill span {
  color: rgba(255,255,255,.68);
  font-size: .8rem;
}

.cat-card-media-layout {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.cat-card-media {
  height: 240px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  background: var(--white);
}

.cat-card-copy { padding: 1.1rem 1.1rem 1.2rem; }
.cat-card-count {
  display: inline-flex;
  align-items: center;
  margin-bottom: .55rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cat-card-copy h3 { font-size: 1rem; margin-bottom: .35rem; }
.cat-card-copy p { font-size: .82rem; color: var(--text-500); }
.cat-card-placeholder {
  color: #334155;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.home-section-dark {
  background: linear-gradient(180deg, #071426 0%, #0b1c34 100%);
  border-top: none;
}

.home-section-header-light .section-title,
.home-section-header-light .section-sub { color: var(--white); }
.home-section-header-light .section-sub { color: rgba(255,255,255,.7); }
.section-kicker-light {
  background: rgba(255,255,255,.08);
  color: #bfdbfe;
  border: 1px solid rgba(255,255,255,.12);
}

.showcase-marquee {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding: .35rem 0;
}

.showcase-empty {
  width: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255,255,255,.78);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 24px;
}

.showcase-track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  animation: showcase-scroll 34s linear infinite;
}

@keyframes showcase-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}

.showcase-card {
  width: 280px;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 16px 50px rgba(7,20,38,.26);
  flex-shrink: 0;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-carousel-wrap {
  position: relative;
}
.testimonial-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.testimonial-grid::-webkit-scrollbar { display: none; }
.testimonial-grid .testimonial-card {
  min-width: 340px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.testimonial-meta strong {
  font-size: .96rem;
  font-family: 'Syne',sans-serif;
}

.testimonial-meta span,
.testimonial-rating {
  color: var(--text-500);
  font-size: .8rem;
}

.testimonial-card p {
  color: var(--text-900);
  line-height: 1.75;
  font-size: .88rem;
}

.why-label {
  display: inline-flex;
  align-items: center;
  padding: .22rem .65rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}

.about-page-header {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.about-header-copy { max-width: 820px; }

.page-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: .85rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-page-body {
  width: 100%;
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  min-width: 0;
}

.about-page-body > * {
  width: 100%;
  min-width: 0;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  min-width: 0;
}

.about-feature-grid > * {
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.about-media-panel { padding: 1rem; overflow: visible; }
.about-media-main {
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16/9;
  width: 100%;
}

.about-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-top: .85rem;
}

.about-media-thumb {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16/9;
  width: 100%;
}

.about-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-video-wrap {
  margin-top: .95rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #020617;
}

.about-video-wrap iframe,
.about-video-wrap video {
  width: 100%;
  min-height: 280px;
  border: none;
  display: block;
}

.about-story-panel { padding: .5rem 0; }
.about-story-panel,
.about-process-section,
.about-gallery-section,
.about-feedback-section,
.about-cta-strip {
  min-width: 0;
}

.about-story-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}

.about-story-panel p {
  color: var(--text-500);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  min-width: 0;
}

.about-story-card,
.about-step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.about-story-card-no,
.about-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: .9rem;
}

.about-story-card h3,
.about-step-card h3 {
  font-size: 1rem;
  margin-bottom: .45rem;
}

.about-story-card p,
.about-step-card p {
  color: var(--text-500);
  font-size: .86rem;
  line-height: 1.75;
}

.about-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  min-width: 0;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  min-width: 0;
}

.about-gallery-card {
  aspect-ratio: 4/3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-cta-strip { margin-top: .5rem; }

.managed-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}

.managed-media-card {
  position: relative;
  height: 170px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.managed-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.managed-media-card-pending::after {
  content: 'Pending upload';
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: .22rem .55rem;
  border-radius: 999px;
  background: rgba(15,23,42,.7);
  color: var(--white);
  font-size: .72rem;
}

.managed-media-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  border-radius: 999px;
  padding: .35rem .65rem;
  background: rgba(15,23,42,.72);
  color: var(--white);
  font-size: .75rem;
  cursor: pointer;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: .25rem;
}

.admin-stack-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-stack-head {
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .85rem;
}

@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .metrics-band-inner,
  .hero-proof-row,
  .testimonial-grid,
  .about-card-grid,
  .about-step-grid,
  .about-gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-feature-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-media-shell { min-height: 420px; }
  .hero-media-stage { min-height: 420px; }
}

@media (max-width: 768px) {
  .nav-right { gap: .4rem; }
  .hero-showcase { padding-top: 56px; }
  .hero-proof-row,
  .metrics-band-inner,
  .testimonial-grid,
  .about-card-grid,
  .about-step-grid,
  .about-gallery-grid { grid-template-columns: 1fr; }
  .showcase-card { width: 220px; height: 280px; }
  .about-media-main img { min-height: 280px; object-fit: cover; }
  .about-media-row { grid-template-columns: 1fr; gap: 1rem; }
  .managed-media-grid { grid-template-columns: 1fr 1fr; }
  .about-gallery-card { aspect-ratio: 16/9; }
}

@media (max-width: 540px) {
  .managed-media-grid { grid-template-columns: 1fr; }
  .hero-media-chip { font-size: .72rem; }
  .hero-media-chip-bottom { bottom: 72px; }
  .about-gallery-card { aspect-ratio: 1/1; }
}

/* ── TESTIMONIAL SCROLL CONTROLS ── */
.testimonial-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.testimonial-scroll-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .18s;
  flex-shrink: 0;
}
.testimonial-scroll-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── FOOTER CONTACT INFO ── */
.footer-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-500);
  font-size: 0.8rem;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── TESTIMONIAL STAR RATINGS ── */
.testimonial-rating {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  color: #f59e0b;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.testimonial-meta strong {
  font-size: 0.9rem;
  color: var(--text-900);
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-500);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-contact {
    justify-content: center;
  }
}

/* ── ADMIN MANAGEMENT ── */
.admin-user-card-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.admin-user-card-mini:last-child {
  border-bottom: none;
}

.admin-user-info {
  flex: 1;
}

.admin-user-email-mini {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-900);
}

.admin-user-meta {
  font-size: 0.75rem;
  color: var(--text-500);
  margin-top: 0.25rem;
}

.admin-user-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.admin-badge-super {
  background: #fef3c7;
  color: #d97706;
}

.admin-badge-regular {
  background: var(--blue-light);
  color: var(--blue);
}

.user-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--white);
}

.user-search-result:hover {
  background: var(--bg);
}

.stat-card-admin {
  background: linear-gradient(135deg, var(--blue-light), var(--white));
}

.stat-card-admin .stat-card-num {
  color: var(--blue);
}
