/**
 * Gala Hardware — theme identity layer
 *
 * Loads after app.css (Template::themeCss() orders app.css then theme.css), so
 * everything here is either a token override app.css already reads, or a scoped
 * .theme-galahardware rule. app.css is never edited.
 *
 * Brand colours are sampled from the Gala Group logo: red #E32425, leaf green
 * #78B833, lime #B1CC26 on white. The logo is drawn for a white ground, so the
 * masthead is white and the dark band is reserved for the utility strip.
 *
 * Direction: a hardware retailer's catalogue — white, dense, red calls to
 * action, product photography on light grey.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
    /* Gala Group brand */
    --gh-red: #e63946;
    --gh-red-dark: #c1121f;
    --gh-red-wash: #fdecee;
    --gh-green: #78b833;
    --gh-green-dark: #5f9528;
    --gh-green-wash: #f0f8e7;
    --gh-lime: #b1cc26;

    /* Neutrals, keyed to the light-grey ground of their product photography */
    --gh-ink: #1d2125;
    --gh-ink-2: #2b3138;
    --gh-body: #4d545c;
    --gh-muted: #767f89;
    --gh-line: #e2e5e8;
    --gh-line-strong: #cfd4d9;
    --gh-surface: #f4f5f6;
    --gh-surface-2: #eceef0;

    /* --- app.css token overrides --- */
    --color-primary: var(--gh-red);
    --color-primary-rgb: 230, 57, 70;
    --color-background: #ffffff;
    --color-text: var(--gh-body);
    --color-text-rgb: 77, 84, 92;
    --color-heading: var(--gh-ink);
    --color-heading-rgb: 29, 33, 37;
    --color-link: var(--gh-ink);
    --color-link-hover: var(--gh-red);
    --color-border: var(--gh-line);
    --color-dark: var(--gh-ink);

    --grey-color: var(--gh-surface);
    --grey-50: #fafbfb;
    --grey-100: var(--gh-surface);
    --grey-200: var(--gh-surface-2);
    --grey-300: var(--gh-line);
    --grey-500: var(--gh-muted);
    --grey-700: var(--gh-body);
    --grey-900: var(--gh-ink);

    --rate-color: #f5a623;

    /* Buttons: retail rectangles, not showroom pills */
    --btn-primary-color: #ffffff;
    --btn-primary-hover-color: #ffffff;
    --btn-primary-bg-color: var(--gh-red);
    --btn-primary-hover-bg-color: var(--gh-red-dark);
    --btn-outline-bg-color: transparent;
    --btn-outline-color: var(--gh-ink);
    --btn-outline-border-color: var(--gh-line-strong);
    --btn-link-color: var(--gh-red);
    --btn-link-hover-color: var(--gh-red-dark);
    --btn-radius: 4px;
    --btn-padding-x: 1.6rem;
    --btn-padding-y: 0.8rem;
    --btn-text-transform: none;
    --btn-letter-spacing: 0.01em;

    /* Typography */
    --body-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --heading-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --menu-font: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --btn-font: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --body-font-size: 15px;
    --body-line-height: 1.6;
    --heading-weight: 800;
    --heading-letter-spacing: -0.025em;
    --heading-text-transform: unset;
}

.theme-galahardware body { background: #ffffff; color: var(--gh-body); }

.theme-galahardware h1,
.theme-galahardware h2,
.theme-galahardware h3,
.theme-galahardware h4 {
    font-family: var(--heading-font);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--gh-ink);
}

.theme-galahardware .bg-light,
.theme-galahardware .section.bg-light { background: var(--gh-surface); }

/* Retail density — base's section rhythm is built for lifestyle photography,
   this is built for a catalogue. */
.theme-galahardware .section { padding: 46px 0; }
.theme-galahardware .section-header { margin-bottom: 26px; }

.theme-galahardware .section-title {
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    margin-bottom: 4px;
}

.theme-galahardware .section-subtitle,
.theme-galahardware .section-tagline,
.theme-galahardware .application-areas-tagline {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gh-red);
}

.theme-galahardware .section-header .section-title::after { content: none; }
.theme-galahardware .section-header-center { text-align: center; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.theme-galahardware .btn,
.theme-galahardware .btn-primary,
.theme-galahardware .btn-outline,
.theme-galahardware .btn-add-cart {
    border-radius: 4px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.theme-galahardware .btn-primary {
    background: var(--gh-red);
    border-color: var(--gh-red);
    color: #ffffff;
}

.theme-galahardware .btn-primary:hover {
    background: var(--gh-red-dark);
    border-color: var(--gh-red-dark);
}

.theme-galahardware .btn-outline {
    color: var(--gh-ink);
    border-color: var(--gh-line-strong);
    background: #ffffff;
}

.theme-galahardware .btn-outline:hover {
    background: var(--gh-ink);
    border-color: var(--gh-ink);
    color: #ffffff;
}

/* ==========================================================================
   4. Product cards — catalogue density
   ========================================================================== */

.theme-galahardware .product-card {
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.theme-galahardware .product-card:hover {
    border-color: var(--gh-line-strong);
    box-shadow: 0 12px 26px -20px rgba(29, 33, 37, 0.5);
}

.theme-galahardware .product-card-media {
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-line);
}

.theme-galahardware .product-card-info { padding: 14px 14px 16px; }

.theme-galahardware .product-brand {
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gh-muted);
}

.theme-galahardware .product-name a {
    font-family: var(--heading-font);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--gh-ink);
}

.theme-galahardware .product-name a:hover { color: var(--gh-red); }

.theme-galahardware .product-price { display: flex; align-items: baseline; gap: 8px; }

.theme-galahardware .price-sale,
.theme-galahardware .price-regular {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 800;
    color: var(--gh-ink);
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .price-compare {
    font-size: 13px;
    color: var(--gh-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .badge-sale,
.theme-galahardware .product-badge.badge-sale {
    background: var(--gh-red);
    color: #ffffff;
    border-radius: 3px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 800;
}

.theme-galahardware .badge-new,
.theme-galahardware .product-badge.badge-new {
    background: var(--gh-green);
    color: #ffffff;
    border-radius: 3px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 800;
}

.theme-galahardware .product-add-cart,
.theme-galahardware .btn-add-cart {
    background: var(--gh-red);
    color: #ffffff;
    border: 0;
    border-radius: 4px;
}

.theme-galahardware .product-add-cart:hover,
.theme-galahardware .btn-add-cart:hover { background: var(--gh-red-dark); }

.theme-galahardware .product-action-btn {
    border-radius: 4px;
    border: 1px solid var(--gh-line);
    background: #ffffff;
    color: var(--gh-ink);
}

.theme-galahardware .product-action-btn:hover,
.theme-galahardware .product-action-btn.active {
    background: var(--gh-red);
    border-color: var(--gh-red);
    color: #ffffff;
}

/* ==========================================================================
   5. Home-page components
   ========================================================================== */

/* Category rail: image above, label below. Base overlays the label on a dark
   scrim, which buries product photography. */
.theme-galahardware .gh-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.theme-galahardware .gh-cat {
    display: block;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-galahardware .gh-cat:hover {
    border-color: var(--gh-red);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -22px rgba(29, 33, 37, 0.55);
}

.theme-galahardware .gh-cat-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: 8px;
    background: #ffffff;
}

.theme-galahardware .gh-cat-label {
    display: block;
    padding: 12px 14px 14px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
    line-height: 1.3;
}

.theme-galahardware .gh-cat-label small {
    display: block;
    margin-top: 3px;
    font-family: var(--body-font);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gh-muted);
}

/* Trust strip */
.theme-galahardware .gh-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    background: var(--gh-line);
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    overflow: hidden;
}

.theme-galahardware .gh-trust div {
    background: #ffffff;
    padding: 18px 20px;
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

.theme-galahardware .gh-trust .material-icons { color: var(--gh-green); font-size: 26px; }

.theme-galahardware .gh-trust strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
    margin-bottom: 2px;
}

.theme-galahardware .gh-trust .gh-trust-note { font-size: 13px; color: var(--gh-muted); }

/* Brand strip */
.theme-galahardware .gh-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.theme-galahardware .gh-brands span {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--gh-ink);
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 999px;
    padding: 9px 20px;
}

/* Trade band */
.theme-galahardware .gh-trade {
    background: var(--gh-ink);
    border-radius: 8px;
    padding: 34px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.theme-galahardware .gh-trade h2 { color: #ffffff; margin: 0 0 6px; }
.theme-galahardware .gh-trade p { color: #b7bdc4; margin: 0; max-width: 56ch; }
.theme-galahardware .gh-trade-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.theme-galahardware .gh-trade .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}

.theme-galahardware .gh-trade .btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--gh-ink);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */

.theme-galahardware .footer { background: var(--gh-ink); color: #b7bdc4; }
.theme-galahardware .footer-top { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.theme-galahardware .footer-title {
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
}

.theme-galahardware .footer-links a,
.theme-galahardware .footer-contact a,
.theme-galahardware .footer-about { color: #b7bdc4; }

.theme-galahardware .footer-links a:hover,
.theme-galahardware .footer-contact a:hover { color: var(--gh-lime); }

.theme-galahardware .footer-logo img {
    max-height: 52px;
    width: auto;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 4px;
}

.theme-galahardware .footer-social a {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    color: #d3d7db;
}

.theme-galahardware .footer-social a:hover {
    background: var(--gh-red);
    border-color: var(--gh-red);
    color: #ffffff;
}

.theme-galahardware .footer-bottom {
    background: #15181b;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-galahardware .footer-copyright { color: #838b93; }

/* ==========================================================================
   7. Forms, breadcrumbs, FAQ, testimonials
   ========================================================================== */

.theme-galahardware .form-control,
.theme-galahardware input[type="text"],
.theme-galahardware input[type="email"],
.theme-galahardware input[type="tel"],
.theme-galahardware input[type="number"],
.theme-galahardware textarea,
.theme-galahardware select {
    border-radius: 4px;
    border: 1px solid var(--gh-line-strong);
}

.theme-galahardware .form-control:focus,
.theme-galahardware input:focus,
.theme-galahardware textarea:focus,
.theme-galahardware select:focus {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
    outline: none;
}

.theme-galahardware .breadcrumb,
.theme-galahardware .breadcrumb a { font-size: 13px; color: var(--gh-muted); }
.theme-galahardware .breadcrumb a:hover { color: var(--gh-red); }

.theme-galahardware .faq-item { border: 1px solid var(--gh-line); border-radius: 6px; }

.theme-galahardware .faq-question {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .faq-item.active .faq-question { color: var(--gh-red); }

.theme-galahardware .testimonial-card {
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
}

.theme-galahardware .testimonial-avatar {
    background: var(--gh-green);
    color: #ffffff;
    font-family: var(--heading-font);
    font-weight: 700;
}

/* ==========================================================================
   8. Product detail — code, price block, variant selector
   ========================================================================== */

.theme-galahardware .product-title { font-size: clamp(1.3rem, 2.8vw, 1.85rem); }

.theme-galahardware .product-category {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-red);
}

.theme-galahardware .gh-product-code {
    font-size: 14px;
    color: var(--gh-muted);
    margin: 4px 0 14px;
}

.theme-galahardware .gh-product-code span {
    color: var(--gh-ink);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .gh-discount-badge {
    display: inline-block;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.theme-galahardware .product-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.theme-galahardware .product-pricing .price-current {
    font-family: var(--heading-font);
    font-size: 31px;
    font-weight: 800;
    color: var(--gh-ink);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .product-pricing .price-original {
    font-size: 17px;
    color: var(--gh-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .gh-tax-note { font-size: 13px; color: var(--gh-muted); margin: 0 0 20px; }

.theme-galahardware .gh-variants {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--gh-line);
    border-bottom: 1px solid var(--gh-line);
    margin-bottom: 24px;
}

.theme-galahardware .gh-variant-label { font-size: 14px; color: var(--gh-muted); margin: 0 0 10px; }

.theme-galahardware .gh-variant-current {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-galahardware .gh-variant-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 18px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 4px;
    background: #ffffff;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    user-select: none;
}

.theme-galahardware .gh-variant-option:hover { border-color: var(--gh-ink); }

.theme-galahardware .gh-variant-option:focus-visible {
    outline: 2px solid var(--gh-red);
    outline-offset: 2px;
}

.theme-galahardware .gh-variant-option.active {
    background: var(--gh-ink);
    border-color: var(--gh-ink);
    color: #ffffff;
    cursor: default;
}

/* A combination the catalogue does not carry — struck through, not hidden, so
   the customer can see what to change instead. */
.theme-galahardware .gh-variant-option.unavailable {
    border-color: var(--gh-red);
    color: var(--gh-red);
    background: var(--gh-red-wash);
    text-decoration: line-through;
}

.theme-galahardware .gh-variant-options.is-swatch .gh-variant-option { padding: 6px 12px 6px 6px; }

.theme-galahardware .gh-variant-options.is-swatch img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
}

.theme-galahardware .product-specs {
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: var(--gh-surface);
}

.theme-galahardware .specs-title {
    font-family: var(--heading-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-red);
}

/* --- Product copy blocks: Description, Type, Size, Features --------------
   The five sections the catalogue sheet fills. They share one heading style
   with the Technical Details panel below them, so the page reads as one run
   of sections rather than a description followed by unrelated furniture.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-pdp-block { margin-bottom: 20px; }

.theme-galahardware .gh-pdp-title {
    font-family: var(--heading-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-red);
    margin: 0 0 10px;
}

.theme-galahardware .gh-pdp-block.product-description { padding: 16px 18px; }

/* Type and Size: two short facts, side by side where there is room */
.theme-galahardware .gh-pdp-pairs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.theme-galahardware .gh-pdp-pairs > div {
    flex: 1 1 180px;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: var(--gh-surface);
}

.theme-galahardware .gh-pdp-pairs dt {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gh-muted);
}

.theme-galahardware .gh-pdp-pairs dd {
    margin: 3px 0 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--gh-ink);
    overflow-wrap: anywhere;
}

.theme-galahardware .gh-pdp-features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.theme-galahardware .gh-pdp-features li {
    position: relative;
    padding-left: 20px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gh-ink);
}

.theme-galahardware .gh-pdp-features li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: .62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gh-red);
}

.theme-galahardware .gh-ask {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--gh-line);
}

.theme-galahardware .gh-ask a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-ask a:hover { color: var(--gh-red); }
.theme-galahardware .gh-ask .material-icons { font-size: 19px; color: var(--gh-red); }

/* ==========================================================================
   9. About & contact pages
   ========================================================================== */

.theme-galahardware .gh-about-hero {
    background:
        linear-gradient(to bottom, var(--gh-ink) 0%, var(--gh-ink) 88%, var(--gh-ink-2) 88%, var(--gh-ink-2) 100%);
    padding: 76px 0 66px;
}

.theme-galahardware .gh-about-hero .about-hero-content { position: static; }

.theme-galahardware .gh-about-eyebrow {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gh-lime);
    margin: 0 0 14px;
}

.theme-galahardware .about-hero-title { color: #ffffff; }
.theme-galahardware .about-hero-subtitle { color: #b7bdc4; }

.theme-galahardware .stat-card {
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: var(--gh-surface);
}

.theme-galahardware .stat-number {
    font-family: var(--heading-font);
    font-weight: 800;
    color: var(--gh-red);
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .stat-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gh-muted);
}

.theme-galahardware .product-category-card {
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
}

.theme-galahardware .product-category-icon { color: var(--gh-green); }

.theme-galahardware .gh-role {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-red);
    margin-bottom: 8px;
}

.theme-galahardware .clientele-list svg { color: var(--gh-green); }

/* Base app.css paints .about-cta as white-on-primary. This theme flips the
   ground to a light surface, so the inherited `color: var(--color-white)` has
   to be flipped with it - otherwise the showroom address renders white on
   near-white and simply is not there. The h2 was overridden when this was
   written; the <p> underneath it was not, which is the bug.
   `opacity: 1` because .about-cta-content p carries .9, and a muted ink
   already dimmed to 90% reads as washed out rather than quiet. */
.theme-galahardware .about-cta { background: var(--gh-surface); color: var(--gh-ink); }
.theme-galahardware .about-cta h2,
.theme-galahardware .about-cta-content h2 { color: var(--gh-ink); }
.theme-galahardware .about-cta-content p { color: var(--gh-muted); opacity: 1; }

/* Two leadership cards in a 3-column grid sat in columns 1 and 2 with a hole
   where the third would be, which reads as "left aligned" rather than as a
   pair. Size the tracks to the content and centre the row instead. */
.theme-galahardware .gh-leadership {
    grid-template-columns: repeat(2, minmax(0, 360px));
    justify-content: center;
}

@media (max-width: 575px) {
    .theme-galahardware .gh-leadership { grid-template-columns: minmax(0, 360px); }
}

.theme-galahardware .gh-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 16px;
}

.theme-galahardware .gh-contact-card {
    display: block;
    padding: 24px 22px;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.theme-galahardware .gh-contact-card:hover {
    border-color: var(--gh-red);
    box-shadow: 0 16px 32px -26px rgba(29, 33, 37, 0.55);
    transform: translateY(-2px);
}

.theme-galahardware .gh-contact-card .material-icons {
    font-size: 27px;
    color: var(--gh-red);
    margin-bottom: 13px;
}

.theme-galahardware .gh-contact-card h2 {
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-muted);
    margin: 0 0 8px;
}

.theme-galahardware .gh-contact-value {
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 800;
    color: var(--gh-ink);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    word-break: break-word;
}

.theme-galahardware .gh-contact-note { font-size: 14px; color: var(--gh-muted); margin: 0; }

.theme-galahardware .gh-contact-footnote {
    position: relative;
    margin-top: 32px;
    padding: 20px 22px 20px 58px;
    border-radius: 10px;
    background: var(--gh-green-wash);
}

.theme-galahardware .gh-contact-footnote::before {
    content: "engineering";
    font-family: 'Material Icons';
    position: absolute;
    top: 19px;
    left: 20px;
    font-size: 24px;
    color: var(--gh-green-dark);
}

.theme-galahardware .gh-contact-footnote p { margin: 0; }
.theme-galahardware .gh-contact-footnote a { color: var(--gh-red); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-cat,
    .theme-galahardware .gh-contact-card { transition: none; }
    .theme-galahardware .gh-cat:hover,
    .theme-galahardware .gh-contact-card:hover { transform: none; }
}

/* Accepted payment methods, stated rather than shown as trademark logos. */
.theme-galahardware .gh-pay { display: flex; flex-wrap: wrap; gap: 8px; }

.theme-galahardware .gh-pay span {
    font-family: var(--heading-font);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d3d7db;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    padding: 5px 11px;
}

/* ==========================================================================
   11. Home page — this theme's own layout system (gh-*)
   ========================================================================== */

.theme-galahardware .gh-wrap {
    max-width: none;
    margin-inline: auto;
    padding-inline: 22px;
}

.theme-galahardware .gh-block { padding-block: 44px; }
.theme-galahardware .gh-band { background: var(--gh-surface); border-block: 1px solid var(--gh-line); }

.theme-galahardware .gh-kicker {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gh-muted);
    margin: 0 0 6px;
}

.theme-galahardware .gh-kicker-red { color: var(--gh-red); }

.theme-galahardware .gh-block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--gh-ink);
}

.theme-galahardware .gh-block-head h2 {
    font-family: var(--heading-font);
    font-size: clamp(1.3rem, 2.6vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.028em;
    color: var(--gh-ink);
    margin: 0;
}

.theme-galahardware .gh-block-head-center {
    justify-content: center;
    text-align: center;
    border-bottom: 0;
}

.theme-galahardware .gh-block-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-red);
}

.theme-galahardware .gh-block-more .material-icons { font-size: 18px; }

/* --- Buttons --- */
.theme-galahardware .gh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 5px;
    border: 2px solid transparent;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.theme-galahardware .gh-btn-primary { background: var(--gh-red); color: #ffffff; border-color: var(--gh-red); }
.theme-galahardware .gh-btn-primary:hover { background: var(--gh-red-dark); border-color: var(--gh-red-dark); }
.theme-galahardware .gh-btn-outline { border-color: var(--gh-ink); color: var(--gh-ink); background: #ffffff; }
.theme-galahardware .gh-btn-outline:hover { background: var(--gh-ink); color: #ffffff; }
.theme-galahardware .gh-btn-ghost { border-color: rgba(255,255,255,.5); color: #ffffff; }
.theme-galahardware .gh-btn-ghost:hover { background: #ffffff; color: var(--gh-ink); border-color: #ffffff; }

/* --- Category rail --- */
.theme-galahardware .gh-rail { border-bottom: 1px solid var(--gh-line); background: #ffffff; }

.theme-galahardware .gh-rail-list {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 14px 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.theme-galahardware .gh-rail-list::-webkit-scrollbar { display: none; }

.theme-galahardware .gh-rail-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 7px;
    border: 1px solid var(--gh-line);
    border-radius: 999px;
    background: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-rail-list a:hover { border-color: var(--gh-red); color: var(--gh-red); }

.theme-galahardware .gh-rail-list img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
}

/* --- Hero panels --- */
.theme-galahardware .gh-hero-grid {
    display: grid;
    grid-template-columns: 1.85fr 1fr;
    gap: 16px;
    padding-top: 20px;
}

.theme-galahardware .gh-panel-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }

.theme-galahardware .gh-panel {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gh-ink);
    text-decoration: none;
    min-height: 190px;
}

.theme-galahardware .gh-panel-wide { min-height: 396px; }

.theme-galahardware .gh-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.theme-galahardware .gh-panel-text {
    position: relative;
    padding: 30px 28px;
    max-width: 30rem;
    background: linear-gradient(90deg, rgba(29,33,37,.92) 0%, rgba(29,33,37,.7) 62%, rgba(29,33,37,0) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.theme-galahardware .gh-panel-text h1,
.theme-galahardware .gh-panel-text h2 {
    font-family: var(--heading-font);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 2.6vw, 2.15rem);
    line-height: 1.12;
}

.theme-galahardware .gh-panel .gh-kicker { color: var(--gh-lime); }
.theme-galahardware .gh-panel-sub { color: #cfd4d9; margin: 0 0 18px; font-size: 14.5px; }
.theme-galahardware .gh-panel-stack h2 { font-size: 1.15rem; margin-bottom: 4px; }

.theme-galahardware .gh-panel-link {
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gh-lime);
}

.theme-galahardware .gh-panel .gh-btn { align-self: flex-start; }

@media (max-width: 900px) {
    .theme-galahardware .gh-hero-grid { grid-template-columns: 1fr; }
    .theme-galahardware .gh-panel-wide { min-height: 300px; }
    .theme-galahardware .gh-panel-text { max-width: none; background: linear-gradient(0deg, rgba(29,33,37,.93) 30%, rgba(29,33,37,0) 100%); }
}

/* --- Assurances --- */
.theme-galahardware .gh-assure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 0;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    overflow: hidden;
}

.theme-galahardware .gh-assure li {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 18px 20px;
    border-right: 1px solid var(--gh-line);
}

.theme-galahardware .gh-assure li:last-child { border-right: 0; }
.theme-galahardware .gh-assure .material-icons { color: var(--gh-green); font-size: 27px; }

.theme-galahardware .gh-assure strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-assure li > span:last-child { font-size: 12.5px; color: var(--gh-muted); line-height: 1.45; }

/* --- Product grid --- */
.theme-galahardware .gh-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

/* ---------------------------------------------------------------------------
   Rails — combos, products and reviews scroll sideways instead of wrapping.

   Swiper is already on every page for the hero, and theme.js already carries
   .products-swiper / .testimonials-swiper initialisers from the build before
   the handover; nothing on the page was using them. So this is markup and
   paint only, no new library and no new script.

   The track has to clip (that is how a carousel works), but .gh-card lifts a
   soft shadow on hover and clipping would shave it off. The rail is therefore
   padded and pulled back out by the same amount, giving the shadow room inside
   the clip rather than fighting it.
--------------------------------------------------------------------------- */
.theme-galahardware .gh-rail {
    position: relative;
    margin: 0 -14px;
    padding: 14px;
}

.theme-galahardware .gh-rail .swiper-slide {
    height: auto;              /* cards set their own height, then stretch */
    display: flex;
}

.theme-galahardware .gh-rail .swiper-slide > * { width: 100%; }

.theme-galahardware .products-swiper .swiper-slide { width: 252px; }
.theme-galahardware .testimonials-swiper .swiper-slide { width: 330px; }

/* The arrows. Swiper's own are a 44px blue glyph in its brand colour; these
   are the theme's: a white disc on the hairline, red on hover, and gone
   entirely when there is nothing to scroll to (watchOverflow adds -lock). */
.theme-galahardware .gh-rail-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    padding: 0;
    border: 1px solid var(--gh-line-strong);
    border-radius: 999px;
    background: #ffffff;
    color: var(--gh-ink);
    box-shadow: 0 10px 24px -16px rgba(29, 33, 37, .6);
    transition: color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.theme-galahardware .gh-rail-nav:hover {
    color: var(--gh-red);
    border-color: var(--gh-red);
    box-shadow: 0 12px 26px -14px rgba(230, 57, 70, .5);
}

.theme-galahardware .gh-rail-nav:focus-visible {
    outline: 2px solid var(--gh-red);
    outline-offset: 2px;
}

/* The glyph comes from app.css as an escape (\2039 / \203A) rather than a
   literal. These stylesheets are served as text/css with no charset, so a
   literal was decoded as Latin-1 and the next arrow painted "â€º".

   Colour has to be stated on the pseudo-element, not inherited from the
   button. app.css pairs its arrows with a hover that fills the button dark
   and turns the glyph white (.swiper-button-next:hover::after { color:
   var(--color-white) }). These buttons stay white on hover and go red, so the
   inherited rule painted white on white and the arrow vanished under the
   cursor. Setting it here at 0,3,1 out-specifies that 0,2,1. */
.theme-galahardware .gh-rail-nav::after {
    font-size: 19px;
    font-weight: 400;
    color: var(--gh-ink, #1d2125);
}

.theme-galahardware .gh-rail-nav:hover::after,
.theme-galahardware .gh-rail-nav:focus-visible::after {
    color: var(--gh-red, #e63946);
}

.theme-galahardware .gh-rail .swiper-button-prev { left: 0; }
.theme-galahardware .gh-rail .swiper-button-next { right: 0; }

.theme-galahardware .gh-rail .swiper-button-disabled { opacity: 0; pointer-events: none; }

/* Touch devices scroll with a finger and the arrows only cover the cards. */
@media (max-width: 767px) {
    .theme-galahardware .gh-rail-nav { display: none; }
    .theme-galahardware .products-swiper .swiper-slide { width: 208px; }
    .theme-galahardware .testimonials-swiper .swiper-slide { width: 280px; }
}

.theme-galahardware .gh-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow .16s ease, border-color .16s ease;
}

.theme-galahardware .gh-card:hover { border-color: var(--gh-line-strong); box-shadow: 0 14px 30px -22px rgba(29,33,37,.55); }

.theme-galahardware .gh-card-media { position: relative; background: var(--gh-surface); }

.theme-galahardware .gh-card-shot { display: block; aspect-ratio: 1 / 1; }

/* Catalogue photography here is cut-outs on white, so the whole appliance has
   to sit inside the square: cover cropped the hob, the hood and the handle off
   the edges of the card. */
.theme-galahardware .gh-card-media { background: #ffffff; }
.theme-galahardware .gh-card-shot img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }

/* A flagged card holds the picture clear of the flag instead of letting the
   two share the corner. The flag sits at top:10px and stands about 20px tall,
   so the shot starts below it and "-25%" reads against the card rather than
   against the middle of a black hob. Only cards that actually carry a flag
   are inset — an undiscounted card would otherwise wear a dead strip. */
.theme-galahardware .gh-card-media.has-flags .gh-card-shot img { padding-top: 38px; }

/* The overlays have to out-rank the picture and its hover sheen. .gh-card-shot
   paints a ::after sheen over the whole media box, which was covering the
   discount flag — invisible while the shot was cropped edge to edge, and a
   half-drawn "-4" the moment it was contained instead. Both corners get a
   stacking order rather than only the one that showed the symptom. */
.theme-galahardware .gh-card-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 3; }

.theme-galahardware .wishlist-badge { z-index: 3; }

.theme-galahardware .wishlist-item-image img {
    object-fit: contain;
    padding: 38px 8px 8px;
    background: #ffffff;
}

.theme-galahardware .gh-flag {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    color: #ffffff;
}

.theme-galahardware .gh-flag-save { background: var(--gh-red); }
.theme-galahardware .gh-flag-new { background: var(--gh-green); }

.theme-galahardware .gh-card-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    z-index: 3;
    transition: opacity .16s ease;
}

.theme-galahardware .gh-card:hover .gh-card-tools,
.theme-galahardware .gh-card:focus-within .gh-card-tools { opacity: 1; }

.theme-galahardware .gh-tool {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line);
    border-radius: 5px;
    background: #ffffff;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-tool:hover,
.theme-galahardware .gh-tool.active { background: var(--gh-red); border-color: var(--gh-red); color: #ffffff; }
.theme-galahardware .gh-tool .material-icons { font-size: 19px; }

.theme-galahardware .gh-card-body { display: flex; flex-direction: column; flex: 1; padding: 13px 14px 15px; }

.theme-galahardware .gh-card-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 6px;
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.theme-galahardware .gh-card-code { color: var(--gh-ink); background: var(--gh-surface-2); padding: 2px 6px; border-radius: 3px; }
.theme-galahardware .gh-card-brand { color: var(--gh-muted); }

.theme-galahardware .gh-card-name { margin: 0 0 6px; }

.theme-galahardware .gh-card-name a {
    font-family: var(--heading-font);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.34;
    letter-spacing: -0.012em;
    color: var(--gh-ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-galahardware .gh-card-name a:hover { color: var(--gh-red); }

.theme-galahardware .gh-card-spec { font-size: 12.5px; color: var(--gh-muted); margin: 0 0 12px; }

.theme-galahardware .gh-card-foot { margin-top: auto; }

.theme-galahardware .gh-card-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }

.theme-galahardware .gh-card-price .price-sale,
.theme-galahardware .gh-card-price .price-regular {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 800;
    color: var(--gh-ink);
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .gh-card-mrp { font-size: 13px; color: var(--gh-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.theme-galahardware .gh-card-unit { font-size: 11.5px; color: var(--gh-muted); }
.theme-galahardware .gh-card-saving { margin: 3px 0 0; font-size: 12px; font-weight: 700; color: var(--gh-green-dark); }

.theme-galahardware .gh-card-add {
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 5px;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-card-add:hover { background: var(--gh-red); }
.theme-galahardware .gh-card-add .material-icons { font-size: 18px; }

/* --- Rooms --- */
.theme-galahardware .gh-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.theme-galahardware .gh-rooms a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 16px;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
    text-decoration: none;
}

.theme-galahardware .gh-rooms a:hover { border-color: var(--gh-red); color: var(--gh-red); }
.theme-galahardware .gh-rooms .material-icons { font-size: 19px; color: var(--gh-muted); }

/* --- Feature band --- */
.theme-galahardware .gh-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

@media (max-width: 880px) { .theme-galahardware .gh-feature { grid-template-columns: 1fr; gap: 22px; } }

.theme-galahardware .gh-feature-shot img,
.theme-galahardware .gh-feature-shot video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: #e9e7e2;
}

.theme-galahardware .gh-feature-copy h2 {
    font-family: var(--heading-font);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

/* The line under the heading carries the promise; the paragraph under it
   carries the detail. Sized between the two so the order is obvious. */
.theme-galahardware .gh-feature-lead {
    font-size: 16.5px;
    font-weight: 600;
    color: var(--gh-ink);
    margin: 0 0 10px;
}

.theme-galahardware .gh-ticks { list-style: none; margin: 18px 0 24px; padding: 0; }

.theme-galahardware .gh-ticks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 9px;
    font-size: 14.5px;
}

.theme-galahardware .gh-ticks .material-icons { color: var(--gh-green); font-size: 20px; }

/* --- Brands --- */
/* --- Brands, as their own marks -----------------------------------------
   A uniform height and a free width: logos are drawn to their own
   proportions, so a wordmark six times wider than a roundel still reads at
   the same weight. The tile is there to guarantee contrast - most of these
   are dark artwork on transparent - and to keep the row on one baseline
   however ragged the logos' own margins are.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-brandrow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
    /* The 980px cap here was tuned for EIGHT marks, to break them four and four
       rather than six and a stranded pair. With 44 (2026-10-14) that reasoning
       is gone and the cap only made the block taller and narrower than it needs
       to be, so it is widened to the content width and the tiles tightened -
       a brand wall, read as one block, not a column of leftovers. */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.theme-galahardware .gh-brandrow li {
    display: block;
    /* One tile size for every brand, and the logo fills it: the logo files
       were trimmed of their own blank margins (2026-11-03), so contain-fit
       here scales each mark up to the tile edge rather than to a fixed height. */
    box-sizing: border-box;
    width: 156px;
    height: 88px;
    padding: 6px 10px;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: #ffffff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.theme-galahardware .gh-brandrow li:hover {
    border-color: var(--gh-line-strong);
    box-shadow: 0 10px 22px -18px rgba(29, 33, 37, .55);
}

.theme-galahardware .gh-brandrow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 639px) {
    .theme-galahardware .gh-brandrow { gap: 8px; }
    .theme-galahardware .gh-brandrow li { width: calc(33.333% - 6px); height: 74px; padding: 4px 8px; }
}

/* --- Quotes --- */
.theme-galahardware .gh-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
}

/* Testimonial cards: a reference note, not a floating quote. The lead line
   carries the point, the body supports it, and the attribution sits below a
   hairline with the trade role — which is what another architect reads for. */
.theme-galahardware .gh-quote {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 26px 24px 22px;
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
}

.theme-galahardware .gh-quote-lead {
    margin: 0 0 12px;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.018em;
    line-height: 1.3;
    color: var(--gh-ink);
}

/* A small mark before the quote, sized as punctuation rather than decoration */
.theme-galahardware .gh-quote-lead::before {
    content: "";
    display: block;
    width: 26px;
    height: 3px;
    margin-bottom: 12px;
    border-radius: 2px;
    background: var(--gh-red);
}

.theme-galahardware .gh-quote blockquote {
    margin: 0 0 20px;
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--gh-body);
    flex: 1;
}

.theme-galahardware .gh-quote figcaption {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 15px;
    border-top: 1px solid var(--gh-line);
}

.theme-galahardware .gh-quote-mark {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .04em;
}

.theme-galahardware .gh-quote-who { display: flex; flex-direction: column; min-width: 0; }

.theme-galahardware .gh-quote-who strong {
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-ink);
    line-height: 1.3;
}

.theme-galahardware .gh-quote-who small { font-size: 12px; color: var(--gh-muted); line-height: 1.35; }

/* The first reference leads: wider, and its quote set larger */
@media (min-width: 1100px) {
    .theme-galahardware .gh-quotes { grid-template-columns: 1.35fr 1fr 1fr; align-items: stretch; }
    .theme-galahardware .gh-quote.is-lead { background: var(--gh-ink); border-color: var(--gh-ink); }
    .theme-galahardware .gh-quote.is-lead .gh-quote-lead { color: #ffffff; font-size: 19px; }
    .theme-galahardware .gh-quote.is-lead blockquote { color: #c6cbd1; font-size: 15.5px; }
    .theme-galahardware .gh-quote.is-lead figcaption { border-top-color: rgba(255,255,255,.14); }
    .theme-galahardware .gh-quote.is-lead .gh-quote-mark { background: var(--gh-red); }
    .theme-galahardware .gh-quote.is-lead .gh-quote-who strong { color: #ffffff; }
    .theme-galahardware .gh-quote.is-lead .gh-quote-who small { color: #8f98a1; }
}

/* --- FAQ (native details) --- */
.theme-galahardware .gh-faq { border: 1px solid var(--gh-line); border-radius: 8px; overflow: hidden; }

.theme-galahardware .gh-faq details { border-bottom: 1px solid var(--gh-line); }
.theme-galahardware .gh-faq details:last-child { border-bottom: 0; }

.theme-galahardware .gh-faq summary {
    cursor: pointer;
    padding: 16px 20px;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--gh-ink);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.theme-galahardware .gh-faq summary::-webkit-details-marker { display: none; }
.theme-galahardware .gh-faq summary::after {
    content: "add";
    font-family: 'Material Icons';
    font-size: 20px;
    line-height: 1;
    color: var(--gh-red);
    flex: none;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.theme-galahardware .gh-faq details.gh-open summary::after { transform: rotate(135deg); }
.theme-galahardware .gh-faq details.gh-open summary { color: var(--gh-red); }

/* The body fades in behind the height animation the script drives */
.theme-galahardware .gh-faq details.gh-open > p {
    animation: gh-panel-in .26s 0s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes gh-panel-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

.theme-galahardware .gh-faq summary { transition: color .18s ease, background-color .18s ease; }
.theme-galahardware .gh-faq summary:hover { background: var(--gh-surface); color: var(--gh-red); }

/* Open, not hovered: the card lifts out of the list on its own */
.theme-galahardware .gh-faq details.gh-open {
    border-color: var(--gh-line-strong);
    background: #ffffff;
    box-shadow: 0 14px 30px -24px rgba(29, 33, 37, .5);
}

.theme-galahardware .gh-faq details.gh-open summary {
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-line);
}
.theme-galahardware .gh-faq summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-faq summary::after,
    .theme-galahardware .gh-faq summary { transition: none; }
    .theme-galahardware .gh-faq details.gh-open > p { animation: none; }
}
/* Even box: the summary's own 16/20 padding, matched on the body. It had no
   top padding, so the answer sat hard against the tinted summary row. */
.theme-galahardware .gh-faq p {
    margin: 0;
    padding: 15px 20px 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gh-body);
}

/* --- Trade band --- */
.theme-galahardware .gh-trade {
    background: var(--gh-ink);
    border-radius: 10px;
    padding: 36px 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
}

.theme-galahardware .gh-trade h2 { color: #ffffff; margin: 0 0 8px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.theme-galahardware .gh-trade p { color: #b7bdc4; margin: 0; max-width: 54ch; }
.theme-galahardware .gh-trade-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ==========================================================================
   12. Masthead — own namespace, immune to app.css
   --------------------------------------------------------------------------
   Breakpoints used across this theme:
     <  640px  phone
     >= 640px  large phone / small tablet
     >= 900px  tablet
     >= 1200px laptop
     >= 1600px large desktop
   ========================================================================== */

/* Three compatibility resets: these classes stay in the markup only because
   the theme's JS selects them, so app.css's geometry is neutralised here. */
.theme-galahardware .header-search { max-width: none; flex: none; }

.theme-galahardware a.header-action {
    width: auto;
    height: auto;
    justify-content: flex-start;
}

.theme-galahardware .gh-shell {
    max-width: none;
    margin-inline: auto;
    padding-inline: 22px;
}

.theme-galahardware .gh-header { background: #ffffff; }

/* --- Row 1: utility --- */
.theme-galahardware .gh-utilbar {
    background: var(--gh-ink);
    color: #ffffff;
    font-size: 12.5px;
}

.theme-galahardware .gh-utilbar .gh-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 38px;
}

.theme-galahardware .gh-utilbar-addr {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #c6cbd1;
}

.theme-galahardware .gh-utilbar-links { display: flex; align-items: center; gap: 20px; }

.theme-galahardware .gh-utilbar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.theme-galahardware .gh-utilbar a:hover { color: var(--gh-lime); }
.theme-galahardware .gh-utilbar .material-icons { font-size: 16px; }

/* --- Row 2: masthead --- */
.theme-galahardware .gh-mast { border-bottom: 1px solid var(--gh-line); background: #ffffff; }

.theme-galahardware .gh-mast-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand find tools";
    align-items: center;
    gap: 20px;
    padding-block: 12px;
}

.theme-galahardware .gh-burger {
    grid-area: burger;
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-brand { grid-area: brand; display: inline-flex; align-items: center; }
.theme-galahardware .gh-brand img { height: 48px; width: auto; display: block; }

.theme-galahardware .gh-brand-text {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--gh-ink);
}

/* Search */
.theme-galahardware .gh-find { grid-area: find; position: relative; }

/* Search field: white and defined, with a compact red action. The filled grey
   pill with a black word-button read heavy and sat oddly in a white masthead. */
.theme-galahardware .gh-find-form {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 4px 4px 4px 16px;
    border: 1.5px solid var(--gh-line-strong);
    border-radius: 10px;
    background: #ffffff;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.theme-galahardware .gh-find-form:hover { border-color: var(--gh-muted); }

.theme-galahardware .gh-find:focus-within .gh-find-form {
    border-color: var(--gh-ink);
    box-shadow: 0 6px 18px -12px rgba(29, 33, 37, .5);
}

.theme-galahardware .gh-find-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    font-family: var(--body-font);
    font-size: 14.5px;
    color: var(--gh-ink);
    appearance: none;
}

.theme-galahardware .gh-find-input:focus,
.theme-galahardware .gh-find-input:focus-visible {
    outline: none;
    border: 0;
    box-shadow: none;
}

.theme-galahardware .gh-find-input::placeholder { color: var(--gh-muted); }
.theme-galahardware .gh-find-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.theme-galahardware .gh-find-go {
    flex: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: var(--gh-red);
    color: #ffffff;
    cursor: pointer;
    transition: background-color .16s ease;
}

.theme-galahardware .gh-find-go:hover { background: var(--gh-red-dark); }
.theme-galahardware .gh-find-go:focus-visible { outline: 2px solid var(--gh-ink); outline-offset: 2px; }
.theme-galahardware .gh-find-go .material-icons { font-size: 20px; }

.theme-galahardware .gh-find-drop {
    display: none;
    position: absolute;
    z-index: 60;
    inset: calc(100% + 6px) 0 auto 0;
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    box-shadow: 0 22px 46px -28px rgba(29, 33, 37, .5);
    max-height: 420px;
    overflow-y: auto;
}

.theme-galahardware .gh-find-drop.active { display: block; }
.theme-galahardware .gh-find-loading,
.theme-galahardware .gh-find-empty { display: none; padding: 16px; color: var(--gh-muted); font-size: 14px; }
.theme-galahardware .gh-find-loading.active,
.theme-galahardware .gh-find-empty.active { display: flex; align-items: center; gap: 8px; }

/* Tools */
.theme-galahardware .gh-tools { grid-area: tools; display: flex; align-items: center; gap: 4px; }
.theme-galahardware .gh-tool-wrap { position: relative; }

.theme-galahardware .gh-tool-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--gh-ink);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.theme-galahardware .gh-tool-btn:hover,
.theme-galahardware .gh-tool-btn.active { border-color: var(--gh-line); background: var(--gh-surface); }

.theme-galahardware .gh-tool-btn .material-icons { font-size: 24px; color: var(--gh-ink); flex: none; }

.theme-galahardware .gh-tool-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.theme-galahardware .gh-tool-text small { font-size: 11px; font-weight: 500; color: var(--gh-muted); }

.theme-galahardware .gh-tool-text strong {
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-tool-cart .material-icons { color: var(--gh-red); }

.theme-galahardware .gh-pip {
    position: absolute;
    top: 3px;
    left: 24px;
    min-width: 18px;
    height: 18px;
    padding-inline: 5px;
    border-radius: 9px;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

/* Dropdowns (both toggled by .active from the theme JS) */
.theme-galahardware .gh-drop {
    display: none;
    position: absolute;
    z-index: 70;
    top: calc(100% + 8px);
    right: 0;
    width: 290px;
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    box-shadow: 0 24px 50px -30px rgba(29, 33, 37, .55);
    overflow: hidden;
}

.theme-galahardware .gh-drop.active { display: block; }

.theme-galahardware .gh-drop-user a {
    display: block;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--gh-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--gh-line);
}

.theme-galahardware .gh-drop-user a:last-child { border-bottom: 0; }
.theme-galahardware .gh-drop-user a:hover { background: var(--gh-surface); color: var(--gh-red); }

.theme-galahardware .gh-drop-greet {
    margin: 0;
    padding: 13px 16px;
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-line);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--gh-ink);
}

.theme-galahardware .gh-drop-out { color: var(--gh-red) !important; font-weight: 700; }

.theme-galahardware .gh-drop-head {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gh-line);
    background: var(--gh-surface);
}

.theme-galahardware .gh-drop-head h4 {
    margin: 0 0 8px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 800;
    color: var(--gh-ink);
}

.theme-galahardware .gh-drop-detect {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--gh-red);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-drop-detect .material-icons { font-size: 17px; }
.theme-galahardware .gh-drop-body { padding: 14px 16px 16px; }

.theme-galahardware .gh-drop-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-muted);
}

.theme-galahardware .gh-drop-row { display: flex; gap: 8px; }

.theme-galahardware .gh-drop-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 5px;
    padding-inline: 11px;
    font-size: 14px;
}

.theme-galahardware .gh-drop-apply {
    flex: none;
    padding-inline: 16px;
    border: 0;
    border-radius: 5px;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-drop-apply:hover { background: var(--gh-red); }
.theme-galahardware .gh-drop-hint { margin: 9px 0 0; font-size: 12.5px; color: var(--gh-muted); }

/* --- Row 3: category bar --- */
.theme-galahardware .gh-catbar { background: var(--gh-surface); border-bottom: 1px solid var(--gh-line); }

.theme-galahardware .gh-catbar-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.theme-galahardware .gh-catlist { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.theme-galahardware .gh-catitem { position: relative; }

.theme-galahardware .gh-catlink {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 14px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-ink);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

/* No underline indicator — the anchor itself carries the active state. */
.theme-galahardware .gh-catlink::after { content: none; }

.theme-galahardware .gh-catlink:hover,
.theme-galahardware .gh-catlink.is-on { color: var(--gh-red); }
.theme-galahardware .gh-catlink.is-on { font-weight: 700; }

.theme-galahardware .gh-catlink-all {
    background: var(--gh-ink);
    color: #ffffff;
    border-radius: 6px;
    margin-right: 10px;
    padding-block: 10px;
}

.theme-galahardware .gh-catlink-all:hover { background: var(--gh-red); color: #ffffff; }
.theme-galahardware .gh-catlink-all::after { content: none; }
.theme-galahardware .gh-catlink-all .material-icons { font-size: 19px; }

.theme-galahardware .gh-catbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--gh-red);
    text-decoration: none;
    white-space: nowrap;
}

.theme-galahardware .gh-catbar-cta .material-icons { font-size: 18px; }

/* Mega menu */
.theme-galahardware .gh-mega {
    display: none;
    position: absolute;
    z-index: 65;
    top: 100%;
    left: 0;
    width: min(1060px, 86vw);
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 26px 52px -30px rgba(29, 33, 37, .5);
}

.theme-galahardware .gh-catitem-all:hover .gh-mega,
.theme-galahardware .gh-catitem-all:focus-within .gh-mega { display: block; }

/* The counter menu: a picture for every category with its name under it.
   The arrangement is the common one; what keeps it Gala's is everything
   else — the red rule opening each heading, the "All" pill, ink-and-red
   hover, the heading face on the captions, and a lettered ink chip wherever
   the ERP has no picture yet. */
.theme-galahardware .gh-mega-grid { display: grid; gap: 22px; }

.theme-galahardware .gh-mega-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    padding-top: 11px;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gh-ink);
    text-decoration: none;
}

/* The red rule that opens every other block on the site. */
.theme-galahardware .gh-mega-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: var(--gh-red);
}

.theme-galahardware .gh-mega-head span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gh-body);
    border: 1px solid var(--gh-line);
    border-radius: 999px;
    padding: 2px 9px;
}

.theme-galahardware .gh-mega-head:hover { color: var(--gh-red); }
.theme-galahardware .gh-mega-head:hover span { border-color: var(--gh-red); color: var(--gh-red); }

.theme-galahardware .gh-mega-tiles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 16px 14px;
}

.theme-galahardware .gh-mega-tiles a {
    display: block;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
}

.theme-galahardware .gh-mega-tiles a:hover {
    border-color: var(--gh-line);
    background: var(--gh-surface);
}

.theme-galahardware .gh-mega-shot {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gh-surface);
    border: 1px solid var(--gh-line);
}

.theme-galahardware .gh-mega-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
    display: block;
}

/* No picture in the ERP yet: the initial on ink, so the row still reads as a
   deliberate thing rather than a broken image. */
.theme-galahardware .gh-mega-shot i {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 34px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -.02em;
}

.theme-galahardware .gh-mega-tiles .gh-mega-name {
    display: block;
    margin-top: 9px;
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.3;
    color: var(--gh-ink);
}

.theme-galahardware .gh-mega-tiles a:hover .gh-mega-name { color: var(--gh-red); }

/* ==========================================================================
   13. Responsive — phone / tablet / laptop / large desktop
   ========================================================================== */

.theme-galahardware .gh-hide-sm,
.theme-galahardware .gh-hide-md,
.theme-galahardware .gh-hide-lg { display: none; }

/* >= 640px — large phone: show the wishlist tool */
@media (min-width: 640px) {
    .theme-galahardware .gh-hide-sm { display: inline-flex; }
}

/* >= 900px — tablet: category bar and pincode tool appear */
@media (min-width: 900px) {
    .theme-galahardware .gh-hide-md { display: block; }
    .theme-galahardware .gh-tool-wrap.gh-hide-md { display: block; }
}

/* >= 1200px — laptop: the bulk-enquiry link fits */
@media (min-width: 1200px) {
    .theme-galahardware .gh-hide-lg { display: inline-flex; }
}

/* < 900px — stack the masthead: burger + brand + tools, search on its own row */
@media (max-width: 899px) {
    .theme-galahardware .gh-mast-grid {
        grid-template-columns: auto auto 1fr;
        grid-template-areas:
            "burger brand tools"
            "find   find  find";
        gap: 12px;
    }
    .theme-galahardware .gh-burger { display: grid; }
    .theme-galahardware .gh-tools { justify-content: flex-end; }
    .theme-galahardware .gh-tool-text { display: none; }
    .theme-galahardware .gh-tool-btn { padding: 9px; }
    .theme-galahardware .gh-pip { left: 22px; }
    .theme-galahardware .gh-utilbar-addr { display: none; }
    .theme-galahardware .gh-utilbar .gh-shell { justify-content: center; }
    .theme-galahardware .gh-brand img { height: 38px; }
}

/* < 640px — phone */
@media (max-width: 639px) {
    .theme-galahardware .gh-shell { padding-inline: 14px; }
    .theme-galahardware .gh-utilbar-links { gap: 14px; font-size: 12px; }
    .theme-galahardware .gh-brand img { height: 32px; }
    .theme-galahardware .gh-find-input { height: 40px; font-size: 14px; }
    .theme-galahardware .gh-find-go { width: 48px; }
    .theme-galahardware .gh-drop { width: min(300px, calc(100vw - 28px)); }
}

/* >= 1600px — large desktop: wider shell, roomier masthead */
@media (min-width: 1600px) {
    .theme-galahardware .gh-mast-grid { gap: 34px; padding-block: 16px; }
    .theme-galahardware .gh-brand img { height: 56px; }
    .theme-galahardware .gh-find-input { height: 48px; font-size: 15.5px; }
    .theme-galahardware .gh-mega { width: min(1160px, 78vw); }
}

/* --- Home shell matches the masthead shell at every width --- */
.theme-galahardware .gh-wrap { max-width: none; padding-inline: 22px; }
@media (max-width: 639px)  { .theme-galahardware .gh-wrap { padding-inline: 14px; }
    .theme-galahardware .gh-shell { padding-inline: 14px; } }

.theme-galahardware .gh-block-tight { padding-block: 24px 10px; }

/* The first band on the page. It carries the rail, which is a wayfinding strip
   rather than a section of its own, so it opens tight against the masthead and
   leaves the hero inside the first screen. */
.theme-galahardware .gh-block-tight:first-of-type { padding-block: 10px 4px; }
.theme-galahardware .gh-block-tight:first-of-type .gh-block-head { margin-bottom: 9px; padding-bottom: 7px; }

/* --- Category rail ------------------------------------------------------
   One line, always: the counters a customer shops (Hob, Chimney, Microwave)
   read across in a single row with the picture above the name, the way an
   appliance showroom lists them. The row divides the full width when the
   tiles fit and scrolls sideways when they do not, so it never wraps into a
   second or third band - `flex: 1 0 <basis>` grows the tiles on a wide screen
   and holds the basis on a narrow one.

   Pictures are contained, not cropped. Catalogue shots here are cut-outs on
   white and object-fit:cover sliced the hob or the chimney hood in half; the
   tile keeps its square and the whole product sits inside it.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-cats {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gh-line-strong) transparent;
}

.theme-galahardware .gh-cats::-webkit-scrollbar { height: 6px; }
.theme-galahardware .gh-cats::-webkit-scrollbar-track { background: transparent; }
.theme-galahardware .gh-cats::-webkit-scrollbar-thumb {
    background: var(--gh-line-strong);
    border-radius: 999px;
}

.theme-galahardware .gh-cats > li {
    flex: 1 0 82px;
    min-width: 82px;
    max-width: 116px;
    scroll-snap-align: start;
}

.theme-galahardware .gh-cats a {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 5px;
    height: 100%;
    padding: 7px 6px 8px;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
    background: #ffffff;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.theme-galahardware .gh-cats a:hover {
    border-color: var(--gh-red);
    box-shadow: 0 12px 24px -20px rgba(29, 33, 37, .5);
}

/* Height is set here, not inferred from a square: a 1/1 shot in a 128px tile
   is a 116px picture, and the rail was taller than the hero it sits above.
   These are recognition thumbnails - a hob reads at 56px as well as at 116. */
.theme-galahardware .gh-cats-shot {
    display: grid;
    /* The row has to be stated. Without it this is an implicit, auto-sized row,
       and the img's height:100% becomes a cyclic percentage: the track asks the
       item how tall it is, the item cannot answer in terms of the track so it
       falls back to its intrinsic ratio (94px of content width over 200/144 =
       67.7px of picture, + 8px of padding = 75.7px), and the row grows to
       75.7px inside a box that is 56px tall with overflow:hidden. The row is
       flush with the top, so the whole 19.7px of overspill came off the
       BOTTOM - 15.7px of a 67.7px picture, very nearly a quarter of it. That
       is a hob's control knobs, the foot of a chimney, the base of an oven.

       It reads as a cropped photograph, and it is not: object-fit:contain was
       doing its job the whole time - it fits the picture inside the img box,
       and it was the img box that did not fit its frame. Nothing is wrong with
       the files, so nothing heavier needs fetching to repair it.

       minmax(0, 1fr) makes the row exactly as tall as this box, so height:100%
       resolves against a real number and the picture lands inside the frame.
       1fr rather than 56px, so the 44px phone rail further down inherits the
       fix instead of needing a second rule. */
    grid-template-rows: minmax(0, 1fr);
    place-items: center;
    width: 100%;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
}

.theme-galahardware .gh-cats-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 4px;
}

/* No picture in the ERP yet: the category's initial, rather than a wall of
   identical placeholders. Replaced the moment a shot is uploaded. */
.theme-galahardware .gh-cats-shot i {
    font-family: var(--heading-font);
    font-style: normal;
    font-size: 20px;
    font-weight: 700;
    color: var(--gh-ink);
    opacity: .35;
}

.theme-galahardware .gh-cats-name {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--gh-ink);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.theme-galahardware .gh-cats a:hover .gh-cats-name { color: var(--gh-red); }

@media (max-width: 639px) {
    .theme-galahardware .gh-cats { gap: 7px; }
    .theme-galahardware .gh-cats > li { flex: 0 0 70px; min-width: 70px; }
    .theme-galahardware .gh-cats a { padding: 6px 4px 7px; gap: 4px; }
    .theme-galahardware .gh-cats-shot { height: 44px; }
    .theme-galahardware .gh-cats-name { font-size: 9.5px; }
}

/* --- Home responsive: products, hero, assurances --- */
@media (max-width: 1199px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 899px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .theme-galahardware .gh-block { padding-block: 32px; }
    .theme-galahardware .gh-assure li { border-right: 0; border-bottom: 1px solid var(--gh-line); }
    .theme-galahardware .gh-assure li:last-child { border-bottom: 0; }
    .theme-galahardware .gh-trade { padding: 26px 22px; }
}
@media (max-width: 639px) {
    .theme-galahardware .gh-card-add { font-size: 12.5px; padding: 9px 10px; }
    .theme-galahardware .gh-card-body { padding: 11px 11px 13px; }
    .theme-galahardware .gh-block-head h2 { font-size: 1.15rem; }
    .theme-galahardware .gh-panel-text { padding: 20px 18px; }
}
@media (min-width: 1600px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(5, 1fr); }
    .theme-galahardware .gh-block { padding-block: 56px; }
}

/* cart.js / mini-cart.js create the count badge as <span class="badge"> when
   the cart goes from empty, so both class names are styled.

   base's .header-action .badge sets right:0.2rem. Setting only `left` left the
   badge anchored on both edges, which stretched it into a wide pill across the
   icon — `right: auto` is the fix, not a width. */
.theme-galahardware .gh-tool-btn .badge,
.theme-galahardware .gh-tool-btn .gh-pip {
    position: absolute;
    top: 1px;
    left: 26px;
    right: auto;
    bottom: auto;
    min-width: 17px;
    width: auto;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    display: block;
    box-shadow: 0 0 0 2px #ffffff;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 899px) {
    .theme-galahardware .gh-tool-btn .badge,
    .theme-galahardware .gh-tool-btn .gh-pip { left: 21px; top: 0; }
}

/* ==========================================================================
   14. Modals — quick view
   ========================================================================== */

.theme-galahardware .gh-qv {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.theme-galahardware .gh-qv.active { display: flex; }

.theme-galahardware .gh-qv-veil {
    position: absolute;
    inset: 0;
    background: rgba(18, 21, 24, .62);
    backdrop-filter: blur(2px);
}

.theme-galahardware .gh-qv-loading {
    position: relative;
    z-index: 2;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: #ffffff;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--gh-ink);
}

.theme-galahardware .gh-qv.loading .gh-qv-loading { display: flex; }
.theme-galahardware .gh-qv.loading .gh-qv-box { display: none; }

.theme-galahardware .gh-qv-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid var(--gh-line);
    border-top-color: var(--gh-red);
    border-radius: 50%;
    animation: gh-spin .7s linear infinite;
}

@keyframes gh-spin { to { transform: rotate(360deg); } }

.theme-galahardware .gh-qv-box {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 40px 80px -40px rgba(18, 21, 24, .7);
}

.theme-galahardware .gh-qv-x {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-qv-x:hover { background: var(--gh-ink); color: #ffffff; border-color: var(--gh-ink); }

.theme-galahardware .gh-qv-grid { display: grid; grid-template-columns: 1fr 1fr; }

.theme-galahardware .gh-qv-media { padding: 22px; background: var(--gh-surface); border-radius: 12px 0 0 12px; }

.theme-galahardware .gh-qv-shot {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--gh-line);
}

.theme-galahardware .gh-qv-shot img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }

.theme-galahardware .gh-qv-arrows {
    position: absolute;
    inset: 50% 10px auto 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.theme-galahardware .gh-qv-arrow {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line);
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-qv-arrow:hover { background: var(--gh-red); border-color: var(--gh-red); color: #ffffff; }

.theme-galahardware .gh-qv-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

.theme-galahardware .gh-qv-thumbs .quickview-thumb,
.theme-galahardware .gh-qv-thumbs img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 1px solid var(--gh-line);
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
}

.theme-galahardware .gh-qv-thumbs .quickview-thumb.active { border-color: var(--gh-red); border-width: 2px; }

.theme-galahardware .gh-qv-detail { padding: 34px 30px 30px; display: flex; flex-direction: column; }

.theme-galahardware .gh-qv-cat {
    margin: 0 0 8px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gh-red);
}

.theme-galahardware .gh-qv-title {
    margin: 0 0 10px;
    font-family: var(--heading-font);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.028em;
    line-height: 1.22;
    color: var(--gh-ink);
}

.theme-galahardware .gh-qv-rating { display: flex; gap: 2px; margin-bottom: 12px; }
.theme-galahardware .gh-qv-rating .star { color: var(--gh-line-strong); font-size: 15px; }
.theme-galahardware .gh-qv-rating .star.filled { color: #f5a623; }

.theme-galahardware .gh-qv-price { display: flex; align-items: baseline; gap: 10px; }

.theme-galahardware .gh-qv-price .price-current {
    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--gh-ink);
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .gh-qv-price .price-original {
    font-size: 16px;
    color: var(--gh-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.theme-galahardware .gh-qv-tax { margin: 5px 0 16px; font-size: 12.5px; color: var(--gh-muted); }

.theme-galahardware .gh-qv-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gh-body);
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--gh-line);
}

.theme-galahardware .gh-qv-buy { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.theme-galahardware .gh-qv-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    overflow: hidden;
}

.theme-galahardware .gh-qv-qty .qty-btn {
    width: 40px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: var(--gh-surface);
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-qv-qty .qty-btn:hover { background: var(--gh-ink); color: #ffffff; }
.theme-galahardware .gh-qv-qty .qty-btn .material-icons { font-size: 18px; }

.theme-galahardware .gh-qv-qty .qty-input {
    width: 58px;
    height: 44px;
    border: 0;
    border-inline: 1px solid var(--gh-line-strong);
    text-align: center;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--gh-ink);
    -moz-appearance: textfield;
}

.theme-galahardware .gh-qv-qty .qty-input::-webkit-outer-spin-button,
.theme-galahardware .gh-qv-qty .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.theme-galahardware .gh-qv-unit { font-size: 13px; color: var(--gh-muted); }

.theme-galahardware .gh-qv-cta { display: flex; gap: 10px; margin-bottom: 16px; }

.theme-galahardware .gh-qv-add {
    flex: 1 1 auto;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-qv-add:hover { background: var(--gh-red-dark); }

.theme-galahardware .gh-qv-save {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    background: #ffffff;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-qv-save:hover,
.theme-galahardware .gh-qv-save.active { background: var(--gh-red); border-color: var(--gh-red); color: #ffffff; }

.theme-galahardware .gh-qv-full {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--gh-ink);
    text-decoration: none;
}

.theme-galahardware .gh-qv-full:hover { color: var(--gh-red); }
.theme-galahardware .gh-qv-full .material-icons { font-size: 18px; }

body.quickview-open { overflow: hidden; }

@media (max-width: 860px) {
    .theme-galahardware .gh-qv-grid { grid-template-columns: 1fr; }
    .theme-galahardware .gh-qv-media { border-radius: 12px 12px 0 0; padding: 16px; }
    .theme-galahardware .gh-qv-detail { padding: 22px 20px 24px; }
    .theme-galahardware .gh-qv-title { font-size: 1.15rem; }
}

@media (max-width: 639px) {
    .theme-galahardware .gh-qv { padding: 0; align-items: flex-end; }
    .theme-galahardware .gh-qv-box { width: 100%; max-height: 92vh; border-radius: 14px 14px 0 0; }
    .theme-galahardware .gh-qv-media { border-radius: 14px 14px 0 0; }
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.theme-galahardware .gh-ft { background: var(--gh-ink); color: #aeb4bb; margin-top: 8px; }

/* Counter strip */
.theme-galahardware .gh-ft-strip { background: var(--gh-red); }

.theme-galahardware .gh-ft-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
}

.theme-galahardware .gh-ft-strip a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px 18px;
    color: #ffffff;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.theme-galahardware .gh-ft-strip a:last-child { border-right: 0; }
.theme-galahardware .gh-ft-strip a:hover { background: var(--gh-red-dark); }
.theme-galahardware .gh-ft-strip .material-icons { font-size: 27px; }
.theme-galahardware .gh-ft-strip small { display: block; font-size: 12px; opacity: .85; }

.theme-galahardware .gh-ft-strip strong {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
}

/* Main columns */
.theme-galahardware .gh-ft-main {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr) 1.2fr;
    gap: 34px;
    padding-block: 44px 38px;
}

.theme-galahardware .gh-ft-logo { display: inline-block; margin-bottom: 15px; }

/* The reversed wordmark goes straight onto the ink. The white chip this rule
   used to draw was there for the old dark-on-transparent logo; with the white
   one it is white on white, and the footer shows a blank rectangle. */
.theme-galahardware .gh-ft-logo img {
    height: 58px;
    width: auto;
    display: block;
}

.theme-galahardware .gh-ft-logo span {
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
}

.theme-galahardware .gh-ft-about { font-size: 14px; line-height: 1.6; margin: 0 0 18px; max-width: 42ch; }

.theme-galahardware .gh-ft-addr,
.theme-galahardware .gh-ft-mail {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    font-style: normal;
    color: #aeb4bb;
    text-decoration: none;
    margin-bottom: 10px;
}

.theme-galahardware .gh-ft-mail:hover { color: var(--gh-lime); }
.theme-galahardware .gh-ft-addr .material-icons,
.theme-galahardware .gh-ft-mail .material-icons { font-size: 19px; color: var(--gh-lime); }

/* The social links had NO rules at all, so the <ul> kept browser defaults:
   bullets, and the global link colour - red on a near-black footer. Now a row
   of bordered icon buttons that match the rest of the footer's palette. */
.theme-galahardware .gh-ft-social {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
}

.theme-galahardware .gh-ft-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    color: #cfd4d9;
    text-decoration: none;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.theme-galahardware .gh-ft-social a:hover {
    color: var(--gh-ink);
    background: var(--gh-lime);
    border-color: var(--gh-lime);
}

.theme-galahardware .gh-ft-social svg { display: block; }

/* A provider with no mark falls back to its name, so the pill has to grow.
   Flagged by PHP with .is-text rather than inferred with :has(), so it does
   not depend on selector support to stay readable. */
.theme-galahardware .gh-ft-social a.is-text {
    width: auto;
    padding: 0 14px;
    border-radius: 18px;
    font-size: 13px;
}

.theme-galahardware .gh-ft-col h3 {
    font-family: var(--heading-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 15px;
}

.theme-galahardware .gh-ft-col ul { list-style: none; margin: 0; padding: 0; }
.theme-galahardware .gh-ft-col li { margin-bottom: 9px; }

.theme-galahardware .gh-ft-col a { font-size: 14px; color: #aeb4bb; text-decoration: none; }
.theme-galahardware .gh-ft-col a:hover { color: var(--gh-lime); }

.theme-galahardware .gh-ft-trade p { font-size: 13.5px; line-height: 1.55; margin: 0 0 14px; }

.theme-galahardware .gh-ft-cta {
    display: inline-block;
    margin-bottom: 16px;
    padding: 11px 18px;
    border-radius: 6px;
    background: var(--gh-green);
    color: #ffffff !important;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.theme-galahardware .gh-ft-cta:hover { background: var(--gh-green-dark); color: #ffffff !important; }

/* Legal bar */
.theme-galahardware .gh-ft-legal { background: #121519; border-top: 1px solid rgba(255, 255, 255, .07); }

.theme-galahardware .gh-ft-legal-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-block: 16px;
    font-size: 12.5px;
    color: #7d858e;
}

.theme-galahardware .gh-ft-legal p { margin: 0; }
.theme-galahardware .gh-ft-legal nav { display: flex; gap: 18px; }
.theme-galahardware .gh-ft-legal a { color: #7d858e; text-decoration: none; }
.theme-galahardware .gh-ft-legal a:hover { color: #ffffff; }

.theme-galahardware .gh-ft-pay { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }

.theme-galahardware .gh-ft-pay li {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #aeb4bb;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 4px;
    padding: 4px 10px;
}

@media (max-width: 1199px) {
    .theme-galahardware .gh-ft-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
    .theme-galahardware .gh-ft-trade { grid-column: 2 / -1; }
}

@media (max-width: 899px) {
    .theme-galahardware .gh-ft-strip-grid { grid-template-columns: 1fr; }
    .theme-galahardware .gh-ft-strip a { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
    .theme-galahardware .gh-ft-main { grid-template-columns: 1fr 1fr; gap: 26px; }
    .theme-galahardware .gh-ft-brand { grid-column: 1 / -1; }
    .theme-galahardware .gh-ft-trade { grid-column: 1 / -1; }
}

@media (max-width: 639px) {
    .theme-galahardware .gh-ft-main { grid-template-columns: 1fr; padding-block: 30px 26px; }
    .theme-galahardware .gh-ft-legal-grid { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   16. Shop listing — filter rail beside results
   ========================================================================== */

.theme-galahardware .gh-shop { padding-block: 22px 52px; }

/* Listing runs the full viewport — the filter panel floats, so nothing here
   has to leave room for a column. */
.theme-galahardware .gh-shop > .gh-shell { padding-inline: 22px; }

.theme-galahardware .gh-shop-head { padding-bottom: 20px; border-bottom: 2px solid var(--gh-ink); margin-bottom: 22px; }

.theme-galahardware .gh-shop-head h1 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.032em;
    color: var(--gh-ink);
}

.theme-galahardware .gh-shop-desc { margin: 8px 0 0; font-size: 14.5px; color: var(--gh-muted); max-width: 70ch; }

.theme-galahardware .gh-shop-grid { display: block; }
.theme-galahardware .gh-rail-col { display: contents; }

/* --- Filter rail: sidebar on desktop, drawer below 1024 --- */
/* --------------------------------------------------------------------------
   Filters open over the page instead of holding a column, so the grid is always
   full width. The panel drops from the top; #filter-toggle opens it and the JS
   toggles .is-open on #filter-drawer.
   -------------------------------------------------------------------------- */
.theme-galahardware .gh-filters {
    position: fixed;
    inset: 0;
    z-index: 800;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease, visibility .2s ease;
}

.theme-galahardware .gh-filters.is-open { visibility: visible; opacity: 1; }

.theme-galahardware .gh-filters-veil {
    position: absolute;
    inset: 0;
    background: rgba(18, 21, 24, .55);
}

.theme-galahardware .gh-filters-panel {
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 16px;
    width: min(380px, calc(100vw - 32px));
    max-height: none;
    display: flex;
    flex-direction: column;
    background: var(--gh-ink);
    border-radius: 14px;
    box-shadow: 0 30px 70px -28px rgba(18, 21, 24, .7);
    /* Clip children to the radius on the panel's own layer, and paint the
       ground dark so any half-pixel at the corner is the header colour rather
       than white. */
    background-clip: padding-box;
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(#ffffff, #000000);
    /* Parked just off the left edge, including its own margin, so no sliver
       shows while closed. */
    transform: translateX(calc(-100% - 24px));
    transition: transform .28s cubic-bezier(.22, .61, .36, 1);
    overflow: hidden;
}

.theme-galahardware .gh-filters.is-open .gh-filters-panel { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-filters-panel { transition: none; }
}

.theme-galahardware .gh-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gh-ink);
    flex: none;
}

.theme-galahardware .gh-filters-head h3 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
}

.theme-galahardware .gh-filters-x {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 7px;
    background: none;
    color: #ffffff;
    cursor: pointer;
}

.theme-galahardware .gh-filters-x:hover { background: var(--gh-red); border-color: var(--gh-red); }

/* Sections spread across the panel instead of stacking down a rail */
.theme-galahardware .gh-filters-body {
    background: #ffffff;
    padding: 6px 20px 18px;
    overflow-y: auto;
    flex: 1;
    display: block;
}

/* In a wide panel every section is open — the accordion only makes sense in a
   narrow column. The chevrons are hidden to match. */
.theme-galahardware .gh-filters-body .filter-section-content { display: block; }
.theme-galahardware .gh-filters-body .filter-section-icon { display: none; }
.theme-galahardware .gh-filters-body .filter-section-header { cursor: default; padding-bottom: 10px; }

.theme-galahardware .gh-filters-foot {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 14px 20px;
    border-top: 1px solid var(--gh-line);
    background: var(--gh-surface);
    flex: none;
}

/* --- Toolbar --- */
.theme-galahardware .gh-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
    background: var(--gh-surface);
    margin-bottom: 16px;
}

.theme-galahardware .gh-bar-left,
.theme-galahardware .gh-bar-right { display: flex; align-items: center; gap: 12px; }

.theme-galahardware .gh-bar-filter {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid var(--gh-ink);
    border-radius: 6px;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-bar-filter .material-icons { font-size: 18px; }

.theme-galahardware .gh-bar-pip {
    min-width: 19px;
    height: 19px;
    padding-inline: 5px;
    border-radius: 10px;
    background: var(--gh-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.theme-galahardware .gh-bar-count { margin: 0; font-size: 14px; color: var(--gh-muted); }
.theme-galahardware .gh-bar-count strong { font-family: var(--heading-font); font-weight: 800; color: var(--gh-ink); }

.theme-galahardware .gh-bar-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gh-muted); }

.theme-galahardware .gh-bar-sort select {
    height: 38px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    background: #ffffff;
    padding-inline: 11px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-density { display: inline-flex; border: 1px solid var(--gh-line-strong); border-radius: 6px; overflow: hidden; }

.theme-galahardware .gh-density-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
    border: 0;
    border-right: 1px solid var(--gh-line-strong);
    background: #ffffff;
    color: var(--gh-muted);
    cursor: pointer;
}

.theme-galahardware .gh-density-btn:last-child { border-right: 0; }
.theme-galahardware .gh-density-btn:hover { background: var(--gh-surface-2); color: var(--gh-ink); }
.theme-galahardware .gh-density-btn.is-active { background: var(--gh-ink); color: #ffffff; }
.theme-galahardware .gh-density-btn .material-icons { font-size: 19px; }

/* --- Active filter chips --- */
.theme-galahardware .gh-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.theme-galahardware .gh-chips-label {
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gh-muted);
}

.theme-galahardware .gh-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 6px 12px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 999px;
    background: #ffffff;
    font-size: 13px;
    color: var(--gh-ink);
}

.theme-galahardware .gh-chip em { font-style: normal; color: var(--gh-muted); }

.theme-galahardware .gh-chip-x {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--gh-surface-2);
    color: var(--gh-ink);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.theme-galahardware .gh-chip-x:hover { background: var(--gh-red); color: #ffffff; }
.theme-galahardware .gh-chip-x .material-icons { font-size: 14px; }

.theme-galahardware .gh-chips-clear {
    border: 0;
    background: none;
    padding: 0 4px;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--gh-red);
    cursor: pointer;
    text-decoration: underline;
}

/* --- Results grid: density driven by data-cols --- */
/* Viewing modes: data-cols is the column count, the way a catalogue shopper
   expects. Each breakpoint caps it so a mode can never cram the cards. */
.theme-galahardware .gh-grid-items { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.theme-galahardware .gh-grid[data-cols="5"] .gh-grid-items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.theme-galahardware .gh-grid[data-cols="4"] .gh-grid-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.theme-galahardware .gh-grid[data-cols="3"] .gh-grid-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-galahardware .gh-grid[data-cols="2"] .gh-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* List view — card turns horizontal */
.theme-galahardware .gh-grid.is-list-view .gh-grid-items { grid-template-columns: 1fr; gap: 10px; }

.theme-galahardware .gh-grid.is-list-view .gh-card { flex-direction: row; }
.theme-galahardware .gh-grid.is-list-view .gh-card-media { width: 190px; flex: none; }
.theme-galahardware .gh-grid.is-list-view .gh-card-shot { aspect-ratio: 1 / 1; height: 100%; }
.theme-galahardware .gh-grid.is-list-view .gh-card-body { padding: 16px 18px; }
.theme-galahardware .gh-grid.is-list-view .gh-card-add { width: auto; padding-inline: 22px; }

/* Skeleton is shown by the listing script, which toggles is-loading on
   #products-container before navigating. */
.theme-galahardware .gh-grid-skeleton { display: none; }
.theme-galahardware .gh-grid.is-loading .gh-grid-skeleton { display: grid; }
.theme-galahardware .gh-grid.is-loading .gh-grid-items,
.theme-galahardware .gh-grid.is-loading .gh-empty { display: none; }

/* --- Empty state --- */
.theme-galahardware .gh-empty {
    text-align: center;
    padding: 64px 20px;
    border: 1px dashed var(--gh-line-strong);
    border-radius: 10px;
    background: var(--gh-surface);
}

.theme-galahardware .gh-empty .material-icons { font-size: 46px; color: var(--gh-line-strong); }
.theme-galahardware .gh-empty h3 { margin: 12px 0 6px; font-family: var(--heading-font); font-size: 1.15rem; }
.theme-galahardware .gh-empty p { margin: 0 auto 18px; max-width: 46ch; color: var(--gh-muted); }
.theme-galahardware .gh-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- Load more --- */
.theme-galahardware .gh-more { text-align: center; padding-top: 30px; }

.theme-galahardware .gh-more-btn {
    padding: 13px 34px;
    border: 2px solid var(--gh-ink);
    border-radius: 6px;
    background: #ffffff;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
    cursor: pointer;
}

.theme-galahardware .gh-more-btn:hover { background: var(--gh-ink); color: #ffffff; }
.theme-galahardware .gh-more-info { margin: 10px 0 0; font-size: 13px; color: var(--gh-muted); }

/* --- Sticky filter bar on scroll ---------------------------------------
   Same UI as the toolbar above the grid: the identical card, Filters button,
   chips and count, so scrolling does not hand you a second, different set of
   controls. Sort and density are deliberately not duplicated — #sort-select
   is addressed by id, and a second one would break it.
   ---------------------------------------------------------------------- */
.theme-galahardware .gh-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    z-index: 1001;
    background: #ffffff;
    border-bottom: 1px solid var(--gh-line);
    box-shadow: 0 12px 30px -22px rgba(29, 33, 37, .6);
    transform: translateY(-100%);
    transition: transform .22s ease;
    padding-top: env(safe-area-inset-top, 0px);
}

.theme-galahardware .gh-sticky.is-visible { transform: translateY(0); }

.theme-galahardware .gh-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: nowrap;
    max-width: none;
    margin-inline: auto;
    /* matches .gh-bar's card, inset from the full-bleed strip */
    margin-block: 10px;
    padding: 10px 14px;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
    background: var(--gh-surface);
    width: calc(100% - 44px);
}

/* The Filters button is the toolbar's, not a second style */
.theme-galahardware .gh-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: none;
    padding: 9px 14px;
    border: 1px solid var(--gh-ink);
    border-radius: 6px;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

.theme-galahardware .gh-sticky-btn .material-icons { font-size: 18px; }

.theme-galahardware .gh-sticky-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    flex: 1 1 auto;
    min-width: 0;
    scrollbar-width: none;
}

.theme-galahardware .gh-sticky-chips::-webkit-scrollbar { display: none; }

/* Same chip as the toolbar, not a smaller variant */
.theme-galahardware .gh-chip-sm {
    padding: 6px 8px 6px 12px;
    font-size: 13px;
    white-space: nowrap;
}

.theme-galahardware .gh-sticky-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
}

.theme-galahardware .gh-sticky-count {
    font-size: 14px;
    color: var(--gh-muted);
    white-space: nowrap;
}

.theme-galahardware .gh-sticky-count strong {
    font-family: var(--heading-font);
    font-weight: 800;
    color: var(--gh-ink);
}

.theme-galahardware .gh-sticky-clear {
    border: 0;
    background: none;
    padding: 0;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    color: var(--gh-red);
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .theme-galahardware .gh-sticky-inner { width: calc(100% - 28px); padding: 9px 11px; gap: 10px; }
    .theme-galahardware .gh-sticky-btn { padding: 8px 11px; font-size: 13px; }
    .theme-galahardware .gh-sticky-count { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-sticky { transition: none; }
}

/* --- Responsive --- */
@media (max-width: 1023px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="4"] .gh-grid-items { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
}

@media (max-width: 767px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="5"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="4"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="3"] .gh-grid-items { grid-template-columns: repeat(2, 1fr); }
    .theme-galahardware .gh-grid-items { gap: 12px; }
    .theme-galahardware .gh-bar-right { width: 100%; justify-content: space-between; }
    .theme-galahardware .gh-grid.is-list-view .gh-card-media { width: 120px; }
}

@media (min-width: 1600px) {
}

/* ==========================================================================
   17. Filter sidebar
   --------------------------------------------------------------------------
   The sidebar markup is data-driven and carries the filter JS contract
   (#price-min-slider, #brand-search, .filter-category-toggle, .filter-size-btn,
   .attr-filter-checkbox, is-expanded / is-selected ...), so its class names are
   kept and its 14KB of inline base styling was stripped in favour of these.
   ========================================================================== */

.theme-galahardware .gh-filters-body .filter-section {
    border-bottom: 1px solid var(--gh-line);
    padding-block: 4px;
}

.theme-galahardware .gh-filters-body .filter-section:last-child { border-bottom: 0; }

.theme-galahardware .filter-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 14px 2px;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.theme-galahardware .filter-section-title,
.theme-galahardware .filter-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gh-ink);
}

.theme-galahardware .filter-section-selected {
    font-family: var(--body-font);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #ffffff;
    background: var(--gh-red);
    border-radius: 999px;
    padding: 2px 8px;
}

.theme-galahardware .filter-section-icon { display: none; }
.theme-galahardware .filter-section-header[aria-expanded="true"] .filter-section-title { color: var(--gh-red); }

.theme-galahardware .filter-section-content { display: none; padding-bottom: 16px; }
.theme-galahardware .filter-section-header[aria-expanded="true"] + .filter-section-content { display: block; }

/* Options list */
.theme-galahardware .filter-options-list,
.theme-galahardware .filter-option-group { display: flex; flex-direction: column; gap: 2px; }

.theme-galahardware .filter-options-scrollable { max-height: 232px; overflow-y: auto; padding-right: 4px; }

.theme-galahardware .filter-checkbox-option,
.theme-galahardware .filter-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 13.5px;
    color: var(--gh-body);
    cursor: pointer;
}

.theme-galahardware .filter-checkbox-option:hover,
.theme-galahardware .filter-radio-option:hover { background: var(--gh-surface); color: var(--gh-ink); }

.theme-galahardware .filter-checkbox-option input,
.theme-galahardware .filter-radio-option input { position: absolute; opacity: 0; pointer-events: none; }

/* The markup puts an inline <svg> tick inside .filter-checkbox-custom, drawn with
   stroke="currentColor". base/eic hide it with `.filter-checkbox-custom svg {
   opacity: 0 }` in the partial's own <style> block; this theme overrides the
   partial with a shorter copy that has no <style> block, so nothing hid the SVG
   and every UNCHECKED box showed a tick in inherited body grey. The ::after tick
   that used to sit here was a second, competing tick that then doubled up with
   the SVG once the box was checked.

   One tick, owned by the box through `color`: transparent unchecked, white
   checked. */
.theme-galahardware .filter-checkbox-custom {
    width: 17px;
    height: 17px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--gh-line-strong);
    border-radius: 4px;
    background: #ffffff;
    color: transparent;
    position: relative;
}

.theme-galahardware .filter-checkbox-option input:checked + .filter-checkbox-custom {
    background: var(--gh-red);
    border-color: var(--gh-red);
    color: #ffffff;
}

/* The native input is visually hidden, so keyboard focus has to be shown on the
   box standing in for it. */
.theme-galahardware .filter-checkbox-option input:focus-visible + .filter-checkbox-custom {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
}

.theme-galahardware .filter-radio-custom {
    width: 17px;
    height: 17px;
    flex: none;
    border: 1.5px solid var(--gh-line-strong);
    border-radius: 50%;
    background: #ffffff;
    position: relative;
}

.theme-galahardware .filter-radio-option input:checked + .filter-radio-custom { border-color: var(--gh-red); border-width: 5px; }
.theme-galahardware .filter-option-label { flex: 1; }
.theme-galahardware .filter-suboptions,
.theme-galahardware .filter-radio-option-sub { padding-left: 16px; }

/* Category tree */
.theme-galahardware .filter-category-tree { display: flex; flex-direction: column; gap: 1px; }
.theme-galahardware .filter-category-children { display: none; padding-left: 14px; border-left: 2px solid var(--gh-line); margin-left: 8px; }
.theme-galahardware .filter-category-children.is-expanded { display: block; }

.theme-galahardware .filter-category-toggle {
    border: 0;
    background: none;
    color: var(--gh-muted);
    cursor: pointer;
    padding: 2px;
    display: grid;
    place-items: center;
}

.theme-galahardware .filter-category-toggle:hover { color: var(--gh-red); }

/* Price */
/* The two range inputs are siblings of the track inside .price-slider-container.
   Without a positioned container they anchored to the sticky filter panel and
   the thumbs floated at its top corners. Container is the positioning context,
   and track + inputs are both centred on the same line. */
.theme-galahardware .price-slider-container {
    position: relative;
    height: 34px;
    margin-bottom: 4px;
}

.theme-galahardware .price-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 4px;
    background: var(--gh-line);
    border-radius: 2px;
}

.theme-galahardware .price-slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--gh-red);
    border-radius: 2px;
}

.theme-galahardware .price-slider-input {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    background: none;
    pointer-events: none;
}

.theme-galahardware .price-slider-input:focus { outline: none; }

.theme-galahardware .price-slider-input::-webkit-slider-runnable-track {
    height: 20px;
    background: none;
    border: 0;
}

.theme-galahardware .price-slider-input::-moz-range-track { height: 20px; background: none; border: 0; }

.theme-galahardware .price-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--gh-ink);
    box-shadow: 0 1px 3px rgba(29, 33, 37, .3);
    cursor: grab;
}

.theme-galahardware .price-slider-input::-webkit-slider-thumb:active { cursor: grabbing; border-color: var(--gh-red); }

.theme-galahardware .price-slider-input::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--gh-ink);
    box-shadow: 0 1px 3px rgba(29, 33, 37, .3);
    cursor: grab;
}

.theme-galahardware .price-slider-input::-moz-range-thumb:active { border-color: var(--gh-red); }

/* 232px rail leaves ~200px for two fields — a flex row with a separator left
   each one too narrow to show its own placeholder. Grid, no separator. */
.theme-galahardware .price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.theme-galahardware .price-input-separator { display: none; }

.theme-galahardware .price-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    background: #ffffff;
    overflow: hidden;
}

.theme-galahardware .price-input-prefix { padding-inline: 8px 2px; color: var(--gh-muted); font-size: 13px; flex: none; }

.theme-galahardware .price-input-group input {
    width: 100%;
    min-width: 0;
    border: 0;
    height: 38px;
    padding-inline: 2px 8px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gh-ink);
    -moz-appearance: textfield;
}

.theme-galahardware .price-input-group input::-webkit-outer-spin-button,
.theme-galahardware .price-input-group input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* .price-input-group wraps a border-less <input> in a bordered box that also
   clips (overflow: hidden), so the global `input:focus` treatment landed on the
   inner input - where border-color has no border to colour and the box-shadow is
   clipped away. The field looked completely inert on focus. Put the ring on the
   wrapper, which is the border the user actually sees. */
.theme-galahardware .price-input-group:focus-within {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
}

.theme-galahardware .price-input-group input:focus { outline: none; box-shadow: none; }
.theme-galahardware .price-input-separator { color: var(--gh-muted); }
.theme-galahardware .price-range-hint { margin: 9px 0 0; font-size: 12px; color: var(--gh-muted); }

/* Brand search */
.theme-galahardware .filter-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    padding-inline: 10px;
    margin-bottom: 10px;
    background: #ffffff;
}

.theme-galahardware .filter-search-icon { color: var(--gh-muted); flex: none; }
.theme-galahardware .filter-search-input { border: 0; height: 38px; width: 100%; font-size: 13.5px; }
/* Same wrapper/border-less-input arrangement as .price-input-group above. */
.theme-galahardware .filter-search-box:focus-within {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
}

.theme-galahardware .filter-search-input:focus { outline: none; box-shadow: none; }

/* Colour swatches */
.theme-galahardware .filter-color-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.theme-galahardware .filter-color-swatch { cursor: pointer; text-align: center; }
.theme-galahardware .filter-color-swatch input { position: absolute; opacity: 0; }

.theme-galahardware .filter-color-circle {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--gh-line);
    box-shadow: inset 0 0 0 2px #ffffff;
}

.theme-galahardware .filter-color-swatch.is-selected .filter-color-circle,
.theme-galahardware .filter-color-swatch input:checked + .filter-color-circle { border-color: var(--gh-red); }

.theme-galahardware .filter-color-label { display: block; margin-top: 4px; font-size: 11px; color: var(--gh-muted); }

/* Size buttons */
.theme-galahardware .filter-size-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.theme-galahardware .filter-size-btn { cursor: pointer; }
.theme-galahardware .filter-size-btn input { position: absolute; opacity: 0; }

.theme-galahardware .filter-size-btn span {
    display: inline-block;
    padding: 7px 13px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 6px;
    background: #ffffff;
    font-family: var(--heading-font);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gh-ink);
}

.theme-galahardware .filter-size-btn input:checked + span,
.theme-galahardware .filter-size-btn.is-selected span {
    background: var(--gh-ink);
    border-color: var(--gh-ink);
    color: #ffffff;
}

/* Sidebar-local actions (the rail has its own footer buttons) */
.theme-galahardware .gh-filters-body .filter-actions { display: none; }

/* --------------------------------------------------------------------------
   Grid children default to min-width:auto, so a long product code or spec line
   forces the track wider than its share and the row overflows to the right.
   -------------------------------------------------------------------------- */
.theme-galahardware .gh-grid-items > *,
.theme-galahardware .gh-products > * { min-width: 0; }

.theme-galahardware .gh-card { min-width: 0; }

.theme-galahardware .gh-card-meta { flex-wrap: wrap; row-gap: 3px; }
.theme-galahardware .gh-card-code,
.theme-galahardware .gh-card-brand { overflow-wrap: anywhere; }

.theme-galahardware .gh-card-spec {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* The shop page itself must never scroll sideways */
.theme-galahardware .gh-shop,
.theme-galahardware .gh-shop-grid,
.theme-galahardware .gh-results { min-width: 0; max-width: 100%; }

/* --- Card breathing room: the cramped-grid fixes --- */
.theme-galahardware .gh-card-body { padding: 14px 15px 16px; }

.theme-galahardware .gh-card-meta {
    flex-wrap: nowrap;
    gap: 7px;
    align-items: center;
    min-width: 0;
}

.theme-galahardware .gh-card-brand {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.theme-galahardware .gh-card-code { white-space: nowrap; flex: none; }

.theme-galahardware .gh-card-name a { font-size: 15px; line-height: 1.38; min-height: 2.76em; }

.theme-galahardware .gh-card-spec { font-size: 12.5px; line-height: 1.45; margin-bottom: 14px; }

/* "Add to cart" was wrapping onto two lines in narrow cards */
.theme-galahardware .gh-card-add {
    white-space: nowrap;
    padding: 11px 10px;
    font-size: 13px;
    margin-top: 14px;
}

.theme-galahardware .gh-card-add .material-icons { font-size: 17px; }

.theme-galahardware .gh-card-price { row-gap: 2px; }
.theme-galahardware .gh-card-price .price-sale,
.theme-galahardware .gh-card-price .price-regular { font-size: 19px; }
.theme-galahardware .gh-card-saving { margin-top: 4px; }

/* Home grid gets the same minimum widths per breakpoint */
@media (max-width: 1199px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}
@media (max-width: 899px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 639px) {
    .theme-galahardware .gh-products,
    .theme-galahardware .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols] .gh-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .theme-galahardware .gh-card-name a { font-size: 13.5px; min-height: 0; }
    .theme-galahardware .gh-card-add { font-size: 12px; padding: 10px 8px; }
}

/* Filter panel on small screens: full height, single column of sections */
@media (max-width: 767px) {
    /* Phone: keep the float but tighten the margins */
    .theme-galahardware .gh-filters-panel {
        top: 10px;
        bottom: 10px;
        left: 10px;
        width: calc(100vw - 20px);
        transform: translateX(calc(-100% - 16px));
    }
    .theme-galahardware .gh-filters-foot { justify-content: stretch; }
    .theme-galahardware .gh-filters-foot #drawer-apply-filters { flex: 1 1 auto; }
}

/* Page must not scroll behind the open panel */
body.gh-filters-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Inputs that sit inside a bordered wrapper must not draw their own border.
   `.theme-galahardware input[type="text"]` (0,2,1) outranks `.filter-search-input`
   (0,2,0), so the search field kept the generic border and focus ring inside the
   wrapper — a box within a box. These selectors match that specificity and move
   the focus treatment onto the wrapper via :focus-within.
   -------------------------------------------------------------------------- */
.theme-galahardware .filter-search-box input[type="text"],
.theme-galahardware .filter-search-box input,
.theme-galahardware .price-input-group input[type="number"],
.theme-galahardware .price-input-group input {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.theme-galahardware .filter-search-box input:focus,
.theme-galahardware .price-input-group input:focus {
    border: 0;
    box-shadow: none;
    outline: none;
}

.theme-galahardware .filter-search-box:focus-within,
.theme-galahardware .price-input-group:focus-within {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
}

.theme-galahardware .filter-search-box {
    height: 40px;
    border-radius: 7px;
    transition: border-color .14s ease, box-shadow .14s ease;
}

.theme-galahardware .filter-search-box .filter-search-input { height: 100%; }
.theme-galahardware .filter-search-icon .material-icons,
.theme-galahardware .filter-search-icon svg { font-size: 18px; width: 18px; height: 18px; }

.theme-galahardware .price-input-group {
    transition: border-color .14s ease, box-shadow .14s ease;
    border-radius: 7px;
}

/* --- Viewing-mode caps: a mode never renders narrower than ~190px per card --- */
@media (max-width: 1599px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1365px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="5"] .gh-grid-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="5"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="4"] .gh-grid-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .theme-galahardware .gh-grid[data-cols="6"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="5"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="4"] .gh-grid-items,
    .theme-galahardware .gh-grid[data-cols="3"] .gh-grid-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Denser modes need smaller type or the cards break */
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-name a,
.theme-galahardware .gh-grid[data-cols="5"] .gh-card-name a { font-size: 13.5px; min-height: 2.7em; }
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-body,
.theme-galahardware .gh-grid[data-cols="5"] .gh-card-body { padding: 11px 12px 13px; }
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-spec,
.theme-galahardware .gh-grid[data-cols="5"] .gh-card-spec { -webkit-line-clamp: 1; margin-bottom: 10px; }
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-price .price-sale,
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-price .price-regular { font-size: 16.5px; }
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-add,
.theme-galahardware .gh-grid[data-cols="5"] .gh-card-add { font-size: 12px; padding: 9px 8px; margin-top: 11px; }
.theme-galahardware .gh-grid[data-cols="6"] .gh-card-meta { font-size: 9.5px; }

/* --------------------------------------------------------------------------
   Full-width pages still need a reading measure: body copy that runs the whole
   width of a 27" screen is unreadable, so prose keeps a max, while grids,
   tables and media use everything.
   -------------------------------------------------------------------------- */
.theme-galahardware .gh-shop-desc,
.theme-galahardware .gh-feature-copy p,
.theme-galahardware .gh-trade p,
.theme-galahardware .about-lead,
.theme-galahardware .about-intro-content p,
.theme-galahardware .section-description,
.theme-galahardware .gh-contact-footnote p { max-width: 72ch; }

.theme-galahardware .gh-panel-text { max-width: 44rem; }

/* Wide screens: let the grids use the room rather than stretching cards */
@media (min-width: 1700px) {
    .theme-galahardware .gh-products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .theme-galahardware .gh-block { padding-block: 56px; }
    .theme-galahardware .gh-shell,
    .theme-galahardware .gh-wrap { padding-inline: 34px; }
}

/* The masthead is wide now — keep search from stretching to absurd lengths */
@media (min-width: 1500px) {
    .theme-galahardware .gh-find { max-width: 820px; justify-self: center; }
}

/* --------------------------------------------------------------------------
   Card media: two base rules reach this card through the class names kept as
   JS hooks (.product-card-media, .product-image-primary).

   1. .product-card-media has border-radius:var(--rounded-radius) = 15px on all
      four corners, so the image was rounded independently of the 8px card and
      curved at the bottom where it meets the body.
   2. .product-card:hover .product-image-primary { opacity:0 } fades the primary
      out to reveal .product-image-secondary. This card renders one image, so
      hovering emptied the frame.
   -------------------------------------------------------------------------- */
.theme-galahardware .gh-card-media,
.theme-galahardware .gh-card .product-card-media {
    border-radius: 0;
    overflow: hidden;
}

/* The card's own overflow clips the top corners, so the image follows the
   card's radius exactly and stays square where it meets the body. */
.theme-galahardware .gh-card { border-radius: 8px; overflow: hidden; }

.theme-galahardware .gh-card:hover .product-image-primary,
.theme-galahardware .gh-card .product-image-primary { opacity: 1; }

/* Hover: light, not scale. These are polished metal shot on studio grey, so
   the backdrop lifts to white as if the lamp comes up and a specular sheen
   sweeps once across the piece — the way brass actually behaves under a
   moving light. No zoom; every catalogue on the web does zoom. */
.theme-galahardware .gh-card-shot { overflow: hidden; }

.theme-galahardware .gh-card-media {
    background: var(--gh-surface);
    transition: background-color .4s ease;
}

.theme-galahardware .gh-card:hover .gh-card-media { background: #ffffff; }

.theme-galahardware .gh-card-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 38%,
        rgba(255, 255, 255, .58) 48%,
        rgba(255, 255, 255, .82) 52%,
        rgba(255, 255, 255, 0) 62%
    );
    transform: translateX(-130%);
    opacity: 0;
}

.theme-galahardware .gh-card:hover .gh-card-shot::after {
    animation: gh-sheen .72s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes gh-sheen {
    0%   { transform: translateX(-130%); opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: translateX(130%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-card-media { transition: none; }
    .theme-galahardware .gh-card:hover .gh-card-shot::after { animation: none; }
}

/* List view: the media is a fixed-width column, not a square */
.theme-galahardware .gh-grid.is-list-view .gh-card-media { aspect-ratio: auto; }

/* --------------------------------------------------------------------------
   Density switcher icons: literal column glyphs, so the row reads as one
   progression — six thin columns down to two wide ones, then list. Material
   icons had no shared logic and looked arbitrary side by side.
   -------------------------------------------------------------------------- */
/* Every bar is the same width and the same gap in every icon, so the set
   reads as one family — flex:1 made a 6-bar glyph 1.6px per bar and a 2-bar
   glyph 7.8px, which is why they looked unrelated. The glyph is centred in a
   fixed box so the buttons stay equal. */
.theme-galahardware .gh-colsicon,
.theme-galahardware .gh-listicon {
    display: flex;
    width: 22px;
    height: 13px;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
}

.theme-galahardware .gh-colsicon i {
    width: 2px;
    flex: 0 0 2px;
    background: currentColor;
    border-radius: 1px;
}

.theme-galahardware .gh-listicon {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.theme-galahardware .gh-listicon i {
    height: 2px;
    width: 100%;
    flex: 0 0 2px;
    background: currentColor;
    border-radius: 1px;
}

.theme-galahardware .gh-density-btn { color: var(--gh-line-strong); }
.theme-galahardware .gh-density-btn:hover { color: var(--gh-ink); background: var(--gh-surface-2); }
.theme-galahardware .gh-density-btn.is-active { background: var(--gh-ink); color: #ffffff; }

/* ==========================================================================
   18. Hero
   --------------------------------------------------------------------------
   The words sit in their own block; the photograph is shown whole on its own
   light ground. Gala's shots are studio product photography on light grey —
   a dark scrim muddies them and object-fit:cover crops into the middle of the
   piece, which is why the old overlay hero read as generic.
   ========================================================================== */

.theme-galahardware .gh-hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) minmax(0, .55fr);
    grid-template-areas: "say shot tiles";
    gap: 16px;
    padding-top: 22px;
    align-items: stretch;
}

/* --- Editorial block --- */
.theme-galahardware .gh-hero-say {
    grid-area: say;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 2.4vw, 34px) clamp(24px, 2.4vw, 36px);
    background: var(--gh-ink);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Brand colour as light in the corner, not a stripe down the edge */
.theme-galahardware .gh-hero-say::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(closest-side, rgba(230, 57, 70, .30), transparent 70%);
    pointer-events: none;
}

.theme-galahardware .gh-hero-kick {
    margin: 0 0 14px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gh-lime);
}

.theme-galahardware .gh-hero-say h1 {
    margin: 0 0 14px;
    font-family: var(--heading-font);
    font-size: clamp(1.6rem, 2.2vw, 2.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: #ffffff;
    text-wrap: balance;
}

.theme-galahardware .gh-hero-sub {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #b7bdc4;
    max-width: 46ch;
}

.theme-galahardware .gh-hero-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.theme-galahardware .gh-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.theme-galahardware .gh-hero-link:hover { color: var(--gh-lime); }
.theme-galahardware .gh-hero-link .material-icons { font-size: 18px; }

.theme-galahardware .gh-hero-facts {
    display: flex;
    gap: 30px;
    margin: clamp(16px, 1.8vw, 24px) 0 0;
    padding-top: clamp(14px, 1.4vw, 18px);
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.theme-galahardware .gh-hero-facts dt {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7d858e;
    margin-bottom: 3px;
}

.theme-galahardware .gh-hero-facts dd {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

/* --- Photograph: whole product, own ground, no scrim --- */
.theme-galahardware .gh-hero-shot {
    grid-area: shot;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gh-surface);
    display: grid;
    place-items: center;
    min-height: clamp(300px, 34vh, 400px);
    padding: 0;
}

.theme-galahardware .gh-hero-shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Two tiles: caption beside the image, not over it --- */
.theme-galahardware .gh-hero-tile:nth-of-type(1) { grid-area: tiles; align-self: start; }

.theme-galahardware .gh-hero-tile {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gh-line);
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.theme-galahardware .gh-hero-tile:hover {
    border-color: var(--gh-red);
    box-shadow: 0 16px 32px -26px rgba(29, 33, 37, .5);
}

.theme-galahardware .gh-hero-tile-img {
    display: block;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    background: var(--gh-surface);
}

.theme-galahardware .gh-hero-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.theme-galahardware .gh-hero-tile-say { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 14px 16px; }

.theme-galahardware .gh-hero-tile-say small {
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gh-red);
}

.theme-galahardware .gh-hero-tile-say strong {
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--gh-ink);
}

.theme-galahardware .gh-hero-tile-say em { font-style: normal; font-size: 12.5px; color: var(--gh-muted); }

/* Stack the two tiles in the third column */
.theme-galahardware .gh-hero { grid-auto-rows: min-content; }

@media (min-width: 1100px) {
    .theme-galahardware .gh-hero {
        grid-template-areas:
            "say shot tiles"
            "say shot tiles2";
        grid-template-rows: 1fr 1fr;
    }
    .theme-galahardware .gh-hero-say  { grid-area: say; }
    .theme-galahardware .gh-hero-shot { grid-area: shot; }
    .theme-galahardware .gh-hero-tile:nth-of-type(1) { grid-area: tiles;  align-self: stretch; }
    .theme-galahardware .gh-hero-tile:nth-of-type(2) { grid-area: tiles2; align-self: stretch; }
}

@media (max-width: 1099px) {
    .theme-galahardware .gh-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "say  shot"
            "tile tile2";
    }
    .theme-galahardware .gh-hero-tile:nth-of-type(1) { grid-area: tile; }
    .theme-galahardware .gh-hero-tile:nth-of-type(2) { grid-area: tile2; }
    .theme-galahardware .gh-hero-shot { min-height: 340px; }
}

@media (max-width: 767px) {
    .theme-galahardware .gh-hero {
        grid-template-columns: 1fr;
        grid-template-areas: "shot" "say" "tile" "tile2";
    }
    .theme-galahardware .gh-hero-say { padding: 28px 24px; }
    .theme-galahardware .gh-hero-shot { min-height: 260px; }
    .theme-galahardware .gh-hero-facts { gap: 22px; margin-top: 22px; }
}

/* Large screens: the hero is an opener, not a page. Cap it so the categories
   and the first product row stay in the first view. */
@media (min-width: 1100px) {
    /* An explicit height, so the rows actually resolve and nothing overflows */
    .theme-galahardware .gh-hero { height: clamp(360px, 44vh, 480px); }
    .theme-galahardware .gh-hero-say,
    .theme-galahardware .gh-hero-shot,
    .theme-galahardware .gh-hero-tile { min-height: 0; height: 100%; }
    .theme-galahardware .gh-hero-sub { max-width: 42ch; }
}

/* Ultrawide: the photo column stops growing or the product floats in a sea of
   grey; the words take the extra room instead. */
@media (min-width: 1800px) {
    .theme-galahardware .gh-hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) minmax(0, .55fr); }
}

/* Short laptop screens: drop the fact row rather than squeeze everything */
@media (min-width: 1100px) and (max-height: 780px) {
    .theme-galahardware .gh-hero { height: 360px; }
    .theme-galahardware .gh-hero-facts { display: none; }
}

/* Hero photo legible at every width: it always fills the panel's shorter axis,
   so the product is as large as the frame allows instead of floating in it. */
.theme-galahardware .gh-hero-shot {
    padding: 0;
    background: var(--gh-surface);
}

.theme-galahardware .gh-hero-shot img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

/* Tablet and below: the photo leads, full width, before the words */
@media (max-width: 1099px) {
    .theme-galahardware .gh-hero-shot { min-height: clamp(280px, 38vh, 360px); }
}

@media (max-width: 767px) {
    .theme-galahardware .gh-hero-shot { min-height: 300px; padding: 12px; }
}

/* ==========================================================================
   19. GHSelect — custom dropdown (gh-select.js)
   --------------------------------------------------------------------------
   The native <select> stays in the DOM so forms submit and existing change
   listeners fire; it is hidden but never display:none, which would drop it
   from some form serialisations and kill focus handling.
   ========================================================================== */

.theme-galahardware .gh-sel { position: relative; display: inline-block; min-width: 0; }

.theme-galahardware .gh-sel-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.theme-galahardware .gh-sel-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px 8px 13px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 7px;
    background: #ffffff;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gh-ink);
    cursor: pointer;
    text-align: left;
    transition: border-color .14s ease, box-shadow .14s ease;
}

.theme-galahardware .gh-sel-btn:hover { border-color: var(--gh-ink); }

.theme-galahardware .gh-sel.is-open .gh-sel-btn,
.theme-galahardware .gh-sel-btn:focus-visible {
    border-color: var(--gh-red);
    box-shadow: 0 0 0 3px var(--gh-red-wash);
    outline: none;
}

.theme-galahardware .gh-sel.is-disabled .gh-sel-btn {
    background: var(--gh-surface);
    color: var(--gh-muted);
    cursor: not-allowed;
}

.theme-galahardware .gh-sel-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-galahardware .gh-sel-caret {
    font-size: 19px;
    color: var(--gh-muted);
    flex: none;
    transition: transform .16s ease, color .16s ease;
}

.theme-galahardware .gh-sel.is-open .gh-sel-caret { transform: rotate(180deg); color: var(--gh-red); }

.theme-galahardware .gh-sel-list {
    position: absolute;
    z-index: 120;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-height: 272px;
    overflow-y: auto;
    margin: 0;
    padding: 5px;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--gh-line);
    border-radius: 9px;
    box-shadow: 0 22px 44px -26px rgba(29, 33, 37, .55);
}

.theme-galahardware .gh-sel.is-up .gh-sel-list { top: auto; bottom: calc(100% + 6px); }

.theme-galahardware .gh-sel-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 6px;
    font-family: var(--heading-font);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gh-ink);
    cursor: pointer;
    white-space: nowrap;
}

.theme-galahardware .gh-sel-opt.is-active { background: var(--gh-surface); }

.theme-galahardware .gh-sel-opt.is-selected {
    color: var(--gh-red);
}

/* Tick marks the chosen option without shifting the label */
.theme-galahardware .gh-sel-opt.is-selected::after {
    content: "check";
    font-family: 'Material Icons';
    font-size: 17px;
    font-weight: 400;
    margin-left: auto;
    padding-left: 12px;
    color: var(--gh-red);
}

.theme-galahardware .gh-sel-opt.is-disabled { color: var(--gh-muted); cursor: not-allowed; }
.theme-galahardware .gh-sel-opt.is-disabled.is-active { background: transparent; }

/* The sort control in the listing toolbar */
.theme-galahardware .gh-bar-sort .gh-sel { min-width: 178px; }

/* Full-width inside forms and the filter panel */
.theme-galahardware .gh-filters-body .gh-sel,
.theme-galahardware form .gh-sel { display: block; width: 100%; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-sel-caret,
    .theme-galahardware .gh-sel-btn { transition: none; }
}

/* ==========================================================================
   20. Product detail — proportions
   --------------------------------------------------------------------------
   The page was a 50/50 split of a full-width shell, so on a large screen the
   info column ran past 900px and Add to Cart stretched with it. Reading text,
   variant chips and a buy button all have a natural maximum width; the gallery
   takes whatever is left.
   ========================================================================== */

.theme-galahardware .product-detail-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}

.theme-galahardware .product-info {
    max-width: 620px;
    width: 100%;
}

/* Buy row: quantity, then a button that stops at a sensible width */
.theme-galahardware .product-actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 560px;
}

.theme-galahardware .product-actions .quantity-selector { flex: 0 0 auto; }

.theme-galahardware .btn-add-to-cart {
    flex: 1 1 220px;
    max-width: 320px;
    min-height: 50px;
    border-radius: 7px;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
}

.theme-galahardware .product-actions .btn-wishlist {
    flex: 0 0 auto;
    width: 50px;
    min-height: 50px;
    border-radius: 7px;
}

.theme-galahardware .product-description {
    max-width: 62ch;
    background: var(--gh-surface);
    border-radius: 8px;
    padding: 16px 18px;
}

/* Gallery sits on its own light ground, product shown whole */
.theme-galahardware .gallery-main {
    background: var(--gh-surface);
    border-radius: 12px;
    overflow: hidden;
}

.theme-galahardware .product-meta,
.theme-galahardware .gh-ask { max-width: 620px; }

@media (min-width: 1600px) {
    /* Stop the gallery growing without limit; centre the pair instead */
    .theme-galahardware .product-detail-grid {
        grid-template-columns: minmax(0, 900px) minmax(0, 620px);
        justify-content: center;
    }
}

@media (max-width: 899px) {
    .theme-galahardware .product-detail-grid { grid-template-columns: 1fr; }
    .theme-galahardware .product-info { max-width: none; }
    .theme-galahardware .product-actions { max-width: none; }
    .theme-galahardware .btn-add-to-cart { max-width: none; }
}

/* ==========================================================================
   21. Scroll lock behind overlays
   --------------------------------------------------------------------------
   gallery.js already sets body.style.overflow='hidden', but when <html> is the
   scrolling element that does nothing — the page keeps scrolling behind the
   slideshow. Locking the root element is what actually stops it, and doing it
   in CSS keeps the fix out of public/assets/js/gallery.js, which every
   storefront shares.

   One rule per overlay this theme can be showing.
   ========================================================================== */

html:has(.slideshow-modal.active),
html:has(.gh-filters.is-open),
html:has(.gh-qv.active),
html:has(#mini-cart-drawer.open),
html:has(.lightbox.active),
html:has(body.quickview-open),
html:has(body.mini-cart-open) {
    overflow: hidden;
}

/* Same for the body, so either scrolling element is covered */
body.quickview-open,
body.mini-cart-open,
body:has(.slideshow-modal.active),
body:has(.gh-filters.is-open),
body:has(.lightbox.active) {
    overflow: hidden;
}

/* Scrolling inside an overlay must not chain to the page underneath */
.theme-galahardware .gh-filters-body,
.theme-galahardware .gh-qv-box,
.theme-galahardware .gh-sel-list,
.slideshow-modal,
.slideshow-main,
#mini-cart-content {
    overscroll-behavior: contain;
}

/* ==========================================================================
   22. Large screens — re-lay out, never gutter
   --------------------------------------------------------------------------
   The page keeps the full viewport at every width. Nothing is centred inside a
   max-width with empty margins: each block changes its own layout — more
   columns, a different split, content moved into the space — so the width is
   used rather than padded away.
   ========================================================================== */

@media (min-width: 1500px) {
    /* Hero gains a third promo tile column instead of stretching two */
    .theme-galahardware .gh-hero {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr) minmax(0, .5fr) minmax(0, .5fr);
        grid-template-areas: "say shot tiles tiles2";
        grid-template-rows: 1fr;
    }
    .theme-galahardware .gh-hero-tile { flex-direction: column; }
    .theme-galahardware .gh-hero-tile:nth-of-type(1) { grid-area: tiles; }
    .theme-galahardware .gh-hero-tile:nth-of-type(2) { grid-area: tiles2; }

    /* Tiles go vertical: image on top, caption beneath, filling the column */
    .theme-galahardware .gh-hero-tile {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr) auto;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }
    .theme-galahardware .gh-hero-tile-img { aspect-ratio: auto; height: 100%; width: 100%; }
    .theme-galahardware .gh-hero-tile-say { padding: 14px 16px 16px; }

    /* The feature band splits copy from its checklist */
    .theme-galahardware .gh-feature {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr) minmax(0, .65fr);
        gap: 40px;
        align-items: center;
    }
    .theme-galahardware .gh-feature .gh-ticks {
        margin: 0;
        padding-left: 34px;
        border-left: 1px solid var(--gh-line);
    }

    /* Rooms and quotes widen by column count */
    .theme-galahardware .gh-rooms  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    /* Six reviews: hold three across so they read as two full rows rather
       than a row of four and a ragged pair. */
    .theme-galahardware .gh-quotes { grid-template-columns: 1.35fr 1fr 1fr; }

    /* FAQ reads as two columns rather than one long list */
    .theme-galahardware .gh-faq {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* Without this, grid items stretch to the row height — opening one
           panel pulls its neighbour taller and it looks like both opened. */
        align-items: start;
        border: 0;
        gap: 12px;
    }
    .theme-galahardware .gh-faq details {
        border: 1px solid var(--gh-line);
        border-radius: 8px;
    }

    /* Trade band: copy and actions sit apart rather than centred together */
    .theme-galahardware .gh-trade { padding: 40px clamp(32px, 4vw, 72px); }
    .theme-galahardware .gh-trade p { max-width: 80ch; }
}

@media (min-width: 1900px) {
    /* More product columns, same card size */
    .theme-galahardware .gh-products { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
    .theme-galahardware .gh-rooms    { grid-template-columns: repeat(6, minmax(0, 1fr)); }

    /* Assurances spread into the width instead of four wide cells */
    .theme-galahardware .gh-assure li { padding: 22px 28px; }

    /* Footer: the brand column takes the extra room, links stay readable */
    .theme-galahardware .gh-ft-main { grid-template-columns: 2fr repeat(3, 1fr) 1.3fr; gap: 44px; }
}

/* Buttons and inputs are chrome: they size to their content, never to the
   viewport — that is the one thing that should not grow. */
.theme-galahardware .gh-btn { max-width: 340px; }
.theme-galahardware .gh-more-btn { max-width: 320px; }
.theme-galahardware .gh-ft-cta { max-width: 260px; }
.theme-galahardware .gh-bar-sort .gh-sel { min-width: 190px; max-width: 240px; }

/* ==========================================================================
   23. Inspiration gallery — filter chips and tile transitions
   --------------------------------------------------------------------------
   gallery.js (shared, in public/assets) replaces #gallery-content's innerHTML
   when a theme chip is clicked, so every tile mounts fresh. A staggered entry
   animation turns that hard swap into a rearrange — no change to the shared
   script, which every storefront loads.
   ========================================================================== */

.theme-galahardware .gallery-grid .lookbook-item-static {
    animation: gh-tile-in .44s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes gh-tile-in {
    from { opacity: 0; transform: translateY(14px) scale(.975); }
    to   { opacity: 1; transform: none; }
}

/* Stagger down the grid so the set resolves in sequence, not all at once */
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(1)  { animation-delay: 0ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(2)  { animation-delay: 35ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(3)  { animation-delay: 70ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(4)  { animation-delay: 105ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(5)  { animation-delay: 140ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(6)  { animation-delay: 175ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(7)  { animation-delay: 200ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(8)  { animation-delay: 225ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(9)  { animation-delay: 245ms; }
.theme-galahardware .gallery-grid .lookbook-item-static:nth-child(n+10) { animation-delay: 265ms; }

/* Chips: the active pill fills rather than jumping between styles */
.theme-galahardware .gallery-themes button,
.theme-galahardware .theme-filter-btn,
.theme-galahardware #slideshow-themes button {
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .12s ease;
}

.theme-galahardware .gallery-themes button:hover,
.theme-galahardware .theme-filter-btn:hover { border-color: var(--gh-ink); }

.theme-galahardware .gallery-themes button:active,
.theme-galahardware .theme-filter-btn:active { transform: scale(.96); }

.theme-galahardware .gallery-themes button.active,
.theme-galahardware .theme-filter-btn.active {
    background: var(--gh-ink);
    border-color: var(--gh-ink);
    color: #ffffff;
}

/* The empty state should not pop in either */
.theme-galahardware .gallery-empty { animation: gh-tile-in .3s ease both; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gallery-grid .lookbook-item-static,
    .theme-galahardware .gallery-empty { animation: none; }
    .theme-galahardware .gallery-themes button,
    .theme-galahardware .theme-filter-btn { transition: none; }
}

/* ==========================================================================
   24. GHQty — quantity control  [component: qty]
   --------------------------------------------------------------------------
   One control everywhere: product page, quick view, mini cart, cart page. A
   soft track with two round steppers and the figure between them; the unit
   sits outside as a quiet label rather than crowding the box.

   Applied through the class names each page's JS already binds to, so no
   cart or mini-cart script changes.
   ========================================================================== */

.theme-galahardware .gh-qtywrap { display: inline-flex; align-items: center; gap: 10px; }

.theme-galahardware .gh-qty,
.theme-galahardware .gh-qv-qty,
.theme-galahardware .mini-cart-item-qty,
.theme-galahardware .cart-item-quantity,
.theme-galahardware .viz-qty-control,
.theme-galahardware .cart-item .quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border: 0;
    border-radius: 999px;
    background: var(--gh-surface);
    box-shadow: inset 0 0 0 1px var(--gh-line);
    height: auto;
    overflow: visible;
    transition: box-shadow .15s ease;
}

.theme-galahardware .gh-qty:focus-within,
.theme-galahardware .gh-qv-qty:focus-within,
.theme-galahardware .mini-cart-item-qty:focus-within,
.theme-galahardware .cart-item-quantity:focus-within,
.theme-galahardware .viz-qty-control:focus-within {
    box-shadow: inset 0 0 0 1px var(--gh-ink);
}

/* Steppers: round, white, lifted off the track */
.theme-galahardware .gh-qty-step,
.theme-galahardware .gh-qv-qty .qty-btn,
.theme-galahardware .mini-qty-btn,
.theme-galahardware .cart-item-quantity .qty-btn,
.theme-galahardware .viz-qty-control .qty-btn,
.theme-galahardware .cart-item .qty-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: var(--gh-ink);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(29, 33, 37, .12);
    transition: background-color .14s ease, color .14s ease, transform .1s ease;
}

.theme-galahardware .gh-qty-step:hover,
.theme-galahardware .gh-qv-qty .qty-btn:hover,
.theme-galahardware .mini-qty-btn:hover,
.theme-galahardware .cart-item-quantity .qty-btn:hover,
.theme-galahardware .viz-qty-control .qty-btn:hover,
.theme-galahardware .cart-item .qty-btn:hover { background: var(--gh-ink); color: #ffffff; }

.theme-galahardware .gh-qty-step:active,
.theme-galahardware .mini-qty-btn:active,
.theme-galahardware .cart-item-quantity .qty-btn:active,
.theme-galahardware .viz-qty-control .qty-btn:active { transform: scale(.92); }

.theme-galahardware .gh-qty-step .material-icons { font-size: 18px; }
.theme-galahardware .mini-qty-btn svg,
.theme-galahardware .cart-item .qty-btn svg { width: 9px; height: 9px; }

.theme-galahardware .gh-qty-step:disabled,
.theme-galahardware .mini-qty-btn:disabled {
    background: transparent;
    color: var(--gh-line-strong);
    box-shadow: none;
    cursor: not-allowed;
}

/* The figure */
.theme-galahardware .gh-qty-input,
.theme-galahardware .gh-qv-qty .qty-input,
.theme-galahardware .mini-qty-input,
.theme-galahardware .cart-item-quantity .qty-input,
.theme-galahardware .viz-qty-control .qty-input,
.theme-galahardware .cart-item .qty-input {
    width: 46px;
    height: 32px;
    border: 0;
    border-inline: 0;
    padding: 0;
    background: transparent;
    text-align: center;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 800;
    color: var(--gh-ink);
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

.theme-galahardware .gh-qty-input:focus,
.theme-galahardware .mini-qty-input:focus,
.theme-galahardware .cart-item-quantity .qty-input:focus,
.theme-galahardware .viz-qty-control .qty-input:focus { outline: none; }

.theme-galahardware .gh-qty-input::-webkit-outer-spin-button,
.theme-galahardware .gh-qty-input::-webkit-inner-spin-button,
.theme-galahardware .mini-qty-input::-webkit-outer-spin-button,
.theme-galahardware .mini-qty-input::-webkit-inner-spin-button,
.theme-galahardware .cart-item .qty-input::-webkit-outer-spin-button,
.theme-galahardware .cart-item .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Unit: a quiet label beside the control, never inside it */
.theme-galahardware .gh-qty-unit,
.theme-galahardware .mini-cart-item-unit {
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--gh-muted);
    background: none;
    border: 0;
    padding: 0;
    white-space: nowrap;
}

/* Compact in the mini cart */
.theme-galahardware .mini-cart-item-qty { gap: 1px; padding: 3px; }
.theme-galahardware .mini-qty-btn { width: 27px; height: 27px; }
.theme-galahardware .mini-qty-input { width: 38px; height: 27px; font-size: 13.5px; }
.theme-galahardware .mini-cart-item-unit { margin-left: 9px; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-qty-step,
    .theme-galahardware .mini-qty-btn { transition: none; }
}

/* ==========================================================================
   25. GHValidate — field states
   --------------------------------------------------------------------------
   Four states on the field's wrapper: neutral, is-valid, is-invalid and
   is-pending (an async rule in flight). The message sits under the field, so
   nothing overlaps and the layout does not jump.
   ========================================================================== */

.theme-galahardware .gh-vmsg {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 7px 0 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--gh-red-dark);
}

.theme-galahardware .gh-vmsg[hidden] { display: none; }

.theme-galahardware .gh-vmsg::before {
    content: "error_outline";
    font-family: 'Material Icons';
    font-size: 15px;
    line-height: 1.2;
    flex: none;
}

.theme-galahardware .is-valid > .gh-vmsg { color: var(--gh-green-dark); }
.theme-galahardware .is-valid > .gh-vmsg::before { content: "check_circle"; }
.theme-galahardware .is-pending > .gh-vmsg { color: var(--gh-muted); }
.theme-galahardware .is-pending > .gh-vmsg::before { content: "hourglass_empty"; }

/* Field chrome per state — border plus a soft ring, never a native bubble */
.theme-galahardware .is-invalid input,
.theme-galahardware .is-invalid select,
.theme-galahardware .is-invalid textarea,
.theme-galahardware .is-invalid .gh-sel-btn {
    border-color: var(--gh-red);
    background-color: #fffafa;
}

.theme-galahardware .is-invalid input:focus,
.theme-galahardware .is-invalid textarea:focus,
.theme-galahardware .is-invalid .gh-sel-btn {
    box-shadow: 0 0 0 3px var(--gh-red-wash);
}

.theme-galahardware .is-valid input,
.theme-galahardware .is-valid select,
.theme-galahardware .is-valid textarea,
.theme-galahardware .is-valid .gh-sel-btn { border-color: var(--gh-green); }

.theme-galahardware .is-valid input:focus,
.theme-galahardware .is-valid textarea:focus { box-shadow: 0 0 0 3px var(--gh-green-wash); }

.theme-galahardware .is-pending input,
.theme-galahardware .is-pending textarea { border-color: var(--gh-line-strong); }

/* A tick on a valid field, so success reads without adding a message line */
.theme-galahardware .is-valid { position: relative; }

.theme-galahardware .is-valid > input:not([type=checkbox]):not([type=radio]) {
    background-image: none;
    padding-right: 38px;
}

.theme-galahardware .is-valid::after {
    content: "check";
    font-family: 'Material Icons';
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--gh-green);
    pointer-events: none;
}

.theme-galahardware .is-valid:has(> .gh-vmsg:not([hidden]))::after,
.theme-galahardware .is-valid:has(label)::after { display: none; }

/* The invalid field draws attention once, rather than staying loud */
.theme-galahardware .is-invalid input:not(:focus) { animation: gh-shake .3s ease; }

@keyframes gh-shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-4px); }
    75%      { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .is-invalid input:not(:focus) { animation: none; }
}

/* --------------------------------------------------------------------------
   Adjacent buttons always have room between them. Base pages put two buttons
   side by side in a plain container with no gap, so they touched (404, empty
   states, auth pages).
   -------------------------------------------------------------------------- */
.theme-galahardware .btn + .btn,
.theme-galahardware .gh-btn + .gh-btn,
.theme-galahardware .btn + .gh-btn,
.theme-galahardware .gh-btn + .btn { margin-left: 12px; }

/* Where the container can own the spacing, prefer a gap so it wraps cleanly */
.theme-galahardware .error-actions,
.theme-galahardware .empty-actions,
.theme-galahardware .about-cta-buttons,
.theme-galahardware .gh-empty-actions,
.theme-galahardware .gh-trade-actions,
.theme-galahardware .gh-hero-act,
.theme-galahardware .auth-actions,
.theme-galahardware .form-actions,
.theme-galahardware .modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* A flex/grid parent already spaces them — drop the margin so it is not doubled */
.theme-galahardware .error-actions .btn + .btn,
.theme-galahardware .empty-actions .btn + .btn,
.theme-galahardware .about-cta-buttons .btn + .btn,
.theme-galahardware .gh-empty-actions .gh-btn + .gh-btn,
.theme-galahardware .gh-trade-actions .gh-btn + .gh-btn,
.theme-galahardware .form-actions .btn + .btn { margin-left: 0; }

@media (max-width: 479px) {
    .theme-galahardware .error-actions,
    .theme-galahardware .empty-actions { justify-content: center; }
}

/* ==========================================================================
   26. GHStrength — password strength meter
   ========================================================================== */

.theme-galahardware .gh-pw { margin-top: 9px; }

.theme-galahardware .gh-pw-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.theme-galahardware .gh-pw-bars i {
    height: 4px;
    border-radius: 2px;
    background: var(--gh-line);
    transition: background-color .22s ease;
}

/* Filled segments are the score; the colour is the verdict */
.theme-galahardware .gh-pw[data-score="1"] .gh-pw-bars i:nth-child(-n+1),
.theme-galahardware .gh-pw[data-score="2"] .gh-pw-bars i:nth-child(-n+2),
.theme-galahardware .gh-pw[data-score="3"] .gh-pw-bars i:nth-child(-n+3),
.theme-galahardware .gh-pw[data-score="4"] .gh-pw-bars i { background: currentColor; }

.theme-galahardware .gh-pw[data-score="0"],
.theme-galahardware .gh-pw[data-score="1"] { color: var(--gh-red); }
.theme-galahardware .gh-pw[data-score="2"] { color: #d98324; }
.theme-galahardware .gh-pw[data-score="3"] { color: var(--gh-green); }
.theme-galahardware .gh-pw[data-score="4"] { color: var(--gh-green-dark); }

.theme-galahardware .gh-pw[data-score="0"] .gh-pw-bars i:nth-child(-n+1) { background: currentColor; }

.theme-galahardware .gh-pw-text {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 7px 0 0;
    font-size: 12.5px;
    line-height: 1.4;
}

.theme-galahardware .gh-pw-label {
    font-family: var(--heading-font);
    font-weight: 700;
    color: currentColor;
}

.theme-galahardware .gh-pw-hint { color: var(--gh-muted); font-weight: 400; }
.theme-galahardware .gh-pw.is-empty .gh-pw-text { min-height: 18px; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-pw-bars i { transition: none; }
}

/* --------------------------------------------------------------------------
   base's .form-group is a flex column with gap:0.75rem, which applies between
   every child — so an appended message inherited a 12px gap on top of its own
   margin. Cancel the gap for the message and the strength meter so they sit
   tight under their field, while label -> input keeps the group's spacing.
   -------------------------------------------------------------------------- */
.theme-galahardware .form-group > .gh-vmsg,
.theme-galahardware .gh-field > .gh-vmsg,
.theme-galahardware .input-group > .gh-vmsg { margin-top: calc(4px - 0.75rem); }

.theme-galahardware .form-group > .gh-pw,
.theme-galahardware .gh-field > .gh-pw { margin-top: calc(7px - 0.75rem); }

/* Standalone wrappers that are not flex keep a plain margin */
.theme-galahardware .gh-vmsg { margin: 4px 0 0; }

/* A tile that FLIPped from a previous position must not also run the entry
   animation, or it fades in while it is still travelling. */
.theme-galahardware .gallery-grid .lookbook-item-static.gh-flipped { animation: none; }

/* ==========================================================================
   27. GHSkeleton — loading placeholders  [component: skeleton]
   --------------------------------------------------------------------------
   Mirrors the real card's anatomy so nothing jumps when products arrive, and
   carries a faint tower-bolt outline in the image block — the placeholder
   reads as this shop rather than as grey boxes. The sweep is a brushed-metal
   sheen, the same light the cards use on hover.
   ========================================================================== */

.theme-galahardware .gh-grid-skeleton {
    grid-template-columns: inherit;
    gap: 16px;
}

.theme-galahardware .gh-grid[data-cols] .gh-grid-skeleton {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.theme-galahardware .gh-grid.is-loading .gh-grid-skeleton { display: grid; }

.theme-galahardware .gh-sk {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.theme-galahardware .gh-sk-media {
    position: relative;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: var(--gh-surface);
    overflow: hidden;
}

/* The bolt outline: present, but barely — a hint of the product, not an icon */
.theme-galahardware .gh-sk-glyph {
    width: 54%;
    height: auto;
    fill: var(--gh-line-strong);
    opacity: .5;
}

.theme-galahardware .gh-sk-body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 15px 16px;
}

.theme-galahardware .gh-sk-row { display: flex; gap: 8px; align-items: center; }

.theme-galahardware .gh-sk-bar {
    display: block;
    height: 11px;
    border-radius: 3px;
    background: var(--gh-surface-2);
}

.theme-galahardware .gh-sk-code  { width: 54px; height: 15px; border-radius: 3px; }
.theme-galahardware .gh-sk-brand { width: 66px; height: 9px; }
.theme-galahardware .gh-sk-title { width: 100%; height: 13px; }
.theme-galahardware .gh-sk-title-2 { width: 72%; }
.theme-galahardware .gh-sk-spec  { width: 58%; height: 10px; }
.theme-galahardware .gh-sk-price { width: 42%; height: 18px; margin-top: 3px; }
.theme-galahardware .gh-sk-btn   { width: 100%; height: 38px; border-radius: 5px; margin-top: 5px; }

/* One sweep across the whole card, so the bars read as one surface catching
   light rather than each shimmering on its own. */
.theme-galahardware .gh-sk::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(255, 255, 255, 0) 38%,
        rgba(255, 255, 255, .72) 50%,
        rgba(255, 255, 255, 0) 62%
    );
    transform: translateX(-100%);
    animation: gh-sk-sweep 1.4s ease-in-out infinite;
}

.theme-galahardware .gh-sk { position: relative; }

@keyframes gh-sk-sweep {
    to { transform: translateX(100%); }
}

/* Stagger so the grid ripples rather than pulsing as one block */
.theme-galahardware .gh-sk:nth-child(2n)::after  { animation-delay: .12s; }
.theme-galahardware .gh-sk:nth-child(3n)::after  { animation-delay: .24s; }
.theme-galahardware .gh-sk:nth-child(4n)::after  { animation-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-sk::after { animation: none; opacity: 0; }
    .theme-galahardware .gh-sk-bar { background: var(--gh-surface-2); }
}

/* ==========================================================================
   28. GHRule — section separators  [component: separators]
   --------------------------------------------------------------------------
   Two client-specific rules, drawn from what Gala sells.

     .gh-rule           a hairline broken by a slotted screw head
     .gh-rule.is-scale  a measuring scale, ticks every 10 with taller marks
                        at each inch — a nod to the 3" / 4" / 6" sizing that
                        runs through the catalogue

   Usage:  <hr class="gh-rule">  or  <hr class="gh-rule is-scale">
   ========================================================================== */

.theme-galahardware .gh-rule {
    position: relative;
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--gh-line);
    overflow: visible;
}

/* Slotted screw head, centred on the line */
.theme-galahardware .gh-rule::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1.5px var(--gh-line-strong);
}

/* The slot */
.theme-galahardware .gh-rule::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 9px;
    height: 1.5px;
    transform: translate(-50%, -50%) rotate(-28deg);
    background: var(--gh-line-strong);
    border-radius: 1px;
}

/* Reverse on dark bands */
.theme-galahardware .gh-rule.is-dark { background: rgba(255, 255, 255, .16); }
.theme-galahardware .gh-rule.is-dark::after { background: var(--gh-ink); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.theme-galahardware .gh-rule.is-dark::before { background: rgba(255, 255, 255, .45); }

/* --- Scale variant: a rule you could measure against --- */
.theme-galahardware .gh-rule.is-scale {
    height: 13px;
    background:
        /* inch marks: taller, every 60px */
        repeating-linear-gradient(
            to right,
            var(--gh-line-strong) 0 1px,
            transparent 1px 60px
        ),
        /* tick marks: every 10px */
        repeating-linear-gradient(
            to right,
            var(--gh-line) 0 1px,
            transparent 1px 10px
        ),
        /* the rule itself */
        linear-gradient(to bottom, transparent calc(100% - 1px), var(--gh-line) calc(100% - 1px));
    background-size: 100% 13px, 100% 7px, 100% 100%;
    background-position: left bottom, left bottom, left bottom;
    background-repeat: repeat-x;
}

.theme-galahardware .gh-rule.is-scale::before,
.theme-galahardware .gh-rule.is-scale::after { content: none; }

/* Spacing helpers, so a separator never needs a wrapper */
.theme-galahardware .gh-rule { margin-block: 34px; }
.theme-galahardware .gh-rule.is-tight { margin-block: 20px; }
.theme-galahardware .gh-rule.is-loose { margin-block: 56px; }

/* ==========================================================================
   29. GHToast — cart notifications  [component: toast]
   --------------------------------------------------------------------------
   cart.js already builds .cart-notification.cart-notification-{success|error}
   and toggles .active on it, so this is styling only — no script, and every
   existing call site is covered: add to cart, wishlist, section created,
   "that combination is not stocked".
   ========================================================================== */

.theme-galahardware .cart-notification {
    position: fixed;
    z-index: 1200;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 18px);
    max-width: min(440px, calc(100vw - 32px));
    padding: 0;
    border-radius: 10px;
    background: var(--gh-ink);
    color: #ffffff;
    box-shadow: 0 22px 44px -22px rgba(18, 21, 24, .7);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .28s cubic-bezier(.22,.61,.36,1), visibility .22s;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.theme-galahardware .cart-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.theme-galahardware .cart-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 16px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.theme-galahardware .cart-notification svg { flex: none; width: 20px; height: 20px; }

/* A colour bar rather than a tinted card: readable on the ink ground and it
   does not fight the brand red used for actions. */
.theme-galahardware .cart-notification-content::before {
    content: "";
    align-self: stretch;
    width: 3px;
    flex: none;
    border-radius: 2px;
    background: var(--gh-muted);
}

.theme-galahardware .cart-notification-success .cart-notification-content::before { background: var(--gh-green); }
.theme-galahardware .cart-notification-success svg { color: var(--gh-green); }
.theme-galahardware .cart-notification-error .cart-notification-content::before { background: var(--gh-red); }
.theme-galahardware .cart-notification-error svg { color: #ff8b84; }

@media (max-width: 639px) {
    .theme-galahardware .cart-notification { left: 16px; right: 16px; transform: translateY(18px); max-width: none; }
    .theme-galahardware .cart-notification.active { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .cart-notification { transition: opacity .15s ease, visibility .15s; }
}

/* The chip's remove button: the glyph inherits inline text metrics, which sit
   it below centre in a round button. Grid centring plus line-height:1 on the
   icon itself fixes both the Material glyph and the plain × used in the
   sticky bar. */
.theme-galahardware .gh-chip-x {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    line-height: 1;
    font-size: 13px;
    flex: none;
}

.theme-galahardware .gh-chip-x .material-icons {
    display: block;
    font-size: 14px;
    line-height: 1;
}

.theme-galahardware .gh-chip { line-height: 1.2; }

/* ==========================================================================
   30. GHFinish — metal finish swatches  [component: finish]
   --------------------------------------------------------------------------
   Every hinge, bolt and handle in this catalogue comes in a finish, and a
   finish is the one attribute a word cannot convey — "antique" means nothing
   until you see it. These are gradient discs approximating the real metals,
   used on the variant selector and anywhere a finish is named.

   Usage:
     <span class="gh-finish" data-finish="brass" title="Brass"></span>
   Or on a variant chip, add is-finish to the group:
     <ul class="gh-variant-options is-finish" data-attr="finish">
   ========================================================================== */

.theme-galahardware .gh-finish {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(29, 33, 37, .22), 0 1px 2px rgba(29, 33, 37, .18);
    background: var(--gh-line-strong);
}

/* Polished brass: warm highlight top-left, deeper tone bottom-right */
.theme-galahardware .gh-finish[data-finish="brass"],
.theme-galahardware .gh-finish[data-finish="gold"],
.theme-galahardware .gh-finish[data-finish="pvd gold"] {
    background: linear-gradient(135deg, #f4e0a8 0%, #d9b84a 22%, #c9a227 55%, #8a6a18 100%);
}

.theme-galahardware .gh-finish[data-finish="satin"],
.theme-galahardware .gh-finish[data-finish="ss"],
.theme-galahardware .gh-finish[data-finish="stainless"],
.theme-galahardware .gh-finish[data-finish="chrome"] {
    background: linear-gradient(135deg, #f2f4f6 0%, #c9ced4 45%, #8b949c 100%);
}

.theme-galahardware .gh-finish[data-finish="black"],
.theme-galahardware .gh-finish[data-finish="matt black"],
.theme-galahardware .gh-finish[data-finish="matte black"] {
    background: linear-gradient(135deg, #4a4f55 0%, #24282c 50%, #121417 100%);
}

.theme-galahardware .gh-finish[data-finish="antique"],
.theme-galahardware .gh-finish[data-finish="antique brass"],
.theme-galahardware .gh-finish[data-finish="bronze"] {
    background: linear-gradient(135deg, #a98a5f 0%, #7c5f38 45%, #43301a 100%);
}

.theme-galahardware .gh-finish[data-finish="copper"],
.theme-galahardware .gh-finish[data-finish="rose gold"] {
    background: linear-gradient(135deg, #e7b493 0%, #c07a4e 45%, #7d431f 100%);
}

.theme-galahardware .gh-finish[data-finish="white"] {
    background: linear-gradient(135deg, #ffffff 0%, #eef0f2 50%, #d3d8dd 100%);
}

/* Sizes */
.theme-galahardware .gh-finish.is-lg { width: 26px; height: 26px; }
.theme-galahardware .gh-finish.is-sm { width: 13px; height: 13px; }

/* On a variant chip: the disc sits before the label */
.theme-galahardware .gh-variant-options.is-finish .gh-variant-option { padding-left: 12px; gap: 9px; }

.theme-galahardware .gh-variant-options.is-finish .gh-variant-option.active .gh-finish {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 2px var(--gh-ink);
}

/* A row of finishes on a product card, so a shopper sees the range at a glance */
.theme-galahardware .gh-finish-row { display: flex; align-items: center; gap: 5px; margin-top: 8px; }

.theme-galahardware .gh-finish-row small {
    font-size: 11px;
    color: var(--gh-muted);
    margin-left: 2px;
}

/* Unit label needs air on both sides, not just before it — it was butting
   against whatever followed (the card edge in the mini cart). */
.theme-galahardware .gh-qty-unit,
.theme-galahardware .mini-cart-item-unit { margin-inline: 2px 10px; }
.theme-galahardware .mini-cart-item-unit { margin-inline: 9px 12px; }

/* Buy row: qty, then the button, then wishlist — all centred on one line, with
   the unit label centred against the pill rather than sitting on the text
   baseline. */
.theme-galahardware .product-actions { align-items: center; }
.theme-galahardware .gh-qtywrap { align-items: center; }
.theme-galahardware .gh-qty-unit { display: inline-flex; align-items: center; line-height: 1; }

.theme-galahardware .btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.theme-galahardware .btn-add-to-cart .material-icons { font-size: 19px; }

.theme-galahardware .product-actions .btn-wishlist {
    display: grid;
    place-items: center;
}

.theme-galahardware .product-actions .btn-wishlist .material-icons { font-size: 21px; }

/* Meta sits under the buy row, not beside it */
.theme-galahardware .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--gh-line);
}

.theme-galahardware .product-meta .meta-item { display: flex; align-items: center; gap: 7px; font-size: 13.5px; }
.theme-galahardware .product-meta .meta-label { color: var(--gh-muted); }
.theme-galahardware .product-meta .meta-value { font-family: var(--heading-font); font-weight: 700; color: var(--gh-ink); }
.theme-galahardware .product-meta .meta-link:hover { color: var(--gh-red); }

/* --------------------------------------------------------------------------
   Layer order, set once so components stop competing:
     1001  sticky filter bar
     1200  filter panel
     1300  quick view
     1400  mini-cart overlay + drawer   (above the sticky bar)
     1600  toast                        (above everything)
   -------------------------------------------------------------------------- */
.theme-galahardware #mini-cart-overlay,
.theme-galahardware .mini-cart-overlay { z-index: 1400; }
.theme-galahardware #mini-cart-drawer,
.theme-galahardware .mini-cart-drawer { z-index: 1401; }
.theme-galahardware .gh-filters { z-index: 1200; }
.theme-galahardware .gh-qv { z-index: 1300; }
.theme-galahardware .cart-notification { z-index: 1600; }

/* Remove item: a quiet × that turns red on intent, rather than a bin glyph
   that reads heavier than the product beside it. */
.theme-galahardware .mini-cart-item-remove,
.theme-galahardware .cart-item-remove {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--gh-muted);
    cursor: pointer;
    line-height: 1;
    transition: background-color .14s ease, color .14s ease;
}

.theme-galahardware .mini-cart-item-remove:hover,
.theme-galahardware .cart-item-remove:hover { background: var(--gh-red-wash); color: var(--gh-red); }

.theme-galahardware .mini-cart-item-remove .material-icons,
.theme-galahardware .cart-item-remove .material-icons { font-size: 17px; line-height: 1; display: block; }

/* Spinners off on the cart's own inputs too */
.theme-galahardware .cart-item-quantity .qty-input::-webkit-outer-spin-button,
.theme-galahardware .cart-item-quantity .qty-input::-webkit-inner-spin-button,
.theme-galahardware .viz-qty-control .qty-input::-webkit-outer-spin-button,
.theme-galahardware .viz-qty-control .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.theme-galahardware .cart-item-quantity .qty-btn svg,
.theme-galahardware .viz-qty-control .qty-btn svg { width: 10px; height: 10px; }

/* ==========================================================================
   HERO SLIDESHOW — Gala's own, not the base slideshow with a new photograph

   The shared slideshow puts light type straight on the image behind a
   left-to-right wash. That is not this theme's language: Gala's hero has
   always been an ink card with a red light in the corner, a lime kicker over
   a red rule, and heavy tight headings. So the photograph stays full bleed
   and the words move back onto a card that floats on it — frosted, not
   opaque, so the kitchen still reads behind the text.

   Note the doubled-up selectors on the type: this theme colours every h1-h4
   through .theme-galahardware h1 (0,1,1), which out-specifies app.css's
   .slide-title (0,1,0). Without them the headline renders in dark ink.
   ========================================================================== */

/* Barely there — the card carries the contrast, so the photograph keeps its
   own light instead of sitting under a grey sheet. */
.theme-galahardware .slide-overlay {
    background: linear-gradient(to bottom,
        rgba(16, 18, 20, .10) 0%,
        rgba(16, 18, 20, .26) 100%);
}

.theme-galahardware .slide-content {
    align-items: center;
    padding: clamp(18px, 3.4vw, 54px);
}

/* The card: Gala's ink, frosted so the photograph shows through it. */
.theme-galahardware .slide-content-inner {
    position: relative;
    overflow: hidden;
    max-width: min(38rem, 100%);
    padding: clamp(22px, 2.6vw, 38px) clamp(22px, 2.6vw, 40px);
    border-radius: 14px;
    background: rgba(23, 26, 30, .82);
    -webkit-backdrop-filter: blur(6px) saturate(115%);
    backdrop-filter: blur(6px) saturate(115%);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

/* The red light in the corner, carried over from the old editorial hero. */
.theme-galahardware .slide-content-inner::before {
    content: "";
    position: absolute;
    top: -45%;
    left: -18%;
    width: 58%;
    height: 130%;
    background: radial-gradient(closest-side, rgba(230, 57, 70, .34), transparent 70%);
    pointer-events: none;
}

/* Kicker: this theme's uppercase lime, with the red rule that sits under
   every other kicker on the site. */
.theme-galahardware .slide-content-inner .slide-subtitle {
    position: relative;
    margin: 0 0 14px;
    padding-top: 12px;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gh-lime);
    opacity: 1;
    text-shadow: none;
}

.theme-galahardware .slide-content-inner .slide-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background: var(--gh-red);
}

/* Headline: the theme's heavy, tightly tracked heading — not the light
   display face the base slideshow uses. */
.theme-galahardware .slide-content-inner .slide-title,
.theme-galahardware .slide-content-inner h1,
.theme-galahardware .slide-content-inner h2 {
    position: relative;
    margin: 0 0 14px;
    font-family: var(--heading-font);
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: #ffffff;
    text-shadow: none;
    text-wrap: balance;
}

.theme-galahardware .slide-content-inner .slide-description {
    position: relative;
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #b7bdc4;
    text-shadow: none;
    max-width: 46ch;
}

.theme-galahardware .slide-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0;
}

/* Pagination: thin rules tucked into the bottom corner, off the centre line
   the base slideshow parks them on. */
.theme-galahardware .slideshow .swiper-pagination {
    bottom: 18px;
    left: auto;
    right: clamp(18px, 3.4vw, 54px);
    width: auto;
    display: flex;
    gap: 7px;
}

.theme-galahardware .slideshow .swiper-pagination-bullet {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    margin: 0 !important;
    background: #ffffff;
    opacity: .45;
    transition: opacity .2s ease, background .2s ease;
}

.theme-galahardware .slideshow .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gh-red);
}

@media (max-width: 767px) {
    .theme-galahardware .slide-content-inner { max-width: 100%; }
    .theme-galahardware .slideshow .swiper-pagination { right: 18px; bottom: 14px; }
}

/* --- A slide that is finished artwork -----------------------------------
   The Shagun banner is a co-branded creative with the offer, the products
   and the dates drawn into it. Cropping it to the fixed slide height would
   cut the validity line off the bottom and the logos off the top, so where
   every slide is artwork the frame takes the artwork's own proportions and
   the image is shown whole. No scrim either: these are bright, warm layouts
   and a scrim only dirties them. */
.theme-galahardware .slideshow.gh-banner {
    height: auto;
    aspect-ratio: 1672 / 941;
    background: var(--gh-surface);
}

.theme-galahardware .gh-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}

.theme-galahardware .gh-banner .slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Checkout: why the order cannot be placed online yet -----------------
   Sits under the (disabled) payment option and says what to do instead. It
   is a notice, not an error, so it reads in the theme's ink on its wash
   rather than in the red used for things that went wrong.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-checkout-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: var(--gh-surface);
}

.theme-galahardware .gh-checkout-notice .material-icons {
    font-size: 20px;
    color: var(--gh-red);
    flex: 0 0 auto;
}

.theme-galahardware .gh-checkout-notice p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gh-ink);
}

.theme-galahardware .gh-checkout-notice a {
    color: var(--gh-red);
    font-weight: 700;
    text-decoration: none;
}

.theme-galahardware .gh-checkout-notice a:hover { text-decoration: underline; }

/* --- Mobile number: the country code is fixed, not typed -----------------
   The field still posts the bare ten digits the ERP stores, so the +91 is a
   label on the input rather than part of its value.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-telfield {
    display: flex;
    align-items: stretch;
}

.theme-galahardware .gh-telfield-code {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--gh-line);
    border-right: 0;
    border-radius: 6px 0 0 6px;
    background: var(--gh-surface);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--gh-ink);
    white-space: nowrap;
}

.theme-galahardware .gh-telfield .form-input {
    border-radius: 0 6px 6px 0;
    flex: 1 1 auto;
    min-width: 0;
}

.theme-galahardware .gh-telfield:focus-within .gh-telfield-code { border-color: var(--gh-red); }

/* app.css sets .cart-summary-row{display:flex}, which outranks the browser's
   own [hidden]{display:none} — so the transportation row has to be told to
   honour the attribute cart-page.js toggles on it when the cart empties. */
.theme-galahardware .cart-summary-row[hidden] { display: none; }

/* "Includes GST" is a statement about the subtotal above it, not another
   amount being added, so it reads quieter than the rows that do add up. */
.theme-galahardware .cart-summary-incl {
    font-size: 12.5px;
    color: var(--gh-muted);
    margin-top: -2px;
}

/* --- A reward line in the cart -------------------------------------------
   The fifth article, earned by a combo rather than chosen. It reads as part
   of the order but carries no stepper and no remove button, because there is
   no cart row behind it to act on — it leaves when its combo does.
   ------------------------------------------------------------------------ */
.theme-galahardware .cart-item-reward {
    border-color: var(--gh-red);
    background: var(--gh-red-wash);
}

.theme-galahardware .cart-item-rewardnote {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--gh-ink);
}

.theme-galahardware .cart-item-rewardnote .material-icons {
    font-size: 19px;
    color: var(--gh-red);
    flex: 0 0 auto;
}

.theme-galahardware .cart-item-rewardnote small {
    display: block;
    font-size: 11.5px;
    color: var(--gh-muted);
}

/* The reward's quantity slot in the mini cart: a statement, not a control.
   It keeps the chip shape the stepper had, so the row still reads as a row -
   zeroing the padding left the icon and the text against its own edges. */
.theme-galahardware .mini-cart-item-qty.is-reward {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border: 1px solid var(--gh-line);
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--gh-ink);
    white-space: nowrap;
}

.theme-galahardware .mini-cart-item-qty.is-reward .material-icons {
    font-size: 15px;
    line-height: 1;
    color: var(--gh-red);
}

/* A product with no photograph yet. The placeholder is drawn on a transparent
   ground, so it needs the surface under it and a little room to breathe. */
.theme-galahardware .cart-item-image img[src$="product-placeholder.svg"],
.theme-galahardware .mini-cart-item-image img[src$="product-placeholder.svg"],
.theme-galahardware .gh-card-shot img[src$="product-placeholder.svg"] {
    background: var(--gh-surface);
    object-fit: contain;
    padding: 6px;
}

/* --- A combo and the article it brings, drawn as one block ---------------
   The reward follows its trigger in the cart lines, so the pair is joined
   rather than separated: the combo loses its lower edge, the reward keeps a
   single outline and sits inset behind a marker. Read together they say "this
   came with that"; read apart the reward looks like a second purchase.
   ------------------------------------------------------------------------ */
.theme-galahardware .cart-item-hasreward {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 0;
    margin-bottom: 0;
}

.theme-galahardware .cart-item-reward {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 1px dashed var(--gh-line);
    margin-left: 18px;
    position: relative;
}

/* The tie between the two: a short rule running up into the combo above. */
.theme-galahardware .cart-item-reward::before {
    content: "";
    position: absolute;
    left: -18px;
    top: -1px;
    bottom: 0;
    width: 3px;
    background: var(--gh-red);
    border-bottom-left-radius: 6px;
}

.theme-galahardware .mini-cart-item-hasreward { border-bottom: 0; padding-bottom: 6px; }

/* The tint is a panel, so it needs room on every side - the base rule only
   pads the sides, which left the picture and the note touching its edges. */
.theme-galahardware .mini-cart-item-reward {
    margin: 0 0 10px 14px;
    padding: 10px 12px;
    border-left: 3px solid var(--gh-red);
    border-radius: 0 6px 6px 0;
    background: var(--gh-red-wash);
}

/* Breathing room inside the pair on the cart page too. */
.theme-galahardware .cart-item-reward { padding-block: 14px; }

/* --- A combo card shows what is in the set ------------------------------
   One saleable item, four products inside. The cell grid keeps the card's
   square so a combo sits in the grid like everything else, and each shot is
   contained on white because these are cut-outs.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-card-combo {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background: var(--gh-line);
    aspect-ratio: 1 / 1;
}

.theme-galahardware .gh-card-combo-cell {
    display: block;
    overflow: hidden;
    background: #ffffff;
    min-width: 0;
}

.theme-galahardware .gh-card-combo-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
}

/* Room for the disc in the middle: the quarters pull their contents outward so
   the medallion is not sitting on top of four products at once. */
.theme-galahardware .gh-card-combo-cell:nth-child(1) img { padding: 6px 22% 22% 6px; }
.theme-galahardware .gh-card-combo-cell:nth-child(2) img { padding: 6px 6px 22% 22%; }
.theme-galahardware .gh-card-combo-cell:nth-child(3) img { padding: 22% 22% 6px 6px; }
.theme-galahardware .gh-card-combo-cell:nth-child(4) img { padding: 22% 6px 6px 22%; }

/* A combo of three fills the empty cell rather than leaving a hole. */
.theme-galahardware .gh-card-combo-cell:first-child:nth-last-child(3) { grid-row: span 2; }

/* The fifth article, where the four meet. A disc lifted off the quarters with
   a ring in the card's own ground, so it reads as laid on top of the set
   rather than as a fifth cell - "these four, and this one with them". */
.theme-galahardware .gh-card-combo-fifth {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Sized against the card, not its own contents: a percentage on the disc
       itself cannot resolve inside a shrink-to-fit parent and collapses to the
       minimum. The tag hangs off this box so the disc stays on the centre. */
    width: 44%;
    aspect-ratio: 1 / 1;
    z-index: 3;
    pointer-events: none;
}

.theme-galahardware .gh-card-combo-fifth-shot {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--gh-surface);
    box-shadow: 0 8px 22px -8px rgba(29, 33, 37, .5);
    overflow: hidden;
}

.theme-galahardware .gh-card-combo-fifth-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
    display: block;
}

.theme-galahardware .gh-card-combo-fifth-tag {
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .02em;
    white-space: nowrap;
    box-shadow: 0 3px 10px -3px rgba(29, 33, 37, .5);
}

.theme-galahardware .gh-card-combo-count {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(29, 33, 37, .82);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* --- Hero: the offer artwork, and what it actually means -----------------
   The banner is a finished creative and says the offer in pictures; the panel
   beside it says it in words, with the dates and the links the artwork cannot
   carry. 60/40 because the artwork needs the room and the panel is a summary,
   not a column of copy.

   Below 980px they stack, artwork first - on a phone the banner is the thing
   worth seeing, and the panel reads as its caption.
   ------------------------------------------------------------------------ */
.theme-galahardware .gh-hero-split {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 18px;
    align-items: stretch;
}

.theme-galahardware .gh-hero-split.is-wide { grid-template-columns: 1fr; }

.theme-galahardware .gh-hero-split > .slideshow { min-width: 0; }

.theme-galahardware .gh-hero-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 24px;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
    background: var(--gh-surface);
}

.theme-galahardware .gh-hero-panel .gh-hero-panel-title {
    font-family: var(--heading-font);
    font-size: clamp(1.35rem, 2.3vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 10px;
    color: var(--gh-ink);
}

.theme-galahardware .gh-hero-panel-lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--gh-ink-2, var(--gh-muted));
}

.theme-galahardware .gh-hero-facts {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.theme-galahardware .gh-hero-facts li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--gh-ink);
}

.theme-galahardware .gh-hero-facts .material-icons {
    font-size: 18px;
    color: var(--gh-red);
    flex: 0 0 auto;
}

/* Pushed to the foot of the panel so the two columns end together. */
.theme-galahardware .gh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.theme-galahardware .gh-hero-actions .gh-btn { flex: 1 1 auto; text-align: center; }

.theme-galahardware .gh-hero-ends {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--gh-line);
    font-size: 12.5px;
    color: var(--gh-muted);
}

.theme-galahardware .gh-hero-ends .material-icons { font-size: 16px; }
.theme-galahardware .gh-hero-ends strong { color: var(--gh-red); font-weight: 700; }

@media (max-width: 980px) {
    .theme-galahardware .gh-hero-split { grid-template-columns: 1fr; gap: 12px; }
    .theme-galahardware .gh-hero-panel { padding: 18px 18px 20px; }
    .theme-galahardware .gh-hero-actions .gh-btn { flex: 1 1 160px; }
}

@media (max-width: 460px) {
    .theme-galahardware .gh-hero-panel .gh-hero-panel-title { font-size: 1.25rem; }
    .theme-galahardware .gh-hero-actions .gh-btn { flex: 1 1 100%; }
}

/* --- Long spec values must wrap -----------------------------------------
   The bulk upload flattened multi-line specifications into one run-on string
   ("Frequency 50Hz Connected Load 3000W Electrical Requirement 220-230V ..."),
   which has no break opportunity narrow enough for the card and ran straight
   out of the panel. These wrap now, and the grid lets a long one take the
   width it needs instead of forcing every card to the longest.
   ------------------------------------------------------------------------ */
.theme-galahardware .spec-card { min-width: 0; align-items: flex-start; }

.theme-galahardware .spec-content { min-width: 0; }

/* The value may be a run-on string with no break opportunity; the label is a
   short phrase and must never be broken - .spec-content is a flex row, so a
   long value squeezed the label to nothing and word-break then split it one
   letter per line. */
.theme-galahardware .spec-value {
    overflow-wrap: anywhere;
    white-space: normal;
    min-width: 0;
}

.theme-galahardware .spec-label {
    flex: 0 0 auto;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
}

/* A specification longer than a line is a paragraph, not a label: it takes the
   whole row and stacks its value under its name instead of fighting for a
   third of one. */
.theme-galahardware .spec-card.spec-card-wide { grid-column: 1 / -1; align-items: flex-start; }

.theme-galahardware .spec-card.spec-card-wide .spec-content {
    display: block;
}

.theme-galahardware .spec-card.spec-card-wide .spec-label {
    display: block;
    margin-bottom: 3px;
    font-weight: 600;
}

.theme-galahardware .spec-card.spec-card-wide .spec-value {
    display: block;
    line-height: 1.55;
}

/* --- A combo's parts ----------------------------------------------------
   The gallery steps through the four appliances and the fifth article; this
   is the matching specification, one panel at a time.
   ------------------------------------------------------------------------ */
.theme-galahardware .gallery-part-caption {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--gh-ink);
}

.theme-galahardware .gallery-part-step {
    font-family: var(--mono, var(--heading-font));
    font-size: 11px;
    letter-spacing: .06em;
    color: var(--gh-muted);
    white-space: nowrap;
}

.theme-galahardware .gallery-part-name { font-weight: 600; overflow-wrap: anywhere; }

.theme-galahardware .gallery-thumb.is-reward { position: relative; border-color: var(--gh-red); }

.theme-galahardware .gallery-thumb-tag {
    position: absolute;
    right: 2px;
    bottom: 2px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--gh-red);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.5;
}

.theme-galahardware .combo-parts {
    margin: 0 0 20px;
    padding: 16px 18px;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    background: var(--gh-surface);
}

.theme-galahardware .combo-part-head {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 11px;
    align-items: start;
    margin-bottom: 10px;
}

.theme-galahardware .combo-part-index {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gh-ink);
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 11px;
    font-weight: 700;
}

.theme-galahardware .combo-part.is-reward .combo-part-index { background: var(--gh-red); }

.theme-galahardware .combo-part-head h4 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--gh-ink);
    overflow-wrap: anywhere;
}

.theme-galahardware .combo-part-note {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 4px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gh-red);
}

.theme-galahardware .combo-part-note .material-icons { font-size: 15px; }

.theme-galahardware .combo-part-specs { margin: 0; display: grid; gap: 7px; }

.theme-galahardware .combo-part-specs > div {
    display: grid;
    grid-template-columns: minmax(96px, 30%) minmax(0, 1fr);
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--gh-line);
}

.theme-galahardware .combo-part-specs dt {
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-muted);
    overflow-wrap: anywhere;
}

.theme-galahardware .combo-part-specs dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--gh-ink);
    overflow-wrap: anywhere;
    min-width: 0;
}

.theme-galahardware .combo-part-empty {
    margin: 0;
    font-size: 13px;
    color: var(--gh-muted);
}

@media (max-width: 520px) {
    .theme-galahardware .combo-part-specs > div { grid-template-columns: 1fr; gap: 2px; }
}

/* A pipe-separated feature list inside a part's specification. */
.theme-galahardware .combo-part-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.theme-galahardware .combo-part-list li {
    position: relative;
    padding-left: 13px;
}

.theme-galahardware .combo-part-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .58em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gh-red);
}

/* The frame and its caption as one column inside the gallery's thumb|stage row. */
.theme-galahardware .gallery-stage {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

.theme-galahardware .gallery-stage .gallery-main { flex: 1 1 auto; min-height: 0; }

/* ---------------------------------------------------------------------------
   Account-area form controls.

   The fields on My Profile rendered at 8.75px while the same .form-input on
   /login rendered at 14px. Nothing in this repo asks for that. The box also
   serves eight stylesheets that are NOT in this checkout - gala-*.css and
   trove-*.css, Tailwind-era leftovers from before the handover - and they load
   after everything here. Two of them carry:

       .account-section .form-input { padding: .625rem .875rem; font-size: .875rem }

   written for a 16px root, where .875rem is a reasonable 14px. This theme sets
   html { font-size: 62.5% }, so 1rem is 10px and .875rem lands at 8.75px. The
   rule is scoped to .account-section, which is the account pages' wrapper and
   nothing else - which is exactly why /login looked right and My Profile did
   not.

   Those files cannot be edited from here and cannot be rsynced away safely:
   a --delete pass would also take shagun-kitchen.webp, pages/store/,
   pages/legal/shipping.php and data/product-info.json, all live on the box and
   all absent here. So this out-specifies them (0,3,0 against their 0,2,0)
   until someone removes the orphans properly. Matches checkout.css, which is
   what the rest of the site's inputs resolve to.
--------------------------------------------------------------------------- */
.theme-galahardware .account-section .form-input,
.theme-galahardware .account-section .form-select,
.theme-galahardware .account-section textarea.form-input {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    line-height: 1.45;
}

.theme-galahardware .account-section .form-label {
    font-size: 1.3rem;
}

/* ---------------------------------------------------------------------------
   Toast.

   Pinned bottom-right it landed under the mini-cart drawer's Checkout button,
   and because app.js styled it against --secondary / --error / --shadow-lg -
   none of which this theme defines - a success toast had no background and no
   shadow, so it read as loose white text sitting on the red button. Bottom
   centre keeps it clear of the drawer, which owns the right edge.
--------------------------------------------------------------------------- */
.theme-galahardware .gh-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 10050;            /* above the drawer and its backdrop */
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(440px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--gh-ink, #1d2125);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .18);
    animation: gh-toast-in .22s cubic-bezier(.2, .8, .3, 1);
}

.theme-galahardware .gh-toast-icon { font-size: 20px; flex: 0 0 auto; }
.theme-galahardware .gh-toast-text { min-width: 0; overflow-wrap: anywhere; }

/* The tick carries the "it worked"; the panel stays neutral so a product name
   is still legible and two toasts in a row do not flash the page green. */
.theme-galahardware .gh-toast-success .gh-toast-icon { color: #4ade80; }
.theme-galahardware .gh-toast-error { background: var(--gh-red-dark, #c1121f); }
.theme-galahardware .gh-toast-error .gh-toast-icon { color: #ffffff; }
.theme-galahardware .gh-toast-info .gh-toast-icon { color: #93c5fd; }

.theme-galahardware .gh-toast.is-leaving { animation: gh-toast-out .22s ease forwards; }

@keyframes gh-toast-in {
    from { opacity: 0; transform: translate(-50%, 14px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes gh-toast-out {
    from { opacity: 1; transform: translate(-50%, 0); }
    to   { opacity: 0; transform: translate(-50%, 10px); }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-toast,
    .theme-galahardware .gh-toast.is-leaving { animation: none; }
}

@media (max-width: 480px) {
    .theme-galahardware .gh-toast { bottom: 16px; width: calc(100vw - 32px); }
}

/* Cashback on a combo. Money back after the sale, not a discount on it, so it
   sits under the price as a separate promise rather than altering the figure
   the customer pays today. */
.theme-galahardware .gh-cashback-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 14px;
    border: 1px solid rgba(22, 128, 85, .22);
    border-radius: 999px;
    background: #ecfdf3;
    color: #166855;
    font-size: 14px;
    line-height: 1.35;
}

.theme-galahardware .gh-cashback-note .material-icons { font-size: 18px; }
.theme-galahardware .gh-cashback-note strong { font-weight: 700; }

/* Footnote marker. Rendered only when the offer carries terms, so the
   asterisk never points at nothing. */
.theme-galahardware .gh-cashback-mark {
    font-size: 11px;
    line-height: 0;
    vertical-align: super;
    margin-left: 1px;
}

/* The Terms button inside the cashback pill, and the dialog it opens. The
   clauses come from ecom_offers.cashback_terms, so legal can reword them in
   the ERP without a deploy - and an offer with an empty column shows neither
   the asterisk nor this button. */
.theme-galahardware .gh-cashback-terms-btn {
    margin-left: 4px;
    padding: 2px 10px;
    border: 1px solid rgba(22, 128, 85, .35);
    border-radius: 999px;
    background: transparent;
    color: #166855;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

.theme-galahardware .gh-cashback-terms-btn:hover {
    background: #d8f5e6;
    border-color: #166855;
}

.theme-galahardware .gh-cashback-terms-btn:focus-visible {
    outline: 2px solid #166855;
    outline-offset: 2px;
}

.theme-galahardware .gh-terms-modal .modal-content {
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.theme-galahardware .gh-terms-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--gh-line, #e2e5e8);
}

.theme-galahardware .gh-terms-modal .modal-header h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    color: var(--gh-ink, #1d2125);
}

.theme-galahardware .gh-terms-modal .modal-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--gh-muted, #767f89);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.theme-galahardware .gh-terms-modal .modal-close:hover {
    background: var(--gh-surface, #f4f6f8);
    color: var(--gh-ink, #1d2125);
}

/* The list is the point of the dialog, so it scrolls, not the page behind. */
.theme-galahardware .gh-terms-modal .modal-body {
    padding: 18px 22px 22px;
    overflow-y: auto;
}

.theme-galahardware .gh-terms-lede {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--gh-muted, #767f89);
}

.theme-galahardware .gh-terms-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--gh-ink-2, #2b3138);
}

.theme-galahardware .gh-terms-list li { padding-left: 4px; }

@media (max-width: 480px) {
    .theme-galahardware .gh-cashback-note { flex-wrap: wrap; }
    .theme-galahardware .gh-terms-modal .modal-header,
    .theme-galahardware .gh-terms-modal .modal-body { padding-inline: 16px; }
}

/* ---------------------------------------------------------------------------
   Promo code at checkout.

   Optional by design, so it sits above the summary rather than in the flow of
   required fields. When the account has no email or mobile the control is
   DISABLED rather than hidden: a code the customer was given and cannot find
   is worse than one they can see is not ready yet, and the message under it
   names what to add and links to where.
--------------------------------------------------------------------------- */
.theme-galahardware .gh-promo {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px dashed var(--gh-line-strong, #cfd4d9);
    border-radius: 10px;
    background: var(--gh-surface, #f7f8f9);
}

.theme-galahardware .gh-promo .form-label { margin-bottom: 8px; }
.theme-galahardware .gh-promo-optional { color: var(--gh-muted, #767f89); font-weight: 400; }

.theme-galahardware .gh-promo-row { display: flex; gap: 8px; }
.theme-galahardware .gh-promo-row .form-input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.theme-galahardware .gh-promo-row .btn { flex: 0 0 auto; }

.theme-galahardware .gh-promo.is-blocked { opacity: .85; }
.theme-galahardware .gh-promo-row .form-input:disabled,
.theme-galahardware .gh-promo-row .btn:disabled { cursor: not-allowed; opacity: .55; }

.theme-galahardware .gh-promo-warning,
.theme-galahardware .gh-promo-message {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--gh-muted, #767f89);
}

.theme-galahardware .gh-promo-warning .material-icons,
.theme-galahardware .gh-promo-message .material-icons { font-size: 16px; flex: 0 0 auto; }
.theme-galahardware .gh-promo-warning a { color: var(--gh-red, #e63946); text-decoration: underline; }
.theme-galahardware .gh-promo-message.is-error { color: var(--gh-red-dark, #c1121f); }
.theme-galahardware .gh-promo-message.is-ok { color: #166855; }

/* The codes on offer, listed so the customer does not have to already know
   the word. One card per code, with Use pinned to the right. */
.theme-galahardware .gh-promo-offers {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.theme-galahardware .gh-promo-offer {
    position: relative;
    padding: 10px 76px 10px 12px;   /* right gutter reserves the Use button */
    border: 1px solid var(--gh-line, #e4e7ea);
    border-radius: 8px;
    background: #fff;
}

.theme-galahardware .gh-promo-offer-main {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.theme-galahardware .gh-promo-chip {
    display: inline-block;
    padding: 2px 8px;
    border: 1px dashed var(--gh-red, #e63946);
    border-radius: 4px;
    color: var(--gh-red, #e63946);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.theme-galahardware .gh-promo-offer-value { font-size: 14px; font-weight: 600; }

.theme-galahardware .gh-promo-offer-note,
.theme-galahardware .gh-promo-offer-terms {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--gh-muted, #767f89);
}

.theme-galahardware .gh-promo-use {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 6px 14px;
    border: 1px solid var(--gh-red, #e63946);
    border-radius: 6px;
    background: var(--gh-red, #e63946);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.theme-galahardware .gh-promo-use:hover { background: var(--gh-red-dark, #c1121f); border-color: var(--gh-red-dark, #c1121f); }
.theme-galahardware .gh-promo-use:disabled { cursor: not-allowed; opacity: .55; }

.theme-galahardware .gh-promo-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #166855;
}

.theme-galahardware .gh-promo-applied .material-icons { font-size: 18px; }

/* Cancel is a real button, not an underlined word: taking the code back off
   is an action the customer may well want, and it should look like one. */
.theme-galahardware .gh-promo-remove {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 5px 12px;
    border: 1px solid var(--gh-red, #e63946);
    border-radius: 6px;
    background: #fff;
    color: var(--gh-red, #e63946);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.theme-galahardware .gh-promo-remove:hover { background: var(--gh-red, #e63946); color: #fff; }

@media (max-width: 420px) {
    .theme-galahardware .gh-promo-offer { padding: 10px 12px 48px; }
    .theme-galahardware .gh-promo-use {
        top: auto;
        bottom: 10px;
        right: 12px;
        left: 12px;
        transform: none;
        width: auto;
    }
}

/* A discount is money coming off, so it reads as a credit, not another charge. */
.theme-galahardware .gh-summary-discount { color: #166855; }

/* ==========================================================================
   Home intro + "what we stock" cards — the page's single H1 and the SEO
   keyword counters (pages/home/index.php, "Intro + what we stock")
   ========================================================================== */

.theme-galahardware .gh-intro-head {
    max-width: 880px;
    margin-bottom: 26px;
}

.theme-galahardware .gh-intro-head h1 {
    font-family: var(--heading-font);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--gh-ink);
    margin: 0 0 12px;
}

.theme-galahardware .gh-intro-lead {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--gh-body);
    margin: 0;
}

.theme-galahardware .gh-topics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1100px) { .theme-galahardware .gh-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .theme-galahardware .gh-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 460px)  { .theme-galahardware .gh-topics { grid-template-columns: 1fr; } }

.theme-galahardware .gh-topics a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--gh-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.theme-galahardware .gh-topics a:hover {
    border-color: var(--gh-line-strong);
    box-shadow: 0 6px 18px rgba(29, 33, 37, .08);
}

.theme-galahardware .gh-topics img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: var(--gh-surface);
}

.theme-galahardware .gh-topics-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.theme-galahardware .gh-topics h2,
.theme-galahardware .gh-topics h3 {
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--gh-ink);
    margin: 0 0 6px;
}

.theme-galahardware .gh-topics p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--gh-body);
    margin: 0 0 12px;
    flex: 1;
}

.theme-galahardware .gh-topics-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gh-red);
}

.theme-galahardware .gh-topics-more .material-icons { font-size: 17px; }
.theme-galahardware .gh-topics a:hover .gh-topics-more { color: var(--gh-red-dark); }

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .gh-topics a { transition: none; }
}

/* ==========================================================================
   SEO landing pages (data/landings/, partials/seo-landing.php) and the links
   into them from the category listing and the About page
   ========================================================================== */

.theme-galahardware .gh-lp-crumbs { padding-top: 18px; }

.theme-galahardware .gh-lp-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 880px) { .theme-galahardware .gh-lp-hero { grid-template-columns: 1fr; gap: 22px; } }

.theme-galahardware .gh-lp-hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--gh-ink);
    margin: 0 0 14px;
}

.theme-galahardware .gh-lp-lead {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gh-body);
    margin: 0 0 22px;
}

.theme-galahardware .gh-lp-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.theme-galahardware .gh-lp-hero-shot img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: var(--gh-surface);
}

.theme-galahardware .gh-lp-types {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 1024px) { .theme-galahardware .gh-lp-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .theme-galahardware .gh-lp-types { grid-template-columns: 1fr; } }

.theme-galahardware .gh-lp-types li {
    background: #fff;
    border: 1px solid var(--gh-line);
    border-top: 3px solid var(--gh-red);
    border-radius: 8px;
    padding: 18px;
}

.theme-galahardware .gh-lp-types h3 {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--gh-ink);
    margin: 0 0 6px;
}

.theme-galahardware .gh-lp-types p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--gh-body); }

.theme-galahardware .gh-lp-page .gh-block-head h2 {
    font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.2;
    white-space: normal;
}

.theme-galahardware .gh-lp-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gh-body);
    margin: -8px 0 18px;
}

.theme-galahardware .gh-lp-section-lead {
    max-width: 760px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gh-body);
    margin: -6px 0 20px;
}

/* Selection guides: numbered H3 steps */
.theme-galahardware .gh-lp-guide {
    list-style: none;
    counter-reset: gh-guide;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
}

@media (max-width: 760px) { .theme-galahardware .gh-lp-guide { grid-template-columns: 1fr; } }

.theme-galahardware .gh-lp-guide li {
    counter-increment: gh-guide;
    position: relative;
    padding-left: 44px;
}

.theme-galahardware .gh-lp-guide li::before {
    content: counter(gh-guide);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gh-red-wash);
    color: var(--gh-red-dark);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-galahardware .gh-lp-guide h3,
.theme-galahardware .gh-lp-why strong {
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--gh-ink);
    margin: 4px 0 6px;
    display: block;
}

.theme-galahardware .gh-lp-guide p,
.theme-galahardware .gh-lp-why p { font-size: 14px; line-height: 1.65; margin: 0; color: var(--gh-body); }

/* Brands: logo tile + name + one line */
.theme-galahardware .gh-lp-brandgrid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.theme-galahardware .gh-lp-brandgrid li {
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.theme-galahardware .gh-lp-brandmark {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.theme-galahardware .gh-lp-brandmark img { max-height: 48px; max-width: 100%; object-fit: contain; }

.theme-galahardware .gh-lp-brandmark span {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--gh-ink-2);
    text-transform: uppercase;
}

.theme-galahardware .gh-lp-brandgrid strong { font-size: 14px; color: var(--gh-ink); }
.theme-galahardware .gh-lp-brandgrid small { font-size: 12.5px; line-height: 1.5; color: var(--gh-muted); }

/* Why Gala Hardware */
.theme-galahardware .gh-lp-why {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
}

@media (max-width: 760px) { .theme-galahardware .gh-lp-why { grid-template-columns: 1fr; } }

.theme-galahardware .gh-lp-why li { display: flex; gap: 12px; align-items: flex-start; }
.theme-galahardware .gh-lp-why .material-icons { color: var(--gh-green); font-size: 22px; margin-top: 3px; }

.theme-galahardware .gh-lp-prose { max-width: 820px; }
.theme-galahardware .gh-lp-prose p { font-size: 15px; line-height: 1.75; color: var(--gh-body); margin: 0 0 14px; }

.theme-galahardware .gh-lp-types a,
.theme-galahardware .gh-lp-guide a,
.theme-galahardware .gh-lp-why a,
.theme-galahardware .gh-lp-prose a,
.theme-galahardware .gh-lp-hero-copy p a,
.theme-galahardware .gh-lp-brandgrid small a,
.theme-galahardware .gh-lp-section-lead a,
.theme-galahardware .gh-faq a {
    color: var(--gh-red-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.theme-galahardware .gh-lp-products { margin-top: 28px; scroll-margin-top: 120px; }
.theme-galahardware .gh-lp-products .gh-block-head { align-items: center; margin-bottom: 12px; }

/* Showroom: name, address, phone, hours, map */
.theme-galahardware .gh-lp-showroom {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: stretch;
    scroll-margin-top: 120px;
}

@media (max-width: 880px) { .theme-galahardware .gh-lp-showroom { grid-template-columns: 1fr; } }

.theme-galahardware .gh-lp-showroom h2 {
    font-family: var(--heading-font);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    letter-spacing: -0.028em;
    color: var(--gh-ink);
    margin: 0 0 8px;
}

.theme-galahardware .gh-lp-showroom-copy > p { color: var(--gh-body); line-height: 1.7; margin: 0 0 14px; }

.theme-galahardware .gh-lp-nap { margin: 0 0 18px; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 14px; }
.theme-galahardware .gh-lp-nap dt { font-weight: 700; color: var(--gh-muted); }
.theme-galahardware .gh-lp-nap dd { margin: 0; color: var(--gh-ink); line-height: 1.55; }
.theme-galahardware .gh-lp-nap a { color: var(--gh-ink); font-weight: 700; }
.theme-galahardware .gh-lp-hours { display: block; }

@media (max-width: 480px) { .theme-galahardware .gh-lp-nap { grid-template-columns: 1fr; gap: 2px; } .theme-galahardware .gh-lp-nap dd { margin-bottom: 8px; } }

.theme-galahardware .gh-lp-map {
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--gh-surface-2);
}

.theme-galahardware .gh-lp-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Contextual links (Related collections) */
.theme-galahardware .gh-lp-links {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-galahardware .gh-lp-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--gh-line-strong);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-ink);
    text-decoration: none;
}

.theme-galahardware .gh-lp-links a:hover { border-color: var(--gh-red); color: var(--gh-red); }
.theme-galahardware .gh-lp-links .material-icons { font-size: 16px; }

.theme-galahardware .gh-lp-related {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 880px) { .theme-galahardware .gh-lp-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.theme-galahardware .gh-lp-related a {
    display: block;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    overflow: hidden;
    color: var(--gh-ink);
    text-decoration: none;
    font-weight: 700;
}

.theme-galahardware .gh-lp-related a:hover { border-color: var(--gh-line-strong); color: var(--gh-red); }

.theme-galahardware .gh-lp-related img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--gh-surface);
}

.theme-galahardware .gh-lp-related a > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 14px;
    font-size: 14px;
}

.theme-galahardware .gh-lp-related .material-icons { font-size: 17px; }

.theme-galahardware .gh-shop-guide {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--gh-body);
}

.theme-galahardware .gh-shop-guide a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--gh-red);
}

.theme-galahardware .gh-shop-guide .material-icons { font-size: 16px; }

.theme-galahardware .product-category-card h3 a { color: inherit; text-decoration: none; }
.theme-galahardware .product-category-card h3 a:hover { color: var(--gh-red); }

/* Header: Shop dropdown (the SEO collections; partials/header.php) */
.theme-galahardware .gh-catitem-sub { position: relative; }
.theme-galahardware .gh-catitem-sub > .gh-catlink { display: inline-flex; align-items: center; gap: 2px; }
.theme-galahardware .gh-catitem-sub > .gh-catlink .material-icons { font-size: 18px; }
.theme-galahardware .gh-catsub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    min-width: 240px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--gh-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(29, 33, 37, 0.12);
}
.theme-galahardware .gh-catitem-sub:hover > .gh-catsub,
.theme-galahardware .gh-catitem-sub:focus-within > .gh-catsub { display: block; }
.theme-galahardware .gh-catsub a {
    display: block;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-ink);
    text-decoration: none;
    white-space: nowrap;
}
.theme-galahardware .gh-catsub a:hover { background: var(--gh-surface); color: var(--gh-red); }

/* Home: heading over the collection cards */
.theme-galahardware .gh-topics-title {
    font-family: var(--heading-font);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--gh-ink);
    margin: 28px 0 16px;
}
.theme-galahardware .gh-lp-showroom h2 { line-height: 1.2; }
.theme-galahardware .gh-contact-map { margin-top: 36px; }
.theme-galahardware .gh-pdp-crumbs { padding: 4px 0 14px; }
.theme-galahardware .gh-pdp-crumbs .current { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   Category guide (partials/category-guide.php, data/category-guides.php):
   the intro sits in .gh-shop-head under the h1, the FAQs below the grid.
   The FAQ rows follow .gh-faq; gh-accordion.js adds .gh-open via the
   data-gh-accordion wrapper in pages/product/listing.php.
   -------------------------------------------------------------------------- */
.theme-galahardware .category-guide--intro { margin-top: 12px; max-width: 78ch; }
.theme-galahardware .category-guide__intro,
.theme-galahardware .category-guide__body {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: var(--gh-body);
}
.theme-galahardware .category-guide__intro { color: var(--gh-ink-2); }
.theme-galahardware .category-guide__body { margin-top: 8px; font-size: 14.5px; }

.theme-galahardware .gh-guide-faqs { margin-top: 44px; padding-top: 28px; border-top: 2px solid var(--gh-ink); }
.theme-galahardware .category-guide--faqs { max-width: 880px; }
.theme-galahardware .category-guide__title {
    margin: 0 0 16px;
    font-family: var(--heading-font);
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--gh-ink);
}

.theme-galahardware .category-guide__faq {
    border: 1px solid var(--gh-line);
    border-bottom-width: 0;
    background: #ffffff;
}
.theme-galahardware .category-guide__faq:first-of-type { border-radius: 8px 8px 0 0; }
.theme-galahardware .category-guide__faq:last-of-type { border-bottom-width: 1px; border-radius: 0 0 8px 8px; }
.theme-galahardware .category-guide__faq:only-of-type { border-radius: 8px; }

.theme-galahardware .category-guide__faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--gh-ink);
    transition: color .18s ease, background-color .18s ease;
}
.theme-galahardware .category-guide__faq summary::-webkit-details-marker { display: none; }
.theme-galahardware .category-guide__faq summary::after {
    content: "add";
    font-family: 'Material Icons';
    font-size: 20px;
    line-height: 1;
    color: var(--gh-red);
    flex: none;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1);
}
.theme-galahardware .category-guide__faq summary:hover { background: var(--gh-surface); color: var(--gh-red); }
.theme-galahardware .category-guide__faq summary:focus-visible { outline: 2px solid var(--gh-red); outline-offset: -2px; }
.theme-galahardware .category-guide__faq[open] summary,
.theme-galahardware .category-guide__faq.gh-open summary {
    background: var(--gh-surface);
    border-bottom: 1px solid var(--gh-line);
    color: var(--gh-red);
}
.theme-galahardware .category-guide__faq.gh-open summary::after { transform: rotate(135deg); }
.theme-galahardware .category-guide__faq p {
    margin: 0;
    padding: 15px 20px 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--gh-body);
}

@media (max-width: 640px) {
    .theme-galahardware .category-guide__intro { font-size: 14.5px; }
    .theme-galahardware .gh-guide-faqs { margin-top: 32px; padding-top: 22px; }
    .theme-galahardware .category-guide__faq summary { padding: 14px 16px; font-size: 14.5px; }
    .theme-galahardware .category-guide__faq p { padding: 13px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-galahardware .category-guide__faq summary,
    .theme-galahardware .category-guide__faq summary::after { transition: none; }
}
