﻿/* =========================================================
   Products Sub Menu Page
   Primary Color: #f7b901
   Secondary Color: #0e5aa4
========================================================= */

.products-sub-menu {
    padding: 45px 0 55px;
}


/* =========================================================
   Product Category Header
========================================================= */

.products-sub-menu-head {
    width: 100%;
    max-width: 940px;
    margin-bottom: 30px;
}

.products-sub-menu-head > span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 5px 14px;
    border: 1px solid rgba(247, 185, 1, 0.42);
    border-radius: 999px;
    background: #fffaf0;
    color: #0e5aa4;
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.products-sub-menu-head h1 {
    position: relative;
    margin: 0 0 13px;
    padding-left: 16px;
    color: #14243b;
    font-size: 2rem;
    line-height: 42px;
    font-weight: 800;
}

.products-sub-menu-head h1::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: #f7b901;
}

.products-sub-menu-head p {
    max-width: 900px;
    margin: 0;
    color: #52677f;
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   Category Grid
========================================================= */

.products-sub-menu-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 22px 26px;
}


/* =========================================================
   Primary Category Item
========================================================= */

.product-menu-list-item {
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #dce7f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(14, 90, 164, 0.08);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-menu-list-item:hover {
    border-color: #f7b901;
    box-shadow: 0 18px 42px rgba(14, 90, 164, 0.14);
    transform: translateY(-3px);
}


/* =========================================================
   Compact Category Without Children
========================================================= */

.product-menu-list-item.no-child {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.product-menu-list-item.no-child:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}


/* =========================================================
   Primary Category Title
========================================================= */

.product-menu-list-title {
    position: relative;
    display: block;
    width: 100%;
    padding-left: 15px;
    color: #14243b;
    font-size: 1.05rem;
    line-height: 28px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.product-menu-list-title::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f7b901;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.product-menu-list-title:hover {
    color: #0e5aa4;
}

.product-menu-list-title:hover::before {
    transform: scale(1.25);
}


/* =========================================================
   Primary Category Without Children
========================================================= */

.product-menu-list-item.no-child .product-menu-list-title {
    min-height: 46px;
    padding: 11px 16px 11px 30px;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    background: #f7faff;
    color: #1f2d3d;
    font-size: 0.98rem;
    line-height: 24px;
    font-weight: 500;
    box-shadow: 0 10px 24px rgba(14, 90, 164, 0.06);
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-menu-list-item.no-child .product-menu-list-title::before {
    top: 21px;
    left: 16px;
}

.product-menu-list-item.no-child .product-menu-list-title:hover {
    border-color: transparent;
    background: linear-gradient(
        135deg,
        #0e5aa4 0%,
        #2879c4 100%
    );
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(14, 90, 164, 0.20);
    transform: translateY(-2px);
}

.product-menu-list-item.no-child .product-menu-list-title:hover::before {
    background: #f7b901;
}


/* =========================================================
   Secondary Categories
========================================================= */

.product-menu-list-child {
    width: 100%;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px dashed #dce7f3;
}

.product-menu-list-child > li {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
}

.product-menu-list-child > li:last-child {
    margin-bottom: 0;
}

.product-menu-list-child > li > a {
    display: block;
    color: #44566c;
    font-size: 0.92rem;
    line-height: 23px;
    text-decoration: none;
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.product-menu-list-child > li > a span {
    display: inline-block;
    margin-right: 5px;
    color: #0e5aa4;
    font-weight: 700;
    transition: color 0.25s ease;
}

.product-menu-list-child > li > a:hover {
    padding-left: 4px;
    color: #f7b901;
}

.product-menu-list-child > li > a:hover span {
    color: #f7b901;
}


/* =========================================================
   Secondary Category With Children
========================================================= */

.product-menu-list-child > li.has-child > a {
    color: #1f2937;
    font-weight: 600;
}

.product-menu-list-child > li.has-child > a:hover {
    color: #0e5aa4;
}


/* =========================================================
   Tertiary Categories
========================================================= */

.product-menu-list-grandchild {
    margin-top: 6px;
    padding-left: 15px;
}

.product-menu-list-grandchild > li {
    margin-bottom: 5px;
}

.product-menu-list-grandchild > li:last-child {
    margin-bottom: 0;
}

.product-menu-list-grandchild > li > a {
    display: block;
    color: #667085;
    font-size: 0.84rem;
    line-height: 21px;
    text-decoration: none;
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.product-menu-list-grandchild > li > a span {
    display: inline-block;
    margin-right: 5px;
    color: #8ca7c2;
    transition: color 0.25s ease;
}

.product-menu-list-grandchild > li > a:hover {
    padding-left: 4px;
    color: #0e5aa4;
}

.product-menu-list-grandchild > li > a:hover span {
    color: #f7b901;
}


/* =========================================================
   Recommended Manufacturers
========================================================= */

.products-list-manufacturers {
    margin-bottom: 60px;
    padding: 30px 32px 34px;
    border: 1px solid #dce7f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(14, 90, 164, 0.08);
}

.products-list-manufacturers-head {
    width: 100%;
    max-width: 900px;
    margin-bottom: 24px;
}

.products-list-manufacturers-head > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border: 1px solid rgba(247, 185, 1, 0.42);
    border-radius: 999px;
    background: #fffaf0;
    color: #0e5aa4;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.products-list-manufacturers-head h2 {
    position: relative;
    margin: 0 0 10px;
    padding-left: 16px;
    color: #14243b;
    font-size: 1.35rem;
    line-height: 34px;
    font-weight: 800;
}

.products-list-manufacturers-head h2::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 4px;
    height: 17px;
    border-radius: 4px;
    background: #f7b901;
}

.products-list-manufacturers-head p {
    margin: 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   Manufacturer Grid
========================================================= */

.products-list-manufacturers-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.products-list-manufacturers-list a {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    border: 1px solid #dce7f3;
    border-radius: 12px;
    background: #f7faff;
    box-shadow: 0 6px 16px rgba(14, 90, 164, 0.03);
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.products-list-manufacturers-list a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #f7b901 0%,
        #0e5aa4 100%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
}

.products-list-manufacturers-list a:hover {
    border-color: rgba(247, 185, 1, 0.65);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(14, 90, 164, 0.14);
    transform: translateY(-3px);
}

.products-list-manufacturers-list a:hover::before {
    opacity: 1;
}

.products-list-manufacturers-list a img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.products-list-manufacturers-list a:hover img {
    transform: scale(1.05);
}


/* =========================================================
   Product Category Sourcing CTA
========================================================= */

.product-category-cta {
    width: 100%;
    padding: 0 0 72px;
}

.product-category-cta-inner {
    position: relative;
    width: 100%;
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 46px;
    padding: 42px 48px;
    overflow: hidden;
    border: 1px solid #dce7f3;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #f7faff 0%,
        #ffffff 56%,
        #fffaf0 100%
    );
    box-shadow: 0 18px 46px rgba(14, 90, 164, 0.10);
}

.product-category-cta-inner::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(
        90deg,
        #f7b901 0%,
        #f7b901 32%,
        #0e5aa4 100%
    );
}

.product-category-cta-inner::after {
    content: "";
    position: absolute;
    right: -95px;
    bottom: -130px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(14, 90, 164, 0.05);
}

.product-category-cta-text {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    max-width: 830px;
}

.product-category-cta-text > span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 13px;
    padding: 5px 14px;
    border: 1px solid rgba(247, 185, 1, 0.42);
    border-radius: 999px;
    background: #fffaf0;
    color: #0e5aa4;
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.product-category-cta-text h2 {
    margin: 0 0 14px;
    color: #101d33;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 800;
}

.product-category-cta-text p {
    margin: 0;
    color: #52677f;
    font-size: 15px;
    line-height: 1.85;
}

.product-category-cta-actions {
    position: relative;
    z-index: 2;
    flex: 0 0 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-category-cta-primary,
.product-category-cta-secondary {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    line-height: 24px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-category-cta-primary {
    border: 1px solid #f7b901;
    background: #f7b901;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(247, 185, 1, 0.25);
}

.product-category-cta-primary:hover {
    border-color: #0e5aa4;
    background: #0e5aa4;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(14, 90, 164, 0.22);
    transform: translateY(-2px);
}

.product-category-cta-secondary {
    border: 1px solid #cdddeb;
    background: #ffffff;
    color: #0e5aa4;
}

.product-category-cta-secondary:hover {
    border-color: #0e5aa4;
    background: #f3f8fd;
    color: #0e5aa4;
    box-shadow: 0 10px 22px rgba(14, 90, 164, 0.10);
    transform: translateY(-2px);
}

.product-category-cta-primary i,
.product-category-cta-secondary i {
    font-size: 16px;
}


/* =========================================================
   Mobile Layout
========================================================= */

@media (max-width: 768px) {
    .products-sub-menu {
        width: 94%;
        padding: 30px 0 38px;
    }

    .products-sub-menu-head {
        margin-bottom: 22px;
    }

    .products-sub-menu-head > span {
        min-height: 28px;
        margin-bottom: 10px;
        padding: 4px 11px;
        font-size: 10px;
        line-height: 18px;
        letter-spacing: 0.9px;
    }

    .products-sub-menu-head h1 {
        margin-bottom: 10px;
        font-size: 1.45rem;
        line-height: 34px;
    }

    .products-sub-menu-head h1::before {
        top: 8px;
        height: 18px;
    }

    .products-sub-menu-head p {
        font-size: 14px;
        line-height: 1.75;
    }

    .products-sub-menu-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-menu-list-item {
        padding: 16px 15px;
        border-radius: 12px;
    }

    .product-menu-list-item:hover {
        transform: none;
    }

    .product-menu-list-title {
        font-size: 1rem;
        line-height: 26px;
    }

    .product-menu-list-item.no-child .product-menu-list-title {
        min-height: 42px;
        padding: 9px 14px 9px 28px;
        font-size: 0.9rem;
    }

    .product-menu-list-item.no-child .product-menu-list-title::before {
        top: 18px;
        left: 14px;
    }

    .product-menu-list-item.no-child .product-menu-list-title:hover {
        transform: none;
    }

    .product-menu-list-child {
        margin-top: 10px;
        padding-top: 10px;
    }

    .product-menu-list-child > li > a {
        font-size: 0.86rem;
        line-height: 22px;
    }

    .product-menu-list-grandchild {
        padding-left: 12px;
    }

    .product-menu-list-grandchild > li > a {
        font-size: 0.8rem;
        line-height: 20px;
    }

    .products-list-manufacturers {
        width: 94%;
        margin-bottom: 42px;
        padding: 22px 16px 24px;
        border-radius: 12px;
    }

    .products-list-manufacturers-head {
        margin-bottom: 18px;
    }

    .products-list-manufacturers-head > span {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .products-list-manufacturers-head h2 {
        margin-bottom: 8px;
        font-size: 1.15rem;
        line-height: 30px;
    }

    .products-list-manufacturers-head p {
        font-size: 13px;
        line-height: 1.7;
    }

    .products-list-manufacturers-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .products-list-manufacturers-list a {
        height: 78px;
        padding: 14px;
        border-radius: 10px;
    }

    .products-list-manufacturers-list a:hover {
        transform: none;
    }

    .products-list-manufacturers-list a img {
        max-height: 44px;
    }

    .product-category-cta {
        padding: 0 0 46px;
    }

    .product-category-cta .container {
        width: 94%;
    }

    .product-category-cta-inner {
        min-height: 0;
        display: block;
        padding: 34px 20px 26px;
        border-radius: 17px;
    }

    .product-category-cta-text > span {
        min-height: 28px;
        margin-bottom: 11px;
        padding: 4px 11px;
        font-size: 10px;
        line-height: 18px;
        letter-spacing: 0.9px;
    }

    .product-category-cta-text h2 {
        margin-bottom: 12px;
        font-size: 23px;
        line-height: 1.45;
    }

    .product-category-cta-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-category-cta-actions {
        width: 100%;
        margin-top: 24px;
    }

    .product-category-cta-primary,
    .product-category-cta-secondary {
        min-height: 48px;
        padding: 11px 16px;
        font-size: 14px;
    }

    .product-category-cta-primary:hover,
    .product-category-cta-secondary:hover {
        transform: none;
    }
}