/* ==========================================================================
   Theme Colors
   ========================================================================== */
/*
320 (min width)
380 (max width)
480 (max width)
640 (max width)
768 (max width)
991 (max width)
1280 (max width)
1680 (max width)
*/
/* ==========================================================================
   Critical CSS - Above the Fold Styles
   ========================================================================== */
/* Core Foundation */
* {
  box-sizing: border-box;
}

:root {
  --app-height: 100%;
  --color-detail-tooltip-left: 50%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
  margin: 0;
  width: 100%;
}

body {
  margin: 0;
  width: 100%;
  font-family: "Graphik", sans-serif;
  font-weight: 500;
  font-size: 12px;
  overflow-x: hidden;
  display: none;
}
body.loaded {
  display: block;
}

/* Critical Header Styles */
header {
  position: sticky;
  width: 100%;
  z-index: 6;
  top: 0;
  font-weight: 600;
  font-size: 16px;
  height: 136px;
  background: #fff;
  opacity: 1;
  visibility: visible;
}

/* Main Content Layout */
main {
  opacity: 1;
  visibility: visible;
}

/* Category Filter Products - Critical Above-the-Fold */
.category-filter-products {
  --category-description-max-lines: 10;
  width: 100%;
  position: relative;
}
.category-filter-products .category-container {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
}
.category-filter-products .category-filter-products-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.category-filter-products .category-filter-products-content .category-details {
  position: relative;
  padding: 24px 0 24px 24px;
  width: 100%;
}
.category-filter-products .category-filter-products-content .category-details::after {
  content: "";
  display: block;
  clear: both;
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f8f7f4;
  z-index: -1;
}
.category-filter-products .category-filter-products-content .category-details .category-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.category-filter-products .category-filter-products-content .category-details .category-header .content {
  flex-grow: 1;
}
.category-filter-products .category-filter-products-content .category-details .category-header .content .title {
  color: #111c1c;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 0;
}
.category-filter-products .category-filter-products-content .category-details .category-header .content .desc {
  color: #111c1c;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  margin-top: 4px;
}
.category-filter-products .category-filter-products-content .category-details .category-header .image-box {
  width: 50%;
  aspect-ratio: 185/104;
  flex-shrink: 0;
  position: relative;
  background: #f0f0f0;
}
.category-filter-products .category-filter-products-content .category-details .category-header .image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.category-filter-products .category-filter-products-content .category-products {
  width: 100%;
  position: relative;
  margin-top: 32px;
}
.category-filter-products .category-filter-products-content .category-products .category-products-header {
  display: flex;
  align-items: center;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.category-filter-products .category-filter-products-content .category-products .category-products-header .category-products-title {
  color: #111c1c;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0;
}
.category-filter-products .category-filter-products-content .category-products .category-products-header .total-products {
  color: #111c1c;
  font-weight: bold;
  margin-right: 8px;
  font-size: 16px;
  line-height: 24px;
}
.category-filter-products {
  /* Toggle Sidebar Button - Critical for Mobile */
}
.category-filter-products .btn-toggle-sidebar {
  display: none;
  width: 190px;
  padding: 12px 16px;
  height: 48px;
  border-radius: 15px;
  background: #f8f7f4;
  color: #111c1c;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  position: relative;
  z-index: 4;
  border: none;
  cursor: pointer;
}
.category-filter-products {
  /* Loading Spinner - Critical for UX */
}
.category-filter-products .spinner {
  display: none;
  margin-bottom: 48px;
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.category-filter-products .spinner .loader {
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
}
.category-filter-products .spinner .loader div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 100px;
  height: 100px;
  border: 3px solid #000000;
  border-radius: 50%;
  animation: loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000000 transparent transparent transparent;
}
@keyframes loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Critical Responsive Breakpoints */
@media only screen and (max-width: 1200px) {
  .category-filter-products {
    --category-description-max-lines: 4;
  }
  .category-filter-products .category-container {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    padding: 0;
    max-width: 100%;
  }
  .category-filter-products .category-filter-products-content .category-details::after {
    content: unset;
  }
  .category-filter-products .category-filter-products-content .category-details {
    padding: 0;
  }
  .category-filter-products .category-filter-products-content .category-details .category-header {
    flex-direction: column-reverse;
  }
  .category-filter-products .category-filter-products-content .category-details .category-header .image-box {
    width: 100%;
    aspect-ratio: 185/104;
    margin-top: 0;
  }
  .category-filter-products .category-filter-products-content .category-details .category-header .content {
    padding: 0 32px;
  }
  .category-filter-products .category-filter-products-content .category-products {
    padding-inline: 32px;
    margin-top: 0;
  }
  .category-filter-products .category-filter-products-content .category-products .btn-toggle-sidebar:not(.mobile) {
    display: block;
  }
  header {
    height: 120px;
  }
}
@media only screen and (max-width: 744px) {
  .category-filter-products .category-filter-products-content .category-details .category-header .content {
    padding: 0 16px;
  }
  .category-filter-products .category-filter-products-content .category-products {
    padding: 0 16px 64px 16px;
  }
  header {
    height: 80px;
  }
}
/* Home Hero Component - for homepage critical path */
.home-hilight-slide-component {
  position: relative;
  height: calc(100vh - 136px);
  overflow: hidden;
  background: #f0f0f0;
}
.home-hilight-slide-component .slide-image {
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
}
.home-hilight-slide-component .slide-image .hilight-slide-item {
  height: calc(100vh - 136px);
}
.home-hilight-slide-component .slide-image .hilight-slide-item img,
.home-hilight-slide-component .slide-image .hilight-slide-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
  background: #f0f0f0;
}
.home-hilight-slide-component .slide-image .hilight-slide-item img.loaded,
.home-hilight-slide-component .slide-image .hilight-slide-item video.loaded {
  opacity: 1;
}

@media screen and (max-width: 1200px) {
  .home-hilight-slide-component {
    height: calc(100vh - 120px);
  }
  .home-hilight-slide-component .hilight-slide-item {
    height: calc(100vh - 120px);
  }
}
@media screen and (max-width: 744px) {
  .home-hilight-slide-component {
    height: calc(100vh - 80px);
  }
  .home-hilight-slide-component .hilight-slide-item {
    height: calc(100vh - 80px);
  }
}