:root {
    --navy: #101f43;
    --blue: #0878f9;
    --blue-dark: #0566dc;
    --muted: #64728a;
    --line: #e8edf4;
    --soft: #f5f8fc;
    --shadow: 0 8px 28px rgba(19, 40, 77, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: #fff; font-family: "DM Sans", Arial, sans-serif; font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.site-header { width: min(1450px, calc(100% - 64px)); min-height: 82px; margin: 0 auto; display: grid; grid-template-columns: 280px minmax(250px, 1fr) 315px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; color: var(--navy); font: 800 29px/1 "Manrope", sans-serif; letter-spacing: -1.6px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 39px; color: #fff; background: var(--blue); border-radius: 12px 12px 12px 12px; font-size: 28px; line-height: 1; box-shadow: 0 5px 12px #0878f933; }
.brand-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.brand-blue { color: #0796ed; }
.search-bar { display: flex; align-items: center; height: 48px; padding: 0 12px 0 20px; border: 1px solid #e0e5ed; border-radius: 28px; background: #f7f8fa; transition: border-color .2s, box-shadow .2s; }
.search-bar:focus-within { border-color: #9dc8ff; box-shadow: 0 0 0 3px #0878f914; }
.search-bar input { flex: 1; width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--navy); font-size: 14px; }
.search-bar input::placeholder { color: #788398; }
.search-bar button { width: 36px; height: 36px; border: 0; background: transparent; color: var(--navy); font-size: 30px; line-height: 1; cursor: pointer; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 27px; }
.header-action { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0; border: 0; background: none; color: var(--navy); font-size: 11px; cursor: pointer; }
.header-action:hover, .category-link:hover, .text-link:hover { color: var(--blue); }
.nav-icon { position: relative; display: block; min-height: 27px; font-size: 25px; line-height: 1; }
.cart-symbol { font-size: 21px; filter: grayscale(1); }
.cart-symbol b { position: absolute; top: -8px; right: -9px; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: #fff; background: var(--blue); font: 700 10px "DM Sans", sans-serif; filter: none; }
.logout-form { margin: 0; }
.notice { width: min(1450px, calc(100% - 64px)); margin: 4px auto 16px; padding: 12px 17px; border-radius: 10px; font-size: 14px; }
.notice-success { color: #126346; background: #eaf8f1; }
.notice-error { color: #a33030; background: #fff0ef; }
.page-shell { width: min(1450px, calc(100% - 64px)); margin: 8px auto 76px; }
.home-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.category-sidebar { display: flex; flex-direction: column; padding: 13px 17px 15px; border: 1px solid #edf0f5; border-radius: 15px; background: #fff; box-shadow: 0 4px 18px rgba(17, 40, 79, .035); }
.category-sidebar h2 { margin: 0 0 9px; padding: 0 2px; font: 800 17px "Manrope", sans-serif; }
.category-link { display: flex; align-items: center; gap: 13px; min-height: 36px; font-size: 13px; transition: color .15s; }
.category-link > span:first-child { width: 20px; color: var(--navy); text-align: center; font-size: 17px; }
.category-link .chevron { margin-left: auto; color: #7a8799; font-size: 21px; }
.category-all { margin-top: 3px; }
.home-main { position: relative; min-width: 0; padding-right: 250px; }
.hero { position: relative; display: flex; align-items: center; min-height: 365px; overflow: hidden; border-radius: 17px; background: #eee3d7 url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1500&q=85") center 48% / cover no-repeat; }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(247, 239, 230, .98) 0%, rgba(247, 239, 230, .93) 43%, rgba(247, 239, 230, .12) 76%, transparent 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 580px; padding: 39px 45px; }
.eyebrow { display: block; margin-bottom: 8px; color: #718099; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero-copy .eyebrow { color: #465f80; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 560px; margin: 0 0 11px; font: 800 clamp(31px, 3.2vw, 46px)/1.13 "Manrope", sans-serif; letter-spacing: -1.65px; }
.hero h1 span { display: block; color: #078af2; }
.hero p { max-width: 430px; margin-bottom: 20px; color: #53637a; font-size: 16px; line-height: 1.55; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 13px; min-height: 47px; padding: 0 24px; border: 1px solid transparent; border-radius: 25px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 18px #0878f926; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { border-color: #dce5f0; color: var(--navy); background: #fff; }
.button-full { width: 100%; }
.hero .button { min-width: 193px; }
.hero-dots { position: absolute; z-index: 1; bottom: 17px; left: 50%; display: flex; gap: 7px; transform: translateX(-50%); }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: #ffffffa6; }
.hero-dots span:first-child { background: #fff; }
.trust-row { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; gap: 14px; width: 230px; }
.trust-card { display: flex; align-items: center; gap: 15px; min-height: 106px; padding: 17px; border: 1px solid #eef2f8; border-radius: 16px; background: linear-gradient(130deg, #f8fbff, #f0f5fc); }
.trust-icon { display: grid; flex: 0 0 47px; place-items: center; width: 47px; height: 47px; border-radius: 14px; font-size: 27px; font-weight: 700; }
.trust-icon.blue { color: #0793f5; background: #e4f2ff; }
.trust-icon.green { color: #10b981; background: #def8ed; }
.trust-icon.purple { color: #6655ff; background: #eeeaff; }
.trust-card strong, .trust-card small { display: block; }
.trust-card strong { max-width: 130px; font: 800 15px/1.3 "Manrope", sans-serif; }
.trust-card small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.section-block { margin-top: 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.section-heading .eyebrow { margin-bottom: 4px; }
.section-heading h1, .section-heading h2 { margin: 0; font: 800 23px/1.25 "Manrope", sans-serif; letter-spacing: -.5px; }
.text-link { color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
.text-link span { font-size: 18px; vertical-align: -1px; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 15px; }
.product-card { position: relative; overflow: hidden; min-width: 0; padding: 6px; border: 1px solid #e9edf3; border-radius: 15px; background: #fff; box-shadow: 0 4px 13px rgba(15, 41, 79, .055); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15, 41, 79, .1); }
.product-image { position: relative; display: block; height: 153px; overflow: hidden; border-radius: 11px; background: #f3f5f7; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-category { position: absolute; bottom: 8px; left: 8px; padding: 4px 7px; border-radius: 8px; color: #3d5069; background: #ffffffdf; font-size: 10px; }
.product-info { position: relative; min-height: 101px; padding: 9px 5px 34px; }
.product-name { display: block; max-width: calc(100% - 26px); min-height: 36px; color: #182746; font-size: 13px; font-weight: 600; line-height: 1.35; }
.product-name:hover { color: var(--blue); }
.product-price { display: block; margin-top: 5px; font: 800 17px "Manrope", sans-serif; letter-spacing: -.3px; }
.product-meta { display: flex; align-items: center; gap: 5px; margin-top: 3px; color: #8792a4; font-size: 10px; white-space: nowrap; }
.product-purchases { display: block; margin-top: 2px; color: #64728a; font-size: 10px; }
.product-protection { display: block; margin-top: 3px; color: #138258; font-size: 10px; font-weight: 700; }
.rating { color: #f5a500; font-size: 14px; letter-spacing: -1px; }
.add-cart { position: absolute; right: 0; bottom: 3px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; color: var(--blue); background: #eff6ff; font-size: 25px; line-height: 1; cursor: pointer; }
.add-cart:hover { color: #fff; background: var(--blue); }
.categories-section { margin-top: 34px; }
.category-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.category-card { overflow: hidden; border: 1px solid #e9edf3; border-radius: 13px; background: #fff; box-shadow: 0 4px 12px rgba(15, 41, 79, .055); text-align: center; transition: transform .18s; }
.category-card:hover { transform: translateY(-3px); }
.category-card img { display: block; width: 100%; height: 102px; object-fit: cover; }
.category-card span { display: block; min-height: 39px; padding: 10px 5px; font-size: 12px; font-weight: 700; }
.empty-state { padding: 55px 20px; border: 1px dashed #dce4ef; border-radius: 16px; background: #fafcff; text-align: center; }
.empty-state > span { display: block; margin-bottom: 10px; font-size: 35px; }
.empty-state h3, .empty-state h2 { margin-bottom: 8px; font: 800 20px "Manrope", sans-serif; }
.empty-state p { margin-bottom: 18px; color: var(--muted); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 50px; align-items: center; max-width: 1050px; min-height: 600px; margin: 0 auto; }
.auth-art { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 55px; border-radius: 24px; background: linear-gradient(130deg, #e8f4ff 0%, #e6f1ff 49%, #e9f8f2 100%); }
.auth-art h1 { margin: 12px 0; font: 800 47px/1.12 "Manrope", sans-serif; letter-spacing: -1.7px; }
.auth-art h1 span { color: var(--blue); }
.auth-art p { color: var(--muted); font-size: 16px; }
.form-card { padding: 29px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.form-card h1, .form-card h2 { margin-bottom: 8px; font: 800 23px "Manrope", sans-serif; }
.form-intro { margin-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.stack-form { display: flex; flex-direction: column; gap: 14px; }
.stack-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 700; }
.stack-form input, .stack-form textarea, .stack-form select, .quantity-form input { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid #dfe5ed; border-radius: 9px; outline: none; color: var(--navy); background: #fff; font-size: 13px; }
.stack-form textarea { resize: vertical; }
.stack-form input:focus, .stack-form textarea:focus, .stack-form select:focus { border-color: #7cb7ff; box-shadow: 0 0 0 3px #0878f914; }
.stack-form small { color: var(--muted); font-size: 11px; font-weight: 400; }
.auth-switch { margin: 19px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.auth-switch a { color: var(--blue); font-weight: 700; }
.detail-layout { display: grid; grid-template-columns: minmax(300px, 1.1fr) minmax(300px, .9fr); gap: 45px; max-width: 1100px; margin: 35px auto; }
.detail-image { min-height: 420px; overflow: hidden; border-radius: 18px; background: #f3f5f7; }
.detail-image img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.detail-info { padding: 16px 0; }
.breadcrumb { color: var(--muted); font-size: 12px; }
.breadcrumb span { margin: 0 6px; color: #a3adbb; }
.detail-info h1 { margin: 18px 0 10px; font: 800 32px/1.2 "Manrope", sans-serif; letter-spacing: -.8px; }
.detail-rating { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.detail-price { display: block; margin: 23px 0 17px; font: 800 30px "Manrope", sans-serif; }
.detail-info > p:not(.detail-rating) { color: #516079; line-height: 1.65; }
.stock-note { color: #138258 !important; font-weight: 700; }
.seller-note { font-size: 13px; }
.purchase-count { display: inline-flex; margin: -5px 0 16px; padding: 6px 10px; border-radius: 20px; color: #126346; background: #eaf8f1; font-size: 12px; font-weight: 700; }
.purchase-protection { margin: 15px 0; padding: 15px 17px; border: 1px solid #ccebdc; border-radius: 12px; color: #155d43; background: #f0fbf5; }
.purchase-protection strong { display: block; margin-bottom: 5px; font: 800 14px "Manrope", sans-serif; }
.purchase-protection p { margin: 0 0 5px; color: #315d4d; font-size: 13px; line-height: 1.5; }
.purchase-protection small { color: #547265; font-size: 11px; line-height: 1.5; }
.protection-status { margin: 9px 0 0; color: #315d4d; font-size: 12px; font-weight: 600; }
.store-settings { margin-bottom: 22px; }
.store-settings .stack-form { max-width: 700px; }
.store-header { display: flex; align-items: center; gap: 22px; max-width: 1000px; margin: 30px auto; padding: 26px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(120deg, #f8fbff, #f0fbf6); }
.store-logo { display: grid; flex: 0 0 100px; place-items: center; width: 100px; height: 100px; border-radius: 18px; object-fit: cover; background: #e6f1ff; }
.store-logo-placeholder { color: var(--blue); font: 800 40px "Manrope", sans-serif; }
.store-header h1 { margin: 0 0 7px; font: 800 28px "Manrope", sans-serif; }
.store-header p { max-width: 700px; margin: 0 0 8px; color: #516079; line-height: 1.55; white-space: pre-line; }
.store-header small { color: var(--muted); font-size: 12px; }
.category-seller-intro { margin: 20px 0 14px; }
.category-seller-intro h2 { margin: 0 0 4px; font: 800 18px "Manrope", sans-serif; }
.category-seller-intro p, .category-seller-description { color: var(--muted); font-size: 13px; }
.category-seller { margin: 14px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.category-seller-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.category-seller-rank { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--blue); background: #eff6ff; font: 800 17px "Manrope", sans-serif; }
.category-seller-heading h2 { margin: 0 0 4px; font: 800 17px "Manrope", sans-serif; }
.category-seller-heading h2 a { color: var(--navy); }
.category-seller-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.category-seller .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-store-link { display: inline-block; margin-top: 13px; }
.product-feedback { max-width: 1000px; padding-top: 8px; border-top: 1px solid var(--line); }
.feedback-form { max-width: 700px; margin: 0 0 20px; }
.feedback-form h3 { margin-bottom: 5px; font: 800 17px "Manrope", sans-serif; }
.feedback-list { display: grid; gap: 10px; }
.feedback-card { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.feedback-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.feedback-heading strong { font-size: 13px; }
.feedback-heading time, .seller-question > small { color: var(--muted); font-size: 11px; }
.feedback-card > p { margin: 7px 0 0; color: #516079; line-height: 1.55; white-space: pre-line; }
.question-text { font-weight: 600; }
.seller-answer { margin-top: 10px; padding: 10px 12px; border-radius: 9px; background: #f3f8ff; }
.seller-answer strong { color: var(--blue-dark); font-size: 12px; }
.seller-answer p { margin: 5px 0 0; color: #516079; line-height: 1.5; white-space: pre-line; }
.pending-answer, .feedback-note { color: var(--muted); font-size: 13px; }
.seller-question { margin: 8px 0; }
.answer-form { margin-top: 12px; }
.content-section { max-width: 1160px; margin: 36px auto; }
.content-section > .section-heading { margin-bottom: 25px; }
.content-section > .section-heading h1 { font: 800 29px "Manrope", sans-serif; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.cart-list { border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.cart-item { display: grid; grid-template-columns: 83px minmax(0, 1fr) 110px 100px; gap: 15px; align-items: center; padding: 15px; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item > img { width: 83px; height: 78px; border-radius: 10px; background: var(--soft); object-fit: cover; }
.cart-item-info a, .cart-item-info small, .cart-item-info strong { display: block; }
.cart-item-info a { font-size: 13px; font-weight: 700; }
.cart-item-info small { margin: 5px 0; color: var(--muted); font-size: 11px; }
.cart-item-info strong, .line-total { font: 700 14px "Manrope", sans-serif; }
.quantity-form { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.quantity-form input { width: 57px; min-height: 34px; padding: 5px; text-align: center; }
.quantity-form button { padding: 5px; border: 0; color: var(--blue); background: transparent; font-size: 10px; cursor: pointer; }
.summary-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 20px rgba(15, 41, 79, .045); }
.summary-card h2 { margin-bottom: 18px; font: 800 18px "Manrope", sans-serif; }
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 12px; margin: 11px 0; color: #66738a; font-size: 12px; }
.summary-line strong, .summary-total strong { color: var(--navy); white-space: nowrap; }
.summary-total { margin: 18px 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 700; }
.summary-total strong { font: 800 19px "Manrope", sans-serif; }
.secure-note { display: block; margin-top: 12px; color: #6a788d; font-size: 11px; text-align: center; }
.centered-card { max-width: 440px; margin: 70px auto; text-align: center; }
.centered-card .auth-switch { margin-top: 17px; }
.checkout-layout .form-card h2 { margin-bottom: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 25px; align-items: start; }
.dashboard-grid .form-card h2 { margin-bottom: 20px; }
.subheading { margin: 2px 0 15px; font: 800 19px "Manrope", sans-serif; }
.count-pill { display: inline-grid; place-items: center; min-width: 23px; height: 23px; margin-left: 5px; border-radius: 12px; color: #1769cf; background: #edf5ff; font: 700 11px "DM Sans", sans-serif; vertical-align: 2px; }
.dashboard-products { display: flex; flex-direction: column; gap: 9px; }
.dashboard-product, .order-row { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dashboard-product img { width: 55px; height: 52px; border-radius: 8px; background: var(--soft); object-fit: cover; }
.dashboard-product > div, .order-row > div { flex: 1; min-width: 0; }
.dashboard-product strong, .dashboard-product small, .order-row strong, .order-row small { display: block; }
.dashboard-product strong, .order-row strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-product small, .order-row small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.status-pill { padding: 6px 9px; border: 0; border-radius: 20px; color: #18764f; background: #e9f8f0; font-size: 10px; font-weight: 700; white-space: nowrap; }
.status-off, .status-pending { color: #8a6413; background: #fff6dd; }
.status-paid { color: #18764f; background: #e9f8f0; }
.status-failed { color: #a33a34; background: #fff0ef; }
.admin-category-list { margin-top: 20px; border-top: 1px solid var(--line); }
.admin-category { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f2f6; font-size: 12px; }
.admin-category form { margin: 0; }
.admin-category button { cursor: pointer; }
.orders-panel { max-width: 800px; }
.orders-panel h2 { font: 800 20px "Manrope", sans-serif; }
.orders-panel .order-row { margin-bottom: 9px; }
.empty-state.compact { padding: 28px 16px; }
.empty-state.compact p { margin: 0; }
.site-footer { border-top: 1px solid #edf0f4; background: #fbfcfe; }
.footer-main, .footer-bottom { width: min(1450px, calc(100% - 64px)); margin: 0 auto; }
.footer-main { display: flex; align-items: center; gap: 23px; padding: 24px 0 17px; }
.footer-brand { font-size: 21px; }
.footer-brand .brand-mark { width: 28px; height: 29px; border-radius: 9px; font-size: 20px; }
.footer-brand .brand-mark svg { width: 19px; height: 19px; }
.footer-main > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-badges { display: flex; gap: 15px; margin-left: auto; color: #69768a; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid #edf0f4; color: #7a8799; font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1150px) {
    .site-header { grid-template-columns: 220px minmax(180px, 1fr) 260px; gap: 18px; }
    .home-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 16px; }
    .home-main { padding-right: 0; }
    .trust-row { position: static; display: grid; grid-template-columns: repeat(3, 1fr); width: auto; margin-top: 12px; gap: 9px; }
    .trust-card { min-height: 82px; padding: 12px; }
    .trust-icon { flex-basis: 38px; width: 38px; height: 38px; font-size: 22px; }
    .trust-card strong { font-size: 12px; }
    .trust-card small { font-size: 10px; }
    .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-seller .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .site-header { width: calc(100% - 32px); grid-template-columns: 1fr auto; gap: 12px; padding: 13px 0; }
    .brand { font-size: 25px; }
    .brand-mark { width: 32px; height: 34px; }
    .search-bar { grid-column: 1 / -1; grid-row: 2; height: 43px; }
    .header-actions { gap: 15px; }
    .header-action { font-size: 9px; }
    .nav-icon { min-height: 23px; font-size: 22px; }
    .notice, .page-shell, .footer-main, .footer-bottom { width: calc(100% - 32px); }
    .page-shell { margin-top: 6px; margin-bottom: 48px; }
    .home-layout { display: block; }
    .category-sidebar { display: none; }
    .hero { min-height: 330px; background-position: 60% center; }
    .hero::before { background: linear-gradient(90deg, rgba(247,239,230,.98), rgba(247,239,230,.88) 65%, rgba(247,239,230,.2)); }
    .hero-copy { padding: 26px 23px; }
    .hero h1 { max-width: 390px; font-size: 34px; }
    .hero p { max-width: 315px; font-size: 14px; }
    .trust-row { grid-template-columns: 1fr; gap: 8px; }
    .trust-card { min-height: 70px; }
    .trust-card strong { font-size: 13px; }
    .trust-card small { font-size: 11px; }
    .section-heading h1, .section-heading h2 { font-size: 20px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-seller { padding: 13px; }
    .category-seller .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-image { height: 145px; }
    .product-info { min-height: 100px; }
    .product-name { font-size: 12px; }
    .product-price { font-size: 16px; }
    .product-meta { font-size: 9px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-card img { height: 115px; }
    .auth-layout { display: flex; min-height: auto; flex-direction: column; gap: 20px; padding: 20px 0; }
    .auth-art { width: 100%; min-height: 210px; padding: 27px; }
    .auth-art h1 { font-size: 34px; }
    .auth-layout .form-card { width: 100%; }
    .detail-layout { grid-template-columns: 1fr; gap: 20px; margin: 15px auto; }
    .detail-image { min-height: 270px; max-height: 370px; }
    .detail-info { padding: 0; }
    .detail-info h1 { font-size: 27px; }
    .cart-layout, .checkout-layout, .dashboard-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 63px minmax(0, 1fr) auto; gap: 10px; padding: 11px; }
    .cart-item > img { width: 63px; height: 63px; }
    .cart-item-info a { font-size: 11px; }
    .cart-item-info small { font-size: 9px; }
    .quantity-form { grid-column: 2; }
    .line-total { grid-column: 3; grid-row: 1; align-self: end; }
    .form-row { grid-template-columns: 1fr; }
    .footer-main { flex-wrap: wrap; gap: 10px 17px; }
    .footer-main > p { flex: 1; }
    .footer-badges { width: 100%; margin-left: 0; }
    .footer-bottom { gap: 10px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
