@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");
:root {
  --background: #ffffff;
  --primary-background: #f7f7f7;
  --secondary-background: #e6ebef;
  --primary: #0f5ace;
  --secondary: #4b4949;
  --tertiary: #003585;
  --primary-shade: #94b4e5;
  --secondary-shade: #fcefd5;
  --title: #f97316;
  --primary-font: "Zen Maru Gothic", serif;
  --secondary-font: "Comfortaa", serif;
}

body {
  font-family: var(--primary-font);
}
.nav-container {
  transition: 0.5s all ease;
}
.secondary-nav-container {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0 30px;
  height: 38px;
  color: white;
  border-bottom: 1px solid var(--primary-shade);
  font-family: var(--secondary-font);
  font-weight: 700;
  font-size: 14px;
  background: var(--tertiary);
}

.secondary-nav-wrapper {
  display: flex;
  justify-content: end;
  margin: auto;
  width: 1200px;
  max-width: 100%;
}

.secondary-nav-container .phone-icon {
  margin: 0 8px 0 0;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 30px;
  transition: 0.5s all ease;
}

.primary-nav-container {
  display: flex;
  align-items: center;
  /* padding: 24px 30px; */
  font-family: var(--secondary-font);
  height: 120px;
}

.primary-nav-wrapper {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  max-width: 100%;
  margin: auto;
}

.primary-nav-container .logo-container {
  width: 138px;
  height: 50px;
  display: flex;
}

.primary-nav-container .links-wrapper {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 40px;
}

.primary-nav-container .links-wrapper li {
  font-weight: 600;
  color: var(--tertiary);
  padding: 12px 0;
}

footer {
  padding: 0 30px;
}

footer .footer-container {
  width: 1200px;
  max-width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 80px 0 40px;
}

footer .logo-container {
  width: 138px;
  height: 50px;
  display: flex;
}

footer .social-links {
  color: var(--secondary);
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

footer .links-column {
  display: flex;
  flex-direction: column;
  width: 200px;
  max-width: 100%;
  gap: 16px;
  font-weight: 500;
}

footer .copyright-section {
  display: flex;
  justify-content: center;
  width: 1200px;
  max-width: 100%;
  margin: auto;
  padding: 20px 0;
}

.section-title-container {
  margin: 0 0 40px;
}
.section-title {
  font-size: 36px;
  font-weight: bold;
  font-family: var(--secondary-font);
}

.category-slider .category-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
  color: #4b4949;
  padding: 4px 8px;
}
.section-container {
  margin: 0 0 0;
  padding: 120px 30px 0;
}

.section-wrapper {
  width: 1200px;
  margin: auto;
  max-width: 100%;
}

.page-container {
  padding: 80px 80px 160px;
}

.page-title-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

.page-title {
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  font-family: var(--secondary-font);
  color: var(--tertiary);
  margin-bottom: 12px;
}

.page-subtitle {
  color: var(--title);
  font-weight: 700;
  line-height: 1;
  font-size: 20px;
}

.section-subtitle {
  font-weight: 500;
  line-height: 1.4;
  font-size: 16px;
}

.input-group {
  margin: 0 0 40px;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  height: 56px;
  padding: 16px;
  line-height: 1.8;
  letter-spacing: 0em;
  width: 100%;
}

textarea {
  border: 1px solid var(--tertiary);
  border-radius: 4px;
  height: 180px;
  padding: 16px !important;
  line-height: 1.8 !important;
  letter-spacing: 0em;
  width: 100%;
}

form label.form-label {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  max-width: calc(100% - 8px);
  color: var(--tertiary);
  margin: 0 0 16px 8px;
}

.required-label {
  border-radius: 4px;
  background: var(--primary);
  color: white;
  line-height: 1.7;
  margin: 2px 0 0 12px;
  padding: 0 5px;
  height: fit-content;
  font-size: 12px;
}

/* for slider in product detail page */
.gallery-section {
  /* flex: 1; */
  width: 500px;
}
.main-slider .slider-item {
  display: flex;
}
.main-slider img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.details-section {
  flex: 1;
  /* max-width: 500px; */
}

.main-slider {
  width: 100%;
  margin-bottom: 1rem;
}

.main-slider .slick-slide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-slider .slick-current {
  opacity: 1;
}

.main-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.custom-arrow {
  font-size: 20px;
  /* background-color: black; */
  position: absolute;
  color: var(--secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.custom-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.custom-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.thumbnail-slider {
  width: 100%;
  margin: 0 auto;
}

.thumbnail-item {
  /* padding: 0.5rem; */
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.thumbnail-slider .slick-current img {
  opacity: 1;
}

.nav-container .mobile-nav {
  display: none;
}

.mobile-nav-modal {
  position: fixed;
  right: 0;
  top: 0;
  height: 0;
  width: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transition: 0s;
}

.mobile-nav-modal.open {
  background: var(--primary);
  visibility: visible;
  height: 100vh;
  width: 280px;
  color: white;
  z-index: 100;
  opacity: 1;
  transition: 0.5s width ease-in-out;
}

.mobile-links-wrapper a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
}

@media screen and (max-width: 1024px) {
  .section-title {
    font-size: 32px;
  }
  .secondary-nav-container {
    padding: 0 30px;
  }
  .nav-container .links-wrapper {
    display: none;
  }
  .nav-container .mobile-nav {
    display: flex;
    color: var(--tertiary);
    align-items: center;
    gap: 30px;
    font-size: 18px;
  }

  .primary-nav-container {
    height: 80px;
  }

  .section-container {
    padding: 80px 30px 0;
  }

  .gallery-section {
    /* flex: 1; */
    width: 100%;
  }

  .thumbnail-item {
    height: 100px;
    display: flex;
  }
  .thumbnail-item img {
    height: 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 28px;
  }
  .page-container {
    padding: 24px 30px 96px;
  }
  .page-title-container {
    flex-direction: column;
    margin-bottom: 48px;
  }
  .page-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  .custom-prev {
    left: 0rem;
  }
  .custom-next {
    right: 0rem;
  }

  .section-container {
    padding: 60px 20px 0;
  }

  footer .links-column {
    width: 150px;
    max-width: 150px;
  }
  footer .footer-container {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 0;
  }
}

@media (max-width: 639px) {
  .section-container {
    padding: 60px 20px 0;
  }
  .section-title {
    font-size: 24px;
  }

  .page-container {
    padding: 32px 24px 80px;
  }
  footer .links-column {
    width: 100%;
    max-width: 100%;
  }
}

.word-break-all {
  word-break: break-all;
}
