/* Blue-green, compact portal styling derived from the authorised reference layout.
   All merchandise, shops, contacts and transaction data remain runtime supplied. */
:root { color:#333; background:#fff; }
.shell { max-width:1170px; }
.topbar { height:32px; background:#f2f2f2; color:#666; }
.topbar .shell { font-size:12px; }
.topbar a { color:#666; }
.header { border-bottom:0; background:#fff; }
.head { min-height:98px; padding:0; gap:22px; }
.logo { max-width:290px; color:#27323b; font:700 24px/1.1 Georgia,"Songti SC",serif; letter-spacing:0; }
.logo small { display:block; margin-top:7px; color:#8b949a; font:600 9px/1 Arial,sans-serif; letter-spacing:1.7px; }
.nav { align-self:stretch; gap:0; margin-left:12px; }
.nav a { position:relative; display:flex; align-items:center; padding:0 15px; color:#3c4850; font-size:14px; }
.nav a:hover,.nav a.active { color:#1591a0; }
.nav a:hover::after,.nav a.active::after { content:""; position:absolute; right:15px; bottom:16px; left:15px; height:2px; background:#22a6b5; }
.search { order:3; min-width:190px; height:30px; margin-left:auto; padding:0 8px; border:1px solid #d4d4d4; border-radius:0; background:#fff; }
.search button { width:33px; margin:-1px -9px -1px 5px; color:#fff; background:#2b96a6; font-size:18px; }
.head-actions { gap:9px; font-size:12px; }
.cart-link { padding:7px 10px; color:#525d63; background:#f2f2f2; font-weight:500; }
.cart-count-badge { background:#ed6a3b; }

.main { min-height:700px; background:#fff; }
.hero { position:relative; display:grid; grid-template-columns:1fr; min-height:270px; margin-top:22px; border-radius:0; background:#e6f4f5; overflow:hidden; }
.hero-copy { z-index:1; width:53%; padding:50px 52px; background:linear-gradient(90deg,#effafb 0%,#effafbd9 58%,transparent 100%); }
.eyebrow { color:#1b9daa; font-size:10px; letter-spacing:1.5px; }
.hero h1 { margin:13px 0; color:#33414b; font:35px Georgia,"Songti SC",serif; letter-spacing:1px; }
.hero p { max-width:380px; margin-bottom:24px; color:#617079; font-size:14px; line-height:1.8; }
.hero .btn { min-height:35px; padding:8px 17px; border-radius:1px; background:#2d9dab; font-size:13px; }
.hero .btn:hover { background:#187b89; }
.hero-image { position:absolute; inset:0; height:auto; background:linear-gradient(125deg,#c3e5e8 0%,#e4f7f5 47%,#a7d6d2 100%); }
.hero-image::before { content:""; position:absolute; top:-22%; right:-7%; width:49%; height:125%; border:42px solid #ffffff86; border-radius:50%; transform:rotate(-20deg); }
.hero-image::after { content:""; position:absolute; right:13%; bottom:16%; width:240px; height:118px; border-radius:70% 30% 70% 35%; background:linear-gradient(135deg,#46a7a9,#b5e6d2); box-shadow:-65px -25px 0 #ffffff80; }
.hero-image .art,.hero-label { display:none!important; background-image:none!important; }

.section { padding-top:31px; }
.section-heading { display:flex; align-items:center; margin-bottom:15px; padding-bottom:10px; border-bottom:2px solid #313b42; }
.section-heading h2,.section-heading h1 { color:#303a41; font-family:Arial,"Microsoft YaHei",sans-serif; font-size:18px; }
.section-heading p { color:#91999d; font-size:12px; }
.more { color:#1f8f9e; font-size:12px; }
.categories { display:flex; gap:0; border:1px solid #e0e0e0; }
.cat { flex:1; min-height:68px; padding:15px 16px; border-right:1px solid #e5e5e5; border-radius:0; background:#fff!important; }
.cat:last-child { border-right:0; }
.cat:hover { background:#f1fbfb!important; }
.cat strong { display:block; margin-bottom:4px; color:#39444b; font-size:14px; }
.cat span { color:#8b969a; font-size:11px; }
.grid { grid-template-columns:repeat(4,1fr); gap:16px; }
.product { border:1px solid #e2e2e2; border-radius:0; box-shadow:none; }
.product:hover,.shop-card:hover { border-color:#75b9c0; box-shadow:none; transform:none; }
.photo { aspect-ratio:1; background:#f5f5f5; }
.tag { top:8px; left:8px; padding:3px 6px; border-radius:0; color:#258c9b; background:#effafa; }
.pbody { padding:12px; }
.pname { min-height:39px; margin-bottom:5px; color:#354047; font-size:13px; line-height:1.5; }
.pdesc,.shopline { color:#6a7479; font-size:11px; }
.price-row { margin-top:10px; }
.price { color:#e2542d; font-size:18px; }
.shopline { margin-top:9px; padding-top:8px; border-top:1px solid #eee; }
.feature { margin-top:34px; padding:23px 28px; border-left:4px solid #2d9dab; border-radius:0; background:#edfafa; }
.feature h3 { color:#304047; font-size:18px; }
.feature p { font-size:12px; }
.btn,.btn.outline,.btn.light { min-height:36px; padding:8px 15px; border-radius:1px; font-size:13px; }
.btn { background:#2c9eac; }
.btn:hover { background:#187d8b; }
.btn.outline { border-color:#55aab5; color:#278c9a; }
.btn.light { color:#277d89; background:#edf9fa; }
.benefits { gap:0; padding:26px 0; border-top:1px solid #eee; border-bottom:1px solid #eee; }
.benefit { justify-content:center; border-right:1px solid #eee; font-size:11px; }
.benefit:last-child { border-right:0; }
.benefit b { display:block; color:#3a4a51; font-size:13px; }
.bubble { width:33px; height:33px; border-radius:0; color:#2c98a8; background:#edf9fa; }

.crumb { padding:22px 0 13px; color:#899397; }
.pagetitle { color:#313e46; font:700 26px Georgia,"Songti SC",serif; }
.subtitle { color:#7c888d; }
.layout { grid-template-columns:200px 1fr; gap:18px; margin-top:20px; }
.sidebar,.panel,.sortbar,.summary { border-color:#dedede; border-radius:0; box-shadow:none; }
.sidebar { padding:16px; }
.sidebar h3 { padding-bottom:11px; border-bottom:1px solid #e8e8e8; color:#3b464c; }
.filter { padding:10px 7px; border-bottom:1px solid #f0f0f0; border-radius:0; color:#616c72; }
.filter.on,.filter:hover { color:#168e9e; background:#f0fbfc; }
.catalog .grid { grid-template-columns:repeat(3,1fr); }
.sortbar { margin-bottom:14px; padding:11px 13px; background:#fafafa; }
.sortbar input { padding:6px 9px; border-radius:0; }
.product-detail { grid-template-columns:480px 1fr; gap:38px; }
.detail-photo { border:1px solid #e4e4e4; border-radius:0; }
.detail-info h1 { color:#303a41; font-size:24px; }
.detail-info p { font-size:13px; }
.pricebox { margin:17px 0; padding:14px 18px; border-left:4px solid #ef7140; border-radius:0; color:#e2552e; background:#f7f7f7; }
.pricebox strong { font-size:28px; }
.spec { margin:16px 0; color:#616c72; }
.option,.detail-thumbnails button,.pagination button { border-radius:0; }
.option.on,.pdp-spec-btn[aria-pressed=true] { border-color:#2d9dab; color:#fff; background:#2d9dab; }
.merchant { padding:14px 16px; border-color:#dce9e9; border-radius:0; }
.columns { gap:18px; margin-top:20px; }
.summary { padding:18px; }
.sumtotal strong { color:#e2542d; }
.shop-grid { grid-template-columns:repeat(3,1fr); gap:16px; margin-top:20px; }
.shop-card { border-color:#e0e0e0; border-radius:0; }
.shop-cover { height:74px; background:linear-gradient(105deg,#b9e2e4,#f4fbfb); }
.shop-avatar,.store-logo { border-radius:0; color:#2d929f; }
.shop-avatar { width:54px; height:54px; margin-top:-27px; font-size:20px; }
.shop-inner { padding:0 16px 16px; }
.shop-inner h3 { color:#39434a; font-size:15px; }
.store-banner { padding:28px; border-left:4px solid #2d9dab; border-radius:0; background:#edfafa; }
.store-logo { width:64px; height:64px; }
.store-banner h1 { color:#354149; font-size:23px; }
.steps { gap:0; border:1px solid #e2e2e2; }
.step { padding:18px; border:0; border-right:1px solid #e2e2e2; border-radius:0; }
.step:last-child { border-right:0; }
.step em { color:#9fd5da; }
.merchant-hero { padding:36px; border-left:4px solid #2d9dab; border-radius:0; background:#edfafa; }
.merchant-hero h1 { color:#33414a; font:700 28px Georgia,"Songti SC",serif; }
.field input,.field select,.field textarea { border-color:#d8d8d8; border-radius:0; outline-color:#2a9dab; }
.stage-tabs { color:#768389; }
.stage-tabs .font-bold { color:#188f9e; }
.payment-panel { border-top:3px solid #2c9eac; }
.shop-s-loading,.shop-s-error { padding:22px; color:#859589; font-size:13px; text-align:center; }
.shop-s-error { color:#a84e3a; }
.placeholder,.shop-s-thumb-fallback { display:flex; align-items:center; justify-content:center; width:100%; height:100%; min-height:150px; color:#889297; background:#f0f2f3; font-size:13px; }
.detail-photo img,.photo img { width:100%; height:100%; object-fit:contain; background:#fff; }
.detail-thumbnails { display:flex; gap:10px; margin-top:12px; overflow-x:auto; }
.detail-thumbnails button { width:68px; height:68px; flex:none; }
.detail-thumbnails img { object-fit:contain; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
#store-hero h1,.shop-card p { overflow-wrap:anywhere; }

@media (max-width:1000px) { .head { padding:12px 20px; } .nav { margin-left:0; } .search { min-width:150px; } .product-detail { grid-template-columns:400px 1fr; } .hero-copy { width:64%; } }
@media (max-width:760px) { .hero-copy { width:100%; padding:34px 25px; background:#effafbe9; } .hero h1 { font-size:28px; } .nav { order:4; } .search { order:3; } .header .head { gap:9px; } .benefits { grid-template-columns:repeat(2,1fr); gap:13px; } .benefit:nth-child(2) { border-right:0; } .steps { grid-template-columns:repeat(2,1fr); } .step:nth-child(2) { border-right:0; } .product-detail,.grid,.catalog .grid { grid-template-columns:repeat(2,1fr); } .product-detail { grid-template-columns:1fr; } }

/* Authorised-reference reconstruction: restrained 984px commerce portal hierarchy. */
:root { background:#fff; }
.shell { width:984px; max-width:calc(100% - 32px); padding:0; }
.topbar { height:30px; border-top:5px solid #6bbfc8; background:#f4f5f6; color:#777; }
.topbar .shell { display:flex; align-items:center; justify-content:space-between; height:25px; font-size:12px; }
.topbar a { color:#3ba7b6; }
.masthead { display:flex; align-items:center; justify-content:space-between; height:160px; }
.header .masthead .logo { min-width:330px; max-width:390px; color:#42afbf; font-family:"Microsoft YaHei",sans-serif; font-size:23px; font-weight:400; }
.header .masthead .logo small { margin-top:18px; color:#aaa; font-family:"Microsoft YaHei",sans-serif; font-size:12px; font-style:italic; font-weight:400; letter-spacing:0; }
.masthead .search { order:0; width:228px; min-width:228px; height:35px; margin:0; padding:0 8px; border:1px solid #c9c9c9; border-radius:0; background:#fff; }
.masthead .search button { width:30px; margin:-1px -9px -1px 4px; color:#444; background:transparent; }
.masthead .head-actions { display:flex; align-items:center; justify-content:flex-end; min-width:290px; gap:12px; color:#777; font-size:13px; }
.masthead .head-actions i { width:1px; height:14px; background:#ddd; }
.masthead .head-actions button { padding:0; border:0; color:#777; background:transparent; }
.masthead .cart-link { padding:11px 14px; color:#444; background:#f4f5f6; }
.main-nav-wrap { border-top:1px solid #dedede; background:#f3f5f6; }
.main-nav-wrap .shell { height:70px; }
.main-nav-wrap .nav { display:flex; align-items:stretch; height:70px; margin:0; }
.main-nav-wrap .nav a { padding:0 18px; color:#444; font-size:14px; }
.main-nav-wrap .nav a:hover,.main-nav-wrap .nav a.active { color:#fff; background:#70c2cf; font-weight:400; }
.main-nav-wrap .nav a:hover::after,.main-nav-wrap .nav a.active::after { display:none; }
.main { min-height:640px; background:#fff; }
.shop-home-shell { padding-top:0; }
.hero { display:grid; grid-template-columns:55% 45%; width:984px; max-width:100%; min-height:480px; height:480px; margin:0; border-radius:0; background:linear-gradient(105deg,#f2f6f9,#edf6f7); overflow:hidden; }
.hero-media { position:relative; display:flex; align-items:center; justify-content:center; min-width:0; background:linear-gradient(135deg,#e8edf2,#f8fafb); }
.hero-media::before { content:""; position:absolute; inset:50px 38px 45px 48px; border:1px solid #e1e9ed; background:linear-gradient(135deg,#eef4f7,#fdfdfd); }
.hero-media img { position:relative; z-index:1; display:block; width:82%; height:76%; object-fit:contain; }
.hero-empty-mark { position:relative; z-index:1; display:grid; width:156px; height:156px; place-items:center; border:1px solid #c9dce0; color:#7faeb5; background:#fff; font-size:20px; letter-spacing:5px; }
.hero-copy { display:flex; position:relative; z-index:1; flex-direction:column; align-items:flex-start; justify-content:center; width:auto; padding:90px 54px 75px 28px; background:transparent; }
.hero .eyebrow { margin-bottom:14px; padding:5px 12px; color:#666; background:#fff; font-size:13px; letter-spacing:0; }
.hero h1 { margin:0 0 18px; color:#666; font-family:"Microsoft YaHei",sans-serif; font-size:36px; font-weight:400; line-height:1.25; letter-spacing:0; }
.hero p { margin:0 0 22px; color:#7d7d7d; font-size:14px; }
.hero .btn { min-height:0; padding:6px 12px; color:#666; background:#fff; font-size:14px; font-weight:400; }
.hero .btn:hover { color:#fff; background:#60b9c5; }
.hero-control { position:absolute; z-index:3; top:50%; display:grid; width:40px; height:40px; place-items:center; border:0; color:#777; background:#ffffffd9; font-size:28px; font-weight:300; line-height:1; transform:translateY(-50%); }
.hero-control:hover { color:#fff; background:#6abfca; }
.hero-prev { left:0; }
.hero-next { right:0; }
.hero-dots { position:absolute; z-index:3; right:24px; bottom:22px; display:flex; gap:7px; }
.hero-dots button { width:10px; height:10px; padding:0; border:0; border-radius:50%; background:#bcc6c8; }
.hero-dots button.active { background:#758486; }
.latest-section { padding-top:29px; }
.home-categories,.home-stores-section { padding-top:30px; }
.section-heading { align-items:center; min-height:44px; margin-bottom:28px; padding-bottom:14px; border-bottom:1px solid #ddd; }
.section-heading h2 { color:#4d4d4d; font-size:24px; font-weight:400; }
.section-heading p { display:none; }
.more { color:#6b7072; font-size:12px; }
.more:hover { color:#41a9b8; }
.latest-section .grid { grid-template-columns:repeat(4,1fr); gap:24px; }
.product { border:1px solid #dedede; background:#fff; }
.product:hover { border-color:#78c5ce; }
.photo { height:218px; aspect-ratio:auto; background:#f5f5f5; }
.pbody { padding:12px 13px; }
.pname { min-height:21px; margin:0 0 7px; color:#555; font-size:13px; }
.pdesc { display:none; }
.price-row { margin-top:4px; }
.price { color:#e85835; font-size:16px; }
.shopline { overflow:hidden; margin-top:8px; padding-top:8px; color:#888; text-overflow:ellipsis; white-space:nowrap; }
.categories { display:flex; border:0; background:#f5f6f7; }
.cat { min-height:54px; padding:12px 16px; border:0; border-right:1px solid #e1e4e5; background:#f5f6f7!important; }
.cat:hover { background:#e8f6f8!important; }
.cat strong { margin:0; font-weight:400; }
.cat span { display:none; }
.feature,.benefits { display:none; }
.home-stores-section .shop-grid { grid-template-columns:repeat(3,1fr); gap:24px; margin-top:0; }
.shop-card { border:1px solid #dedede; }
.shop-cover { height:70px; background:#e8f4f5; }
.shop-inner { padding:0 15px 15px; }
.shop-avatar { color:#54afbc; }
.crumb { padding:24px 0 16px; }
.pagetitle { color:#4e4e4e; font-family:"Microsoft YaHei",sans-serif; font-size:25px; font-weight:400; }
.layout { grid-template-columns:185px 1fr; gap:20px; }
.sidebar,.panel,.sortbar,.summary { border-color:#dedede; }
.catalog .grid { grid-template-columns:repeat(3,1fr); gap:20px; }
.catalog .photo { height:205px; }
.sortbar { border:1px solid #e1e1e1; background:#f5f6f7; }
.product-detail { grid-template-columns:430px 1fr; gap:42px; }
.detail-photo { aspect-ratio:1; border-color:#dedede; }
.store-banner,.merchant-hero { border-left:0; background:#f1f7f8; }
.shop-grid { grid-template-columns:repeat(3,1fr); }
.page .section-heading { border-bottom-color:#ddd; }
@media (max-width:760px) { .shell { max-width:calc(100% - 24px); } .masthead { height:auto; min-height:120px; flex-wrap:wrap; gap:12px; padding:18px 0; } .header .masthead .logo { min-width:0; width:100%; } .masthead .search { width:55%; min-width:0; } .masthead .head-actions { min-width:0; flex:1; } .main-nav-wrap .shell,.main-nav-wrap .nav { height:auto; } .main-nav-wrap .nav { overflow-x:auto; } .main-nav-wrap .nav a { min-height:48px; padding:0 15px; white-space:nowrap; } .hero { grid-template-columns:1fr; height:auto; min-height:420px; } .hero-media { height:230px; } .hero-copy { padding:30px 28px; } .hero h1 { font-size:28px; } .latest-section .grid { grid-template-columns:repeat(2,1fr); gap:12px; } .photo { height:170px; } .catalog .grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:760px) {
  .layout, .product-detail { grid-template-columns:minmax(0, 1fr); }
  .layout > *, .product-detail > * { min-width:0; }
}

/* Keep the reference portal's grid and blue-green accents consistent across pages. */
.product { display:flex; flex-direction:column; min-width:0; }
.product .photo, .catalog .photo { height:auto; aspect-ratio:1; }
.product .pbody { display:flex; flex:1; flex-direction:column; gap:8px; }
.product .pname { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:40px; margin:0; font-size:14px; line-height:1.45; overflow-wrap:anywhere; }
.product .price-row { margin-top:auto; }
.product .shopline { margin-top:2px; font-size:12px; }
.category-shelf .grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.categories { flex-wrap:wrap; }
.cat { min-width:150px; }
.detail-info h1 { overflow-wrap:anywhere; line-height:1.4; }
.detail-info .spec { flex-wrap:wrap; align-items:flex-start; gap:10px; }
.detail-info .spec button { white-space:normal; line-height:1.4; }
.detail-photo img, .shop-s-detail-image { max-width:100%; object-fit:contain; }
.panel, .summary, .merchant, .studio-card { overflow-wrap:anywhere; }
.sortbar { gap:12px; flex-wrap:wrap; align-items:center; }
.sortbar input { max-width:180px; }
.stage-tabs { flex-wrap:wrap; row-gap:8px; }
.payment-panel label { display:block; margin:10px 0; }
@media(max-width:760px){ .category-shelf .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .cat { min-width:50%; } .product .pname { font-size:13px; } }
@media(max-width:420px){ .cat { min-width:100%; } }

.hero h1, .hero p { overflow-wrap:anywhere; }
@media (max-width:900px) {
  .masthead { height:auto; min-height:110px; flex-wrap:wrap; gap:12px; padding:18px 0; }
  .header .masthead .logo { min-width:0; max-width:100%; width:100%; }
  .masthead .search { flex:1 1 220px; width:auto; min-width:0; }
  .masthead .head-actions { min-width:0; flex:0 1 auto; }
  .main-nav-wrap .nav { flex-wrap:nowrap; overflow-x:auto; }
  .main-nav-wrap .nav a { flex:0 0 auto; }
}

/* Compact reference navigation, breathing room above the shared footer, and softer store cards. */
.main-nav-wrap .shell, .main-nav-wrap .nav { height:50px; }
.main { padding-bottom:64px; }
#pane-craft-lead { text-align:center; }
#pane-craft-lead .shop-s-detail-image { display:block; max-width:100%; height:auto; margin-inline:auto; }
.shop-card { border-radius:9px; overflow:hidden; box-shadow:0 2px 8px rgba(29,86,93,.06); transition:border-color .18s, box-shadow .18s, transform .18s; }
.shop-card:hover, .shop-card:focus-visible { border-color:#7abfc7; box-shadow:0 6px 18px rgba(29,86,93,.12); transform:translateY(-2px); }
.shop-avatar { border-radius:7px; }
@media (max-width:760px) {
  .main-nav-wrap .shell, .main-nav-wrap .nav { height:auto; }
  .main { padding-bottom:48px; }
}

/* A quieter product carousel: compact imagery and a restrained text hierarchy. */
.hero { grid-template-columns:52% 48%; height:340px; min-height:340px; background:#f0f7f8; }
.hero-media { background:linear-gradient(135deg,#edf5f6,#f8fbfb); }
.hero-media::before { inset:30px 58px; border:1px solid #e1ecee; border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(53,105,112,.06); }
.hero-media img { width:min(68%,300px); height:245px; max-height:76%; }
.hero-empty-mark { width:132px; height:132px; border-radius:12px; font-size:16px; }
.hero-copy { min-width:0; padding:38px 54px 48px 36px; }
.hero .eyebrow { margin-bottom:14px; padding:5px 10px; border-radius:3px; color:#438c96; background:#fff; font-size:12px; }
.hero h1 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; max-width:100%; margin:0 0 12px; color:#344d53; font-size:23px; font-weight:600; line-height:1.45; }
.hero p { margin:0 0 20px; color:#71898d; font-size:13px; }
.hero .btn { min-height:36px; padding:8px 16px; border-radius:3px; color:#fff; background:#60aeba; font-size:13px; }
.hero-control { width:32px; height:44px; color:#6d9296; font-size:23px; }
.hero-dots { right:22px; bottom:18px; }
.hero-dots button { width:8px; height:8px; }
@media (max-width:760px) {
  .hero { grid-template-columns:1fr; height:auto; min-height:0; }
  .hero-media { height:210px; }
  .hero-media::before { inset:20px 38px; }
  .hero-media img { width:min(60%,230px); height:155px; }
  .hero-copy { padding:24px 28px 46px; }
  .hero h1 { font-size:20px; }
  .hero-dots { bottom:15px; }
}
