/* =====================================================
   SAIXI — Products Catalogue Page
   ===================================================== */

/* ---- Page Shell ---- */
.pro-main {
  min-height: 100vh;
  background-color: #f5f8fc;
  background-image: url('../images/probg.png');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: repeat-y;
  font-family: "Inter", sans-serif;
}

.saixi-products-main {
  padding: 52px 0 100px;
}

.saixi-products-main .l-wrap {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
}

/* =====================================================
   LAYOUT: sidebar + content
   ===================================================== */
.saixi-products-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 3.5vw, 60px);
  align-items: start;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
/* =====================================================
   SIDEBAR & CATEGORIES (saixi-category-list)
   ===================================================== */
.saixi-products-sidebar {
  position: sticky;
  top: 28px;
  width: 270px;
  color: #0f172a;
}

.saixi-sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 0 4px 10px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid #1f72ee;
}

.saixi-sidebar-title em,
.saixi-sidebar-title i {
  color: #1f72ee;
  font-size: 0.9rem;
  font-style: normal;
}

.saixi-category-list {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.saixi-category-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.saixi-category-all:hover {
  background: #f1f5f9;
  color: #1f72ee;
  border-color: #cbd5e1;
}

.saixi-category-all.active {
  background: #1f72ee;
  color: #ffffff !important;
  border-color: #1f72ee;
  box-shadow: 0 4px 14px rgba(31, 114, 238, 0.25);
}

.saixi-category-group {
  position: relative;
  border-bottom: 1px solid #f1f5f9;
}

.saixi-category-group:last-child {
  border-bottom: none;
}

.saixi-category-title {
  position: relative;
  margin: 2px 0;
}

.saixi-category-title a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.saixi-category-title a:hover {
  color: #1f72ee;
  background: #f8fafc;
}

.saixi-category-group.active > .saixi-category-title a {
  background: #1f72ee;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(31, 114, 238, 0.22);
}

.saixi-category-group.is-open > .saixi-category-title a {
  color: #1f72ee;
}

/* Category +/- Toggle Button */
.saixi-category-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.saixi-category-toggle::before,
.saixi-category-toggle::after {
  position: absolute;
  content: '';
  background: #475569;
  border-radius: 1px;
  transition: all 0.2s ease;
}

.saixi-category-toggle::before {
  width: 9px;
  height: 2px;
}

.saixi-category-toggle::after {
  width: 2px;
  height: 9px;
  transform: rotate(0deg);
}

.saixi-category-group.is-open .saixi-category-toggle::after,
.saixi-category-group.active .saixi-category-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.saixi-category-group.active .saixi-category-toggle {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
}

.saixi-category-group.active .saixi-category-toggle::before {
  background: #ffffff;
}

/* Subcategory List */
.saixi-category-group > ul {
  display: none;
  margin: 4px 0 6px 14px;
  padding: 4px 0 6px 12px;
  border-left: 2px solid #e2e8f0;
  list-style: none;
}

.saixi-category-group.is-open > ul,
.saixi-category-group.active > ul {
  display: block;
}

.saixi-category-group li a {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.saixi-category-group li a:hover {
  color: #1f72ee;
  background: #f8fafc;
}

.saixi-category-group li a.active {
  color: #1f72ee !important;
  font-weight: 700;
  background: #eff6ff;
}

/* Sidebar Inquiry Form */
.saixi-sidebar-form {
  margin-top: 24px;
  padding: 22px 18px 24px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.saixi-sidebar-form h2 {
  margin: 0;
  color: #1f72ee;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.saixi-sidebar-form__line {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 8px 0 16px;
  background: #1f72ee;
  border-radius: 999px;
}

.saixi-sidebar-inquiry {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.saixi-sidebar-inquiry label {
  display: flex;
  align-items: center;
  min-height: 42px;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.saixi-sidebar-inquiry label i {
  width: 16px;
  flex: 0 0 16px;
  color: #94a3b8;
  font-size: 0.82rem;
  text-align: center;
  transition: color 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.saixi-sidebar-inquiry label.is-textarea {
  align-items: flex-start;
  padding-top: 10px;
}

.saixi-sidebar-inquiry input,
.saixi-sidebar-inquiry textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  color: #0f172a;
  background: transparent;
  font-size: 0.82rem;
  font-family: inherit;
}

.saixi-sidebar-inquiry input {
  height: 38px;
}

.saixi-sidebar-inquiry textarea {
  min-height: 96px;
  padding: 4px 0;
  resize: vertical;
}

.saixi-sidebar-inquiry input::placeholder,
.saixi-sidebar-inquiry textarea::placeholder {
  color: #94a3b8;
}

.saixi-sidebar-inquiry label:focus-within {
  border-color: #1f72ee;
  box-shadow: 0 4px 18px rgba(31, 114, 238, 0.18);
  transform: translateY(-2px);
}

.saixi-sidebar-inquiry label:focus-within i {
  color: #1f72ee;
  transform: scale(1.25) rotate(-10deg);
  filter: drop-shadow(0 2px 8px rgba(31, 114, 238, 0.4));
}

.saixi-sidebar-inquiry button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 4px;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  background: #1f72ee;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(31, 114, 238, 0.22);
  transition: all 0.25s ease;
}

.saixi-sidebar-inquiry button:hover {
  background: #155dfc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 114, 238, 0.32);
}

/* =====================================================
   CONTENT AREA & CATALOGUE (lists_product.htm)
   ===================================================== */
.pro-main {
  min-height: 100vh;
  background-color: #f8fafc;
  font-family: "Inter", sans-serif;
}

.saixi-products-main {
  padding: 48px 0 90px;
}

.saixi-products-main .l-wrap {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
}

.saixi-products-content {
  min-width: 0;
}

.saixi-products-intro {
  margin: 0 0 36px;
}

.saixi-products-intro h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}

.saixi-products-intro__line,
.saixi-product-category-head h3::after {
  width: 36px;
  height: 3px;
  margin-top: 14px;
  background: #1f72ee;
  border-radius: 999px;
}

.saixi-products-intro__line {
  display: block;
}

.saixi-products-intro p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Category section spacing */
.saixi-product-category {
  margin-bottom: 48px;
}

.saixi-product-category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.saixi-product-category-head h3 {
  position: relative;
  margin: 0;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.saixi-product-category-head h3::after {
  display: block;
  content: '';
}

.saixi-product-parent-tabs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.saixi-product-parent-tabs button {
  padding: 5px 14px;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.saixi-product-parent-tabs button.is-active {
  color: #ffffff;
  background: #1f72ee;
  border-color: #1f72ee;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(31, 114, 238, 0.22);
}

.saixi-product-parent-tabs button:focus-visible {
  outline: 2px solid #1f72ee;
  outline-offset: 2px;
}

.saixi-product-filter-empty {
  margin: 24px 0 0;
  padding: 22px;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
}

/* =====================================================
   PRODUCT GRID & CARDS (lists_product.htm)
   ===================================================== */
.saixi-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saixi-product-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.saixi-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(31, 114, 238, 0.3);
}

.saixi-product-card[hidden],
.saixi-product-card.is-tag-hidden {
  display: none !important;
}

.saixi-product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  border-radius: 16px 16px 0 0;
  flex-shrink: 0;
}

.saixi-product-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.saixi-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.saixi-product-card:hover .saixi-product-img img {
  transform: scale(1.06);
}

.saixi-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(31, 114, 238, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.saixi-product-info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.saixi-product-info .title {
  display: block;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  flex: 1;
  transition: color 0.2s ease;
}

.saixi-product-info .title:hover {
  color: #1f72ee;
}

.saixi-product-bottom {
  display: block;
  margin-top: auto;
}

.saixi-product-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 14px 14px;
  display: none;
}

.saixi-product-tags span {
  padding: 3px 10px;
  border-radius: 999px;
  color: #1f72ee;
  background: rgba(31, 114, 238, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.saixi-product-bottom .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
  color: #1f72ee;
  border: 1.5px solid #1f72ee;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.saixi-product-bottom .more::after {
  content: '→';
  font-size: 0.9em;
  transition: transform 0.25s ease;
}

.saixi-product-bottom .more:hover {
  background: #1f72ee;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(31, 114, 238, 0.25);
}

.saixi-product-bottom .more:hover::after {
  transform: translateX(3px);
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.pro-d-main,
.saixi-product-detail-page {
  min-height: 100vh;
  background-color: #f8fafc;
  font-family: "Inter", sans-serif;
}

.saixi-product-detail-main {
  padding-top: 36px;
  padding-bottom: 90px;
}

.saixi-detail-breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 36px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 500;
}

.saixi-detail-breadcrumbs a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.saixi-detail-breadcrumbs a:hover {
  color: #1f72ee;
}

.saixi-detail-breadcrumbs i {
  margin-right: 6px;
  color: #94a3b8;
  font-size: 0.78rem;
}

.saixi-detail-back {
  display: inline-flex;
  align-items: center;
  color: #1f72ee !important;
  font-weight: 600;
  white-space: nowrap;
}

.saixi-detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: 56px;
}

.saixi-detail-photo {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.saixi-detail-photo img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.saixi-detail-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

.saixi-detail-summary h1 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.saixi-detail-info h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.15;
}

.saixi-detail-line {
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 0 20px;
  border-radius: 999px;
  background: #1f72ee;
}

.saixi-detail-summary p {
  margin: 0 0 32px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.65;
  max-width: 480px;
}

.saixi-detail-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.saixi-detail-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.saixi-detail-benefits span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #1f72ee;
  background: #e0f2fe;
  font-size: 1rem;
  flex-shrink: 0;
}

.saixi-detail-benefits strong,
.saixi-detail-benefits em {
  display: block;
  font-style: normal;
  line-height: 1.3;
}

.saixi-detail-benefits strong {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
}

.saixi-detail-benefits em {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.saixi-detail-info {
  margin-bottom: 32px;
}

.saixi-detail-panel {
  margin-top: 16px;
  padding: 36px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.saixi-detail-richtext {
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.65;
}

.saixi-detail-richtext > *:first-child {
  margin-top: 0;
}

.saixi-detail-richtext > *:last-child {
  margin-bottom: 0;
}

.saixi-detail-richtext h1,
.saixi-detail-richtext h2,
.saixi-detail-richtext h3,
.saixi-detail-richtext h4,
.saixi-detail-richtext h5,
.saixi-detail-richtext h6 {
  margin: 28px 0 14px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
}

.saixi-detail-richtext h1 {
  font-size: 1.6rem;
}

.saixi-detail-richtext h2 {
  font-size: 1.35rem;
}

.saixi-detail-richtext h3 {
  font-size: 1.1rem;
}

.saixi-detail-richtext p,
.saixi-detail-richtext ul,
.saixi-detail-richtext ol {
  margin: 0 0 16px;
}

.saixi-detail-richtext ul,
.saixi-detail-richtext ol {
  padding-left: 1.4em;
}

.saixi-detail-richtext li {
  margin-bottom: 8px;
}

.saixi-detail-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.saixi-detail-richtext table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.84rem;
}

.saixi-detail-richtext th,
.saixi-detail-richtext td {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}

.saixi-detail-richtext th {
  color: #0f172a;
  background: #f8fafc;
  font-weight: 800;
}

.saixi-detail-richtext td {
  color: #334155;
  font-weight: 500;
  background: #ffffff;
}

/* Media queries for Product Detail Page */
@media (max-width: 900px) {
  .saixi-products-layout {
    grid-template-columns: 1fr;
  }

  .saixi-products-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 32px;
  }

  .saixi-detail-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .saixi-detail-photo {
    min-height: 320px;
    padding: 24px;
  }

  .saixi-detail-panel {
    padding: 28px 24px;
  }
}

@media (max-width: 640px) {
  .saixi-detail-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .saixi-detail-photo {
    min-height: 260px;
  }

  .saixi-detail-photo img {
    max-height: 240px;
  }

  .saixi-detail-summary h1 {
    font-size: 1.85rem;
  }
}

/* =====================================================
   INQUIRY FORM
   ===================================================== */
.protypefeedback {
  width: min(100% - 48px, 1100px);
  margin: 0 auto 80px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(20, 50, 100, .09);
  overflow: hidden;
  border: 1px solid rgba(210, 225, 245, .7);
}

.protypefeedback .l-wrap {
  width: 100%;
  margin: 0;
}

/* Top accent bar */
.inquiry-title {
  margin: 0;
  padding: 22px 40px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #1a6ddf 0%, #0d3fa0 100%);
}

/* Form body */
.wmkcfeedback {
  padding: 32px 40px 36px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-form textarea {
  grid-column: 1 / -1;
}

.inquiry-form button {
  grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid #d5e3f2;
  border-radius: 8px;
  background: #f7fafd;
  color: #152a4b;
  font: inherit;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  box-sizing: border-box;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #9fb0c8;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .1);
}

.inquiry-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.65;
}

.send-btn {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a6ddf 0%, #0d4fc0 100%);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 94, 239, .26);
  transition: transform .2s, box-shadow .2s;
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 94, 239, .38);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1280px) {
  .saixi-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .saixi-detail-hero {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, .86fr);
    gap: 40px;
  }

  .saixi-detail-photo {
    min-height: 440px;
  }

}

@media (max-width: 1100px) {
  .saixi-products-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }

  .saixi-detail-breadcrumbs {
    margin-bottom: 36px;
  }

  .saixi-detail-hero {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
  }

  .saixi-detail-summary {
    max-width: none;
  }

  .saixi-detail-summary p {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .saixi-products-main {
    padding-top: 32px;
  }

  .saixi-products-layout {
    grid-template-columns: 1fr;
  }

  .saixi-products-sidebar {
    position: static;
    padding: 0;
  }

  .saixi-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
  }

  .saixi-sidebar-card {
    display: none;
  }

  .saixi-detail-breadcrumbs {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .saixi-detail-photo {
    min-height: 300px;
    padding: 28px;
  }

  .saixi-detail-photo img {
    max-height: 280px;
  }

  .saixi-detail-summary h1 {
    font-size: 2.2rem;
  }

  .saixi-detail-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .saixi-detail-benefits li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .saixi-detail-benefits span {
    width: 38px;
    height: 38px;
  }

  .saixi-detail-panel {
    padding: 28px 20px;
  }

  .saixi-detail-richtext {
    overflow-x: auto;
  }

  .saixi-detail-richtext table {
    min-width: 560px;
  }

  .saixi-products-intro {
    margin-top: 16px;
  }

  .saixi-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .inquiry-form textarea,
  .inquiry-form button {
    grid-column: 1;
  }
}

@media (max-width: 480px) {
  .saixi-products-main .l-wrap {
    width: min(100% - 32px, 480px);
  }

  .saixi-products-intro__desktop-break {
    display: none;
  }

  .saixi-product-category-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .saixi-detail-benefits {
    grid-template-columns: 1fr;
  }

  .saixi-detail-richtext th,
  .saixi-detail-richtext td {
    padding: 12px 14px;
  }

  .protypefeedback .l-wrap > * {
    padding: 28px 24px;
  }
}

/* =====================================================
   PRODUCTS PAGE ANIMATION SYSTEM
   ===================================================== */

/* Dynamic Entrance Animations */
[data-animate="pop-in"] {
  opacity: 0;
  transform: scale(0.88) translateY(24px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.25, 1.35, 0.5, 1);
  will-change: opacity, transform;
}

[data-animate="pop-in"].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

[data-animate="fade-left"] {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-left"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-elastic"] {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.25, 1.25, 0.5, 1);
  will-change: opacity, transform;
}

[data-animate="slide-elastic"].is-visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="tilt-up"] {
  opacity: 0;
  transform: perspective(1000px) rotateX(16deg) translateY(40px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="tilt-up"].is-visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0deg) translateY(0);
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1), transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Micro-Interactions */
.saixi-product-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.saixi-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(31, 114, 238, 0.16);
  border-color: rgba(31, 114, 238, 0.35);
}

.saixi-product-img img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.saixi-product-card:hover .saixi-product-img img {
  transform: scale(1.08);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.14s !important; }
.delay-2 { transition-delay: 0.28s !important; }
.delay-3 { transition-delay: 0.42s !important; }
.delay-4 { transition-delay: 0.56s !important; }
