/* The legacy hover animation sets inline display, height and overflow. */
#chanpin1:hover > .subnav,
#chanpin1:focus-within > .subnav {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}

/* The mobile drawer manages its own nested panels. */
#chanpin1 > .subnav {
    width: 256px;
    margin-left: -128px;
}

#chanpin1 > .subnav > ul {
    padding: 4px 0;
    background: #fff;
    box-shadow: 0 5px 18px rgb(20 43 60 / 14%);
    text-align: left;
}

#chanpin1 .item {
    position: relative;
    margin: 0;
}

#chanpin1 .item > a,
#chanpin1 .child > a {
    display: block;
    padding: 2px 14px;
    text-align: left;
}

#chanpin1 .item:has(> .child) > a {
    padding-right: 30px;
}

#chanpin1 .item:has(> .child) > a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    width: 6px;
    height: 6px;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: translateY(-50%) rotate(45deg);
}

#chanpin1 .item > .child {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 1;
    min-width: 190px;
    padding: 0;
    background: #fff;
    border-left: 1px solid #e2e8ed;
    box-shadow: 3px 5px 14px rgb(20 43 60 / 12%);
}

#chanpin1 .item:hover > .child,
#chanpin1 .item:focus-within > .child {
    display: block;
}

#chanpin1 .child > a {
    font-family: Geograph-Regular, Arial, sans-serif;
    font-size: 14px;
    white-space: nowrap;
}

#chanpin1 .item:hover > a,
#chanpin1 .item:focus-within > a,
#chanpin1 .child > a:hover,
#chanpin1 .child > a:focus-visible {
    color: #145b90;
    background: #eef5fa;
}
