/* Categorias abaixo do banner principal */
.home-categories{position:relative;z-index:1;margin:24px 0 38px}
.home-categories .section-head{gap:12px}
.home-categories .section-head a{display:inline-flex;align-items:center;gap:7px}
.home-categories-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.home-category-card{display:flex;align-items:center;gap:12px;min-height:100px;padding:18px;border:1px solid var(--border,#365047);border-radius:17px;background:linear-gradient(135deg,var(--card,#243c34),var(--surface,#14241f));color:var(--text,#fff);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.home-category-card:hover,.home-category-card:focus-visible{transform:translateY(-3px);border-color:var(--red,#6fa89a);box-shadow:0 10px 25px rgba(0,0,0,.22);color:var(--text,#fff)}
.home-category-icon{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border-radius:13px;background:rgba(111,168,154,.17);color:var(--red,#6fa89a);font-size:23px}
.home-category-name{font-size:15px;font-weight:700;line-height:1.35;min-width:0;overflow-wrap:anywhere}
.home-category-arrow{margin-left:auto;color:var(--red,#6fa89a);font-size:15px}
@media(max-width:640px){.home-categories{margin:18px 0 28px}.home-categories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-category-card{padding:12px;min-height:105px;gap:9px;flex-wrap:wrap}.home-category-icon{width:37px;height:37px;font-size:20px}.home-category-name{font-size:13px;flex:1}.home-category-arrow{display:none}.home-categories .section-head h2{font-size:20px}}
/* Dropdown de categorias do navbar - Manual do Cuidado */
@media(min-width:901px){
 .topbar .nav-links{align-items:center}
 .topbar .nav-courses-dropdown{position:relative;display:flex;align-items:center;align-self:stretch}
 .topbar .nav-courses-trigger{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
 .topbar .nav-courses-trigger .bi{font-size:11px;transition:transform .2s}
 .topbar .nav-courses-dropdown:hover .nav-courses-trigger .bi,.topbar .nav-courses-dropdown:focus-within .nav-courses-trigger .bi{transform:rotate(180deg)}
 .topbar .nav-courses-panel{position:absolute;top:calc(100% - 3px);left:-22px;width:min(350px,calc(100vw - 30px));max-height:min(65vh,530px);overflow-y:auto;padding:14px;background:linear-gradient(145deg,rgba(23,42,39,.98),rgba(9,20,19,.99));border:1px solid rgba(132,207,184,.32);border-radius:17px;box-shadow:0 24px 65px rgba(0,0,0,.48);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s;z-index:80}
 .topbar .nav-courses-dropdown:hover .nav-courses-panel,.topbar .nav-courses-dropdown:focus-within .nav-courses-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
 .topbar .nav-courses-heading{display:flex;flex-direction:column;gap:3px;padding:8px 10px 13px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:8px}
 .topbar .nav-courses-heading span{font-size:15px;font-weight:750;color:#fff}
 .topbar .nav-courses-heading small{font-size:12px;color:#a9c4bb}
 .topbar .nav-courses-list{display:grid;gap:3px}
 .topbar .nav-courses-list a{display:flex;align-items:center;gap:11px;padding:11px 10px;border-radius:10px;color:#e9f4ef;font-size:14px;transition:background .15s}
 .topbar .nav-courses-list a:hover,.topbar .nav-courses-list a:focus-visible{background:rgba(113,192,165,.17);color:#fff}
 .topbar .nav-courses-list a .bi:first-child{color:#8fdec3;font-size:18px;width:23px;text-align:center}
 .topbar .nav-courses-list a .bi:last-child{margin-left:auto;font-size:12px;opacity:.65}
 .topbar .nav-courses-all{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:13px 12px;border-radius:10px;background:rgba(111,168,154,.19);color:#b9f2db;font-weight:700;font-size:13px}
 .topbar .nav-courses-all:hover{background:rgba(111,168,154,.32);color:#fff}
}
@media(max-width:900px){.topbar .nav-courses-panel{display:none}}
:root{--bg:#0B1614;--card:#2E4F48;--surface:#1C2A26;--red:#6FA89A;--red2:#9EC7BA;--text:#fff;--muted:#a7a7a7;--border:#3D4F49;--ok:#22c55e;--warn:#f59e0b;--err:#ef4444}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.desktop-only{display:block}.mobile-only{display:none}
.main-content{padding:88px 28px 64px 96px;min-height:100vh}.topbar{position:fixed;z-index:30;top:0;left:0;right:0;height:72px;display:flex;align-items:center;gap:18px;padding:0 28px;background:linear-gradient(180deg,rgba(0,0,0,.78),rgba(0,0,0,.08));backdrop-filter:blur(0);transition:.2s}.topbar.scrolled{background:rgba(8,8,8,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.2px}.brand span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--red);box-shadow:0 0 24px rgba(0,140,255,.35)}.nav-links{display:flex;gap:18px;color:#ddd}.nav-links a:hover{color:#fff}.search{height:42px;min-width:260px;margin-left:auto;border:1px solid var(--border);background:rgba(20,20,20,.85);border-radius:999px;display:flex;align-items:center;gap:10px;padding:0 14px}.search input{background:transparent;border:0;color:var(--text);outline:0;width:100%}.icon-btn,.side-toggle{border:1px solid var(--border);background:var(--card);color:#fff;border-radius:12px;width:42px;height:42px;display:grid;place-items:center;cursor:pointer;position:relative}.cart-link span,.cart-bubble span{position:absolute;top:-8px;right:-8px;background:var(--red);border-radius:999px;min-width:20px;height:20px;display:grid;place-items:center;font-size:12px}.avatar{width:42px;height:42px;border-radius:50%;background:var(--surface);border:1px solid var(--border);display:grid;place-items:center;font-weight:800}.side-menu{position:fixed;z-index:25;top:88px;left:16px;width:64px;padding:8px;border:1px solid var(--border);background:rgba(20,20,20,.82);backdrop-filter:blur(16px);border-radius:16px;transition:.2s}.side-menu.open{width:230px}.side-menu a,.side-toggle{width:100%;height:46px;display:flex;align-items:center;gap:12px;padding:0 14px;margin:4px 0;border-radius:12px;color:#ddd;overflow:hidden}.side-menu a:hover{background:var(--surface);color:#fff}.side-menu i{min-width:18px}.side-menu span{white-space:nowrap;opacity:0}.side-menu.open span{opacity:1}.btn{border:0;background:var(--red);color:#fff;border-radius:12px;padding:12px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.18s}.btn:hover{background:var(--red2);transform:translateY(-1px)}.btn-small{padding:10px 14px}.btn-ghost{background:transparent;border:1px solid var(--border);color:#fff}.btn-ghost:hover{background:var(--surface)}.toast{position:relative;margin:0 0 16px;padding:14px 16px;border-radius:12px;background:var(--surface);border:1px solid var(--border)}.toast.success{border-color:rgba(34,197,94,.45)}.toast.error{border-color:rgba(239,68,68,.45)}.toast.warning{border-color:rgba(245,158,11,.45)}
.hero{margin:-88px -28px 34px -96px;min-height:620px;position:relative;overflow:hidden}.hero-slide{min-height:620px;background-size:cover;background-position:center;display:none;align-items:end;padding:160px 8vw 80px;background-color:#111}.hero-slide.active{display:flex}.hero-slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0B1614 0%,rgba(8,8,8,.72) 35%,rgba(8,8,8,.2) 75%),linear-gradient(0deg,#0B1614 0%,rgba(8,8,8,0) 35%)}.hero-copy{position:relative;max-width:650px}.hero-copy h1{font-size:clamp(42px,7vw,84px);line-height:.95;margin:8px 0 16px}.hero-copy p{font-size:18px;color:#ddd;line-height:1.6}.pill{display:inline-flex;background:rgba(0,140,255,.18);color:#fff;border:1px solid rgba(0,140,255,.45);border-radius:999px;padding:8px 12px;font-weight:800}.section{margin:36px 0}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section h2{font-size:24px;margin:0}.rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(240px,280px);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 18px;scrollbar-width:thin}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.product-card{background:var(--card);border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:.18s;scroll-snap-align:start}.product-card:hover{transform:translateY(-5px) scale(1.01);box-shadow:0 18px 45px rgba(0,140,255,.16)}.product-image{aspect-ratio:16/10;background:#111;position:relative;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.badges{position:absolute;top:10px;left:10px;display:flex;gap:6px;flex-wrap:wrap}.badges span{font-size:11px;background:var(--red);border-radius:999px;padding:5px 8px;font-weight:800}.product-body{padding:14px}.product-body small{color:var(--muted)}.product-body h3{font-size:17px;margin:6px 0;line-height:1.25}.product-body p{color:var(--muted);font-size:14px;line-height:1.45;min-height:42px}.rating{display:flex;gap:6px;align-items:center;color:#ffd166;font-size:13px}.rating span{color:var(--muted);margin-left:auto}.price-line{display:flex;gap:10px;align-items:end;margin-top:12px}.price-line del{color:var(--muted);font-size:13px}.price-line strong{font-size:22px}.product-body em{display:block;color:#8ee6ad;font-size:12px;font-style:normal;margin:4px 0 12px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.panel{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field label{color:#ddd;font-size:14px}.field input,.field select,.field textarea{width:100%;background:#121F1C;border:1px solid var(--border);color:#fff;border-radius:12px;padding:13px;outline:0}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--red)}.table{width:100%;border-collapse:collapse}.table th,.table td{text-align:left;padding:14px;border-bottom:1px solid var(--border)}.table th{color:#ddd}.split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:20px}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.75fr);gap:26px}.gallery-main{aspect-ratio:16/10;background:#111;border:1px solid var(--border);border-radius:16px;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:cover}.thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto}.thumbs img{width:88px;height:64px;object-fit:cover;border-radius:10px;border:1px solid var(--border);cursor:pointer}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:18px}.stat strong{display:block;font-size:28px}.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.admin-side{background:#121F1C;border-right:1px solid var(--border);padding:18px;position:sticky;top:0;height:100vh}.admin-side a{display:flex;gap:10px;padding:12px;border-radius:12px;color:#ddd}.admin-side a:hover{background:var(--surface);color:#fff}.admin-main{padding:24px}.actions{display:flex;gap:8px;flex-wrap:wrap}.drawer-backdrop,.mobile-drawer{display:none}
@media (max-width:900px){.desktop-only{display:none!important}.mobile-only{display:grid}.main-content{padding:82px 14px 96px}.topbar{height:64px;padding:0 14px;background:rgba(8,8,8,.92);border-bottom:1px solid var(--border)}.brand{font-size:14px}.hero{margin:-82px -14px 24px;min-height:520px}.hero-slide{min-height:520px;padding:120px 18px 60px}.hero-slide:before{background:linear-gradient(0deg,#0B1614 0%,rgba(8,8,8,.3) 65%),linear-gradient(90deg,#0B1614 0%,rgba(8,8,8,.2) 85%)}.hero-copy h1{font-size:42px}.rail{grid-auto-columns:76vw}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-body{padding:12px}.product-body h3{font-size:15px}.product-body p{font-size:13px;min-height:auto}.card-actions{grid-template-columns:1fr}.split,.product-detail,.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.bottom-nav{position:fixed;z-index:35;bottom:0;left:0;right:0;height:72px;background:rgba(14,14,14,.96);border-top:1px solid var(--border);display:grid;grid-template-columns:repeat(5,1fr);align-items:center}.bottom-nav a{display:grid;place-items:center;gap:3px;color:#ddd;font-size:11px}.bottom-nav i{font-size:20px}.cart-bubble{position:relative;transform:translateY(-12px);background:var(--red);width:58px;height:58px;border-radius:18px;margin:auto;color:#fff}.cart-bubble span{top:-5px;right:-5px;background:#fff;color:#111}.drawer-backdrop.active{display:block;position:fixed;z-index:40;inset:0;background:rgba(0,0,0,.55)}.mobile-drawer{display:block;position:fixed;z-index:41;top:0;bottom:0;left:-310px;width:300px;background:#121F1C;border-right:1px solid var(--border);padding:18px;transition:.2s}.mobile-drawer.active{left:0}.drawer-head{display:flex;justify-content:space-between;align-items:center}.mobile-drawer a{display:block;padding:14px;border-bottom:1px solid var(--border)}.admin-shell{display:block}.admin-side{height:auto;position:relative}.table,.table tbody,.table tr,.table td{display:block;width:100%}.table thead{display:none}.table tr{background:var(--card);border:1px solid var(--border);border-radius:12px;margin-bottom:12px;padding:8px}.table td{border:0;padding:8px}.table td:before{content:attr(data-label);display:block;color:var(--muted);font-size:12px;margin-bottom:2px}}
@media (max-width:520px){.stats{grid-template-columns:1fr}.price-line strong{font-size:19px}}

.brand-image{height:62px;min-width:210px;max-width:340px;overflow:hidden}
.brand-logo{width:auto;height:62px;max-width:340px;object-fit:contain}

/* Compact product cards and mobile navigation tuning */
@media (min-width:901px){
  .main-content{padding-right:34px}
  .rail{grid-auto-columns:minmax(205px,232px);gap:14px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
  .product-image{aspect-ratio:4/3}
  .product-body{padding:12px}
  .product-body h3{font-size:16px}
  .product-body p{font-size:13px;min-height:38px}
  .price-line strong{font-size:20px}
}

@media (max-width:900px){
  .topbar{gap:10px;padding:0 12px}
  .topbar .brand{min-width:0;max-width:230px;overflow:hidden;font-size:13px}
  .topbar .brand-image{height:52px;min-width:170px}
  .topbar .brand-logo{height:52px;max-width:230px}
  .topbar .brand span{width:34px;height:34px;border-radius:9px;flex:0 0 34px}
  .topbar .icon-btn{width:38px;height:38px;border-radius:11px;flex:0 0 38px}
  .topbar .cart-link{margin-left:auto}
  .hero{min-height:450px;margin-bottom:18px}
  .hero-slide{min-height:450px;padding:104px 16px 46px}
  .hero-copy h1{font-size:34px;line-height:1.02;margin-bottom:12px}
  .hero-copy p{font-size:15px;line-height:1.45}
  .hero-copy .actions{gap:8px}
  .hero-copy .btn{padding:11px 12px;font-size:14px;border-radius:10px}
  .section{margin:24px 0}
  .section-head{margin-bottom:12px}
  .section h2{font-size:20px}
  .rail{grid-auto-columns:46%;gap:10px;padding-bottom:12px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-card{border-radius:12px}
  .product-card:hover{transform:none;box-shadow:none}
  .product-image{aspect-ratio:1/1;background:#111}
  .badges{top:7px;left:7px;gap:4px}
  .badges span{font-size:9px;padding:4px 6px}
  .product-body{padding:9px}
  .product-body small{font-size:11px}
  .product-body h3{font-size:13px;line-height:1.2;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .product-body p{font-size:11px;line-height:1.35;margin:0 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .rating{font-size:11px}
  .price-line{gap:6px;margin-top:8px;flex-wrap:wrap}
  .price-line del{font-size:11px}
  .price-line strong{font-size:16px}
  .product-body em{font-size:10px;margin:2px 0 8px}
  .card-actions{grid-template-columns:1fr;gap:6px}
  .card-actions .btn{min-height:34px;padding:8px 8px;border-radius:9px;font-size:12px}
  .bottom-nav{height:66px}
  .bottom-nav a{font-size:10px}
  .bottom-nav i{font-size:18px}
  .cart-bubble{width:52px;height:52px;border-radius:16px;transform:translateY(-10px)}
}

@media (max-width:360px){
  .rail{grid-auto-columns:58%}
  .grid{grid-template-columns:1fr}
  .topbar .brand{max-width:188px}
  .topbar .brand-image{height:48px;min-width:150px}
  .topbar .brand-logo{height:48px;max-width:188px}
}

/* Product images must show the full uploaded artwork, without cropping. */
.product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f0f0f;
}
.product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  padding:0;
}

@media (min-width:901px){
  .product-image{aspect-ratio:1/1}
}

@media (max-width:900px){
  .product-image{aspect-ratio:1/1}
}

/* Balanced product cards: readable info, stable prices and touch-friendly actions. */
.product-card{
  display:flex;
  flex-direction:column;
}
.product-body{
  display:flex;
  flex:1;
  flex-direction:column;
}
.product-body h3,
.product-body p{
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
}
.product-body h3{-webkit-line-clamp:2}
.product-body p{-webkit-line-clamp:2}
.price-line{
  min-height:34px;
  align-items:center;
  flex-wrap:wrap;
}
.price-line strong{
  white-space:nowrap;
  line-height:1.1;
}
.price-line del{
  white-space:nowrap;
}
.card-actions{
  margin-top:auto;
}
.card-actions form{
  display:block;
  min-width:0;
}
.card-actions .btn,
.card-actions a.btn{
  width:100%;
  min-width:0;
  min-height:40px;
  padding:10px 12px;
  white-space:nowrap;
  text-align:center;
}

@media (min-width:901px){
  .rail{grid-auto-columns:minmax(220px,245px)}
  .grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
  .product-image{aspect-ratio:16/10}
  .product-body{min-height:238px}
  .product-body h3{font-size:16px;min-height:39px}
  .product-body p{min-height:37px}
  .card-actions{grid-template-columns:1fr}
}

@media (max-width:900px){
  .rail{grid-auto-columns:minmax(174px,62%);gap:12px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-image{aspect-ratio:16/10}
  .product-body{min-height:210px;padding:10px}
  .product-body small{font-size:11px;margin-bottom:2px}
  .product-body h3{font-size:14px;min-height:34px;margin:3px 0 5px}
  .product-body p{font-size:12px;min-height:32px;margin-bottom:7px}
  .rating{font-size:11px;gap:4px}
  .rating span{font-size:10px}
  .price-line{
    display:grid;
    grid-template-columns:1fr;
    gap:2px;
    min-height:38px;
    margin-top:8px;
  }
  .price-line del{font-size:10px}
  .price-line strong{font-size:17px}
  .product-body em{font-size:10px;margin:1px 0 9px}
  .card-actions{grid-template-columns:1fr;gap:7px}
  .card-actions .btn,
  .card-actions a.btn{
    min-height:38px;
    padding:9px 10px;
    border-radius:10px;
    font-size:12px;
  }
}

@media (max-width:360px){
  .rail{grid-auto-columns:minmax(170px,72%)}
  .grid{grid-template-columns:1fr}
}

/* Strong logo sizing for uploaded logos, including files with transparent padding. */
.topbar .brand-image{
  flex:0 1 auto;
  overflow:visible;
}
.topbar .brand-logo{
  display:block;
  object-fit:contain;
  object-position:left center;
  transform-origin:left center;
}

@media (min-width:901px){
  .topbar .brand-image{height:64px;min-width:260px;max-width:380px}
  .topbar .brand-logo{width:320px;height:64px;max-width:none;transform:scale(1.08)}
}

@media (max-width:900px){
  .topbar{height:72px}
  .topbar .brand-image{height:60px;min-width:230px;max-width:calc(100vw - 126px)}
  .topbar .brand-logo{width:260px;height:60px;max-width:none;transform:scale(1.22)}
}

@media (max-width:390px){
  .topbar .brand-image{min-width:210px;max-width:calc(100vw - 118px)}
  .topbar .brand-logo{width:240px;height:58px;transform:scale(1.18)}
}

/* Larger uploaded logo sizing. */
@media (min-width:901px){
  .topbar .brand-image{height:78px;min-width:360px;max-width:520px}
  .topbar .brand-logo{width:460px;height:78px;max-width:none;transform:scale(1.12)}
}
@media (max-width:900px){
  .topbar{height:82px}
  .topbar .brand-image{height:72px;min-width:260px;max-width:calc(100vw - 112px)}
  .topbar .brand-logo{width:320px;height:72px;max-width:none;transform:scale(1.32)}
}
@media (max-width:390px){
  .topbar .brand-image{height:68px;min-width:230px;max-width:calc(100vw - 108px)}
  .topbar .brand-logo{width:290px;height:68px;transform:scale(1.28)}
}

/* SeuSoft visual polish: brighter blue identity with premium depth. */
:root{
  --bg:#0B1614;
  --card:#0b111a;
  --surface:#101824;
  --border:#1d3044;
  --red:#6FA89A;
  --red2:#9EC7BA;
  --muted:#9db4c8;
}
body{
  background:
    radial-gradient(circle at 18% -10%, rgba(0,140,255,.24), transparent 34rem),
    radial-gradient(circle at 86% 8%, rgba(0,212,255,.12), transparent 28rem),
    linear-gradient(180deg,#02050a 0%,#05080e 42%,#0B1614 100%);
}
.topbar{
  background:linear-gradient(180deg,rgba(2,6,12,.9),rgba(2,6,12,.34));
}
.topbar.scrolled{
  background:rgba(3,7,13,.9);
  border-bottom:1px solid rgba(0,140,255,.22);
  box-shadow:0 14px 42px rgba(0,140,255,.12);
}
.icon-btn,.side-toggle,.avatar{
  border-color:rgba(0,140,255,.24);
  background:linear-gradient(180deg,#111b28,#07101a);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 26px rgba(0,0,0,.26);
}
.btn{
  background:linear-gradient(135deg,#6FA89A 0%,#00b8ff 55%,#00e0ff 100%);
  box-shadow:0 12px 28px rgba(0,140,255,.28), inset 0 1px 0 rgba(255,255,255,.22);
  text-shadow:0 1px 0 rgba(0,0,0,.2);
}
.btn:hover{
  background:linear-gradient(135deg,#6FA89A 0%,#9EC7BA 100%);
  box-shadow:0 16px 34px rgba(0,180,255,.34);
}
.btn-ghost{
  background:rgba(5,14,24,.72);
  border-color:rgba(0,180,255,.32);
  box-shadow:none;
}
.btn-ghost:hover{
  background:rgba(0,140,255,.14);
  border-color:rgba(0,212,255,.55);
}
.pill,.badges span{
  background:linear-gradient(135deg,#6FA89A,#00c8ff);
  border-color:rgba(121,226,255,.5);
  box-shadow:0 8px 20px rgba(0,140,255,.24);
}
.product-card,.panel,.stat{
  background:linear-gradient(180deg,rgba(14,23,34,.96),rgba(7,12,19,.98));
  border-color:rgba(0,140,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 18px 45px rgba(0,0,0,.24);
}
.product-card:hover{
  border-color:rgba(0,212,255,.44);
  box-shadow:0 22px 48px rgba(0,140,255,.2), inset 0 1px 0 rgba(255,255,255,.08);
}
.product-image,.gallery-main{
  background:
    linear-gradient(135deg,rgba(0,140,255,.1),rgba(0,212,255,.04)),
    #07101a;
}
.price-line strong{
  color:#ffffff;
  text-shadow:0 0 18px rgba(0,180,255,.28);
}
.product-body em{
  color:#79e2ff;
}
.search,.field input,.field select,.field textarea{
  background:#07101a;
  border-color:rgba(0,140,255,.2);
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#9EC7BA;
  box-shadow:0 0 0 3px rgba(0,212,255,.1);
}
.bottom-nav{
  background:rgba(3,8,14,.96)!important;
  border-top-color:rgba(0,140,255,.24)!important;
  box-shadow:0 -18px 44px rgba(0,140,255,.12);
}
.cart-bubble{
  background:linear-gradient(135deg,#6FA89A,#9EC7BA)!important;
  box-shadow:0 14px 28px rgba(0,140,255,.35);
}
.side-menu,.mobile-drawer,.admin-side{
  background:rgba(5,12,20,.92);
  border-color:rgba(0,140,255,.22);
}
.side-menu a:hover,.admin-side a:hover{
  background:rgba(0,140,255,.13);
}

/* Netflix-style theme restore: deep black surfaces with red highlights. */
:root{
  --bg:#0B1614;
  --card:#2E4F48;
  --surface:#1C2A26;
  --border:#3D4F49;
  --red:#6FA89A;
  --red2:#9EC7BA;
  --muted:#a7a7a7;
}
body{
  background:#0B1614;
}
.topbar{
  background:linear-gradient(180deg,rgba(0,0,0,.82),rgba(0,0,0,.12));
}
.topbar.scrolled{
  background:rgba(8,8,8,.94);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 34px rgba(0,0,0,.34);
}
.icon-btn,.side-toggle,.avatar{
  border-color:var(--border);
  background:#2E4F48;
  box-shadow:none;
}
.btn{
  background:#6FA89A;
  box-shadow:0 12px 28px rgba(229,9,20,.24);
  text-shadow:none;
}
.btn:hover{
  background:#9EC7BA;
  box-shadow:0 16px 34px rgba(229,9,20,.3);
}
.btn-ghost{
  background:transparent;
  border-color:#3D4F49;
  box-shadow:none;
}
.btn-ghost:hover{
  background:#1C2A26;
  border-color:#3a3a3a;
}
.pill,.badges span{
  background:#6FA89A;
  border-color:rgba(229,9,20,.55);
  box-shadow:0 8px 20px rgba(229,9,20,.22);
}
.product-card,.panel,.stat{
  background:#2E4F48;
  border-color:#3D4F49;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.product-card:hover{
  border-color:rgba(229,9,20,.42);
  box-shadow:0 22px 48px rgba(229,9,20,.16);
}
.product-image,.gallery-main{
  background:#111;
}
.price-line strong{
  color:#fff;
  text-shadow:none;
}
.product-body em{
  color:#8ee6ad;
}
.search,.field input,.field select,.field textarea{
  background:#121F1C;
  border-color:#3D4F49;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#6FA89A;
  box-shadow:0 0 0 3px rgba(229,9,20,.1);
}
.bottom-nav{
  background:rgba(14,14,14,.96)!important;
  border-top-color:#3D4F49!important;
  box-shadow:0 -18px 44px rgba(0,0,0,.28);
}
.cart-bubble{
  background:#6FA89A!important;
  box-shadow:0 14px 28px rgba(229,9,20,.28);
}
.side-menu,.mobile-drawer,.admin-side{
  background:rgba(20,20,20,.92);
  border-color:#3D4F49;
}
.side-menu a:hover,.admin-side a:hover{
  background:#1C2A26;
}

/* EAD premium palette from the provided identity. */
:root{
  --bg:#12332E;
  --card:#2E4F48;
  --surface:#1C2A26;
  --border:#3D4F49;
  --red:#6FA89A;
  --red2:#9EC7BA;
  --text:#FFFFFF;
  --muted:#C7D8D2;
  --ok:#7BAFA1;
  --warn:#E6EFEA;
  --err:#A7C2BE;
}
body{
  background:linear-gradient(90deg,#0B1614,#121F1C,#1C2A26);
  color:#FFFFFF;
}
.topbar{
  background:linear-gradient(180deg,rgba(11,22,20,.94),rgba(18,31,28,.2));
}
.topbar.scrolled{
  background:rgba(11,22,20,.94);
  border-bottom:1px solid rgba(158,199,186,.22);
  box-shadow:0 16px 40px rgba(11,22,20,.36);
}
.hero-slide:before{
  background:linear-gradient(90deg,#0B1614 0%,rgba(18,31,28,.82) 38%,rgba(28,42,38,.24) 76%),linear-gradient(0deg,#0B1614 0%,rgba(11,22,20,0) 36%);
}
.btn{
  background:#6FA89A;
  color:#0B1614;
  box-shadow:0 14px 30px rgba(111,168,154,.22);
}
.btn:hover{
  background:#9EC7BA;
  color:#0B1614;
  box-shadow:0 18px 36px rgba(158,199,186,.28);
}
.btn-ghost{
  background:rgba(18,31,28,.68);
  border-color:#3D4F49;
  color:#FFFFFF;
}
.btn-ghost:hover{
  background:#2B3A35;
  border-color:#7BAFA1;
  color:#FFFFFF;
}
.pill,.badges span{
  background:#6FA89A;
  border-color:#9EC7BA;
  color:#0B1614;
  box-shadow:0 10px 24px rgba(111,168,154,.2);
}
.product-card,.panel,.stat{
  background:linear-gradient(180deg,#2E4F48,#1C2A26);
  border-color:#3D4F49;
  box-shadow:0 20px 46px rgba(11,22,20,.3);
}
.product-card:hover{
  border-color:#9EC7BA;
  box-shadow:0 24px 54px rgba(111,168,154,.18);
}
.product-image,.gallery-main{
  background:#121F1C;
}
.side-menu,.mobile-drawer,.admin-side{
  background:rgba(18,31,28,.94);
  border-color:#3D4F49;
}
.side-menu a:hover,.admin-side a:hover{
  background:#2B3A35;
}
.search,.field input,.field select,.field textarea{
  background:#121F1C;
  border-color:#3D4F49;
  color:#FFFFFF;
}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#9EC7BA;
  box-shadow:0 0 0 3px rgba(158,199,186,.12);
}
.product-body em,.rating i{
  color:#9EC7BA;
}
.price-line strong{
  color:#FFFFFF;
}
.bottom-nav{
  background:rgba(11,22,20,.97)!important;
  border-top-color:#3D4F49!important;
}
.cart-bubble{
  background:#6FA89A!important;
  color:#0B1614!important;
}
.course-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin:10px 0;
  color:#C7D8D2;
  font-size:12px;
}
.course-meta span{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
}
.course-meta i{
  color:#9EC7BA;
}
.course-stats{
  grid-template-columns:repeat(2,1fr);
  margin:14px 0;
}
.course-stats .stat{
  padding:12px;
}
.course-stats .stat strong{
  font-size:15px;
  line-height:1.25;
  margin-bottom:4px;
}
.ead-dashboard{
  display:grid;
  gap:22px;
}
.learn-card{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:16px;
}
.learn-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(460px,1fr));
  gap:16px;
}
.learn-grid .learn-card{
  align-items:center;
  min-height:170px;
}
.learn-grid .learn-card h3{
  margin:6px 0 10px;
}
.learn-grid .learn-card .actions{
  margin-top:12px;
}
.learn-grid .progress-bar{
  max-width:320px;
}
.learn-thumb{
  aspect-ratio:16/10;
  border-radius:12px;
  overflow:hidden;
  background:#121F1C;
}
.learn-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.progress-bar{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#121F1C;
  border:1px solid #3D4F49;
}
.progress-bar-fill{
  height:100%;
  background:#7BAFA1;
}
.player-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:18px;
  align-items:start;
}
.video-shell{
  aspect-ratio:16/9;
  background:#0B1614;
  border:1px solid #3D4F49;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 22px 52px rgba(11,22,20,.38);
}
.video-shell video,.video-shell iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:#0B1614;
}
.empty-player{
  width:100%;
  height:100%;
  min-height:260px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:24px;
  text-align:center;
  color:#FFFFFF;
}
.empty-player p{
  margin:0;
  color:#C7D8D2;
}
.lesson-list{
  display:grid;
  gap:8px;
}
.lesson-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px;
  border:1px solid #3D4F49;
  border-radius:8px;
  background:#1C2A26;
  color:#FFFFFF;
}
.lesson-item:hover,.lesson-item.active{
  border-color:#9EC7BA;
  background:#2B3A35;
}
.lesson-item.done{
  color:#E6EFEA;
}
.lesson-item small{
  white-space:nowrap;
  color:#C7D8D2;
}
@media (max-width:900px){
  .course-meta{grid-template-columns:1fr;font-size:11px}
  .course-stats{grid-template-columns:1fr 1fr}
  .learn-grid{grid-template-columns:1fr}
  .learn-card{grid-template-columns:1fr}
  .player-layout{grid-template-columns:1fr}
}

/* Final navbar logo sizing: compact on mobile, readable on desktop. */
@media (min-width:901px){
  .topbar .brand-image{height:84px;min-width:360px;max-width:460px}
  .topbar .brand-logo{width:410px;height:84px;max-width:100%;transform:none}
}
@media (max-width:900px){
  .topbar{height:82px}
  .topbar .brand{max-width:270px;min-width:0}
  .topbar .brand-image{height:72px;min-width:225px;max-width:270px;overflow:hidden}
  .topbar .brand-logo{width:270px;height:72px;max-width:270px;transform:none;object-fit:contain}
}
@media (max-width:390px){
  .topbar .brand{max-width:220px}
  .topbar .brand-image{height:66px;min-width:185px;max-width:220px}
  .topbar .brand-logo{width:220px;height:66px;max-width:220px;transform:none}
}

/* Free course cards need wider actions because "Matricule-se" is longer than "Comprar". */
.card-actions.card-actions-free{
  grid-template-columns:1fr;
}
.card-actions.card-actions-free .btn,
.card-actions.card-actions-free a.btn{
  min-height:38px;
  white-space:normal;
  line-height:1.15;
}
@media (min-width:901px){
  .card-actions.card-actions-free{
    gap:6px;
  }
  .card-actions.card-actions-free .btn,
  .card-actions.card-actions-free a.btn{
    min-height:34px;
    padding:8px 10px;
    font-size:13px;
  }
}

/* Final course card sizing: denser catalog on desktop and mobile. */
@media (min-width:901px){
  .rail{
    grid-auto-columns:minmax(190px,220px);
    gap:12px;
  }
  .grid{
    grid-template-columns:repeat(auto-fill,minmax(190px,220px));
    gap:14px;
  }
  .product-card{
    border-radius:8px;
  }
  .product-image{
    aspect-ratio:16/9;
  }
  .badges{
    top:8px;
    left:8px;
  }
  .badges span{
    font-size:10px;
    padding:4px 7px;
  }
  .product-body{
    min-height:210px;
    padding:11px;
  }
  .product-body small{
    font-size:12px;
  }
  .product-body h3{
    font-size:15px;
    min-height:36px;
    margin:4px 0 8px;
  }
  .product-body p{
    font-size:12px;
    min-height:33px;
    line-height:1.35;
  }
  .course-meta{
    gap:5px;
    font-size:11px;
    margin:8px 0;
  }
  .rating{
    font-size:12px;
  }
  .price-line{
    min-height:30px;
    margin-top:8px;
  }
  .price-line strong{
    font-size:19px;
  }
  .price-line del{
    font-size:11px;
  }
  .product-body em{
    font-size:11px;
    margin:2px 0 8px;
  }
  .card-actions{
    grid-template-columns:1fr;
    gap:7px;
  }
  .card-actions .btn,
  .card-actions a.btn{
    min-height:36px;
    padding:8px 10px;
    font-size:14px;
    border-radius:8px;
  }
}

@media (max-width:900px){
  .rail{
    grid-auto-columns:minmax(145px,48%);
    gap:10px;
  }
  .grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  .product-card{
    border-radius:8px;
  }
  .product-image{
    aspect-ratio:16/9;
  }
  .badges{
    top:6px;
    left:6px;
  }
  .badges span{
    font-size:8px;
    padding:3px 5px;
  }
  .product-body{
    min-height:178px;
    padding:8px;
  }
  .product-body small{
    font-size:10px;
  }
  .product-body h3{
    font-size:12px;
    min-height:29px;
    margin:3px 0 5px;
  }
  .product-body p{
    font-size:10px;
    min-height:27px;
    line-height:1.3;
  }
  .course-meta{
    grid-template-columns:1fr;
    gap:3px;
    font-size:9px;
    margin:6px 0;
  }
  .rating{
    font-size:10px;
  }
  .rating span{
    font-size:9px;
  }
  .price-line{
    min-height:30px;
    margin-top:6px;
  }
  .price-line strong{
    font-size:15px;
  }
  .price-line del{
    font-size:9px;
  }
  .product-body em{
    font-size:9px;
    margin:1px 0 6px;
  }
  .card-actions{
    gap:5px;
  }
  .card-actions .btn,
  .card-actions a.btn{
    min-height:32px;
    padding:7px 8px;
    font-size:11px;
    border-radius:7px;
  }
}

@media (max-width:390px){
  .rail{
    grid-auto-columns:minmax(138px,54%);
  }
}

/* Keep the mobile bottom navigation visible on student pages too. */
.bottom-nav.mobile-only{
  display:none;
}
@media (max-width:900px){
  .bottom-nav.mobile-only{
    position:fixed;
    z-index:9999;
    left:0;
    right:0;
    bottom:0;
    height:66px;
    display:grid!important;
    grid-template-columns:repeat(5,1fr);
    align-items:center;
  }
  .main-content{
    padding-bottom:96px;
  }
}

/* Final hero copy sizing: prevent oversized banner text. */
.hero-copy{
  max-width:760px;
}
.hero-copy h1{
  font-size:clamp(36px,3.8vw,58px);
  line-height:1.08;
  max-width:760px;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
}
.hero-copy p{
  max-width:620px;
  font-size:16px;
}
.hero .price-line strong{
  font-size:20px;
}

@media (min-width:1200px){
  .hero-copy h1{
    font-size:54px;
  }
}

@media (max-width:900px){
  .hero{
    min-height:430px;
  }
  .hero-slide{
    min-height:430px;
    padding:112px 16px 42px;
  }
  .hero-copy{
    max-width:calc(100vw - 32px);
  }
  .hero-copy h1{
    font-size:32px;
    line-height:1.05;
    max-width:100%;
  }
  .hero-copy p{
    font-size:14px;
    line-height:1.4;
    max-width:320px;
  }
  .hero .price-line strong{
    font-size:17px;
  }
}

@media (max-width:390px){
  .hero-copy h1{
    font-size:28px;
    max-width:100%;
  }
  .hero-copy p{
    font-size:13px;
    max-width:280px;
  }
}


/* ===== ADMIN RESPONSIVO FINAL: desktop + mobile ===== */
.admin-body{overflow-x:hidden}.admin-mobile-top,.admin-overlay,.admin-side-close{display:none}.admin-shell{grid-template-columns:260px minmax(0,1fr)}.admin-side{width:260px;z-index:100;padding:18px 14px;overflow-y:auto;overscroll-behavior:contain}.admin-side-head{display:flex;align-items:center;justify-content:space-between}.admin-side .brand{padding:8px 10px;font-size:18px;font-weight:800}.admin-nav{display:grid;gap:4px}.admin-side a{align-items:center;min-height:44px}.admin-side a i{font-size:18px;flex:0 0 22px;text-align:center}.admin-side a.active{background:var(--surface);color:#fff;border:1px solid var(--border)}.admin-main{min-width:0;width:100%;padding:24px}.admin-content{width:min(100%,1500px);margin:0 auto}.admin-main h1{font-size:clamp(24px,3vw,36px);line-height:1.15;margin-top:0}.admin-main h2{line-height:1.2}.admin-main .panel{max-width:100%;overflow:hidden}.admin-main .table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:14px}.admin-main table{max-width:100%}.admin-main input,.admin-main select,.admin-main textarea,.admin-main button{max-width:100%}.admin-main textarea{resize:vertical}.admin-main img{max-width:100%}.admin-main canvas{max-width:100%!important}.admin-main .actions{align-items:center}.admin-main .btn{white-space:normal;text-align:center}.admin-main .toast{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1100px) and (min-width:901px){.admin-shell{grid-template-columns:220px minmax(0,1fr)}.admin-side{width:220px}.admin-main{padding:20px}.split{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
 body.admin-body{padding-top:64px}.admin-menu-open{overflow:hidden}.admin-mobile-top{display:flex;position:fixed;z-index:110;top:0;left:0;right:0;height:64px;padding:max(10px,env(safe-area-inset-top)) 14px 10px;align-items:center;justify-content:space-between;background:#121F1C;border-bottom:1px solid var(--border);box-shadow:0 8px 30px rgba(0,0,0,.22)}.admin-menu-toggle,.admin-mobile-exit,.admin-side-close{display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:#fff;font-size:22px}.admin-mobile-brand{font-size:16px;font-weight:800;color:#fff}.admin-mobile-brand span{color:var(--red)}.admin-overlay{display:block;position:fixed;z-index:115;inset:0;background:rgba(0,0,0,.62);opacity:0;visibility:hidden;transition:.2s}.admin-overlay.open{opacity:1;visibility:visible}.admin-shell{display:block;min-height:calc(100vh - 64px)}.admin-side{position:fixed;z-index:120;top:0;bottom:0;left:0;width:min(86vw,320px);height:100dvh;padding:18px 14px;padding-top:max(18px,env(safe-area-inset-top));transform:translateX(-105%);transition:transform .22s ease;box-shadow:20px 0 50px rgba(0,0,0,.35)}.admin-side.open{transform:translateX(0)}.admin-side-close{display:grid}.admin-main{padding:16px 12px 28px}.admin-content{width:100%}.admin-main h1{font-size:25px}.admin-main .panel{padding:15px;border-radius:12px}.admin-main .section{margin:18px 0}.split,.product-detail,.form-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:14px;min-width:0}.stat strong{font-size:22px;overflow-wrap:anywhere}.admin-main .field input,.admin-main .field select,.admin-main .field textarea,.admin-main .form-field input,.admin-main .form-field select,.admin-main .form-field textarea{font-size:16px;min-height:46px}.admin-main .actions{display:flex;gap:8px;flex-wrap:wrap}.admin-main .actions .btn{flex:1 1 auto;min-height:42px}.admin-main .table-wrap{overflow:visible}.admin-main .table,.admin-main .table tbody,.admin-main .table tr,.admin-main .table td,.admin-main table:not(.no-mobile-cards),.admin-main table:not(.no-mobile-cards) tbody,.admin-main table:not(.no-mobile-cards) tr,.admin-main table:not(.no-mobile-cards) td{display:block;width:100%}.admin-main .table thead,.admin-main table:not(.no-mobile-cards) thead{display:none}.admin-main .table tr,.admin-main table:not(.no-mobile-cards) tr{background:var(--card);border:1px solid var(--border);border-radius:12px;margin:0 0 12px;padding:8px;overflow:hidden}.admin-main .table td,.admin-main table:not(.no-mobile-cards) td{border:0;padding:8px;overflow-wrap:anywhere;white-space:normal}.admin-main .table td[data-label]:before,.admin-main table:not(.no-mobile-cards) td[data-label]:before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px}.admin-main canvas{min-height:220px;max-height:320px}.admin-main form[style]{max-width:100%!important}.admin-main [style*="width:"]{max-width:100%}
}
@media(max-width:480px){.admin-main{padding:12px 10px 24px}.stats{grid-template-columns:1fr}.admin-main .panel{padding:13px}.admin-main .actions{display:grid;grid-template-columns:1fr}.admin-main .actions .btn,.admin-main .actions form,.admin-main .actions form .btn{width:100%}.admin-mobile-top{padding-left:10px;padding-right:10px}}

/* ===== ADMIN PROPORCAO V2 — CRUD, EAD, MODULOS, BANNERS, CUPONS E ADMINS ===== */
.admin-content{width:min(100%,1360px)}
.admin-main .split{grid-template-columns:minmax(360px,480px) minmax(0,1fr);align-items:start;gap:22px}
.admin-main .split>.panel{min-width:0}
.admin-main .split>form.panel{position:sticky;top:24px}
.admin-main .field{margin-bottom:13px}
.admin-main .field label{font-weight:600}
.admin-main .field input,.admin-main .field select,.admin-main .field textarea{min-height:44px}
.admin-main .field textarea{min-height:105px}
.admin-main table{width:100%;table-layout:auto}
.admin-main th,.admin-main td{vertical-align:middle}
.admin-main td.actions{min-width:150px}
.admin-main td.actions form{margin:0}
.admin-title{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.admin-title h1,.admin-title h2{margin:0}
.admin-main .table-wrap{border:1px solid var(--border);background:var(--card)}
.admin-main .table-wrap table{margin:0}
@media(max-width:1180px) and (min-width:901px){
 .admin-main .split{grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:16px}
 .admin-main{padding:18px}
}
@media(max-width:1020px) and (min-width:901px){
 .admin-main .split{grid-template-columns:1fr}
 .admin-main .split>form.panel{position:static}
}
@media(max-width:900px){
 .admin-content{max-width:680px;margin:0 auto}
 .admin-main .split{display:grid;grid-template-columns:1fr!important}
 .admin-main .split>form.panel{position:static}
 .admin-title{align-items:stretch;margin-bottom:14px}
 .admin-title>div{min-width:0}
 .admin-title>.btn{width:100%}
 .admin-main table:not(.no-mobile-cards) td.actions{min-width:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .admin-main table:not(.no-mobile-cards) td.actions:before{grid-column:1/-1}
 .admin-main table:not(.no-mobile-cards) td.actions .btn,.admin-main table:not(.no-mobile-cards) td.actions form,.admin-main table:not(.no-mobile-cards) td.actions form .btn{width:100%;margin:0}
 .admin-main table:not(.no-mobile-cards) td.actions form{display:block}
 .admin-main .panel>h1:first-child,.admin-main .panel>h2:first-child{margin-top:0}
}
@media(max-width:520px){
 .admin-content{max-width:none}
 .admin-main h1{font-size:22px}.admin-main h2{font-size:19px}
 .admin-main table:not(.no-mobile-cards) td.actions{grid-template-columns:1fr}
 .admin-main .btn{width:100%;justify-content:center}
 .admin-main .actions{display:grid;grid-template-columns:1fr!important}
 .admin-main .actions>*{width:100%}
}

/* NAVBAR + LOGO V5 - slider controla o tamanho visual real */
:root{--nav-logo-desktop:260px;--nav-logo-mobile:180px}
.topbar{height:82px;padding:0 clamp(14px,1.8vw,30px);gap:clamp(8px,1vw,16px);background:linear-gradient(180deg,rgba(5,17,15,.97),rgba(5,17,15,.82));overflow:visible}
.topbar .brand{flex:0 0 auto!important;min-width:0!important;max-width:none!important;overflow:visible!important;display:flex!important;align-items:center;justify-content:center}
.topbar .brand-image{width:var(--nav-logo-desktop)!important;min-width:var(--nav-logo-desktop)!important;max-width:none!important;height:76px!important;overflow:visible!important}
.topbar .brand-logo{display:block!important;width:var(--nav-logo-desktop)!important;height:76px!important;max-width:none!important;object-fit:contain!important;transform:none!important}
.topbar .nav-links{gap:clamp(10px,1vw,18px);flex:0 1 auto;white-space:nowrap}
.topbar .nav-links a{font-size:clamp(13px,.92vw,16px)}
.topbar .search{min-width:170px;max-width:290px;flex:1 1 210px;margin-left:auto}
.topbar .icon-btn,.topbar .avatar{flex:0 0 42px}.topbar .btn-small{flex:0 0 auto;white-space:nowrap}
@media (max-width:1250px) and (min-width:901px){.topbar{padding:0 12px;gap:8px}.topbar .nav-links{gap:8px}.topbar .nav-links a{font-size:13px}.topbar .search{min-width:140px;max-width:190px}}
@media (max-width:900px){
 .topbar{height:74px;padding:0 12px;display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:6px;background:rgba(5,17,15,.98);overflow:visible}
 .topbar>.mobile-only{grid-column:1}.topbar>.brand{grid-column:2;justify-self:center;width:min(var(--nav-logo-mobile),calc(100vw - 116px))!important;min-width:0!important}.topbar>.cart-link{grid-column:3;margin-left:0!important}
 .topbar .brand-image{width:min(var(--nav-logo-mobile),calc(100vw - 116px))!important;min-width:0!important;max-width:none!important;height:68px!important;overflow:visible!important}
 .topbar .brand-logo{width:min(var(--nav-logo-mobile),calc(100vw - 116px))!important;height:68px!important;max-width:none!important;object-fit:contain!important}
 .main-content{padding-top:92px}
 .mobile-drawer .brand-image{width:min(var(--nav-logo-mobile),260px)!important;max-width:none!important;height:72px!important;display:flex;overflow:visible!important}
 .mobile-drawer .brand-logo{width:min(var(--nav-logo-mobile),260px)!important;height:72px!important;max-width:none!important;object-fit:contain!important}
}

\n\n/* NAVBAR LOGO V6 - centralizacao geometrica e escala real */
@media (min-width:901px){
  .topbar .brand-image{width:var(--nav-logo-desktop)!important;min-width:var(--nav-logo-desktop)!important;height:78px!important}
  .topbar .brand-logo{width:100%!important;height:78px!important;object-fit:contain!important}
}
@media (max-width:900px){
  .topbar{position:fixed!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0 12px!important;height:78px!important}
  .topbar>.mobile-only{position:relative!important;z-index:3!important;flex:0 0 48px!important}
  .topbar>.cart-link{position:relative!important;z-index:3!important;flex:0 0 48px!important;margin-left:auto!important}
  .topbar>.brand.brand-image{position:absolute!important;z-index:2!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:var(--nav-logo-mobile)!important;min-width:var(--nav-logo-mobile)!important;max-width:none!important;height:76px!important;margin:0!important;overflow:visible!important;pointer-events:auto!important}
  .topbar>.brand.brand-image .brand-logo{width:100%!important;height:76px!important;max-width:none!important;object-fit:contain!important;transform:none!important}
  .main-content{padding-top:96px!important}
}

/* NAVBAR LOGO V7 - logo cresce visualmente sem empurrar menu */
@media (min-width:901px){
  .topbar{position:fixed!important;min-height:82px!important;overflow:visible!important}
  .topbar>.brand.brand-image{
    position:absolute!important;left:92px!important;top:50%!important;
    transform:translateY(-50%)!important;width:min(var(--nav-logo-desktop),300px)!important;
    min-width:0!important;max-width:300px!important;height:76px!important;margin:0!important;
    z-index:4!important;overflow:visible!important;
  }
  .topbar>.brand.brand-image .brand-logo{
    display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
    max-height:76px!important;object-fit:contain!important;transform:none!important;
  }
  .topbar>.nav-links{margin-left:330px!important;flex:0 0 auto!important}
}
@media (min-width:901px) and (max-width:1250px){
  .topbar>.brand.brand-image{left:72px!important}
  .topbar>.nav-links{margin-left:250px!important}
}
@media (max-width:900px){
  .topbar>.brand.brand-image{height:68px!important;max-height:68px!important;overflow:hidden!important}
  .topbar>.brand.brand-image .brand-logo{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:68px!important;
    object-fit:contain!important;transform:none!important;
  }
}

/* Logo navbar: ampliar o conteúdo visível sem sair da barra */
@media (min-width:901px){
 .topbar>.brand.brand-image{height:82px!important;max-height:82px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .topbar>.brand.brand-image .brand-logo{width:100%!important;height:100%!important;max-height:82px!important;object-fit:contain!important;transform:scale(1.28)!important;transform-origin:center center!important}
}
@media (max-width:900px){
 .topbar>.brand.brand-image{height:74px!important;max-height:74px!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important}
 .topbar>.brand.brand-image .brand-logo{width:100%!important;height:100%!important;max-height:74px!important;object-fit:contain!important;transform:scale(1.18)!important;transform-origin:center center!important}
}
/* Ajuste definitivo: logo integral dentro do navbar, sem escala e sem corte */
@media (min-width:901px){
 .topbar>.brand.brand-image{height:78px!important;max-height:78px!important;overflow:visible!important}
 .topbar>.brand.brand-image .brand-logo{display:block!important;width:100%!important;height:76px!important;max-height:76px!important;object-fit:contain!important;transform:none!important}
}
@media (max-width:900px){
 .topbar>.brand.brand-image{height:76px!important;max-height:76px!important;overflow:visible!important}
 .topbar>.brand.brand-image .brand-logo{display:block!important;width:100%!important;height:74px!important;max-height:74px!important;object-fit:contain!important;transform:none!important}
}
/* ===== TEMA BLACK + VERDE PREMIUM ===== */
:root{
  --bg:#050706;
  --card:#0b100e;
  --surface:#101713;
  --border:#20332c;
  --red:#6FA89A;
  --red2:#9EC7BA;
  --text:#ffffff;
  --muted:#a9bbb4;
}
html,body{background:#050706;color:#fff}
body{
  background:
    radial-gradient(circle at 18% -10%,rgba(111,168,154,.10),transparent 34rem),
    radial-gradient(circle at 88% 5%,rgba(158,199,186,.06),transparent 28rem),
    #050706;
}
.main-content{background:transparent}
.topbar{
  background:linear-gradient(180deg,rgba(0,0,0,.98),rgba(0,0,0,.78))!important;
  border-bottom:1px solid rgba(111,168,154,.10);
}
.topbar.scrolled{
  background:rgba(0,0,0,.96)!important;
  border-bottom-color:rgba(111,168,154,.20);
  box-shadow:0 16px 38px rgba(0,0,0,.42);
}
.nav-links{color:#d7dfdc}
.nav-links a:hover{color:#9EC7BA}
.search,
.field input,.field select,.field textarea{
  background:#090d0b!important;
  border-color:#20332c!important;
  color:#fff;
}
.search:focus-within,
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:#6FA89A!important;
  box-shadow:0 0 0 3px rgba(111,168,154,.10);
}
.icon-btn,.side-toggle,.avatar{
  background:#0b100e!important;
  border-color:#20332c!important;
  color:#fff;
}
.icon-btn:hover,.side-toggle:hover{border-color:#6FA89A!important;background:#111a16!important}
.side-menu,.mobile-drawer,.admin-side{
  background:rgba(5,7,6,.97)!important;
  border-color:#20332c!important;
  box-shadow:0 18px 46px rgba(0,0,0,.34);
}
.side-menu a,.admin-side a{color:#d6dfdc}
.side-menu a:hover,.admin-side a:hover,.admin-side a.active{
  background:rgba(111,168,154,.11)!important;
  color:#fff;
  border-color:rgba(111,168,154,.20);
}
.btn{
  background:#6FA89A!important;
  color:#07100d!important;
  box-shadow:0 10px 24px rgba(111,168,154,.18)!important;
}
.btn:hover{
  background:#9EC7BA!important;
  color:#07100d!important;
  box-shadow:0 14px 30px rgba(111,168,154,.24)!important;
}
.btn-ghost{
  background:rgba(0,0,0,.48)!important;
  border-color:#2a3c35!important;
  color:#fff!important;
  box-shadow:none!important;
}
.btn-ghost:hover{background:#101713!important;border-color:#6FA89A!important}
.hero-slide:before{
  background:
    linear-gradient(90deg,#030504 0%,rgba(3,5,4,.86) 34%,rgba(3,5,4,.32) 68%,rgba(3,5,4,.10) 100%),
    linear-gradient(0deg,#050706 0%,rgba(5,7,6,.16) 42%,transparent 72%)!important;
}
.hero-copy p{color:#d6dfdc}
.pill,.badges span{
  background:#6FA89A!important;
  border-color:#9EC7BA!important;
  color:#07100d!important;
  box-shadow:0 8px 20px rgba(111,168,154,.16)!important;
}
.product-card,.panel,.stat{
  background:linear-gradient(180deg,#0d1310 0%,#080c0a 100%)!important;
  border-color:#20332c!important;
  box-shadow:0 16px 38px rgba(0,0,0,.34)!important;
}
.product-card:hover{
  border-color:rgba(158,199,186,.58)!important;
  box-shadow:0 20px 46px rgba(0,0,0,.46),0 0 0 1px rgba(111,168,154,.08)!important;
}
.product-image,.gallery-main,.learn-thumb{background:#080b09!important}
.product-body small,.product-body p,.course-meta,.lesson-item small{color:#a9bbb4!important}
.product-body em,.course-meta i,.rating i{color:#9EC7BA!important}
.price-line strong{color:#fff!important}
.section-head a{color:#9EC7BA}
.section-head a:hover{color:#fff}
.lesson-item{
  background:#0b100e!important;
  border-color:#20332c!important;
}
.lesson-item:hover,.lesson-item.active{background:#111a16!important;border-color:#6FA89A!important}
.progress-bar{background:#090d0b!important;border-color:#20332c!important}
.progress-bar-fill{background:#6FA89A!important}
.bottom-nav{
  background:rgba(0,0,0,.98)!important;
  border-top-color:#20332c!important;
  box-shadow:0 -16px 34px rgba(0,0,0,.38)!important;
}
.cart-bubble{background:#6FA89A!important;color:#07100d!important;box-shadow:0 12px 26px rgba(111,168,154,.24)!important}
@media (max-width:900px){
  .topbar{background:#020302!important;border-bottom:1px solid #17241f!important}
  .mobile-drawer{background:#050706!important}
}
