@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;700&display=swap');

/* GLOBAL */
@page {
    margin: 0;
    size: A4 portrait;
    padding: 0;
}
/* GLOBAL */


/** PDF WRAPPER**/
.pagePDF{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.1rem;
    margin: 0 auto;
    overflow: hidden;
    page-break-inside: avoid !important;
}
.pagePDF *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.5;
}

.pagePDF img{
    display: block;
}

/* PDF WRAPPER */



/* DEFAULT LAST PAGE */

.defaultLastPage {
    height: 297mm;
    width: 210mm;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    text-align: center;
}

.defaultLastPage.blackPage{
   background-color: black; 
}


.defaultLastPage.blackPage *{
    color: white;
}

.defaultLastPage.whitePage{
   background-color: white; 
}


.defaultLastPage.whitePage *{
    color: black;
}


.defaultLastPage .defaultLastPageImageContainer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.defaultLastPage .defaultLastPageContent {
    flex: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-evenly;
    /*justify-content: space-around;*/
}

.defaultLastPage .defaultLastPageImageContainer img {
    height: 160px;
}

.defaultLastPageSocial .socialWithIcon {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* DEFAULT LAST PAGE */




/* PAGE SIMPLE PRODUCT */
.pageSimpleProduct__container {
    height: 297mm;
    width: 210mm;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    padding: 1rem 4rem 6rem 4rem;
}

/* Header */
.pageSimpleProduct__header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    height: 20mm;
}

/* Logo */
.pageSimpleProduct__logo{
    height: 100%;
    position: relative;
}
.pageSimpleProduct__logo img {
    height: 100%; 
    width: auto;
    position: absolute;
    top: 0; 
    left: 0; 
}

/* Artist Name */
.pageSimpleProduct__artist p {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
}

/* Body */
.pageSimpleProduct__body {
    flex: auto;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: calc(297mm - 20mm);
}

/* Image */
.pageSimpleProduct__artwork{
    height: 20%;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.pageSimpleProduct__imageContainer{
    height: 100%;
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center; 
}

.pageSimpleProduct__imageContainer .pageSimpleProduct__image{
  background-image:var(--bg-img);
  background-repeat:no-repeat;
  background-size:contain;
  background-position: center center;
  height: 80%
}


/* Image Caption */
.pageSimpleProduct__imageContainer .figcaption {
    font-size: 1rem;
    text-align: right;
    font-style: italic;
}




/* Title */
.pageSimpleProduct__title h2 {
    font-size: 2rem;
    font-weight: bold;
}

/* Artwork Info */
.pageSimpleProduct__info {
    display: flex;
    justify-content: space-between;
}


.pageSimpleProduct__info .pageSimpleProduct__specifics p{
    font-size: 1.2rem;
}

.pageSimpleProduct__info .pageSimpleProduct__specifics .pageSimpleProduct_onRequest{
    color: #dc3545;
    font-weight: bold;
}

/* Price */
.pageSimpleProduct__price {
    display: flex;
    flex-flow: column;
    justify-content: end;
    text-align:end;
    font-size: 1.2rem;
    text-wrap:nowrap;
}

/* Price with VAT */
.pageSimpleProduct__price {
    font-weight: bold;
}

/* Price without VAT */
.pageSimpleProduct__priceNoVAT {
    text-align: right;
    color: #777;
    font-weight: bold;
    font-style: italic;
}
/* PAGE SIMPLE PRODUCT */



/* PAGE CONFIGURABLE */
.pageConfigurableProduct__container {
    height: 297mm;
    width: 210mm;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    padding: 1rem 4rem 6rem 4rem;
}

/* HEADER STYLES */
.pageConfigurableProduct__container .pageConfigurableProduct__header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    height: 20mm;
}


.pageConfigurableProduct__container .pageConfigurableProduct__header .pageConfigurableProduct__logoContainer{
    height: 100%;
    position: relative;  
}

.pageConfigurableProduct__container .pageConfigurableProduct__header .pageConfigurableProduct__logoContainer img {
    height: 100%; 
    width: auto;
    position: absolute;
    top: 0; 
    left: 0; 
}


/* Artist Name */
.pageConfigurableProduct__container .pageConfigurableProduct__header .pageConfigurableProduct__artistName p {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
}

/* BODY STYLES */
.pageConfigurableProduct__container .pageConfigurableProduct__body {
    flex: auto;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    height: calc(297mm - 20mm);
}


.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__imageContainer{
    height: 80%;
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center; 
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__imageContainer .pageConfigurableProduct__image {
    background-image:var(--bg-img);
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center center;
    height: 100%;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__imageContainer figcaption {
    font-size: 1rem;
    text-align: right;
    font-style: italic;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent {
    display: flex;
    flex-direction: column;
    height: 20%;
    justify-content: center;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent .pageConfigurableProduct__artworkTitle h2 {
    font-weight: bold;
    text-align: center;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent .pageConfigurableProduct__artworkInfo {
    text-align: center;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent .pageConfigurableProduct__multiPriceContainer>div {
    display: flex;
    gap: 0.5rem;
}

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent .pageConfigurableProduct__multiPriceContainer p {
    font-size: 1.1rem;
}
    

.pageConfigurableProduct__container .pageConfigurableProduct__body .pageConfigurableProduct__artworkContent  .pageConfigurableProduct__table{
    border-collapse: separate;
    border-spacing: 0.5rem;
}


.pageConfigurableProduct__table tr td{
    padding : 0 0.5rem;
}
.pageConfigurableProduct__table tr td:not(:last-child){
   border-right: 2px solid #cecece;
}
/* PAGE CONFIGURABLE */



/** PAGE INTRO **/

    .pageCoverProduct__container {
        display: flex;
        flex-flow: column;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 297mm;
        width: 210mm;
        overflow: hidden;
        background-image:var(--bg-img);
    }


    .pageCoverProduct__container .pageCoverProduct__header{
        flex: 0 0 10%;
        display: flex;
        justify-content: end;
        margin: 0 1rem;
        /* Set the width of the container */
    }

    .pageCoverProduct__container .pageCoverProduct__header .pageCoverProduct__logoContainer::before {
        height: 100%;
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 67%;
        width: 33%;
        background-color: #FFA8D5;
        z-index: 1;
    }
    

    .pageCoverProduct__container .pageCoverProduct__header .pageCoverProduct__logoContainer{
        position: relative;
        width: 200px;
        display: flex;
        align-items: center;
    }

    .pageCoverProduct__container .pageCoverProduct__header .pageCoverProduct__logoContainer img {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 2;
    }
/*
    .headerPdf {
        flex: 0 0 10%;
        display: flex;
        justify-content: end;
        margin: 0 1rem;
    }*/



    .pageCoverProduct__container .pageCoverProduct__mainContent {
        flex: 1;
        display: flex;
        justify-content: center;
        width: 100%;
        align-items: center;
        align-items: end;
        margin-bottom: 150px;
    }

    .pageCoverProduct__container .pageCoverProduct__mainContent .pageCoverProduct__titlePDF {
        height: 100px;
        font-weight: bold;
        font-size: 3rem;
        background-color: #FFA8D5;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        color: black;
    }



/** PAGE INTRO **/




/**DIDA PAGE **/



.didaPage {
    height: 297mm;
    width: 210mm;
    background-color: white;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two cards per row */
    gap: 5mm;
    overflow: hidden;
    text-align: center;
    padding: 5mm;
}


  
  .didaCard {
    height: calc((297mm - 20mm) / 3); 
    box-sizing: border-box;
    box-shadow: inset 0 0 0 4px black;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 100%;

  }

  .didaCard .didaCardLogoContainer{
   display: flex;
   justify-content: center;
  }
  .didaCard .didaCardLogoContainer img{
    height: 50px;
  }


.didaCardLogoContainer {
    flex-shrink: 0; /* Allow it to take only its necessary space */
}
.didaCard .didaCardFooter {
    flex-shrink: 0; /* Same as above for the last div */
}
.didaCard .didaCardInfoContainer {
    flex-grow: 1; /* This makes the middle div grow to fill remaining space */
}

.didaCard .didaCardInfoContainer p{
 font-size: 1.1rem   
}

.didaCard .didaCardInfoContainer .didaCardArtistName{
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.didaCard .didaCardInfoContainer .didaCardProductName{
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.didaCard .didaCardInfoContainer .didaCardProductPrice{
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
  font-style: italic;
}
.didaCard .didaCardFooter  .didaCardFooterText{
    font-size: 0.75rem
}
/** DIDA PAGE**/




/** CERTIFICATE PAGE **/
 .cert-auth-page {
     width: 210mm;
     height: 297mm;
     background-color: white;
     position: relative;
 }

 .cert-auth-content {
     width: 100%;
     height: 100%;
     padding: 20mm;
     box-sizing: border-box;
     font-family: 'Bodoni Moda', serif;
 }

 .cert-auth-border-container {
     height: 100%;
     position: relative;
     display: flex;
     flex-direction: column;
 }

 .cert-auth-logo {
     text-align: center;
     margin-bottom: 20px;
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .cert-auth-logo img {
     height: 80px;
     margin-right: 10px;
 }

 .cert-auth-logo-text {
     font-size: 22px;
     letter-spacing: 1px;
 }

 .cert-auth-title {
     text-align: center;
     font-size: 24px;
     margin-bottom: 30px;
     letter-spacing: 2px;
     font-weight: 700;
 }

 .cert-auth-details {
     width: 100%;
     max-width: 450px;
     margin: 0 auto 30px;
 }

 .cert-auth-details div {
     display: flex;
     margin-bottom: 12px;
     border-bottom: 1px solid #ddd;
     padding-bottom: 4px;
     gap: 20px;
 }

 .cert-auth-label {
     width: 140px;
     font-weight: 600;
     text-wrap: nowrap;
     font-size: 1rem;
 }

 .cert-auth-value {
     flex-grow: 1;
     text-align: left;
     font-size: 1rem;
 }

 .cert-auth-artwork {
     text-align: center;
     margin: 20px 0;
 }

 .cert-auth-artwork figure {
     height: 300px;
     width: auto;
     background-image: var(--bg-img);
     background-repeat: no-repeat;
     background-size: contain;
     background-position: center center;
 }

 .cert-auth-legal {
     font-size: 10px;
     margin-top: 20px;
     text-align: center;
     padding: 0 30px;
     line-height: 1.5;
     font-style: italic;
 }

 .cert-auth-footer {
     text-align: center;
     margin-top: auto;
     padding-top: 15px;
     font-size: 1rem;
 }

 .cert-auth-frame-svg{
     position: absolute;
     background-image: url("../img/svg/pdfCertificateFrame.svg");
     width: 210mm;
     height: 297mm;
     background-repeat: no-repeat;
     background-position: center; 
     background-size: contain;
 }

 .cert-auth-footer-company{
     text-transform: uppercase;
 }


/** CERTIFICATE PAGE **/




/** INTRO ARTISTA PAGE **/

.dlc-page {
    height: 297mm;
    width: 210mm;
    display: flex;
    flex-flow: column;
    overflow: hidden;
    padding: 1rem 4rem 6rem 4rem;
}

.dlc-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    height: 20mm;
}

.dlc-logo {
    height: 100%;
    position: relative;
}

.dlc-artist-name p {
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
}


.dlc-logo img {
    height: 100%; 
    width: auto;
    position: absolute;
    top: 0; 
    left: 0; 
}


.dlc-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10mm;
    margin-bottom: 15mm;
    height: 80mm;
}

.dlc-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.dlc-hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dlc-hero-image img{
    height: 300px;
    width: 300px;
}

.dlc-main-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5mm;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.dlc-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5mm;
    margin-bottom: 10mm;
}

.dlc-column {
    padding-right: 5mm;
}


.dlc-column > * {
    text-align: justify;
}

.dlc-quote {
    margin-top: 10mm;
    font-style: italic;
}

.dlc-quote-author {
    margin-top: 5mm;
    text-align: right;
    font-style: normal;
}

.dlc-bold {
    font-weight: bold;
}

.dlc-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15mm;
}

.dlc-english-text {
    color: #5B9B98;
}

.dlc-english-text *{
    color: #5B9B98!important;
}

/** INTRO ARTISTA PAGE **/