/* Search results use the shileo palette and a stable card grid. */
#co-plist-layout-outer {
    --shileo-ink: #202832;
    --shileo-muted: #66727d;
    --shileo-red: #df1f26;
    --shileo-blue: #18344d;
    background: #f5f7f8;
    color: var(--shileo-ink);
    padding: 24px 0 48px;
}

#co-plist-layout-outer a,
#co-plist-layout-outer a:visited {
    color: inherit;
    text-decoration: none;
}

#co-plist-layout-outer .jsp-layout-base-layout {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

#co-plist-layout-outer .co-plist-layout-wrap {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0;
}

#co-plist-layout-outer .co-plist-layout-parts {
    display: block;
    width: auto;
    min-width: 0;
}

#co-plist-layout-outer .co-product-refine,
#co-plist-layout-outer #productlist-productbox {
    background: #fff;
    border: 1px solid #e4e9ed;
    border-radius: 8px;
    box-sizing: border-box;
}

#co-plist-layout-outer .co-product-refine {
    padding: 16px;
}

#co-plist-layout-outer .co-product-refine > .co-plist-layout-parts,
#co-plist-layout-outer .co-product-refine > .co-ts-only {
    display: none !important;
}

#co-plist-layout-outer .co-product-refine > .co-pc-only {
    display: block !important;
}

#co-plist-layout-outer .search-box-ttl {
    border-bottom: 2px solid var(--shileo-red);
    color: var(--shileo-blue);
    margin-bottom: 10px;
    padding: 4px 0 10px;
}

#co-plist-layout-outer .search-box-ttl-txt {
    font-size: 15px;
    font-weight: 700;
}

#co-plist-layout-outer .refine-search-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

#co-plist-layout-outer .refine-search-list li {
    border-bottom: 1px solid #edf0f2;
    padding: 8px 0;
}

#co-plist-layout-outer .refine-search-list a,
#co-plist-layout-outer .refine-search-list span {
    color: #46535e;
    font-size: 13px;
}

#co-plist-layout-outer .refine-search-list a:hover {
    color: var(--shileo-red);
}

#co-plist-layout-outer #productlist-productbox {
    padding: 20px;
}

#co-plist-layout-outer .smd-listorder-area {
    margin: 16px 0;
}

#co-plist-layout-outer .upper-order {
    align-items: center;
    background: #f8fafb;
    border: 1px solid #e6ebee;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
}

#co-plist-layout-outer .upper-order .page-nav-area,
#co-plist-layout-outer .notupper-order .page-nav-area {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
    min-width: 0;
}

#co-plist-layout-outer .page-nav-area .page-lgx {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

#co-plist-layout-outer .page-nav-area .page-lgx > span > a,
#co-plist-layout-outer .page-nav-area .page-lgx > a.page_main,
#co-plist-layout-outer .page-nav-area .page-lgx > span.page_main,
#co-plist-layout-outer .page-nav-area .page-lgx > span.page-nav-prev.co-ts-only {
    align-items: center;
    background: #fff;
    border: 1px solid #d4dfe5;
    border-radius: 5px;
    box-sizing: border-box;
    color: var(--shileo-blue) !important;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    height: 34px;
    justify-content: center;
    line-height: 1;
    min-width: 34px;
    padding: 0 10px;
    text-decoration: none;
    white-space: nowrap;
}

#co-plist-layout-outer .page-nav-area .page-lgx > span > a:hover,
#co-plist-layout-outer .page-nav-area .page-lgx > a.page_main:hover {
    background: #fff3f3;
    border-color: var(--shileo-red);
    color: var(--shileo-red) !important;
}

#co-plist-layout-outer .page-nav-area .page-lgx > span.page_main.co-selected {
    background: var(--shileo-red);
    border-color: var(--shileo-red);
    color: #fff !important;
    cursor: default;
}

#co-plist-layout-outer .page-nav-area .page-lgx > span.page-nav-prev.co-ts-only {
    background: #f1f4f6;
    color: #98a3aa !important;
    cursor: default;
}

#co-plist-layout-outer #order-by {
    background: #fff;
    border: 1px solid #cfd8de;
    border-radius: 4px;
    color: var(--shileo-ink);
    min-width: 120px;
    padding: 7px 10px;
}

#co-plist-layout-outer .item-box-area {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

#co-plist-layout-outer .itembox-parts {
    background: #fff;
    border: 1px solid #e5eaed;
    border-radius: 7px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: auto !important;
    margin: 0 !important;
    min-width: 0;
    padding: 10px !important;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: auto !important;
}

#co-plist-layout-outer .itembox-parts:hover {
    border-color: #f1a4a7;
    box-shadow: 0 4px 14px rgba(32, 40, 50, .08);
}

#co-plist-layout-outer .item-img-box,
#co-plist-layout-outer .item-img-box > a,
#co-plist-layout-outer .item-img-box picture {
    aspect-ratio: 1;
    display: block;
    height: auto;
    width: 100%;
}

#co-plist-layout-outer .item-img-box {
    background: #f7f8f8;
    border-radius: 5px;
    overflow: hidden;
}

#co-plist-layout-outer .item-img-box .item-img {
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: contain;
    width: 100%;
}

#co-plist-layout-outer .item-name {
    display: -webkit-box;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 10px 0 5px;
    min-height: 3em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#co-plist-layout-outer .item-name a {
    color: var(--shileo-ink);
}

#co-plist-layout-outer .item-dealer-name {
    color: var(--shileo-muted);
    font-size: 12px;
    margin-top: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#co-plist-layout-outer .item-regist-box {
    align-items: center;
    border-top: 1px solid #edf0f2;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 9px;
}

#co-plist-layout-outer .co-fcred {
    color: var(--shileo-red);
    font-size: 16px;
}

#co-plist-layout-outer .mouse-changed-hands {
    align-items: center;
    background: var(--shileo-blue);
    border-radius: 50%;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

#co-plist-layout-outer .mouse-changed-hands img {
    filter: brightness(0) invert(1);
    height: 16px;
    width: 16px;
}

#co-plist-layout-outer .notupper-order {
    margin: 28px 0 0 !important;
}

@media (max-width: 1060px) {
    #co-plist-layout-outer .item-box-area {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    #co-plist-layout-outer .co-plist-layout-wrap {
        display: block;
    }

    #co-plist-layout-outer .co-product-refine {
        margin-bottom: 16px;
    }

    #co-plist-layout-outer .co-product-refine > .co-plist-layout-parts.search-box-parts {
        display: block !important;
        padding: 0;
    }

    #co-plist-layout-outer .co-product-refine > .co-plist-layout-parts.search-box-parts .co-ts-only {
        display: block !important;
    }

    #co-plist-layout-outer .co-product-refine > .co-pc-only {
        display: none !important;
    }

    #co-plist-layout-outer .item-box-area {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #co-plist-layout-outer .upper-order {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    #co-plist-layout-outer .upper-order .page-nav-area,
    #co-plist-layout-outer .notupper-order .page-nav-area {
        justify-content: flex-start;
        margin-left: 0;
    }

    #co-plist-layout-outer .page-nav-area .page-lgx {
        justify-content: flex-start;
    }
}

@media (max-width: 460px) {
    #co-plist-layout-outer .jsp-layout-base-layout {
        width: calc(100% - 20px);
    }

    #co-plist-layout-outer #productlist-productbox {
        padding: 12px;
    }

    #co-plist-layout-outer .item-box-area {
        gap: 10px;
    }
}
