/* PET 01: a 50 cm wide × 40 cm high polished plaque. Only this model loads this file.
   The paw stays separate from the optional photograph and the single name. */
#so-config .sc-monument { width:100%; max-width:460px; }
#so-config .sc-stage { min-height:410px; padding:30px; background:#e8e2d8; }
#so-config .sc-plaque {
    max-width:none; width:100%; min-height:0; aspect-ratio:5/4;
    padding:9% 8%; justify-content:center; align-items:center;
    background:#11110f; box-shadow:4px 5px 0 #0b0b0a,12px 17px 25px #0003;
}
#so-config .sc-plaque:after {
    background:repeating-radial-gradient(circle at 20% 30%,#ffffff08 0 .4px,transparent .8px 4px);
    opacity:.45;
}
#so-config .sc-pet-paw { display:block; flex-shrink:0; width:36px; height:36px; margin:0 0 15px; }
#so-config .sc-name { display:flex; flex-direction:column; align-items:center; width:100%; margin:0; font-family:Georgia,serif; text-align:center; }
#so-config .sc-name > span { display:inline-block; white-space:nowrap; }
#so-config #sc-last-preview { display:none; }
#so-config .sc-dates { width:100%; margin:12px 0 0; text-align:center; letter-spacing:.08em; }
#so-config .sc-dates > span { display:inline-block; }
#so-config .sc-dates.sc-stack > span { display:block; }
#so-config .sc-text { width:100%; max-width:none; margin:14px 0 0; text-align:center; }
#so-config .sc-photo-frame {
    position:absolute; right:8%; top:50%; transform:translateY(-50%);
    width:28%; height:auto; aspect-ratio:4/5; margin:0;
}
#so-config .sc-photo-frame.sc-landscape { width:34%; height:auto; aspect-ratio:7/5; right:5%; }
#so-config .sc-plaque:has(.sc-photo-frame:not([hidden])) { align-items:flex-start; }
#so-config .sc-plaque:has(.sc-photo-frame:not([hidden])) .sc-pet-paw { margin-left:calc(27% - 18px); }
#so-config .sc-plaque:has(.sc-photo-frame:not([hidden])) :is(.sc-name,.sc-dates,.sc-text) { width:54%; }
/* A neutral photo placeholder avoids showing a human silhouette in a PET preview. */
#so-config .sc-photo-placeholder { background:#c5c0b6; }
#so-config .sc-photo-placeholder:before,#so-config .sc-photo-placeholder span { display:none; }
#so-config .sc-photo-placeholder:after { content:'Fotografia'; font:10px Arial,sans-serif; color:#47443f; }
#so-config .sc-engraved .sc-photo-placeholder:after { color:#d0d3d4; }
#so-config .sc-base-visual { width:110%; max-width:none; }
/* Preserve the real product gallery alongside this optional live preview. */
body:has(#so-config) .woocommerce-product-gallery { display:block; }
@media(max-width:520px) {
    #so-config .sc-stage { padding:20px; min-height:290px; }
    #so-config .sc-monument { padding-left:5px; padding-right:5px; }
    #so-config .sc-pet-paw { width:28px; height:28px; margin-bottom:10px; }
    #so-config .sc-plaque:has(.sc-photo-frame:not([hidden])) .sc-pet-paw { margin-left:calc(27% - 14px); }
    #so-config .sc-dates { margin-top:9px; }
    #so-config .sc-text { margin-top:10px; }
}
