﻿/* =========================================================
   Product Category Page
   Primary Color: #f7b901
   Secondary Color: #0e5aa4
========================================================= */

.product-catalog-section {
    width: 100%;
    background: #ffffff;
}

.product-menu-box {
    width: 1360px;
    max-width: calc(100% - 40px);
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin: 0 auto;
    padding: 42px 0 68px;
    overflow: visible;
}

.product-menu-box-left,
.product-menu-box-right {
    float: none !important;
}

/* =========================================================
   Left Category Navigation
========================================================= */

.product-menu-box-left {
    position: sticky;
    top: 100px;
    z-index: 5;
    width: 306px;
    flex: 0 0 306px;
    padding: 22px 18px 18px;
    border: 1px solid #dce7f3;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(14, 90, 164, 0.08);
}

    .product-menu-box-left h2 {
        position: relative;
        margin: 0 0 8px;
        padding-left: 14px;
        color: #14243b;
        font-size: 21px;
        line-height: 32px;
        font-weight: 700;
    }

        .product-menu-box-left h2::before {
            content: "";
            position: absolute;
            top: 8px;
            left: 0;
            width: 4px;
            height: 17px;
            border-radius: 4px;
            background: #f7b901;
        }

.product-menu-intro {
    margin: 0 0 17px;
    color: #667085;
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   Category Search
========================================================= */

.product-menu-box-left-search {
    width: 100%;
    height: 42px;
    display: flex;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #dce7f3;
    border-radius: 21px;
    background: #f7faff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

    .product-menu-box-left-search:focus-within {
        border-color: #0e5aa4;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(14, 90, 164, 0.11);
    }

    .product-menu-box-left-search input {
        width: calc(100% - 44px);
        height: 42px;
        padding: 0 15px;
        border: 0;
        outline: 0;
        background: transparent;
        color: #24364b;
        font-size: 14px;
        line-height: 42px;
    }

        .product-menu-box-left-search input::placeholder {
            color: #98a2b3;
        }

    .product-menu-box-left-search button {
        width: 44px;
        height: 42px;
        flex: 0 0 44px;
        border: 0;
        background: linear-gradient(135deg, #0e5aa4 0%, #2879c4 100%);
        color: #ffffff;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.25s ease, color 0.25s ease;
    }

        .product-menu-box-left-search button:hover {
            background: #f7b901;
            color: #ffffff;
        }

/* =========================================================
   Left Category List
========================================================= */

.product-menu-box-left ul {
    width: 100%;
    max-height: 610px;
    margin: 0;
    padding: 0 5px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    list-style: none;
}

    .product-menu-box-left ul li {
        width: 100%;
        margin: 0 0 7px;
        padding: 0;
    }

        .product-menu-box-left ul li:last-child {
            margin-bottom: 0;
        }

        .product-menu-box-left ul li a {
            position: relative;
            display: block;
            width: 100%;
            min-height: 38px;
            padding: 8px 12px 8px 21px;
            overflow: hidden;
            border: 1px solid #e3eaf2;
            border-radius: 9px;
            background: #f7faff;
            color: #334155;
            font-size: 14px;
            line-height: 21px;
            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-menu-box-left ul li a::before {
                content: "";
                position: absolute;
                top: 17px;
                left: 10px;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background: #f7b901;
                transition: background-color 0.25s ease, transform 0.25s ease;
            }

            .product-menu-box-left ul li a:hover,
            .product-menu-box-left ul li a.active {
                border-color: transparent;
                background: linear-gradient(135deg, #0e5aa4 0%, #2879c4 100%);
                color: #ffffff;
                box-shadow: 0 10px 22px rgba(14, 90, 164, 0.19);
                transform: translateX(3px);
            }

                .product-menu-box-left ul li a:hover::before,
                .product-menu-box-left ul li a.active::before {
                    background: #f7b901;
                    transform: scale(1.2);
                }

    .product-menu-box-left ul::-webkit-scrollbar {
        width: 5px;
    }

    .product-menu-box-left ul::-webkit-scrollbar-track {
        border-radius: 10px;
        background: #edf5fc;
    }

    .product-menu-box-left ul::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #8fb8dc;
    }

        .product-menu-box-left ul::-webkit-scrollbar-thumb:hover {
            background: #0e5aa4;
        }

/* =========================================================
   Right Category Content
========================================================= */

.product-menu-box-right {
    flex: 1;
    min-width: 0;
}

    .product-category-section,
    .product-menu-box-right dl {
        width: 100%;
        margin: 0 0 28px;
        padding: 0;
        overflow: hidden;
        border: 1px solid #dce7f3;
        border-radius: 15px;
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(14, 90, 164, 0.06);
        scroll-margin-top: 115px;
        transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

        .product-category-section:last-child,
        .product-menu-box-right dl:last-child {
            margin-bottom: 0;
        }

        .product-category-section:hover,
        .product-menu-box-right dl:hover {
            border-color: rgba(14, 90, 164, 0.24);
            box-shadow: 0 18px 40px rgba(14, 90, 164, 0.1);
        }

        /* =========================================================
   Primary Category Title
========================================================= */

        .product-category-title,
        .product-menu-box-right dl dt {
            position: relative;
            width: 100%;
            margin: 0;
            padding: 14px 22px;
            border-bottom: 1px solid #dce6f0;
            background: linear-gradient(180deg, #f9fbfd 0%, #f3f7fb 100%);
        }

            .product-category-title a,
            .product-menu-box-right dl dt a {
                position: relative;
                display: inline-flex;
                align-items: center;
                min-height: 28px;
                padding-left: 14px;
                color: #173f58;
                font-size: 22px;
                line-height: 28px;
                font-weight: 700;
                text-decoration: none;
                transition: color 0.25s ease;
            }

                .product-category-title a::before,
                .product-menu-box-right dl dt a::before {
                    content: "";
                    position: absolute;
                    top: 5px;
                    left: 0;
                    width: 4px;
                    height: 18px;
                    border-radius: 4px;
                    background: #f7b901;
                }

                .product-category-title a::after,
                .product-menu-box-right dl dt a::after {
                    content: "\f105";
                    margin-left: 9px;
                    color: #0e5aa4;
                    font-family: FontAwesome;
                    font-size: 17px;
                    font-weight: normal;
                }

                .product-category-title a:hover,
                .product-menu-box-right dl dt a:hover {
                    color: #0e5aa4;
                }

        /* =========================================================
   Category Content
========================================================= */

        .product-category-content,
        .product-menu-box-right dl dd {
            width: 100%;
            margin: 0;
            padding: 0;
        }

/* =========================================================
   Secondary Category Rows
========================================================= */

.product-subcategory-row {
    width: 100%;
    margin: 0;
    padding: 17px 22px 16px;
    border-bottom: 1px solid #e5edf5;
    background: #ffffff;
    transition: background-color 0.25s ease;
}

    .product-subcategory-row:last-child {
        border-bottom: 0;
    }

    .product-subcategory-row:hover {
        background: #fbfdff;
    }

.product-subcategory-head {
    width: 100%;
    margin: 0 0 12px;
}

/* =========================================================
   Secondary Category Block Title
========================================================= */

.product-subcategory-name {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    max-width: 100%;
    padding: 5px 13px 5px 24px;
    border: 1px solid #d8e7f5;
    border-radius: 7px;
    background: #eef6fd;
    color: #0e5aa4;
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .product-subcategory-name::before {
        content: "";
        position: absolute;
        top: 7px;
        bottom: 7px;
        left: 10px;
        width: 4px;
        border-radius: 4px;
        background: #f7b901;
    }

    .product-subcategory-name::after {
        content: "\f105";
        margin-left: 8px;
        font-family: FontAwesome;
        font-size: 13px;
        font-weight: normal;
    }

    .product-subcategory-name:hover {
        border-color: #0e5aa4;
        background: #0e5aa4;
        color: #ffffff;
        box-shadow: 0 8px 18px rgba(14, 90, 164, 0.15);
    }

/* =========================================================
   Child Category Links
========================================================= */

.product-subcategory-body {
    width: 100%;
}

.product-subcategory-links {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    column-count: 3;
    column-gap: 42px;
}

    .product-subcategory-links li {
        position: relative;
        display: block;
        margin: 0 0 7px;
        padding: 0 0 0 14px;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
    }

        .product-subcategory-links li::before {
            content: "";
            position: absolute;
            top: 9px;
            left: 0;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #6e9ec9;
        }

        .product-subcategory-links li a {
            display: inline;
            color: #315b82;
            font-size: 14px;
            line-height: 21px;
            text-decoration: none;
            word-break: break-word;
            transition: color 0.25s ease;
        }

            .product-subcategory-links li a:hover {
                color: #f0a900;
            }

/* =========================================================
   Compatibility With Previous Menu Structure
========================================================= */

.product-menu-box-simple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 18px 22px;
}

    .product-menu-box-simple a {
        position: relative;
        min-height: 36px;
        display: flex;
        align-items: center;
        padding: 7px 12px 7px 24px;
        border: 1px solid #dce7f2;
        border-radius: 7px;
        background: #f7faff;
        color: #315b82;
        font-size: 14px;
        line-height: 20px;
        text-decoration: none;
        transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    }

        .product-menu-box-simple a::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 12px;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: #f7b901;
            transform: translateY(-50%);
        }

        .product-menu-box-simple a:hover {
            border-color: #0e5aa4;
            background: #0e5aa4;
            color: #ffffff;
        }

.product-menu-box-groups {
    display: block;
    width: 100%;
}

.product-menu-box-item {
    width: 100%;
    padding: 17px 22px 16px;
    border-bottom: 1px solid #e5edf5;
}

    .product-menu-box-item:last-child {
        border-bottom: 0;
    }

    .product-menu-box-item .group-title,
    .product-menu-box-item > a {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        margin: 0 0 12px;
        padding: 5px 13px 5px 24px;
        border: 1px solid #d8e7f5;
        border-radius: 7px;
        background: #eef6fd;
        color: #0e5aa4;
        font-size: 16px;
        line-height: 21px;
        font-weight: 700;
        text-decoration: none;
    }

        .product-menu-box-item .group-title::before,
        .product-menu-box-item > a::before {
            content: "";
            position: absolute;
            top: 7px;
            bottom: 7px;
            left: 10px;
            width: 4px;
            border-radius: 4px;
            background: #f7b901;
        }

    .product-menu-box-item > ul {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        column-count: 3;
        column-gap: 42px;
    }

        .product-menu-box-item > ul > li {
            position: relative;
            margin: 0 0 7px;
            padding-left: 14px;
            break-inside: avoid;
        }

            .product-menu-box-item > ul > li::before {
                content: "";
                position: absolute;
                top: 9px;
                left: 0;
                width: 4px;
                height: 4px;
                border-radius: 50%;
                background: #6e9ec9;
            }

            .product-menu-box-item > ul > li > a {
                color: #315b82;
                font-size: 14px;
                line-height: 21px;
                text-decoration: none;
            }

                .product-menu-box-item > ul > li > a:hover {
                    color: #f0a900;
                }

    .product-menu-box-item ul li ul.sub-list,
    .product-menu-box-item ul li ul {
        margin: 6px 0 0;
        padding: 0 0 0 10px;
        list-style: none;
    }

        .product-menu-box-item ul li ul li {
            position: relative;
            margin-bottom: 5px;
            padding-left: 11px;
        }

            .product-menu-box-item ul li ul li::before {
                content: "";
                position: absolute;
                top: 9px;
                left: 0;
                width: 3px;
                height: 3px;
                border-radius: 50%;
                background: #b0c4d8;
            }

            .product-menu-box-item ul li ul li a {
                color: #667b91;
                font-size: 13px;
                line-height: 20px;
                text-decoration: none;
            }

                .product-menu-box-item ul li ul li a:hover {
                    color: #0e5aa4;
                }

/* =========================================================
   Empty State
========================================================= */

.product-category-empty {
    padding: 30px 20px;
    color: #8a97ab;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

/* =========================================================
   Product Sourcing CTA
========================================================= */

.product-catalog-cta {
    width: 100%;
    padding: 0 0 72px;
}

.product-catalog-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 55%, #fffaf0 100%);
    box-shadow: 0 18px 46px rgba(14, 90, 164, 0.1);
}

    .product-catalog-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-catalog-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-catalog-cta-text {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
    max-width: 830px;
}

    .product-catalog-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-catalog-cta-text h2 {
        margin: 0 0 14px;
        color: #101d33;
        font-size: 30px;
        line-height: 1.4;
        font-weight: 800;
    }

    .product-catalog-cta-text p {
        margin: 0;
        color: #52677f;
        font-size: 15px;
        line-height: 1.85;
    }

.product-catalog-cta-actions {
    position: relative;
    z-index: 2;
    width: 250px;
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-catalog-cta-primary,
.product-catalog-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-catalog-cta-primary {
    border: 1px solid #f7b901;
    background: #f7b901;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(247, 185, 1, 0.25);
}

    .product-catalog-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-catalog-cta-secondary {
    border: 1px solid #cdddeb;
    background: #ffffff;
    color: #0e5aa4;
}

    .product-catalog-cta-secondary:hover {
        border-color: #0e5aa4;
        background: #f3f8fd;
        color: #0e5aa4;
        box-shadow: 0 10px 22px rgba(14, 90, 164, 0.1);
        transform: translateY(-2px);
    }

    .product-catalog-cta-primary i,
    .product-catalog-cta-secondary i {
        font-size: 16px;
    }

/* =========================================================
   Tablet Layout
========================================================= */

@media (max-width: 1180px) {
    .product-menu-box {
        gap: 22px;
    }

    .product-menu-box-left {
        width: 270px;
        flex-basis: 270px;
    }

    .product-subcategory-links,
    .product-menu-box-item > ul {
        column-count: 2;
        column-gap: 32px;
    }

    .product-menu-box-simple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   Mobile Layout
========================================================= */

@media (max-width: 768px) {
    .product-menu-box {
        width: 94%;
        max-width: none;
        display: block;
        padding: 28px 0 42px;
    }

    .product-menu-box-left,
    .product-menu-box-right {
        width: 100%;
    }

    .product-menu-box-left {
        position: static;
        margin-bottom: 18px;
        padding: 18px 15px;
        border-radius: 12px;
    }

        .product-menu-box-left h2 {
            margin-bottom: 7px;
            font-size: 19px;
            line-height: 29px;
        }

    .product-menu-intro {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.65;
    }

    .product-menu-box-left-search {
        height: 40px;
        margin-bottom: 14px;
    }

        .product-menu-box-left-search input,
        .product-menu-box-left-search button {
            height: 40px;
        }

        .product-menu-box-left-search input {
            font-size: 14px;
            line-height: 40px;
        }

    .product-menu-box-left ul {
        max-height: 230px;
    }

        .product-menu-box-left ul li {
            margin-bottom: 6px;
        }

            .product-menu-box-left ul li a {
                min-height: 36px;
                padding: 7px 10px 7px 19px;
                font-size: 14px;
                line-height: 20px;
            }

                .product-menu-box-left ul li a::before {
                    top: 15px;
                    left: 8px;
                }

                .product-menu-box-left ul li a:hover,
                .product-menu-box-left ul li a.active {
                    transform: none;
                }

    .product-category-section,
    .product-menu-box-right dl {
        margin-bottom: 18px;
        border-radius: 10px;
    }

        .product-category-title,
        .product-menu-box-right dl dt {
            padding: 13px 15px;
        }

            .product-category-title a,
            .product-menu-box-right dl dt a {
                min-height: 26px;
                padding-left: 12px;
                font-size: 19px;
                line-height: 26px;
            }

                .product-category-title a::before,
                .product-menu-box-right dl dt a::before {
                    top: 5px;
                    height: 16px;
                }

    .product-subcategory-row,
    .product-menu-box-item {
        padding: 14px 15px 13px;
    }

    .product-subcategory-head {
        margin-bottom: 10px;
    }

    .product-subcategory-name,
    .product-menu-box-item .group-title,
    .product-menu-box-item > a {
        min-height: 30px;
        margin-bottom: 10px;
        padding: 4px 11px 4px 22px;
        font-size: 15px;
        line-height: 20px;
    }

        .product-subcategory-name::before,
        .product-menu-box-item .group-title::before,
        .product-menu-box-item > a::before {
            left: 9px;
        }

    .product-subcategory-links,
    .product-menu-box-item > ul {
        column-count: 1;
        column-gap: 0;
    }

        .product-subcategory-links li,
        .product-menu-box-item > ul > li {
            margin-bottom: 6px;
        }

            .product-subcategory-links li a,
            .product-menu-box-item > ul > li > a {
                font-size: 14px;
                line-height: 21px;
            }

    .product-menu-box-simple {
        grid-template-columns: 1fr;
        margin: 14px 15px;
        gap: 8px;
    }

    .product-catalog-cta {
        padding: 0 0 46px;
    }

    .product-catalog-cta-inner {
        min-height: 0;
        display: block;
        padding: 34px 20px 26px;
        border-radius: 17px;
    }

    .product-catalog-cta-text > span {
        min-height: 28px;
        margin-bottom: 11px;
        padding: 4px 11px;
        font-size: 11px;
        line-height: 18px;
        letter-spacing: 0.9px;
    }

    .product-catalog-cta-text h2 {
        margin-bottom: 12px;
        font-size: 23px;
        line-height: 1.45;
    }

    .product-catalog-cta-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-catalog-cta-actions {
        width: 100%;
        margin-top: 24px;
    }

    .product-catalog-cta-primary,
    .product-catalog-cta-secondary {
        min-height: 48px;
        padding: 11px 16px;
        font-size: 14px;
    }

        .product-catalog-cta-primary:hover,
        .product-catalog-cta-secondary:hover {
            transform: none;
        }
}
