:root{
  --accent:#00a082;
  --accent-dark:#008a70;
  --nav-h: 90px;
  --cats-h: 60px;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
  --border: rgba(0,0,0,.08);
}

/* =========================
   GLOBAL
========================= */
html, body{
  height: 100%;
}
body{
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color:#111;
}

/* =========================
   BUTTON PANIER FIXE
========================= */
.button-purshase{
  background-color: var(--accent);
  color:#fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 14px;
  display: inline-block;
  transition: transform .12s ease, box-shadow .12s ease;
  width: min(92vw, 520px);
  border: none;
  box-shadow: 0 16px 34px rgba(0,160,130,.22);
}
.button-purshase:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0,160,130,.28);
}
.button-fixed{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 1400;
}

/* =========================
   QTY BUTTONS
========================= */
.qty{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
}

.button-green-solutec{
  border-radius: 999px;
  padding: 8px 14px;
  cursor:pointer;
  user-select:none;
  border:none;
  font-weight:800;
  font-size: 16px;
  line-height: 1;
}
.button-green-solutec.plus,
.button-green-solutec.minus{
  background: var(--accent);
  color:#fff;
}
.button-green-solutec:active{
  transform: scale(.98);
}

/* =========================
   HIDDEN POPUPS
========================= */
.hidden-block-big{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

.hidden-small{
  background-color: #fff;
  border: 2px solid #505050;
  border-radius: 25px;
  width: min(92vw, 720px);
  padding: 16px;
  user-select: none;
  height: 70vh;
  overflow: auto;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* =========================
   TOP NAVBAR (premium)
   -> fixed top, height auto
========================= */
.top-navbar{
  position: fixed;
  top:0; left:0; right:0;
  z-index:1200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.top-navbar .container{
  display:flex;
  align-items:center;
  gap:14px;
  padding: 10px 12px;
  flex-wrap: wrap;
}

.top-navbar .brand-area{
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  min-width: 160px;
}

.top-navbar .brand-area img{
  width:52px;
  height:52px;
  border-radius: 12px;
  object-fit: cover;
}

.top-navbar .brand-title{
  font-weight: 900;
  letter-spacing: .5px;
  font-size: 24px;
  margin:0;
  line-height: 1.05;
  white-space: nowrap;
}

.top-contact{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap: wrap;
  justify-content:flex-end;
  font-weight:700;
  font-size: 14px;
  color:#111;
}

.top-contact .item{
  display:flex;
  align-items:center;
  gap:8px;
  white-space: nowrap;
  opacity:.95;
}

.top-contact a{
  text-decoration:none;
  color:#111;
}
.top-contact svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
}

/* =========================
   CATEGORIES SCROLL BAR
========================= */
.scroll-container{
  position: fixed;
  left:0; right:0;
  top: var(--nav-h);
  z-index:1100;
  overflow-x:auto;
  white-space:nowrap;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
  padding: 8px 8px;
}

.scroll-container::-webkit-scrollbar{
  display:none;
}

.scroll-list{
  display:inline-block;
}

.item-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  margin: 4px 6px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  color:#111;
  font-weight:800;
  font-size: 13px;
  text-decoration:none;
}

.item-link:hover{
  transform: translateY(-1px);
  border-color: rgba(0,160,130,.35);
}

.item-link.selected,
.item-link.active{
  background: rgba(0,160,130,.10);
  border-color: rgba(0,160,130,.55);
  color: var(--accent);
}

/* =========================
   MAIN OFFSET (IMPORTANT)
========================= */
#page-list{
  padding-top: calc(var(--nav-h) + var(--cats-h) + 12px);
}

/* =========================
   PRODUCT LIST (clean)
   -> IMPORTANT: use product-info2 to avoid conflict with bootstrap
========================= */
.product{
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.product-row{
  display:flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-thumb{
  width: 100px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 100px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f6f6f6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.product-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-info2{
  flex: 1 1 220px;
  min-width: 160px;
}

.product-name{
  font-weight: 900;
  display:block;
  color:#111;
  margin-bottom:4px;
  font-size: 15px;
}

.product-ingred{
  color:#666;
  font-size: 13px;
  margin-bottom: 6px;
}

.product-meta{
  text-align:right;
  flex: 0 0 140px;
  min-width: 110px;
}

.product-price{
  font-weight: 900;
  color: #0b8f71;
  display:block;
  margin-bottom: 8px;
}

/* =========================
   NAV LINK (optional)
========================= */
.navbar .nav-link{
  font-size: 0.95rem;
  white-space: nowrap;
}

/* =========================
   MOBILE TWEAKS
========================= */
@media (max-width: 768px){

  .top-navbar .brand-title{
    font-size: 20px;
  }

  .top-navbar .container{
    padding: 10px 10px;
  }

  .top-contact{
    font-size: 12.5px;
    justify-content:flex-start;
    gap: 10px;
  }

  .top-contact .item{
    white-space: normal;
  }

  .product-row{
    gap: 10px;
  }

  .product-thumb{
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
  }

  .product-meta{
    text-align:left;
    flex-basis: 100%;
    margin-top: 6px;
  }

  .button-purshase{
    font-size: 13px;
  }

  .navbar .nav-link{
    font-size: 0.85rem;
    text-align:center;
  }
}
