:root {
  --prodBg: #f7f7f7;
  --prodBorder: #e5e5e5;
  --prodText: #3f3f3f;
  --prodMuted: #666666;
}

/* ========== Category ========== */
.cat_hero,
.prod_hero {
  margin-top: 70px;
  padding: 48px 0 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  border-bottom: 1px solid var(--prodBorder);
}

.cat_label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #3f3f3f;
  background: #fff;
  border: 1px solid #5a5a5a;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.cat_title,
.prod_title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--prodText);
  margin-bottom: 14px;
}

.cat_desc,
.prod_summary {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--prodMuted);
}

.cat_products,
.prod_features,
.prod_points,
.prod_siblings,
.prod_notice,
.cat_guide {
  padding: 70px 0;
}

.cat_section_head {
  margin-bottom: 32px;
}
.cat_section_head h3,
.sec_title {
  font-size: 28px;
  font-weight: 800;
  color: var(--prodText);
  margin-bottom: 8px;
}
.cat_section_head p {
  color: var(--prodMuted);
  font-size: 16px;
}

.product_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product_grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.product_card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--prodBorder);
  border-radius: 4px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product_card a:hover {
  transform: translateY(-3px);
  border-color: #5a5a5a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.product_badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #5a5a5a;
  border-radius: 2px;
}
.product_name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--prodText);
  margin-bottom: 10px;
}
.product_short {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--prodMuted);
  margin-bottom: 18px;
}
.product_more {
  font-size: 14px;
  font-weight: 700;
  color: #3f3f3f;
}
.product_more i {
  margin-left: 6px;
  font-size: 12px;
  transition: transform .2s;
}
.product_card a:hover .product_more i {
  transform: translateX(4px);
}

.cat_guide_box {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  padding: 36px;
  background: #5a5a5a;
  border-radius: 8px;
  color: #fff;
}
.cat_guide_box h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cat_guide_box ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat_guide_box li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.cat_guide_box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.cat_guide_box .cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
}
.cat_guide_box .cta p {
  font-size: 18px;
  font-weight: 700;
}
.btn_consult,
.btn_primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: #fff;
  color: #3f3f3f;
  font-weight: 800;
  border-radius: 4px;
  transition: transform .2s, opacity .2s;
}
.btn_consult:hover,
.btn_primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.btn_ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 1px solid #5a5a5a;
  border-radius: 4px;
  font-weight: 700;
  color: var(--prodText);
  background: #fff;
}

/* ========== Product detail ========== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--prodMuted);
}
.breadcrumb a {
  color: #3f3f3f;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prod_hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.prod_hero .btn_primary {
  background: #5a5a5a;
  color: #fff;
}

.page_product .prod_form_top,
.page_category .prod_form_top {
  transform: none;
  padding: 28px 0 40px;
  background: #fff;
  margin-top: -10px;
  position: relative;
  z-index: 2;
}

.feature_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature_list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
  background: var(--prodBg);
  border-radius: 4px;
  border: 1px solid var(--prodBorder);
}
.feature_list i {
  margin-top: 3px;
  color: #3f3f3f;
}
.feature_list span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--prodText);
}

.point_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.point_grid li {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--prodBorder);
  border-radius: 4px;
}
.point_grid h3 {
  font-size: 18px;
  font-weight: 800;
  color: #3f3f3f;
  margin-bottom: 10px;
}
.point_grid p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--prodMuted);
}

.notice_box {
  padding: 28px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.notice_box h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #3f3f3f;
}
.notice_box li {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 6px;
}

/* ========== Main page extras ========== */
.sc_categories {
  padding: 90px 0 70px;
  background: #fff;
}
.sc_categories .headline_area {
  margin-bottom: 40px;
}
.category_panels {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.category_panel {
  padding: 28px;
  background: var(--prodBg);
  border-radius: 6px;
  border: 1px solid var(--prodBorder);
}
.category_panel .panel_head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.category_panel .panel_head .left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.category_panel .panel_head .cat_icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid #5a5a5a;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.category_panel .panel_head .left .label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #3f3f3f;
  margin-bottom: 6px;
}
.category_panel .panel_head h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--prodText);
}
.category_panel .panel_head p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--prodMuted);
}
.category_panel .panel_head .link_all {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #3f3f3f;
  white-space: nowrap;
  border-bottom: 1px solid #5a5a5a;
}

.sc_why {
  padding: 80px 0;
  background: #5a5a5a;
  color: #fff;
}
.sc_why .headline {
  color: #fff;
}
.sc_why .sub_headline {
  color: rgba(255,255,255,0.72);
}
.why_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.why_grid li {
  padding: 24px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
}
.why_grid .num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  opacity: 0.7;
}
.why_grid h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.why_grid p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
}

.sc_process {
  padding: 80px 0;
  background: #fff;
}
.process_steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.process_steps li {
  position: relative;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--prodBorder);
  border-radius: 4px;
}
.process_steps .step {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: #5a5a5a;
  border-radius: 2px;
}
.process_steps h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--prodText);
}
.process_steps p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--prodMuted);
}

.sc_notice_main {
  padding: 0 0 80px;
}
.sc_notice_main .notice_row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}
.sc_notice_main .box {
  padding: 28px;
  border-radius: 4px;
  border: 1px solid var(--prodBorder);
  background: #fff;
}
.sc_notice_main .box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--prodText);
}
.sc_notice_main .box p,
.sc_notice_main .box li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--prodMuted);
}
.sc_notice_main .box li {
  margin-bottom: 6px;
  padding-left: 12px;
  position: relative;
}
.sc_notice_main .box li::before {
  content: '·';
  position: absolute;
  left: 0;
}
.sc_notice_main .box.accent {
  background: #5a5a5a;
  border-color: #5a5a5a;
  color: #fff;
}
.sc_notice_main .box.accent h3,
.sc_notice_main .box.accent li {
  color: #fff;
}
.sc_notice_main .box.accent li {
  color: rgba(255,255,255,0.85);
}


@media (max-width: 1023px) {
  .product_grid,
  .feature_list,
  .point_grid,
  .why_grid,
  .process_steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .cat_guide_box,
  .sc_notice_main .notice_row {
    grid-template-columns: 1fr;
  }
  .cat_title,
  .prod_title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .cat_hero,
  .prod_hero {
    margin-top: 60px;
    padding: 50px 0 36px;
  }
  .product_grid,
  .product_grid.compact,
  .feature_list,
  .point_grid,
  .why_grid,
  .process_steps {
    grid-template-columns: 1fr;
  }
  .category_panel .panel_head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cat_title,
  .prod_title {
    font-size: 26px;
  }
  .cat_section_head h3,
  .sec_title {
    font-size: 22px;
  }
}

@media (max-width: 430px) {
  .cat_hero,
  .prod_hero {
    margin-top: 50px;
  }
}
