/**
 * Gerrards Utilities - Main Styles
 *
 * @package Gerrards_Utilities
 */

/* General plugin styles */
.gerrards-utilities {
    font-family: inherit;
}

/* Utility classes */
.gerrards-hidden {
    display: none !important;
}

.gerrards-text-center {
    text-align: center;
}

.gerrards-margin-bottom {
    margin-bottom: 1em;
}

/* Basket Menu Styles */
.gerrards-basket-menu {
    display: grid;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    width: max-content;
    transition: opacity 0.2s ease;
}

.gerrards-basket-menu:hover {
    opacity: 0.8;
}

.gerrards-basket-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.gerrards-basket-link:hover {
    text-decoration: none;
    color: inherit;
}

.gerrards-basket-menu .basket-icon {
    width: 16px;
    height: 16px;
    fill: #16284f;
    flex-shrink: 0;
}

.gerrards-basket-menu .basket-text {
    font-size: inherit;
    line-height: 1;
    white-space: nowrap;
}

.gerrards-basket-menu.error {
    color: #dc2626;
    font-size: 12px;
}

/* User menu shortcode */
.gerrards-user-menu a {
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: #363636 !important;
}

.gerrards-user-menu a:hover {
    text-decoration: underline;
}
