/* General */
@font-face {
  font-family: "Montserrat";
  src: url(asset/font/Montserrat-VariableFont_wght.ttf);
}

:root {
  --dark: #0e0e0e;
  --light: #ffffff;
  --midtone: #c5c5c5;
  --accent: #ec6228;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
  font-family: "Montserrat";
  color: var(--dark);
  scroll-behavior: smooth;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}

/* Element Selector */
body {
  background-color: var(--light);
}
a {
  text-decoration: none;
  color: var(--dark);
  font-family: "Montserrat";
}
a:hover,
a:focus {
  outline: none;
}
ul {
  list-style-type: none;
}
nav {
  top: 0;
  position: fixed;
  width: 100%;
  padding: 0 8rem;
  background-color: var(--light);
  border-bottom: 1px solid var(--midtone);
  z-index: 99;
}
nav ul {
  gap: 1.5rem;
}
nav li {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}
nav i {
  font-size: 1.8rem;
  color: var(--dark);
}
.nav-link {
  gap: 0.5rem;
}
.nav-link a {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 0.5rem;
}
.nav-link a:not(.nav-logo)::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  height: 1px;
  width: 0;
  background-color: var(--accent);
  transition: all 0.2s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}
.nav-link a:not(.nav-logo):hover:after {
  width: 100%;
}
.nav-picked::after {
  width: 100% !important;
}
.nav-icons i:hover {
  color: var(--accent);
}
nav img {
  height: 2rem;
  margin-right: 1rem;
}
h1 span {
  color: var(--accent);
}
button {
  font-size: 1rem;
  padding: 0.8rem 1rem;
  outline: none;
  border: 1px solid;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  position: relative;
}
input {
  font-size: 1rem;
  padding: 0.8rem;
  background-color: var(--light);
  border: 1px solid var(--midtone);
}
input:focus,
input:hover {
  outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* General classes */
.flex-row {
  display: flex;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: end;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.btn-thin {
  background-color: transparent;
}
.size .picked {
  color: var(--light);
}
.size .picked::after {
  width: 100%;
}
.size .disabled {
  color: var(--midtone);
  border-color: var(--midtone);
  cursor: default;
}
.btn-thin-accent {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-thin-dark:after {
  background-color: var(--dark);
}
.btn-thin-accent:after {
  background-color: var(--accent);
}
.btn-thin:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.2s all;
  -webkit-transition: 0.2s all;
  -moz-transition: 0.2s all;
  -ms-transition: 0.2s all;
  -o-transition: 0.2s all;
}
.btn-thin:not(.disabled):hover {
  color: var(--light);
}
.btn-thin:not(.disabled):hover:after,
.btn-thin:not(.disabled):active:after {
  width: 100%;
}
.btn-thin-dark:not(.disabled):hover {
  scale: 1.1;
}
.btn-accent {
  background-color: transparent;
  color: var(--light);
  border-color: var(--accent);
}
.btn-accent:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: var(--accent);
  transition: 0.2s all;
  -webkit-transition: 0.2s all;
  -moz-transition: 0.2s all;
  -ms-transition: 0.2s all;
  -o-transition: 0.2s all;
}
.btn-accent:hover {
  color: var(--accent);
}
.btn-accent:hover:after,
.btn-accent:active:after {
  width: 0;
}
.btn-disabled {
  background-color: var(--midtone);
  border-color: var(--midtone);
  color: var(--light);
}
.section-pad {
  padding: 0 8rem 4rem;
}
.section-pad-full {
  padding: 4rem 8rem;
}
.title {
  font-size: 5rem;
}
.left-auto {
  margin-left: auto;
}
.bg-dark {
  background-color: var(--dark);
}

/* Spesifics */
.widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
}
.widget img {
  width: 3.5rem;
  height: 3.5rem;
}
.widget img:hover {
  scale: 1.1;
}
.hero-carousel {
  width: 100%;
  height: 100dvh;
  margin: auto;
  position: relative;
}
.hero-carousel {
  border-bottom: 4rem solid var(--light);
}

.hero-carousel > .flex-col {
  position: absolute;
  padding: 0 8rem;
  width: 100%;
  height: inherit;
  gap: 1rem;
  z-index: 10;
}
.hero-carousel h1,
.hero-carousel p,
.catalog-hero h1 {
  color: var(--light) !important;
}
.hero-carousel h1 {
  font-size: 5rem;
}
.catalog-hero h1 {
  font-size: 4rem;
}
.hero-carousel .flex-col p {
  width: 50%;
}

.swiper-slide img {
  width: 100%;
  display: block;
  filter: brightness(0.6);
  -webkit-filter: brightness(0.6);
}
.swiper-pagination-bullet {
  background: #ccc; /* default bullet color */
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--accent); /* your custom active color */
}
.featured {
  gap: 2rem;
}
.cards {
  gap: 2rem;
}
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.card a {
  position: relative;
  margin-bottom: 1rem;
}
.card img {
  width: 100%;
}
.card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.card a:hover .overlay {
  opacity: 1;
}
.categories {
  gap: 2rem;
}
.categories .line {
  height: 1px;
  width: 100%;
  background-color: var(--midtone);
}
.categories > .flex-row > h1 {
  min-width: 15rem;
  text-wrap: nowrap;
  /* border-left: 1px solid var(--midtone);
  border-right: 1px solid var(--midtone); */
}
.categories-cards {
  gap: 1rem;
}
.categories-cards .category {
  position: relative;
  width: 10rem;
  height: 35rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  cursor: pointer;
  gap: 1rem;
  overflow: hidden;
  transition-duration: 0.4s;
}
.category img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.9);
  -webkit-filter: brightness(0.9);
}
.categories-cards div {
  display: flex;
  justify-content: center;
  align-items: center;
}
.category h1 {
  text-wrap: nowrap;
  color: var(--light);
  font-size: 3rem;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
.category button {
  font-size: 0.8rem;
  padding: 0;
  height: 0;
  width: 0;
  opacity: 0;
}
.category:hover img {
  scale: 1.1;
}
.category-picked {
  width: 40rem !important;
  cursor: default !important;
}
.category-picked button {
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  opacity: 1;
}
.category-picked h1 {
  font-size: 4rem;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  -webkit-filter: drop-shadow(1rem var(--dark));
}
.perks {
  position: relative;
}
.perks .card {
  flex: 1;
}
.perks img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  z-index: -1;
  -webkit-filter: brightness(0.5);
}
.perks i,
.perks span {
  color: var(--light);
}
.perks i {
  font-size: 4rem;
}
.testimony h1 {
  color: var(--midtone);
}
.testimony .title {
  margin-bottom: 2rem;
}
.testimony .card {
  box-shadow: 0 0.2rem 1rem #00000013;
  padding: 2rem;
  width: 100%;
  background-color: #fff;
}
.testimony i {
  font-size: 3rem;
  color: var(--accent);
}
.testimony img {
  margin: 1rem 0;
  width: 25%;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.testimony p {
  text-align: center;
}
.testimony .name {
  color: var(--midtone);
}
.gallery {
  gap: 1rem;
  width: 100%;
  overflow-x: hidden;
}
.slides {
  gap: 1rem;
  width: 100%;
}
.slides img {
  height: 18rem;
}
#gallery1 {
  margin-top: 1rem;
  animation: gallery1Scroll 20s linear infinite;
  -webkit-animation: gallery1Scroll 20s linear infinite;
}
#gallery2 {
  margin-left: -50%;
  animation: gallery2Scroll 25s linear infinite;
  -webkit-animation: gallery2Scroll 25s linear infinite;
}

.about-us {
  gap: 10rem;
}
.about-us-img {
  width: 40%;
}
.about-us img {
  aspect-ratio: 1;
  width: 100%;
  /* border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%; */
}

.subscribe div {
  width: 100%;
  height: 20rem;
  position: relative;
}
.subscribe img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  filter: brightness(0.6);
  -webkit-filter: brightness(0.6);
}
.subscribe h1 {
  color: var(--light);
  text-align: center;
}
.subscribe input {
  margin-left: 3rem;
  width: 30rem;
}
footer {
  border-top: 1px solid var(--midtone);
  border-bottom: 1px solid var(--midtone);
}
footer .flex-col,
footer .flex-row {
  gap: 0.8rem;
}
footer .fab {
  color: var(--accent);
  font-size: 1.5rem;
}
footer p {
  max-width: 22rem;
}
footer a:hover {
  color: var(--accent);
}
.text-center,
.copyright {
  text-align: center;
}
.copyright {
  padding: 1rem 8rem;
}
.breadcrumb {
  gap: 0.5rem;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span:last-child {
  font-weight: bold;
}
.preview {
  margin-top: 4%;
  gap: 5rem;
}
.preview img {
  cursor: pointer;
}
.main-preview {
  width: 28rem;
  display: flex;
}
.main-preview .img-con {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.img-con img {
  object-fit: cover;
  width: 100%;
}
.img-con img:hover {
  scale: 1.1;
}
.preview-description {
  margin-top: 2rem;
  width: 25rem;
}
.main-preview,
.sub-preview,
.preview-description,
.size {
  gap: 1rem;
}
.sub-preview > img {
  width: 22%;
  object-fit: cover;
}
.preview-description h3 {
  font-weight: normal;
}
.preview-description p {
  text-align: justify;
}
.size button {
  min-width: 3rem;
}
.qty {
  border: 1px solid var(--midtone);
  padding: 0.8rem;
}
.qty button,
.qty input {
  background-color: #fff;
  border: none;
  padding: 0;
}
.qty input {
  width: 3rem;
  text-align: center;
}
.qty button {
  display: flex;
  align-items: center;
}
.description-btns {
  gap: 1rem;
}
.description-btns .picked {
  border-bottom: 2px solid var(--accent);
}
.description-btns button {
  border: 2px solid transparent;
  background-color: transparent;
  padding: 1rem 0;
}
.description-btns button:hover {
  border-bottom: 2px solid var(--accent);
}
.description table {
  width: 100%;
}
.description table,
.description tr,
.description td,
.description th {
  border: 1px solid var(--midtone);
  border-collapse: collapse;
}
.description p,
.description table {
  margin-top: 2rem;
}
.description th {
  color: var(--accent);
}
.description td,
.description th {
  text-align: center;
  padding: 0.8rem 0;
}
#description,
#sizeChart {
  border-top: 1px solid var(--midtone);
}

.catalog-hero {
  height: 20rem;
  background-image: url(asset/img/hero/catalog-hero.jpg);
  background-position: center;
  background-size: cover;
  border-top: 4rem solid var(--light);
}
.categories-hero {
  background-image: url(asset/img/hero/categories-hero.jpg) !important;
}
.store-hero {
  background-image: url(asset/img/hero/store-hero.jpg) !important;
}
.catalog {
  padding-bottom: 8rem;
}
.catalog .cards {
  margin-top: 2.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.filter {
  top: 5.5rem;
  align-self: flex-start;
  position: sticky;
  min-width: 15rem;
}
.filter,
.filter ul {
  gap: 0.8rem;
}
.filter ul {
  margin-left: 1.5rem;
}
.filter h3 {
  display: flex;
  align-items: center;
}
.filter .bx {
  min-width: 1.5rem;
}
.filter input {
  accent-color: var(--accent);
  padding: 0.1rem;
}
.category-banner > div {
  width: 50%;
}
.category-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}
.category-text {
  gap: 1rem;
  padding: 4rem;
}
.category-text h1 {
  font-size: 5rem;
}
.category-to-catalog {
  gap: 1rem;
}

#signIn {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #00000099;
  z-index: 100;
}
#signIn > form {
  background-color: var(--light);
  padding: 3rem;
  min-height: 70%;
  width: 30rem;
  position: relative;
}
#signIn > form > div {
  gap: 1rem !important;
}
#signIn > form div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#signIn img {
  width: 50%;
}
#signIn button {
  z-index: 101;
}
form p a {
  color: var(--accent);
  cursor: pointer;
}
#signIn form i {
  top: 1rem;
  right: 1rem;
  position: absolute;
  font-size: 2rem;
  cursor: pointer;
}

@keyframes gallery1Scroll {
  0% {
    margin-left: 0%;
  }
  50% {
    margin-left: -75%;
  }
  100% {
    margin-left: 0%;
  }
}

@keyframes gallery2Scroll {
  0% {
    margin-left: -50%;
  }
  33% {
    margin-left: -75%;
  }
  66% {
    margin-left: 0%;
  }
  100% {
    margin-left: -50%;
  }
}
