:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#27231f;background:#e8e7e4;font-size:14px;letter-spacing:0;--paper:#f4f1ec;--white:#fffdfa;--accent:#a55a35;--muted:#847a70;--line:#e0dad3;--dark:#25211e}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;letter-spacing:0}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input,textarea,select{min-width:0;color:inherit}h1,h2,h3,p{margin:0}h2{font-size:19px}h3{font-size:16px}img{display:block;max-width:100%}[hidden]{display:none!important}.lucide{width:21px;height:21px;stroke-width:1.7;flex-shrink:0}.app-shell{max-width:1120px;min-height:100dvh;margin:auto;background:var(--paper);padding-bottom:calc(74px + env(safe-area-inset-bottom))}.skip-link{position:fixed;top:-100px;z-index:100;padding:12px;background:white}.skip-link:focus{top:10px}.page-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;height:58px;padding:0 20px;background:rgba(244,241,236,.97);border-bottom:1px solid var(--line)}.page-header h1{font-size:18px}.icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;flex-shrink:0}.icon-button:hover{background:#00000008}.page-header .spacer{flex:1}
.hero{position:relative;height:430px;color:white;overflow:hidden;background:#24201d}.hero-image,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{background:linear-gradient(180deg,#120f0d75,#120f0d33 42%,#120f0ddb)}.hero-top{position:relative;display:flex;justify-content:space-between;align-items:center;padding:28px 38px}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff80;background:#d99a70;color:#211c19;font-size:19px}.brand-name{display:block;font-size:22px;font-weight:800}.brand-owner{display:block;margin-top:3px;color:#ffffffb8;font-size:11px}.hero-top .icon-button{border:1px solid #ffffff59;border-radius:50%;background:#14110f61}.hero-copy{position:absolute;left:38px;right:38px;bottom:108px}.hero-kicker{color:#e0a77e;font-size:14px;font-weight:700}.hero-title{margin-top:10px;font-size:36px;font-weight:800;line-height:1.2}.hero-desc{margin-top:12px;color:#ffffffd1;font-size:16px}.search{display:flex;align-items:center;gap:12px;padding:6px 8px 6px 14px;border:1px solid var(--line);border-radius:5px;background:#fffdf9f0}.hero .search{position:absolute;left:38px;right:38px;bottom:28px;height:48px}.search .lucide{color:#6f655c}.search input{border:0;outline:0;background:transparent;width:100%;height:36px;font-size:14px}.search button,.primary{background:var(--accent);color:white;font-weight:650;border-radius:5px;padding:12px 18px;white-space:nowrap}.secondary{border:1px solid #b86d48;border-radius:5px;background:#f7ece4;color:#9d5433;padding:11px 18px;font-weight:600}.text-button{color:var(--accent);padding:8px 0;display:inline-flex;align-items:center;gap:6px}
.category-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:22px 24px;gap:6px;background:var(--white)}.category-entry{min-width:0;text-align:center;display:grid;justify-items:center;gap:9px;font-size:12px;color:#665d55}.category-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid #dcd3ca;border-radius:6px;color:#985536;background:#f3ece5}.category-symbol .lucide{width:24px;height:24px}.service-band{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 20px;background:var(--dark);color:#eee8e1}.service-band>div{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;border-right:1px solid #49413b}.service-band>div:last-child{border:0}.service-band .lucide{width:17px;height:17px;color:#d99a70}.section{padding:26px 28px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.subtitle{color:var(--muted);font-size:12px;margin-top:6px;line-height:1.5}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{display:block;min-width:0;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--white);box-shadow:0 5px 14px #382e260d}.product-visual{position:relative;aspect-ratio:1.5;background:#e3ddd6;overflow:hidden}.product-visual img{width:100%;height:100%;object-fit:cover}.image-missing{display:grid;place-items:center;background:#e3ddd6;color:var(--muted);font-size:12px;min-height:120px}.condition,.location{position:absolute;top:8px;padding:5px 7px;color:white;background:#292420db;border-radius:3px;font-size:11px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.condition{left:8px}.location{right:8px;max-width:53%}.product-body{padding:13px}.product-title{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:40px;font-size:14px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}.tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.tag{padding:4px 6px;border-radius:2px;color:#855238;background:#f0e4db;font-size:11px}.price{color:#9f5030;font-size:23px;font-weight:800;margin-top:12px}.price small{font-size:13px;margin-right:2px}.empty{text-align:center;padding:55px 18px}.empty-icon{display:grid;place-items:center;width:50px;height:50px;margin:0 auto 16px;border:1px solid #d7cec5;background:var(--white);color:#9e5d3c;border-radius:50%}.empty p{color:var(--muted);line-height:1.7;margin:10px auto 20px;max-width:440px;font-size:13px}.notice{padding:12px 16px;color:#9b3830;background:#fff0e9;line-height:1.6;font-size:13px;overflow-wrap:anywhere}.floating-cart{position:fixed;right:max(16px,calc((100vw - 1080px)/2));bottom:calc(88px + env(safe-area-inset-bottom));z-index:21;display:flex;align-items:center;gap:8px;padding:12px 15px;border-radius:24px;background:#292420;color:white;box-shadow:0 6px 14px #211c1833}.badge{background:#dea078;color:#2a241f;border-radius:12px;min-width:18px;display:inline-grid;place-items:center;font-size:11px;padding:2px 5px}.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:1120px;z-index:30;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffdf9fa}.tabbar a{position:relative;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-height:44px;color:#817a72;font-size:11px}.tabbar a[aria-current=page]{color:var(--accent);font-weight:700}.tabbar .badge{position:absolute;top:0;left:calc(50% + 9px)}.site-footer{padding:20px 16px;text-align:center;display:grid;gap:7px;color:#91877d;font-size:11px}
.category-search{padding:16px 20px;background:var(--white)}.category-layout{display:grid;grid-template-columns:140px minmax(0,1fr);min-height:62vh}.category-sidebar{background:#ebe6df;padding:12px 0;display:flex;flex-direction:column;align-items:stretch}.category-tab{display:flex;align-items:center;gap:10px;min-height:58px;padding:14px 12px;text-align:left;font-size:13px;border-left:3px solid transparent}.category-tab.active{border-color:var(--accent);background:var(--paper);color:var(--accent);font-weight:700}.category-tab .lucide{width:18px;height:18px}.category-content{min-width:0;padding:22px}.category-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.category-heading h2{font-size:19px}.sort-select{max-width:100%;background:var(--white);border:1px solid var(--line);border-radius:4px;padding:6px;font-size:12px}.category-products{display:grid;gap:12px}.category-product{display:flex;gap:14px;padding:12px;background:var(--white);border:1px solid var(--line);border-radius:6px}.category-product>img,.category-product>.image-missing{width:120px;height:104px;min-height:0;object-fit:cover;border-radius:4px;flex-shrink:0}.category-product-info{min-width:0;flex:1}.category-product-info .price{font-size:20px;margin-top:8px}
.mine-head{background:#292420;color:#fff;padding:30px 28px}.mine-head .brand-name{font-size:23px}.mine-head .subtitle{color:#c4b8ad}.mine-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:26px}.mine-stats a{display:grid;justify-items:center;gap:7px;border-right:1px solid #ffffff26;color:#d5c9be;font-size:12px}.mine-stats a:last-child{border:0}.mine-stats strong{font-size:23px;color:#fff}.mine-section{padding:24px 28px;border-bottom:1px solid var(--line);background:var(--white)}.order-statuses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.order-statuses a{position:relative;display:grid;justify-items:center;gap:10px;padding:12px 0;font-size:12px}.order-statuses .lucide{width:26px;height:26px;color:#9e5d3c}.order-statuses .badge{position:absolute;top:2px;left:56%}.mine-empty{font-size:13px;color:var(--muted);padding:22px 0}.address-link{display:flex;gap:15px;align-items:center}.address-link>div{flex:1;min-width:0}.address-link p{font-size:13px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere}.mine-services{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;padding:24px 15px;font-size:12px;color:var(--muted)}.identity-note{padding:14px 28px;font-size:12px;line-height:1.65;color:var(--muted)}
.detail-visual{position:relative;max-height:540px;aspect-ratio:1.4;background:#ddd7cf;cursor:zoom-in}.detail-visual>img{width:100%;height:100%;object-fit:contain}.favorite-button{position:absolute;right:15px;bottom:15px;background:var(--white);border-radius:50%;width:42px;height:42px}.favorite-button.active{color:var(--accent)}.favorite-button.active .lucide{fill:#e9c9b5}.detail-summary,.detail-section{padding:24px 28px;border-bottom:1px solid var(--line);background:var(--white)}.detail-summary h1{font-size:23px;line-height:1.5;margin-top:8px}.detail-summary .price{margin:0;font-size:30px}.detail-meta{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted);margin-top:12px}.detail-section p{margin-top:14px;line-height:1.8;color:#786d63}.specs{margin-top:18px}.specs>div{display:grid;grid-template-columns:110px minmax(0,1fr);border-bottom:1px solid var(--line);padding:13px 0;gap:10px}.specs dt{color:var(--muted)}.specs dd{margin:0;overflow-wrap:anywhere}.detail-actions{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:22;display:grid;grid-template-columns:1fr 1.3fr 1.3fr;gap:10px;background:var(--white);padding:12px 20px;border-top:1px solid var(--line)}.detail-actions button{min-height:44px;padding:10px;font-size:13px}.consult-action{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--accent)}
.cart-head{display:flex;justify-content:space-between;align-items:center;padding:24px 28px}.list-item{display:flex;gap:15px;padding:20px 28px;border-bottom:1px solid var(--line);background:var(--white)}.list-item>img{width:105px;height:100px;object-fit:cover;border-radius:4px;flex-shrink:0}.list-item-info{flex:1;min-width:0}.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px}.cart-notice{padding:25px 28px;color:var(--muted);font-size:13px;line-height:1.8}.cart-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px;border-top:1px solid var(--line);background:var(--white)}.cart-footer .price{margin:5px 0 0}.form{max-width:680px;padding:24px 28px;margin:auto}.form label{display:block;font-size:13px;margin-bottom:18px;color:#5a514a}.form input:not([type=checkbox]),.form textarea,.form select{display:block;width:100%;border:1px solid #ded6ce;border-radius:5px;background:var(--white);padding:12px;margin-top:8px;min-height:44px}.form textarea{resize:vertical;min-height:90px}.region-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.form input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;vertical-align:middle;margin-right:6px}.form .primary{width:100%;min-height:46px}.address-item,.order-item{padding:22px 28px;border-bottom:1px solid var(--line);background:var(--white);overflow-wrap:anywhere}.address-item p{color:var(--muted);line-height:1.8;margin:8px 0;font-size:13px}.item-actions{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}.item-actions button{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:12px}.item-actions .lucide{width:16px;height:16px}.status-tabs{display:flex;gap:6px;overflow-x:auto;padding:14px 18px;background:var(--white);border-bottom:1px solid var(--line)}.status-tabs a{white-space:nowrap;padding:9px 12px;border-bottom:2px solid transparent;font-size:13px}.status-tabs a.active{color:var(--accent);border-color:var(--accent)}.order-item h3{font-size:14px}.order-products{display:grid;gap:10px;margin:15px 0}.order-products>div{display:flex;gap:12px;align-items:center}.order-products img{width:64px;height:58px;object-fit:cover}.order-status{color:var(--accent);font-size:13px}.order-identity{font-size:11px;color:var(--muted);margin:10px 0}.payment-note{font-size:12px;color:var(--muted);line-height:1.7;margin-top:12px}
.message-head{padding:28px;color:#fff;background:var(--dark)}.message-head small{font-size:10px;color:#d99a70}.message-head h1{font-size:24px;margin-top:8px}.conversation{display:flex;gap:13px;align-items:center;padding:22px 28px;background:var(--white);border-bottom:1px solid var(--line)}.conversation-avatar{display:grid;place-items:center;width:45px;height:45px;background:#ede0d4;color:var(--accent);border-radius:6px;font-size:22px;flex-shrink:0}.conversation-copy{min-width:0;flex:1}.conversation-copy h3{font-size:14px}.conversation-copy p{font-size:12px;color:var(--muted);margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-promise{display:grid;grid-template-columns:1fr 1fr;padding:25px 28px;gap:20px;color:#665d55}.service-promise p{font-size:12px;margin-top:8px;line-height:1.7}.chat-product{display:flex;gap:12px;align-items:center;padding:14px 20px;background:var(--white);border-bottom:1px solid var(--line)}.chat-product img{width:56px;height:56px;object-fit:cover;border-radius:4px}.chat-product h2{font-size:14px}.chat-thread{padding:20px;display:flex;flex-direction:column;gap:15px;min-height:35vh}.bubble{max-width:min(78%,560px);align-self:flex-start;border-radius:7px;padding:12px 14px;background:var(--white);line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.bubble.buyer{align-self:flex-end;background:#e8c4a8}.bubble img,.bubble video{max-width:100%;max-height:320px;border-radius:4px}.chat-composer{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom));z-index:25;background:var(--paper);border-top:1px solid var(--line);padding:10px 16px}.chat-compose-row{display:flex;align-items:center;gap:8px}.chat-compose-row textarea{width:100%;resize:none;min-height:44px;max-height:120px;border:1px solid var(--line);border-radius:5px;padding:11px;background:var(--white)}.chat-compose-row .primary{padding:12px}.attachment-preview{display:flex;gap:12px;align-items:center;padding-bottom:10px}.attachment-preview img,.attachment-preview video{width:84px;height:64px;object-fit:contain}.chat-error{font-size:12px;color:#a33232;line-height:1.5}.quick-questions{display:flex;gap:12px;overflow:auto;padding:0 0 9px}.quick-questions button{white-space:nowrap;font-size:12px;color:var(--accent);padding:5px 0}.toast{position:fixed;z-index:100;left:50%;bottom:110px;transform:translateX(-50%);max-width:calc(100% - 32px);padding:12px 20px;background:#292420ed;color:white;border-radius:7px;font-size:13px;text-align:center}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}dialog{width:min(440px,calc(100% - 32px));border:1px solid var(--line);border-radius:8px;background:var(--white);padding:24px;color:inherit}dialog::backdrop{background:#0006}dialog p{line-height:1.7;color:var(--muted);margin-top:14px;overflow-wrap:anywhere}#image-dialog{padding:8px;width:min(950px,calc(100% - 20px))}#image-dialog img{max-height:80dvh;margin:auto;object-fit:contain}#image-dialog .icon-button{display:flex;margin-left:auto}
@media(min-width:900px){.hero{height:470px}.hero-copy{bottom:118px}.hero-title{font-size:42px}.hero .search{max-width:620px}.category-strip{padding:25px 80px}.section{padding:30px 38px}.product-visual{aspect-ratio:1.6}.mine-section{padding:28px 38px}.category-products{grid-template-columns:repeat(2,minmax(0,1fr))}.category-product{gap:10px}.category-product>img{width:100px;height:110px}.detail-visual{aspect-ratio:2}.tabbar{padding-top:10px}.tabbar a{flex-direction:row;gap:10px;font-size:14px}.tabbar .badge{left:calc(50% + 36px)}.detail-actions{padding:14px 28px}}
@media(max-width:600px){.hero{height:345px}.hero-top{padding:20px 16px}.brand-mark{width:25px;height:25px;font-size:16px}.brand-name{font-size:18px}.brand-owner{font-size:10px}.hero-top .icon-button{width:33px;height:33px}.hero-copy{left:17px;right:17px;bottom:83px}.hero-title{font-size:27px}.hero-kicker{font-size:12px}.hero-desc{font-size:13px;margin-top:9px}.hero .search{left:15px;right:15px;bottom:17px;height:47px;padding-left:10px;gap:7px}.search input{font-size:13px}.search button{padding:11px 13px;font-size:12px}.category-strip{padding:17px 9px;gap:3px}.category-entry{font-size:10px;gap:7px;padding:0}.category-symbol{width:36px;height:36px}.category-symbol .lucide{width:21px;height:21px}.service-band{padding:14px 10px}.service-band>div{gap:6px;font-size:12px}.section{padding:21px 15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-body{padding:10px}.product-visual{aspect-ratio:1.4}.product-title{font-size:13px;min-height:38px}.condition,.location{font-size:10px;top:6px;padding:4px 5px}.condition{left:6px}.location{right:6px}.tag{font-size:10px}.price{font-size:20px}.section-head h2{font-size:19px}.text-button{font-size:12px}.category-search{padding:12px}.category-layout{grid-template-columns:87px minmax(0,1fr)}.category-tab{padding:14px 7px;gap:5px;font-size:11px;min-height:55px}.category-tab .lucide{width:15px;height:15px}.category-content{padding:15px 10px}.category-heading{align-items:flex-start;flex-direction:column}.category-heading h2{font-size:17px}.category-product{padding:8px;gap:9px}.category-product>img,.category-product>.image-missing{width:75px;height:91px}.category-product .product-title{font-size:12px}.category-product .tag{font-size:9px}.category-product .price{font-size:17px}.category-content .empty{padding:40px 6px}.mine-head{padding:25px 20px}.mine-section{padding:22px 17px}.mine-head .brand-mark{width:40px;height:40px;font-size:24px}.mine-head .brand-name{font-size:23px}.mine-stats{margin-top:25px}.detail-summary,.detail-section{padding:22px 17px}.detail-summary h1{font-size:21px}.detail-actions{gap:6px;padding:10px 12px}.detail-actions button{font-size:12px;padding:8px 5px}.detail-actions .lucide{width:17px}.cart-head,.cart-notice,.cart-footer,.list-item,.address-item,.order-item{padding:20px 16px}.list-item>img{width:87px;height:91px}.form{padding:22px 16px}.region-fields{gap:7px}.form .region-fields input{padding:10px 7px}.message-head{padding:25px 18px}.conversation{padding:20px 16px}.service-promise{padding:23px 17px}.chat-thread{padding:18px 12px}.chat-composer{padding:10px}.identity-note{padding:14px 17px}}
@media(max-width:350px){.hero-title{font-size:24px}.hero-desc{font-size:11px}.category-product{flex-direction:column}.category-product>img{width:100%;height:110px}.brand-owner{font-size:9px}.search{gap:5px}.hero .search input{font-size:11px}.category-entry{font-size:9px}.detail-actions button{font-size:11px}}
/* Mobile geometry comes from the mini-program homepage configuration. */
@media(max-width:899px){
  .hero{height:clamp(300px,var(--hero-height),430px);background:var(--hero-background)}
  .hero-image{inset:auto;top:0;left:var(--hero-left);width:var(--hero-width);height:var(--hero-image-height);max-width:none}
  .hero-shade{background:var(--hero-shade)}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.image-open{display:block;width:100%;height:100%;padding:0}.image-open>img{width:100%;height:100%;object-fit:contain}.address-link{display:flex}.product-visual>.image-missing{height:100%}
.desktop-header,.desktop-scene-note{display:none}

/* Desktop uses document-flow navigation and wider, task-specific layouts. */
@media(min-width:900px){
  :root{background:#f6f7f5}
  body{background:#f6f7f5}
  .app-shell{max-width:none;padding-bottom:0;background:#f6f7f5}
  .desktop-header{display:block;position:sticky;top:0;z-index:40;background:#fffdfa;border-bottom:1px solid #e4e5e1}
  .desktop-header-inner{max-width:1440px;height:80px;margin:auto;padding:0 40px;display:flex;align-items:center;gap:36px}
  .desktop-brand{display:flex;align-items:center;gap:11px;flex-shrink:0}
  .desktop-brand .brand-mark{width:37px;height:37px;border-color:#c68860;font-size:23px}
  .desktop-brand strong{display:block;font-size:23px;line-height:1.2}
  .desktop-brand small{display:block;font-size:10px;color:#847a70;margin-top:4px}
  #desktop-nav{display:flex;align-items:stretch;justify-content:center;gap:25px;align-self:stretch;margin:0 auto}
  #desktop-nav a{position:relative;display:flex;align-items:center;gap:7px;font-size:14px;border-bottom:3px solid transparent;padding-top:3px;white-space:nowrap;color:#676b65}
  #desktop-nav a[aria-current=page]{border-bottom-color:var(--accent);color:var(--accent);font-weight:700}
  #desktop-nav a:hover{color:var(--accent)}
  #desktop-nav .lucide{width:18px;height:18px}
  #desktop-nav .badge{font-size:10px}
  #desktop-search{width:235px;height:38px;flex-shrink:0;padding:3px 4px 3px 11px;background:#f4f5f2;border-color:#e3e5df;gap:6px}
  #desktop-search input{font-size:12px;height:30px}
  #desktop-search>.lucide{width:16px;height:16px}
  #desktop-search .desktop-search-submit{display:grid;place-items:center;padding:0;width:30px;height:30px;background:transparent;color:var(--accent)}
  #desktop-search .desktop-search-submit .lucide{width:17px;height:17px}
  .tabbar,.floating-cart{display:none}
  #main{max-width:1360px;margin:0 auto;min-height:calc(100dvh - 246px)}
  .page-header{position:static;max-width:1360px;margin:auto;height:64px;background:transparent;padding:0 32px;border-bottom-color:#e1e4de}
  .page-header h1{font-size:17px}
  .page-header .icon-button{width:34px;height:34px}
  #main[data-view=home]{max-width:none}
  .hero{height:min(460px,calc(100svh - 290px));min-height:330px;background:#d4d9d3;color:#292c27}
  .hero-image{object-position:center}
  .hero-shade{display:none}
  .hero-top{display:none}
  .hero-copy{left:max(48px,calc((100% - 1280px)/2));right:auto;max-width:480px;bottom:128px}
  .hero-kicker{color:#875238;font-size:15px}
  .hero-title{font-size:38px;line-height:1.25;max-width:420px}
  .hero-desc{color:#565e52;font-size:14px;margin-top:17px}
  .hero .search{left:max(48px,calc((100% - 1280px)/2));right:auto;bottom:49px;width:410px;height:49px;background:#fffefc;border:1px solid #cdd2c9;box-shadow:0 3px 10px #33392d08}
  .desktop-scene-note{display:block;position:absolute;bottom:14px;right:24px;color:#41483e;background:#ffffffa6;padding:4px 7px;font-size:10px}
  .category-strip{max-width:1360px;margin:0 auto;padding:26px 40px;gap:20px;background:transparent}
  .category-entry{display:flex;align-items:center;justify-content:center;gap:13px;font-size:14px;min-height:48px;transition:color .15s}
  .category-entry:hover{color:var(--accent)}
  .category-symbol{width:45px;height:45px;background:#fffdfa;border-color:#e0e1da;border-radius:6px}
  .service-band{padding:15px max(40px,calc((100% - 1200px)/2));background:#30392f}
  .service-band>div{font-size:13px;border-color:#65705e}
  .service-band .lucide{color:#d7c59b}
  #main[data-view=home]>.section{max-width:1360px;margin:auto;padding:32px 40px 44px}
  .section-head{margin-bottom:24px}
  .section-head h2{font-size:24px}
  .section-head .subtitle{font-size:13px}
  .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
  .product-card{box-shadow:none;border-color:#e0e3dd;transition:border-color .15s,box-shadow .15s}
  .product-card:hover,.category-product:hover{border-color:#c09577;box-shadow:0 4px 15px #413c3410}
  .product-visual{aspect-ratio:1.6}
  .product-body{padding:17px 18px}
  .product-title{font-size:16px;min-height:46px}
  .tags{margin-top:12px;gap:7px}
  .tag{font-size:11px}
  .price{font-size:25px}
  .empty{padding:48px 24px}
  .site-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;max-width:1280px;margin:24px auto 0;padding:26px 0 32px;border-top:1px solid #dfe3da;font-size:12px}
  .category-search{background:transparent;padding:24px 32px 20px}
  .category-search .search{max-width:650px;height:45px;background:#fffdfa}
  .category-layout{grid-template-columns:190px minmax(0,1fr);gap:28px;padding:0 32px 30px;min-height:520px}
  .category-sidebar{background:transparent;position:sticky;top:104px;align-self:start;padding:0;border-right:1px solid #dfe3da;max-height:calc(100dvh - 128px);overflow:auto}
  .category-tab{min-height:55px;font-size:14px;gap:12px;padding:16px}
  .category-tab.active{background:#edece4}
  .category-content{padding:0}
  .category-heading{min-height:54px;margin:0 0 18px}
  .category-heading h2{font-size:23px}
  .sort-select{padding:9px 12px}
  .category-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
  .category-product{display:flex;flex-direction:column;padding:0;gap:0;border-color:#e0e3dd;overflow:hidden}
  .category-product>img,.category-product>.image-missing{width:100%;height:auto;aspect-ratio:1.4;object-fit:cover;border-radius:0}
  .category-product-info{padding:16px;width:100%}
  .category-product-info .price{font-size:23px;margin-top:16px}
  #main[data-view=product]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:42px;padding:30px 32px 40px;align-items:start}
  #main[data-view=product]>.empty{grid-column:1/-1}
  .detail-visual{grid-column:1;grid-row:1/6;position:sticky;top:108px;width:100%;aspect-ratio:1.1;max-height:620px;background:#e7e8e2}
  .detail-summary,.detail-section,.detail-actions{grid-column:2;background:transparent;padding:0 0 23px;margin-bottom:22px}
  .detail-summary{grid-row:1}
  .detail-summary h1{font-size:27px;margin-top:15px}
  .detail-summary .price{font-size:36px}
  .detail-section h2{font-size:17px}
  .detail-section p{font-size:14px;margin-top:10px}
  .specs{margin-top:8px;font-size:13px}
  .specs>div{padding:10px 0}
  .specs>div:last-child{border-bottom:0}
  .detail-actions{position:static;margin:0;padding:0;border:0;gap:9px;grid-template-columns:1fr 1.2fr 1.2fr}
  .detail-actions button{min-height:47px;font-size:13px}
  #main[data-view=mine]{display:grid;grid-template-columns:280px minmax(0,1fr);gap:0 32px;padding:30px 32px}
  .mine-head{grid-column:1;grid-row:1/6;position:sticky;top:110px;align-self:start;padding:26px 22px;background:#30392f}
  .mine-head .brand-name{font-size:24px}
  .mine-head .brand-mark{width:38px;height:38px;font-size:24px}
  .mine-head .brand-owner{font-size:10px}
  .mine-stats{gap:6px}
  .mine-stats a{font-size:11px}
  .mine-stats strong{font-size:22px}
  #main[data-view=mine]>.mine-section,#main[data-view=mine]>.mine-services,#main[data-view=mine]>.identity-note{grid-column:2;background:transparent}
  #main[data-view=mine]>.mine-section{padding:4px 0 26px;margin-bottom:26px}
  .order-statuses{max-width:650px}
  .order-statuses a{padding:20px 0;font-size:13px}
  .mine-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .identity-note{padding:4px 0;font-size:12px}
  .mine-services{padding:8px 0 24px;justify-content:flex-start}
  #main[data-view=cart],#main[data-view=checkout],#main[data-view=orders],#main[data-view=addresses]{max-width:1100px;padding:24px 32px 35px}
  .cart-head{padding:0 0 24px}
  .list-item{padding:22px 0;background:transparent;gap:24px}
  .list-item>img{width:146px;height:118px}
  .list-item-info{display:grid;grid-template-columns:minmax(0,1fr) 200px;align-items:center;gap:8px 28px}
  .list-item-info>a,.list-item-info>h3{grid-column:1}
  .list-item-info>.subtitle{grid-column:1;margin:0}
  .list-item-info>.row-between{grid-column:2;grid-row:1/3}
  .list-item-info>.text-button{grid-column:2;justify-self:end}
  .list-item-info .price{margin-top:0}
  .cart-notice{padding:24px 0}
  .cart-footer{padding:22px 0;background:transparent}
  .cart-footer .primary{min-width:160px}
  .address-item,.order-item{background:transparent;padding:24px 0}
  .form{width:100%;max-width:740px;padding:30px 32px}
  .status-tabs{padding:0 0 16px;background:transparent}
  .status-tabs a{padding:12px 18px;font-size:14px}
  #main[data-view=messages]{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:0 32px;padding:30px 32px}
  #main[data-view=messages]>.message-head{grid-column:1/-1;padding:0 0 26px;background:transparent;color:#27231f}
  #main[data-view=messages]>.message-head h1{font-size:26px}
  #main[data-view=messages]>.message-head small{color:var(--accent)}
  #main[data-view=messages]>.conversation,#main[data-view=messages]>.empty,#main[data-view=messages]>.notice{grid-column:1}
  #main[data-view=messages]>.section{grid-column:2;grid-row:2/20;border-left:1px solid #dfe3da;padding:0 0 0 28px;align-self:start}
  #main[data-view=messages]>.section .section-head{gap:8px}
  #main[data-view=messages]>.section h2{font-size:19px}
  #main[data-view=messages]>.service-promise{grid-column:1;padding:25px 0;border-top:1px solid #dfe3da}
  .conversation{background:transparent;padding:22px 0}
  #main[data-view=chat]{max-width:980px;padding:24px 32px 0}
  .chat-product{background:#fffdfa;padding:18px 22px;border:1px solid #e0e3dd}
  .chat-thread{min-height:360px;padding:28px;background:#f0f2ed;border-left:1px solid #e0e3dd;border-right:1px solid #e0e3dd}
  .chat-composer{bottom:0;background:#fffdfa;padding:16px 22px;border:1px solid #e0e3dd}
  .chat-compose-row textarea{background:#f6f7f5}
  .toast{bottom:28px}
  button,a{scroll-margin-top:100px}
}
@media(min-width:900px) and (max-width:1150px){
  .desktop-header-inner{padding:0 25px;gap:22px}
  #desktop-nav{gap:17px}
  #desktop-nav .lucide{display:none}
  #desktop-search{width:190px}
  .hero-title{font-size:32px;max-width:340px}
  .hero-copy{left:38px;max-width:360px}
  .hero .search{left:38px;width:345px}
  .category-strip{padding:24px 30px;gap:12px}
  .category-entry{gap:8px;font-size:12px}
  .category-products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-layout{grid-template-columns:160px minmax(0,1fr);gap:22px}
  #main[data-view=mine]{grid-template-columns:245px minmax(0,1fr);gap:0 24px}
  #main[data-view=messages]{grid-template-columns:minmax(0,1fr) 310px}
  .site-footer{margin-left:32px;margin-right:32px}
}
@media(min-width:1600px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
