@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&family=Dancing+Script:wght@400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sedan:ital@0;1&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #222021;
  --secondary-color: #066cfa;
  --bg-color: #a8a8a8e9;
  --text-color: #555;
  --black-color: #000;
  --white-color: #fff;
  --primary-font: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  font-weight: 400;
}

#hero .carousel-inner {
  border-radius: 14px;
}

/* ************ Profile Offcanvas CSS ************** */
.offcanvas-header {
  display: block;
  align-items: center;
  justify-content: end;
  padding: 1rem 1.5rem 0.5rem;
}

.profile-img {
  object-fit: cover;
  height: 35px;
  width: 35px;
  border-radius: 100%;
}

.btn-offcanvas {
  width: 41px;
  height: 41px;
  border: none !important;
  background: #ffffff00;
}

.btn-offcanvas:hover {
  border: none !important;
  background: #ffffff00 !important;
}

.account .account_text {
  padding-left: 20px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 100%;
  position: relative;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
}

.font15 {
  font-size: 15px;
}

.fw500 {
  font-weight: 500;
}

.color111 {
  color: #111;
}

.account .account_cateanchor {
  display: inline-flex;
  align-items: center;
  padding: 10px 0 10px 10px;
  width: 100%;
  transition: all 0.8s;
  height: 48px;
  border-radius: 6px;
}

.bluefill_animate:hover,
.grayfill_animate:hover,
.anchor:hover,
.pointer,
a {
  cursor: pointer;
}

*,
a,
a:active,
a:focus,
a:hover,
a:visited,
li {
  text-decoration: none !important;
  outline: 0;
}

.account .account_cateitem {
  padding: 0;
}

li,
ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: 0 0;
}

.account .account_cateanchor:hover {
  background-color: #ebebeb;
}

.account .account_catebox {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 18px 0;
}

.account .account_icon img {
  max-width: 100%;
}

.userouter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
  width: 100%;
}

.mt-20 {
  margin-top: 20px;
}

.user {
  text-transform: capitalize;
}

.font24 {
  font-size: 24px;
}

.userimage {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f2f2f2;
}

.userimage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  object-position: center;
}

/* ******************************* */

#categories {
  margin-top: 48px;
  width: 100%;
}

#categories .col-lg-1,
.col-md-2,
.col-sm-3,
.col-4 img {
  width: 70%;
}

#categories .row1 {
  border: 0.5px solid #ccc;
  border-radius: 14px;
  color: var(--primary-color);
  margin-bottom: 10px;
  height: 74px;
  width: 74px;
  align-content: center;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
}

#categories .row1:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.464);
  color: var(--secondary-color);
}

#categories .col-lg-1,
.col-md-2,
.col-sm-3,
.col-4 {
  width: 11.1%;
  padding: 0px;
  text-align: -webkit-center;
}

#categories .row a {
  width: 100%;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  display: block;
  margin-top: 10px;
  color: var(--primary-color);
  justify-items: center;
}

#categories .row a:hover {
  color: var(--secondary-color);
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  max-width: 600px;
  /* Adjust max-width as needed */
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 30px;
}

/* Display categories in rows with three categories per row */
#category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding: 0;
}

#category-list li {
  width: calc(33.33% - 10px);
  /* Adjust width and margin as needed */
  margin-bottom: 20px;
}

/* Style for category links */
#category-list li a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  color: var(--primary-color);
  padding: 10px;
  border-radius: 5px;
}

/* Hover effect for category links */
#category-list li a:hover {
  background-color: #f0f0f0;
  /* Gray background on hover */
}

/* ** Products ** */
#product {
  margin-top: 60px;
  margin-bottom: 60px;
}

#product .product-cont h3 {
  text-align: center;
  font-size: 24px;
  color: var(--primary-color);
}

.product-card {
  padding: 0 !important;
}

.product-card .card-content:hover {
  background-color: #fff;
  border: 0 !important;
  transform: scale(1.03);
  /* Zoom in effect on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card .card-content {
  border-radius: 10px;
  margin: 5px 5px;
  border: 1px solid #e9e9e9;
  padding: 25px !important;
}

.product-name {
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
}

.product-name:hover {
  color: #111;
}

.product-price .del {
  font-weight: 500;
  color: #a9a9a9;
  text-decoration: line-through !important;
  font-size: 16px;
}

.product-price .ins {
  font-size: 18px;
  font-weight: 500;
}

.btn-add-cart {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  /* background-color: #fff4ef; */
  /* border-color: #fff4ef; */
  /* color: #f85f21; */
  color: var(--secondary-color);
  background-color: #eaf3ff;
  border-color: #e0f2ff00;
  display: inline-block;
  transition: all 0.2s ease-in;
}

.btn-add-cart:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.product-description {
  text-decoration: none;
  color: #272727;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.product-description:hover {
  color: #272727;
}

.product-image img {
  border-radius: 5px;
  width: 100%;
  height: 250px !important;
  object-fit: cover;
}

@media (max-width: 768px) {
  .product-image img {
    height: 200px !important;
  }
}

footer {
  background-color: #3a3a3a;
  color: #fff;
  padding: 60px 0;
  padding-bottom: 0px;
}

#footer p {
  font-size: 14px;
}

#footer h5 {
  font-size: 17px;
}

#footer a {
  font-size: 14px;
}

.footer-logo {
  max-width: 173px;
}

#footer .row .logo {
  text-align: left;
}

#footer .col-md-3 {
  text-align: left;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links li {
  margin-top: 13px;
}

#footer .row .link {
  padding-left: 50px;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.social-icons a {
  color: #fff;
  margin-right: 10px;
}

.social-icons a:hover {
  color: var(--secondary-color);
}

/* ************* Product Quick View Modal ************ */
#quickViewModal .quick-vw-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 3px 20px 30px !important;
  border: 1px solid #888;
  width: 100%;
  border-radius: 15px;
}

#quickViewModal .quick-vw-pname {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}

#quickViewModal .qk-vw-catg {
  font-size: 16px;
  line-height: 24px;
  color: #777777;
  transition: 0.3s;
}

#quickViewModal .product-price .ins {
  font-size: 24px;
}

#quickViewModal .product-price .del {
  font-size: 22px;
}

#quickViewModal .product-description-qk-vw {
  margin-bottom: 30px;
  text-decoration: none;
  color: #777777;
  font-size: 16px;
}

#quickViewModal .quick-vw-add-btn {
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 500;
  color: #066cfa;
  background-color: #eaf3ff;
  border-color: #eaf3ff00;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

#quickViewModal .quick-vw-add-btn:hover {
  background-color: #066cfa;
  border-color: #eaf3ff00;
  color: #fff;
}

#quickViewModal .img-quick-view {
  height: 344px;
  object-fit: cover;
  border-radius: 6px;
}

.thumbnail-imgs {
  border: 1px solid #007fe000;
  border-radius: 5px;
}

.thumbnail-imgs:hover {
  border-color: #e1f1ff;
}

#quickViewModal .qk-vw-header {
  height: 50px;
  justify-content: end;
  padding: 20px 20px 10px;
  border-bottom: 0;
}

#quickViewModal .carousel-indicators button[data-bs-target] {
  height: 100%;
  z-index: 0 !important;
  width: 80px;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: 1;
}

#quickViewModal .carousel-indicators {
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  position: relative;
  z-index: 0 !important;
  height: 80px;
}

.pro-qty {
  border-radius: 50px;
}

.pro-qty input {
  width: 28px;
  float: left;
  border: none;
  height: 32px;
  line-height: 30px;
  padding: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0);
  font-size: 20px;
  font-weight: 500;
  margin: 0 12px;
  color: #27272e;
  transition: all 0.4s ease-out 0s;
}

.pro-qty .qtybtn {
  float: left;
  line-height: 26px;
  justify-content: center;
  text-align: center;
  display: block;
  padding: 2px;
  width: 32px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  color: #000;
  height: 32px;
  background: #eaf3ff;
  border-radius: 50%;
  transition: 0.3s;
  border: 2px solid rgba(0, 0, 0, 0);
}

.pro-qty .qtybtn:hover {
  background-color: #066cfa;
  color: #fff;
}

.close {
  border: none;
  background-color: white;
  color: #343333;
  float: right;
  font-size: 28px;
  font-weight: 500;
  position: absolute;
  top: auto;
  right: auto;
}

/* ************* Offcanvas Css *************** */
.popup-offcanvas {
  width: 40%;
}

.other-catg-img {
  width: 15px;
  /* height: 20px; */
}

.oth-catg-div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.oth-catg-a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0 10px 10px;
  width: 100%;
  transition: all 0.8s;
  height: 48px;
  border-radius: 6px;
}

.oth-catg-a:hover {
  background-color: #ebebeb;
}
.font20 {
  font-size: 20px;
}
.account_text-oth-catg {
  padding-left: 13px;
}

/* ********** Categories Section ********** */
.section-title h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 20px;
  max-width: 100%;
}

.category-item {
  flex: 0 0 auto;
  width: calc(16.666% - 15px);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

@media (max-width: 1200px) {
  .category-item {
    width: calc(20% - 15px);
  }
}

@media (max-width: 991px) {
  .categories-wrapper {
    gap: 10px;
  }

  .category-item {
    width: calc(25% - 10px);
  }

  .category-icon {
    width: 70px;
    height: 70px;
  }

  .category-name {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .category-item {
    width: calc(33.333% - 10px);
  }

  .category-icon {
    width: 60px;
    height: 60px;
  }

  .section-title h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .categories-wrapper {
    justify-content: space-between;
    gap: 8px;
  }

  .category-item {
    width: calc(33.333% - 8px);
    margin-bottom: 15px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-name {
    font-size: 11px;
  }
}

.category-item:hover {
  transform: translateY(-5px);
}

.category-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.category-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.category-icon:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  background-color: #eaf3ff;
  border-color: var(--secondary-color);
}

.category-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
}

.category-item:hover .category-icon img {
  transform: scale(1.1);
}

.category-name {
  font-size: 14px;
  font-weight: 500;
  color: #333333; /* Changed from var(--primary-color) to a neutral dark color */
  text-align: center;
  margin-top: 8px;
  transition: all 0.3s ease;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-item:hover .category-name {
  color: #555555; /* Changed from var(--secondary-color) to a slightly darker gray */
}

.category-item.view-all .category-icon {
  background-color: #eaf3ff;
  border-color: var(--secondary-color);
}

.category-item.view-all:hover .category-icon {
  background-color: var(--secondary-color);
}

.category-item.view-all:hover .category-icon img {
  filter: brightness(0) invert(1);
}

.category-item.view-all:hover .category-name {
  color: #555555; /* Changed from var(--secondary-color) to match other category items */
}

/* Off-canvas Category Styles */
.category-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px 10px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e6e6e6;
}

.category-card:hover {
  background-color: #eaf3ff;
  transform: translateY(-3px);
  border-color: var(--secondary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.category-card-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.category-card-icon i {
  font-size: 30px;
  color: var(--secondary-color);
}

.category-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
  margin-top: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-card:hover .category-card-name {
  color: var(--secondary-color);
}

/* Redesigned Section Title for Product Container */
#product .product-cont h3.section-title {
  text-align: left;
  font-size: 26px;
  font-weight: 600;
  color: #222021;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: none;
}

#product .product-cont h3.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}
