/* ===== Category page button ===== */
.gw-link { display: none; }
.products.wrapper ~ .toolbar-products .gw-link { display: block; }

.gw-link a.gw-open {
    display: inline-block;
    padding: 10px 25px;
    background: #93242f;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    text-decoration: none;
    border: 0;
    transition: background .2s;
}
.gw-link a.gw-open:hover,
.gw-link a.gw-open:focus {
    background: #000;
    color: #fff;
    text-decoration: none;
}

/* Desktop: centered in the middle of the toolbar */
@media (min-width: 1025px) {
    .products.wrapper ~ .toolbar-products { position: relative; }
    .products.wrapper ~ .toolbar-products .gw-link {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        white-space: nowrap;
    }
}

/* Tablet + mobile: own line, full width, under pager */
@media (max-width: 1024px) {
    .products.wrapper ~ .toolbar-products {
        flex-wrap: wrap;
    }
    .products.wrapper ~ .toolbar-products .gw-link {
        order: 99;
        flex: 0 0 100%;
        width: 100%;
        clear: both;
        float: none;
        margin: 20px 0 0;
        text-align: center;
    }
    .gw-link a.gw-open {
        display: block;
    }
}
/* ===== Checkout ===== */
.gw-checkout {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #93242f;
}
.gw-checkout-title {
    font-weight: 600;
    margin: 0 0 10px;
}
.gw-checkout-img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 0 10px;
}
.gw-checkout a {
    color: #000;
    text-decoration: underline;
}
.gw-checkout a:hover { color: #93242f; }
/* ===== Popup ===== */
.gw-modal-popup .modal-inner-wrap { max-width: 600px; }
#gw-modal img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 200px);
    margin: 0 auto;
}
#gw-modal .gw-pdf { text-align: center; margin-top: 15px; }
#gw-modal .gw-pdf a { color: #93242f; }

/* ===== Footer links mobile ===== */
@media (max-width: 767px) {
    .bottom-inner .links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
        margin: 0 0 20px;
        padding: 0 15px;
        list-style: none;
    }
    .bottom-inner .links ul li {
        float: none;
        width: auto;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }
}