
 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 80%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #222;
    font-size: 13px;
    line-height: 1.4;
}

a {
    text-decoration: none;
}

/* SCROLL REVEAL ANIMATIONS */

.fade-in,
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

.fade-in.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

.slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

.slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(.90);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

.zoom-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

.zoom-slide {
    opacity: 0;
    transform: translateY(20px) scale(.95);
    transition:
        opacity .8s ease,
        transform .8s ease;
    will-change: opacity, transform;
}

.zoom-slide.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --------------------------------------HEADER------------------------------ */
.site-header {
    background: #fff;
    padding: 18px 5% 14px 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.logo img {
    max-width: 150px;
    width: 100%;
    height: auto;
}
.search-wrap {
    min-width: 0;
} 

.search-wrap input {
    width: 100%;
    max-width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
}
.header-search-form {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
}

.header-search-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #bfc5ce;
    border-right: 0;
    border-radius: 4px 0 0 4px;
    padding: 0 12px;
    font-size: .86rem;
}

.header-search-form button {
    height: 42px;
    border: 1px solid #1361ab;
    border-radius: 0 4px 4px 0;
    background: #1361ab;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-search-form button:hover {
    background: #0f4f8f;
    border-color: #0f4f8f;
}

.header-search-form input:focus {
    outline: none;
    border-color: #1361ab;
}

.header-search-form:focus-within {
    box-shadow: 0 0 0 2px rgba(19, 97, 171, .16);
    border-radius: 4px;
}

.header-cart-link {
    position: relative;
}

.header-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-cart-count {
    position: absolute;
    top: -9px;
    right: -11px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: #c8202f;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: flex-end;
    padding-left: 18px;
}

.header-actions a {
    color: #222;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    gap: 6px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.header-actions a i {
    font-size: 14px;
}

.header-user {
    color: #1361ab;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    gap: 6px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #e5e7eb;
    white-space: nowrap;
}

.header-user i {
    font-size: 14px;
    color: #1361ab;
}

.header-user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.header-user-trigger {
    border: 0;
    background: transparent;
    color: #1361ab;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    gap: 6px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .03em;
    cursor: pointer;
    white-space: nowrap;
    padding: 4px 0;
}

.header-user-trigger i {
    color: #1361ab;
    font-size: 13px;
}

.account-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #d9dde3;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
    z-index: 1000;
    padding: 6px 0;
}

.account-menu.is-open {
    display: block;
}

.account-menu a {
    display: block;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: 10px 14px;
    white-space: nowrap;
    text-decoration: none;
}

.account-menu a:hover {
    background: #f3f6f9;
    color: #1361ab;
}

.account-dashboard-page {
    width: min(1120px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.account-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 10px 0 22px;
}

.account-dashboard-header h1 {
    color: #202020;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 8px;
}

.account-dashboard-header p {
    color: #555;
    font-size: .92rem;
    line-height: 1.5;
    margin: 0;
}

.account-dashboard-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.account-dashboard-actions .cart-checkout-btn,
.account-dashboard-actions .secondary-link {
    width: auto;
    max-width: max-content;
    white-space: nowrap;
}

.account-summary-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #1361ab;
    margin-bottom: 28px;
}

.account-summary-strip div {
    padding: 15px 16px;
    border-right: 1px solid #1361ab;
    min-width: 0;
}

.account-summary-strip div:last-child {
    border-right: 0;
}

.account-summary-strip span {
    display: block;
    color: #1361ab;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.account-summary-strip strong {
    display: block;
    color: #202020;
    font-size: .9rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.account-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
}

.account-info-section {
    min-width: 0;
}

.account-info-section h2 {
    color: #202020;
    font-size: 1.12rem;
    line-height: 1.25;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c8202f;
}

.account-info-section dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.account-info-section dl div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
}

.account-info-section dt {
    color: #1361ab;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.account-info-section dd {
    color: #333;
    font-size: .88rem;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
}

.account-info-section address {
    color: #333;
    font-size: .9rem;
    line-height: 1.65;
    font-style: normal;
}

.account-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    background: #fff;
    border: 1px solid #d9dde3;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
    z-index: 100;
    padding: 6px 0;
}

.account-menu.is-open {
    display: block;
}

@media (max-width: 860px) {
    .account-dashboard-page {
        width: min(100vw - 32px, 1120px);
    }

    .account-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-summary-strip,
    .account-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .account-summary-strip div {
        border-right: 0;
        border-bottom: 1px solid #1361ab;
    }

    .account-summary-strip div:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .account-dashboard-page {
        width: min(100vw - 22px, 1120px);
        margin: 20px auto 36px;
    }

    .account-dashboard-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-info-section dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* NAV */
.main-nav {
    background: #1361ab;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    padding: 0 5%;
    position: relative;
    z-index: 20;
}

.mobile-nav-toggle {
    width: 100%;
    background: #1361ab;
    color: #fff;
    border: 0;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
}

.nav-list {
    list-style: none;
    display: none;
    flex-direction: column;
}

.nav-list.nav-open {
    display: flex;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: block;
    padding: 12px 14px;/*dimensions of the nav bar*/
    color: #ffffff;
    font-size: 12px;
    letter-spacing: .03em;
    font-weight: 400;
    text-transform: uppercase;
    transition: background .2s ease;
}

.nav-list > li > a:hover {
    background: #0f4d89;
}

.dropdown {
    display: none;
    list-style: none;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
    min-width: 230px;
    padding: 6px 0;
}

.dropdown a {
    display: block;
    padding: 9px 16px;
    color: #222;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
}

.dropdown a:hover {
    background: #f5f5f5;
    color: #1361ab;
}

.has-dropdown:hover .dropdown,
.nav-list li:hover .dropdown {
    display: block;
}
/*------------------------index page----------------------------*/
/* CAROUSEL */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 18px 5% 0;
    height: clamp(240px, 28vw, 340px);
    border-radius: 6px;
    background: #f3f4f6;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform .7s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide a,
.slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.slide picture img,
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.slide-left img {
    object-position: left center;
}

.slide-right img {
    object-position: right center;
}

.slide-top img {
    object-position: center top;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.62) 0%,
        rgba(0,0,0,.38) 35%,
        rgba(0,0,0,.08) 72%
    );
    z-index: 1;
}

.slide-content {
    position: absolute;
    z-index: 2;
    left: 5%;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 390px;
    color: #fff;
    opacity: 1;
    animation: none;
}

.slide-content h2 {
    font-size: clamp(1.15rem, 2vw, 2rem);
    line-height: 1.12;
    margin-bottom: 12px;
    font-weight: 700;
}

.slide-content span {
    font-weight: 600;
}

.slide-btn {
    display: inline-block;
    background: #262862;
    color: #fff;
    padding: 9px 16px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .05em;
    transition: .25s ease;
}

.slide-btn:hover {
    background: #1b1d4c;
    transform: translateY(-1px);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.12);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    color: #222;
}

.carousel-arrow.left {
    left: 12px;
}

.carousel-arrow.right {
    right: 12px;
}

/* CATEGORY SECTION */
.category-section {
    margin: 38px 5%;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.eyebrow {
    display: block;
    color: #1361ab;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.category-header h3 {
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.1;
    color: #202020;
}

.category-controls {
    display: flex;
    gap: 8px;
}

.category-nav {
    width: 34px;
    height: 34px;
    border: 1px solid #ddd;
    background: #fff;
    color: #1361ab;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    transition: .25s ease;
}

.category-nav:hover {
    background: #1361ab;
    color: #fff;
    border-color: #1361ab;
}

.category-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 58%;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 3px 10px 3px;
    scrollbar-width: thin;
}

.category-card {
    scroll-snap-align: start;
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    color: #222;
    text-decoration: none;
	border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: transform .25s ease,
                box-shadow .25s ease,
                border-color .25s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
    border-color: rgba(19,97,171,.35);
}

.category-image-wrap {
    height: clamp(90px, 10vw, 130px);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.category-image-wrap img {
    width: 100%;
    height: 100%;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform .35s ease;
}

.category-card:hover img {
    transform: scale(1.04);
}

.category-card-body {
    padding: 10px 12px 12px;
}

.category-card-body h4 {
    font-size: .75rem;
    line-height: 1.2;
    margin-bottom: 4px;
    font-weight: 600;
}

.category-card-body span {
    color: #1361ab;
    font-weight: 700;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* SSI */
@font-face {
    font-family: 'Designer';
    src: url('/fonts/designer-webfont.woff2') format('woff2'),
         url('/fonts/designer-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.ssi-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ssi-hero {
    position: relative;
    margin: 40px 5%;
    height: clamp(260px, 26vw, 340px);
    border-radius: 8px;
    overflow: hidden;
}

.ssi-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.ssi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(70,70,70,.65);
    z-index: 1;
}

.ssi-content {
    position: absolute;
    top: 24px;
    left: 28px;
    right: 28px;
    z-index: 2;
    color: #fff;
}

.ssi-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ssi-logo {
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.ssi-title-row h2 {
    font-family: 'Designer', Arial, sans-serif;
    font-size: clamp(1.4rem, 2vw, 2.4rem);
    font-weight: normal;
    line-height: 1;
    margin: 0;
    color: #fff;
}

.ssi-tagline {
    margin-top: 6px;
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.95);
}

.ssi-description {
    margin-top: 28px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: 0;
    color: #fff;
}

/* FEATURE PANELS */
.feature-panels {
    margin: 38px 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-panel {
    position: relative;
    display: block;
    height: clamp(220px, 22vw, 300px);
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
}

.feature-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
}

.feature-left img {
    object-position: left center;
}

.feature-right img {
    object-position: right center;
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: rgba(70,70,70,.70);
    transition: background .3s ease;
}

.feature-content {
    position: absolute;
    top: 30px;
    left: 35px;
    right: 35px;
    bottom: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.feature-content h3 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    color: #fff;
}

.feature-content p {
    font-size: clamp(1.35rem, 2vw, 2.3rem);
    line-height: 1.3;
    color: rgba(255,255,255,.95);
    max-width: 650px;
    font-weight: 300;
}

.feature-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0b323;
    color: #222;
    padding: 9px 15px;
    border-radius: 3px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    width: fit-content;
    transition: all .25s ease;
}

.feature-btn span {
    font-size: 10px;
    transition: transform .25s ease;
}

.feature-panel:hover .feature-btn {
    background: #ffd04a;
}

.feature-panel:hover .feature-btn span {
    transform: translateX(3px);
}

.feature-panel:hover img {
    transform: scale(1.035);
}

.feature-panel:hover .feature-overlay {
    background: rgba(45,45,45,.58);
}

/* CTA BOXES */
.cta-box-section {
    margin: 45px 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.cta-box {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px;
    color: #222;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    transition: .25s ease;
}

.cta-box:hover {
    background: #e9eef5;
    border-color: #1361ab;
    transform: translateY(-2px);
}

.cta-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1361ab;
    font-weight: 700;
}

.cta-text p {
    font-size: .82rem;
    line-height: 1.4;
    color: #444;
    margin-bottom: 12px;
}

.cta-text span {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1361ab;
    letter-spacing: .04em;
}

.cta-box i {
    font-size: 34px;
    color: #1361ab;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .cta-box-section {
        grid-template-columns: repeat(3, 1fr);
    }
}
/*-------------------------------category page--------------------------*/

/* CATEGORY PAGE */

.breadcrumb-wrap {
    font-size: 11px;
    margin-bottom: 20px;
}

.breadcrumb-wrap a {
    color: #1361ab;
}

.dewalt-badge {
    text-align: right;
    margin-bottom: 15px;
}

.dewalt-badge img {
    width: 120px;
    height: auto;
}

.category-title {
    text-align: center;
    color: #1361ab;
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 16px;
	margin-left: 25px;
	margin-right: 25px;
}

.category-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    transition: .2s ease;
    height: 100%;
}

.category-card:hover {
    border-color: #1361ab;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.category-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #222;
    text-decoration: none;
}

.category-card-image {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.category-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-card-body {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.category-card-body h3 {
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}
/*----------------------------------ITEM PAGE----------------------------------*/
.item-page {
    margin: 28px 5%;
}

.item-page-header {
    margin-bottom: 22px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
}

.breadcrumb-small {
    font-size: 11px;
    color: #666;
    margin-bottom: 8px;
}

.breadcrumb-small a {
    color: #1361ab;
}

.item-page-header h1 {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    color: #202020;
    margin-bottom: 4px;
}

.item-page-header p {
    font-size: 12px;
    color: #666;
}

.item-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: start;
}

.filter-sidebar {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    position: sticky;
    top: 15px;
}

.filter-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.filter-title-row h3 {
    font-size: 1rem;
    color: #202020;
}

.filter-title-row a {
    font-size: 11px;
    color: #1361ab;
    font-weight: 700;
    text-transform: uppercase;
}

.filter-group {
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 12px;
}

.filter-group h4 {
    font-size: .85rem;
    color: #1361ab;
    margin-bottom: 8px;
}

.filter-option {
    display: flex;
    gap: 7px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.25;
    color: #333;
    margin-bottom: 7px;
    cursor: pointer;
}

.item-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.item-card {
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.item-card-image {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-card-info h3 {
    font-size: .95rem;
    color: #202020;
    margin-bottom: 6px;
}

.item-card-info p {
    font-size: .82rem;
    color: #555;
    margin-bottom: 6px;
}

.item-card-info small {
    font-size: .72rem;
    color: #777;
}

.item-card-buy {
    text-align: right;
}

.item-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1361ab;
    margin-bottom: 10px;
}

.item-cart-form {
    display: grid;
    grid-template-columns: 40px 58px;
    gap: 8px;
    justify-content: end;
    align-items: center;
}

.item-cart-form label {
    font-size: 11px;
    font-weight: 700;
}

.item-cart-form input[type="number"] {
    width: 58px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.item-cart-form button {
    grid-column: 1 / -1;
    background: #1361ab;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.no-results {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

@media (max-width: 850px) {
    .item-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: static;
    }

    .item-card {
        grid-template-columns: 90px 1fr;
    }

    .item-card-buy {
        grid-column: 1 / -1;
        text-align: left;
    }

    .item-cart-form {
        justify-content: start;
    }
}

.item-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}

.results-count {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

.sort-products {
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    background: #fff;
}

.item-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.item-card {
    display: grid;
    grid-template-columns: 120px 1fr 185px;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 7px;
    padding: 14px;
    transition: .2s ease;
}

.item-card:hover {
    border-color: #1361ab;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    transform: translateY(-2px);
}

.item-card-image {
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-card-info h3 {
    font-size: .95rem;
    color: #202020;
    margin-bottom: 7px;
    line-height: 1.25;
}

.sku-badge {
    display: inline-block;
    background: #f3f4f6;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: .7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.item-card-info p {
    font-size: .8rem;
    color: #555;
    margin-bottom: 8px;
}

.item-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.item-specs span {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: .68rem;
    color: #444;
}

.view-details-link {
    font-size: .72rem;
    color: #1361ab;
    font-weight: 700;
    text-transform: uppercase;
}

.item-card-buy {
    text-align: right;
    padding-right: 15px;
}

.item-price {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #1361ab;
    line-height: 1;
}

.price-note {
    display: block;
    font-size: .7rem;
    color: #666;
    margin: 4px 0 12px;
}

.item-cart-form {
    display: grid;
    grid-template-columns: auto 110px;
    gap: 8px;
    justify-content: end;
    align-items: center;
}

.item-cart-form label {
    font-size: 11px;
    font-weight: 700;
}

.item-cart-form input[type="number"] {
    width: 95px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.item-cart-form button {
    grid-column: 2;
    width: 110px;
    justify-self: end;
    background: #1361ab;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.item-cart-form button:hover {
    background: #0f4d89;
}

@media (max-width: 850px) {
    .item-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-card {
        grid-template-columns: 90px 1fr;
    }

    .item-card-buy {
        grid-column: 1 / -1;
        text-align: left;
    }

    .item-cart-form {
        justify-content: start;
    }
}
.item-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    padding-bottom:12px;
    border-bottom:1px solid #e5e7eb;
}

.results-count{
    font-size:.95rem;
    font-weight:600;
    color:#555;
}

.toolbar-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.toolbar-right label{
    font-size:.9rem;
    color:#666;
}

.sort-products{
    min-width:180px;
    padding:10px 14px;
    border:1px solid #d1d5db;
    border-radius:6px;
    background:#fff;
    font-size:.9rem;
    cursor:pointer;
}

.sort-products:focus{
    outline:none;
    border-color:#1361ab;
}

@media (max-width:768px){

    .item-toolbar{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .sort-products{
        width:100%;
    }
}

.cart-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff8db;
    border: 1px solid #facc15;
    border-radius: 6px;
    padding: 12px 18px;
    margin: 0 auto 18px;
    color: #854d0e;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.cart-alert-text {
    font-size: .9rem;
    font-weight: 600;
}

.cart-alert-btn {
    display: inline-block;

    background: #1361ab;
    color: #fff;

    padding: 5px 10px;
    border-radius: 4px;

    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;

    transition: background .2s ease;
}

.cart-alert-btn:hover {
    background: #0f4d89;
}

@media (max-width: 650px) {
    .cart-alert {
        flex-direction: column;
    }
}
/* ---------------------------------CART------------------------------------- */

/* CART PAGE */
.cart-page {
    margin: 28px 5%;
}

.cart-page-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
}

.cart-page-header h1 {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    color: #202020;
    margin-bottom: 4px;
}

.cart-page-header p {
    font-size: 12px;
    color: #666;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.cart-table {
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 100px 150px 110px 80px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-row-head {
    background: #f3f4f6;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.cart-product {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
}

.cart-product-image {
    height: 70px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.cart-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-product h3 {
    font-size: .9rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.cart-product span,
.cart-product small {
    display: block;
    font-size: .72rem;
    color: #666;
    margin-top: 3px;
}

.cart-price,
.cart-line-total {
    font-weight: 700;
    color: #202020;
}

.cart-qty input {
    width: 64px;
    padding: 7px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cart-remove button,
.cart-link-btn {
    background: none;
    border: 0;
    color: #9f1239;
    font-size: .75rem;
    font-weight: 700;
    cursor: pointer;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.cart-actions > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-summary {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 18px;
    position: sticky;
    top: 15px;
}

.cart-summary h3 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: #202020;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: .85rem;
}

.summary-note {
    font-size: .75rem;
    color: #666;
    line-height: 1.4;
    margin: 14px 0;
}

.cart-primary-btn,
.cart-secondary-btn,
.cart-checkout-btn {
    display: inline-block;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.cart-primary-btn,
.cart-checkout-btn {
    background: #1361ab;
    color: #fff;
    padding: 10px 14px;
    border: 0;
}

.cart-checkout-btn {
    display: block;
    text-align: center;
    width: 100%;
}

.cart-primary-btn:hover,
.cart-checkout-btn:hover {
    background: #0f4d89;
}

.cart-secondary-btn {
    background: #fff;
    color: #1361ab;
    border: 1px solid #1361ab;
    padding: 9px 13px;
}

.cart-empty {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}

.cart-empty h3 {
    margin-bottom: 8px;
}

.cart-empty p {
    color: #666;
    margin-bottom: 16px;
}
.cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-update-small {
    background: #fff;
    color: #1361ab;
    border: 1px solid #1361ab;
    border-radius: 4px;
    padding: 7px 9px;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
}

.cart-update-small:hover {
    background: #e9eef5;
}
@media (max-width: 950px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .cart-row,
    .cart-row-head {
        grid-template-columns: 1fr;
    }

    .cart-row-head {
        display: none;
    }

    .cart-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---------------------------------------------SHIP-TO PAGE----------------------------- */
.shipto-page {
    margin: 28px 5%;
}

.willcall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 10px;
}

.willcall-option,
.shipto-card {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid #e1e5ea;
    border-radius: 6px;
    background: #fff;
    padding: 12px;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.willcall-option:hover,
.shipto-card:hover {
    border-color: #1361ab;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.willcall-option input,
.shipto-card input {
    grid-column: 1;
    margin-top: 2px;
}
.willcall-option span,
.shipto-card span {
    grid-column: 2;
    min-width: 0;
}

.willcall-option span {
    font-size: .82rem;
    font-weight: 700;
    color: #202020;
}

.shipto-search {
    margin: 14px 0;
    display: grid;
    gap: 6px;
}

.shipto-search label {
    font-size: .78rem;
    font-weight: 700;
    color: #444;
}

.shipto-search > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.shipto-search input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 9px 10px;
    font: inherit;
}

.shipto-search input:focus {
    outline: none;
    border-color: #1361ab;
}

.shipto-list {
    display: grid;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
    padding-right: 4px;
}

.shipto-card strong {
    display: block;
    font-size: .88rem;
    color: #202020;
    margin-bottom: 3px;
}

.shipto-card small {
    display: block;
    font-size: .72rem;
    color: #1361ab;
    font-weight: 700;
    margin-bottom: 4px;
}

.shipto-card em {
    display: block;
    font-style: normal;
    font-size: .78rem;
    line-height: 1.35;
    color: #555;
}
.shipto-login-note {
    background: #f3f4f6;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    margin-top: 12px;
    text-align: center;
}

.shipto-login-note h3 {
    font-size: .85rem;
    line-height: 1.25;
    font-weight: 600;
    color: #555;
    margin: 0;
}

@media (max-width: 700px) {
    .shipto-search > div {
        flex-direction: column;
        align-items: stretch;
    }

    .willcall-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------ORDER REVIEW PAGE --------------------------------------*/
.order-review-page {
    margin: 28px 5%;
}

.review-items {
    display: grid;
    gap: 10px;
}

.review-item {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 120px 100px;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: .82rem;
}

.review-item:last-child {
    border-bottom: 0;
}

.review-item strong,
.review-item span {
    display: block;
}

.review-item strong {
    color: #202020;
    line-height: 1.25;
}

.review-item span {
    font-size: .72rem;
    color: #666;
    margin-top: 3px;
}

.review-item > div:nth-child(2),
.review-item > div:nth-child(3) {
    text-align: right;
    font-weight: 700;
}

.review-address {
    font-size: .85rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 14px;
}

.review-address strong {
    color: #202020;
}

.summary-total {
    font-size: 1rem;
    color: #1361ab;
}

.checkout-warning {
    background: #fff8db;
    border: 1px solid #facc15;
    border-radius: 6px;
    color: #854d0e;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .review-item {
        grid-template-columns: 1fr;
    }

    .review-item > div:nth-child(2),
    .review-item > div:nth-child(3) {
        text-align: left;
    }
}
/* ----------------------------------------CHECKOUT PAGE ----------------------------------*/
.checkout-page {
    margin: 28px 5%;
}

.checkout-page-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
}

.checkout-page-header h1 {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    color: #202020;
    margin-bottom: 4px;
}

.checkout-page-header p {
    font-size: 12px;
    color: #666;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 16px;
}

.checkout-section {
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    padding: 18px;
}

.checkout-section h3 {
    font-size: 1rem;
    color: #202020;
    margin-bottom: 14px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.checkout-full {
    grid-column: 1 / -1;
}

.checkout-form label {
    display: grid;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #444;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 9px 10px;
    font: inherit;
    font-weight: 400;
    color: #222;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #1361ab;
}

.checkout-radio-row {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
}

.checkout-radio-row label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.checkout-radio-row input {
    width: auto;
}

.checkout-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    color: #9f1239;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.checkout-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.checkout-actions .cart-checkout-btn {
    width: auto;
    border: 0;
}

@media (max-width: 950px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ----------------------------------------LOGIN PAGE------------------------------------------ */
.login-page {
    margin: 34px 5%;
    display: flex;
    justify-content: center;
}

.login-panel {
    width: 100%;
    max-width: 430px;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.login-header {
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 14px;
}

.login-header h1 {
    font-size: 1.55rem;
    color: #202020;
    margin-bottom: 4px;
}

.login-header p {
    font-size: 12px;
    color: #666;
}

.login-form {
    display: grid;
    gap: 14px;
}

.login-form label {
    display: grid;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: #444;
}

.login-form input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 10px;
    font: inherit;
    font-weight: 400;
    color: #222;
}

.login-form input:focus {
    outline: none;
    border-color: #1361ab;
}

.login-links {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    font-size: .78rem;
    font-weight: 700;
}

.login-links a {
    color: #1361ab;
}
/*----------------------------------Contact Page---------------------------------*/
.contact-page {
    width: min(1180px, calc(100% - 40px));
    margin: 28px auto;
    padding: 0;
}

.contact-header {
    margin-bottom: 22px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.contact-locations {
    display: grid;
    gap: 14px;
}

.contact-location-card {
    display: grid;
    grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
    gap: 18px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 14px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 0;
}

.contact-sidebar {
    background: #f8fafc;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 18px;
    position: sticky;
    top: 16px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .contact-page {
        width: min(100% - 24px, 1180px);
        margin: 20px auto;
    }

    .contact-location-card {
        grid-template-columns: 1fr;
    }
}
/*--------------------------------------------REQUEST ONLINE ACCESS------------------------------------*/

.access-page-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f5f6f8;
}

.access-page {
    width: min(1120px, calc(100vw - 48px));
    margin: 30px auto 44px;
}

.access-header {
    margin-bottom: 20px;
}

.access-header h1 {
    color: #202020;
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 8px 0 6px;
}

.access-header p {
    color: #555;
    font-size: .9rem;
    line-height: 1.45;
    max-width: 720px;
}

.access-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    gap: 22px;
    align-items: start;
}

.access-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.access-page .checkout-panel {
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 22px;
    margin: 0;
}

.access-page .checkout-panel h2 {
    color: #202020;
    font-size: 1.05rem;
    line-height: 1.25;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.access-page .checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px 18px;
    align-items: start;
}

.access-page label {
    display: grid;
    gap: 6px;
    color: #333;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.access-page input,
.access-page textarea,
.access-page select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #bfc5ce;
    border-radius: 4px;
    background: #fff;
    color: #202020;
    font-size: .86rem;
    font-weight: 400;
    line-height: 1.35;
    padding: 9px 10px;
    box-shadow: none;
}

.access-page textarea {
    min-height: 118px;
    resize: vertical;
}

.access-page input:focus,
.access-page textarea:focus,
.access-page select:focus {
    outline: 2px solid rgba(19, 97, 171, .18);
    border-color: #1361ab;
}

.access-page .checkout-panel > label {
    margin-top: 16px;
}

.access-page .checkout-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 0;
    padding: 4px 0 0;
}

.access-page .cart-checkout-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    white-space: nowrap;
}

.access-page .secondary-link {
    color: #1361ab;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.access-sidebar {
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 18px;
    position: sticky;
    top: 16px;
}

.access-sidebar h2 {
    color: #202020;
    font-size: 1.02rem;
    line-height: 1.25;
    margin: 0 0 8px;
}

.access-sidebar p {
    color: #555;
    font-size: .84rem;
    line-height: 1.45;
    margin: 0;
}

.access-sidebar .contact-sidebar-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.access-sidebar .cart-checkout-btn,
.access-sidebar .secondary-link {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .access-page {
        width: min(100vw - 32px, 1120px);
        margin: 24px auto 36px;
    }

    .access-layout {
        grid-template-columns: 1fr;
    }

    .access-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .access-page {
        width: min(100vw - 22px, 1120px);
        margin: 18px auto 30px;
    }

    .access-page .checkout-panel {
        padding: 16px;
    }

    .access-page .checkout-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .access-page .checkout-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .access-page .cart-checkout-btn,
    .access-page .secondary-link {
        width: 100%;
        text-align: center;
    }
}

/*-------------------------------------SEARCH PAGE-----------------------------------------*/

.search-page-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #f5f6f8;
}

.search-page {
    width: min(1180px, calc(100vw - 48px));
    margin: 28px auto 44px;
}

.search-header {
    margin-bottom: 20px;
}

.search-header h1 {
    color: #202020;
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 8px 0 14px;
}

.search-results-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 10px;
    max-width: 720px;
}

.search-results-form input {
    min-height: 42px;
    border: 1px solid #bfc5ce;
    border-radius: 4px;
    padding: 9px 11px;
    font-size: .9rem;
}

.search-results-form button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    background: #1361ab;
    color: #fff;
    font-weight: 700;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.search-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 14px;
    color: #444;
    font-size: .86rem;
}

.search-toolbar label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 700;
}

.search-toolbar select {
    min-height: 34px;
    border: 1px solid #bfc5ce;
    border-radius: 4px;
    padding: 6px 8px;
}

.search-results-grid {
    display: grid;
    gap: 12px;
}

.search-result-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 220px;
    gap: 16px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 14px;
    align-items: center;
}

.search-result-image {
    width: 120px;
    height: 120px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-result-body {
    min-width: 0;
}

.search-result-body h2 {
    color: #202020;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 6px;
}

.search-result-sku {
    color: #666;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.search-result-body p {
    color: #555;
    font-size: .82rem;
    line-height: 1.4;
    margin: 0 0 8px;
}

.search-result-category {
    color: #1361ab;
    font-size: .78rem;
    font-weight: 700;
}

.search-result-buy {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.search-result-price {
    color: #202020;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: right;
}

.search-result-price span {
    display: block;
    color: #666;
    font-size: .74rem;
    font-weight: 600;
    margin-top: 2px;
}

.search-result-buy .item-cart-form {
    display: flex;
    align-items: end;
    gap: 8px;
}

.search-result-buy .item-cart-form label {
    display: grid;
    gap: 4px;
    color: #333;
    font-size: .72rem;
    font-weight: 700;
}

.search-result-buy .item-cart-form input {
    width: 62px;
    min-height: 34px;
    border: 1px solid #bfc5ce;
    border-radius: 4px;
    padding: 6px;
}

.search-result-buy .item-cart-form button {
    min-height: 34px;
    border: 0;
    border-radius: 4px;
    background: #1361ab;
    color: #fff;
    font-weight: 700;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

@media (max-width: 820px) {
    .search-page {
        width: min(100vw - 28px, 1180px);
    }

    .search-result-card {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .search-result-image {
        width: 96px;
        height: 96px;
    }

    .search-result-buy {
        grid-column: 1 / -1;
        justify-items: start;
    }

    .search-result-price {
        text-align: left;
    }
}

@media (max-width: 560px) {
    .search-page {
        width: min(100vw - 20px, 1180px);
        margin: 18px auto 30px;
    }

    .search-results-form {
        grid-template-columns: 1fr;
    }

    .search-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-toolbar label {
        justify-content: space-between;
    }

    .search-result-card {
        grid-template-columns: 1fr;
    }

    .search-result-image {
        width: 100%;
        height: 150px;
    }
}
/*-----------------------------------ENGINEERING PAGE----------------------------------------*/

.engineering-page {
    width: min(980px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.engineering-intro {
    text-align: left;
}

.engineering-intro h1 {
    color: #202020;
    font-size: 2rem;
    line-height: 1.15;
    margin: 10px 0 24px;
}

.engineering-logo-link {
    display: block;
    width: min(760px, 100%);
    margin: 0 auto 28px;
}

.engineering-logo-link img {
    display: block;
    width: 100%;
    height: auto;
}

.engineering-copy {
    max-width: 880px;
    margin: 0 auto;
}

.engineering-copy p {
    color: #3f3f3f;
    font-size: .95rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.engineering-copy a {
    color: #1361ab;
    font-weight: 700;
    text-decoration: none;
}

.engineering-actions {
    max-width: 880px;
    margin: 26px auto 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.engineering-actions .cart-checkout-btn {
    width: auto;
    min-width: 120px;
    max-width: max-content;
    flex: 0 0 auto;
}

.engineering-actions .secondary-link {
    width: auto;
    max-width: max-content;
    flex: 0 0 auto;
}
.engineering-actions .cart-checkout-btn {
    background: #c8202f;
    border-color: #c8202f;
    color: #fff;
}

.engineering-actions .cart-checkout-btn:hover {
    background: #a71926;
    border-color: #a71926;
}

@media (max-width: 620px) {
    .engineering-page {
        width: min(100vw - 22px, 980px);
        margin: 20px auto 34px;
    }

    .engineering-intro h1 {
        font-size: 1.55rem;
        margin-bottom: 18px;
    }

    .engineering-logo-link {
        margin-bottom: 22px;
    }

    .engineering-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .engineering-actions .cart-checkout-btn,
    .engineering-actions .secondary-link {
        width: 100%;
        text-align: center;
    }
}
.engineering-video-hero {
    position: relative;
    min-height: 430px;
    margin: 0 auto 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #202020;
}

.engineering-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.engineering-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .32);
    z-index: 1;
}

.engineering-video-copy {
    position: relative;
    z-index: 2;
    width: min(620px, 78%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.engineering-video-copy img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

@media (max-width: 700px) {
    .engineering-video-hero {
        min-height: 320px;
    }

    .engineering-video-copy {
        width: min(460px, 82%);
    }
}
.engineering-support-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 44px;
    align-items: start;
    max-width: 1080px;
    margin: 34px auto 0;
}

.engineering-support-copy h2 {
    color: #202020;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.22;
    margin: 0 0 18px;
    max-width: 800px;
    padding-bottom: 18px;
    border-bottom: 3px solid #c8202f;
}

.engineering-support-copy p {
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 15px;
}

.engineering-services-list h2 {
    color: #c8202f;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0 0 14px;
}

.engineering-services-list ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.engineering-services-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.engineering-services-list img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.engineering-services-list a {
    color: #202020;
    font-size: .86rem;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
}

.engineering-services-list a:hover {
    color: #1361ab;
}

@media (max-width: 840px) {
    .engineering-support-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 620px) {
    .engineering-support-copy h2 {
        font-size: 1.45rem;
        font-weight: 400;
    }
}

    .engineering-support-copy p {
        font-size: .94rem;
    }
}

.engineering-process-section {
    max-width: 1080px;
    margin: 42px auto 0;
    padding-top: 34px;
    border-top: 1px solid #d9dde3;
}

.engineering-process-copy {
    max-width: 980px;
    margin: 0 auto 30px;
}

.engineering-process-copy p {
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 15px;
}

.engineering-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.engineering-image-grid figure {
    margin: 0;
}

.engineering-image-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.engineering-image-grid figcaption {
    color: #666;
    font-size: .78rem;
    line-height: 1.35;
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 820px) {
    .engineering-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 560px) {
    .engineering-image-grid {
        grid-template-columns: 1fr;
    }
}
/*---------------------------------Custom Fab Page-------------------------------------------*/

.custom-fab-page {
    width: min(1120px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.custom-fab-hero {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(320px, 1.2fr);
    gap: 30px;
    align-items: center;
    margin-top: 10px;
}

.custom-fab-hero-copy h1 {
    color: #202020;
    font-size: 2.25rem;
    line-height: 1.1;
    margin: 0 0 14px;
}

.custom-fab-hero-copy p {
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 460px;
}

.custom-fab-hero-image {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.custom-fab-story {
    max-width: none;
    margin: 30px 0 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    border-top: 0;
    border-bottom: 0;
    padding: 0;
}

.custom-fab-story p {
    color: #3f3f3f;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.fab-capability-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #1361ab;
    margin: 0 0 26px;
}

.fab-capability-strip div {
    padding: 16px;
    border-right: 1px solid #1361ab;
}

.fab-capability-strip div:last-child {
    border-right: 0;
}

.fab-capability-strip span {
    display: block;
    color: #1361ab;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.fab-capability-strip strong {
    display: block;
    color: #202020;
    font-size: .92rem;
    line-height: 1.25;
}

.fab-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
}

.fab-detail {
    min-width: 0;
}

.fab-detail-wide {
    grid-column: 1 / -1;
}

.fab-detail h2 {
    color: #202020;
    font-size: 1.12rem;
    line-height: 1.25;
    margin: 0 0 14px;
}

.fab-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.fab-pill-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid #d5dbe3;
    border-radius: 999px;
    padding: 7px 12px;
    color: #333;
    background: #fff;
    font-size: .82rem;
    font-weight: 700;
}

.fab-spec-row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
}

.fab-spec-row:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.fab-spec-row strong {
    color: #1361ab;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fab-spec-row span {
    color: #3f3f3f;
    font-size: .9rem;
    line-height: 1.45;
}

.fab-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fab-equipment-grid div {
    border-left: 3px solid #1361ab;
    padding: 12px 12px 12px 14px;
    background: #f8fafc;
}

.fab-equipment-grid i {
    color: #1361ab;
    font-size: 1rem;
    margin-bottom: 8px;
}

.fab-equipment-grid span {
    display: block;
    color: #202020;
    font-size: .86rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.fab-equipment-grid small {
    display: block;
    color: #666;
    font-size: .76rem;
    line-height: 1.35;
}

.fab-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 2px solid #1361ab;
    margin-top: 34px;
    padding-top: 22px;
}

.fab-cta h2 {
    color: #202020;
    font-size: 1.2rem;
    margin: 0 0 5px;
}

.fab-cta p {
    color: #555;
    font-size: .88rem;
    line-height: 1.45;
    margin: 0;
}

.fab-cta .cart-checkout-btn {
    width: auto;
    max-width: max-content;
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .custom-fab-page {
        width: min(100vw - 32px, 1120px);
    }

    .custom-fab-hero,
    .custom-fab-story,
    .fab-detail-grid {
        grid-template-columns: 1fr;
    }

    .fab-capability-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fab-capability-strip div:nth-child(2) {
        border-right: 0;
    }

    .fab-capability-strip div:nth-child(1),
    .fab-capability-strip div:nth-child(2) {
        border-bottom: 1px solid #1361ab;
    }

    .fab-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fab-spec-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 620px) {
    .custom-fab-page {
        width: min(100vw - 22px, 1120px);
        margin: 20px auto 36px;
    }

    .custom-fab-hero-copy h1 {
        font-size: 1.65rem;
    }

    .fab-capability-strip,
    .fab-equipment-grid {
        grid-template-columns: 1fr;
    }

    .fab-capability-strip div {
        border-right: 0;
        border-bottom: 1px solid #1361ab;
    }

    .fab-capability-strip div:last-child {
        border-bottom: 0;
    }

    .fab-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
.custom-fab-video-hero {
    position: relative;
    min-height: 430px;
    margin: 12px 0 30px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 42px;
    background: #202020;
}

.custom-fab-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.custom-fab-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, .72) 0%,
        rgba(0, 0, 0, .42) 48%,
        rgba(0, 0, 0, .18) 100%
    );
    z-index: 1;
}

.custom-fab-video-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
    color: #fff;
}

.custom-fab-video-copy h1 {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.08;
    margin: 0 0 14px;
}

.custom-fab-video-copy p {
    color: #f4f4f4;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 560px;
    margin: 0;
}

@media (max-width: 700px) {
    .custom-fab-video-hero {
        min-height: 330px;
        padding: 28px 22px;
    }

    .custom-fab-video-copy h1 {
        font-size: 1.75rem;
    }

    .custom-fab-video-copy p {
        font-size: .92rem;
    }
}

.fab-capability-images {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 34px 0;
}

.fab-capability-images figure {
    margin: 0;
}

.fab-capability-images img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.fab-capability-images figcaption {
    padding-top: 10px;
}

.fab-capability-images span {
    display: block;
    color: #1361ab;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.fab-capability-images strong {
    display: block;
    color: #202020;
    font-size: .92rem;
    line-height: 1.3;
}

.fab-materials-box {
    grid-column: 1 / -1;
    background: transparent;
    color: #202020;
    padding: 0;
    margin: 8px 0 4px;
}

.fab-materials-box h2 {
    color: #202020;
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 16px;
}

.fab-materials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fab-materials-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid #1361ab;
    border-radius: 999px;
    padding: 7px 12px;
    color: #1361ab;
    background: #fff;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .fab-capability-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .fab-capability-images {
        grid-template-columns: 1fr;
    }

    .fab-materials-box {
        padding: 18px;
    }
}
/*-------------------------------------------VMI PAGE--------------------------------------------*/

.vmi-page {
    width: min(1120px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.vmi-visual-hero {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(340px, 1.2fr);
    gap: 34px;
    align-items: center;
    margin-top: 10px;
}

.vmi-visual-copy h1 {
    color: #202020;
    font-size: 2.35rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 14px;
}

.vmi-visual-copy p {
    color: #1361ab;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    max-width: 470px;
    margin: 0;
}

.vmi-visual-image {
    display: block;
    width: 100%;
    max-height: 390px;
    object-fit: contain;
}

.vmi-story {
    max-width: none;
    margin: 34px 0 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.vmi-story p {
    color: #3f3f3f;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.vmi-process-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0 0 38px;
}

.vmi-process-row article {
    border-top: 3px solid #1361ab;
    padding-top: 12px;
}

.vmi-process-row span {
    display: block;
    color: #c8202f;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.vmi-process-row h2 {
    color: #202020;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 8px;
}

.vmi-process-row p {
    color: #555;
    font-size: .86rem;
    line-height: 1.5;
    margin: 0;
}

.vmi-detail-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 44px;
    align-items: start;
    margin: 0 0 36px;
}

.vmi-detail-copy h2 {
    color: #202020;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.22;
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 3px solid #c8202f;
}

.vmi-detail-copy p {
    color: #3f3f3f;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 15px;
}

.vmi-service-list h2 {
    color: #c8202f;
    font-size: 1.2rem;
    line-height: 1.25;
    margin: 0 0 14px;
}

.vmi-service-list ul {
    list-style: none;
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
}

.vmi-service-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    color: #202020;
    font-size: .86rem;
    line-height: 1.35;
    font-weight: 600;
}

.vmi-service-list i {
    color: #1361ab;
    font-size: 1rem;
    text-align: center;
}

.vmi-benefit-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #1361ab;
    margin-bottom: 34px;
}

.vmi-benefit-band div {
    padding: 16px;
    border-right: 1px solid #1361ab;
}

.vmi-benefit-band div:last-child {
    border-right: 0;
}

.vmi-benefit-band span {
    display: block;
    color: #1361ab;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.vmi-benefit-band strong {
    display: block;
    color: #202020;
    font-size: .9rem;
    line-height: 1.3;
}

.vmi-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 2px solid #1361ab;
    padding-top: 22px;
}

.vmi-cta h2 {
    color: #202020;
    font-size: 1.2rem;
    margin: 0 0 5px;
}

.vmi-cta p {
    color: #555;
    font-size: .88rem;
    line-height: 1.45;
    margin: 0;
}

.vmi-cta .cart-checkout-btn {
    width: auto;
    max-width: max-content;
    flex: 0 0 auto;
}

@media (max-width: 880px) {
    .vmi-page {
        width: min(100vw - 32px, 1120px);
    }

    .vmi-visual-hero,
    .vmi-detail-section {
        grid-template-columns: 1fr;
    }

    .vmi-process-row,
    .vmi-benefit-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vmi-benefit-band div:nth-child(2) {
        border-right: 0;
    }

    .vmi-benefit-band div:nth-child(1),
    .vmi-benefit-band div:nth-child(2) {
        border-bottom: 1px solid #1361ab;
    }
}

@media (max-width: 620px) {
    .vmi-page {
        width: min(100vw - 22px, 1120px);
        margin: 20px auto 36px;
    }

    .vmi-visual-copy h1 {
        font-size: 1.65rem;
    }

    .vmi-process-row,
    .vmi-benefit-band {
        grid-template-columns: 1fr;
    }

    .vmi-benefit-band div {
        border-right: 0;
        border-bottom: 1px solid #1361ab;
    }

    .vmi-benefit-band div:last-child {
        border-bottom: 0;
    }

    .vmi-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
/*------------------------------------LITERATURE PAGE-----------------------------------*/
.literature-page {
    width: min(1120px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.literature-header {
    margin: 10px 0 24px;
}

.literature-header h1 {
    color: #202020;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 10px;
}

.literature-header p {
    color: #444;
    font-size: .96rem;
    line-height: 1.6;
    max-width: 760px;
    margin: 0;
}

.literature-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    border-top: 3px solid #1361ab;
    border-bottom: 1px solid #d9dde3;
    padding: 22px 0 24px;
    margin-bottom: 28px;
}
.literature-featured h2 {
    color: #202020;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px;
}

.literature-featured p {
    color: #555;
    font-size: .9rem;
    line-height: 1.5;
    margin: 0;
}

.literature-featured-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.literature-featured-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 18px;
    gap: 12px;
    align-items: center;
    color: #202020;
    background: #f8fafc;
    border: 1px solid #d9dde3;
    border-radius: 4px;
    padding: 10px;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
}

.literature-featured-item:hover {
    border-color: #1361ab;
    color: #1361ab;
}

.literature-featured-item img {
    width: 76px;
    height: 96px;
    object-fit: cover;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.literature-featured-item i {
    color: #1361ab;
}

@media (max-width: 680px) {
    .literature-featured-links {
        grid-template-columns: 1fr;
    }
}

.literature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.literature-card {
    border-top: 2px solid #d9dde3;
    padding-top: 14px;
}

.literature-card h2 {
    color: #202020;
    font-size: 1rem;
    line-height: 1.25;
    margin: 0 0 10px;
}

.literature-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.literature-card a {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    gap: 8px;
    align-items: center;
    color: #333;
    font-size: .84rem;
    line-height: 1.35;
    text-decoration: none;
}

.literature-card a:hover {
    color: #1361ab;
}

.literature-card i {
    color: #1361ab;
    font-size: .82rem;
}

@media (max-width: 880px) {
    .literature-page {
        width: min(100vw - 32px, 1120px);
    }

    .literature-featured {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .literature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 580px) {
    .literature-page {
        width: min(100vw - 22px, 1120px);
        margin: 20px auto 36px;
    }

    .literature-header h1 {
        font-size: 1.6rem;
    }

    .literature-grid {
        grid-template-columns: 1fr;
    }
}

/*-----------------------------------MY ACCOUNT-------------------------------------*/
.account-page {
    width: min(720px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.account-panel {
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    padding: 24px;
}

.account-panel h1 {
    color: #202020;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 8px 0 20px;
}

.account-form {
    display: grid;
    gap: 16px;
}

.account-form label {
    display: grid;
    gap: 6px;
    color: #333;
    font-size: .8rem;
    font-weight: 700;
}

.account-form input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #bfc5ce;
    border-radius: 4px;
    padding: 9px 10px;
    font-size: .9rem;
}

.account-form input:focus {
    outline: 2px solid rgba(19, 97, 171, .18);
    border-color: #1361ab;
}
/*-----------------------------------------COOKIE NOTICE--------------------------------*/

.cookie-notice {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d9dde3;
    border-left: 5px solid #1361ab;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
}

.cookie-notice-text strong {
    display: block;
    color: #202020;
    font-size: .95rem;
    margin-bottom: 4px;
}

.cookie-notice-text p {
    color: #444;
    font-size: .84rem;
    line-height: 1.45;
    margin: 0;
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-notice-actions a {
    color: #1361ab;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.cookie-notice-actions button {
    border: 0;
    border-radius: 4px;
    background: #1361ab;
    color: #fff;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    min-height: 38px;
    padding: 0 16px;
    white-space: nowrap;
}

.cookie-notice-actions button:hover {
    background: #0f4f8f;
}

@media (max-width: 700px) {
    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: 12px;
        grid-template-columns: 1fr;
    }

    .cookie-notice-actions {
        justify-content: space-between;
    }
}
/*-----------------------------------PRIVACY PAGE---------------------------------------*/

.privacy-page {
    width: min(920px, calc(100vw - 48px));
    margin: 30px auto 52px;
}

.privacy-header {
    margin: 10px 0 24px;
}

.privacy-header h1 {
    color: #202020;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 8px;
}

.privacy-header p {
    color: #666;
    font-size: .84rem;
    margin: 0;
}

.privacy-content {
    color: #3f3f3f;
    font-size: .95rem;
    line-height: 1.7;
}

.privacy-content h2 {
    color: #202020;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 28px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c8202f;
}

.privacy-content p {
    margin: 0 0 14px;
}

.privacy-content ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.privacy-content li {
    margin-bottom: 6px;
}

.privacy-content a {
    color: #1361ab;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 620px) {
    .privacy-page {
        width: min(100vw - 22px, 920px);
        margin: 20px auto 36px;
    }

    .privacy-header h1 {
        font-size: 1.6rem;
    }
}

/*----------------------------------TERMS PAGE--------------------------------*/
.terms-page {
    width: min(1040px, calc(100vw - 48px));
    margin: 30px auto 56px;
}

.terms-header {
    margin-bottom: 26px;
}

.terms-header h1 {
    color: #202020;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 8px 0 8px;
}

.terms-header p {
    color: #555;
    font-size: .94rem;
    line-height: 1.55;
    max-width: 760px;
}

.terms-content {
    display: grid;
    gap: 24px;
}

.terms-content section {
    border-top: 1px solid #d9dde3;
    padding-top: 20px;
}

.terms-content section:first-child {
    border-top: 0;
    padding-top: 0;
}

.terms-content h2 {
    color: #1361ab;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
}

.terms-content p {
    color: #333;
    font-size: .93rem;
    line-height: 1.62;
    margin: 0 0 10px;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.terms-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.terms-contact .cart-checkout-btn {
    width: auto;
    max-width: max-content;
}

@media (max-width: 620px) {
    .terms-page {
        width: min(100vw - 24px, 1040px);
        margin: 22px auto 42px;
    }

    .terms-header h1 {
        font-size: 1.65rem;
    }
}

/*----------------------------------------THANK YOU PAGE------------------------*/

.thank-you-page {
    width: min(920px, calc(100vw - 48px));
    margin: 34px auto 58px;
}

.thank-you-panel {
    max-width: 760px;
}

.thank-you-status {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #1361ab;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 22px 0 14px;
}

.thank-you-status i {
    font-size: 1.25rem;
}

.thank-you-panel h1 {
    color: #202020;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 10px;
}

.thank-you-intro {
    color: #555;
    font-size: .96rem;
    line-height: 1.58;
    max-width: 680px;
    margin: 0 0 24px;
}

.thank-you-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d9dde3;
    border-left: 1px solid #d9dde3;
    margin: 0 0 28px;
}

.thank-you-summary div {
    min-width: 0;
    border-right: 1px solid #d9dde3;
    border-bottom: 1px solid #d9dde3;
    padding: 15px 16px;
}

.thank-you-summary span {
    display: block;
    color: #1361ab;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
}

.thank-you-summary strong {
    display: block;
    color: #202020;
    font-size: .95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.thank-you-next {
    border-top: 2px solid #c8202f;
    padding-top: 18px;
    margin-bottom: 26px;
}

.thank-you-next h2 {
    color: #202020;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.thank-you-next ul {
    margin: 0;
    padding-left: 18px;
}

.thank-you-next li {
    color: #444;
    font-size: .92rem;
    line-height: 1.55;
    margin-bottom: 6px;
}

.thank-you-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.thank-you-actions .cart-checkout-btn {
    width: auto;
    max-width: max-content;
}

@media (max-width: 640px) {
    .thank-you-page {
        width: min(100vw - 24px, 920px);
        margin: 24px auto 44px;
    }

    .thank-you-summary {
        grid-template-columns: 1fr;
    }

    .thank-you-panel h1 {
        font-size: 1.65rem;
    }
}

/* ---------------------------------FOOTER---------------------------------- */
.site-footer {
    position: relative;
    background: #f3f4f6;
    color: #222;
    margin-top: 70px;
    padding: 60px 5%;
    border-top: 8px solid #1361ab;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.9rem;
    margin-bottom: 24px;
    color: #1361ab;
    font-weight: 700;
}

.footer-brand h4 {
    font-size: 1.75rem;
	margin-left: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
	padding-left: 5px;
}

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: #444;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color .2s ease;
}

.footer-column a:hover {
    color: #1361ab;
}

.footer-brand img {
    width: 160px;
    max-width: 100%;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1361ab;
}

/* TABLET / DESKTOP */
@media (min-width: 600px) {
    .category-carousel {
        grid-auto-columns: 42%;
    }
}

@media (min-width: 700px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
   .site-header {
    grid-template-columns: 180px minmax(260px, 1fr) minmax(260px, auto);
    column-gap: 28px;
}

    .search-wrap {
        padding: 0 20px;
    }

    .header-actions {
        justify-content: flex-end;
    }

    .mobile-nav-toggle {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 230px;
    }

    .carousel {
        height: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 2fr;
        gap: 0;
    }

    .footer-column,
    .footer-brand {
        padding: 0 35px;
    }

    .footer-column:not(:first-child),
    .footer-brand {
        border-left: 1px solid #d1d5db;
    }
}

@media (min-width: 900px) {
    .category-carousel {
        grid-auto-columns: 27%;
    }

    .feature-panels {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .feature-panel {
        height: 380px;
    }
}

@media (min-width: 1100px) {
    .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .category-carousel {
        grid-auto-columns: 16%;
    }
}

/* MOBILE FIXES */
@media (max-width: 700px) {
    .site-header {
        padding-top: 22px;
    }

    .logo img {
        max-width: 180px;
    }

    .header-actions a {
        font-size: 18px;
    }

    .header-actions a i {
        font-size: 22px;
    }

    .carousel {
        height: 380px;
        margin-left: 4%;
        margin-right: 4%;
    }

    .slide-content {
        left: 22px;
        right: 22px;
        max-width: none;
    }

    .slide-content h2 {
        font-size: clamp(1.6rem, 8vw, 2.5rem);
        line-height: 1.08;
        margin-bottom: 18px;
    }
	
	.slide picture {
       display: block;
       width: 100%;
       height: 100%;
    }

    .slide picture img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: left top;
      display: block;
    }

    .slide-btn {
        padding: 11px 18px;
        font-size: .8rem;
    }

    .ssi-hero {
        height: 520px;
        margin-left: 4%;
        margin-right: 4%;
    }

    .ssi-content {
        top: 25px;
        left: 25px;
        right: 25px;
    }

    .ssi-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ssi-logo {
        width: 110px;
    }

    .ssi-title-row h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .ssi-tagline {
        font-size: 1rem;
        line-height: 1.3;
    }

    .ssi-description {
        margin-top: 32px;
        font-size: clamp(1.25rem, 6vw, 1.7rem);
        line-height: 1.25;
        text-align: center;
    }

    .feature-panel {
        height: 420px;
    }

    .feature-content {
        left: 24px;
        right: 24px;
        top: 24px;
        bottom: 24px;
    }

    .feature-content h3 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .feature-content p {
        font-size: clamp(1.15rem, 5.5vw, 1.55rem);
        line-height: 1.25;
    }

    .feature-btn {
        padding: 11px 18px;
        font-size: .82rem;
    }

    .category-header {
        align-items: flex-start;
        flex-direction: column;
    }
	html {
    font-size: 80%;
}
}
