/* ==========================================================================
   VerifiedBM Global — original stylesheet
   Design tokens inspired by the reference layout; all code written fresh.
   Sharp-corner aesthetic: border-radius is 0 throughout.
   ========================================================================== */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --blue: #1877F2;
  --blue-deep: #0a4fbd;
  --blue-dark: #1a3a8f;
  --blue-pale: #f0f5ff;
  --blue-pale-2: #e8f0fe;
  --ink: #121212;
  --gray: #555;
  --gray-2: #666;
  --gray-light: #999;
  --border: #e8eef8;
  --bg: #ffffff;
  --bg-alt: #f2f3f5;
  --wa: #25D366;
  --wa-deep: #128C3E;
  --tg: #229ED9;
  --tg-deep: #1a7ab5;
  --green: #27ae60;
  --orange: #e67e22;
  --slate: #2c3e50;
  --sky: #3498db;
  --pink: #E1306C;
  --purple: #9b59b6;
  --red: #e74c3c;
  --grad-blue: linear-gradient(135deg, #1877F2 0%, #0a4fbd 100%);
  --grad-wa: linear-gradient(135deg, #25D366 0%, #128C3E 100%);
  --grad-tg: linear-gradient(135deg, #229ED9 0%, #1a7ab5 100%);
  --shadow-sm: 0 2px 8px rgba(10, 60, 150, .08);
  --shadow-md: 0 8px 24px rgba(10, 60, 150, .12);
  --font-body: 'Ubuntu', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-logo: 'Raleway', 'Ubuntu', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 700; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style-position: inside; }
:focus { outline: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }

/* Section heading pattern: kicker -> H2 -> lead */
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--blue); margin-bottom: 10px;
}
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-title .hl { color: var(--blue); }
.section-lead { font-size: 16px; color: var(--gray-2); max-width: 720px; margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- 2. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-size: 15px; font-weight: 700; font-family: var(--font-body);
  border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 6px 18px rgba(24,119,242,.35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24,119,242,.45); }
.btn-outline { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--grad-blue); color: #fff; border-color: transparent; }
.btn-ghost { background: linear-gradient(135deg, #f0f4ff, #dce8ff); color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost:hover { background: var(--grad-blue); color: #fff; }
.btn-wa { background: var(--grad-wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.btn-wa:hover { color: #fff; transform: translateY(-2px); }
.btn-wa-outline { background: #fff; border: 2px solid var(--wa); color: var(--wa-deep); }
.btn-wa-outline:hover { background: var(--grad-wa); color: #fff; }
.btn-tg { background: var(--grad-tg); color: #fff; box-shadow: 0 6px 18px rgba(34,158,217,.35); }
.btn-tg:hover { color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- 3. Announcement bar ---------- */
.announce-bar {
  background: var(--grad-blue);
  color: #fff; font-size: 13px; font-weight: 500;
  padding: 9px 0; position: relative; z-index: 60;
}
.announce-bar .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.announce-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
.countdown-chip {
  background: rgba(0,0,0,.22); padding: 3px 12px;
  font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 1px;
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; }
.logo-text { font-family: var(--font-logo); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.1; }
.logo-text span { color: var(--blue); display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #333; font-weight: 500; font-size: 15px; padding: 10px 14px;
  position: relative; transition: color .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--grad-blue);
}
.nav-cta { margin-left: 10px; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: #fff; z-index: 100; transition: right .3s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,.12); padding: 24px; overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a.nav-link { display: block; padding: 12px 4px; color: #333; font-weight: 500; border-bottom: 1px solid var(--border); font-size: 16px; }
.drawer-close { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--gray); float: right; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; display: none; }
.drawer-overlay.open { display: block; }

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-bottom-nav .mbn-inner { display: flex; justify-content: space-around; }
.mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--gray-2); font-weight: 500; }
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--blue); }
.mobile-bottom-nav svg { width: 22px; height: 22px; }

/* ---------- 5. Hero ---------- */
.hero {
  background: var(--blue-pale);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(24,119,242,.14), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(24,119,242,.12), transparent 45%),
    radial-gradient(rgba(24,119,242,.16) 1.2px, transparent 1.2px);
  background-size: auto, auto, 26px 26px;
  padding: 72px 0 60px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--blue); }
.hero-sub { font-size: 16px; color: var(--gray-2); margin-bottom: 30px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Feature strip under hero */
.feature-strip { background: #fff; border-bottom: 1px solid var(--border); padding: 26px 0; }
.feature-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-item strong { display: block; color: var(--ink); font-size: 15px; }
.feature-item small { color: var(--gray-light); font-size: 13px; }

/* Payment methods bar */
.paybar { background: var(--blue-pale-2); padding: 18px 0; }
.paybar .container { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.paybar .pay-label { font-size: 13px; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: 1px; }
.pay-chip { background: #fff; border: 1px solid var(--border); padding: 6px 16px; font-size: 13px; font-weight: 600; color: var(--gray-2); }

/* Bubble-dot texture for gradient bands */
.dots { position: relative; }
.dots::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.22) 2.2px, transparent 2.2px);
  background-size: 26px 26px;
}

/* ---------- 6. Category sections & product listings ---------- */
.cat-section { padding: 56px 0 8px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.cat-badge {
  width: 54px; height: 54px; flex: 0 0 54px; display: flex; align-items: center; justify-content: center; color: #fff;
}
.cat-badge svg { width: 28px; height: 28px; }
.cat-head h2 { font-size: 24px; font-weight: 800; }
.cat-head p { font-size: 14px; color: var(--gray-light); }
.cat-head .view-all { margin-left: auto; font-weight: 700; font-size: 14px; white-space: nowrap; }

/* List-row product cards (homepage default) */
.p-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.p-row {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--border); padding: 16px 20px;
  transition: background .15s ease;
}
.p-row:hover { background: #f8faff; }
.p-row-icon {
  width: 56px; height: 56px; border-radius: 50%; flex: 0 0 56px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.p-row-icon svg { width: 28px; height: 28px; }
.p-row-body { flex: 1; min-width: 0; }
.p-row-tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--blue); margin-bottom: 2px;
}
.p-row-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.p-row-sub { font-size: 13px; color: var(--gray-light); }
.p-row-price { font-size: 18px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.p-row-price s { font-size: 13px; color: var(--gray-light); font-weight: 400; margin-right: 8px; }
.p-row-actions { display: flex; gap: 10px; align-items: center; }

/* Grid product cards */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card {
  background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.p-card-band {
  padding: 7px 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #fff;
}
.p-card-media { padding: 26px 20px 10px; display: flex; justify-content: center; }
.p-card-media .p-icon {
  width: 74px; height: 74px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.p-card-media .p-icon svg { width: 36px; height: 36px; }
.p-card-media img.prod-img { width: 100%; height: 170px; object-fit: cover; }
.p-card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card-title { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.p-card-title a { color: inherit; }
.p-card-title a:hover { color: var(--blue); }
.p-card-sub { font-size: 12.5px; color: var(--gray-light); line-height: 1.55; flex: 1; }
.p-card-price { font-size: 18px; font-weight: 800; color: var(--blue); }
.p-card-price s { font-size: 13px; color: var(--gray-light); font-weight: 400; margin-right: 6px; }
.p-card .btn { margin-top: 8px; }
.stock { font-size: 12px; font-weight: 700; }
.stock.in_stock { color: var(--green); }
.stock.limited { color: var(--orange); }
.stock.out_of_stock { color: var(--red); }

/* Toolbar: search / filter / sort */
.toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: #fff; border: 1px solid var(--border); padding: 14px 16px; margin-bottom: 24px;
}
.toolbar .search-box { flex: 1; min-width: 220px; display: flex; }
.toolbar input[type="search"], .toolbar select {
  border: 1px solid #ebebeb; padding: 10px 14px; font-size: 14px; font-family: var(--font-body); border-radius: 0;
}
.toolbar input[type="search"] { flex: 1; border-right: 0; }
.toolbar input[type="search"]:focus, .toolbar select:focus { border-color: var(--blue); }
.results-meta { font-size: 14px; color: var(--gray-light); margin-bottom: 18px; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 36px 0 8px; flex-wrap: wrap; }
.page-link { border: 1px solid var(--border); padding: 8px 16px; color: var(--gray-2); font-weight: 600; font-size: 14px; background: #fff; }
.page-link:hover { border-color: var(--blue); color: var(--blue); }
.page-link.active { background: var(--grad-blue); color: #fff; border-color: transparent; }

/* ---------- 7. Trust strip & CTA strip ---------- */
.trust-strip { background: linear-gradient(135deg, #0a3a8f, #1877F2); color: #fff; padding: 22px 0; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.trust-item svg { width: 30px; height: 30px; flex: 0 0 30px; opacity: .95; }
.cta-strip { background: var(--grad-blue); color: #fff; padding: 54px 0; text-align: center; }
.cta-strip h2 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-strip p { color: rgba(255,255,255,.85); margin-bottom: 26px; font-size: 16px; }
.cta-strip .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 8. Product detail ---------- */
.crumbs { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; font-size: 13px; color: var(--gray-light); }
.crumbs a { color: var(--gray-2); } .crumbs a:hover { color: var(--blue); }
.pd-hero { background: linear-gradient(135deg, #1a3a8f 0%, #1877F2 55%, #0ea5e9 100%); color: #fff; padding: 56px 0; }
.pd-pill {
  display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4);
  padding: 5px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
}
.pd-hero h1 { color: #fff; font-size: 34px; font-weight: 800; margin-bottom: 10px; max-width: 760px; }
.pd-hero .pd-sub { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 22px; max-width: 680px; }
.pd-price { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.pd-price s { font-size: 20px; font-weight: 400; color: rgba(255,255,255,.6); margin-right: 12px; }
.pd-meta { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 26px; font-size: 14px; color: rgba(255,255,255,.92); }
.pd-meta span { display: inline-flex; align-items: center; gap: 8px; }
.pd-meta svg { width: 18px; height: 18px; }
.pd-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-body { padding: 48px 0 64px; background: var(--bg-alt); }
.pd-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.pd-card { background: #fff; border: 1px solid var(--border); padding: 28px; margin-bottom: 24px; }
.pd-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--blue); }
.pd-card p { margin-bottom: 12px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feature-list li { list-style: none; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.feature-list li::before { content: '✓'; color: var(--blue); font-weight: 800; flex: 0 0 auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.spec-table th { background: #fafafa; color: var(--ink); font-weight: 600; width: 38%; }
.buy-box { position: sticky; top: 96px; background: #fff; border: 1px solid var(--border); }
.buy-box-head { background: var(--grad-blue); color: #fff; padding: 18px 22px; }
.buy-box-head .bb-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; opacity: .85; }
.buy-box-head .bb-price { font-size: 32px; font-weight: 800; }
.buy-box-head .bb-price s { font-size: 16px; font-weight: 400; opacity: .65; margin-right: 8px; }
.buy-box-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.buy-box .ask { text-align: center; font-size: 13px; }
.guarantee-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.g-tile { background: var(--blue-pale); padding: 12px; text-align: center; font-size: 12px; font-weight: 600; color: var(--blue-dark); }
.g-tile svg { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--blue); }
.qty-row { display: flex; align-items: center; gap: 12px; }
.qty-row input { width: 76px; border: 1px solid #ebebeb; padding: 10px; font-size: 15px; text-align: center; border-radius: 0; }
.review-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.review-item:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-head strong { color: var(--ink); }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; }

/* ---------- 9. Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .bc-media { height: 170px; background: var(--grad-blue); display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; }
.blog-card .bc-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .bc-media svg { width: 54px; height: 54px; opacity: .9; }
.blog-card .bc-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-date { font-size: 12px; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; }
.blog-card h3 { font-size: 17px; line-height: 1.4; }
.blog-card h3 a { color: var(--ink); } .blog-card h3 a:hover { color: var(--blue); }
.blog-card p { font-size: 14px; flex: 1; }
.read-more { font-weight: 700; font-size: 14px; }
.article { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border); padding: 44px; }
.article h1 { font-size: 32px; margin-bottom: 12px; }
.article .a-meta { color: var(--gray-light); font-size: 13px; margin-bottom: 26px; }
.article h2 { font-size: 22px; margin: 30px 0 12px; }
.article p, .article li { margin-bottom: 12px; }
.article ul, .article ol { margin: 0 0 16px 4px; }

/* ---------- 10. Testimonials / case studies ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.testi-card .t-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--blue-pale); color: var(--blue); padding: 4px 12px;
}
.testi-card h3 { font-size: 17px; }
.testi-card blockquote { font-size: 14px; font-style: italic; color: var(--gray-2); flex: 1; }
.testi-card .t-name { font-weight: 700; color: var(--ink); font-size: 14px; }

/* ---------- 11. FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 18px 22px; font-size: 16px; font-weight: 600; color: var(--ink); font-family: var(--font-body);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .fx { font-size: 22px; color: var(--blue); font-weight: 400; flex: 0 0 auto; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 22px 20px; font-size: 14px; }
.faq-item.open { border-left: 3px solid var(--blue); }
.faq-item.open .faq-a { max-height: 500px; }

/* ---------- 12. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); padding: 36px; max-width: 640px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 6px; }
.form-group label .req { color: var(--red); }
.form-control {
  width: 100%; border: 1px solid #ebebeb; background: #fff; padding: 12px 14px;
  font-size: 15px; font-family: var(--font-body); border-radius: 0; color: var(--ink);
}
.form-control:focus { border-color: var(--blue); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-error { color: var(--red); font-size: 13px; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Alerts */
.alert { padding: 14px 18px; margin-bottom: 20px; font-size: 14px; border-left: 4px solid; }
.alert-success { background: #eafaf1; border-color: var(--green); color: #1e7a45; }
.alert-error { background: #fdecea; border-color: var(--red); color: #a93226; }
.alert-info { background: var(--blue-pale); border-color: var(--blue); color: var(--blue-dark); }

/* ---------- 13. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.contact-panel { background: #fff; border: 1px solid var(--border); padding: 32px; }
.contact-panel h3 { font-size: 19px; margin-bottom: 18px; padding-left: 14px; border-left: 4px solid var(--blue); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--bg-alt); font-size: 14px; }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 22px; height: 22px; color: var(--blue); flex: 0 0 22px; margin-top: 3px; }
.contact-line strong { color: var(--ink); display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- 14. Checkout & orders ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.order-summary { background: #fff; border: 1px solid var(--border); }
.order-summary-head { background: var(--grad-blue); color: #fff; padding: 16px 22px; font-weight: 700; }
.order-summary-body { padding: 22px; }
.sum-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.sum-line.total { border-top: 2px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--ink); }
.sum-line.total span:last-child { color: var(--blue); }
.order-ref-big {
  background: var(--blue-pale); border: 2px dashed var(--blue);
  font-size: 26px; font-weight: 800; letter-spacing: 2px; color: var(--blue-dark);
  text-align: center; padding: 20px; margin: 20px 0;
}
.status-timeline { margin: 10px 0 0; padding: 0; }
.status-timeline li { list-style: none; position: relative; padding: 0 0 22px 30px; font-size: 14px; }
.status-timeline li::before {
  content: ''; position: absolute; left: 6px; top: 6px; width: 12px; height: 12px;
  background: #fff; border: 3px solid var(--border); border-radius: 50%;
}
.status-timeline li::after { content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border); }
.status-timeline li:last-child::after { display: none; }
.status-timeline li.done::before { border-color: var(--green); background: var(--green); }
.status-timeline li strong { color: var(--ink); text-transform: capitalize; }
.status-timeline li small { display: block; color: var(--gray-light); }
.status-pill {
  display: inline-block; padding: 4px 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.status-pending { background: #fef5e7; color: #b7791f; }
.status-processing { background: var(--blue-pale); color: var(--blue-deep); }
.status-completed { background: #eafaf1; color: #1e7a45; }
.status-cancelled { background: #f2f3f5; color: var(--gray-2); }
.status-refunded { background: #fdecea; color: #a93226; }
.track-form { max-width: 520px; }

/* Policy pages */
.policy-body { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--border); padding: 44px; }
.policy-body h2 { font-size: 20px; margin: 28px 0 10px; }
.policy-body p, .policy-body li { margin-bottom: 10px; font-size: 15px; }
.policy-body ol, .policy-body ul { margin-left: 6px; }

/* 404 */
.e404 { text-align: center; padding: 90px 0; }
.e404 h1 { font-size: 90px; font-weight: 800; color: var(--blue); }
.e404 p { font-size: 17px; margin: 12px 0 28px; }

/* ---------- 15. Footer ---------- */
.footer-cta-wrap { background: #fff; }
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand p { font-size: 14px; margin: 14px 0; }
.footer-trusted { font-size: 13px; color: var(--gray-light); }
.footer-col h4 { color: var(--blue); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { padding: 0; }
.footer-col li { list-style: none; margin-bottom: 10px; }
.footer-col a { color: var(--gray-light); font-size: 14px; }
.footer-col a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px;
  color: #fff !important; font-size: 13px; font-weight: 700;
}
.footer-social a.tg { background: var(--grad-tg); }
.footer-social a.wa { background: var(--grad-wa); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-light); font-size: 14px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue); flex: 0 0 17px; margin-top: 4px; }
.copyright-bar { border-top: 1px solid var(--border); padding: 18px 0; text-align: center; font-size: 13px; color: var(--gray-light); }

/* ---------- 16. Floating elements ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 44px; height: 44px; background: #222; color: #fff; border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center; font-size: 20px;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--blue); }
.wa-float {
  position: fixed; right: 18px; bottom: 76px; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-wa); color: #fff; display: none;
  align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(37,211,102,.5);
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 17. Admin panel ---------- */
.admin-body { background: var(--bg-alt); display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px; flex: 0 0 250px; background: var(--slate); color: #bdc3c7;
  min-height: 100vh; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand { padding: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-brand .logo-text { color: #fff; font-size: 17px; }
.admin-nav { padding: 12px 0 30px; }
.admin-nav .nav-group { padding: 14px 20px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: #7f8c8d; }
.admin-nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 20px;
  color: #bdc3c7; font-size: 14px; font-weight: 500;
}
.admin-nav a svg { width: 18px; height: 18px; flex: 0 0 18px; }
.admin-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav a.active { background: var(--blue); color: #fff; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border); padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 40;
}
.admin-topbar .tb-right { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.admin-topbar .tb-right a { color: var(--gray-2); } .admin-topbar .tb-right a:hover { color: var(--blue); }
.admin-content { padding: 28px; }
.admin-content h1.page-title { font-size: 24px; margin-bottom: 4px; }
.page-sub { color: var(--gray-light); font-size: 14px; margin-bottom: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--border); padding: 22px; border-left: 4px solid var(--blue); }
.stat-card .s-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-light); font-weight: 700; }
.stat-card .s-value { font-size: 30px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.stat-card.c-green { border-left-color: var(--green); } .stat-card.c-green .s-value { color: var(--green); }
.stat-card.c-orange { border-left-color: var(--orange); } .stat-card.c-orange .s-value { color: var(--orange); }
.stat-card.c-purple { border-left-color: var(--purple); } .stat-card.c-purple .s-value { color: var(--purple); }
.panel { background: #fff; border: 1px solid var(--border); margin-bottom: 24px; }
.panel-head { padding: 16px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head h2 { font-size: 17px; }
.panel-body { padding: 22px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table th { background: #fafbfc; color: var(--ink); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.data-table tr:hover td { background: #f8faff; }
.data-table .thumb { width: 46px; height: 46px; object-fit: cover; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-xs { padding: 6px 12px; font-size: 12px; }
.inline-form { display: inline; }
.admin-filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-filters input, .admin-filters select { border: 1px solid #ebebeb; padding: 9px 12px; font-size: 14px; border-radius: 0; font-family: var(--font-body); }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--grad-blue); padding: 24px; }
.login-card { background: #fff; padding: 44px; width: 100%; max-width: 420px; box-shadow: var(--shadow-md); }
.login-card .logo { justify-content: center; margin-bottom: 8px; }
.login-card h1 { font-size: 22px; text-align: center; margin-bottom: 6px; }
.login-card .l-sub { text-align: center; color: var(--gray-light); font-size: 14px; margin-bottom: 26px; }
.perm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; }
.perm-grid label { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 6px 0; }
.sample-notice {
  background: #fef9e7; border: 1px solid #f9e79f; border-left: 4px solid var(--orange);
  padding: 14px 18px; font-size: 14px; margin-bottom: 24px; color: #7d6608;
}
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { padding: 10px 20px; font-weight: 600; color: var(--gray-2); font-size: 14px; }
.tabs a.active { color: var(--blue); border-bottom: 3px solid var(--blue); margin-bottom: -2px; }
.img-preview { max-width: 220px; border: 1px solid var(--border); margin-top: 8px; }
.gallery-admin { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.gallery-admin figure { position: relative; }
.gallery-admin img { width: 110px; height: 110px; object-fit: cover; border: 1px solid var(--border); }
.gallery-admin .g-del { position: absolute; top: 4px; right: 4px; }

/* ---------- 18. Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 34px; }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip .container, .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: -260px; z-index: 100; transition: left .3s; }
  .admin-sidebar.open { left: 0; }
  .admin-menu-btn { display: inline-flex !important; }
}

@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .p-row { flex-wrap: wrap; }
  .p-row-actions { width: 100%; }
  .p-row-actions .btn { flex: 1; }
  .blog-grid, .testi-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 64px; }
  .admin-body body, body.admin-no-pad { padding-bottom: 0; }
  .wa-float { display: flex; }
  .back-to-top { bottom: 140px; }
  .section-title { font-size: 26px; }
  .pd-hero h1 { font-size: 26px; }
  .pd-price { font-size: 32px; }
  .article, .policy-body { padding: 26px 20px; }
  .admin-content { padding: 18px 14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .data-table { font-size: 13px; }
  .data-table th:nth-child(n+4), .data-table td:nth-child(n+4) { display: none; }
  .order-ref-big { font-size: 19px; }
}
.admin-menu-btn { display: none; background: none; border: 1px solid var(--border); padding: 8px 12px; cursor: pointer; font-size: 15px; }

/* ---------- 19. Admin utility classes (used by content/system views) ---------- */
.badge {
  display: inline-block; padding: 3px 12px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; background: var(--bg-alt); color: var(--gray-2);
}
.status-on { color: var(--green); font-weight: 700; }
.status-off { color: var(--gray-light); font-weight: 700; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-note { font-size: 12.5px; color: var(--gray-light); margin-top: 5px; }
tr.row-unread td { font-weight: 700; background: #f4f8ff; }
tr.row-unread:hover td { background: #eaf1fe; }
@media (max-width: 767px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 20. Category pill nav + trust band (homepage) ---------- */
.cat-nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 6px 0 34px;
}
.cat-nav a {
  padding: 9px 20px; background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 700; color: var(--gray-2); text-decoration: none;
}
.cat-nav a:hover { border-color: var(--blue); color: var(--blue); background: #f4f8ff; }
.cat-section { scroll-margin-top: 140px; }
.trust-band {
  background: var(--grad-blue); color: #fff; text-align: center;
  padding: 26px 0; position: relative;
}
.trust-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}
.trust-band .container { display: block; }
.trust-band p { margin: 0; font-size: 17px; position: relative; }
.trust-band strong { font-weight: 800; }
@media (max-width: 767px) {
  .cat-nav a { padding: 7px 14px; font-size: 12px; }
  .trust-band p { font-size: 14px; }
}
