/* ProSafetyNZ staging design layer — Bootstrap 5.3.8 */
:root{
  --site-primary:#0b5d7a;
  --site-primary-dark:#08485f;
  --site-dark:#123746;
  --site-accent:#e7a93b;
  --site-soft:#f4f8fa;
  --site-border:#dce8ed;
}
body{color:#20323a;background:#fff;}
a{color:#086b98}
.site-nav{background:var(--site-dark);box-shadow:0 2px 12px rgba(0,0,0,.12)}
.site-nav .navbar-brand{letter-spacing:.2px}
.site-nav .nav-link{color:rgba(255,255,255,.9)}
.site-nav .nav-link:hover,.site-nav .nav-link:focus{color:#fff}
.catalogue-menu{max-height:70vh;overflow-y:auto;min-width:18rem}
.hero{background:linear-gradient(135deg,#eef7fa 0%,#fff 62%);border-bottom:1px solid #e5eef2}
.hero h1,.section-heading,.section-hero h1{color:var(--site-dark)}
.hero-badge{background:#e8f3f7;color:var(--site-primary)}
.hero-panel{border:1px solid rgba(11,93,122,.08)}
.stat-number{font-size:1.7rem;font-weight:700;color:var(--site-primary-dark)}
.catalogue-tile>div,.section-card>div{background:#f6f9fa;border:1px solid transparent;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.catalogue-tile:hover>div,.catalogue-tile:focus>div,.section-card:hover>div,.section-card:focus>div{transform:translateY(-2px);box-shadow:0 .75rem 1.5rem rgba(16,42,54,.10);border-color:var(--site-border)}
.tile-kicker{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--site-primary)}
.section-hero{background:#f8fbfc;border-bottom:1px solid #edf2f4;margin-bottom:2rem}
.product-card{scroll-margin-top:6rem}
.product-image-wrap{position:relative;background:#fff;min-height:210px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #edf1f3}
.product-image{aspect-ratio:1/1;object-fit:contain;padding:1rem;max-height:300px}
.product-badge{position:absolute;top:.75rem;right:.75rem;z-index:2}
.product-labels{display:flex;flex-wrap:wrap;gap:.35rem}
.product-badge.product-labels{top:.75rem;left:.75rem;right:auto;max-width:calc(100% - 1.5rem)}
.product-labels .text-bg-warning{color:#3c2b00!important;background:#ffdf85!important}
.product-description{min-height:3.5rem}
.product-card .card{overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.product-card .card:hover{box-shadow:0 .75rem 1.5rem rgba(16,42,54,.12)!important}
.site-footer{background:#f7fafb;color:#40545d}
.skip-link{position:absolute;left:1rem;top:1rem;z-index:2000;padding:.5rem 1rem;background:#fff;color:#000;border-radius:.25rem}
.page-intro{max-width:850px}
.search-box{background:var(--site-soft);border:1px solid var(--site-border);border-radius:1rem}
.search-box .form-label{font-weight:600;color:var(--site-dark)}
.search-box .form-control,.search-box .form-select,.search-box .input-group-text{border-color:#cbdce3}
.search-box .form-control:focus,.search-box .form-select:focus{border-color:var(--site-primary);box-shadow:0 0 0 .2rem rgba(11,93,122,.14)}
.catalogue-pagination{margin:1.5rem 0}
.catalogue-pagination .page-link{color:var(--site-primary-dark);border-color:var(--site-border);border-radius:.4rem}
.catalogue-pagination .page-item.active .page-link{color:#fff;background:var(--site-primary);border-color:var(--site-primary)}
.catalogue-pagination .page-item.disabled .page-link{color:#84939a}
.product-title-link{color:inherit;text-decoration:none}
.product-title-link:hover,.product-title-link:focus{text-decoration:underline;color:var(--site-primary-dark)}
.product-detail-image{min-height:320px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--site-border);border-radius:.8rem;padding:1.25rem}
.product-detail-image img{max-height:520px;width:100%;object-fit:contain}
.product-purchase-panel{background:var(--site-soft);border:1px solid var(--site-border);border-radius:.8rem}
.product-purchase-option+.product-purchase-option{border-top:1px solid var(--site-border)}
.product-detail-copy{line-height:1.7}
.btn-primary{--bs-btn-bg:var(--site-primary);--bs-btn-border-color:var(--site-primary);--bs-btn-hover-bg:var(--site-primary-dark);--bs-btn-hover-border-color:var(--site-primary-dark)}
@media(max-width:575.98px){
  .hero{padding-top:2.5rem!important;padding-bottom:2.5rem!important}
  .product-image-wrap{min-height:170px}
  .product-image{max-height:230px}
}

/* V8 product information */
.product-card .modal-body{line-height:1.6}.product-card .btn-outline-secondary{--bs-btn-border-color:#cfd4da}

/* Keep the primary cart actions aligned across category-card rows, with any
   refill action in a consistent second row beneath them. */
.product-card-purchase{display:flex;flex-direction:column}
.product-main-purchase{min-height:8rem;display:flex;flex-direction:column}
.product-primary-action{margin-top:auto}
.product-refill-area{min-height:5.5rem;margin-top:.75rem;padding-top:.65rem;border-top:1px solid var(--site-border)}

/* Keep the paired supply cards in two equal columns above the phone breakpoint. */
@media (min-width: 576px) {
  .row.row-cols-xl-4:has(> .col [id="options-SafetyPinsGroup"], > .col [id="productImageModal-HeileFMBc25"], > .col [id="options-burn-gel-group"]) > .col {
    flex: 0 0 auto;
    width: 50%;
  }
}
