body.shop-page {
    background: #f5f6f7;
}

body.shop-page #header {
    margin-bottom: 20px;
}

body.shop-page .shop-only-nav li a {
    font-weight: 600;
}

body.shop-page .shop-main {
    margin: 0 auto 20px;
}

body.shop-page .shop-white-left {
    min-height: 520px;
}

body.shop-page .shop-breadcrumb {
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #888;
    font-size: 13px;
}

body.shop-page .shop-breadcrumb a {
    color: #777;
}

body.shop-page .shop-breadcrumb a:hover {
    color: #d33;
}

body.shop-page .shop-list-head {
    padding: 18px 20px;
}

body.shop-page .shop-list-head h1 {
    margin: 16px 0 10px;
    color: #222;
    font-size: 24px;
    line-height: 1.35;
}

body.shop-page .shop-list-head p {
    margin: 0;
    color: #777;
    line-height: 1.9;
}

body.shop-page .shop-filter {
    padding: 0;
}

body.shop-page .shop-filter-title {
    height: 42px;
    padding: 0 18px;
    border-bottom: 1px solid #f1f1f1;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 42px;
}

body.shop-page .shop-filter-row {
    display: flex;
    border-bottom: 1px solid #f4f4f4;
}

body.shop-page .shop-filter-row:last-child {
    border-bottom: 0;
}

body.shop-page .shop-filter-label {
    width: 76px;
    padding: 13px 0;
    flex: none;
    background: #fafafa;
    color: #777;
    text-align: center;
}

body.shop-page .shop-filter-links {
    min-width: 0;
    padding: 9px 12px 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 4px;
}

body.shop-page .shop-filter-links a {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 2px;
    color: #555;
    line-height: 22px;
}

body.shop-page .shop-filter-links a:hover,
body.shop-page .shop-filter-links a.active {
    background: #e74c3c;
    color: #fff;
}

body.shop-page .shop-result {
    padding: 13px 18px;
    color: #777;
}

body.shop-page .shop-result b {
    margin: 0 4px;
    color: #e74c3c;
    font-size: 18px;
}

body.shop-page .shop-product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

body.shop-page .shop-product-card {
    width: calc((100% - 32px) / 3);
    overflow: hidden;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    transition: transform .18s ease, box-shadow .18s ease;
}

body.shop-page .shop-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
}

body.shop-page .shop-product-img {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #fafafa;
}

body.shop-page .shop-product-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.shop-page .shop-product-title {
    height: 48px;
    margin: 12px 14px 8px;
    display: -webkit-box;
    overflow: hidden;
    color: #333;
    font-size: 15px;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.shop-page .shop-product-title:hover {
    color: #e74c3c;
}

body.shop-page .shop-product-meta {
    padding: 0 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #999;
    font-size: 13px;
}

body.shop-page .shop-product-meta a,
body.shop-page .shop-btn {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 3px;
    background: #e74c3c;
    color: #fff;
    line-height: 1.4;
}

body.shop-page .shop-product-meta a:hover,
body.shop-page .shop-btn:hover {
    background: #d83b2b;
    color: #fff;
}

body.shop-page .shop-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin: 18px 0 0;
}

body.shop-page .shop-pagination a,
body.shop-page .shop-pagination span {
    min-width: 34px;
    height: 34px;
    box-sizing: border-box;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0 10px;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
}

body.shop-page .shop-pagination a:hover,
body.shop-page .shop-pagination a.active {
    border-color: #e74c3c;
    background: #e74c3c;
    color: #fff;
}

body.shop-page .shop-pagination span {
    border-color: transparent;
    background: transparent;
}

body.shop-page .shop-side-box {
    padding: 16px;
}

body.shop-page .shop-side-box h3 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 16px;
}

body.shop-page .shop-side-box p {
    margin: 8px 0 0;
    color: #777;
    line-height: 1.8;
}

body.shop-page .shop-side-box a {
    color: #e74c3c;
    font-weight: 600;
}

body.shop-page .shop-side-qrcode {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 14px auto 0;
    padding: 6px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    height: auto;
    object-fit: contain;
}

body.shop-page .shop-empty {
    padding: 28px;
    text-align: center;
}

body.shop-page .shop-empty h1 {
    margin: 0 0 16px;
    color: #333;
    font-size: 22px;
}

body.shop-page .shop-detail {
    padding: 20px;
}

body.shop-page .shop-detail-title {
    margin: 18px 0;
    color: #222;
    font-size: 26px;
    line-height: 1.45;
}

body.shop-page .shop-detail-body {
    display: grid;
    grid-template-columns: minmax(300px, 54%) 1fr;
    gap: 22px;
}

body.shop-page .shop-detail-img {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: #fafafa;
    border-radius: 6px;
}

body.shop-page .shop-detail-img img {
    display: block;
    max-width: 100%;
    max-height: 560px;
    object-fit: contain;
}

body.shop-page .shop-detail-info {
    padding: 18px;
    background: #fafafa;
    border-radius: 6px;
}

body.shop-page .shop-detail-info dl {
    margin: 0;
}

body.shop-page .shop-detail-info dl div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

body.shop-page .shop-detail-info dt {
    color: #888;
}

body.shop-page .shop-detail-info dd {
    margin: 0;
    color: #333;
}

body.shop-page .shop-detail-info .shop-btn {
    margin-top: 18px;
}

body.shop-page .shop-detail-qrcodes {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

body.shop-page .shop-detail-qrcodes div {
    min-width: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    text-align: center;
}

body.shop-page .shop-detail-qrcodes img {
    display: block;
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0 auto 6px;
}

body.shop-page .shop-detail-qrcodes span {
    color: #777;
    font-size: 13px;
}

body.shop-page .shop-inquiry {
    margin-top: 22px;
    padding: 18px;
    background: #fafafa;
    border-radius: 6px;
}

body.shop-page .shop-inquiry h2 {
    margin: 0 0 14px;
    color: #333;
    font-size: 20px;
}

body.shop-page .shop-inquiry form {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) 110px;
    gap: 12px;
    align-items: end;
}

body.shop-page .shop-inquiry label {
    display: grid;
    gap: 6px;
    color: #666;
}

body.shop-page .shop-inquiry input {
    width: 100%;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    color: #333;
    font: inherit;
}

body.shop-page .shop-inquiry button {
    height: 38px;
    border: 0;
    border-radius: 4px;
    background: #e74c3c;
    color: #fff;
    cursor: pointer;
    font: inherit;
}

body.shop-page .shop-form-tip {
    margin: 0 0 12px;
    padding: 8px 10px;
    border-radius: 4px;
}

body.shop-page .shop-form-tip.success {
    background: #eef8ee;
    color: #25833a;
}

body.shop-page .shop-form-tip.error {
    background: #fff1ef;
    color: #d83b2b;
}

body.shop-page .shop-desc {
    margin-top: 22px;
}

body.shop-page .shop-desc h2 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 20px;
}

body.shop-page .shop-desc p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 2;
}

@media (max-width: 1024px) {
    body.shop-page .shop-product-card {
        width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 768px) {
    body.shop-page .shop-main {
        margin-top: 10px;
    }

    body.shop-page .shop-list-head,
    body.shop-page .shop-detail {
        padding: 16px;
    }

    body.shop-page .shop-filter-row {
        display: block;
    }

    body.shop-page .shop-filter-label {
        width: auto;
        padding: 9px 12px;
        text-align: left;
    }

    body.shop-page .shop-product-card {
        width: 100%;
    }

    body.shop-page .shop-product-img {
        height: 260px;
    }

    body.shop-page .shop-detail-body {
        grid-template-columns: 1fr;
    }

    body.shop-page .shop-inquiry form {
        grid-template-columns: 1fr;
    }

    body.shop-page .shop-detail-img {
        min-height: 320px;
    }
}
