/* 品類與行業場景訂製專頁共用樣式（/tshirt/、/polo/、/workwear/、/team/）
   沿用 v5 白底編輯部風格、森林深綠重點色與細線邊框，無浮誇漸層或自創呼吸動效。 */

.lp-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 28px 92px;
  color: #181b19;
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
}
.lp-page * {
  box-sizing: border-box;
}

.lp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: center;
  padding: 20px 0 52px;
  border-bottom: 1px solid #181b19;
}
.lp-kicker {
  margin: 0 0 12px;
  color: #4b5d50;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lp-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.lp-lead {
  margin: 0 0 22px;
  max-width: 42em;
  color: #465349;
  font-size: 16px;
  line-height: 1.8;
}
.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.lp-badges li {
  padding: 5px 11px;
  border: 1px solid #cfd8cc;
  border-radius: 999px;
  background: #f6f7f3;
  color: #2c4032;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}
.lp-btn-primary,
.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.lp-btn-primary {
  background: #2f4937;
  border: 2px solid #2f4937;
  color: #ffffff;
}
.lp-btn-primary:hover,
.lp-btn-primary:focus-visible {
  background: #1f3325;
  border-color: #1f3325;
  color: #ffffff;
}
.lp-btn-secondary {
  background: #ffffff;
  border: 2px solid #2f4937;
  color: #2f4937;
}
.lp-btn-secondary:hover,
.lp-btn-secondary:focus-visible {
  background: #f2f5f0;
  color: #1f3325;
}
.lp-page a:focus-visible,
.lp-page summary:focus-visible,
.lp-table-wrap:focus-visible {
  outline: 2px solid #2f4937;
  outline-offset: 4px;
}

.lp-hero-visual {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.lp-hero-visual figure {
  margin: 0;
  position: relative;
  border: 1px solid #d8dfd4;
  background: #f6f7f3;
  overflow: hidden;
}
.lp-hero-visual figure.is-square {
  aspect-ratio: 1 / 1;
}
.lp-hero-visual figure.is-portrait {
  aspect-ratio: 2 / 3;
}
.lp-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lp-hero-visual figure.is-portrait img {
  object-fit: cover;
  object-position: 50% 18%;
}
.lp-hero-visual figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dce2d8;
  color: #233328;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
}

.lp-section {
  padding: 56px 0;
  border-top: 1px solid #d8dfd4;
}
.lp-section:first-of-type {
  border-top: 0;
}
.lp-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: 28px;
}
.lp-section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}
.lp-num {
  color: #8c9a8f;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lp-section h2 {
  margin: 0;
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.lp-section-sub {
  margin: 0;
  max-width: 38em;
  color: #525f55;
  font-size: 15px;
  line-height: 1.75;
}

.lp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #cfd8cc;
  border-radius: 6px;
  background: #ffffff;
}
.lp-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  line-height: 1.65;
}
.lp-table th,
.lp-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e3e8e0;
  vertical-align: top;
}
.lp-table thead th {
  background: #f3f5ef;
  color: #1c2820;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.lp-table tbody tr:last-child td {
  border-bottom: 0;
}
.lp-table strong {
  color: #18261d;
  font-weight: 700;
}
.lp-table-note {
  margin: 12px 0 0;
  color: #5a675d;
  font-size: 13.5px;
  line-height: 1.7;
}

.lp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.lp-cards-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.lp-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #cfd8cc;
  background: #ffffff;
}
.lp-card-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f6f7f3;
  overflow: hidden;
  border-bottom: 1px solid #e3e8e0;
  text-decoration: none;
}
.lp-card-media.is-portrait {
  aspect-ratio: 3 / 4;
}
.lp-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-card-media.is-portrait img {
  object-fit: cover;
  object-position: 50% 18%;
}
.lp-card:hover .lp-card-media img {
  transform: scale(1.03);
}
.lp-card-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d8dfd4;
  color: #2f4937;
  font-size: 12px;
  font-weight: 700;
}
.lp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}
.lp-card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.lp-card-body p {
  margin: 0 0 16px;
  color: #4f5c52;
  font-size: 14px;
  line-height: 1.7;
}
.lp-card-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e6ebe3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.lp-price {
  color: #18261d;
  font-size: 17px;
  font-weight: 700;
}
.lp-price small {
  color: #5c685f;
  font-size: 12px;
  font-weight: 500;
  margin-left: 2px;
}
.lp-card-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2f4937;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lp-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lp-points li {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid #2f4937;
}
.lp-points span {
  display: inline-block;
  margin-bottom: 8px;
  color: #5a695e;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.lp-points h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}
.lp-points p {
  margin: 0;
  color: #4b584e;
  font-size: 14.5px;
  line-height: 1.8;
}
.lp-points a {
  color: #2f4937;
  font-weight: 600;
}

.lp-faq {
  border-top: 1px solid #cfd8cc;
}
.lp-faq-item {
  border-bottom: 1px solid #cfd8cc;
}
.lp-faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  min-height: 52px;
  padding: 16px 36px 16px 0;
  color: #18231b;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}
.lp-faq-item summary::-webkit-details-marker {
  display: none;
}
.lp-faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  top: 16px;
  color: #2f4937;
  font-size: 18px;
  font-weight: 500;
}
.lp-faq-item[open] summary::after {
  content: "−";
}
.lp-faq-body {
  padding: 0 0 20px;
  max-width: 62em;
  color: #49564c;
  font-size: 15px;
  line-height: 1.85;
}
.lp-faq-body p {
  margin: 0 0 10px;
}
.lp-faq-body p:last-child {
  margin-bottom: 0;
}
.lp-faq-body a {
  color: #2f4937;
  font-weight: 600;
}

.lp-closing {
  margin-top: 12px;
  padding: 32px;
  border: 1px solid #cfd8cc;
  background: #f4f6f1;
  display: grid;
  gap: 20px;
}
.lp-closing-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}
.lp-closing h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 750;
  line-height: 1.35;
}
.lp-closing p {
  margin: 0;
  max-width: 44em;
  color: #4b584e;
  font-size: 15px;
  line-height: 1.75;
}
.lp-cross-links {
  padding-top: 16px;
  border-top: 1px solid #dce2d8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: center;
}
.lp-cross-links span {
  color: #5c685f;
  font-size: 13.5px;
  font-weight: 700;
}
.lp-cross-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2f4937;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.lp-cross-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .lp-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-cards-grid.is-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .lp-page {
    padding: 20px 18px 64px;
  }
  .lp-hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 12px 0 36px;
  }
  .lp-lead {
    font-size: 15px;
  }
  .lp-section {
    padding: 38px 0;
  }
  .lp-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lp-closing {
    padding: 22px 18px;
  }
}

@media (max-width: 540px) {
  .lp-cards-grid,
  .lp-cards-grid.is-three {
    grid-template-columns: 1fr;
  }
  .lp-actions {
    width: 100%;
  }
  .lp-btn-primary,
  .lp-btn-secondary {
    flex: 1 1 auto;
    padding: 0 16px;
    font-size: 14px;
  }
  .lp-faq-item summary {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-btn-primary,
  .lp-btn-secondary,
  .lp-card-media img {
    transition: none !important;
  }
}
