/** Shopify CDN: Minification failed

Line 10:13 Expected identifier but found whitespace
Line 11:6 Unexpected "{"
Line 12:13 Expected ":"

**/
/* --- 1. CORE LAYOUT --- */
.mlyn--section {
  background: {
      {
      section.settings.bg_color
    }
  }

  ;
  position: relative;
  overflow: hidden;
}

.mlyn--wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 2. TITLE STYLES --- */
.mlyn--title-container {
  /* margin-bottom: 10px; */
  display: none;
  animation: fadeIn 0.4s ease;
}

.mlyn--title-container.active {
  display: block;
}

.mlyn--title-h1 {
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Teko', 'Teko', sans-serif;
  margin-bottom: 20px;
  text-align: left;
}

@media(max-width: 768px) {
  .mlyn--title-h1 {
    font-size: 28px;
    text-align: left;
  }
}

/* --- 3. CONTROLS ROW (BARIS 2: TABS + BUTTON) --- */
.mlyn--controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

/* --- DESKTOP TABS (Horizontal) --- */
.mlyn--tabs-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  padding: 5px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mlyn--tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-button {
  white-space: nowrap;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Teko', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #e5e7eb;
  background: #ffffff;
  color: #9ca3af;
}

/* Active State Desktop */
.tab-button.mlyn--tab-active {
  color: #ffffff !important;
  background: radial-gradient(86.72% 139.92% at 49.8% -62.97%, #8D8D8D 0%, #010103 100%);
  border: 2px solid transparent;
  transform: scale(1.02);
}

/* --- MOBILE DROPDOWN (Select Style) --- */
.mlyn--mobile-select-wrapper {
  display: none;
  /* Hidden on Desktop */
  position: relative;
  width: 100%;
  z-index: 20;
  /* Ensure dropdown appears on top */
}

.mlyn--select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* padding: 8px; */
  background: radial-gradient(86.72% 139.92% at 49.8% -62.97%, #8D8D8D 0%, #010103 100%);
  /* Glossy Black */
  color: #ffffff;
  margin-top: 4px;
  border-radius: 8px;
  font-family: 'Teko', sans-serif;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.mlyn--arrow-icon img {
  display: block;
  width: 14px;
  height: auto;
  transition: transform 0.3s ease;
  filter: invert(1);
  /* Memutihkan icon jika icon aslinya hitam */
}

/* Rotate arrow when open */
.mlyn--mobile-select-wrapper.open .mlyn--arrow-icon img {
  transform: rotate(180deg);
}

.mlyn--select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  display: none;
  overflow: hidden;
  flex-direction: column;
}

.mlyn--mobile-select-wrapper.open .mlyn--select-options {
  display: flex;
}

.mlyn--option-item {
  padding: 12px 20px;
  cursor: pointer;
  font-family: 'Teko', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: #333;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}

.mlyn--option-item:last-child {
  border-bottom: none;
}

.mlyn--option-item:hover {
  background: #f9fafb;
  color: #000;
}


/* --- SEE ALL BUTTON --- */
.mlyn--btn-container {
  display: none;
}

.mlyn--btn-container.active {
  display: block;
}

.mlyn--view-all {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 45px;
  background: #29abe2;
  color: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 5px 0px #1a6d99;
  font-family: 'Teko', sans-serif !important;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.1s ease;
  white-space: nowrap;
  position: relative;
  top: 0;
}

.mlyn--view-all:hover {
  filter: brightness(1.05);
}

.mlyn--view-all:active {
  transform: translateY(3px);
  box-shadow: 0px 1px 0px #1a6d99;
  top: 3px;
}

/* --- RESPONSIVE LOGIC --- */
@media(max-width: 768px) {
  .mlyn--controls-row {
    display: grid;
    grid-template-columns: 1fr auto;
    /* Select ambil sisa space, Button auto width */
    gap: 10px;
  }

  .mlyn--tabs-nav {
    display: none;
    /* Hide horizontal tabs on mobile */
  }

  .mlyn--mobile-select-wrapper {
    display: block;
    /* Show Select on mobile */
  }

  .mlyn--btn-container {
    width: auto;
    margin-top: 0;
  }

  .mlyn--view-all {
    width: auto;
    padding: 0 20px;
    height: 46px;
    /* Samakan tinggi dengan select trigger */
    font-size: 18px;
  }
}

/* --- 4. SLIDER & CARDS --- */
.mlyn--slider-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.mlyn--slider-panel.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.5s forwards;
}

.mlyn--scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-top: 10px;
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
}

.mlyn--scroll-container.active {
  cursor: grabbing;
}

.mlyn--scroll-container::-webkit-scrollbar {
  display: none;
}

/* Card Styles */
.mlyn--card {
  flex: 0 0 260px;
  position: relative;
  display: flex;
  flex-direction: column;
}

@media(min-width: 1024px) {
  .mlyn--card {
    flex: 0 0 22%;
  }
}

.mlyn--img-box {
  position: relative;
  width: 100%;
  padding-top: 110%;
  background: transparent;
  overflow: hidden;
  display: block;
}

.mlyn--img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.5s ease;
}

.mlyn--card:hover .mlyn--img-box img {
  transform: scale(1.05);
}

/* Price & Badge Strip */
.mlyn--bottom-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.mlyn--price-strip {
  background: linear-gradient(160deg, #3BB4EA -154%, #011F40 177%);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  font-family: 'Teko', sans-serif;
  line-height: 1;
  border-radius: 12px 12px 0 0;
  margin-bottom: -10px;
  align-items: center;
}

.mlyn--shipping-strip {
  background: #002244;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-family: 'Teko', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 12px 12px 0 0;
}

.mlyn--compare-price {
  text-decoration: line-through;
  opacity: 0.7;
  font-size: 18px;
}

.mlyn--current-price {
  font-size: 22px;
  font-weight: 700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}