:root {
    --xl-red: #ff3f22;
    --xl-red-deep: #f52d18;
    --xl-orange: #ff7a32;
    --xl-ink: #1d2433;
    --xl-muted: #7e8594;
    --xl-line: #f0e8e4;
    --xl-page: #fffaf8;
    --xl-card: #ffffff;
    --xl-radius: 18px;
}

* { box-sizing: border-box; }
body {
    color: var(--xl-ink);
    background: var(--xl-page);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}
a { text-decoration: none; }
.store-shell { min-height: calc(100vh - 150px); }
.store-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #f7e3dc;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
}
.store-header .container { max-width: 1400px; }
.store-header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 46px;
}
.store-brand { display: block; min-width: 188px; color: var(--xl-red); line-height: 1; }
.store-brand-title { display: block; font-size: 29px; font-weight: 800; letter-spacing: -1px; }
.store-brand-subtitle { display: block; margin-top: 9px; color: #8a8c94; font-size: 12px; letter-spacing: 4px; white-space: nowrap; }
.store-nav { display: flex; align-items: center; gap: 10px; }
.store-nav a { color: #3a3e47; padding: 12px 17px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.store-nav a:hover, .store-nav a.active { color: white; background: var(--xl-red); box-shadow: 0 8px 20px rgba(255,63,34,.2); }
.store-search { margin-left: auto; display: flex; width: min(420px, 34vw); height: 46px; padding: 4px; border: 1px solid #ffd8ca; border-radius: 24px; background: white; }
.store-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: 0 16px; font-size: 14px; }
.store-search button { width: 82px; border: 0; border-radius: 18px; background: var(--xl-red); color: white; font-weight: 700; font-size: 14px; }
.store-service { display: flex; align-items: center; gap: 8px; color: var(--xl-red); font-size: 14px; white-space: nowrap; }
.store-service i { font-size: 20px; }
.store-mobile-toggle { display: none; margin-left: auto; border: 0; border-radius: 8px; background: #fff2ed; color: var(--xl-red); font-size: 13px; font-weight: 700; padding: 8px 10px; }

.store-main { max-width: 1400px; margin: 0 auto; padding: 16px 18px 40px; }
.store-top-notice { display:flex; align-items:center; gap:9px; min-height: 38px; color:#7b7070; font-size:13px; }
.store-top-notice i { color: var(--xl-red); }
.store-layout { display:grid; grid-template-columns: 244px minmax(0,1fr) 242px; gap:20px; align-items:start; }
.store-panel { overflow:hidden; border:1px solid var(--xl-line); border-radius:var(--xl-radius); background:var(--xl-card); box-shadow:0 12px 34px rgba(143,67,42,.05); }
.category-panel { position:sticky; top:112px; }
.category-title { display:flex; align-items:center; justify-content:space-between; padding:17px 18px; color:white; background:linear-gradient(135deg, var(--xl-red), var(--xl-orange)); font-size:15px; font-weight:700; }
.category-links { margin:0; padding:5px 18px; list-style:none; }
.category-links li { border-bottom:1px solid #f6eeeb; }
.category-links li:last-child { border-bottom:0; }
.category-links a { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:15px 0; color:#535863; font-size:14px; }
.category-links a:hover, .category-links a.active { color: var(--xl-red); font-weight:700; }
.category-links i { color:var(--xl-red); font-size:16px; }
.category-benefits { display:grid; grid-template-columns:repeat(3,1fr); gap:0; padding:18px 9px; background:#fffaf7; border-top:1px solid #f9eee9; }
.category-benefits div { text-align:center; color:#626974; font-size:11px; line-height:1.55; }
.category-benefits i { display:block; margin-bottom:4px; color:var(--xl-red); font-size:18px; }

.store-center { min-width:0; }
.store-hero { min-height:390px; overflow:hidden; position:relative; border-radius:var(--xl-radius); background:#ff4a26 url('/assets/unicorn/images/xiaolei-hero-delivery.png') center/cover no-repeat; box-shadow:0 18px 42px rgba(255,75,37,.19); }
.store-hero-copy { position:relative; z-index:1; width:56%; padding:47px 48px; color:white; }
.store-hero-kicker { display:inline-flex; align-items:center; gap:7px; padding:8px 14px; border:1px solid rgba(255,255,255,.45); border-radius:20px; background:rgba(255,255,255,.1); font-size:14px; font-weight:700; }
.store-hero h1 { margin:22px 0 12px; font-size:46px; line-height:1.13; letter-spacing:-2px; font-weight:800; }
.store-hero h1 span { display:block; color:#ffe56f; }
.store-hero p { margin:0; font-size:18px; color:rgba(255,255,255,.94); }
.hero-points { display:flex; gap:11px; margin-top:30px; }
.hero-points div { min-width:0; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.15); color:white; font-size:13px; line-height:1.35; }
.hero-points i { margin-right:5px; color:#ffeaa7; }
.hero-points small { display:block; margin-top:2px; color:rgba(255,255,255,.82); font-size:11px; }

.order-panel { padding:25px 22px; }
.order-panel h2 { margin:0; font-size:22px; font-weight:800; }
.order-panel p { margin:6px 0 20px; color:var(--xl-muted); font-size:12px; line-height:1.55; }
.order-panel label { margin:0 0 7px; color:#5f6571; font-size:12px; font-weight:700; }
.order-panel .form-control { height:43px; border-radius:10px; border-color:#ece9e8; font-size:13px; }
.order-panel .btn { width:100%; margin-top:12px; min-height:44px; border:0; border-radius:10px; background:var(--xl-red); color:white; font-size:15px; font-weight:700; }
.order-help { display:block; margin-top:14px; color:#838894; font-size:12px; }

.store-announcement { display:flex; align-items:center; gap:12px; margin:18px 0; padding:16px 20px; border:1px solid var(--xl-line); border-radius:14px; background:white; box-shadow:0 8px 24px rgba(143,67,42,.04); color:#706a6a; font-size:13px; }
.store-announcement .store-fa { flex:0 0 auto; color:var(--xl-red); font-size:19px; }
.store-announcement strong { color:#40434a; white-space:nowrap; }
.store-announcement .announcement-content { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

.products-panel { padding:24px 20px 20px; }
.products-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
.products-heading h2 { margin:0; font-size:21px; font-weight:800; }
.products-heading h2:after { content:""; display:block; width:28px; height:3px; margin-top:7px; border-radius:5px; background:var(--xl-red); }
.products-heading span { color:#8b9099; font-size:13px; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.goods-item { min-width:0; }
.xl-product-card { height:100%; display:flex; flex-direction:column; overflow:hidden; border:1px solid #f1e8e5; border-radius:14px; background:white; transition:transform .2s ease, box-shadow .2s ease; }
.xl-product-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px rgba(181,74,47,.12); }
.xl-product-image { position:relative; display:flex; align-items:center; justify-content:center; height:132px; padding:16px; background:#fffcfb; }
.xl-product-image img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.xl-delivery-badge { position:absolute; left:10px; top:10px; padding:4px 7px; border-radius:5px; background:#fff3ed; color:var(--xl-red); font-size:10px; font-weight:700; }
.xl-product-body { display:flex; flex:1; flex-direction:column; padding:13px; }
.xl-product-title { margin:0; overflow:hidden; color:#2d313a; font-size:14px; line-height:1.45; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.xl-product-stock { margin:7px 0 0; color:#979ca5; font-size:11px; }
.xl-product-tags { min-height:20px; margin:8px 0; }
.xl-product-tags span { display:inline-block; margin-right:4px; padding:3px 5px; border-radius:4px; background:#fff2ea; color:#ff7655; font-size:10px; }
.xl-product-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:auto; }
.xl-price { color:var(--xl-red); font-size:18px; font-weight:800; }
.xl-buy { display:inline-flex; align-items:center; justify-content:center; min-height:32px; padding:0 10px; border-radius:17px; background:var(--xl-red); color:white; font-size:12px; font-weight:700; white-space:nowrap; }
.xl-buy:hover { color:white; background:var(--xl-red-deep); }
.store-trust { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:18px; padding:18px; border:1px solid #f7e7e0; border-radius:14px; background:#fff9f6; }
.store-trust div { display:flex; align-items:center; justify-content:center; gap:9px; color:#6b6870; font-size:12px; border-right:1px solid #f1dcd3; }
.store-trust div:last-child { border-right:0; }
.store-trust .store-fa { flex:0 0 auto; color:var(--xl-red); font-size:19px; }
.store-trust strong { display:block; color:#46444a; font-size:13px; }

.store-footer { max-width:1400px; margin:0 auto; padding:20px 18px 28px; text-align:center; color:#9b9290; font-size:12px; }
.store-footer a { color:#7d7472; }
.store-footer .custom { margin-top:7px; }

/* Shared purchase, payment and query surfaces */
.main-container { padding:20px 0 35px; }
.good-card .card, .order-info .card, .bill .card, .qrpay .card { border:1px solid var(--xl-line); border-radius:var(--xl-radius); box-shadow:0 12px 30px rgba(143,67,42,.06); }
.good-card .card-title { color:var(--xl-ink); font-weight:800; }
.good-card .btn-primary, .good-card .btn-outline-primary, .good-card .nav-pills .nav-link.active { border-color:var(--xl-red); background:var(--xl-red); color:white; }
.good-card .btn-outline-primary { border-radius:10px; font-weight:700; }
.good-card .form-control { min-height:42px; border-radius:9px; border-color:#e8e3e1; }
.good-card .form-control:focus { border-color:#ff9b86; box-shadow:0 0 0 .2rem rgba(255,63,34,.1); }
.good-card .card-img-top { object-fit:contain; }

@media (max-width: 1199.98px) {
    .store-header-inner { gap:24px; }
    .store-layout { grid-template-columns:210px minmax(0,1fr) 220px; gap:14px; }
    .store-hero-copy { padding:37px 32px; }
    .store-hero h1 { font-size:38px; }
    .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 991.98px) {
    .store-header-inner { min-height:72px; }
    .store-brand { min-width:0; }
    .store-brand-title { font-size:25px; }
    .store-brand-subtitle { display:none; }
    .store-nav { display:none; }
    .store-mobile-toggle { display:block; }
    .store-search { width:min(390px, 50vw); }
    .store-layout { grid-template-columns:minmax(0,1fr) 230px; }
    .category-panel { display:none; }
}
@media (max-width: 767.98px) {
    .store-header { position:relative; }
    .store-header-inner { gap:12px; min-height:66px; padding:0 2px; }
    .store-header .container { padding:0 16px; }
    .store-brand-title { font-size:23px; }
    .store-search { display:none; }
    .store-mobile-menu { display:none; padding:0 16px 16px; }
    .store-mobile-menu.show { display:flex; flex-wrap:wrap; gap:8px; }
    .store-mobile-menu a { padding:8px 12px; border-radius:8px; background:#fff4ef; color:var(--xl-red); font-size:13px; font-weight:700; }
    .store-main { padding:7px 12px 26px; }
    .store-top-notice { min-height:34px; font-size:11px; }
    .store-layout { display:block; }
    .order-panel { margin-top:14px; padding:20px 18px; }
    .store-hero { min-height:365px; border-radius:16px; background-position:62% center; }
    .store-hero:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(224,43,17,.92) 0%,rgba(237,61,29,.76) 56%,rgba(245,90,42,.16) 100%); }
    .store-hero-copy { width:86%; padding:32px 24px; }
    .store-hero h1 { margin-top:18px; font-size:34px; letter-spacing:-1px; }
    .store-hero p { font-size:15px; }
    .hero-points { flex-wrap:wrap; gap:7px; margin-top:22px; }
    .hero-points div { padding:7px 9px; font-size:11px; }
    .hero-points small { display:none; }
    .store-announcement { align-items:flex-start; display:grid; grid-template-columns:auto auto minmax(0,1fr); gap:8px; margin:13px 0; padding:12px 14px; font-size:12px; }
    .store-announcement .announcement-content { overflow:visible; white-space:normal; text-overflow:clip; line-height:1.65; }
    .products-panel { padding:18px 13px; border-radius:16px; }
    .products-heading { margin-bottom:14px; }
    .products-heading h2 { font-size:18px; }
    .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .xl-product-image { height:116px; padding:13px; }
    .xl-product-body { padding:11px; }
    .xl-product-title { font-size:13px; }
    .xl-product-bottom { display:block; }
    .xl-price { display:block; margin-bottom:8px; font-size:16px; }
    .xl-buy { width:100%; min-height:30px; }
    .store-trust { grid-template-columns:repeat(2,1fr); gap:14px 0; padding:16px 6px; }
    .store-trust div { justify-content:flex-start; padding-left:12px; border-right:0; }
    .store-footer { padding:14px 20px 25px; line-height:1.8; }
    .main-container { padding:8px 0 24px; }
    .good-card .card { margin:12px 0 !important; border-radius:15px; }
}
@media (max-width: 374.98px) {
    .store-hero h1 { font-size:30px; }
    .product-grid { gap:8px; }
    .xl-product-body { padding:9px; }
    .xl-product-tags { display:none; }
}
