:root{
  --g-wood:#21140d;
  --g-wood2:#332015;
  --g-paper:#f0dfc1;
  --g-paper2:#fff5e4;
  --g-ink:#2b1b12;
  --g-muted:#77634f;
  --g-red:#762019;
  --g-green:#3d4d30;
  --g-gold:#b9914f;
  --g-line:#cfb181;
  --g-shadow:0 18px 42px rgba(0,0,0,.28);
}

body.guster-front{
  min-height:100vh;
  background:
    linear-gradient(rgba(28,16,10,.96),rgba(28,16,10,.96)),
    repeating-linear-gradient(
      90deg,
      #2f1c12 0,
      #2f1c12 10px,
      #25160e 10px,
      #25160e 20px
    );
}

.guster-hero{
  min-height:56vh;
  padding:20px 18px 42px;
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  text-align:center;
  color:#fff;
  background:
    linear-gradient(rgba(18,10,6,.03),rgba(18,10,6,.78)),
    url('../img/interior.webp') center/cover no-repeat;
}

.guster-lang{
  position:absolute;
  top:max(16px,env(safe-area-inset-top));
  right:16px;
  padding:7px 10px;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.45);
  border-radius:8px;
  background:rgba(25,14,9,.68);
  font-size:13px;
}

.guster-brand{
  display:block;
  color:inherit;
  line-height:.92;
  text-decoration:none;
  text-shadow:0 4px 18px rgba(0,0,0,.95);
}

.guster-brand span{
  display:block;
  margin-bottom:12px;
  color:#efd2a0;
  font-family:Georgia,serif;
  font-size:15px;
  letter-spacing:.36em;
}

.guster-brand strong{
  display:block;
  color:#fff5e4;
  font-family:Georgia,serif;
  font-size:clamp(50px,14vw,70px);
  letter-spacing:.045em;
}

.guster-brand small{
  display:block;
  margin-top:10px;
  color:#f1d29a;
  font-family:Georgia,serif;
  font-size:clamp(29px,8vw,39px);
}

.guster-hero p{
  margin:18px 0 8px;
  color:#f6e4ca;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
}

.guster-main{
  width:min(100%,840px);
  margin:-13px auto 0;
  padding:0 12px 110px;
  position:relative;
}

.index-page .guster-hero{
  min-height:52vh;
}

.index-page .guster-main{
  margin-top:-18px;
}

.guster-category-panel{
  padding:16px;
  border:1px solid #6c472e;
  border-radius:18px;
  background:
    linear-gradient(rgba(47,28,18,.97),rgba(47,28,18,.97)),
    repeating-linear-gradient(
      90deg,
      #3a2216 0,
      #3a2216 9px,
      #2b1910 9px,
      #2b1910 18px
    );
  box-shadow:var(--g-shadow);
}

.guster-panel-heading{
  margin-bottom:14px;
  text-align:center;
  color:#f6e6cc;
}

.guster-panel-heading span{
  color:var(--g-gold);
  font-size:10px;
  letter-spacing:.26em;
}

.guster-panel-heading h1{
  margin:5px 0 0;
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:500;
}

.guster-category-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}

.guster-category-card{
  min-height:145px;
  padding:14px 10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  text-decoration:none;
  color:var(--g-ink);
  border:1px solid var(--g-gold);
  border-radius:11px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.58),transparent 45%),
    linear-gradient(#f9ead0,#e3c597);
  box-shadow:inset 0 0 0 4px rgba(255,255,255,.35);
  transition:transform .15s ease,box-shadow .15s ease;
}

.guster-category-card:active{
  transform:scale(.985);
}

.guster-category-icon{
  display:block;
  margin-bottom:10px;
  font-size:36px;
}

.guster-category-card strong{
  font-family:Georgia,serif;
  font-size:19px;
}

.guster-category-card small{
  margin-top:7px;
  color:var(--g-muted);
  font-size:11px;
}

.guster-menu-list{
  margin-top:16px;
}

.guster-search{
  position:sticky;
  top:8px;
  z-index:6;
  margin-bottom:14px;
}

.guster-search input{
  border:1px solid var(--g-gold);
  background:rgba(255,248,234,.97);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
}

.guster-menu-section{
  scroll-margin-top:78px;
  margin:0 0 16px;
  padding:14px;
  border:1px solid var(--g-gold);
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 0,rgba(255,255,255,.45),transparent 36%),
    linear-gradient(#f7e6c8,#e5c89c);
  box-shadow:var(--g-shadow);
}

.guster-section-title{
  margin-bottom:10px;
  padding-bottom:9px;
  border-bottom:1px solid var(--g-line);
  text-align:center;
}

.guster-section-title span{
  color:var(--g-red);
  font-family:Georgia,serif;
  font-size:26px;
}

.guster-product-card{
  border:0;
  border-bottom:1px solid rgba(111,79,44,.25);
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

.guster-product-card:last-child{
  border-bottom:0;
}

.guster-product-card .product-title-row h3{
  color:var(--g-ink);
  font-family:Georgia,serif;
}

.guster-product-card .product-title-row strong{
  color:var(--g-red);
}

.guster-product-card p,
.guster-product-card small{
  color:var(--g-muted);
}

.guster-product-card .badge{
  border-color:var(--g-red);
  color:#fff2dd;
  background:var(--g-red);
}

.guster-front .service-bar{
  border-top-color:#6b472e;
  background:rgba(32,18,11,.95);
}

.guster-front .btn.service{
  background:var(--g-red);
}

.guster-front .btn.bill{
  background:var(--g-green);
}

@media(min-width:700px){
  .guster-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:560px){
  .guster-hero{
    min-height:52vh;
    padding-bottom:34px;
  }

  .index-page .guster-hero{
    min-height:48vh;
  }

  .index-page .guster-main{
    margin-top:-18px;
  }

  .guster-main{
    padding:0 9px 100px;
  }

  .guster-category-panel{
    padding:11px;
    border-radius:15px;
  }

  .guster-panel-heading h1{
    font-size:23px;
  }

  .guster-category-grid{
    gap:9px;
  }

  .guster-category-card{
    min-height:118px;
    padding:10px 7px;
  }

  .guster-category-icon{
    margin-bottom:7px;
    font-size:29px;
  }

  .guster-category-card strong{
    font-size:16px;
  }

  .guster-category-card small{
    font-size:9px;
  }

  .guster-menu-section{
    padding:10px;
  }

  .guster-section-title span{
    font-size:23px;
  }

  .guster-product-card{
    padding:12px 2px;
  }

  .guster-product-card .product-title-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
  }

  .guster-product-card .product-title-row h3{
    font-size:16px;
  }

  .guster-product-card .product-title-row strong{
    margin:0;
    font-size:14px;
  }
}


/* GUSTER UI v1.1 - diskretnije kartice, sticky sekcije i back-to-top */

.guster-category-card{
  min-height:118px;
  padding:15px 12px;
  border:1px solid rgba(185,145,79,.72);
  border-radius:9px;
  background:
    linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.04)),
    #ead9bd;
  box-shadow:
    0 5px 14px rgba(0,0,0,.11),
    inset 0 0 0 1px rgba(255,255,255,.34);
}

.guster-category-card:hover{
  box-shadow:
    0 7px 18px rgba(0,0,0,.15),
    inset 0 0 0 1px rgba(255,255,255,.38);
}

.guster-category-icon{
  margin-bottom:8px;
  font-size:22px;
  filter:grayscale(1) sepia(.35);
  opacity:.78;
}

.guster-category-card strong{
  font-size:18px;
  font-weight:600;
  letter-spacing:.01em;
}

.guster-category-card small{
  margin-top:5px;
  opacity:.76;
}

.guster-section-title{
  position:sticky;
  top:66px;
  z-index:5;
  margin:-14px -14px 10px;
  padding:12px 14px 10px;

  border-bottom:1px solid rgba(185,145,79,.14);
  border-radius:13px 13px 0 0;

  background:rgba(244,226,195,.42);

  -webkit-backdrop-filter:none;
  backdrop-filter:none;

  box-shadow:0 2px 8px rgba(49,29,17,.05);
}

.guster-section-title span{
  color:#762019;
  font-size:22px;
  letter-spacing:.015em;
  text-shadow:0 1px 0 rgba(255,255,255,.72);
}

.guster-search{
  top:8px;
}

.back-to-top{
  position:fixed;
  right:16px;
  bottom:20px;
  z-index:40;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0 0 5px;
  border:1px solid rgba(185,145,79,.9);
  border-radius:50%;
  color:#f2d7a5;
  background:rgba(42,24,15,.94);
  box-shadow:0 9px 24px rgba(0,0,0,.28);
  font-family:Georgia,serif;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:
    opacity .2s ease,
    visibility .2s ease,
    transform .2s ease,
    background .2s ease;
}

.back-to-top.visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.back-to-top:hover{
  background:rgba(107,30,24,.96);
}

.guster-front:has(.service-bar) .back-to-top{
  bottom:82px;
}

@media(max-width:560px){
  .guster-category-card{
    min-height:98px;
    padding:11px 8px;
  }

  .guster-category-icon{
    margin-bottom:5px;
    font-size:19px;
  }

  .guster-category-card strong{
    font-size:15px;
  }

  .guster-category-card small{
    font-size:8px;
  }

  .guster-section-title{
    top:63px;
    margin:-10px -10px 9px;
    padding:10px 10px 9px;
  }

  .guster-section-title span{
    font-size:20px;
  }

  .back-to-top{
    right:13px;
    bottom:15px;
    width:44px;
    height:44px;
  }

  .guster-front:has(.service-bar) .back-to-top{
    bottom:76px;
  }
}


/* GUSTER UI v1.2 - premium mobile polish */

.guster-hero{
  min-height:68svh;
  padding-bottom:48px;
  background-position:center 42%;
}

.guster-hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(0,0,0,.06) 0%,rgba(0,0,0,.08) 42%,rgba(20,10,5,.78) 100%),
    radial-gradient(circle at 50% 76%,rgba(180,128,62,.12),transparent 30%);
}

.guster-brand,
.guster-hero p,
.guster-hero .table-chip{
  position:relative;
  z-index:1;
}

.guster-brand strong{
  text-shadow:
    0 3px 0 rgba(73,37,18,.7),
    0 8px 24px rgba(0,0,0,.85);
}

.guster-brand small{
  font-style:italic;
  letter-spacing:.02em;
}

.guster-main{
  margin-top:-22px;
}

.guster-category-panel{
  position:relative;
  overflow:hidden;
}

.guster-category-panel::before{
  content:"";
  position:absolute;
  width:190px;
  height:140px;
  right:-48px;
  top:-38px;
  opacity:.055;
  background:url('../img/logo.png') center/contain no-repeat;
  pointer-events:none;
  filter:sepia(.4);
}

.guster-panel-heading,
.guster-category-grid{
  position:relative;
  z-index:1;
}

.guster-panel-heading h1{
  font-size:25px;
  font-weight:400;
  letter-spacing:.012em;
}

..guster-category-card{
  height:auto;
  min-height:0;
  padding:6px 210px;
  box-sizing:border-box;
  border-color:rgba(167,126,64,.55);
  background:
    linear-gradient(145deg,rgba(255,255,255,.17),transparent 45%),
    #e8d8bf;
  box-shadow:
    0 4px 12px rgba(0,0,0,.09),
    inset 0 0 0 1px rgba(255,255,255,.3);

}

.guster-category-card::after{
  content:"";
  width:34px;
  height:1px;
  margin-top:9px;
  background:rgba(128,87,39,.28);
}

.guster-category-icon{
  font-size:18px;
  opacity:.62;
}

.guster-category-card strong{
  font-size:17px;
  font-weight:500;
}

.guster-category-card small{
  margin-top:4px;
  color:#806b55;
}

.guster-menu-section{
  overflow:visible;
}

.guster-product-card{
  position:relative;
  padding:15px 4px;
  transition:background .18s ease;
}

.guster-product-card:hover{
  background:rgba(255,255,255,.13);
}

.guster-product-card .product-title-row{
  gap:16px;
}

.guster-product-card .product-title-row h3{
  font-weight:500;
  letter-spacing:.005em;
}

.guster-product-card .product-title-row strong{
  min-width:76px;
  text-align:right;
  font-variant-numeric:tabular-nums;
  letter-spacing:.015em;
}

.guster-product-card p{
  max-width:620px;
  line-height:1.5;
}

.guster-search input{
  height:47px;
  border-radius:11px;
  font-size:15px;
}

.reveal-item{
  opacity:0;
  transform:translateY(12px);
  transition:
    opacity .42s ease var(--reveal-delay,0ms),
    transform .42s ease var(--reveal-delay,0ms),
    box-shadow .15s ease;
}

.reveal-item.revealed{
  opacity:1;
  transform:translateY(0);
}

@media(prefers-reduced-motion:reduce){
  .reveal-item{
    opacity:1;
    transform:none;
    transition:none;
  }

  html{
    scroll-behavior:auto;
  }
}

@media(max-width:560px){
  .guster-hero{
    min-height:66svh;
    padding-bottom:42px;
  }

  .guster-main{
    margin-top:-19px;
  }

  .guster-brand span{
    font-size:13px;
  }

  .guster-brand strong{
    font-size:49px;
  }

  .guster-brand small{
    font-size:29px;
  }

  .guster-category-panel{
    padding:12px;
  }

  .guster-panel-heading{
    margin-bottom:12px;
  }

  .guster-panel-heading h1{
    font-size:21px;
  }

  .guster-category-card{
    min-height:92px;
    padding:10px 7px;
  }

  .guster-category-icon{
    font-size:16px;
    margin-bottom:4px;
  }

  .guster-category-card strong{
    font-size:14px;
    line-height:1.18;
  }

  .guster-category-card small{
    font-size:8px;
  }

  .guster-category-card::after{
    width:24px;
    margin-top:6px;
  }

  .guster-product-card{
    padding:14px 1px;
  }

  .guster-product-card .product-title-row strong{
    min-width:68px;
  }
  .guster-category-card{
  height:auto!important;
  min-height:0!important;
  padding:6px 10px!important;
}

.guster-category-icon,
.guster-category-card small,
.guster-category-card::after{
  display:none!important;

}
}


/* v1.9 - artikal ostaje vidljiv kada ga trenutno nema */
.guster-product-card.is-sold-out{opacity:.84}
.guster-product-card.is-sold-out img{filter:grayscale(.22)}
.product-availability-badge{
  display:block;
  margin-top:4px;
  padding:0;
  border:0;
  border-radius:0;
  color:var(--g-muted);
  background:transparent;
  font-size:10px;
  font-weight:600;
  line-height:1.35;
  text-transform:none;
  letter-spacing:.01em;
  opacity:.76;
}
