.vry-per-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    width: 100%;
    clear: both;
    text-align: center;
}
.vry-per-page-label { font-size: 13px; color: #6b7280; margin-right: 2px; }
.vry-per-page-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 13px;
    padding: 5px 11px;
    border-radius: 7px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, color .15s ease, transform .1s ease;
}
.vry-per-page-btn:hover { border-color: #9ca3af; transform: translateY(-1px); }
.vry-per-page-btn.is-active {
    background: var(--vry-sc-price, #16a34a);
    border-color: var(--vry-sc-price, #16a34a);
    color: #fff;
    font-weight: 600;
}
.vry-per-page--top { margin: -4px 0 14px; }
.vry-per-page--bottom { margin: 18px 0 6px; padding-top: 14px; border-top: 1px solid #f0f0f0; }

@media (prefers-reduced-motion: reduce) { .vry-per-page-btn { transition: none; } }

.vry-layout-custom-block { margin: 10px 0; }

/* ===== Arreglo: barra fija de abajo en móvil tapando el pie de página =====
   La variable y la clase las pone bottom-bar-fix.js, midiendo la barra real
   del tema — acá solo se usa ese valor. */
html.vry-enh-has-bottom-bar footer,
html.vry-enh-has-bottom-bar .site-footer,
html.vry-enh-has-bottom-bar #colophon {
    padding-bottom: calc(var(--vry-enh-bottom-bar-h, 60px) + 12px) !important;
    box-sizing: border-box;
}
