/* MAAT Electronics Product Details v1.1.0 — understated editorial layout */
/* Scope all rules to the independent product-details output, never the entire Woodmart tab. */
body.single-product #tab-description .maat-pd {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  color: #344253;
  font-size: 15px;
  line-height: 1.75;
  box-sizing: border-box;
}
#tab-description .maat-pd * { box-sizing: border-box; }

/* Shared hierarchy for Description, Specifications and Downloads. */
#tab-description .maat-pd .maat-pd__heading {
  margin: 0 0 17px;
  color: #1c3045;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.012em;
  text-align: left;
}
#tab-description .maat-pd .maat-pd__heading::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 10px;
  border-radius: 2px;
  background: #4d7fa9;
}

/* Product description: quiet, light backdrop; readable on a long technical text. */
#tab-description .maat-pd__description { padding: 0; }
#tab-description .maat-pd__description-content {
  padding: 19px 24px;
  color: #34465a;
  background: #f8fafc;
  border: 1px solid #e7edf3;
  border-left: 3px solid #a9c6de;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
  overflow-wrap: anywhere;
}
#tab-description .maat-pd__description-content :is(p,ul,ol,blockquote,table) {
  margin-top: 0;
  margin-bottom: 15px;
  line-height: inherit;
}
#tab-description .maat-pd__description-content :is(p,ul,ol,blockquote,table):last-child { margin-bottom: 0; }
#tab-description .maat-pd__description-content :is(h2,h3,h4,h5) {
  color: #203b54;
  letter-spacing: -.01em;
  line-height: 1.4;
  font-weight: 650;
  margin: 23px 0 11px;
}
#tab-description .maat-pd__description-content :is(h2,h3,h4,h5):first-child { margin-top: 0; }
#tab-description .maat-pd__description-content h2 { font-size: 19px; }
#tab-description .maat-pd__description-content h3 { font-size: 17px; }
#tab-description .maat-pd__description-content :is(h4,h5) { font-size: 15px; }
#tab-description .maat-pd__description-content :is(ul,ol) { padding-inline-start: 22px; }
#tab-description .maat-pd__description-content li { margin-bottom: 5px; padding-inline-start: 2px; }
#tab-description .maat-pd__description-content li::marker { color: #4978a0; }
#tab-description .maat-pd__description-content strong { color: #203b54; font-weight: 650; }
#tab-description .maat-pd__description-content a { color: #225e9b; text-decoration: underline; text-underline-offset: 3px; }
#tab-description .maat-pd__description-content img { max-width: 100%; height: auto; border-radius: 5px; }
#tab-description .maat-pd__description-content blockquote {
  padding: 11px 17px;
  border-inline-start: 3px solid #95b8d8;
  background: #fff;
  border-radius: 0 4px 4px 0;
}
#tab-description .maat-pd__description-content table { display: block; max-width: 100%; overflow-x: auto; }

/* Imported WooCommerce attributes rendered as an accessible technical table. */
#tab-description .maat-pd__section { margin-top: 30px; }
#tab-description .maat-pd__table-wrap { border: 1px solid #e3e9ee; border-radius: 7px; overflow: hidden; }
#tab-description .maat-pd__table { width: 100%; table-layout: fixed; margin: 0 !important; border: 0; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
#tab-description .maat-pd__table tr { background: #fff; }
#tab-description .maat-pd__table tr:nth-child(odd) { background: #f0f5f8; }
#tab-description .maat-pd__table :is(th,td) {
  border: 0;
  border-bottom: 1px solid #e3e9ee;
  background: transparent;
  padding: 12px 15px;
  text-align: left;
  color: #3c4a58;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
#tab-description .maat-pd__table tr:last-child :is(th,td) { border-bottom: 0; }
#tab-description .maat-pd__table th { width: 45%; font-weight: 550; border-right: 1px solid #e3e9ee; color: #263b4c; }

/* Locally stored PDF files; original approved document icons. */
#tab-description .maat-pd__docs { margin-top: 33px; }
#tab-description .maat-pd__doc-list { padding: 0; margin: 0 0 12px; list-style: none; }
#tab-description .maat-pd__doc-list li { margin: 0; list-style: none; border-bottom: 1px solid #e8e8ea; }
#tab-description .maat-pd__doc-list li:first-child { border-top: 1px solid #e8e8ea; }
#tab-description .maat-pd__doc-list li::before { display: none; }
#tab-description .maat-pd__doc-list a { display: grid; grid-template-columns: 26px minmax(0,1fr) 85px; gap: 17px; align-items: center; min-height: 70px; padding: 12px 4px; color: #454545; text-decoration: none; font-size: 15px; line-height: 1.45; transition: background .15s; }
#tab-description .maat-pd__doc-list a:hover { background: #fafbfd; }
#tab-description .maat-pd__doc-list a:focus-visible { outline: 2px solid #1952b3; outline-offset: -2px; }
#tab-description .maat-pd__pdf-icon { width: 26px; height: 26px; object-fit: contain; border: 0; border-radius: 0; }
#tab-description .maat-pd__doc-name { min-width: 0; overflow-wrap: anywhere; font-weight: 400; }
#tab-description .maat-pd__doc-name small { display: block; font-size: 12px; color: #7c8791; margin-top: 3px; }
#tab-description .maat-pd__get { color: #1952b3; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
#tab-description .maat-pd__get img { width: 19px; height: 19px; object-fit: contain; }
@media (max-width: 600px) {
  body.single-product #tab-description .maat-pd { font-size: 14px; }
  #tab-description .maat-pd .maat-pd__heading { font-size: 18px; margin-bottom: 14px; }
  #tab-description .maat-pd__description-content { padding: 15px 15px 16px; font-size: 14px; line-height: 1.78; }
  #tab-description .maat-pd__table { font-size: 13px; }
  #tab-description .maat-pd__table :is(th,td) { padding: 10px 9px; }
  #tab-description .maat-pd__table th { width: 43%; }
  #tab-description .maat-pd__doc-list a { grid-template-columns: 25px minmax(0,1fr); gap: 10px; padding: 11px 3px; font-size: 14px; }
  #tab-description .maat-pd__get { grid-column: 2; justify-content: flex-end; }
}
