/* GSEE product secondary category page. Scope only list_two.blade.php */
.gsee-category-sidebar-page {
  --gsee-red: #e6002d;
  --gsee-dark: #20242b;
  --gsee-text: #30343b;
  --gsee-muted: #666d78;
  --gsee-line: #e7e7e7;
  --gsee-soft: #f5f5f5;
  --gsee-card: #f1f1f1;
  padding: 1.2rem 0 24px;
  background: #fff;
  color: var(--gsee-text);
  overflow: visible;
}
.gsee-category-sidebar-page *,
.gsee-category-sidebar-page *::before,
.gsee-category-sidebar-page *::after { box-sizing: border-box; }
.gsee-category-sidebar-page a { color: inherit; text-decoration: none; }
.gsee-category-sidebar-page img { max-width: 100%; display: block; }

.gsee-category-container {
  width: min(1360px, calc(100vw - 72px));
  max-width: 1360px;
  margin: 0 auto;
}

.gsee-bread {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 42px;
  color: #6f747c;
  font-size: 14px;
}
.gsee-bread a {
  color: var(--gsee-red);
  transition: opacity .18s ease;
}
.gsee-bread a:hover { opacity: .72; }
.gsee-bread a::after {
  content: ">";
  margin-left: 9px;
  color: #8b9097;
}
.gsee-bread span { color: #2c3036; }

.gsee-category-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

/* left navigation */
.gsee-category-sidebar {
  position: sticky;
  top: 96px;
  z-index: 20;
}
.gsee-sidebar-title {
  margin-bottom: 24px;
  color: var(--gsee-dark);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}
.gsee-sidebar-nav {
  position: relative;
  padding-left: 0;
}
.gsee-sidebar-nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ededed;
}
.gsee-nav-group {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}
.gsee-first-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  color: #1f242b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition: color .18s ease;
}
.gsee-first-link::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--gsee-red);
  transition: height .2s ease;
}
.gsee-nav-group:hover > .gsee-first-link,
.gsee-nav-group.is-active-group > .gsee-first-link { color: var(--gsee-red); }
.gsee-nav-group:hover > .gsee-first-link::before,
.gsee-nav-group.is-active-group > .gsee-first-link::before { height: 52px; }
.gsee-first-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gsee-first-icon img { max-width: 42px; max-height: 50px; object-fit: contain; }
.gsee-first-link em,
.gsee-second-link em {
  margin-left: auto;
  color: var(--gsee-red);
  font-style: normal;
  font-weight: 700;
}

.gsee-second-list {
  display: none;
  padding: 7px 0 8px 58px;
}
.gsee-nav-group:hover .gsee-second-list,
.gsee-nav-group.is-active-group .gsee-second-list { display: block; }
.gsee-second-item {
  position: relative;
}
.gsee-second-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 2px 8px 2px 0;
  color: var(--gsee-red);
  font-size: 14px;
  line-height: 1.3;
  transition: color .18s ease, transform .18s ease;
}
.gsee-second-link:hover,
.gsee-second-item.is-current > .gsee-second-link {
  color: #b90024;
  transform: translateX(3px);
}

.gsee-third-flyout {
  position: absolute;
  left: calc(100% + 18px);
  top: 0;
  width: 360px;
  padding: 22px 30px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 50;
}
.gsee-second-item.has-third:hover .gsee-third-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.gsee-third-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  color: var(--gsee-red);
  font-size: 14px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(230,0,45,.08);
}
.gsee-third-link::after { content: "›"; margin-left: 10px; }
.gsee-third-link:last-child { border-bottom: 0; }
.gsee-third-link:hover { color: #a90021; }

/* right content */
.gsee-category-heading {
  max-width: 900px;
  margin-bottom: 46px;
}
.gsee-category-heading h1 {
  margin: 0;
  color: #2a2d32;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.04em;
}
.gsee-category-heading p {
  margin: 28px 0 0;
  color: #555b64;
  font-size: 19px;
  line-height: 1.7;
}
.gsee-category-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 52px 50px;
}
.gsee-category-card {
  display: block;
  background: #f0f0f0;
  transition: transform .22s ease, box-shadow .22s ease;
}
.gsee-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.gsee-card-img {
  height: 370px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: radial-gradient(circle at center, #ffffff 0%, #efefef 62%, #ededed 100%);
}
.gsee-card-img img {
  max-height: 315px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gsee-card-body {
  padding: 28px 38px 40px;
}
.gsee-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d7d7d7;
  color: #242830;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
}
.gsee-card-title em {
  color: var(--gsee-red);
  font-style: normal;
  font-weight: 700;
}
.gsee-card-body p {
  margin: 20px 0 0;
  color: #4e5560;
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.gsee-category-empty {
  padding: 44px;
  border: 1px solid #e8e8e8;
  background: #f7f7f7;
  color: #626973;
  font-size: 16px;
}
.gsee-category-empty p { margin: 0; }

@media (max-width: 1180px) {
  .gsee-category-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 42px; }
  .gsee-card-img { height: 310px; }
}
@media (max-width: 900px) {
  .gsee-category-sidebar-page { padding-top: 34px; }
  .gsee-category-container { width: calc(100vw - 30px); }
  .gsee-category-layout { grid-template-columns: 1fr; gap: 30px; }
  .gsee-category-sidebar { position: relative; top: auto; }
  .gsee-sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 18px;
    margin-bottom: 0;
    border: 1px solid #e7e7e7;
    background: #fff;
    cursor: pointer;
  }
  .gsee-sidebar-title::after { content: "+"; color: var(--gsee-red); font-size: 22px; }
  .gsee-category-sidebar.is-open .gsee-sidebar-title::after { content: "−"; }
  .gsee-sidebar-nav { display: none; padding: 16px 0 0; }
  .gsee-category-sidebar.is-open .gsee-sidebar-nav { display: block; }
  .gsee-third-flyout {
    position: static;
    width: auto;
    padding: 8px 0 8px 18px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .gsee-second-item.has-third:hover .gsee-third-flyout { display: block; }
  .gsee-category-heading h1 { font-size: 34px; }
  .gsee-category-heading p { font-size: 16px; margin-top: 18px; }
  .gsee-category-card-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .gsee-bread { margin-bottom: 24px; font-size: 12px; }
  .gsee-first-link { min-height: 52px; font-size: 14px; }
  .gsee-second-list { padding-left: 52px; }
  .gsee-card-img { height: 230px; padding: 22px; }
  .gsee-card-body { padding: 22px; }
  .gsee-card-title { font-size: 18px; }
}
