body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #333;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.heading h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.requiredFields::after {
    content: "*";
    color: red;
    margin-left: 2px;
}

.mandatory.label-style {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-style {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.control-error {
    display: block;
    color: red;
    font-size: 13px;
    margin-top: 5px;
}

.float-right {
    display: block;
    text-align: right;
    margin-top: 5px;
    font-size: 13px;
}

.theme-btn {
    background-color: #4d9ca6;
    color: white !important;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
}

.theme-btn-secondary {
    background-color: white;
    color: #4d9ca6;
    border: 2px solid #4d9ca6;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

.theme-btn:hover {
    background-color: #4d8ca6;
}

.theme-btn-secondary:hover {
    background-color: lightgrey;
}

.allowed {
    opacity: 1;
    cursor: pointer;
}

.not-allowed {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   TRUST STRIP (homepage, between shop and footer)
   ============================================ */
.fs-trust-strip {
    background: #f9f9f9;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 28px 0;
}

.fs-trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fs-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    text-align: center;
    border-right: 1px solid var(--border-gray);
}

.fs-trust-item:last-child {
    border-right: none;
}

.fs-trust-icon {
    color: var(--fs-navy);
    flex-shrink: 0;
}

.fs-trust-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--fs-navy);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .fs-trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .fs-trust-item:nth-child(2) {
        border-right: none;
    }
    .fs-trust-item:nth-child(3) {
        border-top: 1px solid var(--border-gray);
    }
}

.footer {
    background: #4d9ca6;
    color: white;
    padding: 1em;
    text-align: center;
}

.footer-link-separator {
    color: black;
    margin-left: 10px;
    margin-right: 10px;
}

a.footer-link {
    color: white;
}

a.footer-link:hover {
    color: blue;
}

a.no-underline {
    text-decoration: none;
}

div.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #888;
    margin: 0 0 6px;
    padding: 0;
}

div.breadcrumb a {
    color: #075d63;
    text-decoration: none;
}

div.breadcrumb a:hover {
    text-decoration: underline;
}

span.breadcrumb-separator {
    margin: 0 7px;
    color: #bbb;
}

div.pagination {
    background-color: lightgrey;
    border-radius: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
}

span.pagination-separator {
    margin-left: 15px;
    margin-right: 15px;
}

div.product-family-card {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.product-card {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    padding-right: 20px;
}

.legacy-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
}

.legacy-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 6px;
    width: 80%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

td {
    vertical-align: middle;
}

.right-aligned {
    text-align: right;
    padding-right: 3rem !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

aside .nav-pills .nav-link,
aside .nav-pills .nav-link:hover,
aside .nav-pills .nav-link:focus {
  color: #363232 !important;               /* dark text */
  border-radius: 0;
}
aside .nav-pills .nav-link.active,
aside .nav-pills .nav-link.active:hover,
aside .nav-pills .nav-link.active:focus {
  background-color:  #4d8ca6 !important; /* green background */
  color: white !important;               /* white text */
  border-radius: 0;
}

aside .nav-tabs .nav-link,
aside .nav-tabs .nav-link:hover,
aside .nav-tabs .nav-link:focus {
  color: #4d8ca6 !important;               /* dark text */
  border-radius: 0;
}

.table-striped-columns :nth-child(odd) {
    background-color: #eeeeee;
}

.table-striped-columns :nth-child(even) {
    box-shadow: none;
    background-color: none;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-red: #c41e3a;
    --dark-red: #9e1830;
    --dark-gray: #2D2D2D;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
    --success-green: #28a745;
    /* brand teal (nav/service surfaces) */
    --teal-primary: #075d63;
    --teal-dark: #054e53;
    /* services-surface hero gradient (SPEC: teal range only) */
    --svc-grad-start: #0a4f5e;
    --svc-grad-end: #0e6674;
    /* live-site palette */
    --fs-red: #c41e3a;
    --fs-navy: #1f3a5f;
    --fs-blue-btn: #3b6fb5;
    --fs-text: #333333;
    --fs-gray: #666666;
    --footer-bg: #3b3b3b;
    --footer-bottom-bg: #c41e3a;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.hero-decoration {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, #E85A5A 100%);
    clip-path: ellipse(80% 100% at 100% 50%);
    z-index: 1;
    opacity: 0.95;
}

.hero-container {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content {
    flex: 1;
    max-width: 480px;
    padding-right: 40px;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--medium-gray);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-red) 0%, #E85A5A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.hero-features {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dark-gray);
    margin-bottom: 6px;
}

.checkmark {
    width: 16px;
    height: 16px;
    background: var(--primary-red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    flex-shrink: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
    background: var(--dark-red);
    transform: translateX(5px);
    color: var(--white);
}

.hero-cta::after {
    content: '\2192';
    font-size: 18px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
    background: var(--dark-gray);
    padding: 20px 0;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.trust-badge:last-child {
    border-right: none;
}

.trust-badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.trust-badge-content h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    margin-top: 0;
}

.trust-badge-content p {
    font-size: 11px;
    opacity: 0.7;
    margin: 0;
}

/* ============================================
   FEATURED CATEGORIES
   ============================================ */
.featured-categories {
    padding: 50px 0;
    background: var(--light-gray);
}

.featured-categories .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-gray);
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.view-all {
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.view-all:hover {
    text-decoration: underline;
}

.view-all::after {
    content: '\203A';
    font-size: 18px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.category-image {
    height: 140px;
    background: linear-gradient(145deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-info {
    padding: 15px;
    text-align: center;
}

.category-info h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

/* ============================================
   SHOP SECTION
   ============================================ */
.shop-section {
    padding: 50px 0;
    background: var(--white);
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-content {
    display: flex;
    gap: 25px;
    padding-top: 25px;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.filter-section {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.filter-header {
    background: var(--dark-gray);
    color: var(--white);
    padding: 12px 15px;
    font-size: 13px;
    font-weight: 600;
}

.filter-content {
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13px;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-red);
    cursor: pointer;
}

.filter-checkbox span {
    flex: 1;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 13px;
    width: 80px;
}

.price-inputs input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.filter-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.filter-btn:hover {
    background: var(--dark-red);
}

.clear-filters {
    width: 100%;
    padding: 8px;
    background: transparent;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.clear-filters:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* ============================================
   PRODUCTS AREA
   ============================================ */
.products-area {
    flex: 1;
}

.products-toolbar {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.results-count {
    font-size: 13px;
    color: var(--medium-gray);
}

.results-count strong {
    color: var(--dark-gray);
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toolbar-actions label {
    font-size: 13px;
    color: var(--medium-gray);
}

.toolbar-actions select {
    padding: 6px 10px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card-new {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card-new .product-image {
    height: 160px;
    background: linear-gradient(145deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-new .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-no-image { height:180px; background:var(--light-gray); display:flex; align-items:center; justify-content:center; color:var(--medium-gray); font-size:12px; }
.product-image--sold { filter:grayscale(55%) opacity(.88); }
.product-badge.sold { background:var(--dark-gray); color:var(--white); font-size:10px; font-weight:800; letter-spacing:1.5px; }
.product-name--sold { color:var(--medium-gray); }
.product-price--sold { text-decoration:line-through; color:var(--medium-gray); }
.product-sold-note { font-size:11px; font-weight:600; color:var(--primary-red); margin-top:4px; letter-spacing:0.3px; }

.product-badge.new {
    background: var(--success-green);
    color: var(--white);
}

.product-badge.featured {
    background: var(--primary-red);
    color: var(--white);
}

.product-card-new .product-info {
    padding: 15px;
}

.product-vendor {
    font-size: 11px;
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-card-new .product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.3;
    margin-top: 0;
}

.product-card-new .product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-red);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 36px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .hero-features {
        display: inline-block;
        text-align: left;
    }

    .hero-decoration {
        width: 100%;
        height: 50%;
        bottom: 0;
        top: auto;
        clip-path: ellipse(120% 100% at 50% 100%);
    }

    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .shop-content {
        flex-direction: column;
    }

    .shop-sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .filter-btn,
    .clear-filters {
        grid-column: span 2;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-badges-grid {
        grid-template-columns: 1fr;
    }

    .trust-badge {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .shop-sidebar {
        grid-template-columns: 1fr;
    }

    .filter-btn,
    .clear-filters {
        grid-column: span 1;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-toolbar {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-cta {
        padding: 12px 20px;
        font-size: 13px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer-new {
    margin-top: 0;
}

.footer-main {
    background: var(--dark-gray);
    padding: 50px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.certification-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-list a:hover {
    color: var(--primary-red);
}

.contact-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: #1a1a1a;
    padding: 20px 0;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--primary-red);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ── Category Hero Banner ── */
.category-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    padding: 24px 16px 18px;
}
.category-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.category-hero h1 {
    font-size: 26px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 6px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.category-hero p {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0;
}

/* ── Product Family Page ── */
.pf-overview {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.pf-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.pf-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pf-toolbar h2 { font-size: 18px; font-weight: 700; color: #2D2D2D; margin: 0; }

.pf-toolbar select {
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.variant-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.variant-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.variant-image {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.variant-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.variant-info { padding: 16px 16px 8px; flex: 1; }

.variant-vendor {
    font-size: 11px;
    font-weight: 700;
    color: #075d63;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.variant-name {
    font-size: 14px;
    font-weight: 600;
    color: #2D2D2D;
    margin: 0 0 10px;
    line-height: 1.4;
}

.variant-sku { font-size: 12px; color: #888; margin-bottom: 6px; }
.variant-sku span { color: #C8102E; font-weight: 600; }

.variant-price {
    font-size: 16px;
    font-weight: 700;
    color: #C8102E;
    margin-bottom: 4px;
}

.variant-price.unavailable { color: #999; font-size: 13px; font-weight: 400; }

.variant-actions {
    padding: 12px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variant-actions form { margin: 0; }
.variant-actions .theme-btn { font-size: 13px; padding: 10px; width: 100%; }

@media (max-width: 992px) { .variant-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px)  { .variant-grid { grid-template-columns: 1fr; } }
/* ============================================
   CATEGORIES PAGE — ECOMMERCE REDESIGN
   ============================================ */

/* Quick-nav pill strip */
.cats-quicknav { background:#fff; border-bottom:1px solid var(--border-gray); position:sticky; top:0; z-index:100; box-shadow:0 2px 6px rgba(0,0,0,0.06); }
.cats-quicknav-inner { max-width:1400px; margin:0 auto; padding:10px 16px; display:flex; flex-wrap:wrap; gap:8px; }
.cats-pill { display:inline-block; padding:5px 14px; border-radius:20px; background:var(--light-gray); color:var(--dark-gray); font-size:12px; font-weight:600; text-decoration:none; border:1px solid var(--border-gray); transition:background 0.2s,color 0.2s,border-color 0.2s; white-space:nowrap; }
.cats-pill:hover { background:var(--primary-red); color:#fff; border-color:var(--primary-red); }

/* Page wrapper */
.cats-page-wrap { max-width:1400px; margin:0 auto; padding:32px 16px 60px; display:flex; flex-direction:column; gap:40px; }

/* Parent section card */
.cats-parent-section { background:#fff; border-radius:10px; box-shadow:0 2px 12px rgba(0,0,0,0.07); overflow:hidden; scroll-margin-top:70px; }
.cats-parent-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; border-bottom:1px solid var(--border-gray); background:linear-gradient(135deg,#f8f9fa 0%,#fff 100%); }
.cats-parent-header-left { display:flex; align-items:center; gap:14px; }
.cats-parent-thumb { width:60px; height:60px; border-radius:8px; background:var(--light-gray); border:1px solid var(--border-gray); overflow:hidden; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cats-parent-thumb img { width:100%; height:100%; object-fit:cover; }
.cats-parent-thumb .bi { font-size:24px; color:#bbb; }
.cats-parent-name { font-size:20px; font-weight:800; color:var(--dark-gray); margin:0 0 2px; text-transform:uppercase; letter-spacing:0.3px; }
.cats-parent-count { font-size:12px; color:var(--medium-gray); font-weight:500; }
.cats-browse-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 18px; background:var(--primary-red); color:#fff!important; font-size:13px; font-weight:600; border-radius:6px; text-decoration:none; white-space:nowrap; transition:background 0.2s; flex-shrink:0; }
.cats-browse-btn:hover { background:var(--dark-red); }

/* Subcategory grid */
.cats-sub-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; padding:24px; }
.cats-sub-card { box-shadow:0 1px 5px rgba(0,0,0,0.07); }
/* Category/Brand view toggle */
.cats-view-toggle { max-width:1400px; margin:18px auto 0; padding:0 16px; display:flex; }
.cats-view-tab { display:inline-flex; align-items:center; gap:7px; padding:9px 22px; font-size:13px; font-weight:600; text-decoration:none; color:var(--medium-gray); background:var(--white); border:1px solid var(--border-gray); transition:background 0.2s, color 0.2s; }
.cats-view-tab:first-child { border-radius:6px 0 0 6px; }
.cats-view-tab:last-child { border-radius:0 6px 6px 0; border-left:none; }
.cats-view-tab.is-active { color:var(--white); background:var(--primary-red); border-color:var(--primary-red); font-weight:700; }
.cats-view-tab:not(.is-active):hover { background:var(--light-gray); color:var(--dark-gray); }

/* Brand tiles */
.brand-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.brand-tile { display:flex; flex-direction:column; gap:10px; padding:26px 22px; background:var(--white); border:1px solid var(--border-gray); border-radius:8px; text-decoration:none; box-shadow:0 1px 5px rgba(0,0,0,0.07); transition:transform 0.2s, box-shadow 0.2s; }
.brand-tile:hover { transform:translateY(-3px); box-shadow:0 6px 18px rgba(0,0,0,0.11); }
.brand-tile-name { font-size:17px; font-weight:800; color:var(--dark-gray); letter-spacing:0.3px; }
.brand-tile-cta { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:var(--primary-red); }
@media (max-width:1200px) { .brand-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px)  { .brand-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px)  { .brand-grid { grid-template-columns:1fr; } }

.cats-more-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:18px 12px; border:1px dashed var(--border-gray); border-radius:8px; background:var(--light-gray); color:var(--dark-gray); text-decoration:none; text-align:center; transition:border-color 0.2s, background 0.2s; }
.cats-more-card:hover { border-color:var(--primary-red); background:var(--white); }
.cats-more-card .bi { color:var(--primary-red); }
.cats-more-count { font-size:20px; font-weight:800; color:var(--primary-red); }
.cats-more-label { font-size:12px; font-weight:600; }
.cats-sub-card:hover { transform:translateY(-4px); box-shadow:0 6px 18px rgba(0,0,0,0.11); }
.cats-sub-card .category-info h3 { font-size:12px; }

/* No-image placeholder */
.cats-no-img { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#e8e8e8 0%,#d8d8d8 100%); }
.cats-no-img .bi { font-size:32px; color:#bbb; }

/* Leaf category (no subcategories) */
.cats-leaf-card { display:flex; align-items:center; gap:24px; padding:24px; }
.cats-leaf-image { width:180px; height:120px; border-radius:8px; overflow:hidden; flex-shrink:0; background:var(--light-gray); }
.cats-leaf-image img { width:100%; height:100%; object-fit:cover; }
.cats-leaf-body { display:flex; flex-direction:column; gap:12px; }
.cats-leaf-desc { font-size:14px; color:var(--medium-gray); margin:0; }

/* Responsive */
@media (max-width:1200px) { .cats-sub-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:900px)  { .cats-sub-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px) {
    .cats-quicknav-inner { flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding-bottom:8px; }
    .cats-quicknav-inner::-webkit-scrollbar { display:none; }
    .cats-sub-grid { grid-template-columns:repeat(2,1fr); padding:16px; gap:12px; }
    .cats-parent-header { flex-direction:column; align-items:flex-start; gap:12px; }
    .cats-parent-name { font-size:16px; }
    .cats-leaf-card { flex-direction:column; align-items:flex-start; }
    .cats-leaf-image { width:100%; height:160px; }
}
@media (max-width:400px) { .cats-sub-grid { grid-template-columns:1fr; } }

/* ============================================
   FS HERO — red text boxes over lab photo
   ============================================ */
.fs-hero {
    position: relative;
    min-height: 420px;
    background: url('/images/landing_page_picture.jpg')
                center 30% / cover no-repeat;
    display: flex;
    align-items: center;
}

.fs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0) 100%);
}

.fs-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
    box-sizing: border-box;
}

.fs-hero-text {
    max-width: 440px;
}

.fs-hero-rb {
    display: table;
    background: var(--fs-red);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    padding: 6px 18px;
    margin: 0 0 5px;
    letter-spacing: 0.2px;
}

.fs-hero-sub {
    color: rgba(255,255,255,0.90);
    font-size: 14px;
    font-weight: 400;
    margin: 14px 0 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .fs-hero { min-height: 340px; }
    .fs-hero-rb { font-size: 24px; }
}

@media (max-width: 600px) {
    .fs-hero { min-height: 280px; }
    .fs-hero-rb { font-size: 20px; padding: 5px 14px; }
    .fs-hero-inner { padding: 40px 16px; }
}

/* ============================================
   FS LOCAL EXPERTS SECTION
   ============================================ */
.fs-experts {
    background: #fff;
    padding: 50px 0 40px;
    border-bottom: 1px solid #e0e0e0;
}

.fs-experts-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.fs-experts-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--fs-text);
    margin: 0 0 8px;
}

.fs-experts-sub {
    font-size: 16px;
    color: var(--fs-gray);
    margin: 0 0 28px;
    font-style: italic;
}

.fs-experts-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 48px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.fs-experts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fs-experts-list li {
    font-size: 13px;
    color: #444;
    line-height: 1.55;
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

.fs-experts-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: #3b82c4;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 700px) {
    .fs-experts-cols { grid-template-columns: 1fr; gap: 0; }
    .fs-experts-heading { font-size: 20px; }
}

/* ============================================
   FS CTA BAR
   ============================================ */
.fs-cta-bar {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    padding: 18px 24px;
}

.fs-cta-main {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px;
}

.fs-cta-main a {
    color: var(--fs-red);
    font-weight: 700;
    text-decoration: none;
}

.fs-cta-main a:hover {
    text-decoration: underline;
}

.fs-cta-bar .fs-cta-sub {
    font-size: 13px;
    color: var(--fs-gray);
    margin: 0;
    font-style: italic;
}

/* ============================================
   FS SERVICE CARD GRID
   ============================================ */
.fs-svc-grid {
    background: #fff;
    padding: 36px 0 48px;
}

.fs-svc-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.fs-svc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fs-svc-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    overflow: hidden;
}

.fs-svc-img {
    width: 100%;
    aspect-ratio: 570 / 321;
    overflow: hidden;
    background: #d0d0d0;
}

.fs-svc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.fs-svc-card:hover .fs-svc-img img {
    transform: scale(1.04);
}

.fs-svc-name {
    background: var(--fs-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-transform: uppercase;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.fs-svc-btn-area {
    background: #f0f0f0;
    padding: 10px 14px;
    border-top: 1px solid #ddd;
}

.fs-svc-browse {
    display: inline-block;
    background: var(--fs-blue-btn);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 3px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}

.fs-svc-browse:hover {
    background: #2d5a96;
    color: #fff;
}

@media (max-width: 900px) {
    .fs-svc-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .fs-svc-cards { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER UPDATES (match live site)
   ============================================ */
.footer-new { margin-top: 0; }

.footer-main {
    background: var(--footer-bg) !important;
    padding: 50px 0 40px;
}

.footer-container-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-img {
    height: 44px;
    display: block;
    margin-bottom: 16px;
}

.footer-brand-desc {
    color: rgba(255,255,255,0.70);
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.footer-bottom {
    background: var(--footer-bottom-bg) !important;
    padding: 14px 0;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.copyright {
    color: rgba(255,255,255,0.92) !important;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-container-new { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: span 2; }
}

@media (max-width: 600px) {
    .footer-container-new { grid-template-columns: 1fr; }
    .footer-brand-col { grid-column: span 1; }
}

/* ── Sortable column headers (portal data tables) ── */
th[aria-sort] { cursor: pointer; user-select: none; }
th[aria-sort]:focus-visible { outline: 2px solid var(--color-brand-primary, #1a6e78); outline-offset: -2px; }
th[aria-sort="ascending"]::after  { content: ' ↑'; font-size: 0.75em; }
th[aria-sort="descending"]::after { content: ' ↓'; font-size: 0.75em; }
th[aria-sort="none"]::after       { content: ' ↕'; font-size: 0.75em; opacity: 0.4; }

/* ── Product rich content bands (partials/product-rich-content) ── */
.prc-band { padding: 40px 24px; border-top: 1px solid var(--border-gray); }
.prc-band--boxed { background: var(--light-gray); }
.prc-band--framed { border-bottom: 1px solid var(--border-gray); }
.prc-inner { max-width: 1200px; margin: 0 auto; }
.prc-heading { font-size: 18px; font-weight: 700; color: var(--dark-gray); margin-bottom: 16px; }
.prc-feature-card { padding: 20px 24px; background: var(--white); border-radius: 6px; border: 1px solid var(--border-gray); height: 100%; }
.prc-feature-title { font-size: 15px; font-weight: 700; color: var(--teal-primary); margin-bottom: 8px; }
.prc-feature-desc { font-size: 13px; color: var(--medium-gray); line-height: 1.6; }
.prc-inbox-list { padding-left: 20px; column-count: 2; column-gap: 40px; font-size: 14px; color: var(--fs-text); line-height: 2; margin: 0; }
@media (max-width: 640px) { .prc-inbox-list { column-count: 1; } }
.prc-resource-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--border-gray); border-radius: 6px; text-decoration: none; color: var(--dark-gray); transition: border-color .15s; }
.prc-resource-link:hover { border-color: var(--teal-primary); }
.prc-resource-badge { flex-shrink: 0; width: 36px; height: 36px; background: var(--teal-primary); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.prc-resource-badge span { color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.prc-resource-text { min-width: 0; }
.prc-resource-title { font-size: 13px; font-weight: 600; color: var(--dark-gray); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prc-resource-label { font-size: 11px; color: var(--teal-primary); margin-top: 2px; }
