:root {
    color-scheme: light;
    --accent: #b8402e;
    --accent-hover: #8c2e20;
    --ink: #34231c;
    --muted: #695249;
    --line: #ead8ce;
    --paper: #fff;
    --soft: #fff9f4;
    --raised: #ffebe0;
    --media: #fcf0e6;
    --width: 1210px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--ink); background: var(--soft); font: 15px/1.6 "DM Sans", Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, p { margin: 0 0 12px; }
h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.3; }
h2 { font-size: clamp(21px, 2.4vw, 30px); line-height: 1.45; }
h3 { font-size: 16px; line-height: 1.45; }
svg { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.market-width { width: min(var(--width), calc(100% - clamp(28px, 7vw, 100px))); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus), .honeypot {
    position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 30; background: white; padding: 10px; }
.muted { color: var(--muted); }
.price, .listing-price { color: var(--accent); font-weight: 750; font-variant-numeric: tabular-nums; }
.btn, button:not(.link) {
    display: inline-flex; justify-content: center; align-items: center; gap: 7px;
    min-height: 40px; padding: 8px 15px; border: 1px solid var(--accent); border-radius: 9px;
    background: var(--accent); color: #fff; font-weight: 650; line-height: 1.4;
}
.btn:hover, button:not(.link):hover { background: var(--accent-hover); color: #fff; }
.btn.ghost { background: #fff; color: var(--accent); }
.btn.ghost:hover { background: var(--raised); }
.link { background: none; border: 0; padding: 0; color: inherit; }
.link:hover { color: var(--accent); }
.alert { padding: 13px 16px; border-left: 3px solid var(--accent); background: var(--raised); margin: 0 0 16px; }
.panel { border: 1px solid var(--line); background: var(--paper); padding: clamp(14px, 2.7vw, 32px); min-width: 0; border-radius: 16px; }
.empty-state { background: var(--paper); padding: 36px 20px; text-align: center; color: var(--muted); }
.empty-state a, .section-head a:not(.btn), .floor-all, .article-breadcrumb a, .article-body a { color: var(--accent); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }

.shop-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.shop-masthead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 72px;
}
.shop-brand, .admin-brand, .service-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.shop-brand strong { font-size: 22px; white-space: nowrap; }
.brand-mark {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 13px 13px 13px 4px;
    background: var(--accent);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}
.shop-nav, .shop-account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.shop-nav a { padding: 6px 11px; border-radius: 999px; }
.shop-nav a[aria-current="page"] { color: var(--accent); background: var(--raised); font-weight: 750; }
.shop-account { justify-self: end; gap: 8px 13px; }
.shop-account a { display: flex; align-items: center; gap: 4px; }
.shop-account svg { width: 17px; height: 17px; color: var(--accent); }
.header-search { padding-bottom: 12px; }
.header-search .shop-search { width: min(510px, 100%); margin-inline: auto; }
.shop-search {
    display: flex;
    align-items: stretch;
    min-width: 0;
    gap: 0;
    padding: 5px;
    border: 1px solid #d5b6a8;
    border-radius: 999px;
    background: var(--paper);
}
.shop-search:focus-within { border-color: var(--accent); }
.shop-search input, .shop-search select {
    min-width: 0;
    border: 0;
    padding: 6px 10px;
    background: transparent;
    color: var(--ink);
}
.shop-search input { flex: 1; width: 0; padding-left: 13px; }
.shop-search select { width: 108px; border-left: 1px solid var(--line); }
.shop-search button:not(.link) { min-width: 77px; padding-inline: 13px; border-radius: 999px; }
.shop-search button svg { width: 17px; height: 17px; }

.site-main { min-height: 48vh; padding: clamp(20px, 3.3vw, 43px) 0 clamp(30px, 5vw, 62px); }
.page-home .site-main { padding-top: 20px; }
.shop-discovery {
    padding: clamp(24px, 4.2vw, 49px) 16px;
    border: 1px solid #f4d6c6;
    border-radius: 26px;
    background: radial-gradient(ellipse at 10% 100%, #fff0d9, transparent 65%),
                linear-gradient(112deg, #fff8ed, #ffe4d7);
    text-align: center;
}
.discovery-heading h1 {
    margin: 0 0 7px;
    font-size: clamp(32px, 4.7vw, 59px);
    line-height: 1.15;
    letter-spacing: -.035em;
}
.discovery-heading p { margin-bottom: 19px; color: var(--muted); }
.shop-discovery .shop-search { width: min(100%, 600px); margin-inline: auto; }
.shop-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-block: 12px 32px;
}
.shop-categories a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--paper);
}
.shop-categories a:hover { border-color: var(--accent); }
.category-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
}
.category-icon svg { width: 28px; height: 28px; stroke-width: 2.4; }
.tint-rose { background: #ffe4e9; color: #963f58; }
.tint-peach { background: #ffe8d3; color: #8b4821; }
.tint-lavender { background: #eee7ff; color: #604294; }
.tint-mint { background: #e3f4eb; color: #23634f; }
.shop-categories strong, .shop-categories small { display: block; }
.shop-categories strong { font-size: 16px; }
.shop-categories small { color: var(--muted); font-size: 12px; }
.category-arrow { color: var(--accent); }

.floor-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.floor-heading h2, .section-head h2 { margin: 0; }
.floor-all { font-size: 14px; font-weight: 700; }
.floor-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.floor-tabs a { padding: 5px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.floor-tabs a.active { color: var(--accent); background: var(--raised); border-color: #ddab9a; font-weight: 750; }
.floor-grid, .catalog-results .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.card:hover { border-color: var(--accent); }
.card-image { position: relative; aspect-ratio: 1.32; overflow: hidden; background: var(--media); }
.card-image img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.demo-badge { display: inline-block; padding: 2px 6px; border-radius: 5px; background: #fff5df; color: #6e4d27; font-size: 11px; }
.card-image .demo-badge { position: absolute; top: 8px; left: 8px; }
.card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 12px 13px; }
.card-body h3 { margin-bottom: 5px; color: var(--ink); overflow-wrap: anywhere; }
.card-description { margin-bottom: 8px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.card-bottomline { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.card-bottomline .price { font-size: 19px; }
.card-bottomline span { color: var(--accent); font-size: 12px; }

.shop-feature {
    position: relative;
    max-width: 100%;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: var(--raised);
}
.carousel-slide { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); align-items: stretch; min-height: 253px; }
.carousel-copy { align-self: center; min-width: 0; padding: 18px clamp(18px, 3vw, 39px) 65px; }
.carousel-copy h2 { margin-bottom: 6px; font-size: clamp(23px, 3.4vw, 41px); }
.carousel-copy p { color: var(--muted); margin-bottom: 11px; }
.carousel-image { width: 100%; height: 100%; max-height: 360px; object-fit: cover; object-position: center 29%; }
.carousel-controls { position: absolute; bottom: 13px; left: calc(53.92% + clamp(18px, 3vw, 39px)); display: flex; align-items: center; gap: 6px; }
.carousel-controls button:not(.link) { min-height: 29px; min-width: 29px; padding: 3px 7px; background: var(--paper); color: var(--accent); border-color: #d5b6a8; }
.carousel-controls button:not(.link):hover { background: var(--accent); color: #fff; }
.carousel-dots { display: flex; gap: 3px; }
.carousel-dots button:not(.link) { width: 15px; height: 15px; min-width: 15px; min-height: 15px; padding: 0; border: 3px solid var(--raised); border-radius: 50%; background: #ac7969; }
.carousel-dots button.is-active:not(.link) { background: var(--accent); }
.carousel-pause { font-size: 12px; }
.shop-services { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 13px; margin-top: 14px; }
.recycle-feature, .reading-floor { min-width: 0; padding: clamp(15px, 2.7vw, 31px); border: 1px solid var(--line); border-radius: 17px; background: var(--paper); }
.recycle-feature { background: #fff0d9; }
.recycle-feature a:not(.btn) { display: inline-block; margin: 7px; color: var(--accent); font-size: 13px; }
.reading-links { display: grid; }
.reading-links a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 9px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.reading-links span { color: var(--accent); font-size: 12px; }

.listing-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.listing-heading h1 { margin: 0; }
.listing-heading > a { color: var(--accent); }
.catalog-results { min-width: 0; }
.catalog-refinements, .journal-filter { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.catalog-refinements summary { padding: 10px 13px; color: var(--accent); font-weight: 750; }
.catalog-filter {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) repeat(2, minmax(0, .75fr)) minmax(0, 1.1fr) auto auto;
    align-items: end;
    gap: 8px;
    padding: 0 13px 13px;
}
.catalog-filter label { display: grid; gap: 4px; min-width: 0; color: var(--muted); font-size: 13px; }
.catalog-filter > a { padding: 8px 3px; color: var(--accent); text-align: center; font-size: 13px; }
.catalog-results-head { display: flex; justify-content: space-between; gap: 10px; padding-block: 16px 10px; font-weight: 750; }
.catalog-results-head span:last-child { color: var(--muted); font-weight: 400; }

.pager { display: flex; justify-content: center; gap: 12px; align-items: center; padding: 16px 8px 0; flex-wrap: wrap; }
.pager a { border: 1px solid var(--line); padding: 5px 12px; color: var(--accent); }

.article-breadcrumb { color: var(--muted); margin-bottom: 14px; font-size: 12px; overflow-wrap: anywhere; }
.item-heading { margin-bottom: 16px; }
.item-heading h1 { margin-bottom: 5px; overflow-wrap: anywhere; }
.item-listing { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.listing-copy { padding: clamp(14px, 2.8vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.listing-media { padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); }
.listing-media, .listing-copy { min-width: 0; }
.listing-media .product-img { width: 100%; max-height: 520px; aspect-ratio: 1.16; padding: 12px; object-fit: contain; background: var(--media); border-radius: 11px; }
.listing-media p, .item-brand { font-size: 12px; color: var(--muted); margin: 8px 0; }
.item-tags { display: flex; gap: 7px; margin-bottom: 8px; }
.item-tags span, .state-chip { background: var(--raised); border: 1px solid var(--line); color: var(--accent); padding: 2px 7px; font-size: 12px; }
.listing-price { background: var(--raised); padding: 10px 13px; font-size: 27px; }
.listing-price span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 12px; }
.listing-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0; }
.listing-specs div { display: flex; gap: 8px; padding: 6px 9px; border-bottom: 1px solid var(--line); }
.listing-specs dt { color: var(--muted); flex-shrink: 0; }
.listing-specs dd { margin: 0; overflow-wrap: anywhere; }
.listing-actions, .article-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-actions .alert { margin: 0; flex: 1 1 100%; }
.listing-note { margin-block: 14px 8px; font-size: 12px; color: var(--muted); }
.listing-note p { margin: 3px 0; }
.listing-note a, .more-category, .legal-contact a { color: var(--accent); }
.product-section-nav { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-bottom: 2px solid var(--accent); margin-top: 20px; background: var(--soft); }
.product-section-nav a { padding: 10px 14px; }
.product-section-nav a:first-child { color: var(--accent); font-weight: 700; }
.product-details-section { border: 1px solid var(--line); border-top: 0; padding: 20px; background: var(--paper); }
.product-details-heading p { color: var(--muted); }
.product-details-body, .article-body { line-height: 1.85; overflow-wrap: anywhere; }
.product-details-body img { max-height: 650px; object-fit: contain; }
.mobile-item-dock { display: none; }

.form label, .checkout-fields label { display: block; margin: 10px 0 5px; font-weight: 550; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea,
.checkout-fields input, .checkout-fields textarea, .catalog-filter input, .catalog-filter select, .search input {
    width: 100%; min-width: 0; border: 1px solid #b9998b; border-radius: 8px; background: #fff; padding: 8px 10px; min-height: 36px;
}
textarea { resize: vertical; }
.form textarea, .checkout-fields textarea { min-height: 84px; }
.form .agreement { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-weight: 400; }
.agreement a, .auth-footnote a, .auth-switch a { color: var(--accent); }
.form button[type="submit"], .form form > button { margin-top: 12px; }
.auth-layout {
    width: min(100%, 470px);
    margin: 12px auto;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--raised);
}
.auth-panel { border: 0; padding: clamp(16px, 4vw, 35px); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 16px; margin-bottom: 16px; }
.auth-tabs a { padding: 0 2px 8px; }
.auth-tabs .active { border-bottom: 2px solid var(--accent); color: var(--accent); font-weight: 700; }
.auth-intro, .auth-footnote, .auth-switch { color: var(--muted); font-size: 12px; }
.auth-switch { margin-top: 12px; }
.auth-panel h1 { font-size: 23px; }
.auth-panel form > button { width: 100%; }

.member-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 15px; }
.member-directory { display: grid; gap: 8px; padding: 17px; background: var(--raised); border: 1px solid var(--line); border-radius: 15px; }
.member-directory h1 { font-size: 23px; margin: 0; }
.member-directory p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.member-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.member-shortcuts a { padding: 6px 10px; background: var(--paper); border-radius: 8px; }
.member-directory a { color: var(--accent); }
.member-content { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.member-panel { padding: 16px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
.member-table, .table { width: 100%; border-collapse: collapse; font-size: 13px; }
.member-table { min-width: 510px; }
.table { min-width: 610px; }
th, td { text-align: left; padding: 9px; border: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
th { background: var(--raised); }
.member-table td:first-child { width: 43%; }
.member-table td small { display: block; color: var(--muted); margin-top: 3px; }
.member-table a, .table a { color: var(--accent); }
.member-table button, .table button { min-height: 30px; padding: 5px 8px; font-size: 12px; }

.checkout-flow { display: grid; gap: 14px; max-width: 1030px; margin-inline: auto; }
.checkout-heading { max-width: 1030px; margin-inline: auto; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.checkout-fields label:last-child { grid-column: 1 / -1; }
.checkout-heading { border-bottom: 2px solid var(--accent); margin-bottom: 14px; }
.checkout-heading p { color: var(--muted); }
.checkout-item-banner { border-radius: 15px; display: flex; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--line); background: var(--paper); }
.checkout-item-banner img { width: 78px; height: 78px; object-fit: contain; background: var(--soft); }
.checkout-item-banner > div { flex: 1; min-width: 0; }
.checkout-item-banner h2 { font-size: 16px; overflow-wrap: anywhere; margin: 3px 0; }
.checkout-item-banner p, .checkout-item-banner span { color: var(--muted); font-size: 12px; margin: 0; }
.checkout-item-banner > strong { color: var(--accent); }
.checkout-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.checkout-confirm { border-radius: 15px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px; background: var(--raised); }
.checkout-confirm p { color: var(--muted); font-size: 13px; margin: 0; }
.checkout-confirm a { color: var(--accent); }
.checkout-confirm > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.checkout-confirm strong { color: var(--accent); font-size: 22px; margin-left: 6px; }
.payment-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.payment-choices label { padding: 8px; border: 1px solid var(--line); }
.payment-choices small { color: var(--muted); margin-left: 6px; }
.bank-account { background: var(--soft); padding: 12px; border: 1px solid var(--line); }
.bank-account-heading .eyebrow { display: none; }
.bank-account dl { margin: 8px 0; }
.bank-account dl div { display: flex; gap: 8px; padding-block: 3px; }
.bank-account dt { flex: 0 0 66px; color: var(--muted); }
.bank-account dd { margin: 0; overflow-wrap: anywhere; }
.bank-number { font-variant-numeric: tabular-nums; font-weight: 700; }
.bank-account p { margin-bottom: 0; font-size: 12px; }
.payment-page, .contact-page { max-width: 760px; margin-inline: auto; }
.payment-order { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px; margin-bottom: 10px; background: var(--raised); }
.payment-order strong { color: var(--accent); }
.payment-page > p:last-child { margin-top: 16px; color: var(--accent); }

.recycle-hero, .journal-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: clamp(20px, 4vw, 43px);
    margin-bottom: 20px;
    color: var(--ink);
    border-radius: 18px;
    background: linear-gradient(110deg, var(--raised), #fff3d7);
}
.recycle-hero p, .journal-hero p { margin: 0; color: var(--muted); }
.process, .faq { margin-block: 22px; }
.process-grid, .faq-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.process-grid > div, .faq-grid details { padding: 13px; border: 1px solid var(--line); background: var(--paper); }
.process-grid h3, .process-grid p { margin-bottom: 6px; }
.process-grid p, .faq-grid p { font-size: 12px; color: var(--muted); }
.faq-grid { grid-template-columns: 1fr 1fr; }
.faq-grid summary { font-weight: 650; }
.faq-grid p { margin: 8px 0 0; }
.valuation-section, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 18px; align-items: start; }
.valuation-section > div, .split > div { background: var(--soft); padding: 18px; border-top: 2px solid var(--accent); }
.valuation-section li { color: var(--muted); }
.journal-browse { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.journal-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; }
.journal-filter nav { display: flex; flex-wrap: wrap; gap: 3px; }
.journal-filter nav a { padding: 5px 8px; }
.journal-filter nav .active { color: var(--accent); background: var(--raised); font-weight: 700; }
.search { display: flex; gap: 4px; width: min(100%, 280px); }
.search input { flex: 1; width: 0; }
.search button { padding-inline: 8px; }
.journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.journal-card { border-radius: 14px; overflow: hidden; display: block; min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.journal-image, .article-cover { display: grid; place-items: center; width: 100%; min-height: 88px; background: var(--raised); color: var(--muted); object-fit: cover; }
.journal-image img { width: 100%; height: 105px; object-fit: cover; }
.journal-body { padding: 10px; }
.journal-body h3, .journal-body p { margin: 6px 0; overflow-wrap: anywhere; }
.journal-meta, .journal-body p { font-size: 12px; color: var(--muted); }
.journal-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.article-page { max-width: 880px; margin: auto; }
.article-intro p, .article-note { color: var(--muted); }
.article-cover { margin-block: 12px; max-height: 320px; }
.article-note { padding: 12px; background: var(--soft); font-size: 12px; margin: 12px 0; }
.related-journal { margin-top: 26px; }
.legal-contact { padding-block: 12px; border-block: 1px solid var(--line); overflow-wrap: anywhere; }

.shop-footer { background: #fceddf; border-top: 1px solid var(--line); color: var(--muted); }
.footer-directory { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 16px; padding-block: 27px; }
.footer-directory h2 { font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.footer-directory a { display: block; padding: 2px 0; font-size: 12px; }
.footer-directory p { font-size: 12px; margin-bottom: 4px; }
.footer-operator { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; padding-block: 12px; font-size: 12px; }
.floating-tools { position: fixed; right: 10px; bottom: 34px; display: grid; gap: 5px; z-index: 7; }
.floating-tools a { border-radius: 10px; display: grid; place-items: center; width: 42px; min-height: 34px; border: 1px solid var(--line); background: #fff; color: var(--accent); font-size: 12px; }
.floating-tools .floating-contact { padding: 5px 0; background: var(--accent); border-color: var(--accent); color: #fff; }
.floating-contact svg { width: 17px; height: 17px; }
.mobile-tabs { display: none; }

.admin-body { background: var(--soft); }
.admin-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.admin-header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-brand strong { font-size: 19px; }
.admin-view-site { color: var(--accent); }
.admin-shell { margin-top: 20px; }
.admin-shell.has-admin-nav { display: grid; grid-template-columns: 178px minmax(0, 1fr); gap: 16px; align-items: start; }
.admin-nav { display: grid; gap: 4px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.admin-nav a, .admin-nav form { padding: 7px 9px; border-radius: 8px; }
.admin-nav [aria-current="page"] { color: var(--accent); background: var(--raised); font-weight: 750; }
.admin-main { min-width: 0; border-radius: 16px; background: #fff; padding: 18px; border: 1px solid var(--line); }
.admin-shell:not(.has-admin-nav) .admin-main { max-width: 540px; margin-inline: auto; }
.admin-login { max-width: 500px; margin: 12px auto; }
.admin-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
.admin-stats a { border: 1px solid var(--line); padding: 10px; background: var(--soft); }
.admin-stats b { display: block; font-size: 20px; color: var(--accent); }
.admin-footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 12px; padding: 18px 0; }
.row, .image-source-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.inline { display: inline; }
.table input, .table select { max-width: 170px; padding: 4px; border: 1px solid var(--line); }
.table img, .editor-thumb { width: 72px; height: 72px; object-fit: contain; background: var(--soft); }
.compact-filter { display: flex; align-items: end; flex-wrap: wrap; margin-bottom: 10px; background: var(--soft); }
.product-rich { min-width: 0; }
.product-rich-mode { margin-bottom: 5px; }
.product-rich .trumbowyg-button-pane button { display: inline-block; min-height: 32px; padding: 0; border: 0; background: transparent; color: var(--ink); }
.product-rich .trumbowyg-button-pane button:hover { background: var(--raised); }
.product-rich .trumbowyg-button-pane button svg { width: 17px; height: 17px; }

.service-page { background: var(--soft); }
.service-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px max(16px, calc((100% - 920px) / 2)); background: #fff; border-bottom: 2px solid var(--accent); }
.service-brand strong { font-size: 20px; }
.service-brand small { display: block; color: var(--muted); font-size: 11px; }
.service-header nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px; color: var(--accent); font-size: 12px; }
.service-main, .service-footer { width: min(920px, calc(100% - 32px)); margin-inline: auto; }
.service-main { padding: 20px 0; }
.service-intro { border-radius: 18px; color: var(--ink); background: var(--raised); padding: clamp(18px, 4vw, 42px); margin-bottom: 12px; }
.service-intro p { margin: 0; color: var(--muted); }
.service-panel { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 16px; }
.service-panel-heading { display: flex; align-items: start; gap: 8px; }
.service-panel-heading h2 { margin-bottom: 4px; }
.service-panel-heading p, .service-status { color: var(--muted); font-size: 12px; }
.service-badge, .method-icon { color: var(--accent); }
.service-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.service-method { border-radius: 10px; display: grid; gap: 3px; padding: 12px; border: 1px solid var(--line); background: var(--soft); overflow-wrap: anywhere; }
.method-value { color: var(--accent); font-weight: 700; }
.service-tips, .service-company, .service-footer { color: var(--muted); font-size: 12px; margin-top: 12px; overflow-wrap: anywhere; }
.service-company { display: grid; }
.service-footer { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; }

@media (max-width: 1000px) {
    .catalog-filter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .catalog-filter > a { text-align: left; }
    .shop-nav, .shop-account { gap: 5px; }
    .shop-categories a { padding-inline: 8px; gap: 6px; }
}
@media (max-width: 900px) {
    .member-content { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .store-body { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
    .shop-masthead { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; min-height: 0; padding-block: 9px; }
    .shop-brand { gap: 6px; }
    .shop-brand strong { font-size: 18px; }
    .brand-mark { flex-basis: 29px; width: 29px; height: 29px; font-size: 16px; border-radius: 10px 10px 10px 3px; }
    .shop-nav { grid-area: 2 / 1 / auto / -1; font-size: 13px; gap: 3px; }
    .shop-nav a { padding: 3px 8px; }
    .shop-account { grid-area: 1 / 2; font-size: 13px; gap: 8px; }
    .shop-account svg { display: none; }
    .header-search { padding-bottom: 9px; }
    .shop-search { padding: 3px; }
    .shop-search input, .shop-search select { padding-inline: 6px; font-size: 13px; }
    .shop-search select { width: 89px; }
    .shop-search button:not(.link) { min-width: 36px; min-height: 34px; padding-inline: 7px; }
    .shop-search button span { display: none; }
    .site-main, .page-home .site-main { padding-top: 13px; }
    .shop-discovery { padding: 18px 10px; border-radius: 16px; }
    .discovery-heading h1 { font-size: clamp(25px, 7vw, 34px); }
    .discovery-heading p { font-size: 13px; margin-bottom: 10px; }
    .shop-categories { gap: 5px; margin-block: 9px 21px; }
    .shop-categories a { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; }
    .category-icon { width: 33px; height: 33px; border-radius: 10px; }
    .category-icon svg { width: 24px; height: 24px; }
    .shop-categories strong { font-size: 13px; }
    .shop-categories small, .category-arrow { display: none; }
    .floor-all { font-size: 12px; }
    .floor-tabs { gap: 4px; margin-bottom: 9px; }
    .floor-tabs a { padding: 4px 7px; font-size: 13px; }
    .floor-grid, .catalog-results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .card { border-radius: 11px; }
    .card-body { padding: 8px; }
    .card-body h3 { font-size: 14px; }
    .card-description { font-size: 12px; }
    .card-bottomline .price { font-size: 16px; }
    .card-bottomline span { display: none; }
    .shop-feature { margin-top: 18px; border-radius: 15px; }
    .carousel-slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .carousel-image { grid-row: 1; height: auto; aspect-ratio: 2; max-height: 210px; }
    .carousel-copy { padding: 12px 13px 49px; }
    .carousel-copy p { margin-bottom: 8px; font-size: 13px; }
    .carousel-controls { bottom: 9px; left: 13px; }
    .shop-services, .item-listing, .checkout-columns, .valuation-section, .split, .faq-grid { grid-template-columns: minmax(0, 1fr); }
    .shop-services { gap: 8px; }
    .catalog-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .listing-media .product-img { max-height: 300px; }
    .listing-specs { font-size: 13px; }
    .listing-specs div { min-width: 0; }
    .product-section-nav a { padding: 7px; font-size: 13px; }
    .product-details-section { padding: 12px; }
    .checkout-item-banner { gap: 7px; }
    .checkout-item-banner img { width: 52px; height: 52px; }
    .checkout-item-banner > strong { font-size: 12px; }
    .process-grid, .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 18px; }
    .footer-operator { grid-column: 1 / -1; }
    .floating-tools { bottom: calc(61px + env(safe-area-inset-bottom)); right: 5px; }
    .floating-tools a { width: 36px; min-height: 30px; font-size: 11px; }
    .mobile-item-dock, .mobile-tabs {
        position: fixed;
        inset: auto 0 0;
        z-index: 8;
        display: flex;
        align-items: stretch;
        min-height: 54px;
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--paper);
        border-top: 1px solid var(--line);
    }
    .page-product .mobile-tabs { display: none; }
    .mobile-item-dock { align-items: center; justify-content: space-between; padding-inline: 11px; gap: 7px; }
    .mobile-item-dock strong, .dock-contact { color: var(--accent); }
    .mobile-tabs a { flex: 1; display: grid; gap: 2px; align-content: center; justify-items: center; color: var(--muted); font-size: 11px; }
    .mobile-tabs a[aria-current="page"] { color: var(--accent); font-weight: 750; background: var(--raised); }
    .mobile-tabs svg { width: 19px; height: 19px; }
    .admin-header-inner { min-height: 54px; }
    .admin-brand strong, .service-brand strong { font-size: 15px; }
    .admin-view-site, .admin-nav a, .admin-nav form { font-size: 12px; }
    .admin-shell.has-admin-nav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 3px; padding: 6px; }
    .admin-nav a, .admin-nav form { padding: 5px 7px; }
    .admin-main { padding: 10px; }
    .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-header { padding: 10px; }
    .service-methods { grid-template-columns: minmax(0, 1fr); }
}
