/*
 AYNE LIVING - SIGNATURE BOUTIQUE V4
 Paginacion y navegacion del catalogo.
*/

.products-section .ayne-v4-hidden {
    display: none !important;
}

.ayne-v4-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
    padding: 17px 19px;
    border: 1px solid #e5d9c7;
    border-radius: 16px;
    background: #fffdf9;
    box-shadow: 0 6px 23px rgba(55,39,19,.045);
}

.ayne-v4-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ayne-v4-info strong {
    color: #1b1712;
    font: 700 13px Arial, sans-serif;
}

.ayne-v4-info small {
    color: #877564;
    font: 12px Arial, sans-serif;
}

.ayne-v4-controls {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ayne-v4-btn {
    min-height: 43px;
    padding: 10px 17px;
    border: 1px solid #c9a45d;
    border-radius: 11px;
    background: #c9a45d;
    color: #1a1610;
    font: 700 12px Arial, sans-serif;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.ayne-v4-btn:hover:not(:disabled) {
    background: #e1c28a;
    transform: translateY(-1px);
}

.ayne-v4-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.ayne-v4-btn:focus-visible {
    outline: 3px solid #8b642f;
    outline-offset: 3px;
}

.ayne-v4-page {
    min-width: 53px;
    text-align: center;
    color: #463b2d;
    font: 700 12px Arial, sans-serif;
    white-space: nowrap;
}

.ayne-v4-pager-top {
    margin-bottom: 24px;
}

.ayne-v4-pager-bottom {
    margin-top: 28px;
}

.products-section .product-card {
    scroll-margin-top: 120px;
}

/* TABLETS */

@media (max-width: 850px) {
    .ayne-v4-pager {
        flex-wrap: wrap;
    }

    .ayne-v4-controls {
        margin-left: auto;
    }
}

/* ANDROID */

@media (max-width: 600px) {

    .ayne-v4-pager {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 16px 0;
        padding: 14px 12px;
        border-radius: 13px;
    }

    .ayne-v4-info {
        text-align: center;
    }

    .ayne-v4-info strong {
        font-size: 12px;
    }

    .ayne-v4-info small {
        font-size: 11px;
    }

    .ayne-v4-controls {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        width: 100%;
        gap: 7px;
        margin: 0;
    }

    .ayne-v4-btn {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 11px 7px;
        font-size: 12px;
    }

    .ayne-v4-page {
        min-width: 48px;
        font-size: 11px;
    }
}

/* MODO OSCURO EXISTENTE */

html[data-store-theme="dark"] .ayne-v4-pager {
    background: #201d19;
    border-color: #514537;
}

html[data-store-theme="dark"] .ayne-v4-info strong,
html[data-store-theme="dark"] .ayne-v4-page {
    color: #f1e8db;
}

html[data-store-theme="dark"] .ayne-v4-info small {
    color: #c5b6a2;
}

@media (prefers-reduced-motion: reduce) {
    .ayne-v4-btn {
        transition: none;
    }
}