/* Basic customization */
::-webkit-scrollbar {
  width: 12px; /* Adjust the width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: var(--bgclrcontentdark); /* Color of the track */
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark); /* Color of the thumb */
  border-radius: 8px; /* Roundness of the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary); /* Color of the thumb on hover */
}

#loader,
body {
  height: 100vh;
}
#loader,
.nav {
  position: fixed;
}
.nav,
body {
  background-color: var(--bgclrdark);
}
.loader-content,
.logo {
  text-align: center;
}
/* #tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
} */
.hero_big,
.loading-text,
.logo,
.nav .nav_item .nav_links a {
  color: var(--textclrprimary);
}
*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.motive_text,
.nav {
  padding: var(--paddingbasic);
}
#loader {
  width: 100vw;
  background: var(--bgclrdark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero_btn,
.nav {
  align-items: center;
}
.spinner {
  border: 10px solid var(--bgclrdarkrk);
  border-top: 10px solid var(--primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: 1s linear infinite spin;
  margin-bottom: 15px;
}
.loading-text {
  font-size: 18px;
  font-family: sans-serif;
}
.hero_big,
.logo,
.motive .motive_cont h1 {
  font-family: coolvetica;
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
body {
  scroll-snap-type: y, mandatory;
  overflow-x: hidden;
}
.nav {
  height: var(--navbar-height);
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  top: 0;
  left: 0;
  justify-content: space-between;
  box-shadow: 0 5px 30px -20px var(--primary);
  z-index: 100;
}
#hero,
.slider_container {
  height: 100vh;
  display: flex;
}
.nav .nav_item .nav_links .active,
.nav .nav_item .nav_links a:hover,
.product-info .back-link:hover {
  color: var(--secondary1);
}
.logo {
  font-size: 3.3rem;
  margin-left: 5px;
  margin-top: -5px;
}
.nav .nav_item {
  display: flex;
  width: 45%;
  justify-content: space-evenly;
}
.nav .nav_item .nav_links a {
  text-decoration: none;
  font-family: coolvetica;
  font-size: 20px;
  transition: 0.3s;
}

#hero {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("content/forest-green-leather-close-up-texture.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
/* #hero img {
  width: 100%;
  height: 100vh;
  position: absolute;
  z-index: -10;
} */
.hero_big {
  font-size: 150px;
  cursor: default;
  transition: 0.15s;
  position: relative;
}
/* .hero_big:hover {
  /* color: var(--primary); */
/* text-shadow: 0 0 10px var(--primary); */
/* } */
.hero_btn,
.motive_pic,
.motive_text h2,
.sec_start_text {
  font-family: moela;
  text-align: center;
}
.hero_btn {
  text-decoration: none;
  display: flex;
  font-size: 35px;
  color: var(--secondary1);
  border: 3px solid var(--primary);
  background-color: var(--primary-dark-trnslcnt);
  border-radius: var(--border-radius-small);
  height: 70px;
  margin-top: 115px;
  justify-content: center;
  width: 50%;
  transition: 0.15s;
}
.product-card,
.product-gallery {
  background: var(--bgclrcontentdark);
}
.hero_btn:hover {
  border: 3px solid var(--secondary1);
  background-color: var(--primary-dark);
  box-shadow: 0 5px 20px -10px var(--primary);
}
.motive_pic,
.sec_start_text {
  color: var(--textclrprimary);
  width: 100vw;
  font-weight: 500;
  font-size: 75px;
  margin-top: 50px;
  cursor: default;
}
.motive .motive_cont h1 {
  font-weight: 500;
  font-size: 80px;
  line-height: 150px;
  margin-top: 0;
  width: 85%;
  padding: 0 50px;
}
.motive_cont {
  display: flex;
  margin-top: 50px;
  width: 100%;
  align-items: center;
}
.motive_text,
.shop_page .motive_norm_text {
  background-color: var(--bgclrcontentdark);
  margin: var(--marginbasic);
  border-radius: var(--border-radius);
}
.motive_text {
  color: var(--textclrprimary);
  width: 75%;
}
.product-card,
.product-card a img {
  border-radius: var(--border-radius-small);
}
.motive_text h2 {
  font-size: 50px;
  font-weight: 500;
}
.footer_logo p,
.motive_norm_text {
  font-family: sans-serif;
  font-weight: 400;
}
.motive_norm_text {
  font-size: 20px;
  color: var(--textclrprimary);
  margin-top: 50px;
  text-align: justify;
}
.imp {
  color: var(--secondary1);
  font-size: 30px;
  font-weight: 600;
}
.green {
  color: var(--primary);
}
.motive_text a {
  margin-top: 50px;
  width: 40%;
  height: 55px;
  font-size: 30px;
  margin-left: auto;
}
.shop_page .motive_norm_text {
  text-align: center;
  padding: 50px 50px 25px;
  font-size: 30px;
  color: var(--textclrprimary);
  margin-top: 50px;
}
.shop_page {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.motive_norm_text a {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  margin-top: 45px;
}
footer {
  display: flex;
  height: 200px;
  border-top: 4px solid var(--footer-border);
  margin-top: 100px;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer_logo {
  margin-left: 30px;
  width: 25%;
  text-align: left;
  margin-top: 25px;
  font-size: 90px;
  color: var(--textclrprimary);
  font-family: coolvetica;
}
#buy-detail,
.buy-now-btn,
.ft_summer,
.product-card {
  text-align: center;
}
.footer_logo p {
  font-size: 15px;
  text-align: left;
  color: var(--textclrsecondary);
  margin-bottom: var(--marginbasic);
}
.footer_link p,
.ft_summer {
  font-family: moela;
  color: var(--textclrprimary);
}
.footer_link {
  display: flex;
  width: 50%;
  height: 100%;
  flex-wrap: wrap;
  flex-direction: row;
}
.footer_link p {
  font-size: 45px;
  width: 100%;
  margin-top: 25px;
  margin-bottom: auto;
}
.footer_links {
  width: 25%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
.footer_links img {
  width: 50px;
}
.policies {
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  height: 40%;
  border-top: 2px solid var(--textclrsecondary);
}
.policies a {
  color: var(--textclrprimary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.2s;
}
main {
  padding-top: 75px;
}
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 40px 0;
}
.ft_summer {
  width: 100%;
  font-weight: 500;
  font-size: 70px;
  margin-top: 80px;
  margin-bottom: 20px;
}
.product-card h3,
.product-card p,
.product-info .back-link,
.product-info .price,
.product-info h2,
.sold-out-overlay {
  font-family: coolvetica;
}
.product-card a img {
  transition: transform 0.2s;
}
.product-card {
  color: var(--textclrprimary);
  width: 25%;
  padding: 20px 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card a {
  text-decoration: none;
  color: var(--textclrprimary);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 5px 20px -10px var(--primary);
}
.product-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-top: -8px;
}
.product-card h3 {
  margin: 16px 0 8px;
  font-size: 2.5rem;
  color: var(--textclrprimary);
  font-weight: 500;
}
.product-card p {
  color: var(--secondary1);
  font-size: 2rem;
  font-weight: 500;
  margin-top: auto;
}
.product-card .product-description {
  color: var(--textclrsecondary);
  font-size: 1.5rem;
  font-family: coolvetica;
  margin: 8px 0;
}
.product_price {
  margin-bottom: 10px;
}

.product-gallery {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin: 40px auto;
  max-width: 900px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px -8px var(--primary);
  padding: 32px 24px;
  flex-direction: column;
  flex-wrap: wrap;
}
.thumbnails {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 8px;
  gap: 16px;
}
.thumbnails img.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 6px -2px var(--primary);
}
.thumbnails img.thumbnail.selected {
  border: 2px solid var(--secondary1);
  box-shadow: 0 2px 12px -4px var(--secondary1);
}
#buy-detail,
.main-image {
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px -8px var(--primary);
}
.main-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.main-image {
  width: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.4s;
}
.img-wrapper img,
.sold-out-overlay {
  width: 100%;
  border-radius: var(--border-radius-small);
}
.main-image.fade-in {
  opacity: 0;
  animation: 0.4s forwards fadeInImg;
}
@keyframes fadeInImg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.product-info {
  flex: 1;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.product-info h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: var(--textclrprimary);
  font-weight: 500;
}
.product-info .price {
  color: var(--secondary1);
  font-size: 2rem;
  margin-bottom: 16px;
}
.product-info .product-description {
  color: var(--textclrprimary);
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.product-info .back-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.5rem;
  margin-top: 16px;
  transition: color 0.2s;
  font-weight: 500;
}
.img-wrapper {
  display: inline-block;
  width: 100%;
}
.img-wrapper img {
  display: block;
  transition: filter 0.3s;
}
.img-wrapper.out-of-stock img {
  filter: brightness(0.4) grayscale(0.2);
}
.sold-out-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: hsla(0, 0%, 25%, 25%);
  color: var(--sold-out);
  font-weight: 500;
  font-size: 2rem;
}
#buy-detail h2,
.buy-now-btn,
.coming_soon {
  color: var(--textclrprimary);
}
.buy-now-btn:hover {
  box-shadow: 0 4px 12px -6px var(--primary);
  transform: scale(1.01);
  box-shadow: 0 4px 12px -6px var(--primary);
}
#buy-detail {
  max-width: 620px;
  margin: 48px auto 32px;
  background: var(--bgsecondary);
  padding: 32px 24px;
}
#buy-detail h2 {
  font-size: 2.2rem;
  font-family: coolvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 18px;
}
#buy-detail p,
.buy-now-btn {
  font-size: 1.3rem;
  font-family: coolvetica, sans-serif;
}
#buy-detail img {
  width: 90%;
  height: auto;
  border-radius: var(--border-radius-small);
  margin-bottom: 18px;
  box-shadow: 0 2px 12px -6px var(--secondary1);
}
#buy-detail p {
  color: var(--secondary1);
  margin-bottom: 24px;
  font-size: 2.2rem;
}
#buy-detail form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
#buy-detail input[type="email"],
#buy-detail input[type="text"],
#buy-detail input[type="tel"] {
  width: 90%;
  padding: 10px 14px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 1.5px solid var(--secondary1);
  font-family: coolvetica, sans-serif;
  margin-bottom: 0;
  background: var(--bgprimary);
  color: var(--textclrprimary);
  transition: border 0.2s;
}
#buy-detail input[type="email"]:focus,
#buy-detail input[type="text"]:focus {
  border: 2px solid var(--primary);
  outline: 0;
}
.buy-now-btn {
  background: var(--primary-dark);
  box-shadow: 0 2px 8px -4px var(--primary);
  display: inline-block;
  margin-top: 10px;
  padding: 12px 32px;
  background: var(--primary-dark);
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px -4px var(--primary);
}
.coming_soon {
  height: 90vh;
  margin-top: 100px;
  padding: 20px;
  font-family: coolvetica;
  font-size: 55px;
}
@media (max-width: 750px) {
  .motive_cont,
  .nav {
    flex-direction: column;
  }
  .product-card h3,
  .product-card p {
    font-weight: 500;
    font-family: coolvetica;
  }
  .nav {
    padding: 5px;
    justify-content: space-evenly;
    height: calc(var(--navbar-height) + 5px);
  }
  .nav .nav_item {
    width: 100%;
    flex-direction: row;
    align-items: center;
  }
  .logo {
    font-size: 2.5em;
  }
  .nav .nav_item .nav_links a {
    font-size: 18px;
  }
  .hero_big {
    font-size: 100px;
    text-align: center;
  }
  .hero_btn {
    width: 80%;
    font-size: 30px;
  }
  .sec_start_text {
    font-size: 50px;
  }
  .footer_link,
  .motive_text,
  footer .footer_logo p {
    width: 90%;
  }
  .motive_cont {
    align-items: center;
    margin-top: 10px;
  }
  .motive_text h2 {
    font-size: 35px;
  }
  .motive_text p {
    font-size: 15px;
  }
  .imp,
  .motive_text a,
  .shop_page a {
    font-size: 20px;
  }
  .motive_norm_text {
    font-size: 16px;
  }
  .motive_text a {
    width: 55%;
    height: 45px;
  }
  .motive .motive_cont h1 {
    font-size: 35px;
    height: 150px;
    line-height: 50px;
    margin-bottom: 5px;
    margin-top: 5px;
    border-bottom: 2px solid var(--bgclrcontentdark);
    width: 90%;
    padding: 0;
  }
  .shop_page .motive_norm_text {
    font-size: 18px;
    padding: 25px 20px;
    width: 90%;
  }
  .shop_page a {
    width: 100%;
    height: 45px;
  }
  footer {
    flex-direction: column;
  }
  .footer_logo {
    font-size: 50px;
    margin: 0;
    width: 90%;
  }
  .footer_link p {
    display: none;
  }
  .footer_links img {
    width: 35px;
  }
  .footer_links {
    margin-bottom: 20px;
  }
  .ft_summer {
    font-size: 50px;
    margin-top: 0;
  }
  .product-card {
    width: 45%;
    max-width: 400px;
    margin: 8px;
  }
  .product-card a img,
  .sold-out-overlay {
    height: 150px;
  }
  .product-list {
    gap: 0;
    width: 100%;
  }
  .product-card:hover {
    transform: translateY(0) scale(1);
    box-shadow: 0 5px 20px -10px var(--primary);
  }
  .product-card h3 {
    margin: 16px 0 8px;
    font-size: 1.5rem;
    color: var(--textclrprimary);
  }
  .product-card p {
    color: var(--secondary1);
    font-size: 1.2rem;
    margin-top: auto;
  }
  .product-card .product-description {
    color: var(--textclrsecondary);
    font-size: 1rem;
    font-family: coolvetica;
    margin: 8px 0;
  }
  .product-gallery {
    width: 100%;
    padding: 20px;
  }
  .main-image-container {
    width: 100%;
  }
  .main-image {
    width: 100%;
    height: auto;
  }
  #buy-detail {
    width: 90vw;
    border-radius: var(--border-radius-small);
  }
}
