:root {
  --primary-color: #d85816;
  --secondary-color: #32408a;
  --light-gray: #e6e9ec;
  --semi-dark: #454545;
  --dark-gray: #0f172a;
  --dark-blue: #415b7b;
  --light-color: #f5f6f7;
  --white: #fff;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --spacing-6: 24px;
  --spacing-7: 28px;
  --spacing-8: 32px;
  --spacing-9: 36px;
  --spacing-16: 64px;
  --spacing-10: 40px;
  --font-size-12: 12px;
  --font-size-14: 14px;
  --font-size-16: 16px;
  --font-size-18: 18px;
  --font-size-24: 24px;
  --font-size-34: 34px;
}

.page-container {
  max-width: 1440px;
  margin: 0 auto;
  font-family: "Poppins";
}

.page-wrpr {
  padding: 0 var(--spacing-6);
}

.page-wrpr.no-right-padding {
  padding-right: 0;
}

/* header */

.mob-nav {
  box-shadow: 0 0 10px 0px var(--semi-dark);
  padding: var(--space-4) var(--spacing-6);
}

.top-nav .nav-wrpr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-icon {
  width: 22px;
  cursor: pointer;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.navthum {
  background-color: var(--secondary-color);
  width: 100%;
  height: 2px;
  display: block;
  margin-bottom: 5px;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon.active .navthum1 {
  transform: rotate(41deg);
  position: relative;
  top: 5px;
}

.menu-icon.active .navthum2 {
  display: none;
}

.menu-icon.active .navthum3 {
  transform: rotate(-40deg);
  top: -2px;
  position: relative;
}

.menulist {
  padding-top: var(--space-4);
  position: fixed;
  top: 85px;
  right: -70%; /* Hidden offscreen initially */
  width: 70%;
  height: 100vh;
  overflow-y: auto;
  transition: right 0.3s ease;
  z-index: 1000;
  background-color: var(--white);
  padding-left: var(--spacing-6);
}

.menulist.open {
  right: 0; /* Slide in */
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
}

.menulist ul {
  margin: 0;
  list-style: none;
  padding-left: 0;
}

.menulist ul li,
.menulist ul li a {
  color: var(--dark-gray);
  font-size: var(--font-size-16);
}

.menulist ul li {
  margin-bottom: var(--space-3);
}

.dropdownmenu span::after {
  content: "";
  display: inline-block;
  background-image: url(../images/down-arrow.png);
  width: 10px;
  height: 7px;
  margin-left: var(--space-3);
}

.dropdownmenu ul {
  margin-top: var(--space-4);
  display: none;
}

.dropdownmenu.open ul {
  display: block;
}

main {
  margin-top: 84px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: var(--white);
}

img {
  max-width: 100%;
}

.owl-dots {
  display: none;
}

section {
  padding: var(--spacing-7) 0;
}

section.no-padding {
  padding: 0;
}

.primary-btn {
  background-color: var(--primary-color);
  font-size: var(--font-size-12);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  padding: var(--space-3);
  display: inline-block;
  text-align: center;
}

.primary-btn:hover {
  color: var(--primary-color);
  background-color: transparent;
  text-decoration: none;
}

.home-category-section .card-wrpr {
  margin-bottom: var(--spacing-7);
}

.home-category-section .primary-btn {
  width: 100%;
  max-width: 190px;
}

.light-gray-bg {
  background-color: var(--light-gray);
}

.section-heading h3 {
  color: var(--dark-gray);
  font-size: var(--font-size-24);
  font-weight: 600;
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: var(--space-5);
}

.blue-bg {
  background-color: var(--dark-blue);
}

.blue-bg .section-heading h3 {
  color: var(--white);
}

footer {
  padding-top: var(--spacing-10);
  padding-bottom: 80px;
  font-family: "Poppins";
}

footer h3 {
  color: var(--secondary-color);
  font-size: var(--font-size-18);
  font-weight: 700;
  margin-bottom: var(--space-5);
}

.footer-links ul,
.keep-in-touch ul,
.social-media ul,
.app ul {
  padding: 0;
  list-style-type: none;
}

.footer-links ul li a {
  color: var(--dark-gray);
  font-size: var(--font-size-14);
}

.footer-links ul li {
  margin-bottom: var(--space-3);
}

.keep-in-touch ul li {
  display: flex;
  gap: 8px;
  color: var(--dark-gray);
  font-size: var(--font-size-14);
  margin-bottom: var(--space-3);
}

.keep-in-touch ul li span img,
.keep-in-touch ul li span {
  width: 24px;
  height: 24px;
  display: block;
}

.keep-in-touch ul li a {
  color: var(--dark-gray);
  font-size: var(--font-size-14);
}

.social-media ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app ul li {
  margin-bottom: var(--space-3);
  display: flex;
  color: var(--secondary-color);
  font-size: var(--font-size-14);
  gap: 10px;
}

.botom-sticky-menu ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.botom-sticky-menu {
  position: fixed;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: var(--white);
  padding: var(--space-5) var(--space-4);
  box-shadow: 0 0 6px 3px #4545453b;
}

.mobile-search-func form input,
.mobile-search-func button {
  border: none;
  background-color: transparent;
}

.mobile-search-func form {
  border-bottom: 1px solid var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-4) var(--space-2);
}

.mobile-search-func {
  background-color: var(--white);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding-top: var(--space-5);
  display: none;
}
.mobile-search-func.show {
  display: block;
}

.desktop-menu {
  display: none;
}

/* desktop */

.desk-top-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
}

.tp-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--light-gray);
  padding: var(--space-3) var(--space-5);
  border-radius: 50px;
}

.search-form input,
.search-form button {
  background-color: transparent;
  border: none;
}

.sign-btn-wrpr ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.sign-btn-wrpr .primary-btn {
  min-width: 124px;
}

.dropdownmenu:hover .dropdownlist {
  display: block;
}
/* category */

.category-wrpr {
  background-color: var(--white);
  padding: var(--space-3);
  border-radius: 10px;
  margin-bottom: var(--space-5);
}
.category-wrpr h3 {
  color: var(--dark-gray);
  font-size: var(--font-size-24);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.category-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.category-cards {
  flex: 1 1 calc(50% - var(--space-2));
  box-sizing: border-box;
  background: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  padding: var(--space-2);
  box-shadow: 0px 8px 28px 0px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-flow: column;
}

.category-cards img {
  width: 100%;
}

.category-cards h4 {
  color: var(--white);
  font-size: var(--font-size-16);
  text-align: center;
  margin-bottom: 0;
  margin-top: var(--space-2);
}

.card-button {
  margin-top: var(--space-5);
}

.card-button a {
  background-color: var(--primary-color);
  font-size: var(--font-size-12);
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  border: 1px solid var(--primary-color);
  border-radius: 50px;
  padding: var(--space-3);
  min-width: 160px;
  display: inline-block;
  text-align: center;
}

.category-best .card-img img {
  width: 100%;
}

.category-best .cards.best-seller {
  margin-bottom: var(--space-5);
}

.pagination {
  display: flex;
  gap: 8px;
  padding: 20px;
  justify-content: center;
}

.pagination a {
  padding: 10px 16px;
  border: 2px solid #32408a;
  background-color: #ffffff;
  color: #32408a;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.pagination a:hover:not(.active) {
  background-color: #f0f0f0;
}

.pagination a.active {
  background-color: #d85816;
  color: #ffffff;
  border-color: #d85816;
}

@media (min-width: 1024px) {
  main {
    margin-top: 125px;
  }

  .mob-nav {
    display: none;
  }

  .desktop-menu {
    display: block;
    padding: var(--space-4) var(--spacing-16);
  }

  .desktop-menu-list ul {
    padding: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-9);
    margin-bottom: 0;
  }

  .dropdownlist {
    display: none;
  }

  .desktop-menu-list ul li,
  .desktop-menu-list ul li a {
    color: var(--dark-gray);
    font-size: var(--font-size-16);
  }

  .home-category-section .button-conatiner {
    text-align: center;
  }
  .dropdownmenu {
    position: relative;
  }

  .dropdownlist {
    position: absolute;
    background-color: var(--white);
    padding: var(--space-3);
    width: 200px;
  }

  .desktop-menu-list .dropdownlist ul {
    display: block;
  }

  .desktop-menu-list .dropdownlist ul li {
    margin-bottom: var(--space-3);
  }

  .banner-bottom {
    padding: 0;
    position: relative;
    top: -200px;
    margin-bottom: -160px;
    z-index: 9;
  }

  .page-wrpr {
    padding: 0 var(--spacing-16);
  }

  .home-category-section .button-conatiner {
    margin-top: var(--spacing-10);
  }

  .primary-btn {
    font-size: var(--font-size-16);
    font-weight: 500;
  }

  .best-seller-section.light-gray-bg,
  .discount-section.light-gray-bg {
    background-color: transparent;
  }

  .light-gray-bg-d {
    background-color: var(--light-gray);
  }

  .page-inner-wrpr {
    padding: var(--spacing-8) 0 var(--spacing-8) var(--spacing-7);
    border-radius: 20px;
  }

  .page-wrpr.no-right-padding {
    padding-right: var(--spacing-16);
  }

  .owl-theme .owl-nav [class*="owl-"]:hover {
    background-color: transparent;
    outline-style: none;
  }

  .section-heading h3 {
    font-size: var(--font-size-34);
  }

  footer .page-wrpr {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: space-between;
  }

  footer .page-wrpr > div:first-child {
    flex: 1 1 calc(15% - 16px);
  }

  footer .page-wrpr > div:nth-child(2) {
    flex: 1 1 calc(15% - 16px);
  }

  footer .page-wrpr > div:nth-child(3) {
    flex: 1 1 calc(20% - 16px);
  }

  footer .page-wrpr > div:last-child {
    flex: 1 1 calc(25% - 16px);
  }

  .keep-in-touch ul li {
    max-width: 290px;
  }

  .social-media {
    margin-top: var(--spacing-8);
  }

  .app ul li:nth-child(2) {
    margin-top: var(--spacing-7);
  }

  .app ul li span {
    font-size: var(--font-size-18);
  }

  .app ul li {
    align-items: center;
  }

  .catrgory-section .page-wrpr {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .category-wrpr {
    flex: 1 1 calc(33.33% - var(--space-4));
    max-width: 33.33%;
  }

  .category-best .page-inner-wrpr {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .category-best .best-seller {
    flex: 1 1 calc(25% - var(--space-4));
    max-width: 25%;
  }
}
