:root {
  --primary: #ff5a36;
  --primary-dark: #e74726;
  --text: #22242a;
  --muted: #888c94;
  --line: #ececef;
  --bg: #f6f6f8;
  --surface: #fff;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(29, 31, 39, .07);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--bg); }
button, input { font: inherit; }
button { padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.ui-icon { display: inline-grid; place-items: center; }

.announcement { height: 34px; color: #c8cbd2; background: #26272c; font-size: 12px; }
.announcement-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.announcement-inner > div { display: flex; gap: 24px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); box-shadow: 0 1px rgba(0,0,0,.05); backdrop-filter: blur(14px); }
.header-main { height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-align: left; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #ff8060, #ff4b29); box-shadow: 0 8px 20px rgba(255,90,54,.25); font-size: 20px; }
.brand > span:last-child { display: grid; }
.brand strong { color: #212226; font-size: 19px; letter-spacing: 2px; }
.brand small { margin-top: 2px; color: #999da5; font-size: 8px; letter-spacing: 2px; }
.search-box { height: 46px; max-width: 590px; flex: 1; display: flex; align-items: center; overflow: hidden; padding-left: 16px; border: 2px solid var(--primary); border-radius: 12px; color: #9da0a7; background: white; }
.search-box > span { font-size: 23px; line-height: 1; transform: rotate(-15deg); }
.search-box input { min-width: 0; height: 100%; flex: 1; padding: 0 12px; border: 0; outline: 0; background: transparent; }
.search-box button { align-self: stretch; width: 78px; color: white; background: var(--primary); font-weight: 600; }
.header-actions { margin-left: auto; display: flex; gap: 10px; }
.header-actions > button { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 10px; color: #555861; font-size: 14px; }
.header-actions > button:hover { background: #f7f7f8; }
.cart-button { position: relative; border: 1px solid var(--line) !important; }
.cart-button b, .mobile-cart b { min-width: 18px; height: 18px; position: absolute; display: grid; place-items: center; padding: 0 4px; border-radius: 20px; color: white; background: var(--primary); font-size: 10px; }
.cart-button b { top: -6px; right: -7px; }
.desktop-nav { border-top: 1px solid #f1f1f3; }
.nav-inner { height: 46px; display: flex; align-items: center; gap: 36px; }
.nav-inner button { height: 100%; font-size: 14px; font-weight: 500; }
.nav-inner button:hover { color: var(--primary); }
.all-category { width: 205px; padding: 0 18px; display: flex; align-items: center; gap: 10px; color: white !important; background: var(--primary); }
.all-category span { margin-left: auto; }
.mobile-menu-button, .mobile-cart, .mobile-bottom-nav, .mobile-menu-overlay { display: none; }

.hero-section { padding-top: 18px; background: linear-gradient(#fff, var(--bg)); }
.hero-layout { min-height: 420px; display: grid; grid-template-columns: 205px 1fr 235px; gap: 14px; }
.hero-categories, .hero-side > div, .hero-banner { overflow: hidden; border-radius: 16px; background: white; }
.hero-categories { padding: 10px 0; box-shadow: var(--shadow); }
.hero-categories button { width: 100%; height: 50px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.hero-categories button span { display: flex; align-items: center; gap: 11px; }
.hero-categories .ui-icon { width: 22px; color: #6e7178; font-size: 17px; }
.hero-categories button:hover { color: var(--primary); background: #fff4f0; }
.hero-banner { position: relative; padding: 54px 48px; background: linear-gradient(120deg, #fff1e6, #fef5ec 55%, #ffe0cf); }
.hero-banner::before { content: ""; width: 360px; height: 360px; position: absolute; top: -90px; right: -90px; border: 70px solid rgba(255,255,255,.32); border-radius: 50%; }
.eyebrow { color: #b56b3e; font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.hero-banner h1 { margin: 16px 0 12px; font-size: clamp(38px, 4vw, 56px); line-height: 1.14; letter-spacing: -2px; }
.hero-banner h1 em { color: var(--primary); font-style: normal; }
.hero-banner p { color: #7d695f; font-size: 15px; }
.hero-banner > button { height: 42px; margin-top: 25px; padding: 0 22px; display: inline-flex; align-items: center; gap: 8px; border-radius: 22px; color: white; background: #27282c; font-weight: 600; }
.hero-art { width: 230px; height: 240px; position: absolute; right: 30px; bottom: 40px; }
.hero-card { position: absolute; border-radius: 22px; box-shadow: 0 22px 45px rgba(112,62,33,.18); }
.card-one { width: 170px; height: 200px; right: 0; bottom: 0; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(150deg, #d07b4b, #8c4f2f); transform: rotate(4deg); }
.card-one::before { content: ""; width: 95px; height: 80px; position: absolute; top: 25px; left: 22px; border: 18px solid rgba(255,255,255,.35); border-radius: 40% 40% 18px 18px; }
.card-one strong { font-size: 23px; }
.card-one span { font-size: 12px; }
.card-two { width: 145px; height: 145px; top: 0; left: 0; padding: 20px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.87); backdrop-filter: blur(12px); transform: rotate(-7deg); }
.card-two > b { margin-bottom: 9px; color: #d17f4f; font-size: 28px; }
.card-two strong { font-size: 17px; }
.card-two span { margin-top: 4px; color: #999; font-size: 10px; }
.hero-dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 7px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 10px; background: #c9aa96; }
.hero-dots i:first-child { width: 22px; background: var(--primary); }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.member-card { padding: 24px 20px; text-align: center; }
.avatar { width: 54px; height: 54px; margin: 0 auto 10px; display: grid; place-items: center; border-radius: 50%; color: #d3a47e; background: #fff0e4; font-size: 34px; }
.member-card > strong { font-size: 14px; }
.member-card p { margin: 6px 0 16px; color: #999da5; font-size: 12px; }
.member-card > div:last-child { display: flex; gap: 8px; }
.member-card button { height: 34px; flex: 1; border: 1px solid #ffd1c5; border-radius: 7px; color: var(--primary); font-size: 12px; }
.member-card button:first-child { color: white; border-color: var(--primary); background: var(--primary); }
.notice-card { padding: 18px; }
.notice-card > div { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.notice-card > div strong { font-size: 14px; }
.notice-card > div span { color: #999; font-size: 11px; }
.notice-card p { margin: 10px 0; overflow: hidden; color: #696c73; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.notice-card p b { margin-right: 7px; padding: 2px 5px; border-radius: 3px; color: var(--primary); background: #fff0eb; font-size: 9px; }

.shortcut-grid { margin-top: 18px; padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(20,20,30,.04); }
.shortcut-grid > div { display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid var(--line); }
.shortcut-grid > div:last-child { border-right: 0; }
.shortcut-grid > div > .ui-icon { width: 43px; height: 43px; border-radius: 50%; color: var(--primary); background: #fff2ee; font-size: 22px; }
.shortcut-grid strong { display: block; font-size: 14px; }
.shortcut-grid p { margin: 4px 0 0; color: #a1a4aa; font-size: 11px; }
.section-block { margin-top: 44px; }
.section-title { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.section-title h2 { margin: 0; font-size: 25px; letter-spacing: -1px; }
.section-title h2 span { margin-right: 8px; padding: 5px 7px; border-radius: 6px; color: white; background: var(--primary); font-size: 12px; vertical-align: 4px; }
.section-title p { margin: 7px 0 0; color: #999da5; font-size: 13px; }
.section-title button { color: #8a8d94; font-size: 13px; }
.flash-layout { display: grid; grid-template-columns: 205px 1fr; gap: 14px; }
.flash-countdown { min-height: 318px; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; border-radius: var(--radius); color: white; background: linear-gradient(155deg, #ff7456, #ef3d20); text-align: center; }
.flash-countdown::after { content: ""; width: 170px; height: 170px; position: absolute; right: -75px; bottom: -60px; border: 35px solid rgba(255,255,255,.08); border-radius: 50%; }
.flash-countdown > span { margin-bottom: 16px; font-size: 42px; font-weight: 800; }
.flash-countdown small { opacity: .8; font-size: 13px; }
.flash-countdown > strong { margin: 7px 0 17px; font-size: 21px; }
.flash-countdown > div { display: flex; align-items: center; gap: 5px; }
.flash-countdown > div b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 7px; color: #ef4528; background: white; font-size: 16px; }
.flash-countdown > div i { font-style: normal; font-weight: 700; }
.flash-countdown > em { margin-top: auto; opacity: .75; font-size: 11px; font-style: normal; }
.product-row { min-width: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { min-width: 0; position: relative; overflow: hidden; border-radius: 16px; background: white; box-shadow: 0 8px 25px rgba(29,30,37,.045); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(29,30,37,.1); }
.product-image { width: 100%; aspect-ratio: 1 / 1; position: relative; display: block; overflow: hidden; background: #f5f5f6; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 8px; border-radius: 6px; color: white; background: var(--primary); font-size: 10px; }
.quick-view { position: absolute; left: 50%; bottom: -40px; padding: 8px 15px; border-radius: 18px; color: white; background: rgba(30,30,33,.82); font-size: 11px; white-space: nowrap; transform: translateX(-50%); transition: bottom .25s; }
.product-card:hover .quick-view { bottom: 13px; }
.product-info { position: relative; padding: 15px; }
.product-name { max-width: 80%; display: block; overflow: hidden; font-size: 15px; font-weight: 600; text-align: left; white-space: nowrap; text-overflow: ellipsis; }
.product-name:hover { color: var(--primary); }
.product-info > p { height: 18px; margin: 6px 0 13px; overflow: hidden; color: #999da5; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.product-meta { display: flex; align-items: flex-end; justify-content: space-between; }
.product-meta span { display: flex; align-items: baseline; gap: 7px; }
.product-meta strong { color: var(--primary); font-size: 19px; }
.product-meta del { color: #b6b8bd; font-size: 11px; }
.product-meta small { color: #aaaeb4; font-size: 10px; }
.add-cart { width: 34px; height: 34px; position: absolute; top: 12px; right: 13px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: #fff0eb; font-size: 22px; }
.add-cart:hover { color: white; background: var(--primary); }
.product-card.compact .product-info { padding: 13px; }
.product-card.compact .product-info > p { display: none; }
.product-card.compact .product-name { margin-bottom: 10px; font-size: 14px; }
.feature-banners { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.feature-banner { min-height: 220px; position: relative; overflow: hidden; padding: 30px; border-radius: var(--radius); }
.feature-banner > b { position: absolute; right: 25px; bottom: 5px; opacity: .13; font-size: 120px; line-height: 1; }
.feature-banner small { opacity: .55; font-weight: 700; letter-spacing: 2px; }
.feature-banner h3 { margin: 20px 0 5px; font-size: 25px; }
.feature-banner p { margin: 0 0 18px; opacity: .68; font-size: 13px; }
.feature-banner button { padding: 8px 16px; border: 1px solid currentColor; border-radius: 18px; font-size: 11px; }
.feature-banner.warm { color: #76492d; background: #f3e0d2; }
.feature-banner.cool { color: #345d66; background: #dce9ec; }
.feature-banner.rose { color: #724a51; background: #eedee0; }

.page-section { min-height: 550px; padding-top: 26px; padding-bottom: 65px; }
.breadcrumbs { height: 30px; display: flex; align-items: center; gap: 7px; color: #999da5; font-size: 12px; }
.breadcrumbs button:hover { color: var(--primary); }
.category-header { height: 170px; margin-top: 9px; padding: 35px 45px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; border-radius: var(--radius); color: white; background: linear-gradient(125deg, #373940, #1f2025); }
.category-header::after { content: ""; width: 250px; height: 250px; position: absolute; top: -100px; right: -60px; border: 55px solid rgba(255,255,255,.05); border-radius: 50%; }
.category-header small, .profile-banner small, .page-heading small { opacity: .6; letter-spacing: 3px; }
.category-header h1 { margin: 8px 0 5px; font-size: 32px; }
.category-header p { margin: 0; opacity: .65; }
.category-header > b { opacity: .14; font-size: 90px; }
.filter-panel { margin-top: 18px; padding: 24px 28px; display: flex; align-items: flex-start; gap: 28px; border-radius: 15px; background: white; }
.filter-panel > strong { padding-top: 8px; white-space: nowrap; font-size: 13px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-buttons button, .result-toolbar button { padding: 8px 14px; border-radius: 8px; color: #73767e; font-size: 12px; }
.filter-buttons button.active, .filter-buttons button:hover { color: var(--primary); background: #fff1ed; }
.result-toolbar { margin: 18px 0 13px; display: flex; align-items: center; justify-content: space-between; color: #888b92; font-size: 12px; }
.result-toolbar > span b { color: var(--primary); }
.result-toolbar > div { display: flex; padding: 3px; border-radius: 10px; background: white; }
.result-toolbar button.active { color: white; background: #33353b; }
.category-products { grid-template-columns: repeat(5, 1fr); }
.category-products .product-name { font-size: 14px; }

.product-detail { margin-top: 10px; padding: 32px; display: grid; grid-template-columns: 48% 1fr; gap: 50px; border-radius: var(--radius); background: white; }
.detail-gallery { display: grid; grid-template-columns: 70px 1fr; grid-template-rows: 1fr; gap: 12px; }
.main-image { grid-column: 2; overflow: hidden; border-radius: 16px; background: #f5f5f6; }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail { width: 64px; height: 64px; padding: 3px; overflow: hidden; border: 2px solid var(--primary); border-radius: 9px; }
.thumbnail img { border-radius: 6px; }
.detail-info { padding: 4px 0; }
.detail-tag { display: inline-flex; padding: 5px 9px; border-radius: 5px; color: var(--primary); background: #fff1ed; font-size: 11px; }
.detail-info h1 { margin: 12px 0 8px; font-size: 29px; }
.detail-subtitle { margin: 0; color: #898c93; font-size: 14px; }
.detail-rating { margin: 17px 0; display: flex; align-items: center; gap: 12px; color: #999da5; font-size: 12px; }
.detail-rating span:first-child { color: #f5a623; }
.detail-rating i { width: 1px; height: 12px; background: var(--line); }
.price-box { min-height: 80px; padding: 14px 20px; display: flex; align-items: center; gap: 13px; border-radius: 12px; background: linear-gradient(90deg, #fff2ed, #fff8f5); }
.price-box small { color: #777; }
.price-box strong { color: var(--primary); font-size: 17px; }
.price-box strong em { font-size: 31px; font-style: normal; }
.price-box del { color: #aaa; font-size: 12px; }
.price-box > span { margin-left: auto; padding: 4px 7px; border: 1px solid #ffb4a2; border-radius: 5px; color: var(--primary); font-size: 10px; }
.promo-line, .delivery-line, .option-line { min-height: 50px; display: flex; align-items: center; gap: 11px; border-bottom: 1px dashed #ededf0; color: #777b83; font-size: 12px; }
.promo-line > b, .delivery-line > b, .option-line > b { width: 40px; color: #333; font-weight: 500; }
.promo-line > span { padding: 3px 6px; border-radius: 4px; color: white; background: var(--primary); font-size: 10px; }
.promo-line p { flex: 1; }
.delivery-line strong { margin-left: 4px; color: #3c9a67; font-weight: 500; }
.option-line > div { display: flex; gap: 8px; }
.option-line > div > button { min-width: 75px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; }
.option-line > div > button.active { color: var(--primary); border-color: var(--primary); background: #fff7f4; }
.quantity { display: inline-flex !important; align-items: center; gap: 0 !important; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; }
.quantity button, .quantity span { width: 34px !important; min-width: 0 !important; height: 32px !important; display: grid !important; place-items: center; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
.quantity span { border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-actions { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.detail-actions button { height: 50px; border-radius: 10px; font-size: 15px; font-weight: 600; }
.buy-now { border: 1px solid var(--primary); color: var(--primary); background: #fff5f1; }
.detail-add-cart { color: white; background: var(--primary); }
.detail-services { margin-top: 17px; display: flex; gap: 20px; color: #888b92; font-size: 11px; }
.detail-description { margin-top: 18px; overflow: hidden; border-radius: var(--radius); background: white; }
.detail-tabs { height: 58px; display: flex; align-items: center; justify-content: center; gap: 40px; border-bottom: 1px solid var(--line); }
.detail-tabs button { align-self: stretch; position: relative; }
.detail-tabs button.active { color: var(--primary); font-weight: 600; }
.detail-tabs button.active::after { content: ""; height: 3px; position: absolute; right: 0; bottom: 0; left: 0; border-radius: 4px 4px 0 0; background: var(--primary); }
.description-content { max-width: 780px; margin: auto; padding: 60px 25px; text-align: center; }
.description-content > span { color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: 4px; }
.description-content h2 { margin: 14px 0 10px; font-size: 30px; }
.description-content p { max-width: 620px; margin: 0 auto 30px; color: #888b92; line-height: 1.9; }
.description-content img { width: min(540px, 100%); margin: auto; border-radius: 24px; }
.related { margin-bottom: 0; }

.page-heading { margin-bottom: 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.page-heading h1 { margin: 8px 0 0; font-size: 31px; }
.page-heading > span { color: #999; font-size: 12px; }
.cart-list-head { height: 48px; padding: 0 22px; display: grid; grid-template-columns: 50px 1fr 110px 120px 120px 70px; align-items: center; border-radius: 12px 12px 0 0; color: #888b92; background: white; font-size: 12px; }
.cart-list-head label { display: flex; align-items: center; gap: 6px; }
input[type="checkbox"] { accent-color: var(--primary); }
.cart-list { background: white; }
.cart-item { min-height: 130px; padding: 18px 22px; display: grid; grid-template-columns: 50px 1fr 110px 120px 120px 70px; align-items: center; border-top: 1px solid var(--line); }
.cart-product { min-width: 0; display: flex; align-items: center; gap: 15px; text-align: left; }
.cart-product img { width: 86px; height: 86px; flex: 0 0 auto; object-fit: cover; border-radius: 11px; }
.cart-product span { min-width: 0; display: grid; }
.cart-product strong { margin-bottom: 7px; font-size: 14px; }
.cart-product small { overflow: hidden; color: #999; white-space: nowrap; text-overflow: ellipsis; }
.unit-price { font-size: 14px; }
.subtotal { color: var(--primary); }
.remove-button { color: #999; font-size: 12px; }
.remove-button:hover { color: var(--primary); }
.cart-summary { height: 80px; margin-top: 14px; padding-left: 22px; position: sticky; bottom: 15px; z-index: 10; display: flex; align-items: center; justify-content: space-between; border-radius: 12px; background: white; box-shadow: var(--shadow); }
.cart-summary > div:first-child { display: flex; align-items: center; gap: 20px; font-size: 12px; }
.cart-summary label { display: flex; align-items: center; gap: 7px; }
.cart-summary > div:last-child { height: 100%; display: flex; align-items: center; gap: 28px; }
.cart-summary > div:last-child > span { font-size: 12px; }
.cart-summary b { color: var(--primary); }
.cart-summary p { margin: 0; display: flex; align-items: baseline; gap: 4px; }
.cart-summary p strong { color: var(--primary); font-size: 24px; }
.cart-summary p small { margin-left: 5px; color: #aaa; font-size: 10px; }
.cart-summary > div:last-child > button { width: 140px; align-self: stretch; border-radius: 0 12px 12px 0; color: white; background: var(--primary); font-size: 16px; font-weight: 600; }
.cart-summary > div:last-child > button:disabled { background: #cccfd4; cursor: not-allowed; }
.empty-state { min-height: 390px; padding: 65px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: var(--radius); background: white; text-align: center; }
.empty-state > span { width: 75px; height: 75px; display: grid; place-items: center; border-radius: 50%; color: #c1c4ca; background: #f3f4f5; font-size: 35px; }
.empty-state h2 { margin: 20px 0 7px; font-size: 19px; }
.empty-state p { margin: 0; color: #999da5; font-size: 13px; }
.empty-state > button { margin-top: 21px; padding: 10px 24px; border-radius: 20px; color: white; background: var(--primary); }

.profile-page { background: linear-gradient(#fff7f3 0, var(--bg) 360px); }
.profile-banner { height: 210px; padding: 38px 50px; position: relative; overflow: hidden; display: flex; align-items: center; border-radius: var(--radius); color: white; background: linear-gradient(120deg, #35363c, #222329); }
.profile-banner::after { content: ""; width: 360px; height: 360px; position: absolute; top: -180px; right: -40px; border: 70px solid rgba(255,255,255,.04); border-radius: 50%; }
.profile-avatar { width: 95px; height: 95px; margin-right: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(145deg, #ffd8c8, #e9a987); font-size: 64px; }
.profile-banner h1 { margin: 8px 0 4px; font-size: 27px; }
.profile-banner p { margin: 0; color: #bdc0c8; }
.profile-banner button { margin-top: 16px; padding: 9px 19px; border-radius: 18px; color: #292a2f; background: white; font-size: 12px; font-weight: 600; }
.profile-banner > b { position: absolute; right: 130px; opacity: .08; font-size: 100px; }
.profile-layout { margin-top: 18px; display: grid; grid-template-columns: 210px 1fr; gap: 18px; }
.profile-sidebar, .profile-content > section { border-radius: 15px; background: white; }
.profile-sidebar { padding: 20px 0; }
.profile-sidebar > strong { display: block; padding: 0 22px 15px; font-size: 15px; }
.profile-sidebar button { width: 100%; height: 46px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: #777b83; font-size: 13px; }
.profile-sidebar button.active { color: var(--primary); background: #fff3ef; }
.profile-content { display: grid; gap: 18px; }
.order-overview { padding: 22px 28px; }
.profile-section-title { display: flex; align-items: center; justify-content: space-between; }
.profile-section-title h2 { margin: 0; font-size: 17px; }
.profile-section-title button { color: #999; font-size: 11px; }
.order-overview > div:last-child { margin-top: 25px; display: grid; grid-template-columns: repeat(5, 1fr); }
.order-overview > div:last-child button { height: 75px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--line); color: #777; }
.order-overview > div:last-child button:last-child { border: 0; }
.order-overview button b { font-size: 25px; font-weight: 500; }
.order-overview button small { font-size: 12px; }
.empty-orders { min-height: 240px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.empty-orders > span { color: #c8cbd0; font-size: 45px; }
.empty-orders h3 { margin: 15px 0 5px; font-size: 16px; }
.empty-orders p { margin: 0; color: #999; font-size: 12px; }
.empty-orders button { margin-top: 16px; padding: 8px 19px; border-radius: 17px; color: var(--primary); background: #fff2ed; font-size: 11px; }

.site-footer { margin-top: 70px; background: white; }
.footer-features { padding: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.footer-features > div { display: flex; align-items: center; justify-content: center; gap: 13px; border-right: 1px solid var(--line); }
.footer-features > div:last-child { border-right: 0; }
.footer-features > div > .ui-icon { width: 38px; color: var(--primary); font-size: 29px; }
.footer-features span { display: grid; }
.footer-features strong { font-size: 14px; }
.footer-features small { margin-top: 3px; color: #999; font-size: 10px; }
.footer-main { padding: 42px 0; display: grid; grid-template-columns: 1.6fr repeat(4, .7fr) 1.2fr; gap: 25px; }
.footer-brand p { color: #9699a0; font-size: 12px; line-height: 1.9; }
.footer-brand > div:last-child { display: flex; gap: 8px; }
.footer-brand > div:last-child span { padding: 8px 11px; border-radius: 7px; color: #777; background: #f5f5f6; font-size: 10px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links strong, .footer-contact > strong { margin-bottom: 4px; font-size: 13px; }
.footer-links button { color: #9699a0; font-size: 11px; }
.footer-links button:hover { color: var(--primary); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact b { color: var(--primary); font-size: 21px; }
.footer-contact small { margin: 4px 0 12px; color: #999; font-size: 10px; }
.footer-contact button { padding: 8px 13px; border-radius: 7px; color: var(--primary); background: #fff1ed; font-size: 11px; }
.footer-bottom { padding: 16px 0; color: #999da5; background: #f6f6f7; font-size: 10px; }
.footer-bottom > div { display: flex; justify-content: space-between; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 200; padding: 11px 18px; border-radius: 22px; color: white; background: rgba(30,31,35,.9); opacity: 0; transform: translate(-50%, 10px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) {
  .container { width: min(calc(100% - 30px), 960px); }
  .header-actions button span { display: none; }
  .nav-inner { gap: 24px; }
  .hero-layout { grid-template-columns: 190px 1fr; }
  .hero-side { display: none; }
  .hero-art { transform: scale(.85); transform-origin: right bottom; }
  .product-row { overflow-x: auto; grid-template-columns: repeat(4, 190px); padding-bottom: 4px; }
  .category-products { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1.5fr repeat(4, .75fr); }
  .footer-contact { display: none; }
  .product-detail { gap: 30px; }
}

@media (max-width: 768px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .container { width: calc(100% - 24px); }
  .announcement, .desktop-nav, .header-actions, .hero-categories, .hero-side, .site-footer { display: none; }
  .header-main { height: 64px; gap: 9px; }
  .brand { flex: 0 0 auto; }
  .brand-mark { width: 35px; height: 35px; border-radius: 11px; font-size: 17px; }
  .brand strong { font-size: 15px; letter-spacing: 1px; }
  .brand small { display: none; }
  .mobile-menu-button, .mobile-cart { width: 32px; height: 34px; position: relative; display: grid; place-items: center; font-size: 21px; }
  .mobile-cart b { top: -2px; right: -2px; }
  .search-box { order: 4; height: 36px; margin-left: auto; padding-left: 10px; border: 1px solid #ececf0; background: #f4f4f6; }
  .search-box > span { font-size: 18px; }
  .search-box input { padding: 0 5px; font-size: 12px; }
  .search-box button { display: none; }
  .mobile-menu-overlay { position: fixed; inset: 0; z-index: 100; display: block; background: rgba(0,0,0,.36); }
  .mobile-menu-panel { width: min(82vw, 330px); height: 100%; padding: 18px; background: white; animation: slideIn .25s ease-out; }
  @keyframes slideIn { from { transform: translateX(-100%); } }
  .mobile-menu-head { height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .mobile-menu-head button { font-size: 28px; }
  .mobile-menu-panel > button { width: 100%; height: 50px; padding: 0 5px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f4f4f5; }
  .hero-section { padding-top: 10px; }
  .hero-layout { min-height: 0; display: block; }
  .hero-banner { height: 315px; padding: 34px 25px; border-radius: 17px; }
  .hero-banner h1 { font-size: 36px; }
  .hero-banner p { width: 65%; font-size: 12px; line-height: 1.7; }
  .hero-banner > button { height: 38px; margin-top: 15px; }
  .hero-art { right: -13px; bottom: 15px; transform: scale(.58); }
  .hero-dots { left: 25px; bottom: 15px; }
  .shortcut-grid { margin-top: 12px; padding: 15px 7px; grid-template-columns: repeat(4, 1fr); border-radius: 14px; }
  .shortcut-grid > div { flex-direction: column; gap: 6px; text-align: center; }
  .shortcut-grid > div > .ui-icon { width: 36px; height: 36px; font-size: 19px; }
  .shortcut-grid strong { font-size: 11px; }
  .shortcut-grid p { display: none; }
  .section-block { margin-top: 30px; }
  .section-title { align-items: center; }
  .section-title h2 { font-size: 21px; }
  .section-title p { font-size: 11px; }
  .section-title button { font-size: 11px; }
  .flash-layout { display: block; }
  .flash-countdown { min-height: 105px; padding: 16px; flex-direction: row; gap: 10px; border-radius: 14px; }
  .flash-countdown > span { margin: 0; font-size: 32px; }
  .flash-countdown small, .flash-countdown > em { display: none; }
  .flash-countdown > strong { margin: 0 3px; font-size: 17px; }
  .flash-countdown > div { margin-left: auto; }
  .flash-countdown > div b { width: 31px; height: 31px; }
  .product-row { margin-top: 11px; margin-right: -12px; grid-template-columns: repeat(4, 160px); gap: 10px; }
  .product-card { border-radius: 13px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-meta strong { font-size: 17px; }
  .product-meta small, .product-meta del { display: none; }
  .add-cart { width: 30px; height: 30px; top: 10px; right: 10px; }
  .feature-banners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-banner { min-height: 160px; padding: 20px; border-radius: 14px; }
  .feature-banner:first-child { grid-column: 1 / -1; }
  .feature-banner h3 { margin-top: 14px; font-size: 18px; }
  .feature-banner p { font-size: 10px; }
  .feature-banner > b { right: 12px; font-size: 75px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-section { padding-top: 12px; padding-bottom: 30px; }
  .breadcrumbs { overflow: hidden; white-space: nowrap; }
  .category-header { height: 130px; padding: 25px; border-radius: 15px; }
  .category-header h1 { font-size: 24px; }
  .category-header p { font-size: 11px; }
  .category-header > b { font-size: 65px; }
  .filter-panel { padding: 16px; display: block; }
  .filter-panel > strong { display: block; margin-bottom: 10px; }
  .filter-buttons { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-buttons button { white-space: nowrap; }
  .result-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .result-toolbar > div { width: 100%; overflow-x: auto; }
  .result-toolbar button { flex: 1; padding: 8px 10px; white-space: nowrap; }
  .category-products { grid-template-columns: repeat(2, 1fr); }
  .product-detail { margin-top: 4px; padding: 0; display: block; border-radius: 0; background: transparent; }
  .detail-gallery { display: block; }
  .main-image { border-radius: 15px; }
  .thumbnail { display: none; }
  .detail-info { margin-top: 10px; padding: 20px 17px; border-radius: 15px; background: white; }
  .detail-info h1 { font-size: 23px; }
  .price-box { padding: 12px; }
  .delivery-line { flex-wrap: wrap; padding: 10px 0; }
  .delivery-line strong { width: 100%; margin-left: 51px; }
  .option-line { min-height: 58px; }
  .option-line > div { overflow-x: auto; }
  .option-line > div > button { white-space: nowrap; }
  .detail-actions { position: fixed; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); left: 0; z-index: 35; margin: 0; padding: 10px 12px; background: white; box-shadow: 0 -5px 20px rgba(20,20,25,.08); }
  .detail-actions button { height: 44px; }
  .detail-services { flex-wrap: wrap; gap: 10px 15px; }
  .detail-description { border-radius: 15px; }
  .detail-tabs { gap: 25px; }
  .description-content { padding: 40px 18px; }
  .description-content h2 { font-size: 23px; }
  .page-heading { margin: 5px 0 15px; }
  .page-heading h1 { font-size: 25px; }
  .cart-list-head { display: none; }
  .cart-list { overflow: hidden; border-radius: 14px; }
  .cart-item { min-height: 128px; padding: 16px 12px; position: relative; grid-template-columns: 27px 1fr; grid-template-rows: auto auto; align-items: start; }
  .cart-product { align-items: flex-start; }
  .cart-product img { width: 80px; height: 80px; }
  .cart-product strong { font-size: 13px; }
  .cart-product small { max-width: 145px; font-size: 10px; }
  .unit-price { display: none; }
  .cart-item > .quantity { position: absolute; left: 120px; bottom: 13px; }
  .subtotal { position: absolute; right: 12px; bottom: 18px; font-size: 14px; }
  .remove-button { position: absolute; top: 15px; right: 12px; }
  .remove-button span { display: none; }
  .cart-summary { height: 64px; bottom: calc(72px + env(safe-area-inset-bottom)); padding-left: 12px; }
  .cart-summary > div:first-child > button { display: none; }
  .cart-summary > div:last-child { gap: 10px; }
  .cart-summary > div:last-child > span { display: none; }
  .cart-summary p { display: grid; font-size: 10px; }
  .cart-summary p strong { font-size: 19px; }
  .cart-summary p small { display: none; }
  .cart-summary > div:last-child > button { width: 92px; font-size: 14px; }
  .profile-banner { height: auto; min-height: 180px; padding: 28px 22px; }
  .profile-avatar { width: 64px; height: 64px; margin-right: 14px; font-size: 43px; }
  .profile-banner h1 { font-size: 19px; }
  .profile-banner p { font-size: 11px; }
  .profile-banner > b { right: 20px; }
  .profile-layout { display: block; }
  .profile-sidebar { display: none; }
  .order-overview { padding: 18px 10px; }
  .order-overview > div:last-child { margin-top: 18px; }
  .order-overview > div:last-child button { border: 0; }
  .order-overview button b { font-size: 22px; }
  .order-overview button small { font-size: 10px; }
  .mobile-bottom-nav { height: calc(62px + env(safe-area-inset-bottom)); position: fixed; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.97); box-shadow: 0 -4px 18px rgba(30,30,35,.08); backdrop-filter: blur(14px); }
  .mobile-bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #8f9299; }
  .mobile-bottom-nav button > b { font-size: 21px; font-weight: 500; line-height: 1; }
  .mobile-bottom-nav button > span { font-size: 10px; }
  .mobile-bottom-nav button.active { color: var(--primary); }
  .nav-cart { position: relative; }
  .nav-cart i { min-width: 18px; height: 18px; position: absolute; top: -9px; right: -13px; display: grid; place-items: center; padding: 0 4px; border-radius: 20px; color: white; background: var(--primary); font-size: 9px; font-style: normal; }
}
