/* =========================================================
   GMD USER GREETING
========================================================= */

.user-greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
}

.logout-button,
.login-button {
    display: inline-block;
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color .3s ease;
}

.logout-button:hover,
.login-button:hover {
    background: #005d8f;
}


/* =========================================================
   JQUERY UI DATE PICKER
========================================================= */

.ui-datepicker {
    width: 330px !important;
}


/* =========================================================
   MOBILE IMPROVEMENTS
========================================================= */

@media (max-width:768px) {

    body {
        font-size: 16px;
        line-height: 1.5;
    }

    .site-header,
    .site-footer {
        padding: 10px;
    }

    .woocommerce div.product,
    .woocommerce-cart-form,
    .woocommerce-checkout form {
        padding: 10px;
    }

    /* Product Grid */

    ul.products li.product {
        width: 100% !important;
        margin: 0 0 20px !important;
    }

    /* Navigation */

    .main-navigation ul {
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Buttons */

    button,
    .button,
    input[type="submit"] {
        width: 100%;
        padding: 12px;
        font-size: 18px;
    }
}

/* =========================================================
   GMD WISHLIST GRID
========================================================= */
.gmd-wishlist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

/* Wishlist Card */

.gmd-wishlist-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 380px;

    padding: 15px;

    border: 1px solid #e2e2e2;
    border-radius: 12px;

    background: #fff;

    text-align: center;
}

/* Product Image */

.gmd-wishlist-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    margin-bottom: 12px;

    border-radius: 10px;
}

/* Product Title */

.gmd-wishlist-item h3 {
    flex-grow: 1;

    margin: 10px 0;

    font-size: 1.1rem;
}

/* Price */

.gmd-wishlist-price {
    margin: 10px 0;

    color: #0074f0;

    font-size: 1.2rem;
    font-weight: 600;
}

/* Remove Button */

.gmd-remove-btn {
    width: 100%;
    margin-top: auto;

    padding: 8px 14px;

    border: none;
    border-radius: 6px;

    background: #ff3366;

    color: #fff;

    font-weight: 600;

    cursor: pointer;

    transition: background .25s ease;
}

.gmd-remove-btn:hover {
    background: #cc0044;
}


/* =========================================================
   GMD PRODUCT ACTION VISIBILITY
========================================================= */

/* Standard Products */

body.single-product .gmd-standard-container {
    display: block;
}