/**
 * Ecab13 Print - size guide window (product page and editor)
 *
 * @author    Ecab13
 * @copyright Since 2026 Ecab13
 * @license   Commercial license - see the LICENSE.md file shipped with this module
 */
.ecab13print-sizeguide { margin: 8px 0;
}

.ecab13print-sizeguide-open {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; color: inherit; text-decoration: underline; text-underline-offset: 3px;
}

.ecab13print-sizeguide-open:hover { opacity: .75;
}

.ecab13print-sizeguide-modal {
  position: fixed; inset: 0; z-index: 300000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(12,14,20,.55);
}

.ecab13print-sizeguide-modal[hidden] { display: none;
}

.ecab13print-sizeguide-lock { overflow: hidden;
}

.ecab13print-sizeguide-box {
  width: 100%; max-width: 760px; max-height: 88vh; overflow: auto; padding: 20px 22px;
  border-radius: 16px; background: #fff; color: #1a1d2e; box-shadow: 0 16px 48px rgba(0,0,0,.28); text-align: left;
}

.ecab13print-sizeguide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;
}

.ecab13print-sizeguide-title { margin: 0; font-size: 1.1rem; font-weight: 700;
}

.ecab13print-sizeguide-close {
  border: 0; background: none; cursor: pointer; font-size: 1.7rem; line-height: 1; color: #6b7280;
}

.ecab13print-sizeguide-subtitle { margin: 18px 0 8px; font-size: .9rem; font-weight: 700;
}

.ecab13print-sizeguide-scroll { overflow-x: auto;
}

.ecab13print-sizeguide-table { width: 100%; border-collapse: collapse; font-size: .84rem;
}

.ecab13print-sizeguide-table th,
.ecab13print-sizeguide-table td { padding: 7px 9px; border: 1px solid #eceef1; text-align: center; white-space: nowrap;
}

.ecab13print-sizeguide-table thead th { background: #f7f8fa; font-weight: 700;
}

.ecab13print-sizeguide-table tbody th { background: #fafbfc; font-weight: 600; text-align: left;
}

.ecab13print-sizeguide-figure { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 12px;
}

.ecab13print-sizeguide-figure img { max-width: 220px; height: auto;
}

.ecab13print-sizeguide-figure p { flex: 1 1 220px; margin: 0; font-size: .8rem; line-height: 1.5; color: #4b5563;
}

.ecab13print-sizeguide-note { margin: 12px 0 0; font-size: .75rem; line-height: 1.5; color: #6b7280;
}

/* Line breaks of the texts of Printful kept. */
.ecab13print-sizeguide-lines { white-space: pre-line;
}
