html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.logo {
    width: 72px;
    height: auto;
}

.brand-image {
    height: 40px;
    width: auto;
}

.helix-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.helix-header__top {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.helix-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.helix-header__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    margin-left: 1rem;
}

    .helix-header__menu .nav-item {
        display: flex;
        align-items: center;
    }

        .helix-header__menu .nav-item:last-child {
            margin-left: auto;
        }

    .helix-header__menu .nav-link {
        padding: 0.5rem 0;
        margin: 0;
        font-size: 1.5rem;
        white-space: nowrap;
    }

.helix-cart-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

    .helix-cart-link img {
        width: 60px;
        height: auto;
        display: block;
    }

   #cartCount {display: block; text-align:center; padding: 10px; margin-top: 10px;}

@media (max-width: 767.98px) {
    .helix-header__inner {
        flex-direction: column;
        align-items:normal;
        gap: 0.5rem;
    }

    .helix-header__top {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }

    .helix-brand {
        width: auto;
        margin-right: auto;
        justify-content: flex-start;
    }

        .helix-brand img {
            display: block;
        }

    .logo {
        width: 58px;
    }

    .brand-image {
        height: 34px;
    }

    .helix-header__menu {
        display: flex;
        align-items: center;
        width: 100%;
        gap: 1rem;
        padding: 0 0 0.5rem 0;
        margin-left: 0;
    }

        .helix-header__menu .nav-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }

            .helix-header__menu .nav-item:last-child {
                margin-left: auto;
                margin-right: 0;
                padding-right: 0.25rem;
            }

        .helix-header__menu .nav-link {
            font-size: 1.5rem;
            padding: 0.35rem 0;
            text-align: left;
        }

        .helix-header__menu .dropdown-menu {
            left: 0;
            right: auto;
            transform: none;
            margin-left: 0.25rem;
        }

    .helix-cart-link {
        justify-content: flex-start;
    }

    .helix-cart-link img {
        width: 40px;
    }

    #cartCount {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 28px;
        padding: 0;
        margin-top: 0;
        margin-left: 0.2rem;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero {
    color: #fff;
    background-color: #050816;
    background-image: url('/images/HomePageBanner.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
}

.hero-inner {
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 560px;
    padding: 3rem 0;
}

.hero-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2.75rem, 5vw, 5rem);
    line-height: 0.98;
    font-weight: 800;
}

    .hero-title span {
        display: block;
        margin-top: 0.5rem;
    }

.hero-subtitle {
    margin: 0 0 1.5rem;
    max-width: 520px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.hero-list {
    margin: 0 0 1.75rem;
    padding-left: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

    .hero-list li + li {
        margin-top: 0.35rem;
    }

.hero-btn {
    min-width: 190px;
}

@media (max-width: 991.98px) {
    .hero {
        background-size: cover;
        background-position: 72% center;
    }

    .hero-inner {
        min-height: 540px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        background-position: 70% center;
    }

    .hero-inner {
        min-height: 480px;
        align-items: flex-start;
    }

    .hero-copy {
        max-width: 100%;
        padding: 1.5rem 0 2rem;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-list {
        margin-bottom: 1.25rem;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
        margin-top: 300px;
    }
}

.cred-cat {
    display: block;
    font-size: 2.0rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

.credential {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    margin-top: 15px;
}

.credential span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.credential p, .credential li {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #475569;
}

.products-hero {
    margin-bottom: 2rem;
    padding: 3.5rem 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}

.products-hero__inner {
    max-width: 720px;
}

.products-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #93c5fd;
}

.products-hero h1 {
    margin-bottom: 0.75rem;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.products-hero p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.products-empty {
    padding: 2rem 0;
}

.products-empty__box {
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

    .products-empty__box h2 {
        margin-bottom: 0.5rem;
        font-size: 1.5rem;
        font-weight: 700;
        color: #0f172a;
    }

    .products-empty__box p {
        margin: 0;
        color: #64748b;
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    }

.product-card__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    padding: 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.product-card__image {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.product-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.product-card__name {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
}

.product-card__title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #475569;
}

.product-badge {
    flex-shrink: 0;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

    .product-badge.in-stock {
        background: #dcfce7;
        color: #166534;
    }

    .product-badge.out-of-stock {
        background: #fee2e2;
        color: #991b1b;
    }

.product-card__desc {
    margin-bottom: 1rem;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #475569;
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.product-meta-pill {
    min-width: 110px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.product-meta-pill__label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.product-meta-pill__value {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.product-card__price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.product-card__button {
    padding-right: 1rem;
    padding-left: 1rem;
    border-radius: 10px;
    white-space: nowrap;
}

.product-card__lab-button {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1d4ed8;
}

    .product-card__lab-button:hover {
        background: #bfdbfe;
        border-color: #60a5fa;
        color: #1e40af;
    }

@media (max-width: 991.98px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        padding: 2.5rem 1.25rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card__button {
        width: 100%;
    }

    .product-card__image-wrap {
        padding: 1rem;
    }

    .product-card__image {
        max-width: 220px;
    }

    .product-card__lab-button {
        margin-top: 5px;
    }
}