.epson-specs-grouped {
  margin-top: 1rem;
}
.epson-spec-section {
  margin-bottom: 1.75rem;
}
.epson-spec-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}
.epson-spec-sheet {
  margin: 0;
}

/* Grouped specs replace flat list inside .epson-product-specs */
.epson-product-specs .data-sheet:not(.epson-spec-sheet) {
  display: none;
}

/* Marketing materials — Epson Neon accordion (Datasheets, Brochures, …) */
.epson-marketing-materials {
  margin-top: 0.25rem;
}
.epson-mkt-accordion {
  border: 1px solid #d9dee8;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.epson-mkt-panel + .epson-mkt-panel {
  border-top: 1px solid #d9dee8;
}
.epson-mkt-panel-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: #f4f6f9;
  color: #1a2b4a;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.epson-mkt-panel-header:hover,
.epson-mkt-panel-header.is-open {
  background: #eef2f8;
}
.epson-mkt-panel-title {
  flex: 1 1 auto;
}
.epson-mkt-panel-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7a90;
}
.epson-mkt-panel-toggle {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  flex: 0 0 auto;
}
.epson-mkt-panel-toggle::before,
.epson-mkt-panel-toggle::after {
  content: '';
  position: absolute;
  background: #1a2b4a;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.epson-mkt-panel-toggle::before {
  width: 12px;
  height: 2px;
}
.epson-mkt-panel-toggle::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.15s;
}
.epson-mkt-panel-header.is-open .epson-mkt-panel-toggle::after,
.epson-mkt-panel-header[aria-expanded="true"] .epson-mkt-panel-toggle::after {
  opacity: 0;
}
.epson-mkt-panel-body {
  padding: 0.5rem 0 0.75rem;
}
.epson-mkt-table-head,
.epson-mkt-row {
  display: grid;
  grid-template-columns: 1fr 90px 120px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 1rem;
}
.epson-mkt-table-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7a90;
  border-bottom: 1px solid #e6ebf2;
}
.epson-mkt-row {
  border-bottom: 1px solid #f0f3f8;
}
.epson-mkt-row:last-child {
  border-bottom: 0;
}
.epson-mkt-col-material {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}
.epson-mkt-pdf-icon {
  flex: 0 0 auto;
  color: #c62828;
  line-height: 1;
}
.epson-mkt-pdf-icon .material-icons {
  font-size: 2rem;
}
.epson-mkt-material-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.epson-mkt-name {
  font-weight: 600;
  color: #003399;
  font-size: 0.95rem;
  word-break: break-word;
}
.epson-mkt-desc {
  font-size: 0.85rem;
  color: #5f6f84;
  line-height: 1.35;
}
.epson-mkt-size {
  font-size: 0.78rem;
  color: #94a3b8;
}
.epson-mkt-col-type {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}
.epson-mkt-download-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: #003399;
  color: #fff !important;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  text-align: center;
  white-space: nowrap;
}
.epson-mkt-download-btn:hover {
  background: #002266;
  color: #fff !important;
}

@media (max-width: 767px) {
  .epson-mkt-table-head {
    display: none;
  }
  .epson-mkt-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .epson-mkt-col-type::before {
    content: 'Type: ';
    font-weight: 600;
  }
}

/* Hide flat PrestaShop Attachments tab when grouped Epson marketing tab is shown */
body.epson-has-marketing-materials .product-tabs a[href="#attachments"],
body.epson-has-marketing-materials #attachments {
  display: none !important;
}

body.epson-has-marketing-materials a[href="#attachments"],
body.epson-has-marketing-materials a[aria-controls="attachments"],
body.epson-has-marketing-materials li#headingattachments,
body.epson-has-marketing-materials #collapseattachments,
body.epson-has-marketing-materials .tab-pane#attachments,
body.epson-has-marketing-materials .card#attachments {
  display: none !important;
}
