/* Digitalsense ULTRA PRO - Light Theme (Pure CSS)
   ------------------------------------------------
   - Responsive navbar
   - Slider (hero)
   - Product cards
   - Forms / tables
   - Admin panel styles
*/

:root{
  --bg:#eff6ff;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --shadow: 0 10px 25px rgba(15, 23, 42, .08);
  --shadow-sm: 0 6px 14px rgba(15, 23, 42, .08);

  --primary:#22c55e;
  --primary-2:#16a34a;
  --success:#16a34a;
  --danger:#dc2626;
  --warning:#f59e0b;

  --radius: 16px;
  --radius-sm: 12px;

  --container: 1120px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, rgba(37,99,235,.18), transparent 60%),
              radial-gradient(1200px 600px at 100% 10%, rgba(14,165,233,.18), transparent 55%),
              var(--bg);
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar / Navbar */
.navbar{
  position: sticky;
  top:0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(246, 247, 251, .85);
  border-bottom: 1px solid rgba(229,231,235,.9);
}

.navbar .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing: .2px;
}
.brand .logo{
  width:36px;height:36px;border-radius:12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display:grid;place-items:center;
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
.brand .logo img{
  width:100%;height:100%;object-fit:cover;display:block;
}
.brand .name{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .name small{ color: var(--muted); font-weight:600; }

.nav-links{
  display:flex;
  align-items:center;
  gap: 8px;
}
.nav-links a{
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}
.nav-links a:hover{
  background: rgba(37,99,235,.08);
  color: var(--text);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.icon-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  font-weight: 800;
}
.icon-btn:hover{ transform: translateY(-1px); }
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background: rgba(37,99,235,.12);
  color: var(--primary);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  font-weight: 900;
  transition: .15s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0px); }
.btn-primary{
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 25px rgba(37,99,235,.18);
}
.btn-outline{
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-danger{
  background: rgba(220,38,38,.1);
  border-color: rgba(220,38,38,.25);
  color: var(--danger);
}
.btn-success{
  background: rgba(22,163,74,.1);
  border-color: rgba(22,163,74,.25);
  color: var(--success);
}
.btn-sm{ padding: 9px 12px; border-radius: 12px; font-weight: 800; }

/* Mobile menu */
.burger{
  display:none;
  width:44px;height:44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.burger svg{ width:22px;height:22px; }

@media (max-width: 920px){
  .nav-links{ display:none; }
  .burger{ display:grid; place-items:center; }
  .nav-links.open{
    display:flex;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
}

/* Flash */
.flash{
  margin: 18px 0;
  border-radius: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.flash .dot{ width:12px;height:12px;border-radius:999px;margin-top:4px; }
.flash.success .dot{ background: var(--success); }
.flash.error .dot{ background: var(--danger); }
.flash p{ margin:0; color: var(--muted); font-weight:700; }

/* Hero Slider */
.hero{
  margin: 22px 0 18px;
  border-radius: 24px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229,231,235,.9);
  background: var(--surface);
}

.ds-slider{
  position:relative;
  height: 420px;
}
.ds-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition: opacity .5s ease;
  display:flex;
  align-items: stretch;
  justify-content: stretch;
}
.ds-slide.active{ opacity:1; }
.ds-slide .bg{
  flex:1;
  background-size: cover;
  background-position:center;
  filter: saturate(1.05);
}
.ds-slide .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(15,23,42,.70) 0%, rgba(15,23,42,.10) 55%, rgba(15,23,42,0) 70%);
}
.ds-slide .content{
  position:absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #fff;
}
.ds-slide h1{
  margin:0 0 10px;
  font-size: 44px;
  letter-spacing: -0.5px;
}
.ds-slide p{
  margin:0 0 18px;
  color: rgba(255,255,255,.82);
  font-weight:700;
  line-height:1.5;
}

.ds-nav{
  position:absolute;
  inset: auto 18px 18px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap:12px;
}
.ds-dots{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.ds-dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(255,255,255,.35);
  cursor:pointer;
}
.ds-dot.active{ background: #fff; width:22px; border-radius: 999px; }

.ds-arrows{ display:flex; gap:8px; }
.ds-arrow{
  width:42px;height:42px;border-radius: 14px;
  display:grid;place-items:center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  cursor:pointer;
  backdrop-filter: blur(10px);
}
.ds-arrow svg{ width:18px;height:18px; fill:#fff; }

@media (max-width: 860px){
  .ds-slider{ height: 360px; }
  .ds-slide .content{ left: 18px; right: 18px; max-width:none; }
  .ds-slide h1{ font-size: 32px; }
}

/* Sections */
.section{
  margin: 18px 0 26px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom: 12px;
}
.section-head h2{
  margin:0;
  font-size: 22px;
  letter-spacing: -0.3px;
}
.section-head p{ margin:0; color: var(--muted); font-weight:700; }

/* Pills */
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 800;
  color: var(--muted);
}
.pill:hover{
  color: var(--text);
  border-color: rgba(37,99,235,.25);
  background: rgba(37,99,235,.05);
}

/* Grid cards */
.grid{
  display:grid;
  gap:14px;
}
.grid.cols-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1050px){ .grid.cols-4{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 820px){ .grid.cols-4, .grid.cols-3{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .grid.cols-4, .grid.cols-3, .grid.cols-2{ grid-template-columns: 1fr;} }

.card{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
.card.pad{ padding: 16px; }

.product-card .img{
  height: 180px;
  background: var(--surface-2);
  display:block;
  position:relative;
}
.product-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.product-card .body{ padding: 14px 14px 16px; }
.product-card .title{
  font-weight: 900;
  letter-spacing: -0.2px;
  margin:0 0 8px;
  line-height: 1.25;
  min-height: 44px;
}
.meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.price{
  font-weight: 1000;
  font-size: 18px;
}
.price del{
  font-weight:800;
  color: var(--muted);
  font-size: 13px;
  margin-left: 8px;
}
.tag{
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: var(--primary);
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
}

/* Forms */
.form{
  display:grid;
  gap:12px;
}
.field label{
  display:block;
  font-weight:900;
  margin-bottom:6px;
}
.input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  outline: none;
  font-weight:700;
  color: var(--text);
}
textarea{ min-height: 140px; resize: vertical; }
.input:focus, textarea:focus, select:focus{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.help{
  margin-top:6px;
  color: var(--muted);
  font-weight:700;
  font-size: 13px;
}
.inline{
  display:flex;
  gap:12px;
}
.inline > *{ flex:1; }
@media (max-width: 680px){ .inline{ flex-direction:column; } }

/* Tables */
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.table th, .table td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  text-align:left;
  font-weight: 800;
}
.table th{ background: rgba(243,244,246,.9); color: var(--muted); }
.table tr:last-child td{ border-bottom:none; }
.table td small{ color: var(--muted); font-weight: 800; }
.table td .badge{ height: 20px; min-width: 20px; font-size: 11px; }

.status{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 1000;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--border);
  background: var(--surface);
}
.status .dot{ width:8px;height:8px;border-radius:999px; }
.status.paid{ color: var(--success); border-color: rgba(22,163,74,.25); background: rgba(22,163,74,.07); }
.status.paid .dot{ background: var(--success); }
.status.pending{ color: var(--warning); border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.07); }
.status.pending .dot{ background: var(--warning); }
.status.failed{ color: var(--danger); border-color: rgba(220,38,38,.25); background: rgba(220,38,38,.07); }
.status.failed .dot{ background: var(--danger); }

/* Footer */
.footer{
  margin-top: 34px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(229,231,235,.9);
  color: var(--muted);
}
.footer .row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
.footer .social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.social a{
  width:42px;height:42px;border-radius: 14px;
  border:1px solid var(--border);
  background: var(--surface);
  display:grid;
  place-items:center;
  box-shadow: var(--shadow-sm);
}
.social svg{ width:18px;height:18px; fill: var(--muted); }
.social a:hover{ transform: translateY(-1px); }
.footer .links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  font-weight: 800;
}
.footer .links a:hover{ color: var(--text); }

/* Product detail */
.product{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
@media (max-width: 980px){ .product{ grid-template-columns: 1fr; } }

.gallery{
  display:grid;
  gap: 12px;
}
.main-img{
  height: 420px;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.main-img img{ width:100%;height:100%;object-fit:cover;display:block; }
.thumbs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.thumb{
  width: 90px; height: 64px;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--border);
  cursor:pointer;
  background: var(--surface);
}
.thumb img{ width:100%;height:100%;object-fit:cover;display:block; }

.kv{
  display:grid; gap: 12px;
}
.kv h1{ margin:0; font-size: 32px; letter-spacing: -0.5px; }
.kv .desc{ color: var(--muted); font-weight: 750; line-height:1.7; }
.kv .buy{
  display:flex; align-items:center; gap: 10px; flex-wrap:wrap;
}
.note{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(37,99,235,.06);
  border:1px solid rgba(37,99,235,.18);
  color: var(--muted);
  font-weight: 750;
}

/* Admin panel */
.admin-wrap{
  display:grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
  gap:0;
}
@media (max-width: 980px){ .admin-wrap{ grid-template-columns: 1fr; } }

.sidebar{
  position: sticky;
  top: 72px;
  align-self:flex-start;
  height: calc(100vh - 72px);
  padding: 14px;
}
.sidebar .box{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 12px;
}
.side-link{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 900;
}
.side-link:hover{ background: rgba(37,99,235,.06); color: var(--text); }
.side-link.active{ background: rgba(37,99,235,.10); color: var(--primary); border: 1px solid rgba(37,99,235,.18); }

.admin-main{
  padding: 18px 0 26px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 980px){ .cards{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 560px){ .cards{ grid-template-columns: 1fr;} }

.kpi{
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.kpi small{ color: var(--muted); font-weight: 900; }
.kpi strong{ font-size: 26px; letter-spacing: -0.4px; display:block; margin-top: 6px; }

.hr{
  border: none;
  border-top: 1px solid rgba(229,231,235,.9);
  margin: 16px 0;
}


/* ─────────────────────────────────────────────────────────────
   Pro Light v4 – Header / Home sections
───────────────────────────────────────────────────────────── */

.topbar{
  background:#0f172a;
  color:#e5e7eb;
  font-size:12.5px;
  padding:9px 0;
}
.topbar-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.topbar-left, .topbar-right{display:flex;align-items:center;gap:8px;white-space:nowrap}
.topbar-ico{opacity:.9}
@media (max-width:700px){
  .topbar-row{flex-direction:column;align-items:flex-start}
  .topbar-left, .topbar-right{white-space:normal}
}

.brand.has-logo .logo{
  width:auto;
  height:36px;
  background:transparent;
  box-shadow:none;
  border-radius:0;
  padding:0;
}
.brand.has-logo .logo img{
  width:auto;
  height:34px;
  max-width:180px;
  object-fit:contain;
}

.nav-links{display:flex;align-items:center;gap:18px}
.nav-links a, .nav-links summary{
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
}
.nav-links a:hover, .nav-links summary:hover{background:rgba(34,197,94,.10)}
.nav-drop{position:relative}
.nav-drop summary{list-style:none;cursor:pointer}
.nav-drop summary::-webkit-details-marker{display:none}
.nav-drop[open] summary{background:rgba(34,197,94,.12)}
.nav-drop-menu{
  position:absolute;
  top:44px;
  left:0;
  min-width:210px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:8px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:2px;
  z-index:50;
}
.nav-drop-menu a{
  padding:10px 10px;
  border-radius:12px;
  font-weight:800;
  font-size:13.5px;
}
.nav-drop-menu a:hover{background:rgba(34,197,94,.10)}
@media (max-width:860px){
  .nav-drop-menu{position:static;box-shadow:none;border:none;padding:0}
  .nav-drop{width:100%}
  .nav-links{gap:6px}
}

/* Notice bar */
.notice{margin:18px 0}
.notice-inner{
  background:linear-gradient(180deg,#ffffff, #f7fffb);
  border:1px solid rgba(34,197,94,.25);
  border-radius:18px;
  padding:14px 14px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}
.notice-ico{font-size:18px;line-height:1}

/* Hero */
.hero{margin-top:18px}
.hero-card{
  background:#111827;
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(2,6,23,.25);
}
.ds-slide{display:none}
.ds-slide.active{display:block}
.hero-inner{
  display:flex;
  align-items:stretch;
  gap:18px;
  padding:20px;
}
.hero-copy{
  flex:1;
  padding:18px 18px 18px 6px;
  color:#e5e7eb;
}
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(34,197,94,.16);
  border:1px solid rgba(34,197,94,.35);
  color:#bbf7d0;
  font-weight:900;
  font-size:12px;
  border-radius:999px;
  padding:8px 12px;
  margin-bottom:10px;
}
.hero-copy h1{
  font-size:40px;
  letter-spacing:-.6px;
  line-height:1.08;
  margin:6px 0 10px;
}
.hero-copy p{color:#cbd5e1;max-width:560px;margin:0 0 16px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.hero-mini{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.hero-mini .mini{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#e5e7eb;
  border-radius:999px;
  padding:8px 10px;
  font-weight:800;
  font-size:12.5px;
  display:flex;
  align-items:center;
  gap:8px;
}
.mini-ico{opacity:.95}
.hero-media{width:44%;min-width:320px;display:flex;align-items:center;justify-content:center}
.hero-media img{width:100%;height:100%;max-height:360px;object-fit:cover;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06)}
@media (max-width:960px){
  .hero-inner{flex-direction:column}
  .hero-media{width:100%;min-width:0}
  .hero-copy h1{font-size:34px}
}
@media (max-width:520px){
  .hero-copy h1{font-size:30px}
}

/* Slider nav */
.ds-nav{position:absolute;left:0;right:0;bottom:14px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;pointer-events:none}
.ds-dots{display:flex;gap:8px;pointer-events:auto}
.ds-dot{width:10px;height:10px;border-radius:999px;background:rgba(255,255,255,.28);cursor:pointer}
.ds-dot.active{background:rgba(34,197,94,.95)}
.ds-arrows{display:flex;gap:8px;pointer-events:auto}
.ds-arrow{width:38px;height:38px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);display:grid;place-items:center;cursor:pointer}
.ds-arrow svg{width:22px;height:22px;fill:#e5e7eb}
.ds-arrow:hover{background:rgba(255,255,255,.12)}

/* Product extras */
.sale-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:rgba(34,197,94,.95);
  color:#052e16;
  font-weight:1000;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
}
.stars{
  margin-top:6px;
  color:#16a34a;
  letter-spacing:1px;
  font-size:13px;
}

/* Promo section */
.promo{margin-top:18px}
.promo-card{
  display:flex;
  gap:18px;
  align-items:stretch;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff, #f5fffb);
  box-shadow:0 18px 60px rgba(15,23,42,.08);
}
.promo-media{width:38%;min-width:280px}
.promo-media img{width:100%;height:100%;max-height:360px;object-fit:cover;border-radius:18px;border:1px solid var(--border);background:var(--bg)}
.promo-copy{flex:1;padding:6px 6px 6px 0}
.promo-copy h2{margin:6px 0 10px;font-size:30px;letter-spacing:-.4px}
.promo-copy p{margin:0 0 14px;color:var(--muted)}
.mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:14px}
.mini-card{
  display:flex;
  gap:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
}
.mini-title{font-weight:1000}
@media (max-width:900px){
  .promo-card{flex-direction:column}
  .promo-media{width:100%}
}
@media (max-width:520px){
  .mini-grid{grid-template-columns:1fr}
}

/* FAQ */
.faq-wrap{display:grid;grid-template-columns:1fr 360px;gap:18px;align-items:start}
.faq-side img{width:100%;border-radius:18px;border:1px solid var(--border);background:var(--bg)}
.faq-item{
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(255,255,255,.78);
  padding:0;
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  padding:14px 14px;
  font-weight:1000;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:after{
  content:'+';
  float:right;
  font-size:18px;
  opacity:.7;
}
.faq-item[open] summary:after{content:'–'}
.faq-body{padding:0 14px 14px;color:var(--muted)}
.faq-list{display:flex;flex-direction:column;gap:10px}
@media (max-width:900px){
  .faq-wrap{grid-template-columns:1fr}
  .faq-side{display:none}
}

/* Blog */
.blog-grid .blog-card{display:block}
.blog-card .img{height:150px}
.blog-card .img img{height:150px;object-fit:cover}
.blog-card .body{padding:12px}
.blog-card .title{font-weight:1000}
.blog-hero img{width:100%;max-height:360px;object-fit:cover;border-radius:18px;border:1px solid var(--border);background:var(--bg)}
.lead{font-size:16px;font-weight:700;color:var(--muted);margin-top:14px}
.wysiwyg{margin-top:14px;line-height:1.7;color:var(--text)}

/* Testimonials */
.testi-card{padding:14px}
.testi-head{display:flex;gap:12px;align-items:center}
.avatar{width:44px;height:44px;border-radius:999px;overflow:hidden;border:1px solid var(--border);background:var(--bg)}
.avatar img{width:100%;height:100%;object-fit:cover}
.testi-name{font-weight:1000}
.testi-body{margin-top:10px;color:var(--muted);line-height:1.6}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery-item{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background:rgba(255,255,255,.75);
  box-shadow:0 10px 30px rgba(15,23,42,.06);
  display:block;
}
.gallery-item img{width:100%;height:120px;object-fit:cover;display:block}
.gallery-item:hover{transform:translateY(-2px);transition:.15s}
@media (max-width:900px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.gallery-grid{grid-template-columns:1fr}}

/* Buttons small */
.btn.btn-sm{padding:9px 12px;font-size:13px;border-radius:12px}

/* Navbar actions tweaks */
.icon-btn{gap:8px}
.badge{margin-left:6px}

/* Hero slider overrides (auto height) */
.hero-card.ds-slider{height:auto}
.hero-card .ds-slide{
  position:relative;
  inset:auto;
  opacity:1;
  transition:none;
}
.hero-card .ds-nav{
  position:relative;
  left:auto;right:auto;bottom:auto;
  padding:0 18px 18px;
  margin-top:-6px;
  pointer-events:auto;
}
