/* PETIT GAUDÍ · Sistema compartido de navegación y comienzo de fichas.
   Revisión en borrador. No modifica contenidos ni configuradores. */
body.pg2027-body .pg-site-header{
 border-bottom:1px solid #e4dbd0!important;
 box-shadow:0 2px 8px rgba(59,38,27,.035)!important;
}
body.pg2027-body .pg-menu a.is-current{
 color:#285068;
 position:relative;
}
body.pg2027-body .pg-menu a.is-current::after{
 content:"";
 position:absolute;
 left:0;right:0;bottom:-12px;
 height:2px;background:#285068;
}
body.pg2027-body .pg-mobile-nav nav a.is-current{
 color:#285068;
 border-left:3px solid #285068;
 padding-left:12px;
 font-weight:700;
}
/* Las fichas editoriales de producto no heredan el aire extra de
   las secciones genéricas. Migas y producto siguen en su contenedor. */
body.pg2027-body main.pg-section:has(> .pg-shell > .pg-product-breadcrumb){
 padding-top:0!important;
}
/* Final de fichas: el último bloque relacionado conserva un único
   espacio de salida antes del footer, sea cual sea la plantilla de producto. */
body.pg2027-body main.pg-medal-page:has(> .pg-context-pathways),
body.pg2027-body main.pg-stone-product:has(> .pg-context-pathways){
 padding-bottom:0!important;
}
body.pg2027-body :is(main.pg-product-page,main.pg-medal-page,main.pg-stone-product,main.pg-woo-standard) .pg-context-pathways:last-child{
 margin-bottom:clamp(38px,4.3vw,56px);
}
/* Fotografía principal de tienda: el Destakdo pertenece al soporte,
   nunca a una sombra duplicada en la propia imagen. */
body.pg2027-body :is(.pg-product-page,.pg-medal-page,.pg-stone-product,.pg-woo-standard) :is(.pg-product-main-image,.pg27-classic-gallery-main,.woocommerce-product-gallery .flex-viewport){
 background:#f4f1ea;
 border-radius:8px;
 box-shadow:var(--pg27-photo-shadow,0 3px 6px rgba(54,45,37,.035),0 19px 40px rgba(54,45,37,.085));
 overflow:hidden;
}
body.pg2027-body :is(.pg-product-page,.pg-medal-page,.pg-stone-product,.pg-woo-standard) :is(.pg-product-main-image img,.pg27-classic-gallery-current,.woocommerce-product-gallery .woocommerce-product-gallery__image img){
 box-shadow:none!important;
 object-position:center;
}
@media(max-width:1150px){
 body.pg2027-body .pg-menu a.is-current::after{bottom:-8px}
}
