* {
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

:root {
    --bg: #fff;
    --secondary-bg: #f7f7f7;
    --text-main: #fff;
    --primary-color: #000;
    --nav: rgb(0 0 0 / 7%);
    --nav-active: #001127;
    --secondary-color: #000;
    --overlay: rgb(0 0 0 / 55%);
}

body.darkmode {
    --bg: #0b1517;
    --secondary-bg: #182326;
    --text-main: #000;
    --primary-color: #fff;
    --nav: rgb(0 0 0 / 14%);
    --nav-active: #7c7c7c;
    --secondary-color: #0084d6;
    --overlay: rgb(0 0 0 / 80%);
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

.container {
  width: 88%;
  margin: auto;
}

ul {
  list-style: none;
  padding: 0;
}

a {
  text-decoration: none;
}

.flx {
  display: flex;
  justify-content: space-between;
}

.flx-c {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.white-btn,
.transparent-btn {
  padding: 14px 25px;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: 0.5s;
}

.white-btn {
  background: #fff;
  color: #000;
}

.white-btn:hover {
  background: #000;
  color: #fff;
  border: 1px solid #000;
  box-shadow: 0 1px 15px #434343;
}

.header {
  position: relative;
  height: 791px;
  background: url("../assets/images/header-bg.jpg") fixed;
  background-size: cover;
}

.header .overlay {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  padding-top: 102px;
  background-image: linear-gradient(180deg, #0084d6 -50%, var(--overlay) 50%);
  z-index: 2;
}

.navbar {
  background: var(--nav);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: 0.5s;
  z-index: 9997;
}

.navbar.active {
    background: var(--nav-active);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .nav-container {
  width: 95%;
  margin: auto;
}

.navbar .content {
  height: 102px;
  transition: 0.5s;
}

.navbar.active .content {
    height: 85px;
}

.navbar .content .links {
  display: flex;
}

.navbar .links .link {
  margin-left: 30px;
}

.navbar a {
  color: var(--text-main);
}

.navbar .link a {
  text-transform: uppercase;
}

.navbar .left-content .link a {
  position: relative;
  font-size: 14.4px;
  font-weight: 600;
  padding-bottom: 7px;
}

.navbar .left-content a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 35%;
  height: 2px;
  width: 0;
  background: #fff;
  transition: 0.5s;
}

.navbar .left-content .link:hover a::after {
  width: 30%;
}

.navbar .left-content a:hover {
  color: #b1d8ff;
}

.navbar .left-content .mobile {
  display: none;
  font-weight: 300;
}

.navbar .left-content .mobile a {
  font-weight: 400;
}

.navbar .left-content .mobile a,
.navbar .right-content .link a {
  font-size: 13px;
}


.navbar .mode-btn {
  background-color: var(--text-main);
  width: 56px;
  height: 28px;
  border-radius: 20px;
  padding: 0 4px;
  box-shadow: inset 0 8px 60px rgba(0,0,0, .1),
              inset 0 8px 8px rgba(0,0,0, .1),
              inset 0 -4px 4px rgba(0,0,0, .1);

  position: relative;
  display: flex;
  align-items: center;
  border: none;
  margin-left: 18px;
  cursor: pointer;
}

.navbar .mode-btn .indicator{
  background: var(--nav-active);
  width: 23px;
  height: 23px;
  border-radius: 50%;
  position: absolute;
  box-shadow: 0 8px 40px rgba(0,0,0, .2);
  transition: transform .3s ease;
}

.navbar .mode-btn .icon-container{
  width: 100%;
  height: 100%;
}

.navbar .mode-btn .mode-icon{
  color: #FFDE59;
  font-size: 20px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}


.mode-btn .mode-icon.animated{
  animation: spin 0.5s ease-in-out;
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.3);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

.navbar .right-content .nav-actions {
  margin-left: 40px;
}

.navbar .nav-actions .cart-link {
  margin-right: 20px;
}

.navbar .cart-link .cart-icon {
  position: relative;
}

.navbar .nav-actions .login-link,
.navbar .cart-link .cart-icon {
  font-size: 20px;
}

.navbar .cart-link .total {
  font-weight: 600;
  margin-right: 12px;
}

.navbar .cart-icon .amount {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  color: #000;
  background: #f5f7f9;
  font-weight: 600;
  font-size: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar .nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* cart sidebar style */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  background: #0084d657;
  z-index: 9999;
}

.cart-sidebar .sidebar {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 450px;
  max-width: 100vw;
  background: #fff;
  transition: 0.5s;
}

.cart-sidebar .sidebar.hide {
  right: -450px;
}

.cart-sidebar .sidebar .divider {
  border: 1px solid var(--secondary-bg);
}

.cart-sidebar .head {
  padding: 10px 15px;
}

.cart-sidebar .head h2 {
  margin: 0;
  font-size: 21px;
}

.cart-sidebar .head .close {
  padding: 10px 20px;
  font-size: 20px;
  background: none;
  border: 1px solid #cecece;
  cursor: pointer;
  transition: 0.5s;
}

.cart-sidebar .head .close:hover {
  background: #f2f2f2;
}

.cart-sidebar .head .amount {
  display: block;
  padding: 8px 12px;
  background: #f2f2f2;
}

.cart-sidebar .cart-items {
  overflow-y: scroll;
  height: 560px;
}

.cart-sidebar .cart-items .cart-item {
  padding: 15px;
}

.cart-sidebar .cart-item .item-card {
  display: flex;
}

.cart-sidebar .item-card .img-bx {
  margin-right: 20px;
}

.cart-sidebar .item-card .img-bx img {
  width: 75px;
  border-radius: 4px;
}

.cart-sidebar .item-card .text-bx h3 {
  margin: 0;
  color: #0075be;
  font-size: 16px;
}

.cart-sidebar .item-card .text-bx p {
  margin: 10px 0;
}

.cart-sidebar .item-card .text-bx .remove {
  border: none;
  background: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  color: #0084d6;
}

.cart-sidebar .cart-item .item-actions {
  display: flex;
  flex-direction: column;
}

.cart-sidebar .item-actions button,
.cart-sidebar .item-actions input {
  width: 33px;
  font-weight: 600;
  font-size: 15px;
}

.cart-sidebar .item-actions input {
  height: 27px;
  border-top: none;
  border-bottom: none;
  border-left: 1px solid #cecece;
  border-right: 1px solid #cecece;
  text-align: center;
}

/* Chrome, Safari, Edge, Opera */
.cart-sidebar input::-webkit-outer-spin-button,
.cart-sidebar input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.cart-sidebar input[type="number"] {
  -moz-appearance: textfield;
}

.cart-sidebar .item-actions button {
  height: 25px;
  border: 1px solid #cecece;
  background: #f4f3f3;
  cursor: pointer;
}

.cart-sidebar .cart-bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.cart-sidebar .cart-bottom > div {
  padding: 8px 15px;
}

.cart-sidebar .cart-bottom .title,
.cart-sidebar .cart-bottom .num {
  font-size: 16px;
  font-weight: 600;
}

.cart-sidebar .cart-bottom .go-checkout button {
  width: 100%;
  padding: 14px 0;
  color: #fff;
  background: #0084d6;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.5s;
}

.cart-sidebar .go-checkout button:hover {
  background: #3094d3;
}

.cart-sidebar .go-checkout button span {
  margin-right: 10px;
  font-size: 18px;
}

/* product style */

.product-card {
  display: block;
  margin-bottom: 50px;
}

.product-card .img-bx {
  position: relative;
  width: 250px;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.product-card .img-bx .icon-btn {
  position: absolute;
  right: -15px;
  top: 15px;
  opacity: 0;
  transition: 0.5s;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transform: rotate(60deg);
  border: 1px solid #e0e0e0;
  z-index: 1;
}

.product-card:hover .icon-btn {
  right: 15px;
  opacity: 1;
  transform: rotate(0deg);
}

.product-card .img-bx img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.8s;
  /* z-index: 1; */
  transform: scale(1);
}

.product-card:hover .img-bx img {
  transform: scale(1.1);
}

.product-card .text-bx .product-title {
  font-size: 16px;
  color: var(--primary-color);;
  margin-bottom: 7px;
  cursor: pointer;
}

.product-card .text-bx .category {
  color: #888;
  margin: 7px 0;
}

.price span {
  font-weight: 600;
  font-size: 14.5px;
}

.original-price {
  color: #888;
  text-decoration: line-through;
}

.current-price {
  color: #0084d6;
  margin-left: 15px;
}

.rating {
  color: #ffa500;
  font-size: 12px;
  margin-top: 10px;
}
.product-card .text-bx .colors {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.product-card .text-bx .colors .color-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* footer style */
.footer .footer-links-grid {
  padding: 80px 0;
}

.footer .footer-title {
  font-size: 20px;
  color: var(--primary-color);
}

.footer .footer-list li {
  margin-bottom: 20px;
}

.footer .footer-list li a {
  font-size: 16px;
  color: var(--primary-color);
  transition: 0.5s;
}

.footer .footer-list li a:hover {
  color: #0084d6;
}

.footer .app-download {
  margin-top: 70px;
}
.footer .app-download img{
  width: 100%;
  max-width: 200px;
  min-width: 100px;
}
.footer .footer-divider {
  border: 1px solid var(--secondary-bg);
}

.footer .footer-bottom {
  padding: 20px 0;
  color: var(--primary-color);
}

/* media querey */
@media screen and (max-width: 1200px) {
  
  .navbar .content {
    height: 70px;
  }

  .navbar .logo-bx img {
    width: 105px;
  }

  .navbar .right-content .nav-actions {
  margin-left: 0px;
}

  .navbar .left-content .links {
    position: fixed;
    width: 350px;
    height: 800px;
    z-index: 9998;
    right: -350px;
    top: 70px;
    margin-top: 0;
    background: #fff;
    display: block;
    padding-top: 50px;
    transition: 0.5s;
    max-width: 100vw;
  }

  .navbar .left-content .links.hide {
    right: -350px;
  }

  .navbar .left-content .link {
    margin: 0;
  }

  .navbar .left-content .mobile {
    display: block;
  }

  .navbar .left-content .mobile.about-link {
    margin-top: 40px;
  }

  .navbar .right-content .links {
    display: none;
  }

  .navbar .left-content .links .link a,
  .navbar .right-content .links .link a {
    display: block;
    padding: 20px 30px;
    color: #000;
    border-bottom: 1px solid #dcdcdc;
  }

  .navbar .left-content .links .link a {
    transition: 0.5s;
  }

  .navbar .left-content .link a:hover {
    color: #0084d6;
    background: #f5f7f9;
  }

  .navbar .nav-actions {
    margin-right: 20px;
  }

  .navbar .nav-toggle-btn {
    display: block;
    background: black;
    padding: 8px;
  }

  /* footer */
  .footer .container.flx {
    flex-wrap: wrap;
  }

  .footer .footer-col {
    width: 40%;
    margin-bottom: 20px;
  }

  .footer .footer-list li a {
    font-size: 15px;
  }
}

@media screen and (min-width: 1200px) { 
  .navbar .mode-btn {
    margin-left: 30px;
  }
}