/* Product attachments: presentation only; files and links remain native to PrestaShop. */
.tvproduct-description-tab .tvproduct-tab-block.tvproduct-tab-block-attachments {
  position: relative;
  margin-top: 14px !important;
  padding: 24px !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid rgba(7, 60, 94, .10) !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 30px rgba(7, 60, 94, .07) !important;
}

.tvproduct-description-tab .tvproduct-tab-block.tvproduct-tab-block-attachments::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #f86300;
}

.product-attachments__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.product-attachments__header-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #f86300;
  font-size: 24px;
  line-height: 1;
  background: rgba(248, 99, 0, .09);
  border: 1px solid rgba(248, 99, 0, .20);
  border-radius: 8px;
}

.product-attachments__title {
  margin: 0;
  color: #073c5e;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.product-attachments__intro {
  margin: 4px 0 0;
  color: #68788d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.tvproduct-tab-block-attachments .product-attachments {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-attachment-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #fff 62%);
  border: 1px solid rgba(7, 60, 94, .10);
  border-radius: 8px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-attachment-card:hover {
  border-color: rgba(7, 60, 94, .22);
  box-shadow: 0 10px 24px rgba(7, 60, 94, .08);
  transform: translateY(-1px);
}

.product-attachment-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #073c5e;
  font-size: 28px;
  line-height: 1;
  background: #fff;
  border: 1px solid rgba(7, 60, 94, .12);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(7, 60, 94, .06);
}

.product-attachment-card__content {
  min-width: 0;
}

.product-attachment-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 7px;
}

.product-attachment-card__type,
.product-attachment-card__size {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-attachment-card__type {
  color: #f86300;
  background: rgba(248, 99, 0, .09);
  border: 1px solid rgba(248, 99, 0, .18);
}

.product-attachment-card__size {
  gap: 4px;
  color: #68788d;
  background: #fff;
  border: 1px solid rgba(7, 60, 94, .10);
}

.product-attachment-card__size .material-icons {
  font-size: 13px;
  line-height: 1;
}

.product-attachment-card__title {
  margin: 0;
  overflow-wrap: anywhere;
  color: #073c5e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.product-attachment-card__description {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: #68788d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.product-attachment-card__download {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  background: #073c5e;
  border: 1px solid #073c5e;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(7, 60, 94, .15);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-attachment-card__download .material-icons {
  flex: 0 0 auto;
  font-size: 19px;
  line-height: 1;
}

.product-attachment-card__download:hover {
  color: #fff !important;
  background: #f86300;
  border-color: #f86300;
  box-shadow: 0 9px 20px rgba(248, 99, 0, .22);
}

.product-attachment-card__download:focus-visible {
  color: #fff !important;
  outline: 3px solid rgba(248, 99, 0, .30);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .tvproduct-description-tab .tvproduct-tab-block.tvproduct-tab-block-attachments {
    padding: 28px !important;
  }
}

@media (max-width: 767px) {
  .tvproduct-description-tab .tvproduct-tab-block.tvproduct-tab-block-attachments {
    padding: 20px 16px !important;
  }

  .product-attachments__header {
    align-items: start;
    margin-bottom: 16px;
  }

  .product-attachments__header-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .product-attachments__title {
    font-size: 16px;
  }

  .product-attachments__intro {
    font-size: 12px;
  }

  .product-attachment-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .product-attachment-card__icon {
    width: 46px;
    height: 46px;
    font-size: 25px;
  }

  .product-attachment-card__download {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }
}
