:root{
  --bg:#0b1220;
  --card:#0f1a2f;
  --line:rgba(255,255,255,.08);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --green:#2ee59d;
  --green2:#22c55e;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% -10%, rgba(46,229,157,.25), transparent 50%),
              radial-gradient(1200px 800px at 90% 0%, rgba(34,197,94,.18), transparent 55%),
              #070b14;
  color:var(--text);
}

a{color:inherit}
.wrap{max-width:1100px;margin:0 auto;padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.75);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none}
.brand-logo{height:44px; width:auto; display:block}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}

.top-cta{display:flex; align-items:center; gap:10px}
.cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px; border-radius:12px;
  background: linear-gradient(135deg, rgba(46,229,157,.95), rgba(34,197,94,.92));
  color:#051018; font-weight:800; text-decoration:none;
  box-shadow: 0 10px 25px rgba(46,229,157,.15);
}
.cta.ghost{
  background: transparent;
  border: 1px solid rgba(46,229,157,.55);
  color: var(--text);
  box-shadow:none;
}
.menu-btn{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-radius:12px;
  padding:10px 12px;
}

.tabs{
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.tabs-inner{display:flex; gap:10px; padding:10px 0; overflow:auto}
.tab{
  text-decoration:none;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  white-space:nowrap;
  transition: transform .08s ease, background .2s ease, color .2s ease;
}
.tab:hover{transform: translateY(-1px); color: var(--text)}
.tab.active{
  background: rgba(46,229,157,.16);
  border-color: rgba(46,229,157,.45);
  color: var(--text);
}

.main{padding:22px 0 46px}

.hero{
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(90deg, rgba(7,11,20,.85), rgba(7,11,20,.25)),
    url('/pildid/banner.jpg') center/cover no-repeat;
}
.hero-inner{padding:56px 18px}
.hero h1{margin:0 0 10px; font-size: clamp(28px, 4vw, 44px); letter-spacing:-.6px}
.hero p{margin:0; max-width:62ch; color:var(--muted); font-size: 16px; line-height:1.6}
.hero-actions{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}

.grid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap:18px;
  margin-top:18px;
}
.card{
  border:1px solid var(--line);
  border-radius:18px;
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
  padding:18px;
}
.card h2{margin:0 0 10px; font-size:18px}
.muted{color:var(--muted)}
.badges{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.badge{
  border:1px solid rgba(46,229,157,.35);
  background: rgba(46,229,157,.10);
  padding:7px 10px;
  border-radius:999px;
  font-size:13px;
}

.table-wrap{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background: rgba(255,255,255,.02);
}
.price-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}
.price-table th, .price-table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  text-align:left;
}
.price-table thead th{
  position:sticky; top:0;
  background: rgba(7,11,20,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.10);
  font-size:13px;
  letter-spacing:.2px;
  color:var(--muted);
}
.price-table tr:hover td{background: rgba(255,255,255,.02)}
.group-row td{
  background: rgba(46,229,157,.10);
  color: var(--text);
  font-weight:800;
  border-bottom:1px solid rgba(46,229,157,.20);
}

.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

.gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.gallery a{
  display:block;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  aspect-ratio: 4 / 3;
}
.gallery img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.01);
  transition: transform .18s ease;
}
.gallery a:hover img{transform: scale(1.06)}
.lightbox{
  position:fixed; inset:0; z-index:100;
  background: rgba(0,0,0,.75);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1100px, 96vw);
  max-height: 90vh;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}

.form{
  display:grid;
  gap:10px;
}
.field{display:grid; gap:6px}
label{font-size:13px; color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
.notice{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(46,229,157,.35);
  background: rgba(46,229,157,.10);
}
.notice.error{
  border-color: rgba(255,80,80,.35);
  background: rgba(255,80,80,.10);
}

.footer{
  border-top:1px solid var(--line);
  background: rgba(7,11,20,.85);
}
.footer-inner{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:18px;
  padding:22px 0;
}
.footer-title{font-weight:900}
.footer-links{display:grid; gap:6px; text-align:right}
.footer-links a{color:var(--muted); text-decoration:none}
.footer-links a:hover{color:var(--text)}
.footer-bottom{padding:0 0 22px}

@media (max-width: 860px){
  .grid{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .menu-btn{display:inline-flex}
  .tabs{display:none}
  .tabs.open{display:block}
}
/* ===== FORCE: müügitabeli thumb hover (tõus + roheline äär) ===== */
.price-table td a.thumb{
  position: relative !important;
  display: inline-block !important;
  width: 60px !important;
  height: 45px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  background: rgba(255,255,255,.05) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.30) !important;
  transform: translateY(0) scale(1) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.price-table td a.thumb img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 12px !important;
  transition: transform .25s ease !important;
}

.price-table td a.thumb:hover{
  transform: translateY(-4px) scale(1.05) !important;
  border-color: rgba(46,229,157,.9) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.55),
    0 0 14px rgba(46,229,157,.65) !important;
}

.price-table td a.thumb:hover img{
  transform: scale(1.15) !important;
}

.price-table td a.thumb::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background: rgba(0,0,0,.35) !important;
  opacity:0 !important;
  transition: opacity .25s ease !important;
  pointer-events:none !important;
}

.price-table td a.thumb:hover::after{
  opacity:1 !important;
}

.price-table td a.thumb::before{
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  left:50% !important;
  transform: translate(-50%, -50%) scale(.85) !important;
  font-size: 18px !important;
  opacity:0 !important;
  z-index:2 !important;
  transition: opacity .25s ease, transform .25s ease !important;
  pointer-events:none !important;
}

.price-table td a.thumb:hover::before{
  opacity:1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}
.price-table td a.thumb:hover { outline: 3px solid red !important; }