:root{
  --text:#eef2f7;
  --muted:#a8b0bd;
  --line:rgba(255,255,255,.12);

  --accent:#f59e0b;
  --accent2:#f97316;

  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --radius: 16px;
  --radius2: 12px;
  --container: 1120px;

  --scroll-offset: 110px;
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  scroll-padding-top: var(--scroll-offset);
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#000;
}

section[id]{ scroll-margin-top: var(--scroll-offset); }

.site-bg{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.site-overlay{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 18% -10%, rgba(245,158,11,.16), transparent 60%),
    radial-gradient(800px 500px at 85% 0%, rgba(249,115,22,.12), transparent 60%),
    rgba(0,0,0,.62);
  z-index: -2;
}

.site-overlay::after{
  content:"";
  position:absolute;
  inset:0;
  opacity:.10;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.10) 0px,
      rgba(255,255,255,.10) 2px,
      transparent 2px,
      transparent 10px
    );
  mix-blend-mode: overlay;
  pointer-events:none;
}

a{ color:inherit; text-decoration:none; }

img{
  display:block;
  max-width:100%;
}

.container{
  width:min(var(--container), calc(100% - 32px));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
}

.skip-link:focus{
  left:12px;
  top:12px;
  z-index:1000;
  padding:10px 14px;
  background:#111827;
  color:#fff;
  border-radius:8px;
}

.dot{ opacity:.6; margin-inline:10px; }

/* HEADER */
.dt-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,15,.78);
  backdrop-filter: blur(10px);
}

.dt-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.dt-header__stripe{
  height:4px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(245,158,11,1) 0px,
      rgba(245,158,11,1) 10px,
      rgba(0,0,0,1) 10px,
      rgba(0,0,0,1) 20px
    );
  opacity:.85;
}

.dt-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.dt-brand__logo{
  display:block;
  width:auto;
  height:34px;
}

.dt-brand__text{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.dt-brand__name{
  font-size:16px;
  font-weight:800;
  line-height:1.1;
  color:var(--text);
}

.dt-brand__tag{
  margin-top:2px;
  font-size:12px;
  color:var(--muted);
  line-height:1.2;
}

.dt-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.dt-nav a{
  color:var(--muted);
  font-size:14px;
  transition:color .15s ease;
}

.dt-nav a:hover{
  color:var(--text);
}

.dt-nav__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 16px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(245,158,11,1), rgba(249,115,22,1));
  color:#141414 !important;
  font-weight:950;
  border:1px solid rgba(0,0,0,.35);
  box-shadow: 0 14px 26px rgba(0,0,0,.45);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dt-nav__cta:hover{
  filter:brightness(1.02);
}

/* HERO KATALOG */
.catalog-hero{
  padding:28px 0 22px;
}

.breadcrumbs{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  font-size:14px;
  color:var(--muted);
}

.breadcrumbs a{
  color:var(--text);
  opacity:.92;
}

.catalog-hero__box{
  max-width: 860px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(10,12,15,.58);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:28px;
}

.eyebrow{
  margin:0 0 12px;
  color:rgba(245,158,11,.95);
  letter-spacing:.14em;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}

.eyebrow--small{
  margin-bottom:8px;
}

.catalog-hero h1{
  margin:0 0 12px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height:1.1;
}

.lead{
  margin:0;
  color:#cfd6e1;
  font-size:16px;
  line-height:1.75;
  max-width: 64ch;
}

.catalog-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

.catalog-meta__item{
  min-width:170px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,22,28,.70);
  border-radius:14px;
  padding:12px 14px;
}

.catalog-meta__item strong{
  display:block;
  font-size:16px;
}

.catalog-meta__item span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:13px;
}

/* GLASS SECTION */
.glass{
  background: rgba(10,12,15,.78);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

/* SECTIONS */
.section{
  padding:40px 0;
}

.section--alt{
  background: rgba(0,0,0,.20);
}

.section__head{
  margin-bottom:18px;
}

.section__head h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.2vw, 30px);
}

.section__head p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
  line-height:1.6;
}

.section-head-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.section-back{
  color:#ffd18a;
  font-weight:900;
  letter-spacing:.02em;
  white-space:nowrap;
}

.section-back:hover{
  text-decoration:underline;
}

/* KATEGORIJE */
.category-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.category-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,22,28,.66);
  color:var(--text);
  font-weight:900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.category-pill:hover{
  transform: translateY(-2px);
  border-color: rgba(245,158,11,.45);
  background: rgba(18,22,28,.90);
  box-shadow: 0 16px 28px rgba(0,0,0,.45);
}

/* GRID PROIZVODA */
.products-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap:18px;
}

.product-card{
  display:flex;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,22,28,.72);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.product-card:hover{
  transform: translateY(-4px);
  border-color: rgba(245,158,11,.45);
  background: rgba(18,22,28,.90);
  box-shadow: 0 20px 34px rgba(0,0,0,.50);
}

.product-image-link{
  display:block;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-bottom:1px solid rgba(255,255,255,.08);
}

.product-image-link img{
  width:100%;
  height:260px;
  object-fit:contain;
  padding:18px;
}

.product-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:18px;
}

.product-title{
  margin:0 0 8px;
  font-size:20px;
  line-height:1.25;
}

.product-title a:hover{
  color:#ffd18a;
}

.product-desc{
  margin:0 0 12px;
  color:#d3dae6;
  line-height:1.65;
  font-size:14px;
}

.product-specs{
  list-style:none;
  margin:0 0 16px;
  padding:0;
  border-top:1px solid rgba(255,255,255,.08);
}

.product-specs li{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:14px;
}

.spec-label{
  color:var(--muted);
}

.spec-value{
  text-align:right;
  color:var(--text);
  font-weight:800;
}

.product-button{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border-radius:12px;
  background: linear-gradient(180deg, rgba(245,158,11,1), rgba(249,115,22,1));
  color:#141414;
  font-weight:950;
  border:1px solid rgba(0,0,0,.35);
  box-shadow: 0 14px 26px rgba(0,0,0,.35);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: transform .12s ease, filter .12s ease;
}

.product-button:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}

/* INFO */
.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.info-card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,22,28,.72);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.35);
}

.info-card h2{
  margin:0 0 8px;
  font-size:22px;
}

.info-card p{
  margin:0;
  color:#d3dae6;
  line-height:1.75;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(255,255,255,.10);
  padding:18px 0;
  color:var(--muted);
  background: rgba(10,12,15,.78);
  backdrop-filter: blur(10px);
}

.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.footer__links a{
  color:var(--muted);
}

.footer__links a:hover{
  color:var(--text);
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .products-grid{
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 860px){
  .dt-nav{
    gap:12px;
  }

  .dt-nav a{
    font-size:13px;
  }

  .dt-brand__tag{
    display:none;
  }

  .products-grid{
    grid-template-columns:1fr;
  }

  .info-grid{
    grid-template-columns:1fr;
  }

  .section-head-row{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 700px){
  :root{ --scroll-offset: 92px; }

  .dt-header__inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .dt-nav{
    width:100%;
    flex-wrap:wrap;
    gap:10px;
  }

  .dt-nav__cta{
    min-height:38px;
  }

  .catalog-hero__box{
    padding:22px 18px;
  }

  .catalog-meta{
    flex-direction:column;
  }
}

/* Hamburger — hidden in merdevine catalog (nav wraps at 700px, no need to hide) */
.dt-navbtn{ display:none; }

.footer__dev{
  width:100%;
  text-align:center;
  font-size:12px;
  color:rgba(255,255,255,.25);
  padding-top:8px;
  margin-top:8px;
  border-top:1px solid rgba(255,255,255,.06);
}
.footer__dev a{ color:rgba(255,255,255,.35); text-decoration:none; }
.footer__dev a:hover{ color:var(--muted); }