
@page {
  size: A4;
  margin: 0;
}

.certificate-wrapper {
  width: 210mm;
  height: 297mm;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
}

.certificate-border {
  width: 100%;
  height: 100%;
  background: #fdfdf6;
  border: 20px solid #7a2b28;
  padding: 18mm 18mm 25mm 18mm;
  box-sizing: border-box;
  text-align: center;
  font-family: "Lora", serif;
  color: #4b2e1e;
  position: relative;
  overflow: hidden;
}

/* U-shaped cutout in the bottom border */
.certificate-border::after {
  content: "";
  position: absolute;
  bottom: -10px; /* same as border width */
  left: 50%;
  transform: translateX(-50%);
  width: 170px; /* diameter of cut */
  height: 85px; /* half height = U-shape */
  background: #fdfdf6; /* inner background of certificate */
  border-bottom-left-radius: 90px;
  border-bottom-right-radius: 90px;
  z-index: 5;
}
@media print {
  .certificate-border {
    width: 210mm !important;
   /* min-height: 297mm !important; */
    padding: 18mm 18mm 25mm 18mm !important;
    border-width: 20px !important;
    overflow: visible !important;
  }
}
.Artflute_logo-img{
  width: 147px;
  height: auto;
}
.border_line_img{
  width: 260px;
  
}
.certificate_text{
  font-size: 26px;
  font-family: "Lora", serif;
  font-weight: bold;
  color: #1d4d60;
  margin: 0px 0px;
}
 
.logo-img {
  height: 150px;
  display: block;
  margin: 0 auto -10px;
  background: #fdfdf6;
  border-radius: 50%;
  /* margin-bottom: 10px; */
}
 
.art-container {
  /* width: 200px; */
  height: 200px;
  margin: 8px auto;
  overflow: hidden;
  flex-shrink: 0;
}
 
.art-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* border: 4px solid #d7d4c9; */
}
 
 
.art-title {
  font-size: 24px;
  color: #8d2525;
  font-weight: 600;
  margin-bottom: 0px;
  font-family: "Lora", serif;
}
 
.artist-name {
  margin-bottom: 17px;
  font-size: 21px;
}
 
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid #a88f7d;
  margin: 15px auto;
  width: 90%;
  border-radius: 15px;
}
 
.cell {
  padding: 6px;
  font-size: 15px;
  border-bottom: 1px solid #a88f7d;
  border-right: 1px solid #a88f7d;
  font-family: "Lora", serif;
}
 
.details-grid .cell strong {
  color: #8d2525;
  font-weight: 400;
}
.cell:nth-child(2),
.cell:nth-child(4) {
  border-right: none;
}
.cell:nth-child(3),
.cell:nth-child(4) {
  border-bottom: none;
}
 
.edition-info {
  margin-top: 15px;
  font-size: 14px;
  font-family: "inter", sans-serif !important;
}
 
.desc p {
  margin: 3px 0;
  font-size: 14px;
  padding: 0rem 2.5rem;
  font-family: "inter", sans-serif !important;
}
 
.desc_1 p {
  color: #8d2525;
  margin-top: 10px;
  padding: 0rem 3.5rem;
  font-size: 14px;
  font-family: "inter", sans-serif !important;
}
.signature-area {
  margin-top: 75px;
}
 
.ceo-name {
  font-size: 15px;
    font-family: "Lora", serif;
}
 
.buyers-copy {
  margin-top: 10px;
  font-size: 13px;
  font-style: italic;
}
.seal-container {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
}
.seal-cut {
  position: absolute;
  width: 160px;
  height: 150px;
  background: #fdfdf6;
  border-radius: 50%;
  bottom: 0;
  z-index: 3;
}
 
.seal-container img {
  height: 150px;
  position: relative;
  z-index: 20;
  background: transparent;
}
 
@media print {
  body {
    margin: 0;
    padding: 0;
  }

  .certificate-wrapper {
    page-break-after: always;
  }

  .certificate-wrapper:last-child {
    page-break-after: auto;
  }
}

 