:root {
  --ink: #333;
  --muted: #777;
  --light-muted: #999;
  --blue: #2f6fb3;
  --orange: #ff9d00;
  --line: #e7e7e7;
  --soft: #f7f7f7;
  --dark: #3a3a3a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.section-shell {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.site-header {
  border-top: 3px solid #1b1b1b;
  background: #fff;
}

.header-inner {
  width: 100%;
  max-width: 1300px;
  height: 72px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 132px;
  height: auto;
}

.main-nav {
  margin-left: 65px;
  display: flex;
  align-items: center;
  gap: 31px;
  white-space: nowrap;
}

.main-nav a {
  color: #666;
  font-size: 12px;
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 30px;
  margin-left: auto;
  padding: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #333;
}

/* Hero */
.hero {
  max-width: 1300px;
  margin: 0 auto;
  padding: 62px 20px 68px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 45px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #252525;
}

.hero p {
  margin: 18px 0 0;
  font-size: 20px;
  color: #666;
  letter-spacing: 1px;
}

.image-strip {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.image-strip img {
  width: 100%;
  height: auto;
}

/* Shared section heading */
.section-heading {
  padding-top: 45px;
  padding-bottom: 35px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 1px;
}

.section-heading h2 span {
  font-size: 21px;
  letter-spacing: 1px;
}

.section-heading p {
  margin: 13px 0 0;
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: .2px;
}

.section-heading > a {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 11px;
}

.section-heading > a:hover {
  text-decoration: underline;
}

/* Selection and install split rows */
.split-row {
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
  min-height: 560px;
}

.split-row.reverse {
  grid-template-columns: 53% 47%;
}

.split-media img {
  width: 100%;
  height: auto;
}

.split-copy {
  padding-left: 88px;
}

.split-copy h3 {
  margin: 0 0 22px;
  font-size: 23px;
  font-weight: 500;
}

.split-copy > p {
  margin: 0 0 62px;
  color: #888;
  font-size: 12px;
  line-height: 2;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 58px;
  row-gap: 38px;
  max-width: 430px;
}

.link-grid a,
.link-grid span {
  color: #2f6bb0;
  font-size: 12px;
}

.link-grid a {
  transition: color .2s ease;
}

.link-grid a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Data center */
.data-center {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.data-heading {
  padding-top: 4px;
  padding-bottom: 30px;
}

.with-lines {
  font-size: 23px;
  letter-spacing: 2px;
}

.subtitle-line {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.subtitle-line span {
  width: 105px;
  height: 1px;
  background: #333;
}

.subtitle-line p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
}

.data-center > img {
  width: 100%;
  height: auto;
}

/* Product tabs and grid */
.tabs-banner {
  width: 100%;
  height: auto;
}

.product-grid-wrap {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 42px 96px 62px;
  background: var(--soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 72px;
  row-gap: 48px;
}

.product-item {
  text-align: center;
}

.product-item img {
  width: 155px;
  height: 155px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-item:hover img {
  transform: translateY(-5px);
}

.product-item p {
  margin: 17px 0 0;
  color: #555;
  font-size: 12px;
  white-space: nowrap;
}

.carousel-arrow {
  position: absolute;
  top: 47%;
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-arrow.left {
  left: 44px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 15px solid #6aa7d9;
}

.carousel-arrow.right {
  right: 44px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #6aa7d9;
}

/* Wire rack detail */
.rack-detail {
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 20px 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 70px;
  align-items: center;
}

.rack-detail figure {
  margin: 0;
}

.rack-detail figure img {
  width: 100%;
  height: auto;
}

.detail-img-a {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.detail-img-d {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.detail-copy-b {
  grid-column: 2;
  grid-row: 1;
  padding-left: 48px;
  text-align: center;
}

.detail-copy-c {
  grid-column: 1;
  grid-row: 2;
  padding-right: 38px;
  text-align: center;
}

.detail-copy-b h3,
.detail-copy-c h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.dash {
  display: block;
  width: 38px;
  height: 1px;
  margin: 11px auto 14px;
  background: #666;
}

.detail-copy-b p,
.detail-copy-c p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

/* Mesh tray */
.mesh-tray {
  background: var(--soft);
}

.mesh-grid {
  max-width: 1150px;
  margin: 0 auto;
  padding: 35px 20px 70px;
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 28px;
  align-items: start;
}

.mesh-heading {
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.45;
}

.mesh-left-col img,
.mesh-center,
.mesh-right-col img {
  width: 100%;
  height: auto;
}

.mesh-right-col {
  display: grid;
  gap: 15px;
}

/* Concept */
/* News */
.news {
  padding-bottom: 80px;
}

.news-body {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 90px;
  align-items: start;
  padding: 0 60px;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-right: 2px solid #dedede;
  text-align: right;
}

.news-list li {
  padding: 10px 20px;
  color: #666;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
  transition: color .2s ease;
}

.news-list li:hover,
.news-list li.active {
  color: var(--blue);
}

.news-list a {
  display: block;
  color: inherit;
}

.news-visual a {
  display: block;
}

.news-list li:first-child {
  margin-right: -2px;
  border-right: 3px solid #5793d0;
  color: #2e6eb3;
}

.news-visual img {
  width: 100%;
  max-width: 455px;
}

/* Footer */
footer {
  background: #fff;
}

.footer-top {
  padding: 14px 20px;
  background: #2f2f2f;
  color: #b8b8b8;
  font-size: 11px;
  text-align: center;
}

.footer-main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 52px 20px 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 260px;
  gap: 35px;
}

.footer-col h4 {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 500;
}

.footer-col a {
  display: block;
  color: #777;
  font-size: 11px;
  line-height: 2.2;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-contact {
  text-align: left;
}

.footer-contact h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 400;
}

.footer-contact p {
  margin: 0 0 12px;
  color: #555;
  font-size: 19px;
  line-height: 1.55;
}

.online-btn {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid #ddd;
  color: #666;
  font-size: 11px;
}

.online-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  border-top: 1px solid #f0f0f0;
  color: #999;
  font-size: 10px;
  text-align: center;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 1150px) {
  .main-nav {
    margin-left: 35px;
    gap: 18px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .split-copy {
    padding-left: 50px;
  }

  .link-grid {
    column-gap: 30px;
  }

  .product-grid-wrap {
    padding-left: 70px;
    padding-right: 70px;
  }

  .product-grid {
    column-gap: 40px;
  }

  .news-body {
    padding: 0 20px;
    gap: 50px;
  }

  .footer-main {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 16px;
  }

  .split-row,
  .split-row.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 35px;
  }

  .split-row.reverse .split-copy {
    order: 1;
  }

  .split-row.reverse .split-media {
    order: 2;
  }

  .split-copy {
    padding-left: 20px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rack-detail {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }

  .detail-img-a,
  .detail-copy-b,
  .detail-copy-c,
  .detail-img-d {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
  }

  .mesh-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mesh-left-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
  }

  .mesh-heading {
    margin-bottom: 0;
  }

  .news-body {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .news-visual {
    text-align: center;
  }

  .news-visual img {
    margin: 0 auto;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
  }

  .brand img {
    width: 112px;
  }

  .main-nav {
    top: 64px;
  }

  .hero {
    padding: 42px 18px 48px;
  }

  .hero h1 {
    font-size: 25px;
    letter-spacing: 0;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .section-heading h2 span {
    font-size: 17px;
  }

  .subtitle-line span {
    width: 50px;
  }

  .subtitle-line p {
    font-size: 13px;
  }

  .product-grid-wrap {
    padding: 30px 24px 45px;
  }

  .product-grid {
    column-gap: 18px;
    row-gap: 32px;
  }

  .product-item img {
    width: 118px;
    height: 118px;
  }

  .product-item p {
    font-size: 11px;
    white-space: normal;
  }

  .carousel-arrow {
    display: none;
  }

  .mesh-grid,
  .mesh-left-col {
    grid-template-columns: 1fr;
  }

  .mesh-left-col {
    display: block;
  }

  .mesh-heading {
    margin-bottom: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact {
    text-align: center;
  }
}

/* About page */
.about-page {
  min-height: 560px;
  padding: 26px 50px 70px;
  background: #fff;
}

.about-content {
  max-width: 1040px;
  margin: 0 auto;
}

.about-content h1 {
  margin: 0 0 16px;
  padding-left: 25px;
  color: #333;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

.about-intro {
  margin: 0;
  padding-left: 35px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.95;
  text-align: justify;
}

.brand-red,
.product-red {
  color: #e60000;
}

.about-content h2 {
  margin: 42px 0 22px 10px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
}

.about-products p {
  margin: 0 0 28px;
  padding-left: 75px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.about-products p.product-sub {
  padding-left: 135px;
}

.about-products p:last-child {
  padding-left: 50px;
}

.active-footer {
  color: var(--blue);
}

@media (max-width: 860px) {
  .about-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-content h1 {
    padding-left: 0;
    font-size: 28px;
  }

  .about-intro {
    padding-left: 0;
    font-size: 15px;
  }

  .about-products p,
  .about-products p.product-sub,
  .about-products p:last-child {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .about-content h1 {
    font-size: 23px;
  }

  .about-intro,
  .about-products p {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* Contact page */
.contact-page {
  width: 100%;
  max-width: 1300px;
  min-height: 560px;
  margin: 0 auto;
  padding: 30px 70px 90px;
  background: #fff;
}

.contact-content {
  max-width: 646px;
}

.contact-content h1 {
  margin: 0 0 40px;
  color: #333;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
}

.contact-line {
  margin: 0 0 42px;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-line a {
  color: inherit;
  text-decoration: none;
}

.contact-phone {
  color: #e60000 !important;
}

.contact-phone-alt {
  padding-left: 52px;
}

@media (max-width: 860px) {
  .contact-page {
    padding: 30px 20px 70px;
  }

  .contact-content h1 {
    font-size: 28px;
  }

  .contact-line {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .contact-phone-alt {
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .contact-content h1 {
    font-size: 23px;
  }

  .contact-line {
    font-size: 14px;
  }
}

/* News listing page */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-page {
  width: 100%;
  max-width: 1200px;
  min-height: 720px;
  margin: 0 auto;
  padding: 30px 30px 90px 60px;
  background: #fff;
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 65px 70px;
}

.news-image {
  display: block;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: auto;
  transition: transform .3s ease;
}

.news-image:hover img {
  transform: scale(1.04);
}

.news-card h2 {
  margin: 14px 0 8px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.news-card h2 a:hover {
  color: var(--blue);
}

.news-card-date {
  margin-bottom: 12px;
  color: #999;
  font-size: 11px;
  text-align: right;
}

.news-card p {
  margin: 0;
  color: #777;
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .news-page {
    padding: 30px 20px 70px;
  }

  .news-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 30px;
  }
}

@media (max-width: 560px) {
  .news-card-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

/* Product category page */
.category-page {
  width: 100%;
  max-width: 1200px;
  min-height: 680px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  background: #f4f4f4;
}

.category-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 16px;
  padding: 8px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.category-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.category-list button:hover {
  color: #ff6a00;
  background: #fafafa;
}

.category-list button.active {
  color: #ff6a00;
  font-weight: 600;
  background: #fff1e8;
}

.cat-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chevron {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid #b5b5b5;
  border-bottom: 1.5px solid #b5b5b5;
  transform: rotate(45deg);
  transition: transform .2s ease, border-color .2s ease;
}

.category-list button.active .chevron {
  border-color: #ff6a00;
  transform: translateY(3px) rotate(225deg);
}

.category-main {
  min-width: 0;
}

.category-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.product-card[hidden] {
  display: none;
}

.product-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-thumbs {
  display: flex;
  gap: 6px;
  min-height: 38px;
  margin-top: 9px;
}

.product-thumbs img {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 4px;
  object-fit: cover;
}

.product-thumbs img.active {
  border-color: #ff6a00;
}

.product-title {
  margin: 10px 0 6px;
  min-height: 44px;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover {
  color: #ff5000;
}

.category-recommend {
  margin-top: 16px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.category-recommend h2 {
  margin: 0 0 16px;
  color: #222;
  font-size: 19px;
  font-weight: 600;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.recommend-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: #111;
}

.recommend-item h3 {
  margin: 8px 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.recommend-item h3 a {
  color: #444;
  text-decoration: none;
}

.recommend-item h3 a:hover {
  color: #ff5000;
}

.recommend-price {
  color: #ff5000;
  font-size: 15px;
  font-weight: 700;
}

.product-detail-price {
  margin: 0 0 18px;
  color: #ff5000;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.product-detail-price .yen {
  margin-right: 2px;
  font-size: 16px;
  font-weight: 500;
}

.product-detail-price .after {
  margin-left: 8px;
  color: #ff7a45;
  font-size: 12px;
  font-weight: 400;
}

.product-detail-price .buyers {
  margin-left: 10px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}

.product-spec-table {
  width: 100%;
  margin: 4px 0 28px;
  border-collapse: collapse;
  font-size: 14px;
}

.product-spec-table th,
.product-spec-table td {
  padding: 11px 14px;
  border: 1px solid #ececec;
  text-align: left;
  line-height: 1.6;
}

.product-spec-table th {
  width: 130px;
  color: #555;
  font-weight: 500;
  background: #fafafa;
}

.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 560px) {
  .product-detail-price {
    font-size: 25px;
  }

  .product-spec-table th,
  .product-spec-table td {
    padding: 9px 10px;
    font-size: 13px;
  }

  .product-spec-table th {
    width: 96px;
  }
}

@media (max-width: 980px) {
  .category-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .category-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-list button {
    padding: 13px 14px;
    font-size: 15px;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .category-page {
    padding: 18px 14px 60px;
  }

  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
    padding: 6px;
    overflow-x: auto;
  }

  .category-list {
    display: flex;
    gap: 4px;
    width: max-content;
  }

  .category-list li {
    flex: 0 0 auto;
  }

  .category-list button {
    width: auto;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
  }

  .chevron {
    display: none;
  }

  .category-products {
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .category-products {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 12px;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Success cases listing */
.cases-page {
  width: 100%;
  max-width: 1060px;
  min-height: 760px;
  margin: 0 auto;
  padding: 26px 20px 90px;
  background: #fff;
}

.cases-page h1 {
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ddd;
  color: #111;
  font-size: 24px;
  font-weight: 400;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 50px;
}

.case-image {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #fafafa;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.04);
}

.case-info {
  min-height: 140px;
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid #f0f0f0;
}

.case-info h2 {
  margin: 0;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.case-info h2 a {
  color: inherit;
  text-decoration: none;
}

.case-info h2 a:hover {
  color: var(--blue);
}

.case-date {
  margin-top: 38px;
  color: #999;
  font-size: 11px;
  text-align: right;
}

/* Case detail */
.case-detail-page {
  width: 100%;
  max-width: 900px;
  min-height: 620px;
  margin: 0 auto;
  padding: 30px 20px 90px;
  background: #fff;
}

.case-breadcrumb {
  margin-bottom: 22px;
  color: #999;
  font-size: 11px;
}

.case-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.case-breadcrumb a:hover {
  color: var(--blue);
}

.case-detail-page h1 {
  margin: 0 0 14px;
  color: #111;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.4;
}

.case-detail-date {
  margin-bottom: 28px;
  color: #999;
  font-size: 12px;
}

.case-detail-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 34px;
}

.case-detail-body h2 {
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
  font-size: 17px;
  font-weight: 500;
}

.case-detail-body p {
  margin: 0 0 20px;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.case-detail-back {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  border: 1px solid #ddd;
  color: #555;
  font-size: 12px;
}

.case-detail-back:hover {
  color: var(--blue);
  border-color: var(--blue);
}

@media (max-width: 860px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }

  .case-detail-hero {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .cases-page h1 {
    font-size: 20px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-detail-page h1 {
    font-size: 22px;
  }

  .case-detail-hero {
    height: 240px;
  }
}
