:root{
  --bg:#070812;
  --text:#eef2ff;
  --muted:#a7b0c0;
  --purple:#8b5cf6;
  --teal:#2dd4bf;
  --green:#22c55e;
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 48px rgba(0,0,0,.55);
  --radius:18px;
  --max: 1020px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 680px at 10% -10%, rgba(139,92,246,.35), transparent 60%),
    radial-gradient(900px 520px at 105% 10%, rgba(45,212,191,.22), transparent 55%),
    radial-gradient(700px 520px at 50% 120%, rgba(34,197,94,.14), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}
h1,h2,h3{letter-spacing:.2px}
h1{letter-spacing:.35px}

a{color:inherit}
img{max-width:100%; display:block}

.container{max-width:var(--max); margin:0 auto; padding:16px 14px 96px}

body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity:.20;
  mix-blend-mode: overlay;
}

/* Header */
header{
  position: sticky; top:0; z-index:30;
  backdrop-filter: blur(12px);
  background: rgba(7,8,18,.74);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  transition: padding .18s ease;
}
.brand{display:flex; align-items:center; text-decoration:none}
.brand .logo{
  width:92px;
  height:auto;
  filter: drop-shadow(0 0 14px rgba(139,92,246,.45));
  transition: width .18s ease, filter .18s ease;
}

/* compact on scroll */
header.is-compact .header-inner{ padding: 7px 14px; }
header.is-compact .brand .logo{ width:72px; filter: drop-shadow(0 0 12px rgba(139,92,246,.38)); }

@media (max-width: 520px){
  .header-inner{
    justify-content:flex-start;
    gap:8px;
  }
  /* start right-side cluster from cart */
  .header-inner .icon-btn--cart{ margin-left:auto; }
  .header-inner .icon-btn{ padding:9px 10px; gap:6px; }
  .lang-switch{ gap:6px; margin-left:0; }
}

/* Nav aligned to container */
.nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px 14px 12px;
  display:flex; gap:10px;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  border-top: 1px solid rgba(255,255,255,.05);
  transform: translateY(0);
  opacity: 1;
  max-height: 64px;
  transition: transform .18s ease, opacity .18s ease, max-height .18s ease, padding .18s ease, border-color .18s ease;
}
.nav::-webkit-scrollbar{display:none}

header.nav-hidden .nav{
  transform: translateY(-14px);
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-color: transparent;
}

.pill{
  position:relative;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  text-decoration:none;
  white-space:nowrap;
}
.pill::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius:999px;
  opacity:0;
  box-shadow: 0 0 0 1px rgba(139,92,246,.25), 0 0 22px rgba(139,92,246,.28);
  transition: opacity .2s ease;
  pointer-events:none;
}
.pill:hover::after{opacity:1}
.pill.active{
  border-color: rgba(139,92,246,.55);
  background: rgba(139,92,246,.14);
}
.pill.active::after{opacity:1}

.icon-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  text-decoration:none;
  font-size:13px;
}

/* make icon-btn look right on <button> too */
button.icon-btn{ color: inherit; }
button.icon-btn{ -webkit-appearance:none; appearance:none; cursor:pointer; }

.icon-btn .icon{ display:inline-flex; }
.icon-btn--search .icon-label{ display:none; }
@media (min-width: 520px){
  .icon-btn--search .icon-label{ display:inline; }
}

.icon-btn--cart .icon-label{ display:none; }
@media (min-width: 520px){
  .icon-btn--cart .icon-label{ display:inline; }
}

/* Header search popover */
.search-pop{
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  padding: 12px 14px;
  background: rgba(7,8,18,.92);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.search-pop__inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.search-pop__input{
  flex: 1;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: inherit;
}
.search-pop__input:focus{ outline: none; border-color: rgba(139,92,246,.65); }
.search-pop__go{ flex: 0 0 auto; }
@media (max-width: 520px){
  .search-pop__inner{ flex-direction: column; }
}

/* Search status bar (real filtering) */
.search-status{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.search-status__text{ color: var(--muted); font-size: 13px; }
.search-status__clear{ flex: 0 0 auto; }
.badge{
  min-width: 22px; height:22px; padding:0 7px;
  border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.50);
}

/* Hero */
.hero{
  margin-top:14px;
  padding:16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:-90px -70px auto auto;
  width:300px; height:300px;
  background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.55), transparent 60%);
  transform: rotate(18deg);
  opacity:.65;
}
.hero h1{margin:0 0 8px; font-size:20px; letter-spacing:.35px}
.hero p{margin:0; color:var(--muted); font-size:13px; position:relative}
.hero .cta{margin-top:14px; display:flex; gap:10px; position:relative}
@media (max-width:430px){ .hero .cta{flex-direction:column} }

/* DROP (home) */
.drop-wrap{ margin: 18px 0 6px; }
.drop{
  margin-top: 14px;
  position: relative;
}
.drop__toggle{
  list-style: none;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .4px;
}
.drop__toggle::-webkit-details-marker{ display:none; }
.drop[open] .drop__chev{ transform: rotate(180deg); }
.drop__chev{ transition: transform .18s ease; }
.drop__menu{
  margin-top: 10px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(17,17,17,.60);
}
.drop__menu a{
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.drop__menu a:hover{ background: rgba(255,255,255,.06); }

.drop__note{
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 13px;
}

/* Buttons */
.btn{
  flex:1;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color:var(--text);
  text-decoration:none;
  font-size:13px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,.35); border-color: rgba(255,255,255,.18); }
.btn.primary{
  border-color: rgba(139,92,246,.55);
  background: rgba(139,92,246,.18);
  box-shadow: 0 0 0 1px rgba(139,92,246,.18), 0 0 26px rgba(139,92,246,.20);
}
.btn.green{
  border-color: rgba(34,197,94,.55);
  background: rgba(34,197,94,.14);
  box-shadow: 0 0 0 1px rgba(34,197,94,.18), 0 0 26px rgba(34,197,94,.16);
}

/* Sections */
.section-title{
  margin: 18px 2px 10px;
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:10px;
}
.section-title h2{
  margin:0;
  font-size:13px;
  letter-spacing:.55px;
  text-transform:uppercase;
  color:rgba(255,255,255,.86)
}
.section-title a{font-size:12px;color:var(--muted);text-decoration:none}
.section-title a:hover{color:var(--text)}

/* Gallery */
.gallery{
  margin-top:12px;
  display:flex;
  gap:12px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  padding-bottom: 6px;
  scrollbar-width:none;
}
.gallery::-webkit-scrollbar{display:none}
.gallery .shot{
  min-width: 78%;
  max-width: 78%;
  scroll-snap-align:start;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  position:relative;
}
@media (min-width:680px){ .gallery .shot{min-width: 44%; max-width:44%;} }
@media (min-width:980px){ .gallery .shot{min-width: 32%; max-width:32%;} }
.gallery .shot img{height:200px; width:100%; object-fit:cover}
.gallery .shot .cap{
  position:absolute; left:12px; bottom:12px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  font-size:12px;
}

/* Product grid */
.grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
@media (min-width:560px){ .grid{grid-template-columns: repeat(2,1fr)} }
@media (min-width:920px){ .grid{grid-template-columns: repeat(3,1fr)} }

.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.card::after{
  content:"";
  position:absolute; inset:-2px;
  border-radius: var(--radius);
  opacity:0;
  box-shadow: 0 0 0 1px rgba(139,92,246,.22), 0 0 34px rgba(139,92,246,.16);
  transition: opacity .18s ease;
  pointer-events:none;
}
.card:hover::after{opacity:1}

.thumb{position:relative; height: 190px; border-bottom:1px solid rgba(255,255,255,.10)}
.thumb img{height:100%; width:100%; object-fit:cover}
.thumb .overlay{position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.42)); pointer-events:none;}
.chip{pointer-events:none;
  
  position:absolute; left:12px; bottom:12px;
  font-size:11px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
}
.price{
  position:absolute; right:12px; bottom:12px;
  font-weight:800;
  font-size:13px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
}

/* Product page: category switcher (shown only when the same image filename exists in other categories) */
.cat-switch{margin-left:auto; position:relative; display:flex; flex-direction:column; align-items:flex-end; gap:8px; z-index:6;}
.cat-switch__btn{
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.cat-switch__menu{
  width: 210px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
  padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.cat-switch__select{
  width:100%;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  color: inherit;
  outline: none;
}

.content{padding:12px 12px 14px}
.content h3{margin:0 0 6px; font-size:15px}
.content h3 a{text-decoration:none}
.content p{margin:0; color:var(--muted); font-size:13px}

.thumb-strip{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:8px;
}
.thumb-strip img{
  width: 100%;
  max-width: 66px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  opacity:.92;
}

.meta{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px}
.tag{
  font-size:12px; color:rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding:6px 10px;
  border-radius:999px;
}

.actions{margin-top:12px; display:flex; gap:10px}

/* Options */
.options{
  margin-top:10px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width:360px){ .options{grid-template-columns:1fr} }
.opt label{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
.opt select{
  width:100%;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  color:var(--text);
  outline:none;
}

/* Boxes & table */
.box{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  padding:14px;
  margin-top:14px;
}
.kv{display:grid; gap:8px; margin-top:10px; font-size:13px; color:var(--muted)}
.kv b{color:var(--text)}
.note{margin-top:10px; color:var(--muted); font-size:12px}

.table{width:100%; border-collapse:collapse; font-size:13px}
.table th,.table td{padding:10px; border-bottom:1px solid rgba(255,255,255,.08); vertical-align:top}
.table th{color:var(--muted); font-weight:600; text-align:left}
.right{text-align:right}
.small{font-size:12px; color:var(--muted)}
.opt-mini{display:flex; gap:8px; flex-wrap:wrap; margin-top:6px}
.opt-mini select{
  padding:8px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
  color:var(--text);
  outline:none;
}

/* Footer */
footer{
  position:fixed; left:0; right:0; bottom:0;
  border-top:1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  background: rgba(7,8,18,.72);
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding:10px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  color:var(--muted);
  font-size:12px;
}
.footer-inner a{color:rgba(255,255,255,.86); text-decoration:none}
.footer-inner a:hover{color:var(--text)}
.footer-brand{display:flex; align-items:center; gap:10px}
.footer-brand img{width:72px; height:auto; filter: drop-shadow(0 0 12px rgba(139,92,246,.35)); opacity:.95}

.lang-switch{
  display:flex;
  margin-left: 40px ;
  gap:16px;
}
.lang-switch button{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  border-radius:10px;
  padding:6px 8px;
  font-size:16px;
  cursor:pointer;
}
.lang-switch button:hover{
  background:rgba(255,255,255,.18);
}


/* Image lightbox (product page only; opened on click) */
.img-lightbox{ position:fixed; inset:0; display:none; z-index:9999; }
.img-lightbox.is-open{ display:block; }
.img-lightbox__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.75); }
.img-lightbox__content{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  padding:18px;
}
.img-lightbox__img{
  max-width:min(1100px, 96vw);
  max-height:88vh;
  width:auto;
  height:auto;
  border-radius:16px;
  box-shadow: 0 22px 60px rgba(0,0,0,.5);
  background:#111;
}
.img-lightbox__close{
  position:absolute;
  top:16px; right:18px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(15,15,15,.55);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.img-lightbox__close:hover{ filter:brightness(1.1); }



/* Cart: remove button as icon + mobile overflow fix */
.btn.btn-remove{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  padding:0;
  border-radius:14px;
  line-height:1;
}
.btn.btn-remove svg{ display:block; }

@media (max-width: 768px){
  .table th,.table td{ padding:8px 6px; }
  .btn.btn-remove{ width:38px; height:38px; }
  /* avoid any accidental horizontal overflow */
  .table{ table-layout:fixed; }
  .table td{ overflow-wrap:anywhere; }
}



/* Desktop arrows for projects gallery */
.gallery-wrap{ position: relative; }
.gallery-wrap .gallery{ padding-left: 52px; padding-right: 52px; }
.gallery-arrow{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  display:none;
  align-items:center;
  justify-content:center;
}
.gallery-arrow.prev{ left: 10px; }
.gallery-arrow.next{ right: 10px; }
@media (min-width: 980px){
  .gallery-arrow{ display:flex; }
}


/* Legal pages */
.legal h1{ margin-top: 0; }
.legal h2{ margin-top: 18px; }
.legal ul{ padding-left: 18px; }
.legal .muted{ opacity:.75; font-size:.95rem; }

/* Cookie banner */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}
.cookie-banner__text{ min-width: 0; }
.cookie-banner__title{ font-weight: 800; margin-bottom: 4px; }
.cookie-banner__msg{ opacity: .9; font-size: .95rem; line-height: 1.35; }
.cookie-banner__link{ display:inline-block; margin-top: 6px; opacity:.9; text-decoration: underline; }
.cookie-banner__actions{ display:flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 520px){
  .cookie-banner{ flex-direction: column; align-items: stretch; }
  .cookie-banner__actions{ justify-content: flex-end; }
}

/* Footer: mobile "more" toggle for legal links */
.footer-links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.footer-sep{
  color: rgba(255,255,255,.35);
  margin: 0 2px;
}
.footer-toggle{
  display:none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 6px 10px;
  color: rgba(255,255,255,.86);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.footer-toggle:hover{ background: rgba(255,255,255,.12); }
.footer-more{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

@media (max-width: 768px){
  .footer-toggle{ display:inline-flex; align-items:center; }
  .footer-more{ display:none; width:100%; padding-top:8px; flex-direction:column; align-items:flex-start; gap:10px; }
  .footer-more.open{ display:flex; }
  .footer-sep{ display:none; }
}

/* Home: manifesto box styled like hero */
.hero--manifest{ margin-top:14px; }

.cat-switch__hint{font-size:12px; opacity:.85; padding:6px 10px; border-radius:12px; background:rgba(0,0,0,.35); backdrop-filter:blur(6px);}



/* Home manifest (section[2]) */
.manifest{ max-width: 900px; }
.manifest__title{
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
  margin: 0 0 10px 0;
}
.manifest__lead{
  margin: 0 0 14px 0;
  opacity: .88;
  font-size: 1.05rem;
}
.manifest__more{
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}
.manifest__more.is-collapsed{
  max-height: 0;
  opacity: 0;
}
.manifest__more:not(.is-collapsed){
  max-height: 420px;
  opacity: 1;
}
.manifest__toggle{
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  color: inherit;
  cursor: pointer;
  font-weight: 700;
}
.manifest__toggle:hover{ background: rgba(255,255,255,.10); }

/* Footer disclosure (details/summary) */
.footer-disclosure{
  display: inline;
}
.footer-disclosure__summary{
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.18);
  user-select: none;
}
.footer-disclosure__summary::-webkit-details-marker{ display:none; }
.footer-disclosure__arrow{
  display: inline-block;
  transition: transform .2s ease;
  opacity: .9;
  font-size: 1.1rem;
  line-height: 1;
}
.footer-disclosure[open] .footer-disclosure__arrow{
  transform: rotate(180deg);
}


/* Home manifest (section 2) – smaller header, full text visible */
.manifest{
  max-width: 900px;
}
.manifest__title{
  font-size: 1.6rem;
  line-height: 1.15;
}
.manifest__lead{
  font-size: 1.15rem;
  opacity: .88;
}
.manifest__p{
  opacity: .85;
  line-height: 1.6;
  margin-top: 10px;
}
