/* Shared NV components, loaded after the existing compiled theme. */
:root {
    --nv-action-bg: #132d46;
    --nv-action-hover: #234563;
    --nv-action-radius: 12px;
    --nv-action-height: 48px;
}

/* Category, product, inquiry and homepage actions share one component. */
.btn.btn-primary,
.btn.btn-buy,
.gp-button.gp-button-navy,
.nv-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: var(--nv-action-height);
    padding: 12px 22px;
    border: 1px solid var(--nv-action-bg);
    border-radius: var(--nv-action-radius);
    background: var(--nv-action-bg);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}
:is(.btn.btn-primary,.btn.btn-buy,.gp-button.gp-button-navy,.nv-submit):is(:hover,:active,:focus-visible) {
    background: var(--nv-action-hover);
    border-color: var(--nv-action-hover);
    color: #fff;
}
:is(.btn.btn-primary,.btn.btn-buy,.gp-button.gp-button-navy,.nv-submit):focus-visible {
    outline: 3px solid var(--nv-action-bg);
    outline-offset: 4px;
    box-shadow: 0 0 0 2px #fff;
}
:is(.btn.btn-primary,.btn.btn-buy,.gp-button.gp-button-navy,.nv-submit):is(:disabled,.disabled,[aria-disabled="true"]) {
    opacity: .65;
    box-shadow: none;
}

@media (max-width: 767.98px) {
    .container-main .nv-inquiry {
        padding-inline: 0;
    }
    .nv-inquiry .nv-card {
        padding: 20px;
    }
    /* Full content width in every category, replacing the old 104px clamp. */
    .gp-category-intro .gp-category-intro-actions {
        width: 100%;
        min-width: 0;
        justify-self: stretch;
        justify-items: stretch;
        gap: 12px;
    }
    .gp-category-intro .gp-category-intro-media {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        border-radius: 20px;
        overflow: hidden;
    }
    .gp-category-intro-media .cms-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .gp-category-intro-actions > .btn,
    .gp-print-copy > .gp-button {
        width: 100%;
    }
}
