/* Mat page: shared header, footer and components use style.css / category.css. */
.mat-page .ct-hero { min-height: 320px; padding: 30px 32px 32px; }
.mat-page .ct-breadcrumb { margin-bottom: 16px; gap: 5px; }
.mat-page .ct-breadcrumb a { padding: 0; border-radius: 0; }
.mat-page .ct-eyebrow { margin-bottom: 12px; font-size: 10px; }
.mat-page .ct-hero h1 { font-size: clamp(28px,3.2vw,42px); line-height: 1.35; margin-bottom: 12px; }
.mat-page .ct-hero-sub { font-size: 14px; margin-bottom: 16px; }
.mat-page .ct-hero-tags { margin-bottom: 0; gap: 6px; }
.mat-page .ct-hero-tags span { padding: 4px 11px; }
.mat-page .ct-main { max-width: 1200px; padding: 26px 32px 40px; }
.mat-page .ct-section { margin-bottom: 34px; scroll-margin-top: 90px; }
.mat-page .ct-section:last-child { margin-bottom: 0; }
.mat-page .ct-section-header { margin-bottom: 16px; padding-bottom: 12px; }
.mat-page .ct-section-title { font-size: clamp(20px,2vw,25px); line-height: 1.4; }
.mat-page .ct-section-badge { white-space: nowrap; }
.mat-page .ct-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.mat-page .ct-card { border-radius: 10px; }
.mat-page .ct-card:hover { transform: translateY(-2px); }
.mat-page .ct-card-body { padding: 15px; }
.mat-page .ct-card-name { font-size: 15px; line-height: 1.6; margin-bottom: 8px; overflow-wrap: anywhere; }
.mat-page .ct-card-size { font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.mat-page .ct-card-material { font-size: 12px; color: var(--pd-sub); line-height: 1.7; margin-bottom: 8px; }
.mat-page .mat-order-unit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 4px 0 6px; padding: 9px 10px; border: 1px solid #e7b34c; border-radius: 8px; background: #fff3d6; color: #8c3c0a; line-height: 1.5; }
.mat-page .mat-order-unit span { font-size: 11px; font-weight: 600; }
.mat-page .mat-order-unit strong { color: #9a3412; font-size: 18px; font-weight: 700; white-space: nowrap; }
.mat-page .ct-card-num { font-size: 11px; }
.mat-page .ct-card-price { padding-top: 8px; }
.mat-page .ct-card-btn-none { background: #edf1f4; color: #667986; border: 1px solid #dde5eb; font-size: 12px; }
.mat-page .ct-card-btn-detail { margin-bottom: 8px; }
.mat-page .mat-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 26px; }
.mat-page .mat-index a { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--pd-border); background: #fff; border-radius: 8px; padding: 12px 14px; color: var(--pd-sky-b); font-size: 13px; font-weight: 600; }
.mat-page .mat-index a:hover { background: #e4f1f7; }
.mat-page .mat-feature { max-width: 880px; margin: 0 auto 20px; }
.mat-page .mat-original { max-width: 960px; margin-inline: auto; }
.mat-page a:focus-visible, .mat-page button:focus-visible { outline: 3px solid #2799c2; outline-offset: 4px; }
.mat-page .sns-icon[aria-label="Instagram"] svg,
.mat-page .drawer-sns-icon[aria-label="Instagram"] svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 1000px) {
  .mat-page .ct-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .mat-page .ct-hero { min-height: 0; padding: 26px 20px 28px !important; }
  .mat-page .ct-hero-sub { font-size: 13px; }
  .mat-page .ct-hero-sub br { display: none; }
  .mat-page .ct-main { padding: 22px 16px 32px; }
  .mat-page .mat-index { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
  .mat-page .mat-index a { padding: 10px 12px; font-size: 12px; }
  .mat-page .ct-section { margin-bottom: 28px; }
  .mat-page .ct-section-header { flex-wrap: nowrap; gap: 10px; }
  .mat-page .ct-section-title { font-size: 18px; }
  .mat-page .ct-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .mat-page .ct-card-body { padding: 12px 10px; }
  .mat-page .ct-card-name { font-size: 13px; }
  .mat-page .ct-card-material { font-size: 11px; }
  .mat-page .ct-card-btn { font-size: 11px; padding: 10px 4px; letter-spacing: 0; }
  .mat-page .mat-original-copy { padding: 16px; }
  .mat-page .mat-original-copy p { font-size: 13px; }
  .mat-page .mat-original-copy .mat-original-note { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.mat-page) { scroll-behavior: auto; }
  .mat-page .fade-in { opacity: 1; transform: none; }
  .mat-page *, .mat-page *::before, .mat-page *::after { animation: none !important; transition: none !important; }
}
