﻿*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: all 0.2s;
}

ul li {
    list-style: none;
}

img {
    vertical-align: middle;
    border-style: none;
}

body {
    padding-top: 70px;
}

.flex-row-center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.float-left {
    float: left;
}

.clear::before,
.clear::after {
    content: '';
    display: table;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    color: 0;
}

.clear::after {
    clear: both;
}

.top-nav-box {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 0.5rem 2rem;
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
    z-index: 100;
}

.site-name-box .logo {
    width: 40px;
    border-radius: 10px;
}

.site-name-box h1 {
    margin: 0 0 0 10px;
}

.search-box {
    display: none;
    text-align: right;
}

.mobile-search-box {
    display: none;
    text-align: center;
}

.search-input {
    display: inline-block;
    width: 80%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #f8f9fa;
    background-clip: padding-box;
    border: 0;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.search-box .search-input {
    width: 100%;
}

.search-input:focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(189, 8, 28, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(189, 8, 28, 0.25);
}

.swiper {
    margin: 1rem auto 0;
    width: 95%;
    overflow: hidden;
}

.swiper img {
    width: 100%;
}

.cats-list {
    box-sizing: border-box;
}

.cats-list .more {
    position: relative;
    top: 0;
    left: 0;
}

.cats-list .cat-item .cat-link {
    display: inline-block;
    padding: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    color: rgba(0, 0, 0, 0.7);
}

/*.cats-list .cat-item .cat-link:hover {*/
/*    color: #c79595;*/
/*}*/

.cats-list .cat-item-active .cat-link {
    color: #fc0610;
}

.cats-list .more-list {
    position: absolute;
    top: 99%;
    left: 0;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #343a40;
    text-align: left;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    -webkit-box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    z-index: 10;
}

.cats-list .more-list .more-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.3);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.more-list .more-item:hover, .more-list .more-item:focus {
    color: #16181b;
    background-color: #f8f9fa;
}

.more-list .more-item:active {
    color: #fff;
    background-color: #bd081c;
}

.more:hover .more-list, .more:focus .more-list, .more .cat-link:hover .more-list, .more .cat-link:focus .more-list {
    display: block;
}

.product-box {
    width: 96%;
    margin: 0 auto 3rem;
    max-width: 96%;
}

.product-list .product-item {
    margin-bottom: 0.75rem;
    padding: 0 0.375rem;
    min-width: 0;
    word-wrap: break-word;
}

.product-list .product-item-box {
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    overflow: hidden;
}

.product-list .product-item .product-img {
    position: relative;
    top: 0;
    left: 0;
    padding-bottom: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.product-list .product-item .img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
}

.product-message {
    padding: 0 15px 15px;
    font-size: 14px;
}

.product-message h2 {
    margin: 0.8rem 0;
    font-size: 14px;
    font-weight: bold;
}

.product-message .go-try a {
    display: inline-block;
    padding: 5px 0;
    width: 100%;
    background-color: #2a0107;
    border-radius: 40px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.product-message .product-base {
    height: 70px;
}

.get-more {
    margin: 20px auto;
    height: 40px;
    line-height: 40px;
    background-color: #320202;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

.get-more-no {
    display: none;
    background-color: #fff;
    color: rgba(0, 0, 0, .5);
}

.nothing-box {
    position: fixed;
    top: 50%;
    left: 50%;
    color: #bab7b7;
    transform: translate(-50%, -50%);
}

@media (min-width: 576px) {
    .product-list .product-item {
        width: 20%;
    }

    .mobile-search-box {
        display: none;
    }

    .pc-go {
        display: inline-block;
    }

    .mobile-go {
        display: none;
    }

    .search-box {
        display: block;
    }

    .get-more {
        width: 20%;
    }

    .cats-list {
        padding: 0 40px;
    }

    .nothing-box {
        font-size: 5rem;
    }
}

@media (max-width: 576px) {
    .product-list .product-item {
        display: inline-block;
        width: 50%;
    }

    .pc-go {
        display: none;
    }

    .mobile-go {
        display: inline-block;
    }

    .mobile-search-box {
        display: block;
    }

    .search-box {
        display: none;
    }

    .get-more {
        width: 80%;
    }

    .cats-list {
        padding: 0 20px;
    }

    .nothing-box {
        font-size: 3rem;
    }
}

.foot-box {
    margin-top: 30px;
    padding: 0.3rem 0;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #f1f1f1;
}

.foot-box a {
    color: #a5a4a4;
}