/*
Theme Name: Akulab Theme
Theme URI: https://akulab.se
Author: Akulab AB
Description: En enkel one-page landningssida för Akulab med anpassningsbara rubriker, bilder, produkttexter och priser.
Version: 1.8
Text Domain: akubat
*/

:root{
  --bg:#0c121a;--bg-2:#0f1823;--card:#0f1d2a;--text:#e6edf3;--muted:#a9b3bf;
  --border:#233244;--green:#7fff00;--blue:#00d4ff;--radius:14px;--shadow:0 12px 40px rgba(0,0,0,.35);
  --container:1200px;--header-h:76px
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;line-height:1.5}
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* Header */
header{position:sticky;top:0;z-index:50;background:rgba(6,12,18,.9);backdrop-filter:saturate(140%) blur(8px);border-bottom:1px solid #0f1a26;height:var(--header-h)}
.nav{height:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:14px;text-decoration:none}
.brand img{height:48px;display:block}
.nav-links{display:flex;gap:26px;list-style:none;padding:0;margin:0}
.nav-links a{color:var(--text);text-decoration:none;font-weight:600;opacity:.9;transition:.2s}
.nav-links a:hover{color:var(--green);opacity:1}
.nav-right{display:flex;align-items:center;gap:14px}
.icon-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;border:1px solid #182433;background:#0c1622;color:#cdd7e1;cursor:pointer;text-decoration:none}
.icon-btn:hover{border-color:var(--green);color:var(--green)}
.lang-btn{background:transparent;border:1px solid var(--green);color:var(--green);padding:6px 10px;border-radius:8px;font-weight:700;cursor:pointer}
.lang-btn.active,.lang-btn:hover{background:var(--green);color:#0a1218}

/* Sections */
section{scroll-margin-top:calc(var(--header-h) + 16px)}
.section{padding:72px 0}
.section.alt{background:var(--bg-2);border-top:1px solid #101d2a;border-bottom:1px solid #101d2a}
.title{font-size:36px;margin:0 0 28px}
.title.center{text-align:center}

/* Hero */
.hero{padding:48px 0 32px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:28px}
}
.eyebrow{color:var(--green);font-weight:800;margin-bottom:8px}
.hero h1{font-size:44px;line-height:1.15;margin:0 0 14px}
.hero p{color:var(--muted);font-size:18px;margin:0 0 24px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 20px;border-radius:10px;border:1px solid var(--border);cursor:pointer;text-decoration:none;font-weight:800}
.btn.primary{background:transparent;color:var(--blue);border-color:var(--blue)}
.btn.primary:hover{background:var(--blue);color:#04121f}
.btn.success{background:var(--green);color:#071219;border-color:var(--green)}
.btn.success:hover{filter:brightness(.95)}
.hero-media{position:relative}
.hero-card{background:linear-gradient(180deg,rgba(8,18,28,.6),rgba(8,18,28,.9));border:1px solid var(--border);border-radius:var(--radius);padding:16px;box-shadow:var(--shadow)}
.hero-media .hero-card{min-height:360px;display:grid;grid-template-rows:minmax(0,1fr) auto}

/* Hero slider */
.hero-slider{position:relative;overflow:hidden;border-radius:10px;width:100%;height:clamp(260px,36vw,430px);background:#071019;display:block}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;display:grid;place-items:center;padding:clamp(28px,5vw,68px)}
.hero-slide img{width:100%;height:100%;display:block;object-fit:contain;object-position:center;filter:drop-shadow(0 12px 24px rgba(0,0,0,.3))}
.hero-slide.active{opacity:1;z-index:1}
.hero-slider-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px}
.hero-arrow{background:#0c1622;border:1px solid var(--border);border-radius:999px;width:34px;height:34px;display:grid;place-items:center;color:var(--text);cursor:pointer;font-size:18px;line-height:1}
.hero-arrow:hover{border-color:var(--green);color:var(--green)}
.hero-dots{display:flex;align-items:center;gap:6px}
.hero-dot{width:8px;height:8px;border-radius:999px;border:0;background:#3a4656;cursor:pointer;padding:0}
.hero-dot.active{background:var(--green);width:18px}

/* Products */
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
@media (max-width:1100px){.grid-4{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:540px){.grid-4{grid-template-columns:1fr}}
.product-card{background:var(--card);border:1px solid #274027;border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;min-height:320px;box-shadow:var(--shadow)}
.product-thumb{width:100%;aspect-ratio:4/3;object-fit:cover;background:#0a141e;border-radius:12px;border:1px solid var(--border)}
.product-name{font-size:20px;font-weight:800;margin:14px 0 6px;color:var(--green)}
.product-price{color:var(--muted);margin-bottom:12px;font-weight:600}
.product-desc{color:var(--muted);font-size:14px;margin-bottom:12px}
.product-spacer{flex:1}
.product-card .btn{width:100%}

/* About */
.about-grid{display:grid;grid-template-columns:1fr;gap:40px;align-items:start;justify-items:center;text-align:center}
@media (max-width:860px){.about-grid{grid-template-columns:1fr}}
.checklist{list-style:none;margin:14px 0 0;padding:0}
.checklist li{display:flex;gap:10px;margin-bottom:12px;color:var(--muted)}
.checklist i{color:var(--green);margin-top:3px}

/* FAQ */
.faq-wrap{max-width:900px;margin:0 auto}
.faq-item{background:var(--card);border:1px solid var(--border);border-radius:12px;margin-bottom:10px;overflow:hidden}
.faq-question{width:100%;text-align:left;background:none;color:var(--text);padding:16px 18px;border:0;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:800}
.faq-question .q{color:var(--green);margin-right:10px}
.faq-answer{display:none;padding:0 18px 16px;color:var(--muted)}
.faq-answer.active{display:block}

/* Footer */
footer{background:#121a23;border-top:1px solid #0e1620;padding:48px 0 20px;margin-top:60px}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr}}
footer h4{color:var(--green);margin:0 0 12px}
footer a{display:block;color:#bfc9d4;text-decoration:none;margin:6px 0}
footer a:hover{color:var(--green)}
.copyright{text-align:center;color:#8390a0;margin-top:28px;font-size:14px}

/* Inputs (kontaktformulär) */
.input{
  background:#0c1622;
  border-radius:10px;
  border:1px solid var(--border);
  padding:8px 10px;
  color:var(--text);
  font:inherit;
}
.input:focus{
  outline:none;
  border-color:var(--green);
}

/* Language visibility */
.lang-content{display:none}
.lang-content.active{display:block}

/* Extra mobilanpassning */
@media (max-width: 768px){
  body{
    font-size:15px;
  }
  .container{
    padding:0 16px;
  }
  header{
    height:auto;
  }
  .nav{
    grid-template-columns:1fr;
    gap:8px;
    padding:8px 0 10px;
    text-align:center;
  }
  .brand{
    justify-content:center;
  }
  .nav-links{
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    font-size:14px;
  }
  .nav-right{
    justify-content:center;
    flex-wrap:wrap;
    gap:8px;
  }
  .hero{
    padding:32px 0 24px;
  }
  .hero h1{
    font-size:30px;
  }
  .hero p{
    font-size:15px;
  }
  .hero-card{
    padding:12px;
  }
  .hero-media .hero-card{
    min-height:300px;
  }
  .hero-slider{
    height:clamp(220px,58vw,330px);
  }
  .hero-slider-controls{
    gap:10px;
  }
  .hero-arrow{
    width:30px;
    height:30px;
    font-size:16px;
  }
  .title{
    font-size:28px;
  }
  .section{
    padding:56px 0;
  }
  .product-card{
    min-height:auto;
    padding:14px;
  }
  .product-name{
    font-size:18px;
  }
}

@media (max-width: 480px){
  .hero h1{
    font-size:26px;
  }
  .hero p{
    font-size:14px;
  }
  .title{
    font-size:24px;
  }
  .nav-links{
    gap:10px;
  }
  .nav-right{
    gap:6px;
  }
}

/* Om oss / About – centrering och luft */
#about .about-grid,
#about-en .about-grid {
  justify-items: center;
  text-align: center;
}

#about p,
#about-en p {
  margin-bottom: 24px;
}

#about h3,
#about-en h3 {
  margin-bottom: 12px;
}

/* Akulab storefront home */
:root{
  --bg:#dfe4e4;
  --bg-2:#edf1f1;
  --card:#ffffff;
  --text:#071219;
  --muted:#51615f;
  --border:#c8d0d0;
  --green:#00d4ff;
  --blue:#0b75d1;
  --radius:3px;
  --shadow:none;
  --container:820px;
  --header-h:76px;
}

body{
  background:var(--bg);
  color:var(--text);
}

.container{
  max-width:var(--container);
}

header{
  background:#000;
  border-bottom:8px solid var(--blue);
  height:auto;
  min-height:74px;
  backdrop-filter:none;
}

.nav{
  min-height:74px;
  grid-template-columns:auto 1fr auto;
  gap:16px;
}

.brand img{
  height:58px;
  width:auto;
}

.nav-links{
  justify-content:center;
  gap:18px;
}

.nav-links a{
  color:#fff;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.nav-links a:hover{
  color:var(--green);
}

.nav-right{
  gap:8px;
}

.home-search{
  display:flex;
  align-items:center;
  min-width:250px;
  background:#f7f8f8;
  border:1px solid #cdd5d5;
}

.home-search input{
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  color:#08121c;
  padding:8px 10px;
  font:inherit;
  font-size:13px;
}

.home-search button{
  align-self:stretch;
  border:0;
  border-left:1px solid #cdd5d5;
  background:#fff;
  color:#08121c;
  padding:0 10px;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}

.home-search button:hover{
  background:var(--blue);
  color:#fff;
}

.lang-btn{
  border-color:rgba(255,255,255,.32);
  color:#fff;
  border-radius:2px;
  padding:7px 9px;
  font-size:12px;
}

.lang-btn.active,
.lang-btn:hover{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}

.shop-home{
  max-width:var(--container);
  margin:0 auto;
  padding:0 0 18px;
  background:var(--bg);
}

.shop-hero{
  min-height:230px;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  overflow:hidden;
  background:#020508;
  color:#fff;
  border:1px solid #0f171f;
  border-top:0;
}

.shop-hero-copy{
  padding:30px 30px 26px;
}

.shop-eyebrow{
  margin:0 0 6px;
  color:var(--green);
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
}

.shop-hero h1{
  margin:0 0 14px;
  max-width:420px;
  font-size:30px;
  line-height:1.05;
  color:#fff;
  text-transform:uppercase;
}

.shop-hero ul{
  list-style:none;
  padding:0;
  margin:0 0 18px;
}

.shop-hero li{
  position:relative;
  padding-left:17px;
  margin:5px 0;
  color:#c9d6dc;
  font-size:13px;
}

.shop-hero li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:7px;
  height:7px;
  background:var(--blue);
  border-radius:999px;
}

.shop-hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:154px;
  min-height:32px;
  padding:7px 16px;
  color:#fff;
  background:var(--blue);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
  border:1px solid #49a9ff;
}

.shop-hero-button:hover{
  background:#075ba4;
}

.shop-hero-visual{
  position:relative;
  min-width:0;
  padding:22px 22px 16px;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  background:
    radial-gradient(circle at 50% 45%, rgba(11,117,209,.28), transparent 54%),
    linear-gradient(135deg,#0a1119,#000);
}

.shop-home .hero-slider{
  height:170px;
  min-height:0;
  background:transparent;
  border-radius:0;
}

.shop-home .hero-slide{
  padding:22px;
}

.shop-home .hero-slide img{
  filter:drop-shadow(0 16px 26px rgba(0,0,0,.42));
}

.shop-home .hero-slider-controls{
  margin-top:8px;
}

.shop-home .hero-arrow{
  width:26px;
  height:26px;
  border-radius:2px;
  background:#07121c;
  border-color:#22384c;
  color:#fff;
}

.shop-home .hero-dot{
  background:#53616b;
}

.shop-home .hero-dot.active{
  background:var(--blue);
}

.shop-section{
  padding:14px 0 8px;
}

.shop-section-title{
  margin:12px 0 14px;
  text-align:center;
  text-transform:uppercase;
  font-size:16px;
  line-height:1.2;
  font-weight:900;
}

.home-product-grid,
.home-category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.home-product-card,
.home-category-card{
  min-width:0;
  background:#f8fafb;
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
}

.home-product-card{
  display:flex;
  flex-direction:column;
  min-height:246px;
}

.home-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:112px;
  padding:10px;
  background:#eef3f4;
  text-decoration:none;
}

.home-product-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.home-product-body{
  flex:1;
  padding:10px 10px 8px;
}

.home-product-body h3{
  margin:0 0 4px;
  font-size:13px;
  line-height:1.18;
  font-weight:900;
  color:#06111c;
}

.home-product-code{
  margin:0 0 6px;
  color:#0b75d1;
  font-size:11px;
  font-weight:900;
}

.home-product-copy{
  margin:0 0 8px;
  color:#4f5f5d;
  font-size:11px;
  line-height:1.25;
}

.home-product-body strong{
  display:block;
  color:#071219;
  font-size:12px;
}

.home-product-button{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  margin:0;
  background:var(--blue);
  color:#fff;
  font-size:12px;
  font-weight:900;
  text-decoration:none;
}

.home-product-button:hover{
  background:#075ba4;
}

.home-category-card{
  display:block;
  min-height:150px;
  padding:8px;
}

.home-category-card:hover{
  border-color:var(--blue);
}

.home-category-image{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
  height:94px;
  background:#eef3f4;
  margin-bottom:8px;
}

.home-category-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:6px;
}

.home-category-image.is-rotating img{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .35s ease;
}

.home-category-image.is-rotating img.active{
  opacity:1;
}

.home-category-title{
  display:block;
  margin-bottom:2px;
  color:#071219;
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  text-transform:uppercase;
}

.home-category-card small{
  display:block;
  color:#526260;
  font-size:10px;
  line-height:1.2;
}

.shop-info-band,
.shop-contact-band{
  margin:18px 0 0;
  padding:18px 22px;
  color:#fff;
  background:#03070c;
  border-top:5px solid var(--blue);
}

.shop-info-band h2,
.shop-contact-band h2{
  margin:0 0 6px;
  color:#fff;
  font-size:20px;
}

.shop-info-band p,
.shop-contact-band p{
  margin:0 0 12px;
  color:#c7d2d7;
}

.shop-info-band a,
.shop-contact-band a{
  color:var(--green);
  font-weight:900;
  text-decoration:none;
}

.shop-contact-band{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

footer{
  margin-top:0;
  padding:34px 0 18px;
  background:#000;
  border-top:8px solid var(--blue);
  color:#d8e5ea;
}

.site-footer-grid{
  display:grid;
  grid-template-columns:1.2fr repeat(3,1fr);
  gap:24px;
}

.site-footer-grid p{
  margin:0;
  color:#aab7bd;
  font-size:13px;
}

footer h4{
  color:var(--green);
  font-size:13px;
  text-transform:uppercase;
}

footer a{
  color:#d7e4ea;
  font-size:13px;
}

footer a:hover{
  color:var(--green);
}

.copyright{
  border-top:1px solid #162431;
  margin-top:24px;
  padding-top:16px;
}

@media (max-width: 900px){
  :root{--container:100%}
  .container{padding:0 14px}
  .nav{
    grid-template-columns:1fr;
    padding:10px 0;
  }
  .nav-links,
  .nav-right{
    justify-content:center;
  }
  .home-search{
    width:min(100%,420px);
    min-width:0;
  }
  .shop-home{
    padding:0 14px 18px;
  }
  .shop-hero{
    grid-template-columns:1fr;
  }
  .shop-hero-visual{
    min-height:220px;
  }
  .home-product-grid,
  .home-category-grid,
  .site-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 540px){
  .home-product-grid,
  .home-category-grid,
  .site-footer-grid{
    grid-template-columns:1fr;
  }
  .shop-hero-copy{
    padding:24px 18px;
  }
  .shop-hero h1{
    font-size:25px;
  }
  .shop-contact-band{
    display:block;
  }
}
