.sectionProducts .btnShareProduct{
    min-height: 44px;
    padding: .25rem 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    cursor: pointer;
}
.sectionProducts .btnShareProduct:focus-visible{
    outline: 2px solid var(--productAccent, var(--accent1));
    outline-offset: 3px;
}

.shareOverlay{
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5.5rem 1rem 1rem;
    background: var(--shareBackdrop, rgba(0, 0, 0, .65));
    overscroll-behavior: contain;
}
.shareOverlay[hidden],
.shareOverlay [hidden]{
    display: none;
}
.sharePanel{
    width: min(100%, 440px);
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--productBorder, var(--border));
    border-radius: 1.25rem;
    padding: 1.1rem;
    background: var(--productBg, var(--mainBg));
    color: var(--productText, var(--text));
}
.shareHeader{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .8rem;
}
.shareHeader h2{
    font-size: .95rem;
    font-weight: 600;
}
.shareClose{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .45rem .7rem;
    border-radius: .6rem;
    background: var(--productImageBg, var(--mainBg));
    color: var(--productText, var(--text));
    cursor: pointer;
}
.shareImage{
    display: block;
    width: 100%;
    height: clamp(140px, 25dvh, 220px);
    object-fit: contain;
    padding: .5rem;
    border-radius: .8rem;
    background: var(--productImageBg, var(--mainBg));
}
.shareName{
    margin: .85rem 0 .4rem;
    font-size: 1.35rem;
}
.shareDescription{
    color: var(--productMuted, var(--text));
    font-size: .85rem;
    line-height: 1.6;
}
.sharePrices{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    padding: .9rem 0;
    margin: .8rem 0;
    border-block: 1px solid var(--productBorder, var(--border));
}
.sharePrices p{
    display: flex;
    flex-direction: column;
    gap: .35rem;
    color: var(--productMuted, var(--text));
    font-size: .7rem;
}
.sharePrices i{ font-style: normal; }
.sharePrices span{
    color: var(--productAccent, var(--accent1));
    font-weight: 700;
    font-size: .95rem;
}
.sharePrices [data-lang="noDisponible"]{ font-size: .75rem; }
.sharePanel label{
    display: block;
    margin-bottom: .4rem;
    font-size: .8rem;
}
.shareLink{
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--productBorder, var(--border));
    border-radius: .6rem;
    padding: .7rem;
    color: var(--productMuted, var(--text));
    background: var(--productImageBg, var(--mainBg));
    font-size: .75rem;
}
.shareActions{
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: .8rem;
}
.shareActions button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: 1 1 140px;
    min-height: 44px;
    padding: .7rem;
    border-radius: .7rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
}
.shareCopy{
    background: var(--productImageBg, var(--mainBg));
    color: var(--productText, var(--text));
    border: 1px solid var(--productBorder, var(--border));
}
.shareNative{
    background: var(--productSelectedBg, var(--accent2));
    color: var(--productOnAccent, var(--background));
}
.shareStatus{
    margin-top: .6rem;
    color: var(--productMuted, var(--text));
    font-size: .8rem;
    line-height: 1.5;
}
.sharePanel :is(button, input, a):focus-visible{
    outline: 2px solid var(--productAccent, var(--accent1));
    outline-offset: 3px;
}
