/* Boutique storefront refresh */
:root { --lh-primary: #55213f; --lh-on-primary: #fff; --lh-accent: #ead1df; --lh-divider: #e6d2de; }
body { color: #321b2c; background: #fbf5f8; }
.am-shell { background: #f7eaf1; color: #45243b; box-shadow: none; }
.am-shell .am-header-action, .am-shell .am-cart-link, .am-shell .am-cart-preview, .am-shell .am-header-locales .lh-action { color: #45243b; }
.am-header-logo { background: transparent; }
.am-search-form { border: 1px solid #cdaabd; border-radius: 8px; }
.am-search-form .btn { background: #612747; color: #fff; border-radius: 0 7px 7px 0; }
.am-navigation { background: #55213f; border: 0; }
.am-quicklinks a { color: #fff; }
.am-quicklinks a:hover { color: #ffe0ef; }
.am-menu-toggle { background: #55213f; color: #fff; }
.am-footer { background: #f2e4ec; border-color: #e3cdd9; }
.am-backtop { background: #55213f; }
.rf-home.am-home { background: #fbf5f8; padding: 0 0 36px; }
.rf-home > .container { max-width: 1440px; }
.rf-home .am-home-hero { position: relative; margin: 18px 0 38px; overflow: hidden; border-radius: 9px; background: #ead5e4; }
.rf-home .am-home-hero .carousel { margin: 0; box-shadow: none; border: 0; }
.rf-home .am-home-hero .carousel-item img { width: 100%; display: block; }
.rf-home .home-hero-copy { position: absolute; z-index: 3; top: 50%; left: 6%; transform: translateY(-50%); max-width: 37%; padding: 24px 28px; border-radius: 8px; background: rgba(255,247,251,.91); color: #4c203a; }
.home-eyebrow { color: #873a67; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.rf-home .home-hero-copy h1 { margin: 10px 0; font-family: Georgia, 'Songti SC', serif; font-size: clamp(26px,3.3vw,48px); font-weight: 700; line-height: 1.18; }
.rf-home .home-hero-copy p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; }
.home-primary-link { display: inline-flex; align-items: center; gap: 16px; padding: 12px 23px; border-radius: 30px; background: #612747; color: #fff; font-weight: 700; text-decoration: none; }
.home-primary-link:hover, .home-primary-link:focus { background: #873a67; color: #fff; }
.home-section-head, .rf-home .am-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.home-section-head h2, .rf-home .am-section-heading h2 { display: inline-block; margin: 7px 0; color: #49203a; font-family: Georgia, 'Songti SC', serif; font-size: clamp(24px,2.4vw,32px); font-weight: 700; }
.home-section-head p, .rf-home .am-section-heading p { display: inline-block; margin: 0 0 0 16px; color: #745a69; font-size: 14px; }
.home-section-head > a, .rf-home .am-section-heading > a { color: #632447; font-weight: 700; white-space: nowrap; }
.rf-home .am-home-categories, .rf-home .am-home-products { margin: 0 0 48px; }
.rf-home .am-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.rf-home .am-category-grid a { display: grid; grid-template-columns: 1fr auto; padding: 0 0 14px; gap: 8px; overflow: hidden; background: #f4e5ed; border: 0; border-radius: 8px; color: #4b213a; box-shadow: none; transition: transform .2s, box-shadow .2s; }
.rf-home .am-category-grid a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #63244720; text-decoration: none; }
.rf-home .am-category-grid img { grid-column: 1 / -1; width: 100%; height: 145px; object-fit: contain; background: #f8f0f4; }
.rf-home .am-category-grid span { padding-left: 13px; }
.rf-home .am-category-grid i { padding-right: 13px; }
.rf-home .am-home-modules { margin: 0 0 42px; }
.rf-home .am-home-modules h3 { color: #49203a; font-family: Georgia, 'Songti SC', serif; font-weight: 700; margin-bottom: 18px; }
.rf-home .am-product-card { overflow: hidden; background: #fff; border: 1px solid #efdee7; border-radius: 9px; box-shadow: 0 4px 14px #55213f0b; }
.rf-home .am-product-card .am-card-image { background: #faf5f8; }
.rf-home .am-product-card h3, .rf-home .am-product-card h3 a { color: #422038; }
.rf-home .am-product-card .am-card-add { background: #612747; color: #fff; border-color: #612747; border-radius: 5px; }
.rf-home .store-help { margin-top: 36px; }
.rf-home .store-help-grid a { background: #f4e4ec; border: 0; border-radius: 8px; color: #55213f; }
@media (max-width: 767.98px) {
 .am-shell { background: #55213f; }
 .am-shell .am-header-action, .am-shell .am-cart-link, .am-shell .am-cart-preview { color: #fff; }
 .am-header-logo { background: #fff; }
 .rf-home .am-home-hero { margin: 12px 0 26px; border-radius: 6px; overflow: visible; }
 .rf-home .home-hero-copy { position: relative; top: auto; left: auto; transform: none; max-width: none; padding: 22px; border-radius: 0 0 6px 6px; }
 .rf-home .home-hero-copy h1 { font-size: 26px; }
 .rf-home .home-hero-copy p { font-size: 14px; margin-bottom: 14px; }
 .rf-home .am-home-hero { display: flex; flex-direction: column-reverse; }
 .rf-home .am-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
 .rf-home .am-category-grid img { height: 105px; }
 .rf-home .am-category-grid a { font-size: 12px; }
 .home-section-head, .rf-home .am-section-heading { align-items: start; }
 .home-section-head p, .rf-home .am-section-heading p { display: block; margin: 0; }
 .home-section-head > a, .rf-home .am-section-heading > a { font-size: 12px; }
}
.home-section-head .home-eyebrow, .am-section-heading .home-eyebrow { display: block; }
.rf-home .am-home-hero .carousel-item .row { margin: 0; }
.rf-home .am-home-hero .carousel-item .row > div { padding: 0; }
@media (max-width: 767.98px) { .rf-home .am-home-hero .carousel-control-prev, .rf-home .am-home-hero .carousel-control-next { max-width: 12%; } }
.rf-home .am-home-hero .carousel { overflow: hidden; }
.rf-home .home-service-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: -18px 0 36px; padding: 15px 0; background: #f5e7ee; border-radius: 6px; }
.rf-home .home-service-links a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; color: #55213f; font-weight: 700; border-right: 1px solid #e5cedb; }
.rf-home .home-service-links a:last-child { border-right: 0; }
.rf-home .home-service-links i { font-size: 19px; }
@media (max-width: 767.98px) { .rf-home .home-service-links { margin: -12px 0 28px; padding: 8px; grid-template-columns: repeat(4,minmax(0,1fr)); } .rf-home .home-service-links a { gap: 5px; flex-direction: column; font-size: 11px; text-align: center; } .rf-home .home-service-links i { font-size: 16px; } }
@media (min-width: 768px) {
 .rf-home .am-home-hero { display: grid; grid-template-columns: minmax(280px, 32%) minmax(0, 68%); align-items: center; background: #f3e2eb; }
 .rf-home .home-hero-copy { position: static; transform: none; max-width: none; padding: 24px 9%; background: transparent; }
 .rf-home .am-home-hero .carousel { min-width: 0; }
 .rf-home .home-hero-copy h1 { font-size: clamp(25px, 2.7vw, 40px); }
}

/* [二开] 首页「逛逛全部分类」：竖版系列卡横滑区 */
.rf-home .lh-cs-section { position: relative; margin: 0 0 48px; padding: 30px 26px 22px; border: 1px solid #f0dbe7; border-radius: 16px; overflow: hidden;
 background: radial-gradient(120% 92% at 90% -12%, #f8e2ef 0%, rgba(248,226,239,0) 58%), linear-gradient(112deg, #fdf7fa 0%, #f9edf4 46%, #f4e1ec 100%); }
.rf-home .lh-cs-deco { position: absolute; top: -8px; right: 0; z-index: 0; width: 400px; max-width: 46%; line-height: 0; opacity: .9; pointer-events: none; }
.rf-home .lh-cs-deco svg { display: block; width: 100%; height: auto; }
.rf-home .lh-cs-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 20px; }
.rf-home .lh-cs-heading h2 { position: relative; margin: 0; padding-left: 15px; color: #4a1a33; font-family: Georgia, 'Songti SC', 'Noto Serif SC', serif; font-size: clamp(22px, 2.1vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.rf-home .lh-cs-heading h2::before { content: ""; position: absolute; left: 0; top: .16em; width: 3px; height: 1.1em; border-radius: 2px; background: #7d3054; }
.rf-home .lh-cs-heading p { margin: 7px 0 0 15px; color: #7f6273; font-size: 13.5px; letter-spacing: .02em; }
.rf-home .lh-cs-all { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 11px 22px; border-radius: 999px; background: #55213f; color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; text-decoration: none; box-shadow: 0 8px 18px rgba(85,33,63,.18); transition: background .2s, transform .2s, box-shadow .2s; }
.rf-home .lh-cs-all i { font-size: 11px; transition: transform .2s; }
.rf-home .lh-cs-all:hover, .rf-home .lh-cs-all:focus { background: #7a3a5d; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(85,33,63,.24); text-decoration: none; }
.rf-home .lh-cs-all:hover i { transform: translateX(3px); }
.rf-home .lh-cs-railwrap { position: relative; z-index: 1; }
.rf-home .lh-cs-rail { --cat-gap: 16px; --cat-cols: 6.5; display: flex; gap: var(--cat-gap); padding: 8px 4px 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.rf-home .lh-cs-rail:focus-visible { outline: 2px solid #9a5578; outline-offset: 4px; border-radius: 12px; }
.rf-home .lh-cs-rail::-webkit-scrollbar { display: none; }
.rf-home .lh-cs-card { flex: 0 0 calc((100% - (var(--cat-cols) - 1) * var(--cat-gap)) / var(--cat-cols)); scroll-snap-align: start; display: block; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 6px 16px rgba(85,33,63,.07); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.rf-home .lh-cs-card:hover, .rf-home .lh-cs-card:focus { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(85,33,63,.15); text-decoration: none; }
.rf-home .lh-cs-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #f7eaf1; }
.rf-home .lh-cs-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rf-home .lh-cs-card:hover .lh-cs-media img { transform: scale(1.05); }
.rf-home .lh-cs-name { display: block; min-height: 21px; padding: 13px 8px 14px; background: #fff; color: #4a1a33; font-size: 15.5px; font-weight: 600; line-height: 1.35; text-align: center; letter-spacing: .03em; }
.rf-home .lh-cs-nav { position: absolute; top: 44%; z-index: 4; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #55213f; font-size: 13px; cursor: pointer; box-shadow: 0 6px 18px rgba(85,33,63,.2); transition: background .2s, color .2s, opacity .2s; }
.rf-home .lh-cs-nav:hover { background: #55213f; color: #fff; }
.rf-home .lh-cs-prev { left: -10px; }
.rf-home .lh-cs-next { right: -10px; }
.rf-home .lh-cs-nav[disabled] { opacity: 0; pointer-events: none; }
.rf-home .lh-cs-dots { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
.rf-home .lh-cs-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: #dcc0d1; cursor: pointer; transition: width .25s, background .25s; }
.rf-home .lh-cs-dots button.is-on { width: 20px; background: #55213f; }
.rf-home .lh-cs-section:not(.is-scrollable) .lh-cs-nav, .rf-home .lh-cs-section:not(.is-scrollable) .lh-cs-dots { display: none; }
@media (max-width: 1279.98px) { .rf-home .lh-cs-rail { --cat-cols: 5.4; } }
@media (max-width: 991.98px) { .rf-home .lh-cs-rail { --cat-cols: 4.4; } .rf-home .lh-cs-section { padding: 24px 18px 18px; } }
@media (max-width: 767.98px) {
 .rf-home .lh-cs-section { padding: 20px 14px 16px; border-radius: 12px; }
 .rf-home .lh-cs-rail { --cat-cols: 2.2; --cat-gap: 10px; }
 .rf-home .lh-cs-nav { display: none; }
 .rf-home .lh-cs-heading h2 { font-size: 20px; }
 .rf-home .lh-cs-heading p { margin-top: 5px; font-size: 12px; }
 .rf-home .lh-cs-all { padding: 9px 15px; font-size: 12px; gap: 6px; }
 .rf-home .lh-cs-name { padding: 10px 6px 11px; font-size: 13px; }
 .rf-home .lh-cs-deco { width: 230px; opacity: .75; }
}
