.product-pdfdocs {
  margin-top: 20px;
}

.product-pdfdocs__header h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-pdfdocs__group {
  margin-bottom: 15px;
}

.product-pdfdocs__group > .product-pdfdocs__group-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.product-pdfdocs__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-pdfdocs__item {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.product-pdfdocs__item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.product-pdfdocs__file-icon {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 28px;
  height: 34px;
  border: 2px solid #1b1b1b;
  border-radius: 4px;
  background: #fff;
  color: #1b1b1b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
  padding-bottom: 3px;
  overflow: hidden;
}

.product-pdfdocs__file-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 2px solid #1b1b1b;
  border-bottom: 2px solid #1b1b1b;
  transform: rotate(45deg);
}

.product-pdfdocs__item .product-pdfdocs__group-title {
  color: #2f3640;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
  min-width: 0;
}

.product-pdfdocs__actions {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.product-pdfdocs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: #2f3640;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.product-pdfdocs__btn--preview {
  background: #2f3640;
}

.product-pdfdocs__btn--preview:hover {
  background: #1f252d;
}

.product-pdfdocs__btn--download {
  background: #e63b16;
}

.product-pdfdocs__btn--download:hover {
  background: #c83213;
}

.product-pdfdocs__btn-icon {
  display: block;
  pointer-events: none;
}

.product-pdfdocs__btn-icon:not(.material-icons) {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-pdfdocs__btn-icon.material-icons {
  font-size: 20px;
  line-height: 1;
}

.product-pdfdocs__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.product-pdfdocs__modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.product-pdfdocs__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.product-pdfdocs__modal-dialog {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  margin: 40px auto;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-pdfdocs__modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

.product-pdfdocs__modal-frame {
  flex: 1;
  width: 100%;
  border: 0;
}

.product-pdfdocs__modal-fallback {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.product-pdfdocs-images {
  margin-top: 20px;
}

.product-pdfdocs-images__header h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.product-pdfdocs-images__doc {
  margin-bottom: 18px;
}

.product-pdfdocs-images__title {
  font-size: 16px;
  margin-bottom: 6px;
}

.product-pdfdocs-images__description {
  margin: 0 0 10px;
  color: #57606a;
}

.product-pdfdocs-images__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  gap: 12px;
}

.product-pdfdocs-images__item {
  margin: 0;
}

.product-pdfdocs-images__image {
  width: 100%;
  height: auto;
  display: block;
  /*border: 1px solid #e5e5e5;*/
  /*border-radius: 6px;*/
  /*background: #f5f5f5;*/
}

.product-pdfdocs-images__caption {
  font-size: 12px;
  color: #6b727a;
  margin-top: 6px;
}

.pdfdoc-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .product-pdfdocs__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-pdfdocs__actions {
    margin-top: 8px;
  }
  .product-pdfdocs__modal-dialog {
    height: 85vh;
    margin: 20px auto;
  }
}
