/* Scoped to Inicio cards and product-view labels. Productos remains unchanged. */
html body.homepage .home-product .home-cart-button,html.dark body.homepage .home-product .home-cart-button,html body.homepage .home-product .home-cart-button:hover,html.dark body.homepage .home-product .home-cart-button:hover{background:#ffffff70!important;color:#382b31!important;border:0!important;box-shadow:none!important;border-radius:3px!important;backdrop-filter:blur(3px);filter:none!important}
html body.homepage .home-product .home-cart-button .icono-carrito,html.dark body.homepage .home-product .home-cart-button .icono-carrito{filter:none!important;opacity:1!important}
html body.homepage .home-product .home-cart-button:disabled{opacity:.6!important}
html body.homepage .home-product .heart-like-chip,html.dark body.homepage .home-product .heart-like-chip{background:#ffffff70!important;color:#0e0c0c!important;border:0!important;box-shadow:0 2px 6px #0000001f!important;text-shadow:none!important}
html body.homepage .home-product .heart-like-chip :is(.icon,.num),html.dark body.homepage .home-product .heart-like-chip :is(.icon,.num){color:#0e0c0c!important}
html body.homepage .home-product .heart-like-chip.is-liked .icon,html.dark body.homepage .home-product .heart-like-chip.is-liked .icon{color:#a02165!important}
/* Exact colors, positioning and pill shape already used in Productos. */
html body.homepage .home-product-image>.mto-chip,html body.homepage .home-product-image>.digital-chip{position:absolute!important;top:8px!important;right:8px!important;bottom:auto!important;left:auto!important;z-index:20!important;color:#fff!important;font-size:11px!important;font-weight:700!important;font-family:Delius,sans-serif!important;line-height:normal!important;padding:5px 10px!important;border:0!important;border-radius:999px!important;box-shadow:0 4px 10px rgba(0,0,0,.15)!important;white-space:nowrap;pointer-events:none;backdrop-filter:blur(4px)}
html body #productoDetalle.is-mto .pv-main-media::after,html body #productoDetalle.is-digital .pv-main-media::after{position:absolute!important;top:8px!important;right:8px!important;bottom:auto!important;left:auto!important;z-index:20!important;color:#fff!important;font-size:11px!important;font-weight:700!important;font-family:Delius,sans-serif!important;line-height:normal!important;padding:5px 10px!important;border:0!important;border-radius:999px!important;box-shadow:0 4px 10px rgba(0,0,0,.15)!important;white-space:nowrap;pointer-events:none;backdrop-filter:blur(4px)}
html body.homepage .home-product-image>.mto-chip{background:#ff4fa39c!important}
html body #productoDetalle.is-mto:not(.is-digital) .pv-main-media::after{background:#ff4fa39c!important}
html body.homepage .home-product-image>.digital-chip{background:#a14fff9c!important}
html body #productoDetalle.is-digital .pv-main-media::after{background:#a14fff9c!important}
html body #productoDetalle .pv-gallery{position:relative}
html body #productoDetalle.is-mto:not(.is-digital) .pv-main-media::after{content:"Hecho a pedido"!important}
html body #productoDetalle.is-digital .pv-main-media::after{content:"Digital"!important}

/* Outside the photograph, Inicio cards follow the selected theme. */
html.dark body.homepage .home-product.producto{background:var(--gm-surface)!important;color:var(--gm-text)!important}
html.dark body.homepage .home-product .home-product-info{background:transparent!important;color:var(--gm-text)!important}
html.dark body.homepage .home-product h2,html.dark body.homepage .home-product h2 a{color:var(--gm-text)!important}
html.dark body.homepage .home-product .precio{color:var(--gm-accent)!important}
html.dark body.homepage .home-product :is(.home-product-brand,.home-product-variant,.home-product-rating){color:var(--gm-muted)!important}
/* Productos: preserve the existing layout and original image controls in both modes. */
html body #catalogoFirestore .imagen-container .carrito-esquina,html.dark body #catalogoFirestore .imagen-container .carrito-esquina,html.dark body #catalogoFirestore .imagen-container .carrito-esquina:hover{background:#ffffff70!important;color:#382b31!important;box-shadow:none!important;border:0!important;border-radius:3px!important;filter:none!important}
html body #catalogoFirestore .imagen-container .icono-carrito,html.dark body #catalogoFirestore .imagen-container .icono-carrito{filter:none!important}
html body #catalogoFirestore .producto .heart-like-chip,html.dark body #catalogoFirestore .producto .heart-like-chip{background:#ffffff70!important;color:#0e0c0c!important;border:0!important;text-shadow:none!important;box-shadow:0 2px 6px #0000001f!important}
html body #catalogoFirestore .producto .heart-like-chip :is(.icon,.num),html.dark body #catalogoFirestore .producto .heart-like-chip :is(.icon,.num){color:#0e0c0c!important}
html body #catalogoFirestore .producto .heart-like-chip.is-liked .icon,html.dark body #catalogoFirestore .producto .heart-like-chip.is-liked .icon{color:#a02165!important}
html body #catalogoFirestore .imagen-container .mto-chip,html.dark body #catalogoFirestore .imagen-container .mto-chip{background:#ff4fa39c!important;color:#fff!important}
html body #catalogoFirestore .imagen-container .digital-chip,html.dark body #catalogoFirestore .imagen-container .digital-chip{background:#a14fff9c!important;color:#fff!important}
/* A ten-percent dark film affects photos only; controls remain above it. */
html.dark body.homepage .home-product-image>.link-imagen-producto img,html.dark body #catalogoFirestore .imagen-container .link-imagen-producto img,html.dark body #productoDetalle .pv-main-media>img{filter:brightness(.90)}

/* The gallery label used to sit over the thumbnail column. */
html body #productoDetalle .pv-gallery::before{content:none!important;display:none!important}
html body #productoDetalle .pv-main-media{position:relative}
