/**
 * Awafi Herb | layout.css
 * Site chrome: announcement bar, header, navigation, footer, drawers, toast.
 * Source file: edit this one; minify with a caching plugin.
 */

/* ---- Announcement bar ---- */
.ann {
  background: var(--hero);
  color: #cfe8d9;
  font-size: 13px;
  text-align: center;
  padding: 7px 12px;
  border-bottom: 1px solid #ffffff14;
}
.ann b {
  color: var(--am);
}

/* ---- Site chrome ---- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb,var(--bg) 92%,transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ln);
}

/* ---- Header ---- */
.hn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.logo {
  font: 800 22px Sora,sans-serif;
  color: var(--pri);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.logo i {
  width: 34px;
  height: 34px;
  border-radius: 50% 5px 50% 5px;
  background: linear-gradient(135deg,var(--lf),#0c4a36);
  display: block;
}
.sb {
  position: relative;
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  min-width: 0;
}
.sb input {
  width: 100%;
  height: 46px;
  border-radius: 99px;
  border: 2px solid var(--ln);
  background: var(--card);
  color: var(--tx);
  padding: 0 52px 0 20px;
  font: inherit;
  outline: 0;
  transition: .2s;
}
.sb input:focus {
  border-color: var(--lf);
  box-shadow: 0 0 0 4px #2fa36b26;
}
.sb>button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--pri);
  color: #fff;
  font-size: 17px;
}
.sg {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 18px;
  box-shadow: 0 24px 44px #05180f40;
  padding: 8px;
  display: none;
  z-index: 60;
}
.sg.on {
  display: block;
}
.sg button,
.sg a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
}
.sg button:hover,
.sg a:hover {
  background: var(--soft);
}
.sg small {
  color: var(--mu);
}
.ia {
  display: flex;
  gap: 8px;
}
.ib {
  position: relative;
  height: 46px;
  min-width: 46px;
  padding: 0 14px;
  border-radius: 99px;
  border: 2px solid var(--ln);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
}
.ib:hover {
  border-color: var(--lf);
}
.ib.c {
  background: var(--pri);
  border-color: var(--pri);
  color: #fff;
}
.ib .t {
  font-size: 14px;
}
.ib em {
  font-style: normal;
  min-width: 20px;
  height: 20px;
  border-radius: 99px;
  background: var(--am);
  color: #2b1c00;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.mb {
  display: none;
}

/* ---- Primary navigation and dropdown menus ---- */
.cn {
  border-top: 1px solid var(--ln);
}
.cn ul {
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 4px 0;
}
.cn li {
  position: relative;
}
.cn a,
.cn .nb {
  display: block;
  padding: 9px 14px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mu);
  background: none;
  border: 0;
  white-space: nowrap;
}
.cn a:hover,
.cn li:hover>a,
.cn li:focus-within>a {
  background: var(--soft);
  color: var(--tx);
}
.cn .hot,
.cn .hot>a {
  margin-left: auto;
  background: var(--am);
  color: #2b1c00;
}
.cn .hot:hover,
.cn .hot>a:hover {
  background: var(--am);
  filter: brightness(1.06);
  color: #2b1c00;
}
.mm,
.cn .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 18px;
  box-shadow: 0 24px 44px #05180f40;
  padding: 10px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 70;
}
.cn li:hover>.mm,
.cn li:hover>.sub-menu,
.cn li:focus-within>.mm,
.cn li:focus-within>.sub-menu {
  display: grid;
}
.mm button,
.cn .sub-menu a {
  background: none;
  border: 0;
  text-align: left;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  white-space: nowrap;
}
.mm button:hover,
.cn .sub-menu a:hover {
  background: var(--soft);
}
.mm .all,
.cn .sub-menu .all {
  grid-column: 1/-1;
  font-weight: 700;
  color: var(--pri);
}

/* ---- Site chrome ---- */
footer {
  background: var(--hero);
  color: #bfe0cd;
  margin-top: 70px;
  padding: 44px 0 22px;
  font-size: 14px;
  border-radius: 36px 36px 0 0;
}

/* ---- Footer ---- */
.fg {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 28px;
}

/* ---- Site chrome ---- */
footer h4 {
  color: #fff;
  margin-bottom: 8px;
}
footer a {
  display: block;
  padding: 3px 0;
}

/* ---- Footer ---- */
.cp {
  border-top: 1px solid #ffffff22;
  margin-top: 26px;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Drawers, overlay and menu list ---- */
.ov {
  position: fixed;
  inset: 0;
  background: #06140d99;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 80;
}
.ov.on {
  opacity: 1;
  pointer-events: auto;
}
.dr {
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(430px,100%);
  background: var(--bg);
  z-index: 90;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px #0006;
}
.dr.r {
  right: 0;
  transform: translateX(105%);
}
.dr.l {
  left: 0;
  transform: translateX(-105%);
}
.dr.on {
  transform: none;
}
.dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ln);
}
.dh h3 {
  font-size: 21px;
}
.dh button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--ln);
  background: var(--card);
}
.db {
  flex: 1;
  overflow: auto;
  padding: 14px 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.df {
  padding: 16px 20px;
  border-top: 1px solid var(--ln);
  background: var(--card);
}
.fr {
  height: 8px;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
  margin: 6px 0 10px;
}
.fr i {
  display: block;
  height: 100%;
  background: var(--lf);
  transition: width .4s;
}
.rw {
  display: flex;
  justify-content: space-between;
  margin: 3px 0;
  color: var(--mu);
  font-size: 14px;
}
.rw.t {
  color: var(--tx);
  font: 800 19px Sora,sans-serif;
  margin: 8px 0 12px;
}
.df .btn {
  width: 100%;
  background: var(--pri);
  color: #fff;
}
.eb {
  text-align: center;
  color: var(--mu);
  padding: 50px 10px;
}
.eb em {
  font-style: normal;
  font-size: 42px;
  display: block;
}
.ml {
  display: grid;
  gap: 4px;
}
.ml button,
.ml a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.ml button:hover,
.ml a:hover {
  background: var(--soft);
}
.ml h4 {
  margin: 14px 14px 4px;
  font-size: 12px;
  color: var(--mu);
  font-weight: 700;
}

/* ---- Floating WhatsApp button and toast ---- */
.wa {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom,0px));
  background: #25d366;
  color: #fff;
  border-radius: 99px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 8px 24px #0005;
  z-index: 40;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%,20px);
  background: var(--tx);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 99px;
  opacity: 0;
  transition: .3s;
  z-index: 120;
  pointer-events: none;
  font-weight: 600;
  font-size: 14px;
  max-width: 90vw;
}
.toast.s {
  opacity: 1;
  transform: translate(-50%,0);
}

@media(max-width:1000px) {
  .cn {
    display: none;
  }
  .mb {
    display: flex;
  }
  .fg {
    grid-template-columns: 1fr 1fr;
  }
  .wa {
    bottom: calc(86px + env(safe-area-inset-bottom,0px));
  }
}

@media(max-width:760px) {
  .hn {
    flex-wrap: wrap;
    gap: 10px;
  }
  .sb {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
  }
  .logo {
    margin-right: auto;
  }
  .ib .t {
    display: none;
  }
  .ib {
    padding: 0 12px;
  }
  .fg {
    grid-template-columns: 1fr;
  }
}

/* ---- Drawers, overlay and menu list ---- */
.rw {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 4px 0;
  color: var(--mu);
  font-size: 14px;
}
.rw.t {
  color: var(--tx);
  font: 800 19px Sora,sans-serif;
  margin: 8px 0 12px;
}
.fr {
  height: 8px;
  background: var(--soft);
  border-radius: 9px;
  overflow: hidden;
  margin: 6px 0 10px;
}
.fr i {
  display: block;
  height: 100%;
  background: var(--lf);
}

@media(max-width:1000px) {
  header .ia .wl,
  header .ia .cb2 {
    display: none;
  }
  .ann {
    display: none;
  }
  .wa {
    display: none;
  }
  .toast {
    bottom: 110px;
  }
  .bk {
    display: none;
  }
}

/* ==== WordPress menu glue ==== */
.cn .menu, .cn .sub-menu { list-style: none; margin: 0; }
.cn .menu > li { position: relative; }
.dr .menu { list-style: none; padding: 0; display: grid; gap: 4px; }
.dr .menu a { display: flex; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.dr .menu a:hover { background: var(--soft); }
.dr .menu .sub-menu { list-style: none; padding-left: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
