:root {
  --blue: #69bdf5; --blue-dark: #2176b7; --mint: #a9e7cd; --yellow: #fff1a8;
  --orange: #ff9c61; --pink: #ffb5c8; --ink: #24415a; --muted: #688097;
  --paper: #fffefa; --line: #dcecf4; --shadow: 0 12px 30px rgba(62, 119, 151, .14);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f5fbff; font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.app-shell { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 10% 5%, #fff7c8 0 5%, transparent 14%), radial-gradient(circle at 90% 12%, #d9f7e8 0 7%, transparent 17%), #f7fcff; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 26px; padding: 14px max(20px, calc((100vw - 1180px)/2)); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; white-space: nowrap; }
.brand-mark { display:grid; place-items:center; width: 42px; height: 42px; border-radius: 14px 14px 18px 18px; color: white; background: var(--blue); box-shadow: 4px 5px 0 #ccecff; transform: rotate(-4deg); }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--blue-dark); background: #e9f7ff; }
.nav .primary { color: #785120; background: var(--yellow); }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: 430px; padding: 54px 0 34px; }
.hero-copy { position:relative; z-index:2; }
.hero h1 { max-width: 700px; margin: 0 0 14px; font-size: clamp(38px, 6vw, 68px); line-height: 1.06; letter-spacing: -3px; }
.hero-line { display:inline-block; animation:hero-line-in .7s cubic-bezier(.2,.8,.2,1) both, hero-title-float 4.8s ease-in-out 1s infinite; transform-origin:left center; }.hero-line-accent { color: var(--orange); text-decoration: underline wavy #ffd377 5px; text-underline-offset: 8px; animation-delay:.12s,1.12s; }
.hero p { margin: 0 0 28px; font-size: 19px; color: var(--muted); }
.hero-art { position: relative; height: 300px; }
.big-book { position:absolute; right: 30px; top: 28px; display:grid; place-items:center; width: 220px; height: 250px; border: 10px solid white; border-radius: 28px 18px 18px 28px; background: linear-gradient(135deg, #72c7ff, #9ce6c6); box-shadow: 18px 20px 0 #dff3ff, var(--shadow); color: white; font-size: 76px; font-weight: 900; transform: rotate(7deg); animation:book-float 3.8s ease-in-out infinite; }.big-book span { position:relative; z-index:2; animation:book-letter 2.4s ease-in-out infinite; }.book-page { position:absolute; right:-3px; top:22px; width:18px; height:195px; border-radius:0 10px 10px 0; background:rgba(255,255,255,.72); transform-origin:left center; animation:page-flip 3.4s ease-in-out infinite; }
.bubble { position:absolute; border-radius: 50%; background: var(--yellow); box-shadow: 0 8px 16px rgba(80,120,140,.12); }
.bubble.one { width:70px; height:70px; right:260px; top:25px; animation:bubble-drift 4s ease-in-out infinite; }.bubble.two { width:45px; height:45px; right:20px; bottom:20px; background:var(--pink); animation:bubble-drift 3.3s ease-in-out .4s infinite reverse; }
.hero-sticker { position:absolute; z-index:4; display:grid; place-items:center; border:3px solid white; box-shadow:0 7px 15px rgba(70,120,145,.16); font-weight:900; }.sticker-star { right:8%; top:-18px; width:48px; height:48px; border-radius:16px; color:#8a6214; background:var(--yellow); transform:rotate(8deg); animation:sticker-wiggle 3s ease-in-out infinite; }.sticker-read { right:232px; bottom:8px; padding:8px 13px; border-radius:999px; color:#317856; background:#dff7eb; transform:rotate(-6deg); animation:sticker-wiggle 3.6s ease-in-out .5s infinite reverse; }
.paper-plane { position:absolute; z-index:3; right:265px; top:112px; display:grid; place-items:center; width:54px; height:42px; color:white; background:var(--orange); clip-path:polygon(0 38%,100% 0,70% 100%,51% 61%,28% 82%); font-size:0; transform:rotate(-10deg); animation:plane-flight 5s ease-in-out infinite; }.spark { position:absolute; z-index:3; width:15px; height:15px; background:white; clip-path:polygon(50% 0,62% 36%,100% 50%,62% 64%,50% 100%,38% 64%,0 50%,38% 36%); animation:sparkle 1.8s ease-in-out infinite; }.spark-one { right:72px; top:22px; }.spark-two { right:287px; bottom:62px; animation-delay:.7s; }
.searchbar { display:flex; max-width: 680px; padding: 7px; border: 3px solid #d8eef9; border-radius: 999px; background:white; box-shadow: var(--shadow); }
.searchbar input { flex:1; min-width: 0; padding: 12px 18px; border:0; outline:0; background:transparent; }
.btn { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 900; color: var(--ink); background: var(--yellow); box-shadow: 0 5px 0 #ead475; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #ead475; }.btn:active { transform:translateY(3px); box-shadow:none; }
.btn.blue { color:white; background:var(--blue); box-shadow:0 5px 0 #318ec7; }.btn.orange { color:white; background:var(--orange); box-shadow:0 5px 0 #db7440; }.btn.ghost { background:white; box-shadow:none; border:2px solid var(--line); }.btn.danger { color:#a63e42; background:#ffe4e6; box-shadow:none; }
.section { padding: 38px 0 54px; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.section-head h2 { margin:0; font-size:30px; }.section-head p { margin:4px 0 0; color:var(--muted); }
.categories { display:grid; grid-template-columns:repeat(7, 1fr); gap:12px; }
.category { padding:18px 10px; border:2px solid white; border-radius:22px; background:white; box-shadow:var(--shadow); text-align:center; font-weight:800; transition:.2s; }
.category:nth-child(3n+1){background:#e9f7ff}.category:nth-child(3n+2){background:#edfbf4}.category:nth-child(3n){background:#fff8d6}
.category:hover { transform:translateY(-5px) rotate(-1deg); }.category b { display:block; margin-bottom:8px; font-size:28px; color:var(--blue-dark); }
.scenery-page { padding-top:1px; }.campus-scenery-section { padding:35px 0 60px; background:linear-gradient(135deg,#eaf8ff,#f0fbf5 55%,#fff8d4); }.scenery-grid { display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:210px 210px; gap:16px; }.scenery-card { position:relative; overflow:hidden; padding:0; border:4px solid white; border-radius:26px; background:white; box-shadow:var(--shadow); }.scenery-main { grid-row:1/3; }.scenery-card img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }.scenery-card:hover img { transform:scale(1.05); }.scenery-card span { position:absolute; left:14px; bottom:14px; padding:7px 11px; border-radius:999px; color:white; background:rgba(27,66,88,.74); backdrop-filter:blur(8px); font-weight:800; }.scenery-modal { position:fixed; inset:0; z-index:80; display:grid; place-items:center; padding:40px; background:rgba(21,50,67,.82); backdrop-filter:blur(8px); }.scenery-modal img { max-width:min(1200px,95vw); max-height:82vh; border:5px solid white; border-radius:26px; box-shadow:0 25px 80px rgba(0,0,0,.3); }.scenery-modal strong { position:fixed; bottom:20px; padding:8px 16px; border-radius:999px; color:white; background:rgba(0,0,0,.5); }.scenery-modal button { position:fixed; top:20px; right:20px; width:44px; height:44px; border:0; border-radius:50%; font-size:25px; background:white; }
.book-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; }
.book-card { position:relative; overflow:hidden; border:3px solid white; border-radius:var(--radius); background:white; box-shadow:var(--shadow); transition:.25s; }
.book-card:hover { transform:translateY(-7px) rotate(.4deg); }
.book-cover { display:grid; place-items:center; height:180px; padding:24px; background:linear-gradient(145deg, #e5f6ff, #e6faef); }
.cover-book { display:flex; align-items:center; justify-content:center; width:112px; height:145px; padding:13px; border-radius:8px 16px 16px 8px; color:white; background:linear-gradient(150deg, var(--blue), #4e9fd7); box-shadow:10px 10px 0 rgba(255,255,255,.7), 14px 14px 18px rgba(42,105,143,.2); font-weight:900; text-align:center; }
.book-cover img { width:100%; height:100%; object-fit:cover; }
.sticker { position:absolute; top:12px; left:12px; padding:6px 10px; border-radius:999px; background:var(--yellow); font-size:12px; font-weight:900; transform:rotate(-4deg); }
.book-info { padding:17px; }.book-info h3 { height:48px; margin:0 0 8px; font-size:17px; line-height:1.4; overflow:hidden; }
.meta { color:var(--muted); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.price-row { display:flex; align-items:baseline; gap:8px; margin:13px 0; }.price { color:#f06e42; font-size:25px; font-weight:900; }.original { color:#9aabb8; font-size:13px; text-decoration:line-through; }
.card-foot { display:flex; justify-content:space-between; gap:8px; align-items:center; }.status { color:#33835e; font-size:12px; font-weight:900; }.status.sold { color:#a16b72; }
.page-banner { margin:28px auto; padding:34px; border-radius:32px; background:linear-gradient(120deg, #dff4ff, #e9faef 60%, #fff6c8); box-shadow:var(--shadow); }
.page-banner h1 { margin:0 0 8px; font-size:38px; }.page-banner p { margin:0; color:var(--muted); }
.filters { display:grid; grid-template-columns:2fr repeat(3, 1fr); gap:12px; margin-bottom:24px; }
.field, .filters input, .filters select { width:100%; padding:13px 15px; border:2px solid var(--line); border-radius:16px; outline:0; background:white; }
.filters input:focus, .filters select:focus, .field:focus { border-color:var(--blue); box-shadow:0 0 0 4px #dff3ff; }
.empty { grid-column:1/-1; padding:70px 20px; border:3px dashed #cfe9f6; border-radius:30px; text-align:center; color:var(--muted); background:white; }.empty strong { display:block; margin-bottom:8px; color:var(--ink); font-size:24px; }
.detail { display:grid; grid-template-columns:.75fr 1.25fr; gap:38px; padding:38px 0 60px; }
.detail-cover { display:grid; place-items:center; min-height:440px; border-radius:34px; background:linear-gradient(150deg,#e2f5ff,#ebfaef); box-shadow:var(--shadow); }
.detail-cover .cover-book { width:220px; height:290px; font-size:26px; }
.detail-main { padding:10px 0; }.detail-main h1 { margin:10px 0; font-size:42px; }.detail-price { font-size:42px; color:#f06e42; font-weight:900; }
.save { display:inline-block; margin-left:10px; padding:6px 10px; border-radius:999px; background:#fff3b6; color:#8b6414; font-weight:800; }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin:20px 0; }.tag { padding:8px 12px; border-radius:999px; background:#edf8ff; color:#39769d; font-size:13px; font-weight:800; }
.info-list { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }.info-item { padding:14px; border-radius:18px; background:white; border:2px solid var(--line); }.info-item small { display:block; color:var(--muted); margin-bottom:4px; }
.actions { display:flex; gap:12px; margin:25px 0; }
.form-card { max-width:900px; margin:28px auto 60px; padding:30px; border-radius:30px; background:white; box-shadow:var(--shadow); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }.form-group { display:flex; flex-direction:column; gap:7px; }.form-group.full { grid-column:1/-1; }.form-group label { font-weight:800; }.form-group textarea { min-height:110px; resize:vertical; }
.preview { max-width:180px; max-height:180px; object-fit:cover; border-radius:18px; border:2px solid var(--line); }
.admin-table { width:100%; border-collapse:separate; border-spacing:0 9px; }.admin-table th { padding:8px 12px; text-align:left; color:var(--muted); font-size:13px; }.admin-table td { padding:12px; background:white; }.admin-table td:first-child { border-radius:15px 0 0 15px; }.admin-table td:last-child { border-radius:0 15px 15px 0; }
.admin-login { width:min(520px,100%); margin:70px auto; padding:38px; border:3px solid white; border-radius:32px; background:white; box-shadow:var(--shadow); text-align:center; }.admin-login h1 { margin:14px 0 8px; }.admin-login p { color:var(--muted); line-height:1.7; }.admin-login form { display:flex; gap:10px; margin:24px 0; }.admin-login form .field { flex:1; }.admin-login a { color:var(--blue-dark); font-weight:800; }.login-mark { display:grid; place-items:center; width:66px; height:66px; margin:auto; border-radius:22px; color:white; background:var(--blue); font-weight:900; transform:rotate(-5deg); box-shadow:8px 8px 0 #dff3ff; }.login-error { color:#b7464c !important; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.checkout-page,.payment-page { padding:28px 0 60px; }.checkout-layout { display:grid; grid-template-columns:.75fr 1.25fr; gap:28px; align-items:start; }.checkout-summary { position:sticky; top:95px; padding:24px; border-radius:28px; background:white; box-shadow:var(--shadow); text-align:center; }.checkout-summary .book-cover { border-radius:22px; }.checkout-summary h2 { margin:18px 0 8px; }.checkout-summary p,.form-note { color:var(--muted); }.checkout-summary strong { color:var(--orange); font-size:32px; }.delivery-form { display:grid; gap:18px; max-width:none; margin:0; }.form-note { margin:0; font-size:13px; line-height:1.6; }.payment-card { width:min(540px,100%); margin:auto; padding:32px; border-radius:32px; background:white; box-shadow:var(--shadow); text-align:center; }.payment-card h1 { margin:14px 0 20px; }.pay-step { display:inline-block; padding:7px 12px; border-radius:999px; color:#297451; background:#e4f8ee; font-weight:800; font-size:13px; }
.vr-page { padding:32px 0 54px; }.vr-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }.vr-heading h1 { margin:0 0 7px; font-size:38px; }.vr-heading p,.vr-help { margin:0; color:var(--muted); }.vr-frame-wrap { position:relative; overflow:hidden; min-height:680px; border:5px solid white; border-radius:30px; background:linear-gradient(145deg,#e4f6ff,#eaf9f0); box-shadow:var(--shadow); }.vr-frame { position:absolute; inset:0; z-index:2; width:100%; height:100%; border:0; background:transparent; }.vr-frame-loading { position:absolute; inset:0; display:grid; place-items:center; color:var(--blue-dark); font-weight:900; }.vr-frame-wrap.loaded .vr-frame-loading { display:none; }.vr-help { padding-top:14px; text-align:center; font-size:13px; }
.campus-map-section { padding-top:45px; }.campus-map-image { display:block; width:100%; border:5px solid white; border-radius:30px; box-shadow:var(--shadow); }.map-fallback { display:none; padding:70px 20px; border:3px dashed var(--line); border-radius:26px; background:white; text-align:center; color:var(--muted); }.map-missing .campus-map-image { display:none; }.map-missing .map-fallback { display:block; }
.modal-backdrop { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:20px; background:rgba(29,62,80,.42); backdrop-filter:blur(7px); }
.modal { position:relative; width:min(480px, 100%); padding:28px; border-radius:30px; background:white; box-shadow:0 30px 80px rgba(24,62,82,.25); text-align:center; }
.modal h2 { margin-top:0; }.pay-qr { width:230px; height:230px; object-fit:contain; padding:10px; border-radius:22px; background:white; border:3px solid #e1eff5; }.pay-info { margin:16px 0; padding:14px; border-radius:18px; background:#f4fbff; text-align:left; }
.modal-close { position:absolute; right:15px; top:15px; border:0; border-radius:50%; width:36px; height:36px; background:#eef7fb; }
.payment-warning { margin:14px 0; padding:13px; border:1px solid #ffd09d; border-radius:12px; color:#9a4a16; background:#fff7e9; line-height:1.6; }
.exact-amount { color:var(--market-orange); font-size:25px; }
.payment-proof-form { display:grid; gap:10px; margin:18px 0; padding:18px; border:1px solid #ececec; border-radius:15px; background:#fafafa; text-align:left; }
.payment-proof-form label { font-weight:800; font-size:13px; }
.payment-confirm-check {
  display:flex; align-items:flex-start; gap:9px; padding:12px; border-radius:11px;
  color:#6f5a43; background:#fff7e9; line-height:1.5;
}
.payment-confirm-check input { flex:0 0 auto; width:18px; height:18px; margin-top:1px; accent-color:var(--market-orange); }
.cod-option { margin:18px 0; padding:18px; border:1px solid #bfe8d1; border-radius:15px; background:#effbf4; text-align:left; }
.cod-option h3 { margin:0 0 6px; color:#27734e; }
.cod-option p { margin:0 0 13px; color:#668174; font-size:13px; line-height:1.6; }
.cod-option .cod-button { width:100%; color:#fff; background:#35a76f; box-shadow:0 5px 0 #238454; }
.payment-divider { display:flex; align-items:center; gap:10px; color:#999; font-size:12px; }
.payment-divider::before,.payment-divider::after { content:""; flex:1; height:1px; background:#e8e8e8; }
.proof-preview { display:none; width:100%; max-height:330px; object-fit:contain; border:1px solid #e4e4e4; border-radius:12px; background:white; }
.proof-submitted { margin:16px 0; padding:18px; border-radius:14px; color:#356b55; background:#eef9f4; }
.proof-submitted p { margin-bottom:5px; }
.loading { position:fixed; z-index:100; top:0; left:0; width:0; height:4px; pointer-events:none; opacity:0; background:linear-gradient(90deg,var(--blue),var(--mint),var(--orange)); box-shadow:0 2px 8px rgba(70,160,220,.35); transition:width .25s ease,opacity .2s; }.loading.active { width:82%; opacity:1; animation:loading-progress 1.5s ease-in-out infinite alternate; }
.toast { position:fixed; z-index:90; left:50%; bottom:24px; transform:translate(-50%, 100px); padding:12px 20px; border-radius:999px; color:white; background:var(--ink); box-shadow:var(--shadow); opacity:0; transition:.25s; }.toast.show { transform:translate(-50%,0); opacity:1; }
.site-footer { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; text-align:center; color:var(--muted); font-size:13px; }
.site-footer b { padding:5px 10px; border-radius:999px; color:#99501f; background:#fff0df; font-size:12px; }
@keyframes bounce { to { transform:translateY(-12px) rotate(3deg); } }
@keyframes loading-progress { from { width:12%; } to { width:88%; } }
@keyframes hero-line-in { from { opacity:0; transform:translateY(24px) rotate(-2deg); } to { opacity:1; transform:translateY(0) rotate(0); } }
@keyframes hero-title-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-4px); } }
@keyframes book-float { 0%,100% { transform:translateY(0) rotate(7deg); } 50% { transform:translateY(-13px) rotate(4deg); } }
@keyframes book-letter { 0%,100% { transform:scale(1) rotate(0); } 50% { transform:scale(1.06) rotate(-3deg); } }
@keyframes page-flip { 0%,65%,100% { transform:perspective(160px) rotateY(0); } 78% { transform:perspective(160px) rotateY(-45deg); } }
@keyframes bubble-drift { 0%,100% { transform:translate(0,0) scale(1); } 50% { transform:translate(7px,-12px) scale(1.07); } }
@keyframes sticker-wiggle { 0%,100% { transform:rotate(8deg) translateY(0); } 50% { transform:rotate(2deg) translateY(-6px); } }
@keyframes plane-flight { 0%,100% { transform:translate(0,0) rotate(-10deg); } 45% { transform:translate(-20px,-18px) rotate(-4deg); } 55% { transform:translate(-17px,-20px) rotate(-13deg); } }
@keyframes sparkle { 0%,100% { opacity:.35; transform:scale(.65) rotate(0); } 50% { opacity:1; transform:scale(1.25) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; scroll-behavior:auto !important; } }
@media (max-width: 900px) { .hero { grid-template-columns:1fr; }.hero-art { display:none; }.sticker-star { left:230px; right:auto; top:52px; width:42px; height:42px; }.categories { grid-template-columns:repeat(4,1fr); }.scenery-grid { grid-template-columns:1fr 1fr; grid-template-rows:300px 190px 190px; }.scenery-main { grid-column:1/3; grid-row:auto; }.book-grid { grid-template-columns:repeat(2,1fr); }.detail,.checkout-layout { grid-template-columns:1fr; }.checkout-summary { position:static; }.filters { grid-template-columns:1fr 1fr; }.nav a:not(.primary):not(.nav-vr):not(.nav-scenery) { display:none; }.vr-frame-wrap { min-height:620px; } }
@media (max-width: 560px) { .brand span:last-child { display:none; }.topbar { padding:10px 16px; }.container { width:min(100% - 22px,1180px); }.hero { min-height:auto; padding:45px 0 28px; }.hero h1 { font-size:40px; letter-spacing:-2px; }.hero p { font-size:16px; }.searchbar .btn { padding:11px 15px; }.categories { grid-template-columns:repeat(2,1fr); }.campus-scenery-section { padding:38px 0; }.scenery-grid { display:flex; overflow-x:auto; gap:12px; padding-bottom:8px; scroll-snap-type:x mandatory; }.scenery-card,.scenery-main { flex:0 0 82%; height:260px; scroll-snap-align:center; }.scenery-modal { padding:12px; }.book-grid { grid-template-columns:1fr; }.book-cover { height:150px; }.filters,.form-grid,.info-list { grid-template-columns:1fr; }.form-group.full { grid-column:auto; }.page-banner { padding:25px; }.page-banner h1,.detail-main h1 { font-size:30px; }.detail-cover { min-height:330px; }.admin-scroll { overflow:auto; }.admin-table { min-width:720px; }.actions { flex-wrap:wrap; }.admin-login { margin:35px auto; padding:25px; }.admin-login form { flex-direction:column; }.vr-page { padding-top:20px; }.vr-heading { align-items:flex-start; flex-direction:column; }.vr-heading h1 { font-size:30px; }.vr-frame-wrap { min-height:70vh; border-radius:22px; } }

/* Refined campus style: keep the playful shapes, add quieter premium details. */
:root {
  --ink: #18374f;
  --muted: #667f91;
  --paper: #fffefd;
  --line: rgba(68, 125, 156, .15);
  --shadow: 0 18px 48px rgba(42, 91, 118, .11), 0 3px 10px rgba(42, 91, 118, .05);
}
body { background:#f4fafc; text-rendering:optimizeLegibility; }
.app-shell {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 229, 135, .35), transparent 20%),
    radial-gradient(circle at 94% 8%, rgba(144, 226, 194, .27), transparent 24%),
    linear-gradient(180deg, #fbfeff 0%, #f3f9fc 100%);
}
.topbar {
  padding-top:12px; padding-bottom:12px;
  background:rgba(255,255,255,.78);
  border-bottom:1px solid rgba(45,103,135,.1);
  box-shadow:0 8px 30px rgba(42,91,118,.045);
  backdrop-filter:blur(22px) saturate(145%);
}
.brand { letter-spacing:-.5px; }
.brand-mark {
  border:1px solid rgba(255,255,255,.8);
  background:linear-gradient(145deg,#76ccfa,#52aee8);
  box-shadow:0 9px 22px rgba(61,157,214,.23), 3px 4px 0 #d9f1fd;
}
.nav a { transition:background .25s ease,color .25s ease,transform .25s ease; }
.nav a:hover { transform:translateY(-1px); }
.nav .primary {
  color:#684716;
  background:linear-gradient(135deg,#fff3b0,#ffe98a);
  box-shadow:0 8px 20px rgba(219,181,62,.16);
}
.cart-count { display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 5px; border-radius:999px; color:#fff; background:var(--market-orange); font-size:10px; }
.page-banner {
  position:relative; overflow:hidden;
  padding:38px 42px;
  border:1px solid rgba(255,255,255,.9);
  background:linear-gradient(125deg,rgba(220,243,255,.9),rgba(232,250,241,.88) 58%,rgba(255,246,200,.8));
  box-shadow:0 20px 55px rgba(42,91,118,.09);
}
.page-banner::after {
  content:""; position:absolute; right:-45px; top:-70px; width:190px; height:190px;
  border:28px solid rgba(255,255,255,.38); border-radius:50%;
}
.page-banner h1 { position:relative; z-index:1; letter-spacing:-1.5px; }
.page-banner p { position:relative; z-index:1; }
.filters {
  padding:12px;
  border:1px solid rgba(255,255,255,.9);
  border-radius:22px;
  background:rgba(255,255,255,.62);
  box-shadow:0 14px 40px rgba(42,91,118,.07);
  backdrop-filter:blur(16px);
}
.field,.filters input,.filters select {
  border:1px solid rgba(68,125,156,.16);
  background:rgba(255,255,255,.9);
  transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;
}
.filters input:hover,.filters select:hover,.field:hover { border-color:rgba(59,151,204,.34); }
.btn {
  box-shadow:0 8px 18px rgba(192,155,45,.15);
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.btn:hover { transform:translateY(-2px); box-shadow:0 11px 24px rgba(82,119,137,.16); filter:saturate(1.04); }
.btn:active { transform:translateY(0); box-shadow:0 4px 10px rgba(82,119,137,.12); }
.btn.blue {
  background:linear-gradient(135deg,#69bef1,#4da8df);
  box-shadow:0 9px 22px rgba(56,148,202,.23);
}
.btn.orange {
  background:linear-gradient(135deg,#ff9f68,#f1844e);
  box-shadow:0 9px 22px rgba(225,119,66,.22);
}
.btn.ghost { border:1px solid rgba(68,125,156,.18); box-shadow:0 5px 14px rgba(42,91,118,.06); }
.book-grid { gap:22px; }
.book-card {
  border:1px solid rgba(255,255,255,.95);
  border-radius:26px;
  box-shadow:0 18px 45px rgba(43,91,117,.09),0 2px 8px rgba(43,91,117,.045);
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease;
}
.book-card::after {
  content:""; position:absolute; inset:0; pointer-events:none; border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(53,118,152,.055);
}
.book-card:hover {
  transform:translateY(-8px);
  border-color:rgba(132,205,239,.5);
  box-shadow:0 25px 60px rgba(43,91,117,.15),0 5px 15px rgba(43,91,117,.07);
}
.book-cover {
  position:relative; overflow:hidden;
  background:
    radial-gradient(circle at 20% 18%,rgba(255,255,255,.95) 0 3%,transparent 3.5%),
    linear-gradient(145deg,#e5f6fe,#e9f9f0);
}
.book-cover::after {
  content:""; position:absolute; inset:auto -35px -60px auto; width:145px; height:145px;
  border:22px solid rgba(255,255,255,.34); border-radius:50%;
}
.cover-book {
  position:relative; z-index:1;
  border:1px solid rgba(255,255,255,.55);
  background:linear-gradient(155deg,#65bbed,#3f91c8);
  box-shadow:10px 10px 0 rgba(255,255,255,.7),16px 19px 30px rgba(42,105,143,.19);
  transition:transform .3s ease,box-shadow .3s ease;
}
.book-card:hover .cover-book { transform:translateY(-3px) rotate(-1deg); box-shadow:11px 13px 0 rgba(255,255,255,.76),18px 24px 34px rgba(42,105,143,.22); }
.sticker {
  z-index:3; border:1px solid rgba(255,255,255,.85);
  background:rgba(255,242,174,.92);
  box-shadow:0 7px 18px rgba(139,108,20,.12);
  backdrop-filter:blur(8px);
}
.book-info { padding:19px; }
.book-info h3 { color:#173950; letter-spacing:-.25px; }
.price { color:#e96c42; letter-spacing:-1px; }
.status { display:inline-flex; align-items:center; gap:5px; }
.status::before { content:""; width:6px; height:6px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px rgba(51,131,94,.09); }
.category {
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 15px 38px rgba(43,91,117,.08);
  transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s ease;
}
.category:hover { transform:translateY(-6px); box-shadow:0 22px 48px rgba(43,91,117,.13); }
.form-card,.checkout-summary,.payment-card,.detail-cover,.info-item {
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 18px 48px rgba(42,91,118,.09);
}
@media (max-width:560px) {
  .page-banner { padding:27px; border-radius:26px; }
  .filters { padding:9px; }
  .book-grid { gap:17px; }
  .book-card { border-radius:23px; }
}

/* Campus marketplace mode: inspired by modern resale commerce, with its own ZTU identity. */
:root {
  --market-orange:#ff6b21;
  --market-orange-dark:#e95412;
  --market-yellow:#ffd84d;
  --market-bg:#f6f6f6;
  --market-ink:#222;
}
.app-shell { background:var(--market-bg); }
.market-utility {
  height:32px; color:#65727b; background:#f3f5f6; border-bottom:1px solid #e8ecee;
  font-size:12px;
}
.market-utility-inner {
  width:min(1180px,calc(100% - 32px)); height:100%; margin:auto;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.market-utility-inner span:first-child { color:var(--market-orange); font-weight:800; }
.topbar {
  position:sticky; top:0; min-height:70px; padding-top:10px; padding-bottom:10px;
  background:rgba(255,255,255,.95); box-shadow:0 3px 16px rgba(0,0,0,.055);
}
.brand { color:#172f40; font-size:18px; }
.brand-mark {
  width:44px; height:44px; border-radius:13px; transform:none;
  background:linear-gradient(145deg,var(--market-yellow),#ffb92e);
  color:#5d4100; box-shadow:0 8px 18px rgba(255,184,35,.25);
}
.nav { gap:4px; }
.nav a { color:#4d5961; font-size:14px; }
.nav a:hover,.nav a.active { color:var(--market-orange); background:#fff2eb; }
.nav .primary {
  color:#fff; background:linear-gradient(135deg,#ff7c32,var(--market-orange));
  box-shadow:0 8px 18px rgba(255,107,33,.22);
}
.container { width:min(1240px,calc(100% - 32px)); }
.page-banner {
  min-height:130px; margin:22px auto 18px; padding:28px 34px;
  border:0; border-radius:18px;
  background:
    radial-gradient(circle at 88% 30%,rgba(255,255,255,.62) 0 6%,transparent 6.5%),
    linear-gradient(112deg,#fff4d0,#fff0d8 50%,#e8f7f2);
  box-shadow:none;
}
.page-banner::after { border-color:rgba(255,255,255,.5); }
.page-banner h1 { color:#222; font-size:34px; letter-spacing:-1px; }
.page-banner p { color:#7b7165; }
.filters {
  position:sticky; top:76px; z-index:12;
  grid-template-columns:2fr repeat(3,1fr) auto;
  padding:10px; margin-bottom:18px; border:1px solid #ededed; border-radius:16px;
  background:rgba(255,255,255,.94); box-shadow:0 7px 22px rgba(0,0,0,.055);
  backdrop-filter:blur(16px);
}
.field,.filters input,.filters select {
  min-height:44px; padding:10px 13px; border:1px solid #e7e7e7; border-radius:11px;
  background:#fafafa;
}
.filters input:focus,.filters select:focus,.field:focus {
  border-color:#ff9f6f; box-shadow:0 0 0 3px rgba(255,107,33,.1);
}
.filters .btn.blue {
  min-width:112px; border-radius:11px; background:linear-gradient(135deg,#ff7d36,var(--market-orange));
  box-shadow:none;
}
.book-grid { grid-template-columns:repeat(5,1fr); gap:14px; }
.book-card {
  border:1px solid #ececec; border-radius:15px; background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.035);
}
.book-card::after { display:none; }
.book-card:hover {
  transform:translateY(-4px); border-color:#ffc6a9;
  box-shadow:0 12px 30px rgba(46,39,34,.1);
}
.book-cover { height:185px; background:linear-gradient(145deg,#f2f6f7,#eaf3f1); }
.book-cover::after { opacity:.5; }
.cover-book {
  width:104px; height:138px; border-radius:5px 11px 11px 5px;
  background:linear-gradient(155deg,#65aed3,#357fa8);
  box-shadow:8px 8px 0 rgba(255,255,255,.72),12px 16px 24px rgba(29,90,123,.17);
  font-size:13px;
}
.book-card:hover .cover-book { transform:translateY(-2px); }
.sticker {
  top:9px; left:9px; padding:5px 8px; transform:none; border:0; border-radius:6px;
  color:#6a4900; background:var(--market-yellow); box-shadow:none;
}
.book-info { padding:13px 13px 14px; }
.market-tag-row { display:flex; align-items:center; gap:6px; margin-bottom:7px; font-size:11px; }
.market-tag { padding:2px 5px; border-radius:4px; color:var(--market-orange-dark); background:#fff0e8; font-weight:800; }
.market-campus { color:#8b969c; }
.book-info h3 {
  height:42px; margin-bottom:7px; color:var(--market-ink); font-size:15px; font-weight:700;
  line-height:1.4;
}
.meta { font-size:12px; color:#929a9e; }
.price-row { margin:10px 0 8px; }
.price { color:var(--market-orange); font-size:23px; letter-spacing:-.8px; }
.price::first-letter { font-size:14px; }
.original { font-size:11px; }
.card-foot { padding-top:8px; border-top:1px solid #f2f2f2; }
.status { color:#6d8d7e; font-size:11px; font-weight:600; }
.status::before { box-shadow:none; }
.btn.buy-mini {
  padding:7px 11px; border-radius:8px; color:#fff;
  background:var(--market-orange); box-shadow:none; font-size:12px;
}
.btn.buy-mini:hover { box-shadow:0 6px 15px rgba(255,107,33,.22); }
.card-actions { display:flex; align-items:center; gap:5px; }
.cart-mini,.cart-remove { border:0; color:var(--market-orange); background:transparent; font-size:11px; cursor:pointer; }
.cart-mini:hover,.cart-remove:hover { text-decoration:underline; }
.cart-layout { display:grid; grid-template-columns:1fr 300px; gap:22px; align-items:start; padding:12px 0 60px; }
.cart-list { display:grid; gap:12px; }
.cart-item { display:grid; grid-template-columns:90px 1fr auto; gap:16px; align-items:center; padding:15px; border:1px solid #ececec; border-radius:16px; background:white; }
.cart-cover .book-cover { height:100px; border-radius:10px; }
.cart-cover .cover-book { width:55px; height:72px; font-size:8px; }
.cart-item-main h3 { margin:7px 0; font-size:16px; }
.cart-item-main p { margin:0 0 7px; color:var(--muted); font-size:12px; }
.cart-item > strong,.cart-total strong,.cart-settlement strong { color:var(--market-orange); }
.cart-settlement { position:sticky; top:100px; padding:22px; border:1px solid #ececec; border-radius:16px; background:white; box-shadow:0 8px 25px rgba(0,0,0,.06); }
.cart-settlement h2 { margin-top:0; }
.cart-settlement p,.cart-total,.checkout-line { display:flex; justify-content:space-between; gap:16px; padding:10px 0; border-bottom:1px solid #f0f0f0; }
.cart-settlement .btn { width:100%; margin-top:14px; }
.cart-checkout-summary { text-align:left; }
.cart-total { margin-top:10px; align-items:center; }
.order-center { padding:5px 0 60px; }
.order-tabs { display:flex; gap:8px; overflow:auto; padding-bottom:14px; }
.order-tabs button { border:1px solid #e8e8e8; border-radius:999px; padding:9px 16px; background:white; cursor:pointer; white-space:nowrap; }
.order-tabs button.active { color:#fff; border-color:var(--market-orange); background:var(--market-orange); }
.order-list { display:grid; gap:14px; }
.order-card { overflow:hidden; border:1px solid #e9e9e9; border-radius:16px; background:white; box-shadow:0 5px 18px rgba(0,0,0,.045); }
.order-head,.order-foot { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:13px 16px; background:#fafafa; color:#707b82; font-size:12px; }
.order-status { color:var(--market-orange); }
.order-items { padding:5px 16px; }
.order-item-line { display:flex; justify-content:space-between; gap:15px; padding:10px 0; border-bottom:1px solid #f3f3f3; }
.order-foot strong { color:var(--market-orange); font-size:16px; }
.order-foot .btn { padding:8px 12px; font-size:12px; }
.order-alert { margin:0 16px; padding:10px 12px; border:1px solid #ffd1d1; border-radius:10px; color:#a43e3e; background:#fff1f1; font-weight:800; font-size:13px; }
.admin-status { min-width:110px; padding:7px; margin-bottom:4px; }
.proof-button { margin-top:5px; padding:6px 9px; font-size:11px; }
.paid-ok { color:#24845b; }.paid-error { color:#c74343; }
.review-note { display:block; max-width:160px; margin-top:5px; color:#b54444; line-height:1.4; }
.student-protected {
  display:inline-flex; padding:7px 10px; border-radius:999px;
  color:#39765d; background:#e7f6ee; font-size:12px; font-weight:800;
}
.recycle-admin-list { display:grid; gap:14px; padding-bottom:60px; }
.recycle-admin-card {
  display:grid; grid-template-columns:1.4fr 1fr auto; gap:20px; align-items:center;
  padding:20px; border:1px solid #e9e9e9; border-radius:16px; background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.045);
}
.recycle-admin-card h3 { margin:9px 0 6px; }
.recycle-admin-card p { color:var(--muted); }
.recycle-contact,.recycle-actions { display:grid; gap:8px; }
.recycle-contact b { color:var(--market-orange); }
.nav-account {
  border:0; border-radius:999px; padding:10px 13px; color:#80501f;
  background:#fff3d7; cursor:pointer; font-weight:700;
}
.mobile-more-button,.mobile-more-menu,.mobile-bottom-nav { display:none; }
.detail-cover img {
  display:block; width:auto; height:auto; max-width:88%; max-height:520px;
  object-fit:contain; border-radius:12px; box-shadow:0 16px 35px rgba(32,67,87,.13);
}
.auth-page { min-height:calc(100vh - 180px); display:grid; place-items:center; padding:44px 0 70px; }
.auth-card {
  width:min(850px,100%); display:grid; grid-template-columns:.9fr 1.1fr; overflow:hidden;
  border:1px solid #ececec; border-radius:24px; background:#fff; box-shadow:0 20px 60px rgba(50,42,34,.12);
}
.auth-visual {
  display:flex; flex-direction:column; justify-content:center; padding:48px;
  background:linear-gradient(145deg,#fff1c6,#ffe1c8 55%,#dff4eb);
}
.auth-visual h1 { margin:18px 0 8px; font-size:38px; }
.auth-visual p { color:#776b61; line-height:1.8; }
.auth-visual small { color:#8b725c; line-height:1.7; }
.auth-book {
  display:grid; place-items:center; width:82px; height:104px; border-radius:8px 17px 17px 8px;
  color:#fff; background:linear-gradient(145deg,#ffb638,#ff6b21); box-shadow:12px 12px 0 rgba(255,255,255,.65);
  font-size:35px; font-weight:900; transform:rotate(-5deg);
}
.auth-form { display:grid; gap:11px; align-content:center; padding:48px; }
.auth-form h2 { margin:0 0 15px; }
.auth-form label { color:#555; font-size:13px; font-weight:800; }
.code-row { display:grid; grid-template-columns:1fr auto; gap:8px; }
.code-row .btn { min-width:120px; white-space:nowrap; }
.auth-submit { width:100%; margin-top:12px; }
.auth-links { display:flex; justify-content:center; gap:18px; margin-top:4px; }
.auth-links button {
  border:0; padding:4px; color:var(--market-orange); background:transparent;
  cursor:pointer; font:inherit; font-size:13px; font-weight:800;
}
.auth-links button:hover { text-decoration:underline; }
.section { padding-top:25px; }
.section-head h2 { color:#222; font-size:27px; }
.category { border:1px solid #ececec; border-radius:14px; box-shadow:0 3px 12px rgba(0,0,0,.035); }
.category:hover { transform:translateY(-4px); box-shadow:0 10px 25px rgba(0,0,0,.08); }
.hero {
  min-height:350px; margin-top:22px; padding:42px 48px;
  border-radius:22px;
  background:
    radial-gradient(circle at 82% 18%,rgba(255,255,255,.72) 0 5%,transparent 5.5%),
    linear-gradient(112deg,#fff4cf,#ffefd8 52%,#e3f5ee);
}
.hero-copy { display:flex; flex-direction:column; justify-content:center; min-width:0; }
.hero-eyebrow {
  display:flex; align-items:center; gap:9px; margin-bottom:16px;
  color:#9b673d; font-size:13px; font-weight:900; letter-spacing:2px;
  animation:hero-formal-in .65s ease-out both;
}
.hero-eyebrow span { width:29px; height:3px; border-radius:999px; background:var(--market-orange); }
.hero h1.hero-title {
  position:relative; max-width:780px; margin:0 0 20px;
  color:#172d3c; font-size:clamp(45px,5.3vw,72px); line-height:1.02; letter-spacing:-3.5px;
}
.hero-title span { display:block; }
.hero-title-school {
  margin-bottom:10px; color:#172d3c; font-size:.68em; letter-spacing:2px;
  animation:hero-formal-in .7s .08s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title-market {
  position:relative; width:max-content; max-width:100%; color:var(--market-orange);
  animation:hero-formal-in .76s .18s cubic-bezier(.2,.8,.2,1) both;
}
.hero-title-market::after {
  content:""; position:absolute; left:0; right:0; bottom:-9px; height:7px;
  border-radius:999px; background:linear-gradient(90deg,var(--market-yellow),#ffb04e,transparent);
  transform-origin:left; animation:hero-underline-in .85s .55s cubic-bezier(.2,.8,.2,1) both;
}
.hero p.hero-subtitle {
  margin:0 0 28px; color:#6f665d; font-size:18px; font-weight:700; letter-spacing:.2px;
  animation:hero-formal-in .72s .32s ease-out both;
}
.hero .searchbar {
  max-width:720px; padding:5px; border:2px solid var(--market-orange); border-radius:13px;
  box-shadow:0 10px 24px rgba(255,107,33,.12);
}
.hero .searchbar .btn.blue {
  border-radius:9px; background:linear-gradient(135deg,#ff7d36,var(--market-orange)); box-shadow:none;
}
.big-book { background:linear-gradient(145deg,#ffc93d,#ff922e); box-shadow:18px 20px 0 rgba(255,255,255,.55),0 18px 40px rgba(224,133,31,.2); }
.hero-team {
  position:absolute; right:24px; top:24px; z-index:5; padding:8px 13px;
  border:2px solid rgba(255,255,255,.95); border-radius:999px;
  color:#b64d1c; background:rgba(255,248,218,.94);
  box-shadow:0 8px 18px rgba(151,91,30,.13);
  font-size:13px; font-weight:900; transform:rotate(4deg);
}
@keyframes hero-formal-in {
  from { opacity:0; transform:translateY(18px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes hero-underline-in {
  from { opacity:0; transform:scaleX(0); }
  to { opacity:1; transform:scaleX(1); }
}
.detail-cover,.form-card,.checkout-summary,.payment-card,.info-item {
  border-color:#ececec; border-radius:18px; box-shadow:0 6px 24px rgba(0,0,0,.06);
}
.detail-main .btn.orange { background:var(--market-orange); }
.detail-price { color:var(--market-orange); }
@media (max-width:1100px) { .book-grid { grid-template-columns:repeat(4,1fr); } }
@media (max-width:900px) {
  .recycle-admin-card { grid-template-columns:1fr; }
  .market-utility { display:none; }
  .nav a:not(.primary):not(.nav-vr):not(.nav-scenery) { display:block; }
  .hero { grid-template-columns:1fr; min-height:auto; padding:38px; }
  .hero-art { display:none; }
  .hero h1.hero-title { max-width:720px; }
  .filters { top:68px; grid-template-columns:1fr 1fr; }
  .filters .btn { grid-column:1/-1; }
  .book-grid { grid-template-columns:repeat(3,1fr); }
  .cart-layout { grid-template-columns:1fr; }
  .cart-settlement { position:static; }
}
@media (max-width:680px) { .book-grid { grid-template-columns:repeat(2,1fr); } }
@media (min-width:681px) and (max-width:900px) {
  .detail { grid-template-columns:.82fr 1.18fr; gap:24px; align-items:start; }
  .detail-cover { min-height:410px; }
  .detail-cover .cover-book { width:170px; height:230px; font-size:20px; }
  .detail-main h1 { font-size:34px; }
  .info-list { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  body { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .app-shell { overflow-x:hidden; }
  .auth-card { grid-template-columns:1fr; border-radius:18px; }
  .auth-visual { padding:25px; }
  .auth-visual p { margin-bottom:0; }
  .auth-book { width:54px; height:68px; font-size:24px; }
  .auth-form { padding:25px; }
  .topbar {
    min-height:62px; justify-content:space-between; padding:9px 14px;
    padding-top:max(9px,env(safe-area-inset-top));
  }
  .brand { font-size:16px; }
  .brand span:last-child { display:inline; }
  .brand-mark { width:40px; height:40px; }
  .topbar .nav { display:none; }
  .mobile-more-button {
    display:block; border:1px solid #ffe0d0; border-radius:999px; padding:8px 12px;
    color:var(--market-orange); background:#fff5ef; font-weight:800;
  }
  .mobile-more-menu {
    position:fixed; z-index:45; top:66px; right:12px; display:none; width:190px;
    overflow:hidden; padding:6px; border:1px solid #ededed; border-radius:16px;
    background:rgba(255,255,255,.98); box-shadow:0 18px 45px rgba(0,0,0,.15);
  }
  .mobile-more-menu.open { display:grid; }
  .mobile-more-menu a,.mobile-more-menu button {
    border:0; border-radius:11px; padding:12px; color:#35434c; background:transparent;
    text-align:left; font:inherit; font-weight:700;
  }
  .mobile-more-menu a:hover,.mobile-more-menu button:hover { background:#fff2eb; }
  .mobile-bottom-nav {
    position:fixed; z-index:40; left:0; right:0; bottom:0; display:grid;
    grid-template-columns:repeat(5,1fr); min-height:64px;
    padding:5px 5px max(5px,env(safe-area-inset-bottom));
    border-top:1px solid #ececec; background:rgba(255,255,255,.97);
    box-shadow:0 -7px 25px rgba(0,0,0,.08); backdrop-filter:blur(16px);
  }
  .mobile-bottom-nav a {
    position:relative; display:grid; place-items:center; align-content:center; gap:2px;
    min-width:0; border-radius:12px; color:#748087; font-size:10px; font-weight:800;
  }
  .mobile-bottom-nav a b { font-size:17px; line-height:1; }
  .mobile-bottom-nav a.active { color:var(--market-orange); background:#fff3ec; }
  .mobile-bottom-nav .cart-count {
    position:absolute; top:1px; left:calc(50% + 8px); min-width:15px; height:15px; font-size:9px;
  }
  .site-footer { padding-bottom:24px; }
  .hero { margin-top:12px; padding:25px 20px; border-radius:15px; }
  .hero-eyebrow { margin-bottom:12px; font-size:11px; letter-spacing:1.2px; }
  .hero h1.hero-title {
    width:100%; max-width:100%; margin-bottom:18px; font-size:clamp(34px,10.8vw,46px);
    line-height:1.08; letter-spacing:-2px; overflow-wrap:anywhere;
  }
  .hero-title-school { margin-bottom:7px; letter-spacing:1px; }
  .hero-title-market { width:auto; max-width:100%; white-space:normal; }
  .sticker-star { left:auto; right:13px; top:88px; width:38px; height:38px; }
  .hero p.hero-subtitle { margin-bottom:22px; font-size:15px; line-height:1.65; }
  .hero .searchbar { width:100%; padding:4px; }
  .hero .searchbar input { width:0; padding:10px 9px; font-size:13px; }
  .hero .searchbar .btn { flex:0 0 auto; padding:10px 12px; font-size:13px; }
  .categories { gap:9px; }
  .category { min-height:90px; padding:13px 8px; }
  .category b { margin-bottom:5px; font-size:23px; }
  .filters { position:static; grid-template-columns:1fr; border-radius:13px; }
  .book-grid { grid-template-columns:repeat(2,1fr); gap:9px; }
  .book-card { border-radius:12px; }
  .book-cover { height:135px; }
  .cover-book { width:78px; height:102px; font-size:11px; }
  .book-info { padding:10px; }
  .book-info h3 { height:39px; font-size:14px; }
  .price { font-size:20px; }
  .price-row { gap:4px; }
  .card-foot { align-items:flex-start; flex-direction:column; }
  .status { max-width:none; }
  .card-actions { width:100%; justify-content:space-between; flex-direction:row; align-items:center; }
  .btn.buy-mini { padding:6px 9px; }
  .cart-item { grid-template-columns:70px 1fr; }
  .cart-item > strong { grid-column:2; }
  .order-foot { align-items:flex-start; flex-direction:column; }
  .order-center { padding-bottom:25px; }
  .order-tabs { margin:0 -11px; padding:0 11px 12px; }
  .order-card { border-radius:13px; }
  .order-head,.order-foot { padding:11px 12px; gap:8px; }
  .order-items { padding:3px 12px; }
  .order-item-line { align-items:flex-start; flex-direction:column; gap:4px; }
  .order-foot > div { display:grid; width:100%; gap:7px; }
  .order-foot .btn { width:100%; text-align:center; }
  .payment-page { padding-top:16px; }
  .payment-card h1 { font-size:27px; }
  .pay-qr { width:min(230px,80vw); height:min(230px,80vw); }
  .payment-proof-form { padding:14px; }
  .page-banner { min-height:auto; padding:22px; border-radius:14px; }
  .page-banner h1 { font-size:27px; }
  .detail { gap:20px; padding:18px 0 35px; }
  .detail-cover { min-height:0; height:auto; padding:18px; border-radius:16px; }
  .detail-cover img { width:auto; max-width:100%; max-height:58vh; object-fit:contain; box-shadow:none; }
  .detail-main { min-width:0; }
  .detail-main h1 { max-width:100%; font-size:27px; line-height:1.28; overflow-wrap:anywhere; }
  .detail-price { font-size:32px; }
  .actions { display:grid; grid-template-columns:1fr; }
  .actions .btn { width:100%; }
  .form-card,.payment-card,.checkout-summary { padding:20px; }
  .checkout-line,.cart-total { align-items:flex-start; }
  .checkout-line span { min-width:0; overflow-wrap:anywhere; }
  .auth-page { padding-top:20px; }
}
