/* ── Vooks Where to Buy widget ─────────────────────────────── */
.vooks-wtb {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 32px 0;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #4d63c3;
    box-sizing: border-box;
}

/* Dark mode */
html.dark-mode .vooks-wtb { background: #1e2130; border-color: #7c39ed; }

html.dark-mode .vooks-wtb__eyebrow { color: #f1f5f9; }

html.dark-mode .vooks-wtb__title { color: #ffffff; }

html.dark-mode .vooks-wtb__disclaimer { color: #6b7280 !important; }

html.dark-mode .vooks-wtb__btn {
    background: #2a3050 !important;
    color: #e5e7eb !important;
    border-color: #3d4460 !important;
}

html.dark-mode .vooks-wtb__btn:hover {
    background: #313761 !important;
    border-color: #6b7fc4 !important;
}

html.dark-mode .vooks-wtb__btn-price {
    background: #1e2130 !important;
    color: #a5b4fc !important;
}

.vooks-wtb__cover {
    flex-shrink: 0;
    width: 110px;
}

.vooks-wtb__cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.20);
}

.vooks-wtb__body {
    flex: 1;
    min-width: 0;
}

.vooks-wtb__eyebrow {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    padding: 0;
    line-height: 1.4;
}

.vooks-wtb__title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 14px;
    padding: 0;
    line-height: 1.2;
}

.vooks-wtb__stores {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 7px;
    align-items: stretch;
}

.vooks-wtb__disclaimer {
    font-size: 13px !important;
    color: #9ca3af !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
    border: none !important;
    background: none !important;
}

.vooks-wtb__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    color: #1e2a5e !important;
    border: 2px solid #d1d5e8 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 8px !important;
    border-radius: 0.375rem;
    transition: border-color 0.12s ease, background 0.12s ease;
    white-space: nowrap;
    line-height: 1 !important;
    box-sizing: border-box;
    align-self: stretch;
    justify-content: space-between;
}

.vooks-wtb__btn:hover {
    background: #f0f3ff !important;
    border-color: #4d63c3 !important;
    text-decoration: none !important;
    color: #1e2a5e !important;
    transform: none;
}

.vooks-wtb__btn-label {
    text-overflow: ellipsis !important;
}

.vooks-wtb__btn--no-link {
    cursor: default;
}

.vooks-wtb__btn--no-link:hover {
    background: #ffffff !important;
    border-color: #d1d5e8 !important;
}

.vooks-wtb__btn-price {
    background: #e8eaf6;
    color: #4d63c3;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    flex-shrink: 0;
}

html.dark-mode .vooks-wtb__btn--no-link:hover,
html.dark .vooks-wtb__btn--no-link:hover,
body.dark-mode .vooks-wtb__btn--no-link:hover,
body.dark .vooks-wtb__btn--no-link:hover {
    background: #2a3050 !important;
    border-color: #3d4460 !important;
}

@media (max-width: 520px) {
    .vooks-wtb        { flex-direction: column; }
    .vooks-wtb__cover { display: none; }
    .vooks-wtb__stores {
        grid-template-columns: 1fr 1fr;
    }
    .vooks-wtb__btn {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 100%;
        font-size: 13px !important;
    }
    .vooks-wtb__btn-label {
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
    .vooks-wtb__btn-price {
        font-size: 11px;
    }
}