:root {
  --cl-green-950: #072316;
  --cl-green-900: #0d3321;
  --cl-green-800: #16452d;
  --cl-green-700: #1f6a40;
  --cl-green-600: #2e8752;
  --cl-green-100: #eaf5e9;
  --cl-cream: #f7faf4;
  --cl-white: #ffffff;
  --cl-ink: #0f1d16;
  --cl-text: #435247;
  --cl-line: #dfe9dd;
  --cl-shadow: 0 20px 50px rgba(7, 35, 22, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--cl-text);
  background: var(--cl-cream);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 15px;
  overflow-x: hidden;
}

#container {
  position: static;
  min-height: 100%;
  margin-bottom: 0;
}

a {
  color: var(--cl-green-700);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--cl-green-900);
}

.container {
  max-width: 1296px;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary {
  border-color: var(--cl-green-700);
  background: var(--cl-green-700);
}

.btn-primary:hover,
.btn-primary:focus {
  border-color: var(--cl-green-800);
  background: var(--cl-green-800);
}

.form-control,
.form-select {
  border-color: var(--cl-line);
  border-radius: 8px;
  min-height: 44px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(46, 135, 82, 0.65);
  box-shadow: 0 0 0 4px rgba(46, 135, 82, 0.12);
}

#alert {
  z-index: 9999;
}

.breadcrumb {
  padding: 14px 0;
  margin: 0 0 18px;
  background: transparent;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--cl-green-700);
  text-decoration: none;
}

.card,
.product-thumb,
.list-group,
.dropdown-menu {
  border-color: var(--cl-line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(7, 35, 22, 0.08);
}

#top.cl-topbar {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1045;
  border: 0;
  background: var(--cl-green-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
}

.cl-topbar__inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cl-topbar__message {
  color: #dcebd6;
  font-weight: 700;
}

.cl-topbar__meta,
.cl-topbar__actions,
.cl-topbar__actions ul {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cl-topbar__actions ul {
  margin: 0;
}

#top.cl-topbar a,
#top.cl-topbar .btn-link,
#top.cl-topbar .list-inline-item > a,
#top.cl-topbar .list-inline-item .dropdown > a {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.3;
  padding: 0;
  text-decoration: none;
}

#top.cl-topbar a:hover,
#top.cl-topbar .btn-link:hover {
  color: #ffffff;
}

.cl-topbar i {
  color: #a8db6a;
}

.cl-topbar__select form,
.cl-topbar__select .dropdown,
.cl-topbar__select .btn-group {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
}

.cl-topbar__select .btn,
.cl-topbar__select .dropdown-toggle,
#top.cl-topbar .cl-topbar__select .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  box-shadow: none;
  font-size: 0.86rem;
  font-weight: 700;
}

#top.cl-topbar .dropdown-menu:not(.show) {
  display: none !important;
}

#top.cl-topbar .dropdown-menu.show {
  z-index: 1060;
  min-width: 210px;
  padding: 8px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--cl-shadow);
}

#top.cl-topbar .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--cl-ink) !important;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

#top.cl-topbar .dropdown-menu .dropdown-item:hover,
#top.cl-topbar .dropdown-menu .dropdown-item:focus {
  color: var(--cl-green-900) !important;
  background: var(--cl-green-100);
}

#top.cl-topbar .dropdown-menu img {
  width: 18px;
  height: auto;
  flex: 0 0 auto;
}

.cl-site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 8% 0%, rgba(113, 168, 72, 0.28), transparent 30%),
    linear-gradient(135deg, var(--cl-green-900), var(--cl-green-800));
  box-shadow: 0 14px 40px rgba(7, 35, 22, 0.18);
}

.cl-header-main {
  display: grid;
  grid-template-columns: 260px minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 94px;
}

.cl-logo {
  margin: 0;
  text-align: left;
}

.cl-logo a {
  display: inline-flex;
  align-items: center;
}

.cl-logo img {
  width: min(240px, 100%);
  max-width: none;
  max-height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.cl-logo h1 {
  margin: 0;
  font-size: 1.35rem;
}

.cl-logo h1 a {
  color: #ffffff;
  text-decoration: none;
}

.cl-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.cl-tool-link {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.cl-tool-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cl-tool-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.cl-search {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(7, 35, 22, 0.14);
}

.cl-search .form-control {
  flex: 1;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--cl-ink);
  font-size: 0.96rem;
}

.cl-search .form-control:focus {
  box-shadow: none;
}

.cl-search .btn {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--cl-green-700);
}

.cl-search .btn:hover {
  background: var(--cl-green-900);
}

.cl-mini-cart .dropdown-toggle::after {
  display: none;
}

.cl-mini-cart__button {
  display: inline-flex;
  min-width: 132px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: var(--cl-green-950);
  background: #b7e36d;
  box-shadow: 0 12px 30px rgba(7, 35, 22, 0.18);
  font-size: 0.92rem;
}

.cl-mini-cart__button:hover,
.cl-mini-cart__button:focus {
  color: var(--cl-green-950);
  background: #c7f07d;
}

.cl-mini-cart__menu {
  min-width: 360px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
}

#menu.cl-menu {
  min-height: 56px;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  background-image: none;
}

.cl-menu__list {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#menu.cl-menu .nav-link,
#menu.cl-menu .navbar-nav > li > a {
  position: relative;
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.86);
  background: transparent;
  text-shadow: none;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

#menu.cl-menu .nav-link::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 10px;
  left: 16px;
  height: 2px;
  border-radius: 999px;
  background: #b7e36d;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

#menu.cl-menu .nav-link:hover,
#menu.cl-menu .nav-link.active,
#menu.cl-menu .dropdown.show > .nav-link,
#menu.cl-menu .navbar-nav > li > a:hover {
  color: #ffffff;
  background: transparent;
}

#menu.cl-menu .nav-link:hover::after,
#menu.cl-menu .nav-link.active::after,
#menu.cl-menu .dropdown.show > .nav-link::after {
  opacity: 1;
  transform: scaleX(1);
}

#menu.cl-menu .dropdown-menu {
  overflow: hidden;
  margin-top: 0;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--cl-shadow);
}

#menu.cl-menu .dropdown-item {
  padding: 10px 18px;
  color: var(--cl-text);
  font-weight: 700;
}

#menu.cl-menu .dropdown-item:hover {
  color: var(--cl-green-900);
  background: var(--cl-green-100);
}

#category {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 56px;
  text-shadow: none;
}

#menu.cl-menu .navbar-toggler {
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: #ffffff;
}

#menu.cl-menu .navbar-toggler i {
  color: #ffffff;
}

main {
  background: var(--cl-cream);
}

#content,
#column-left,
#column-right {
  padding-bottom: 48px;
}

.pagination .page-link {
  color: var(--cl-green-700);
  border-color: var(--cl-line);
}

.pagination .active .page-link,
.page-item.active .page-link {
  border-color: var(--cl-green-700);
  background: var(--cl-green-700);
}

footer {
  position: static;
  border: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(183, 227, 109, 0.18), transparent 28%),
    var(--cl-green-950);
  color: rgba(255, 255, 255, 0.78);
}

footer h5 {
  color: #ffffff;
  font-weight: 900;
}

footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 960px) {
  #menu.cl-menu .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 1199px) {
  .cl-header-main {
    grid-template-columns: 220px minmax(220px, 1fr);
    gap: 18px;
  }

  .cl-tool-link {
    display: none;
  }
}

@media (max-width: 991px) {
  .cl-topbar__message,
  .cl-topbar__meta a span,
  .cl-topbar__actions > ul > .list-inline-item > a > span,
  .cl-topbar__actions > ul > .list-inline-item > .dropdown > a > span,
  .cl-topbar__select .dropdown-toggle > span {
    display: none;
  }

  .cl-topbar__inner {
    justify-content: center;
  }

  .cl-header-main {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .cl-logo {
    text-align: center;
  }

  .cl-logo a {
    justify-content: center;
  }

  .cl-header-tools {
    justify-content: center;
  }

  #menu.cl-menu {
    padding: 0 0 12px;
  }

  .cl-menu__list {
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
  }

  #menu.cl-menu .nav-link {
    padding: 12px 4px;
  }

  #menu.cl-menu .nav-link::after {
    right: 0;
    bottom: 5px;
    left: 0;
  }
}

@media (max-width: 575px) {
  .cl-topbar__inner {
    min-height: 36px;
  }

  .cl-logo img {
    max-height: 58px;
  }

  .cl-header-tools {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .cl-cart,
  .cl-mini-cart,
  .cl-mini-cart__button {
    width: 100%;
  }

  .cl-mini-cart__menu {
    min-width: min(340px, calc(100vw - 28px));
  }
}
