/* Private Shop Styles */
.adItem_heading .private-badge,
.banner-modal_content .content-ttl .private-badge {
    margin-left: 8px;
    flex: none;
}

.private-badge {
    position: relative;
    display: inline-block;
    padding: 2px 6px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ef4444;
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    cursor: default;
    white-space: nowrap;
    z-index: 1;
}

.private-badge::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: normal;
    width: max-content;
    max-width: 320px;
    white-space: normal;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 1001;
}

.private-badge::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1002;
}

.private-badge:hover::before,
.private-badge:hover::after,
.private-badge:focus-visible::before,
.private-badge:focus-visible::after {
    opacity: 1;
    visibility: visible;
}
