/* ── WC Size Help Button v1.0 ── */

.wsh-wrap { margin: 10px 0 0; }

.wsh-hint {
    margin: 0 0 6px;
    font-size: 10px;
    color: #555;
    line-height: 1.4;
    text-align: center;
}

/* Кнопка — без скруглень, у стилі сайту */
.wsh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    background: transparent;
    color: #222;
    border: 1px solid #222;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .03em;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    box-sizing: border-box;
}
.wsh-btn:hover  { background: #222; color: #fff; }
.wsh-btn:active { opacity: .85; }

/* Оверлей — прихований через aria-hidden + display:none */
.wsh-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999999;
    align-items: flex-end;
    justify-content: center;
}
.wsh-overlay.wsh-open {
    display: flex;
}

/* Bottom-sheet на мобільному */
.wsh-popup {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 480px;
    padding: 28px 24px 36px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.12);
    animation: wshUp .25s ease;
}
@keyframes wshUp {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

/* Десктоп — центрований попап */
@media (min-width: 600px) {
    .wsh-overlay { align-items: center; }
    .wsh-popup   { border-radius: 12px; max-width: 380px; }
}

.wsh-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none;
    border: none;
    font-size: 14px;
    line-height: 1;
    color: #bbb;
    cursor: pointer;
    padding: 4px 6px;
}
.wsh-close:hover { color: #333; }

.wsh-popup-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}
.wsh-popup-product {
    margin: 0 0 14px;
    font-size: 12px;
    color: #aaa;
}
.wsh-popup-text {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Іконки месенджерів */
.wsh-popup-icons {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.wsh-bot-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100px;
    padding: 16px 10px;
    border-radius: 12px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    transition: transform .18s ease;
}
.wsh-bot-btn img {
    width: 36px; height: 36px;
    object-fit: contain;
    display: block;
}
.wsh-bot-btn:hover { transform: scale(1.07); }
.wsh-tg { background: #e1f5fe; color: #0277bd !important; }
.wsh-vb { background: #f3f0ff; color: #6d28d9 !important; }

@media (max-width: 480px) {
    .wsh-btn     { min-height: 48px; }
    .wsh-hint    { font-size: 10px; }
    .wsh-popup   { padding: 22px 16px 30px; }
    .wsh-bot-btn { width: 90px; }
}
