/* BlanksAreUs custom product share row (replaces ShareThis) */

.product-share-button {
    position: relative;
    overflow: visible;
}

.product-share-button .bau-share {
    display: block;
    width: 100%;
    text-align: left;
}

.bau-share__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    text-align: left;
}

.bau-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: #4a4a4a;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.bau-share__btn:hover,
.bau-share__btn:focus {
    background: #248ece;
    color: #fff;
    outline: none;
}

.bau-share__btn:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #248ece;
}

.bau-share__btn--facebook { background: #1877f2; }
.bau-share__btn--facebook:hover,
.bau-share__btn--facebook:focus { background: #166fe0; }

.bau-share__btn--whatsapp { background: #25d366; }
.bau-share__btn--whatsapp:hover,
.bau-share__btn--whatsapp:focus { background: #1fb855; }

.bau-share__btn--pinterest { background: #e60023; }
.bau-share__btn--pinterest:hover,
.bau-share__btn--pinterest:focus { background: #cc001f; }

.bau-share__btn--x { background: #000; }
.bau-share__btn--x:hover,
.bau-share__btn--x:focus { background: #333; }

.bau-share__btn--telegram { background: #0088cc; }
.bau-share__btn--telegram:hover,
.bau-share__btn--telegram:focus { background: #0077b5; }

.bau-share__btn--email { background: #777; }
.bau-share__btn--email:hover,
.bau-share__btn--email:focus { background: #555; }

.bau-share__btn--copy { background: #6c757d; }
.bau-share__btn--copy:hover,
.bau-share__btn--copy:focus { background: #5a6268; }

.bau-share__btn--more { background: #4a4a4a; }
.bau-share__btn--more:hover,
.bau-share__btn--more:focus { background: #248ece; }

.bau-share__more {
    position: relative;
    display: inline-flex;
}

.bau-share__panel {
    position: absolute;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 6px;
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 140px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.bau-share__panel[hidden] {
    display: none !important;
}

.bau-share__panel .bau-share__btn--reddit { background: #ff4500; }
.bau-share__panel .bau-share__btn--reddit:hover,
.bau-share__panel .bau-share__btn--reddit:focus { background: #e03e00; }

.bau-share__panel .bau-share__btn--linkedin { background: #0a66c2; }
.bau-share__panel .bau-share__btn--linkedin:hover,
.bau-share__panel .bau-share__btn--linkedin:focus { background: #095196; }

.bau-share__panel .bau-share__btn--tumblr { background: #36465d; }
.bau-share__panel .bau-share__btn--tumblr:hover,
.bau-share__panel .bau-share__btn--tumblr:focus { background: #2b3849; }

.bau-share__panel .bau-share__btn--blogger { background: #ff5722; }
.bau-share__panel .bau-share__btn--blogger:hover,
.bau-share__panel .bau-share__btn--blogger:focus { background: #e64a19; }

.bau-share__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Product Costing: panel + share row */
.html-product-details-page .ai-grouped-product-panel + .product-share-button .bau-share__row,
.html-product-details-page .overview > .product-share-button .bau-share__row {
    float: left;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

@media (max-width: 1000px) {
    .html-product-details-page .overview .product-share-button .bau-share__row {
        float: none;
        justify-content: center;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}
