@import url("../icon/icons.css");

:root {
  --bs-blue: #1C5508
;
  --bs-body-color-rgb: 91,71,57;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1C5508
;
  --bs-btn-border-color: #1C5508
;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1C5508
;
  --bs-btn-hover-border-color: #53652d;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #53652d;
  --bs-btn-active-border-color: #53652d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #1C5508
;
  --bs-btn-disabled-border-color: #1C5508
;
}
#toastContainer {
  --body-bg-color-light: #67803B;
  --text-color-light: #ffffff;
}
body {
  font-family: "Sarabun","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #000000;
}
a {
  color: #000;
}
a:hover {
  color: #000;
}
.bg-green {
  background-color: #1C5508
;
  padding: .22rem 0;
}
.bg-green a {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  margin: 0 3px;
}
img.logo {
  max-width: 130px;
}
.navbar-nav .nav-item {
  margin: 0 1rem;
}
.navbar-nav a.nav-link {
  font-size: 18px;
  color: #272d2e;
  white-space: nowrap;
}
.navbar-nav a.nav-link.active,
.navbar-nav a.nav-link:hover {
  color: rgba(29, 69, 17, 0.7);
}
.cart-link {
  text-decoration: none;
  display: inline-block;
  font-size: 24px;
  vertical-align: middle;
  color: #272d2e;
}
.cart-link:hover {
  color: rgba(29, 69, 17, 0.7);
}
.v-middle {
  vertical-align: middle;
}
.offcanvas {
  padding-top: 36px;
  padding-left: .75rem;
  padding-right: .75rem;
}
.offcanvas .btn-close {
  margin-left: auto !important;
  width: 2em;
  height: 2em;
  padding: .25rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: .375rem;
  transition: box-shadow 0.15s ease-in-out;
}
.nav-logout {
  display: list-item;
}
.products .btn-add-cart {
  position: absolute;
  right: 10px !important;
  bottom: 10px !important;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
  left: auto !important;
  top: auto !important;
}
.products .product:hover {
  box-shadow: 0 0 8px 0 rgba(0,0,0,0.75);
  -webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.75);
  -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.75);
}
.hr {
  border-top: 2px solid #1C5508
;
  width: 60px;
  opacity: 1;
}
.fs-2x {
  font-size: 1.3rem;
}
.v-bottom {
  vertical-align: bottom;
}
.bg-footer {
  background-color: #cdcdcd;
}
.border-a {
  border-bottom: 1px solid #c3c3c3;
}
footer {
  font-size: 15px;
  color: #463937;
}
footer h5 {
  font-size: 16px;
}
footer a.nav-link {
  color: #463937;
  font-size: 15px;
  text-decoration: none;
}
footer a.nav-link:hover {
  color: #463937;
  text-decoration: underline;
}
footer a.nav-link.text-mobile {
  color: #cb3525;
}
.footer-copy {
  color: #fff;
  font-size: 12px;
  padding: 12px 0;
}
.tt-suggestion {
  font-size: .9rem;
}
.swiper-button-next,
.swiper-button-prev {
  background-color: #d2d2d287;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #000;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-weight: bolder;
  font-size: 18px;
}
.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  position: relative;
}
.swiper-pagination-bullet-active {
  background-color: #1C5508
;
}
.text-h1 {
  color: #5B4739;
}
.bg-howto {
  background-color: #EBE2DC;
  text-align: center;
}
.btn-brown,
.btn-brown:hover{
  background-color: #5B4739;
  color: #fff;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.btn-brown:hover {
  background-color: #4a3b2f;
}
.btn-outline-brown,
.btn-outline-brown:hover{
  border: 2px solid #5B4739;
  color: #5B4739;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.btn-outline-brown.active,
.btn-outline-brown:hover {
  color: #ffffff;
  border: 2px solid #67803B;
  background-color: #67803B;
}
.btn-green:hover,
.btn-green {
  background-color: #67803B;
  color: #fff;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}
.btn-buy {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.d-flex .btn-buy {
  right: auto;
  left: calc(50% - 68px);
}
.text-green {
  color: #677F3B !important;
 }
.product-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #5B4739;
  line-height: 1.3;
}
.product-detail .product-title {
  font-size: 1.4rem;
}
.product-image {
  object-fit: contain;
  max-width: 100%;
}
.product-price {
  color: #FA5F07;
  font-size: 1.2rem;
  font-weight: bold;
}
.product-price.special-price {
  color: #F01C18;
}
div:where(.swal2-container) button:where(.swal2-styled):focus-visible,
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel),
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny),
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  border-radius: 1.3rem !important;
  min-width: 90px;
  box-shadow: none !important;
}
div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
  background-color: #1C5508
 !important;
}
div:where(.swal2-container) h2:where(.swal2-title) {
  font-size: 1.3rem !important;
}
.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  margin-right: 10px;
  margin-bottom: 10px;
}
.thumbnail:hover, .thumbnail.active {
  opacity: 1;
}
.product-quantity input::-webkit-outer-spin-button,
.product-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product-quantity input[type=number] {
  -moz-appearance: textfield;
}
.btn-decrement {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  padding-left: 15px;
}
.btn-increment {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  padding-right: 15px;
}
.bg-login {
  height: 100px;
  background-image: url(../img/login-head.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: cover;
}
.btn-big-red,
.btn-big-yellow {
  background-color: #BC9C54;
  color: white;
  padding: 15px 20px;
  margin: 10px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 5px;
  font-size: 18px;
}
.btn-big-red {
  background-color: #82653E;
}
.btn-big-red:focus-visible,
.btn-big-red:active,
.btn-big-red:hover {
  background-color: #82653E !important;
  opacity: 0.8;
}
.btn-big-yellow:focus-visible,
.btn-big-yellow:active,
.btn-big-yellow:hover {
  background-color: #BC9C54 !important;
  opacity: 0.8;
}
.form-container {
  font-size: 18px;
}
.form-container label {
  margin-bottom: 8px;
}
.form-container .form-select {
  padding: 10px;
}
.form-container .form-control {
  width: 100%;
  padding: 10px;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #cccccc;
  color: #62727e;
}
.form-container .form-control.datepicker {
  width: auto;
}
hr.w-60 {
  border-top: 2px solid #1C5508
;
  width: 60px;
  opacity: 1;
}
.user-nav {
  overflow: hidden;
}
.user-nav a {
  padding: 0.5rem;
}
.user-nav a.active {
  background-color: #1C5508
;
  color: #fff;
}
.pagination {
  --bs-pagination-color: #1C5508
;
  --bs-link-hover-color: #1C5508
;
  --bs-pagination-active-bg: #1C5508
;
  --bs-pagination-active-border-color: #1C5508
;
}
.order-label {
  width: 140px;
}
.order-value {
  font-weight: bold;
}
.rounded-02 {
  border-radius: 0.2rem;
}
.arrow {
  margin-bottom: 3px;
}
.arrow.invert {
  transform: rotate(180deg);
}
.text-grey {
  color: #858585;
}
.max-w-200 {
  max-width: 250px;
}
#kw {
  padding: .25rem 2.2rem .25rem .75rem;
}
#kw + .tabler-search {
  color: #6c757d;
  cursor: pointer;
  right: 5px;
  padding: 8px;
  font-size: 1.3rem;
}
.mobile-search .tabler-search {
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  vertical-align: bottom;
}
#step-progressbar {
  padding: 40px 0 0;
  margin: 0 auto;
  text-align: center;
  background-color: #f0f0f0;
}
#step-progressbar li.active {
  color: #fff;
  font-size: 30px;
}
#step-progressbar li {
  font-size: 20px;
  line-height: 40px;
  display: inline-block;
  list-style: none;
  text-align: center;
  color: #ffffff;
  padding: 0 30px;
  position: relative;
}
#step-progressbar li.active p {
  background-color: #1C5508
;
}
#step-progressbar li p {
  display: block;
  width: 210px;
  height: 50px;
  background: #d7d1c9 center no-repeat;
  background-size: 40px;
  border-radius: 100px;
  float: none;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
  font-size: 16px;
}
#step-progressbar li.active strong {
  color: #1C5508
;
  padding: 0px 16px;
}
#step-progressbar li strong {
  background-color: #ffff;
  color: #d7d1c9;
  padding: 0px 15px;
  border-radius: 20px;
  float: left;
  margin: 5px 0 0 10px;
}
#step-progressbar li span {
  font-size: 16px;
  left: 60px;
  top: 5px;
  position: absolute;
}
.bg-order {
  height: 100px;
  background-image: url(/static/img/login-head.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: #f0f0f0;
}
.product-item .product {
  /*border: 1px solid #ddd;*/
}
#spinner-div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10000;
}
.spinner-border.text-primary {
  top: 40%;
  position: fixed;
}

.farmer-group {
    color: #5d7431;
    text-align: center;
    background-color: #EEECDC;
    background-size: cover;
    text-align: center;
    padding: 20px 0;
}
.farmer-group h1 {
    font-family: 'Anupark';
    font-size: 35px;
    line-height: 50px;
    padding: 30px 0 0;
}
.gird-farmer-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    height: auto;
    margin: 20px auto;
}
.gird-farmer-detail ul.farmer-detail {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    gap: 50px;
    padding-bottom: 50px;
    margin: 0 auto;
}
.gird-farmer-detail ul.farmer-detail li {
    border-bottom: 2px solid #5d7431 !important;
    font-family: 'Anupark';
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    padding: 0px 10px 40px 10px;
}
input.cart-qty::-webkit-outer-spin-button,
input.cart-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input.cart-qty {
  -moz-appearance: textfield;
}
@media (max-width: 576px) {
  .picker__select--month, .picker__select--year {
    width: 30.5% !important;
  }
  .picker__nav--prev {
    left: -1.5em !important;
  }
  .picker__nav--next {
    right: -1.5em !important;
  }
  #step-progressbar {
    padding: 40px 0 10px;
  }
  #step-progressbar li p {
    margin-bottom: 10px;
  }
  .gird-farmer-detail ul.farmer-detail {
      grid-template-columns: repeat(1, 1fr);
      gap: 0;
      padding-left: 0;
  }
  .gird-farmer-detail ul.farmer-detail li {
      font-size: 16px;
      padding: 15px;
  }
}
@media (max-width: 1090px) {
  .bg-order {
    background-size: cover;
    background-position: center left;
  }
}
@media (min-width: 576px) {
  .px-sm-8 {
    padding-right: 5rem !important;
    padding-left: 5rem !important;
  }
  .max-w-380 {
    max-width: 380px;
  }
  .max-w-200 {
    max-width: 200px;
  }
  .btn-buy,
  .d-flex .btn-buy {
    left: auto;
    right: 10px;
  }
  .product-title {
    font-size: 1.4rem;
  }
  .product-price {
    font-size: 1.5rem;
  }
  .product-price {
    font-size: 1.3rem;
  }
}
@media (min-width: 1200px) {
  .bg-login {
    background-size: 100%;
  }
}
