:root {
  --color-success: rgb(10, 173, 10);
  --bg-success: rgb(10, 173, 10);
  --bg-hover-success: rgb(5 116 5);
  --color-gray: #5c6c75;
  --color-hover-gray: #2f2f2f;
}
/* =================== general styles =================== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
}
.btn-shop {
  background-color: var(--bg-success);
  color: #ffffff;
  transition: all 0.5s ease;
}
.btn-shop:hover {
  background-color: var(--bg-hover-success);
  color: #ffffff;
}
input[type="Search"]:focus {
  border-color: #85d685;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(10, 173, 10, 0.25);
}
i.search {
  position: absolute;
  top: 13px;
  right: 19px;
  color: #9c9c9ccc;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}
.overlay.active {
  display: block;
}
/* =================== header styles =================== */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
}
.header-top-left {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .form {
  display: none !important;
  transition: left 0.3s ease-in-out;
} */
.header-top-left input[type="Search"] {
  width: 464px;
  height: 43px;
  margin-left: 38px;
  transition: left 0.3s ease-in-out;
}
/* header-top-right */
.header-top-right {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: center;
}
.header-right-icons .head-icon {
  display: inline-block;
  position: relative;
}
.head-icon i {
  font-size: 1.3rem;
  margin-left: 1rem;
  color: rgba(92, 108, 117, 0.75);
  cursor: pointer;
}
.head-icon span {
  position: absolute;
  top: -10px;
  left: 26px;
}
/* navbar */
.nav-item:hover .dropdown-menu {
  display: block;
}
.larg-dropdown-menu {
  left: -411px;
  width: 959px !important;
}
.nav-item a.nav-link {
  color: black;
}
.nav-item a.nav-link i {
  color: #575757;
}
.nav-item:hover a.nav-link {
  color: var(--color-success);
}
.dropdown-item:active {
  background-color: unset;
}
.dropdown-menu {
  border: none;
  min-width: 12rem;
  box-shadow: 0 0 2px rgba(145, 158, 171, 0.2),
    0 12px 24px -4px rgba(145, 158, 171, 0.12);
  border-radius: 0.5rem;
}
.dropdown-menu h6 {
  color: var(--color-success);
}
.dropdown-menu .dropdown-item {
  color: var(--color-gray);
  font-weight: 500;
}
.dropdown-menu .dropdown-item:hover {
  color: var(--color-hover-gray);
  font-weight: 500;
}
/* nav-item > docs*/
.docs-content {
  color: #938e8e;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 10px 64px 10px 20px;
  gap: 0.5rem;
}
.docs-title {
  text-wrap: nowrap;
}
.docs-title h6 {
  color: #575757;
}

/* =================== slider styles =================== */
.carousel-item .custom-carousel-content {
  width: 50%;
  transform: translate(0%, -10%);
}
.custom-carousel-content {
  text-align: start;
}
.custom-carousel-content h1 {
  font-size: 40px;
  font-weight: 700;
  color: rgb(0, 30, 43);
  margin-bottom: 30px;
}

.custom-carousel-content p {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray);
  margin-bottom: 30px;
}

/* .slider-title{
  padding-left: 115px;
  padding-top: 89px;
} */
/* =================== Categories styles =================== */

.Categories-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.Categories-title .buttons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-prev,
.custom-next {
  background-color: #cccc;
  color: var(--color-hover-gray);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: bold;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.5s ease;
}

.custom-prev:hover,
.custom-next:hover {
  background-color: var(--bg-success);
  color: #fff;
}
.owl-carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-container .card {
  padding: 31px;
  text-align: center;
  transition: all 0.5s ease;
  color: #575757;
  width: 200px;
  height: 224px;
}
.carousel-container a:hover .card , #products .card:hover  ,.daily-best-sells .card:not(.coffee):hover{
  border-color: var(--bg-success);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}
.carousel-container .card img {
  margin-bottom: 1rem;
}
/* =================== grocery-content styles =================== */
.grocery-content {
  padding: 40px 30px;
}
/* =================== products styles =================== */
.custom-badge {
  width: 40px;
}
#products .card {
  position: relative;
  transition: all 0.5s ease;
}
#products .card a h6.card-title:hover {
  color: var(--bg-hover-success) !important;
}
/* #products .card:hover {
  border-color: var(--bg-success);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
} */
#products .btn-add {
  background-color: var(--bg-success);
  color: #fff;
  border: none;
  transition: all 0.5s ease;
}
#products .btn-add:hover {
  background-color: var(--bg-hover-success);
}
#products .card-product-action , .daily-best-sells .card-product-action {
  width: 100%;
  position: absolute;
  left: 50%;
  bottom: 41%;
  transform: translateX(-50%) translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  z-index: 9;
}
#products .card:hover .card-product-action , .daily-best-sells .card:hover .card-product-action {
  opacity: 1 !important;
  visibility: visible !important;
}
#products .btn-action , .daily-best-sells .btn-action{
  background-color: #fff;
  color: var(--color-gray);
  height: 40px;
  width: 40px;
  font-size: 14px;
  border-radius: 0.5rem;
  align-items: center;
  display: inline-flex;
  justify-content: center;
  /* text-align: center; */
  /* vertical-align: middle; */
  /* line-height: 34px; */
  transition: all 0.5s ease;
  box-shadow: 0 2px 4px -1px rgba(145, 158, 171, 0.2),
    0 4px 5px 0 rgba(145, 158, 171, 0.14),
    0 1px 10px 0 rgba(145, 158, 171, 0.12);
}
#products .btn-action:hover , .daily-best-sells .btn-action:hover{
  background-color: var(--color-success);
  color: #fff;
}
/* =================== daily-best-sells styles =================== */
.daily-best-sells .card {
  transition: all 0.5s ease;
}
.deals-countdown .countdown-section {
  position: relative;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  padding: 14px 5px 26px;
  margin-left: 3px;
  margin-right: 3px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
}
.deals-countdown .countdown-section .countdown-amount {
  display: inline-block;
  color: black;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 15px;
  width: 46px;
  height: 46px;
  line-height: 50px;
  max-width: 100%;
}
.deals-countdown .countdown-section .countdown-period {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  bottom: 10px;
  display: block;
  color: var(--color-gray);
  width: 100%;
  text-transform: capitalize;
}
/* =================== footer styles =================== */
footer {
  background: #f3f3f3;
}
footer h6 {
  padding-left: 20px;
}

.Codescandy {
  color: var(--color-success);
}
.Codescandy:hover {
  color: var(--bg-hover-success);
}
.social-icon {
  border: 1px solid #cccc;
  margin-right: 10px;
}
.social-icon:hover {
  border-color: var(--color-success);
}
.social-icon:hover i {
  color: var(--color-success);
}
.buy-now {
  position: fixed;
  bottom: -20px;
  right: -22px;
  z-index: 899;
  padding: 10px 19px;
  font-weight: 500;
}
@media screen and (max-width: 600px) {
  .carousel-item .custom-carousel-content {
    width: 100%;
  }
  .daily-best-sells-items {
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    /* width: 100%; */
  }
  .daily-best-sells-items .child {
    width: 70%;
  }
}

@media (max-width: 992px) {
  .brand.active {
    display: block !important;
    z-index: 9999;
    position: absolute;
    top: 18px;
    left: 11px;
  }
  .all-departments {
    margin: 10px auto;
    width: 100%;
  }
  .all-departments button {
    /* min-width: 502px; */
    width: 100%;
  }
  .larg-dropdown-menu {
    width: unset !important;
  }
  /* menu */

  .sidebar {
    position: fixed;
    top: 0;
    left: -800px;
    width: 484px;
    height: 100%;
    background-color: #ffffff;
    color: rgb(9, 9, 9);
    transition: left 0.3s ease-in-out;
    padding-top: 120px;
    z-index: 1001;
    padding-left: 10px;
    padding-right: 10px;
  }
  .sidebar.active {
    left: 0;
  }
  .sidebar a {
    display: block;
    padding: 10px;
    color: rgb(29, 29, 29);
    text-align: left;
  }
  .close-btn {
    position: absolute;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
    color: #999898cc;
    top: 10px;
    right: 13px;
  }
  .close-btn:hover {
    color: #0a0a0a;
  }
  .nav-item .fa-chevron-down {
    float: right;
  }
  /* slider */
  .carousel-item {
    height: 55vh;
  }
  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
  .custom-carousel-content h1 {
    font-size: 26px;
  }
  .custom-carousel-content {
    font-size: 15px;
  }
}

