/* HSEALING.COM 鈥� Product Collection Template
   Source layout preserved; industrial brand styling only */

:root {
  --pc-accent: var(--hs-accent);
  --pc-accent-dark: var(--hs-accent-dark);
  --pc-accent-soft: var(--hs-accent-soft);
  --pc-accent-border: var(--hs-accent-border);
  --pc-accent-shadow: rgba(70, 124, 61, 0.11);
  --pc-title: var(--hs-title);
  --pc-text: var(--hs-text);
  --pc-text-light: #697469;
  --pc-border: var(--hs-border);
  --pc-bg: var(--hs-bg);
  --pc-bg-alt: var(--hs-bg-alt);
  --pc-card-shadow: var(--hs-shadow-card);
  --pc-card-shadow-hover: var(--hs-shadow-card-hover);
  --pc-font-base: var(--hs-font-base);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
.pc-page {
  width: 100%;
  font-family: var(--pc-font-base);
  color: var(--pc-text);
}
.pc-page ~ .page-header,
body.page-template-tpl-product-collection .page-header,
body.page-template-tpl-product-collection .entry-header,
body.page-template-tpl-product-collection .peflon-hero { display: none !important; }

/* Alternating section backgrounds via CSS classes */
.pc-section--white { background: #fff; }
.pc-section--alt   { background: var(--pc-bg-alt); }

.pc-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pc-center { text-align: center; }
.pc-mb-0 { margin-bottom: 0; }

/* Sections */
.pc-banner, .pc-definition, .pc-types, .pc-categories,
.pc-why, .pc-faq, .pc-related, .pc-support, .pc-contact { padding: 50px 0; }
.pc-banner { padding: 50px 0; }
.pc-types { padding-bottom: 20px; }
.pc-types + .pc-categories { padding-top: 20px; }
.pc-why { padding-bottom: 36px; }
.pc-why-block { padding: 36px 0; }
.pc-why + .pc-why-block { padding-top: 0; }
.pc-cat-dimension { padding: 50px 0; }

/* Headings */
.pc-container h2 {
  font-size: 34px; font-weight: 700; color: var(--pc-title);
  line-height: 1.22; margin: 0 0 16px; text-align: center;
  letter-spacing: -0.015em;
}
.pc-container h2 + .pc-richtext,
.pc-container h2 + .pc-prose,
.pc-container h2 + p { margin-bottom: 32px; }

.pc-cat-dimension h3 {
  font-size: 26px; font-weight: 700; color: var(--pc-title);
  margin: 0 0 12px; text-align: center;
  letter-spacing: -0.01em;
}
.pc-cat-dimension h3 + p,
.pc-cat-dimension h3 + .pc-prose { margin-bottom: 24px; }

/* Prose / Richtext */
.pc-prose, .pc-richtext {
  font-size: 16px; line-height: 1.7; color: var(--pc-text); text-align: left;
}
.pc-prose p, .pc-richtext p { margin: 0 0 1em; }
.pc-prose ul, .pc-prose ol, .pc-richtext ul, .pc-richtext ol { padding-left: 1.5em; margin: 0 0 1em; }
.pc-prose strong, .pc-richtext strong { font-weight: 700; color: var(--pc-title); }
.pc-prose a, .pc-richtext a { color: var(--pc-accent); text-decoration: none; }
.pc-prose a:hover, .pc-richtext a:hover { color: var(--pc-accent-dark); text-decoration: underline; }
.pc-richtext table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.pc-richtext th, .pc-richtext td { padding: 10px 14px; border: 1px solid var(--pc-border); text-align: left; }
.pc-richtext th { background: var(--pc-bg-alt); color: var(--pc-title); font-weight: 700; }
.pc-richtext li { margin-bottom: 0.3em; }

/* Buttons */
.pc-btn, .pc-btn-inquiry {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 28px; background: #fff;
  border: 1px solid var(--pc-accent); color: var(--pc-accent);
  border-radius: 5px; font-weight: 600; font-size: 14px; line-height: 1.35;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.pc-btn:hover, .pc-btn-inquiry:hover,
.pc-btn:focus-visible, .pc-btn-inquiry:focus-visible {
  background: var(--pc-accent); color: #fff;
}

/* 1. Banner */
.pc-banner__inner { display: flex; align-items: center; gap: 48px; }
.pc-banner__text { flex: 1 1 60%; }
.pc-banner__image { flex: 0 0 40%; max-width: 40%; }
.pc-banner__image img {
  width: 100%; height: auto; border-radius: 10px; aspect-ratio: 3/2; object-fit: cover; display: block;
  box-shadow: 0 16px 38px rgba(0,0,0,.1);
}
.pc-banner__text h1 {
  font-size: 46px; font-weight: 700; color: var(--pc-title); line-height: 1.18; margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.pc-banner__text .pc-prose,
.pc-banner__text .pc-richtext { color: var(--pc-text); margin-bottom: 24px; }

/* 4. Grid & Cards */
.pc-grid { display: grid; gap: 24px; }
.pc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.pc-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--pc-card-shadow); transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid var(--pc-border);
}
.pc-card:hover { transform: translateY(-2px); box-shadow: var(--pc-card-shadow-hover); }
.pc-card__image { width: 100%; }
.pc-card__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pc-card__body { padding: 20px; }
.pc-card__body h4 {
  font-size: 18px; font-weight: 700; color: var(--pc-title); margin: 0 0 8px; text-align: center;
  letter-spacing: -0.01em;
}
.pc-card__body .pc-prose,
.pc-card__body .pc-richtext { font-size: 14px; color: var(--pc-text-light); margin-bottom: 16px; line-height: 1.6; }
.pc-card__body .pc-btn,
.pc-card__body .pc-btn-inquiry {
  display: table;
  margin: 0 auto;
}

/* 5. Why Blocks */
.pc-why-block__inner { display: flex; align-items: center; gap: 40px; }
.pc-why-block__media { flex: 0 0 600px; max-width: 600px; display: flex; }
.pc-why-block__image { width: 100%; }
.pc-why-block__image img {
  width: 600px; max-width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; display: block;
  box-shadow: var(--pc-card-shadow);
}
.pc-why-block__video iframe {
  width: 600px; max-width: 100%; aspect-ratio: 3 / 2; border: 0; border-radius: 10px; display: block;
  box-shadow: var(--pc-card-shadow); background: #000;
}
.pc-why-block__text { flex: 1; }
.pc-why-block__text h4 {
  font-size: 22px; font-weight: 700; color: var(--pc-title); margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.pc-why-block__text p,
.pc-why-block__text .pc-richtext,
.pc-why-block__text .pc-prose { color: var(--pc-text); margin-bottom: 20px; }

/* 6. FAQ */
.pc-faq__list { max-width: 1140px; margin: 0 auto; }
.pc-faq__item {
  border: 1px solid var(--pc-border); border-radius: 10px; margin-bottom: 16px;
  overflow: hidden; background: #fff; transition: border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.pc-faq__item[open] { border-color: var(--pc-accent); }
.pc-faq__item:hover { box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.pc-faq__item summary {
  padding: 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background-color 0.22s ease, color 0.22s ease;
}
.pc-faq__item summary::-webkit-details-marker { display: none; }
.pc-faq__item summary h4 {
  font-weight: 700; font-size: 17px; color: inherit; margin: 0; padding: 18px 24px; flex: 1;
}
.pc-faq__item summary:hover,
.pc-faq__item[open] summary { background: var(--pc-accent-soft); color: var(--pc-text); }
.pc-faq__item summary::after {
  content: "+"; font-size: 24px; color: var(--pc-accent); font-weight: 300;
  transition: color 0.22s ease; flex-shrink: 0; margin-right: 24px;
}
.pc-faq__item summary:hover::after,
.pc-faq__item[open] summary::after { color: var(--pc-accent); }
.pc-faq__item[open] summary::after { content: "\2212"; }
.pc-faq__answer {
  padding: 20px 24px; font-size: 16px; line-height: 1.7; color: var(--pc-text);
  border-top: 1px solid var(--pc-border);
}

/* 7. Related Cards */
.pc-related-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--pc-card-shadow); transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid var(--pc-border);
}
.pc-related-card:hover { transform: translateY(-2px); box-shadow: var(--pc-card-shadow-hover); }
.pc-related-card__link { display: block; text-decoration: none; color: inherit; }
.pc-related-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pc-related-card h4 { padding: 16px 20px 8px; font-size: 17px; font-weight: 700; color: var(--pc-title); margin: 0; }
.pc-related-card .pc-learn-more,
.pc-support-card .pc-read-more {
  padding: 0 20px 16px; color: var(--pc-accent); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.pc-learn-more::after, .pc-read-more::after { content: "\2192"; }

/* 8. Support Cards */
.pc-support-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: var(--pc-card-shadow); transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid var(--pc-border);
}
.pc-support-card:hover { transform: translateY(-2px); box-shadow: var(--pc-card-shadow-hover); }
.pc-support-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pc-support-card h4 { padding: 16px 20px 8px; font-size: 17px; font-weight: 700; color: var(--pc-title); margin: 0; }
.pc-support-card .pc-prose {
  padding: 0 20px; font-size: 14px; color: var(--pc-text-light); line-height: 1.6; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 9. Contact */
.pc-contact__inner { display: flex; gap: 48px; align-items: start; }
.pc-contact__text { flex: 1 1 55%; }
.pc-contact__text h2 { text-align: left; }
.pc-contact__form { flex: 0 0 40%; }

/* Form */
.pc-form {
  background: #fff; padding: 24px 24px 18px; border-radius: 10px; border: 1px solid var(--pc-border);
  border-left: 4px solid var(--pc-accent); box-shadow: var(--pc-card-shadow);
}
.pc-form-row { display: flex; gap: 16px; }
.pc-form-field { margin-bottom: 14px; }
.pc-form-field--half { flex: 1; }
.pc-form-field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--pc-title); margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.pc-form-field label span { color: var(--pc-accent); }
.pc-form .pc-form-field input,
.pc-form .pc-form-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--pc-border);
  border-radius: 5px; background: #fff; font-size: 14px; color: var(--pc-title);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}
.pc-form .pc-form-field input:focus,
.pc-form .pc-form-field textarea:focus {
  border-color: var(--pc-accent); outline: none; box-shadow: 0 0 0 3px var(--pc-accent-shadow);
}
.pc-form-field textarea { min-height: 110px; resize: vertical; }
.pc-form .pc-btn {
  width: 100%; padding: 10px 20px; background: #fff; color: var(--pc-accent);
  border: 1px solid var(--pc-accent); border-radius: 5px; text-transform: none;
  letter-spacing: 0.06em; font-weight: 600;
}
.pc-form .pc-btn:hover,
.pc-form .pc-btn:focus-visible { background: var(--pc-accent); color: #fff; }
/* Responsive: Tablet */
@media (max-width: 992px) {
  .pc-banner, .pc-definition, .pc-types, .pc-categories,
  .pc-why, .pc-faq, .pc-related, .pc-support, .pc-contact { padding: 50px 0; }
  .pc-grid--3, .pc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .pc-faq__list { max-width: 100%; }
  .pc-banner__text h1 { font-size: 38px; }
  .pc-container h2 { font-size: 30px; }
}

@media (max-width: 768px) {
  .pc-banner__inner { flex-direction: column-reverse; }
  .pc-banner__text, .pc-banner__image { flex: 1 1 100%; max-width: 100%; }
  .pc-banner__text h1 { font-size: 32px; }
  .pc-container h2 { font-size: 26px; }
  .pc-why-block__inner { flex-direction: column; }
  .pc-why-block__media { flex: 1 1 100%; max-width: 100%; }
  .pc-why-block__image img, .pc-why-block__video iframe { width: 100%; }
  .pc-contact__inner { flex-direction: column; }
  .pc-contact__text, .pc-contact__form {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .pc-contact__form .pc-form { width: 100%; }
  .pc-form-row { flex-direction: column; gap: 0; }
  .pc-faq__item summary h4 { font-size: 15px; padding: 14px 18px; }
  .pc-faq__item summary::after { margin-right: 18px; }
}

@media (max-width: 576px) {
  .pc-banner, .pc-definition, .pc-types, .pc-categories,
  .pc-why, .pc-faq, .pc-related, .pc-support, .pc-contact { padding: 40px 0; }
  .pc-grid--3, .pc-grid--4 { grid-template-columns: 1fr; }
  .pc-grid { gap: 16px; }
  .pc-container { padding: 0 16px; }
  .pc-btn, .pc-btn-inquiry { width: 100%; }
}

@media print {
  .pc-btn-inquiry, form { display: none !important; }
  .pc-card, .pc-related-card, .pc-support-card { box-shadow: none !important; break-inside: avoid; }
}
