/* ==========================================================================
   EQUIPMENT HIRE - hire.html, the public catalogue (js/site/hire.js builds the
   cards). On top of site.css. Everything is .hire-

   HEAD       intro and the filter chips
   CARDS      the grid of items
   COLOURS    one colour per category
   Each section carries its own phone rules.
   ========================================================================== */

/* ==========================================================================
   HEAD
   ========================================================================== */
.hire-header .header-content h1 {
    margin-bottom: 0.3em;
}

.hire-section {
    padding-top: 44px;
}

.hire-intro {
    max-width: 720px;
    margin: 0 auto 26px;
    text-align: center;
    color: var(--sg-muted, var(--sg-muted));
    font-size: 1.02rem;
    line-height: 1.6;
}

.hire-intro strong {
    color: var(--sg-orange, var(--sg-orange));
}

.hire-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: var(--sg-max-width, 1200px);
    margin: 0 auto 26px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.hire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: var(--sg-max-width, 1200px);
    margin: 0 auto;
}

.hire-loading,
.hire-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--sg-dim, var(--sg-dim));
    padding: 40px 0;
}

.hire-empty a {
    color: var(--sg-orange, var(--sg-orange));
}

/* Product shots sit on white, shown whole */
.hire-media {
    aspect-ratio: 4 / 3;
    background: var(--sg-white);
    overflow: hidden;
}

.hire-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 12px;
    box-sizing: border-box;
}

.hire-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sg-poster-ink), var(--sg-ink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sg-white);
    opacity: 0.85;
}

.hire-body {
    gap: 6px;
}

.hire-cat {
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hire-sub {
    margin: 0;
    color: var(--sg-dim, var(--sg-dim));
    font-size: 0.84rem;
}

.hire-foot {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hire-price {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sg-white);
}

.hire-price span {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--sg-dim, var(--sg-dim));
}

@media (max-width: 560px) {
    .hire-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    .hire-body {
        padding: 13px;
    }
    .hire-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .hire-foot .btn {
        width: 100%;
        max-width: none;
    }
}

/* ==========================================================================
   COLOURS - category pill and placeholder, by category number
   ========================================================================== */
.hc0 {
    background: var(--sg-border);
    color: var(--sg-muted);
}

.hc1 {
    background: var(--sg-purple-dark);
    color: var(--sg-purple);
}

.hc2 {
    background: var(--sg-poster-ink);
    color: var(--sg-sand);
}

.hc3 {
    background: var(--sg-purple-dark);
    color: var(--sg-purple);
}

.hc4 {
    background: var(--sg-ink-soft);
    color: var(--sg-green-bg);
}

.hc5 {
    background: var(--sg-purple-dark);
    color: var(--sg-purple);
}

.hc6 {
    background: var(--sg-purple-dark);
    color: var(--sg-red-light);
}
