/* Vitrina del negocio: catálogo público y controles existentes, con la identidad compartida. */
@media screen {
    #pv-tienda.pv-store-page.documento { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #213a3c; font-size: 1rem; font-weight: 400; }
    #pv-tienda { min-width: 0; overflow-anchor: none; }
    #pv-tienda .pv-store-breadcrumb { margin: .1rem 0 1.5rem; font-size: .75rem; }
    #pv-tienda .breadcrumb { margin-bottom: 0; }
    #pv-tienda .breadcrumb a { color: #126e62; text-decoration: none; }
    #pv-tienda .breadcrumb a:hover { text-decoration: underline; }
    #pv-tienda .breadcrumb-item.active { color: #74877e; overflow-wrap: anywhere; }
    #pv-tienda .pv-store-hero { padding: 2rem; border: 1px solid #d8e1dd; border-radius: 22px; background: #fff; box-shadow: 0 8px 30px rgb(17 46 56 / 3%); }
    #pv-tienda .pv-store-identity { display: flex; align-items: center; gap: 1.5rem; }
    #pv-tienda .pv-store-logo { display: grid; place-items: center; flex: 0 0 104px; width: 104px; height: 104px; overflow: hidden; border: 1px solid #dbe6db; border-radius: 24px; background: #f2f6ee; }
    #pv-tienda .pv-store-logo img { width: 100%; height: 100%; padding: .5rem; object-fit: contain; }
    #pv-tienda .pv-store-logo > span { color: #789783; font-size: 2.6rem; }
    #pv-tienda .pv-store-title { min-width: 0; }
    #pv-tienda .pv-store-eyebrow { margin: 0 0 .7rem; color: #147d6f; font-size: .65rem; font-weight: 700; letter-spacing: .13em; }
    #pv-tienda.pv-store-page .pv-store-title h1 { margin: 0 0 .75rem; color: #112e38; font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.17; font-weight: 700; letter-spacing: -.04em; overflow-wrap: anywhere; }
    #pv-tienda .pv-store-address { display: flex; align-items: flex-start; gap: .5rem; margin: 0; color: #73877a; font-size: .8rem; line-height: 1.7; }
    #pv-tienda .pv-store-address > i { color: #147d6f; }
    #pv-tienda .pv-store-address > span { min-width: 0; overflow-wrap: anywhere; }
    #pv-tienda .pv-store-description { max-width: 1120px; margin: 1.5rem 0 0; color: #647573; font-size: .9rem; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; }
    #pv-tienda .pv-store-hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid #e5ece3; }
    #pv-tienda .pv-store-note { display: flex; align-items: center; gap: .6rem; margin: 0; color: #73877a; font-size: .76rem; line-height: 1.65; }
    #pv-tienda .pv-store-note > i { color: #147d6f; font-size: 1.1rem; }
    #pv-tienda .pv-store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; flex-shrink: 0; }
    #pv-tienda .pv-store-actions .btn { min-height: 44px; border-radius: 10px; padding: .7rem 1rem; font-size: .8rem; font-weight: 600; }
    #pv-tienda .pv-store-actions .btn-success { background: #147d6f; border-color: #147d6f; color: #fff; }
    #pv-tienda .pv-store-actions .btn-success:hover { background: #10695d; border-color: #10695d; }
    #pv-tienda .pv-store-actions .btn-outline-primary { border-color: #b4cec1; background: #fff; color: #126e62; }
    #pv-tienda .pv-store-actions .btn-outline-primary:hover { background: #edf5ef; border-color: #8db7a4; color: #10695d; }
    #pv-tienda .pv-store-search { position: sticky; top: 94px; z-index: 1010; margin: 1.5rem 0 .9rem; padding: .6rem 0; background: #f4f6f3; }
    #pv-tienda .pv-store-search .input-group { flex-wrap: nowrap; overflow: hidden; border: 1px solid #d8e1dd; border-radius: 13px; background: #fff; box-shadow: 0 4px 18px rgb(17 46 56 / 3%); }
    #pv-tienda .pv-store-search .input-group:focus-within { border-color: #75b9a5; outline: 3px solid rgb(20 125 111 / 10%); }
    #pv-tienda .pv-store-search .input-group-text { padding-inline: 1.1rem; border: 0; border-radius: 0; background: #fff; color: #6f8c7c; }
    #pv-tienda .pv-store-search #filtro { min-width: 0; min-height: 52px; padding: .8rem 1rem .8rem 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff; color: #213a3c; font-size: .9rem; }
    #pv-tienda .pv-store-search #filtro:focus { box-shadow: none !important; }
    #pv-tienda .pv-store-categories { position: relative; top: auto; z-index: auto; display: flex; gap: .6rem; margin: 0; padding: .4rem 0 1.1rem; border-bottom: 1px solid #dce6dd; background: transparent; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #b8cdbf transparent; }
    #pv-tienda .pv-store-categories .btn-seccion { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 42px; padding: .6rem 1rem; margin: 0; border: 1px solid #d5e2d7; border-radius: 9px; background: #fff; color: #5d7467; font-size: .8rem; font-weight: 500; text-decoration: none; white-space: nowrap; box-shadow: none; transition: background-color .15s, border-color .15s; }
    #pv-tienda .pv-store-categories .btn-seccion:hover { border-color: #9cbeaa; background: #edf5ed; color: #126e62; }
    #pv-tienda .pv-store-categories .btn-seccion.activo { border-color: #147d6f; background: #147d6f; color: #fff !important; }
    #pv-tienda .pv-store-catalog-heading { margin: 2rem 0 1.25rem; }
    #pv-tienda #contenido_productos[aria-busy="true"] { opacity: .65; cursor: progress; }
    #pv-tienda .pv-store-catalog-heading .pv-store-eyebrow { margin-bottom: .55rem; }
    #pv-tienda.pv-store-page .pv-store-catalog-heading h2 { margin: 0; color: #213a3c; font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.35; font-weight: 700; letter-spacing: -.035em; overflow-wrap: anywhere; }
    #pv-tienda .card-item { border: 1px solid #d8e1dd !important; border-radius: 17px !important; background: #fff; overflow: hidden; box-shadow: 0 4px 24px rgb(17 46 56 / 3%) !important; transition: border-color .18s ease, box-shadow .18s ease; }
    #pv-tienda .card-item:hover { border-color: #aac6b8 !important; box-shadow: 0 10px 30px rgb(17 46 56 / 7%) !important; }
    #pv-tienda .card-img-wrapper { position: relative; padding-top: 100%; overflow: hidden; background: #f3f6ef; }
    #pv-tienda .card-img-top { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: .9rem; }
    #pv-tienda .badge-qty { position: absolute; top: 10px; right: 10px; z-index: 3; min-width: 76px; max-width: calc(100% - 20px); padding: .6rem .75rem; border: 2px solid #fff; border-radius: 12px; background: #10695d; color: #fff; font-size: 1.5rem; font-weight: 800; line-height: 1.1; text-align: center; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; box-shadow: 0 4px 14px rgb(17 46 56 / 24%); }
    #pv-tienda .badge-qty .pv-cart-quantity { display: inline-block; max-width: 100%; vertical-align: middle; }
    #pv-tienda .badge-qty > i { margin-left: .2rem; font-size: .85rem; vertical-align: middle; }
    #pv-tienda .badge-qty .pv-cart-label { display: block; margin-top: .3rem; font-size: .62rem; font-weight: 600; line-height: 1.2; }
    #pv-tienda.pv-store-page .card-item .card-body { padding: 1.2rem; }
    #pv-tienda .card-item .card-title { margin-bottom: .6rem !important; overflow: visible; white-space: normal; font-size: .95rem; line-height: 1.5; letter-spacing: -.02em; }
    #pv-tienda .card-item .card-title > a { color: #213a3c !important; }
    #pv-tienda .card-item .card-title > a:hover { color: #126e62 !important; }
    #pv-tienda .card-item .badge.bg-light { padding: .35rem .5rem; border-color: #d9e5d9 !important; border-radius: 6px; background: #f6f9f3 !important; color: #69816f !important; font-size: .62rem !important; font-weight: 500; }
    #pv-tienda .card-item .vitrina-descripcion { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .76rem; line-height: 1.75; }
    #pv-tienda .card-item .fs-5 { color: #147d6f !important; font-size: 1.25rem !important; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
    #pv-tienda .card-item .mt-auto > .d-flex > small { color: #73877a; font-size: .73rem; }
    #pv-tienda .card-item input.form-control { min-height: 44px; border-color: #d8e1dd !important; border-radius: 10px !important; background: #fcfdfb; font-size: .85rem; }
    #pv-tienda .card-item .btn-outline-primary { min-height: 44px; border-color: #b4cec1; border-radius: 9px !important; color: #126e62; font-size: .8rem; }
    #pv-tienda .card-item .btn-outline-primary:hover { background: #147d6f; color: #fff; border-color: #147d6f; }
    #pv-tienda #paginacion_tienda { align-items: center; color: #788b7d; font-size: .8rem; }
    #pv-tienda #paginacion_tienda a { padding: .55rem .9rem; border: 1px solid #d5e1d6; border-radius: 8px; background: #fff; color: #126e62; text-decoration: none; }
    #pv-tienda #paginacion_tienda a:hover { background: #edf5ef; }
    #pv-tienda #btnCargarMas { min-height: 44px; padding: .75rem 1.2rem; border: 1px solid #b4cec1; border-radius: 10px !important; background: #fff; color: #126e62; font-size: .8rem; }
    #pv-tienda a:focus-visible, #pv-tienda button:focus-visible { outline: 3px solid #75b9a5; outline-offset: 3px; }
    @media (max-width: 991.98px) {
        #pv-tienda .pv-store-hero-footer { flex-direction: column; align-items: flex-start; }
        #pv-tienda .pv-store-search { top: 84px; }
    }
    @media (max-width: 575.98px) {
        #pv-tienda .pv-store-breadcrumb { margin-bottom: 1.2rem; font-size: .7rem; }
        #pv-tienda .pv-store-hero { padding: 1.3rem; border-radius: 18px; }
        #pv-tienda .pv-store-identity { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
        #pv-tienda .pv-store-logo { width: 76px; height: 76px; flex-basis: 76px; border-radius: 19px; }
        #pv-tienda.pv-store-page .pv-store-title h1 { font-size: 1.85rem; line-height: 1.2; }
        #pv-tienda .pv-store-eyebrow { font-size: .58rem; letter-spacing: .1em; }
        #pv-tienda .pv-store-address { font-size: .74rem; }
        #pv-tienda .pv-store-description { margin-top: 1.1rem; font-size: .81rem; line-height: 1.85; }
        #pv-tienda .pv-store-hero-footer { gap: 1rem; margin-top: 1.3rem; padding-top: 1rem; }
        #pv-tienda .pv-store-note { font-size: .7rem; }
        #pv-tienda .pv-store-actions { width: 100%; gap: .5rem; }
        #pv-tienda .pv-store-actions .btn { padding-inline: .8rem; font-size: .75rem; }
        #pv-tienda .pv-store-search { margin-top: 1rem; }
        #pv-tienda .pv-store-search #filtro { min-height: 48px; font-size: .8rem; }
        #pv-tienda .pv-store-categories { gap: .45rem; }
        #pv-tienda .pv-store-categories .btn-seccion { min-height: 42px; padding-inline: .85rem; font-size: .74rem; }
        #pv-tienda .pv-store-catalog-heading { margin-top: 1.5rem; }
        #pv-tienda.pv-store-page .card-item .card-body { padding: .85rem; }
        #pv-tienda .card-item .card-title { font-size: .82rem; }
        #pv-tienda .card-item .fs-5 { font-size: 1.1rem !important; }
        #pv-tienda .card-img-top { padding: .6rem; }
        #pv-tienda .badge-qty { top: 6px; right: 6px; min-width: 64px; max-width: calc(100% - 12px); padding: .45rem .5rem; border-radius: 10px; font-size: 1.3rem; }
        #pv-tienda .badge-qty .pv-cart-label { font-size: .56rem; }
        #pv-tienda .card-item .badge.bg-light { max-width: 100% !important; }
    }
    @media (prefers-reduced-motion: reduce) {
        #pv-tienda .card-item, #pv-tienda .pv-store-categories .btn-seccion { transition: none; }
    }
}
