/* ============================================================
   门店前台样式
   作者：星球软件CEWWW
   ============================================================ */

.shop-body {
    background: #FAF8F6;
    padding-bottom: 0;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--sc-border);
    backdrop-filter: blur(8px);
}

.shop-header-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.shop-brand {
    flex: 0 0 auto;
}

.shop-logo {
    width: 170px;
    height: 60px;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

.shop-store-box {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 280px;
    flex: 0 1 330px;
    padding-left: 15px;
    border-left: 1px solid var(--sc-border);
}

.shop-store-label {
    font-size: 12px;
    color: var(--sc-muted);
    line-height: 1.3;
}

.shop-store-label i {
    color: var(--sc-primary);
}

.shop-store-select {
    width: 100%;
    max-width: 320px;
    margin: 0;
    padding: 0 20px 0 0;
    border: 0;
    background: transparent;
    color: var(--sc-brown);
    font-size: 14px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

.shop-store-hours {
    font-size: 12px;
    color: var(--sc-muted);
    line-height: 1.3;
}

.shop-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    max-width: 340px;
    margin: 0 auto;
    padding: 0 0 0 12px;
    height: 40px;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    background: var(--sc-gray);
}

.shop-search:focus-within {
    border-color: var(--sc-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(242, 140, 40, .1);
}

.shop-search i {
    color: var(--sc-muted);
    font-size: 13px;
}

.shop-search input[type="search"] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: var(--sc-text);
}

.shop-search button {
    height: 38px;
    padding: 0 15px;
    border: 0;
    border-radius: 0 var(--sc-radius) var(--sc-radius) 0;
    background: var(--sc-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

.shop-quick-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.shop-quick-nav > a {
    position: relative;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sc-brown-light);
    border-radius: var(--sc-radius-sm);
}

.shop-quick-nav > a:hover {
    background: var(--sc-primary-soft);
    color: var(--sc-primary-dark);
}

.shop-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 3px;
    background: var(--sc-primary);
    color: #FFFFFF;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    font-weight: 700;
}

.shop-user-link {
    width: auto !important;
    padding: 0 8px !important;
    gap: 5px;
    font-size: 12px;
}

.shop-member-entry {
    color: var(--sc-brown);
    font-weight: 700;
}

.shop-staff-entry {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 48;
}

.shop-staff-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 3px;
    background: var(--sc-brown);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(91, 58, 41, .22);
}

.shop-staff-toggle:hover {
    background: #493023;
}

.shop-staff-popover {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    width: 220px;
    padding: 14px;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    background: #FFFFFF;
    box-shadow: var(--sc-shadow-lg);
    display: none;
}

.shop-staff-entry.open .shop-staff-popover {
    display: block;
}

.shop-staff-popover strong {
    display: block;
    color: var(--sc-brown);
    font-size: 14px;
}

.shop-staff-popover p {
    margin: 3px 0 10px;
    color: var(--sc-muted);
    font-size: 12px;
}

.shop-flash-wrap {
    width: min(1200px, calc(100% - 32px));
    margin: 10px auto 0;
}

.shop-flash-wrap:empty {
    display: none;
}

.shop-main {
    width: 100%;
    min-height: 60vh;
}

.shop-container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.shop-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin: 20px 0 14px;
}

.shop-page-head h1 {
    margin: 0;
    font-size: 24px;
    color: var(--sc-brown);
}

.shop-page-head p {
    margin: 4px 0 0;
    color: var(--sc-muted);
    font-size: 13px;
}

.shop-hero {
    width: min(1200px, calc(100% - 32px));
    margin: 18px auto 0;
    border-radius: var(--sc-radius);
    overflow: hidden;
    background: var(--sc-brown);
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

.shop-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease;
}

.shop-hero-bg.active {
    opacity: .62;
}

.shop-hero-dots {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.shop-hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.shop-hero-dots button.active {
    border-color: #F28C28;
    background: #F28C28;
}

.shop-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(55, 32, 20, .85) 0%, rgba(55, 32, 20, .45) 55%, rgba(55, 32, 20, .12) 100%);
}

.shop-hero-watermark {
    position: absolute;
    right: 24px;
    bottom: -14px;
    z-index: 1;
    max-width: 76%;
    overflow: hidden;
    color: rgba(255, 255, 255, .09);
    font-size: clamp(34px, 5.6vw, 78px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 38px;
}

.shop-hero-content .kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 3px;
    background: rgba(242, 140, 40, .25);
    color: #FFD6AE;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.shop-hero-content h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.25;
    color: #FFFFFF;
}

.shop-hero-content p {
    margin: 0 0 18px;
    color: #F6DFC9;
    font-size: 14px;
}

.shop-hero-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.shop-hero-actions .sc-btn-outline {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .06);
}

.shop-hero-actions .sc-btn-outline:hover {
    background: rgba(255, 255, 255, .16);
    color: #FFFFFF;
}

.shop-notice-bar {
    width: min(1200px, calc(100% - 32px));
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #F5DEB3;
    border-radius: var(--sc-radius);
    background: #FFF9EF;
    color: #8A5A00;
    font-size: 13px;
}

.shop-notice-bar i {
    color: var(--sc-primary-dark);
}

.shop-notice-bar a {
    margin-left: auto;
    color: var(--sc-primary-dark);
    font-size: 12px;
    white-space: nowrap;
}

.shop-section {
    width: min(1200px, calc(100% - 32px));
    margin: 26px auto 0;
}

.shop-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.shop-section-head h2 {
    margin: 0;
    font-size: 20px;
    color: var(--sc-brown);
}

.shop-section-head p {
    margin: 2px 0 0;
    color: var(--sc-muted);
    font-size: 12px;
}

.shop-section-head a {
    font-size: 12px;
    white-space: nowrap;
}

.shop-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.shop-category-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px;
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    color: var(--sc-brown);
    font-size: 13px;
    font-weight: 600;
}

.shop-category-card i {
    width: 36px;
    height: 36px;
    border-radius: var(--sc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sc-primary-soft);
    color: var(--sc-primary-dark);
}

.shop-category-card:hover {
    border-color: #F3C79C;
    background: #FFFCF9;
}

.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.shop-product-card {
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
    box-shadow: var(--sc-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    display: flex;
    flex-direction: column;
}

.shop-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sc-shadow-lg);
    border-color: #F3C79C;
}

.shop-product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--sc-gray);
    overflow: hidden;
}

.shop-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--sc-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

.shop-product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.shop-product-body h3 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--sc-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-product-sub {
    color: var(--sc-muted);
    font-size: 12px;
    margin: 0 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.shop-price {
    color: var(--sc-primary-dark);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.shop-price small {
    font-size: 12px;
    font-weight: 500;
}

.shop-price-old {
    color: #B3A79F;
    text-decoration: line-through;
    font-size: 12px;
}

.shop-member-price {
    color: var(--sc-brown);
    background: #F7E0C7;
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.shop-product-sales {
    color: var(--sc-muted);
    font-size: 12px;
    margin-left: auto;
}

.shop-product-actions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.shop-product-actions .sc-btn {
    flex: 1;
}

.shop-filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 14px;
}

.shop-filter-bar a {
    padding: 6px 13px;
    border: 1px solid var(--sc-border);
    border-radius: 3px;
    background: #FFFFFF;
    color: var(--sc-muted);
    font-size: 12px;
}

.shop-filter-bar a.active,
.shop-filter-bar a:hover {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
    color: #FFFFFF;
}

.shop-detail {
    width: min(1200px, calc(100% - 32px));
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: start;
}

.shop-detail-gallery {
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
    position: sticky;
    top: 88px;
}

.shop-detail-main-img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
    display: block;
    background: var(--sc-gray);
}

.shop-detail-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px;
    overflow-x: auto;
}

.shop-detail-thumbs img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--sc-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
}

.shop-detail-thumbs img.active {
    border-color: var(--sc-primary);
}

.shop-detail-info {
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    padding: 22px;
}

.shop-detail-info h1 {
    margin: 0 0 7px;
    font-size: 26px;
    color: var(--sc-brown);
    line-height: 1.3;
}

.shop-detail-info .subtitle {
    color: var(--sc-muted);
    font-size: 13px;
    margin-bottom: 15px;
}

.shop-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 13px;
    border-radius: var(--sc-radius);
    background: #FFF7EF;
    margin-bottom: 16px;
}

.shop-detail-price .now {
    color: var(--sc-primary-dark);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.shop-detail-price .now small {
    font-size: 14px;
}

.shop-detail-price .member {
    color: var(--sc-brown);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #F7E0C7;
}

.shop-detail-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--sc-muted);
}

.shop-detail-facts strong {
    color: var(--sc-text);
    font-weight: 600;
}

.shop-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
}

.shop-qty button {
    width: 36px;
    height: 38px;
    border: 0;
    background: var(--sc-gray);
    color: var(--sc-brown);
    font-size: 15px;
}

.shop-qty input {
    width: 54px;
    height: 38px;
    border: 0;
    text-align: center;
    outline: none;
    font-size: 14px;
    font-weight: 700;
}

.shop-buy-actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.shop-buy-actions .sc-btn {
    flex: 1;
    min-width: 130px;
}

.shop-favorite-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    background: #FFFFFF;
    color: var(--sc-muted);
}

.shop-favorite-btn.active {
    background: #FDECEC;
    color: var(--sc-danger);
    border-color: #F5C6C6;
}

.shop-detail-tabs {
    width: min(1200px, calc(100% - 32px));
    margin: 18px auto 0;
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    overflow: hidden;
}

.shop-detail-tab-head {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--sc-border);
    background: #FCFBF9;
}

.shop-detail-tab-head a {
    padding: 12px 20px;
    color: var(--sc-muted);
    font-size: 13px;
    border-bottom: 2px solid transparent;
}

.shop-detail-tab-head a.active {
    color: var(--sc-brown);
    font-weight: 700;
    border-bottom-color: var(--sc-primary);
}

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

.shop-review-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.shop-review {
    padding-bottom: 13px;
    border-bottom: 1px dashed var(--sc-border);
}

.shop-review:last-child {
    border-bottom: 0;
}

.shop-review-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--sc-muted);
}

.shop-review-head strong {
    color: var(--sc-brown);
}

.shop-stars {
    color: #F2B01E;
    font-size: 12px;
    letter-spacing: 1px;
}

.shop-review p {
    margin: 0;
    font-size: 13px;
    color: #4A403A;
}

.shop-cart-layout,
.shop-checkout-layout {
    width: min(1200px, calc(100% - 32px));
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.shop-cart-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
}

.shop-cart-item img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: var(--sc-radius-sm);
    background: var(--sc-gray);
}

.shop-cart-item .info {
    flex: 1;
    min-width: 0;
}

.shop-cart-item .info h3 {
    margin: 0 0 4px;
    font-size: 14px;
}

.shop-cart-item .info p {
    margin: 0;
    color: var(--sc-muted);
    font-size: 12px;
}

.shop-cart-item .price {
    color: var(--sc-primary-dark);
    font-weight: 800;
    white-space: nowrap;
}

.shop-summary {
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    padding: 17px;
    position: sticky;
    top: 88px;
}

.shop-summary h3 {
    margin: 0 0 13px;
    font-size: 16px;
    color: var(--sc-brown);
}

.shop-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--sc-muted);
}

.shop-summary-row.total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--sc-border);
    color: var(--sc-brown);
    font-weight: 800;
    font-size: 16px;
}

.shop-summary-row.total .price {
    color: var(--sc-primary-dark);
    font-size: 24px;
}

.shop-pay-methods {
    display: grid;
    gap: 8px;
    margin: 12px 0;
}

.shop-pay-method {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    cursor: pointer;
    font-size: 13px;
}

.shop-pay-method:has(input:checked) {
    border-color: var(--sc-primary);
    background: #FFF9F3;
}

.shop-pay-method input {
    accent-color: var(--sc-primary);
}

.shop-pay-method i {
    color: var(--sc-primary-dark);
    width: 20px;
    text-align: center;
}

.shop-appointment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.shop-slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.shop-slot {
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-sm);
    background: #FFFFFF;
    padding: 8px 5px;
    text-align: center;
    font-size: 12px;
    color: var(--sc-text);
}

.shop-slot:hover,
.shop-slot.active {
    border-color: var(--sc-primary);
    background: var(--sc-primary-soft);
    color: var(--sc-primary-dark);
    font-weight: 700;
}

.shop-slot:disabled {
    opacity: .4;
    pointer-events: none;
}

.shop-qr-box {
    text-align: center;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
}

.shop-qr-box img {
    width: min(280px, 100%);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius-sm);
    background: #FFFFFF;
}

.shop-timeline {
    position: relative;
    padding-left: 18px;
}

.shop-timeline::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: var(--sc-border);
}

.shop-timeline-item {
    position: relative;
    padding-bottom: 14px;
    font-size: 13px;
}

.shop-timeline-item::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sc-primary);
}

.shop-timeline-item span {
    display: block;
    color: var(--sc-muted);
    font-size: 12px;
}

/* 登录 / 注册 */
.shop-auth {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 16px;
    background:
        radial-gradient(circle at 10% 20%, rgba(242, 140, 40, .18), transparent 36%),
        radial-gradient(circle at 90% 80%, rgba(91, 58, 41, .12), transparent 34%),
        #FAF8F6;
}

.shop-auth-card {
    width: min(450px, 100%);
    background: #FFFFFF;
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow-lg);
    overflow: hidden;
}

.shop-auth-head {
    padding: 22px 24px 18px;
    background: linear-gradient(120deg, var(--sc-brown), #855434);
    color: #FFFFFF;
}

.shop-auth-head h1 {
    margin: 0 0 5px;
    font-size: 22px;
    color: #FFFFFF;
}

.shop-auth-head p {
    margin: 0;
    color: #F2D6BD;
    font-size: 12px;
}

.shop-auth-body {
    padding: 24px;
}

.shop-auth-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 18px;
    padding: 3px;
    border-radius: var(--sc-radius);
    background: var(--sc-gray);
}

.shop-auth-tabs a {
    flex: 1;
    padding: 6px;
    text-align: center;
    border-radius: var(--sc-radius-sm);
    color: var(--sc-muted);
    font-size: 13px;
}

.shop-auth-tabs a.active {
    background: #FFFFFF;
    color: var(--sc-brown);
    font-weight: 700;
    box-shadow: var(--sc-shadow);
}

.shop-auth-links {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px;
    font-size: 12px;
}

/* 页脚 */
.shop-footer {
    margin-top: 40px;
    background: #35251C;
    color: #D9C2AF;
    padding: 28px 0 76px;
}

.shop-footer-inner {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 30px;
    align-items: start;
}

.shop-footer-brand strong {
    color: #FFFFFF;
    font-size: 16px;
}

.shop-footer-brand p {
    margin: 4px 0 0;
    color: #D9C2AF;
    font-size: 12px;
}

.shop-footer-links {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.shop-footer-links a {
    color: #D9C2AF;
    font-size: 12px;
}

.shop-footer-links a:hover {
    color: var(--sc-primary);
}

.shop-footer-copy {
    grid-column: 1 / -1;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: #A98D78;
    font-size: 12px;
}

.shop-footer-copy span {
    color: #C7A98F;
}

/* 底部固定菜单 */
.shop-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(560px, 100%);
    z-index: 45;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--sc-border);
    border-bottom: 0;
    border-radius: var(--sc-radius) var(--sc-radius) 0 0;
    box-shadow: 0 -3px 15px rgba(91, 58, 41, .08);
    backdrop-filter: blur(10px);
}

.shop-bottom-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--sc-muted);
    font-size: 12px;
    padding: 3px;
    border-radius: var(--sc-radius-sm);
}

.shop-bottom-item i {
    font-size: 17px;
}

.shop-bottom-item.active {
    color: var(--sc-primary-dark);
    font-weight: 700;
}

/* 响应式 */
@media (max-width: 1024px) {
    .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .shop-detail { grid-template-columns: 1fr; }
    .shop-detail-gallery { position: static; }
    .shop-cart-layout, .shop-checkout-layout { grid-template-columns: minmax(0, 1fr) 300px; }
    .shop-appointment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .shop-body { padding-bottom: 66px; }
    .shop-header-inner { width: calc(100% - 20px); min-height: 60px; flex-wrap: wrap; gap: 8px; padding: 7px 0; }
    .shop-logo { width: 150px; height: 53px; max-height: 53px; }
    .shop-store-box { flex: 1; min-width: 0; border-left: 0; padding-left: 0; }
    .shop-store-select { font-size: 13px; max-width: 180px; }
    .shop-store-hours { display: none; }
    .shop-search { order: 3; flex-basis: 100%; max-width: none; height: 36px; margin: 0; }
    .shop-search button { height: 34px; }
    .shop-quick-nav > a { width: 34px; height: 34px; }
    .shop-user-link span { display: none; }
    .shop-user-link { width: 34px !important; padding: 0 !important; }
    .shop-member-entry { width: auto !important; padding: 0 5px !important; }
    .shop-member-entry span { display: inline; font-size: 12px; }
    .shop-staff-entry { right: 12px; bottom: 76px; }
    .shop-staff-toggle { min-height: 34px; padding: 6px 10px; font-size: 12px; }
    .shop-container, .shop-section, .shop-hero, .shop-notice-bar, .shop-detail, .shop-detail-tabs, .shop-cart-layout, .shop-checkout-layout { width: calc(100% - 20px); }
    .shop-hero { min-height: 220px; margin-top: 10px; }
    .shop-hero-content { padding: 22px 18px; }
    .shop-hero-content h1 { font-size: 25px; }
    .shop-hero-content p { font-size: 12px; }
    .shop-notice-bar { margin-top: 10px; font-size: 12px; }
    .shop-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .shop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shop-product-body { padding: 10px; }
    .shop-product-body h3 { font-size: 13px; }
    .shop-price { font-size: 17px; }
    .shop-product-actions .sc-btn { font-size: 12px; padding: 6px; }
    .shop-detail-info { padding: 15px; }
    .shop-detail-info h1 { font-size: 21px; }
    .shop-detail-price .now { font-size: 26px; }
    .shop-detail-facts { grid-template-columns: 1fr; }
    .shop-cart-layout, .shop-checkout-layout { grid-template-columns: 1fr; margin-top: 12px; }
    .shop-summary { position: static; }
    .shop-cart-item img { width: 58px; height: 58px; }
    .shop-cart-item { gap: 8px; padding: 9px; }
    .shop-cart-item .info h3 { font-size: 13px; }
    .shop-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-footer { padding-bottom: 76px; }
    .shop-footer-inner { width: calc(100% - 24px); grid-template-columns: 1fr; }
    .shop-bottom-nav { display: flex; }
    .shop-auth { min-height: calc(100vh - 60px); padding: 20px 12px 76px; }
    .shop-auth-body { padding: 18px; }
    .shop-bottom-nav, .sc-card, .shop-product-card, .shop-auth-card { border-radius: var(--sc-radius-sm); }
}

@media (max-width: 420px) {
    .shop-product-grid { grid-template-columns: 1fr 1fr; }
    .shop-store-select { max-width: 135px; }
    .shop-slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 前台积分兑换商城 */
.shop-points-section {
    padding-top: 10px;
}

.shop-points-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border-radius: 5px;
    background: linear-gradient(110deg, #5B3A29 0%, #7A4A2E 55%, #C55E12 100%);
    color: #FFFFFF;
}

.shop-points-entry-copy {
    max-width: 720px;
}

.shop-points-entry .kicker {
    color: #FFD8B0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.shop-points-entry h2 {
    margin: 8px 0 8px;
    color: #FFFFFF;
    font-size: 26px;
}

.shop-points-entry p {
    margin: 0;
    color: #F4DED0;
    font-size: 13px;
    line-height: 1.85;
}

.shop-points-entry .sc-btn-outline {
    border-color: rgba(255, 255, 255, .5);
    color: #FFFFFF;
}

.shop-points-entry-stat {
    flex: 0 0 160px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 4px;
    background: rgba(255, 255, 255, .1);
    text-align: center;
}

.shop-points-entry-stat strong {
    display: block;
    color: #FFB56B;
    font-size: 34px;
    line-height: 1;
}

.shop-points-entry-stat span {
    display: block;
    margin-top: 4px;
    color: #FFFFFF;
    font-size: 13px;
}

.shop-points-entry-stat small {
    display: block;
    margin-top: 7px;
    color: #E9CCB9;
    font-size: 12px;
}

.shop-points-hero {
    padding: 48px 0;
    background: linear-gradient(115deg, #4E2F22, #7A4A2E 55%, #C55E12);
    color: #FFFFFF;
}

.shop-points-hero-inner {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.shop-points-hero h1 {
    margin: 8px 0 10px;
    color: #FFFFFF;
    font-size: 36px;
}

.shop-points-hero p {
    max-width: 760px;
    margin: 0;
    color: #F4DED0;
    font-size: 14px;
    line-height: 1.9;
}

.shop-points-hero .kicker {
    color: #FFD8B0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.shop-points-hero .sc-btn-outline {
    border-color: rgba(255, 255, 255, .5);
    color: #FFFFFF;
}

.shop-points-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.shop-points-card {
    overflow: hidden;
    border: 1px solid #E7E0DA;
    border-radius: 4px;
    background: #FFFFFF;
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-points-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 50, 35, .1);
}

.shop-points-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #F7F4F1;
}

.shop-points-card-body {
    padding: 13px;
}

.shop-points-card h3 {
    margin: 0 0 5px;
    color: #3F3935;
    font-size: 14px;
}

.shop-points-card p {
    min-height: 36px;
    margin: 0;
    color: #8B8179;
    font-size: 12px;
    line-height: 1.5;
}

.shop-points-card-body > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}

.shop-points-card-body strong {
    color: #D9660F;
    font-size: 15px;
}

.shop-points-card-body span {
    color: #A29890;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .shop-points-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .shop-points-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    .shop-points-entry-stat {
        width: 100%;
        flex: 0 0 auto;
    }
    .shop-points-entry h2 {
        font-size: 22px;
    }
    .shop-points-hero {
        padding: 34px 0;
    }
    .shop-points-hero h1 {
        font-size: 28px;
    }
}

/* 底部单页 */
.shop-single-page {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
    padding: 20px 0 48px;
}

.shop-single-card {
    padding: 30px;
    border: 1px solid #E7E0DA;
    border-radius: 5px;
    background: #FFFFFF;
}

.shop-single-card header {
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #E7E0DA;
}

.shop-single-card .kicker {
    color: #D9660F;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.shop-single-card h1 {
    margin: 7px 0 6px;
    color: #3F3935;
    font-size: 28px;
}

.shop-single-card header p {
    margin: 0;
    color: #8B8179;
    font-size: 13px;
    line-height: 1.7;
}

.shop-single-content {
    color: #514A44;
    font-size: 14px;
    line-height: 1.9;
}

.shop-single-content h2 {
    margin: 22px 0 8px;
    color: #5B3A29;
    font-size: 20px;
}

.shop-single-content h3 {
    margin: 18px 0 6px;
    color: #5B3A29;
    font-size: 16px;
}

.shop-single-content p {
    margin: 0 0 10px;
}

.shop-single-content a {
    color: #D9660F;
}

.shop-single-card footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #E7E0DA;
}

@media (max-width: 768px) {
    .shop-single-page {
        width: calc(100% - 20px);
        padding-top: 12px;
    }
    .shop-single-card {
        padding: 20px 16px;
    }
    .shop-single-card h1 {
        font-size: 22px;
    }
}

/* 数字图片验证码 */
.sc-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sc-captcha-row input {
    width: 140px;
    flex: 0 0 140px;
}

.sc-captcha-row img {
    width: 128px;
    height: 40px;
    flex: 0 0 128px;
    border: 1px solid #E7E0DA;
    border-radius: 4px;
    background: #FAF7F2;
    cursor: pointer;
    object-fit: cover;
}

.sc-captcha-row .sc-btn {
    flex: 0 0 auto;
}

.sc-captcha-field .help {
    display: block;
    margin-top: 4px;
    color: #8B8179;
    font-size: 12px;
}

@media (max-width: 420px) {
    .sc-captcha-row input {
        width: 120px;
        flex-basis: 120px;
    }
    .sc-captcha-row img {
        width: 120px;
        height: 38px;
        flex-basis: 120px;
    }
}
