:root {
  /* Tokyo Works brand colours (same values as tokyoworksjp.com) */
  --ink:#14213d; --ink2:#2b3550; --muted:#5b6472; --line:#e6e1d6; --bg:#f8f5ee; --card:#fff;
  --brand:#F0921B; --brand-dark:#d97d0f; --brand-tint:#fdf0dd; --yellow:#FFD23F; --deep:#0b3d91;
  --brand-ink:var(--deep); --ok:#1f7a3f; --ng:#b3261e; --warn:#8a5300;
  --radius:10px; --shadow:0 1px 2px rgba(20,33,61,.06), 0 6px 18px rgba(20,33,61,.06);
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Sans","Noto Sans JP",sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.45; }
a { color:var(--brand-ink); }
img { max-width:100%; height:auto; display:block; }
.wrap { max-width:1240px; margin:0 auto; padding:0 16px; }
.muted { color:var(--muted); } .small { font-size:.85rem; }

/* Header */
.site-header { background:rgba(255,255,255,.96); border-bottom:3px solid var(--brand); position:sticky; top:0; z-index:20; backdrop-filter:saturate(1.2) blur(6px); }
/* Phones: the header with its menu bar is tall, so it scrolls away with the page instead of covering a quarter of the screen */
@media (max-width: 640px) { .site-header { position:static; } }
.header-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px; padding-top:12px; padding-bottom:12px; }
.brand { display:flex; align-items:center; gap:14px; text-decoration:none; color:var(--ink); }
.brand img { height:60px; width:auto; flex:none; }
.brand-text { display:flex; flex-direction:column; line-height:1.2; }
.brand-text b { font-size:1.3rem; font-weight:800; letter-spacing:-.015em; }
.tag { color:var(--muted); font-size:.85rem; }
.banner { background:#fff6e0; border-bottom:1px solid #f0dca8; color:#6b4b00; font-size:.88rem; }
.banner .wrap { padding-top:8px; padding-bottom:8px; }
.site-footer { margin-top:56px; padding:28px 0; background:var(--ink); color:#c9d2e3; font-size:.85rem; border-top:3px solid var(--brand); }

/* Headings */
.page-head { margin:24px 0 16px; }
.page-head h1, .detail h1 { font-size:1.6rem; margin:0 0 4px; line-height:1.25; }
.page-head p { margin:0; }

/* Grid of products */
.grid { list-style:none; margin:0; padding:0; display:grid; gap:16px; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); }
.card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; position:relative; transition:box-shadow .2s ease-out, transform .2s ease-out, border-color .2s; }
.card:hover, .card:focus-within { box-shadow:0 4px 8px rgba(20,33,61,.08), 0 16px 32px rgba(20,33,61,.16); transform:translateY(-6px); border-color:var(--brand); }
.card-link { display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.thumb { position:relative; aspect-ratio:1/1; background:#fff; border-bottom:1px solid var(--line); }
.thumb img { width:100%; height:100%; object-fit:contain; transition:transform .3s ease-out; }
.card:hover .thumb img, .card:focus-within .thumb img { transform:scale(1.03); }
.thumb { overflow:hidden; }
.card-body { padding:12px 14px 14px; display:flex; flex-direction:column; gap:2px; }
.franchise { margin:0; color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; }
.card .name { font-size:1rem; margin:0; line-height:1.3; }
.code { margin:0 0 6px; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.8rem; color:var(--muted); }
.facts { margin:6px 0 0; display:grid; gap:4px; font-size:.84rem; }
.facts div { display:grid; grid-template-columns:118px 1fr; gap:6px; }
.facts dt { color:var(--muted); } .facts dd { margin:0; }

/* Status badges */
.badge { position:absolute; top:10px; left:10px; padding:3px 9px; border-radius:999px; font-size:.75rem; font-weight:600; background:#fff; border:1px solid var(--line); }
.badge.inline { position:static; display:inline-block; }
/* "Petit size": a smaller version of a regular item (Yell's ぷち items), so it does not look like a repeat */
.size-tag { display:inline-block; padding:1px 8px; border:1px solid var(--line); border-radius:999px; background:var(--brand-tint); color:var(--ink);
  font-size:.72rem; font-weight:700; letter-spacing:0; white-space:nowrap; vertical-align:middle; font-family:inherit; }
h1 .size-tag { font-size:.8rem; margin-left:4px; }
.status-accepting { background:#e5f4ea; border-color:#bfe3cb; color:var(--ok); }
.stock-tag { background:#eef3fb; border-color:#c9d8ee; color:var(--deep, #0b3d91); }
.stock-pre_order { background:#fff4e2; border-color:#f3d9a8; color:#8a5a00; }
.stock-in_stock { background:#e5f4ea; border-color:#bfe3cb; color:var(--ok); }
.stock-incoming, .stock-regular { background:#eef3fb; }
.stock-tbc { background:#f1f2f4; color:var(--muted); }
.stock-out_of_stock { background:#fdecea; border-color:#f3c7c1; color:#a3261a; }
.stock-notice { margin:6px 0 0; font-size:.9rem; color:var(--ink2); }
.status-upcoming { background:#e8eefb; border-color:#c7d5f3; color:#2448a5; }
.status-closed, .status-discontinued { background:#f1f2f4; color:var(--muted); }
.status-unknown { background:#fff; color:var(--muted); }
.soon { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px; background:var(--yellow); color:var(--ink); font-size:.72rem; font-weight:700; }

/* Detail page */
.crumbs { margin:20px 0 12px; font-size:.9rem; }
.detail { display:grid; gap:24px; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); align-items:start; }
.detail-image { background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; }
.detail-image img { width:100%; height:100%; object-fit:contain; }
.detail-image { position:relative; }
.detail-image img.zoomable { cursor:zoom-in; }
.detail-zoom { bottom:10px; font-size:.8rem; padding:5px 10px; }
.qv-single .qv-nav, .qv-single .qv-foot { display:none; }
.name-ja { margin:0 0 4px; color:var(--muted); }
.register-prompt { margin:14px 0; padding:14px 16px; border:2px solid #14213d; border-radius:10px; background:#fff; display:flex; gap:12px 18px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.register-prompt p { margin:0; flex:1 1 260px; font-size:.92rem; line-height:1.5; }
.register-prompt.compact { padding:10px 14px; }
.territory-warn { margin:8px 0; padding:6px 10px; border:2px solid #c0392b; border-radius:6px; background:#fdecea; color:#8e1b10; font-weight:700; font-size:.86rem; line-height:1.4; }
.territory-warn::before { content:"⚠ "; }
.register-lock { display:inline-block; width:.8em; height:.7em; margin-right:.4em; border:2px solid currentColor; border-radius:2px; position:relative; vertical-align:-.05em; }
.register-lock::before { content:""; position:absolute; left:50%; bottom:100%; width:.5em; height:.42em; margin-left:-.27em; border:2px solid currentColor; border-bottom:0; border-radius:.3em .3em 0 0; }
.register-panel { margin:22px 0; padding:18px 20px; border:2px solid #14213d; border-radius:12px; background:#fff; box-shadow:4px 4px 0 rgba(20,33,61,.12); }
.register-panel-title { margin:0 0 10px; font-weight:800; font-size:1.08rem; color:#14213d; }
.register-benefits { margin:0 0 14px; padding:0; list-style:none; display:grid; gap:6px; }
.register-benefits li { position:relative; padding-left:24px; font-size:.93rem; line-height:1.45; }
.register-benefits li::before { content:"✓"; position:absolute; left:0; top:0; color:#F0921B; font-weight:800; }
.register-panel-actions { margin:0; display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.register-free { font-size:.82rem; color:var(--muted, #5d6577); }
.landing .register-panel { max-width:560px; margin:22px auto 0; text-align:left; }
.maker-tile.is-members { opacity:.85; border-style:dashed; }
.maker-tile.is-members .maker-tile-count { color:#14213d; font-weight:700; }
.maker-option.is-members .soon-note { color:#14213d; }
.register-btn { display:inline-block; padding:9px 16px; background:#F0921B; color:#14213d; font-weight:700; text-decoration:none; border:3px solid #14213d; border-radius:8px; box-shadow:4px 3px 0 #14213d; transition:transform .08s, box-shadow .08s; white-space:nowrap; }
.register-btn:hover { transform:translate(1px,1px); box-shadow:3px 2px 0 #14213d; }
.register-btn:active { transform:translate(4px,3px); box-shadow:none; }
.landing .register-prompt { max-width:560px; margin:22px auto 0; text-align:left; }
.aud { display:inline-block; margin-top:6px; padding:1px 8px; border-radius:999px; font-size:.72rem; font-weight:700; border:1px solid; }
.aud-public { background:#e6f6ea; color:#17603a; border-color:#9fd3b1; }
.aud-wholesale { background:#eef2fb; color:#0b3d91; border-color:#b9c8ea; }
.aud-restricted { background:#fdecec; color:#9b1c1c; border-color:#f0b4b4; }
.licensing-note { margin:14px 0; padding:8px 12px; border-left:3px solid #F0921B; background:#fff; color:#4a5568; font-size:.86rem; line-height:1.5; }
.grid + .licensing-note, .pager + .licensing-note, .table-wrap + .licensing-note { margin-top:22px; }
.note { background:#fff6e0; border:1px solid #f0dca8; color:#6b4b00; border-radius:8px; padding:8px 12px; font-size:.88rem; }
.panel { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; margin-top:16px; }
.panel h2 { font-size:1.05rem; margin:0 0 10px; }
.spec { margin:0; display:grid; }
.spec div { display:grid; grid-template-columns:170px 1fr; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
.spec div:last-child { border-bottom:0; }
.spec dt { color:var(--muted); } .spec dd { margin:0; }
.spec.two-col { grid-template-columns:1fr 1fr; column-gap:32px; }
.spec.two-col div:nth-last-child(2) { border-bottom:0; }
.empty { padding:40px; text-align:center; background:#fff; border:1px dashed var(--line); border-radius:var(--radius); }

/* Setup check page */
.checks { border-collapse:collapse; background:#fff; width:100%; max-width:680px; }
.checks th, .checks td { text-align:left; padding:8px 12px; border-bottom:1px solid var(--line); }
.checks th { width:40%; font-weight:600; }
.ok { color:var(--ok); font-weight:600; } .ng { color:var(--ng); font-weight:600; }
.site-header > .wrap:not(.header-row) { display:flex; gap:12px; align-items:baseline; padding:14px 16px; }

@media (max-width: 760px) {
  .detail { grid-template-columns:1fr; }
  .detail-gallery { max-width:340px; width:100%; margin:0 auto; }
  .spec.two-col { grid-template-columns:1fr; }
  .spec.two-col div:nth-last-child(2) { border-bottom:1px solid var(--line); }
  .spec div { grid-template-columns:130px 1fr; }
  .page-head h1, .detail h1 { font-size:1.35rem; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns:1fr; }
}

/* Phase 3: search, filters, table */
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.filters { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:14px; display:grid; gap:12px; }
.search-row { display:flex; gap:8px; }
.search-row input { flex:1; min-width:0; font:inherit; padding:10px 12px; border:1px solid #cfd4dc; border-radius:8px; }
.filters button { font:inherit; font-weight:700; padding:10px 18px; border:0; border-radius:8px; background:var(--brand); color:var(--ink); cursor:pointer; transition:background .15s; }
.filters button:hover { background:var(--brand-dark); }
.filter-row { display:grid; gap:10px; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); }
.field { display:grid; gap:4px; font-size:.8rem; color:var(--muted); }
.field select { font:inherit; font-size:.9rem; color:var(--ink); padding:8px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; width:100%; }
.result-bar { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:14px 0; }
.result-bar p { margin:0; }
.chips { list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; flex:1; }
.chips a { display:inline-block; padding:3px 10px; border-radius:999px; background:var(--brand-tint); color:var(--ink); text-decoration:none; font-size:.82rem; }
.chips a.clear { background:none; color:var(--brand-ink); text-decoration:underline; }
.view-toggle { display:flex; margin-left:auto; border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.view-toggle a { padding:6px 12px; text-decoration:none; color:var(--ink); font-size:.85rem; background:#fff; }
.view-toggle a.active { background:var(--ink); color:#fff; }
/* "Excel list": download the list on screen as a sheet (small, but easy to spot: spreadsheet green) */
.sheet-btn { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border:1.5px solid #1d6f42; border-radius:8px; background:#fff; color:#1d6f42; font-size:.85rem; font-weight:700; text-decoration:none; white-space:nowrap; }
.sheet-btn:hover, .sheet-btn:focus-visible { background:#1d6f42; color:#fff; }
.table-wrap { overflow-x:auto; background:#fff; border:1px solid var(--line); border-radius:var(--radius); }
.ptable { border-collapse:collapse; width:100%; font-size:.85rem; min-width:980px; }
.ptable th { text-align:left; background:#f3f4f7; color:var(--muted); font-weight:600; padding:9px 10px; border-bottom:1px solid var(--line); white-space:nowrap; }
.ptable td { padding:8px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
.ptable tr:last-child td { border-bottom:0; }
.ptable tbody tr:hover { background:#fafbfc; }
.t-product a { display:flex; gap:10px; align-items:center; color:var(--ink); text-decoration:none; font-weight:600; min-width:230px; }
.t-product img { width:44px; height:44px; object-fit:contain; background:#eef0f4; border-radius:6px; flex:none; }
.mono { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; }
.nowrap { white-space:nowrap; }
.pager { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 12px; margin:24px 0; }
.pager-pages { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; list-style:none; margin:0; padding:0; }
.pager-pages a, .pager-pages b, .pager-step { display:inline-block; min-width:38px; padding:7px 11px; border:1px solid var(--line); border-radius:var(--radius, 8px); background:#fff; color:var(--ink); text-align:center; text-decoration:none; font-size:.9rem; font-weight:500; }
.pager-pages a:hover, .pager-step:hover { border-color:var(--brand); }
.pager-pages b { background:var(--ink); border-color:var(--ink); color:#fff; }
.pager-gap { align-self:center; color:var(--muted, #6b7280); }
.contact-for { margin:12px 0 4px; padding:9px 12px; border-left:3px solid var(--brand); background:var(--brand-tint, #f3f5fa); font-size:.9rem; line-height:1.5; }
.maker-tiles-wrap { width:100%; max-width:860px; margin:18px auto 0; }
.maker-tiles-title { margin:0 0 12px; font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--ink); }
.maker-tiles { display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:12px; list-style:none; margin:0; padding:0; }
.maker-tile { display:flex; flex-direction:column; align-items:center; gap:8px; height:100%; padding:16px 10px 14px; border:1px solid var(--line); border-radius:var(--radius, 10px); background:#fff; color:var(--ink); text-decoration:none; box-shadow:0 1px 2px rgba(20,33,61,.05); transition:transform .08s, box-shadow .08s, border-color .08s; }
a.maker-tile:hover { transform:translateY(-2px); border-color:var(--brand); box-shadow:0 6px 14px rgba(20,33,61,.14); }
.maker-tile.is-soon { opacity:.6; }
.maker-tile-logo { display:flex; align-items:center; justify-content:center; width:104px; height:48px; }
.maker-tile-logo img { max-width:104px; max-height:48px; object-fit:contain; }
.maker-tile-name { font-weight:600; font-size:.92rem; line-height:1.3; }
.maker-tile-count { font-size:.78rem; color:var(--muted, #5d6577); }
@media (max-width: 760px) {
  .filter-row { grid-template-columns:1fr 1fr; }
  .view-toggle { margin-left:0; }
}

/* Phase 5: language switch */
.lang-nav { display:flex; gap:2px; font-size:.82rem; }
.lang-nav a { padding:4px 8px; border-radius:6px; text-decoration:none; color:var(--muted); }
.lang-nav a.active { color:var(--ink); font-weight:700; background:#eef0f4; }

/* Brand polish */
.filters, .panel, .table-wrap, .detail-image { box-shadow:0 1px 2px rgba(20,33,61,.04); }
.search-row input:focus, .field select:focus { outline:2px solid var(--brand); outline-offset:1px; border-color:var(--brand); }
a:focus-visible, button:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.page-head h1 { letter-spacing:-.01em; }
.panel h2 { padding-left:10px; border-left:3px solid var(--brand); }
.ptable th { background:var(--bg); }
.lang-nav a.active { background:var(--brand-tint); }
@media (max-width: 560px) { .brand img { height:48px; } .brand-text b { font-size:1.1rem; } .tag { display:none; } }

/* Buttons in the tokyoworksjp.com style (same values as its .btn / .btn.p / .btn.w):
   3px navy border, solid offset shadow; hover nudges 1px, click presses fully in. */
.filters button {
  border:3px solid var(--ink); border-radius:4px; box-shadow:4px 4px 0 var(--ink);
  color:var(--ink); font-weight:800; text-decoration:none; cursor:pointer;
  transition:transform .08s, box-shadow .08s;
  background:var(--brand); padding:10px 20px; font-size:14px;
}
.filters button:hover { background:var(--brand); }
.filters button:hover { transform:translate(1px,1px); box-shadow:3px 3px 0 var(--ink); border-color:var(--ink); }
.filters button:active { transform:translate(4px,4px); box-shadow:0 0 0 var(--ink); }
.filters button:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
@media (prefers-reduced-motion: reduce) {
  .filters button { transition:none; }
}

/* Manufacturer dropdown — same button style as tokyoworksjp.com .btn */
.header-row { justify-content:flex-start; gap:10px 20px; }
.header-right { margin-left:auto; display:flex; align-items:center; gap:28px; }
@media (max-width: 700px) { .header-row .brand { flex-basis:100%; } }
.maker-menu { position:relative; }
.maker-current {
  list-style:none; display:inline-flex; align-items:center; gap:10px; cursor:pointer; user-select:none;
  background:#fff; color:var(--ink); font-weight:800; padding:4px 8px 4px 10px; min-height:38px;
  border:3px solid var(--ink); border-radius:4px; box-shadow:3px 3px 0 var(--ink);
  transition:transform .08s, box-shadow .08s;
}
.maker-current::-webkit-details-marker { display:none; }
.maker-current img { height:24px; width:auto; max-width:90px; object-fit:contain; display:block; }
.maker-current:hover { transform:translate(1px,1px); box-shadow:2px 2px 0 var(--ink); }
.maker-current:active, .maker-menu[open] > .maker-current { transform:translate(3px,3px); box-shadow:0 0 0 var(--ink); background:var(--yellow); }
.maker-current:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
.chev { width:22px; height:22px; display:grid; place-items:center; border-left:2px solid var(--ink); padding-left:6px; }
.chev::before { content:""; width:7px; height:7px; border-right:2.5px solid var(--ink); border-bottom:2.5px solid var(--ink); transform:translateY(-2px) rotate(45deg); }
.chev::before { transition:transform .15s; }
.maker-menu[open] .chev::before { transform:translateY(2px) rotate(225deg); }
.maker-initials { width:40px; height:26px; display:grid; place-items:center; border:2px solid var(--ink); border-radius:4px; background:#fff; font-size:.7rem; font-weight:800; letter-spacing:.04em; color:var(--ink); }
.maker-panel {
  position:absolute; top:calc(100% + 10px); right:0; left:auto; z-index:40; min-width:260px; max-width:min(92vw, 360px);
  background:#fff; border:3px solid var(--ink); border-radius:4px; box-shadow:5px 5px 0 var(--ink); padding:8px;
}
.maker-panel-title { margin:2px 6px 8px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.maker-panel-more { margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
.collection-logo { display:block; height:44px; width:auto; }
.maker-list { list-style:none; margin:0; padding:0; max-height:min(60vh, 340px); overflow-y:auto; overscroll-behavior:contain; display:grid; gap:4px; }
.maker-option { display:flex; align-items:center; gap:12px; padding:8px 10px; border:2px solid transparent; border-radius:4px; color:var(--ink); text-decoration:none; font-weight:700; }
.maker-option:hover, .maker-option:focus-visible { background:var(--brand-tint); border-color:var(--ink); outline:none; }
.maker-option.active { background:var(--yellow); border-color:var(--ink); }
.maker-logo { width:68px; height:36px; display:flex; align-items:center; justify-content:center; flex:none; }
.maker-logo img { max-height:34px; max-width:68px; width:auto; height:auto; }
@media (max-width: 560px) {
  .header-right { position:relative; gap:20px; }
  /* header menu: the list anchors to the right edge of the maker + language group.
     The big menu on the home page keeps its own anchor — without one, its list opened at the bottom of the page. */
  .maker-menu:not(.maker-menu-big) { position:static; }
  .maker-panel { right:0; left:auto; max-width:calc(100vw - 32px); }
}
@media (prefers-reduced-motion: reduce) { .maker-current, .chev::before { transition:none; } }

@media (prefers-reduced-motion: reduce) {
  .card, .thumb img { transition:none; }
  .card:hover, .card:focus-within { transform:none; }
  .card:hover .thumb img, .card:focus-within .thumb img { transform:none; }
}

/* Product photo gallery (detail page) */
.detail-gallery { display:grid; gap:10px; }
.thumbs { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.thumb-link { display:block; width:72px; height:72px; background:#fff; border:2px solid var(--line); border-radius:6px; overflow:hidden; transition:border-color .15s, transform .15s; }
.thumb-link img { width:100%; height:100%; object-fit:contain; }
.thumb-link:hover { border-color:var(--brand); transform:translateY(-2px); }
.thumb-link.active { border-color:var(--ink); box-shadow:0 0 0 2px var(--brand); }
.thumb-link:focus-visible { outline:3px solid var(--deep); outline-offset:2px; }
@media (max-width: 760px) { .thumb-link { width:60px; height:60px; } }
@media (prefers-reduced-motion: reduce) { .thumb-link { transition:none; } }

/* Card photos: slide-to-browse segments + photo-count badge (only on cards with several photos) */
.seg-bar { position:absolute; left:10px; right:10px; bottom:8px; display:flex; gap:3px; opacity:0; transition:opacity .15s; pointer-events:none; }
.seg-bar i { flex:1; height:3px; border-radius:2px; background:rgba(20,33,61,.22); }
.seg-bar i.on { background:var(--brand); }
.card:hover .seg-bar { opacity:1; }
.card-overlay { position:absolute; left:0; right:0; top:0; aspect-ratio:1/1; pointer-events:none; }
.photo-count { pointer-events:auto; position:absolute; right:10px; bottom:18px; display:inline-flex; align-items:center; gap:4px;
  padding:3px 8px; border-radius:999px; background:rgba(255,255,255,.94); border:1px solid var(--line); color:var(--ink);
  font-size:.75rem; font-weight:700; text-decoration:none; box-shadow:0 1px 2px rgba(20,33,61,.08); transition:background .15s, border-color .15s; }
.photo-count:hover { background:#fff; border-color:var(--ink); }
.photo-count:focus-visible { outline:3px solid var(--deep); outline-offset:2px; }
@media (hover: none) { .seg-bar { opacity:1; } }   /* touch screens: show the dots, swipe to browse */

/* Quick-view viewer */
.qv { width:min(92vw, 820px); max-height:92vh; padding:0; border:3px solid var(--ink); border-radius:6px; box-shadow:6px 6px 0 var(--ink); background:#fff; color:var(--ink); }
.qv::backdrop { background:rgba(20,33,61,.6); }
.qv-head { display:flex; align-items:center; gap:12px; padding:10px 12px 10px 16px; border-bottom:1px solid var(--line); }
.qv-name { margin:0; font-weight:800; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.qv-close { font:inherit; font-size:1.4rem; line-height:1; width:36px; height:36px; border:2px solid var(--ink); border-radius:4px; background:#fff; color:var(--ink); cursor:pointer; }
.qv-stage { position:relative; display:grid; place-items:center; background:#fff; padding:8px 56px; }
.qv-img { max-width:100%; max-height:min(64vh, 620px); object-fit:contain; }
.qv-nav { position:absolute; top:50%; translate:0 -50%; width:42px; height:42px; font:inherit; font-size:1.6rem; font-weight:800; line-height:1;
  border:3px solid var(--ink); border-radius:4px; background:var(--yellow); color:var(--ink); box-shadow:3px 3px 0 var(--ink); cursor:pointer;
  transition:transform .08s, box-shadow .08s; }
.qv-nav:hover { transform:translate(1px,1px); box-shadow:2px 2px 0 var(--ink); }
.qv-nav:active { transform:translate(3px,3px); box-shadow:0 0 0 var(--ink); }
.qv-prev { left:8px; } .qv-next { right:8px; }
.qv-close:focus-visible, .qv-nav:focus-visible, .qv-thumbs button:focus-visible, .qv-open:focus-visible { outline:3px solid var(--deep); outline-offset:2px; }
.qv-foot { display:grid; gap:10px; padding:10px 16px 14px; border-top:1px solid var(--line); }
.qv-counter { font-size:.85rem; font-weight:700; color:var(--muted); }
.qv-thumbs { list-style:none; margin:0; padding:0 0 4px; display:flex; gap:8px; overflow-x:auto; }
.qv-thumbs button { display:block; width:60px; height:60px; padding:0; border:2px solid var(--line); border-radius:6px; background:#fff; cursor:pointer; overflow:hidden; }
.qv-thumbs button img { width:100%; height:100%; object-fit:contain; display:block; }
.qv-thumbs button.on { border-color:var(--ink); box-shadow:0 0 0 2px var(--brand); }
.qv-open { justify-self:end; font-weight:700; color:var(--deep); }
@media (max-width: 560px) { .qv-stage { padding:8px 8px 56px; } .qv-nav { top:auto; bottom:8px; translate:none; } }
@media (prefers-reduced-motion: reduce) { .seg-bar, .photo-count, .qv-nav { transition:none; } }

.card-maker { margin:0; font-size:.75rem; font-weight:800; color:var(--deep); text-transform:uppercase; letter-spacing:.04em; }

/* Minimal home page */
.top-bar { background:transparent; }
.top-bar .wrap { display:flex; justify-content:flex-end; padding-top:14px; padding-bottom:6px; }
.landing { min-height:calc(100vh - 190px); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:24px 0 40px; text-align:center; }
.landing-logo { width:160px; height:auto; }
.landing-title { margin:0; font-size:1.5rem; letter-spacing:-.01em; }
.maker-menu-big .maker-current { min-height:56px; min-width:280px; justify-content:space-between; padding:6px 12px 6px 18px; font-size:1.05rem; box-shadow:4px 4px 0 var(--ink); }
.maker-menu-big .maker-current:hover { box-shadow:3px 3px 0 var(--ink); }
.maker-menu-big .maker-panel { left:50%; right:auto; translate:-50% 0; min-width:300px; text-align:left; }
.maker-option.is-soon { color:var(--muted); cursor:default; }
.maker-option.is-soon:hover { background:none; border-color:transparent; }
.maker-option.is-soon .maker-logo img { filter:grayscale(1); opacity:.55; }
.soon-note { display:block; font-weight:600; font-size:.72rem; color:var(--muted); }
.landing-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:6px; }
.btn-pill { display:inline-flex; align-items:center; gap:8px; padding:10px 18px; border:3px solid var(--ink); border-radius:4px; background:#fff;
  color:var(--ink); font-weight:800; text-decoration:none; box-shadow:4px 4px 0 var(--ink); transition:transform .08s, box-shadow .08s; }
.btn-pill:hover { transform:translate(1px,1px); box-shadow:3px 3px 0 var(--ink); }
.btn-pill:active { transform:translate(4px,4px); box-shadow:0 0 0 var(--ink); }
.btn-pill:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
.btn-pill .count { background:var(--brand); border-radius:999px; padding:0 8px; font-size:.8rem; }
@media (max-width: 560px) {
  .landing-logo { width:120px; }
  .maker-menu-big .maker-current { min-width:240px; }
  .maker-menu-big .maker-panel { min-width:min(300px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) { .btn-pill { transition:none; } }

/* Logo → company website; catalog name → catalog home */
.brand-logo, .landing-logo-link { display:inline-flex; border-radius:6px; transition:transform .15s; }
.brand-logo:hover, .landing-logo-link:hover { transform:translateY(-2px); }
.brand-logo:focus-visible, .landing-logo-link:focus-visible, .brand-text:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
.brand-text { color:var(--ink); text-decoration:none; }
.brand-text:hover b { text-decoration:underline; text-decoration-color:var(--brand); text-underline-offset:3px; }
@media (prefers-reduced-motion: reduce) { .brand-logo, .landing-logo-link { transition:none; } }

/* Footer with company contact details */
.footer-grid { display:grid; gap:10px 32px; grid-template-columns:minmax(0, 1fr) auto; align-items:start; }
.footer-name { margin:0 0 4px; color:#fff; font-weight:800; font-size:.95rem; }
.site-footer address { font-style:normal; line-height:1.6; }
.footer-contact { list-style:none; margin:0; padding:0; display:grid; gap:4px; justify-items:start; }
.footer-label { display:inline-block; min-width:44px; color:#8f9bb3; }
.site-footer a { color:#fff; text-decoration:none; border-bottom:1px solid rgba(240,146,27,.6); }
.site-footer a:hover { color:var(--brand); border-bottom-color:var(--brand); }
.site-footer a:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.footer-copy { grid-column:1 / -1; margin:8px 0 0; padding-top:10px; border-top:1px solid rgba(255,255,255,.12); font-size:.78rem; color:#8f9bb3; }
@media (max-width: 760px) { .footer-grid { grid-template-columns:1fr; } }
.footer-company { min-width:0; }

/* Header manufacturer dropdown: larger on wider screens (phones keep the compact size) */
@media (min-width: 761px) {
  .maker-menu:not(.maker-menu-big) .maker-current { min-height:50px; min-width:170px; gap:12px; padding:6px 10px 6px 14px; font-size:1rem; justify-content:space-between; }
  .maker-menu:not(.maker-menu-big) .maker-current img { height:32px; max-width:130px; }
  .maker-menu:not(.maker-menu-big) .chev { width:26px; height:26px; }
  .maker-menu:not(.maker-menu-big) .maker-panel { min-width:320px; }
}

/* Chosen maker's logo sits centred in the space left of the arrow (square logos used to hug the left edge) */
.maker-current img { margin-inline:auto; }
.maker-current .maker-name { margin-inline:auto; }

/* Quick wins: square maker logos, footer "how to order" */
@media (min-width: 761px) {
  .maker-menu:not(.maker-menu-big) .maker-current { padding-top:4px; padding-bottom:4px; }
  .maker-menu:not(.maker-menu-big) .maker-current img.logo-square { height:40px; }
}
.footer-how { margin:10px 0 0; max-width:62ch; color:#c9d2e3; line-height:1.6; }
.footer-how b { color:#fff; }

/* Search across all makers */
.search-all { display:flex; gap:8px; width:min(100%, 460px); }
.search-all input { flex:1; min-width:0; font:inherit; padding:11px 14px; border:2px solid var(--ink); border-radius:4px; background:#fff; }
.search-all input:focus { outline:2px solid var(--brand); outline-offset:1px; }
.search-all button { font:inherit; font-weight:800; padding:10px 18px; border:3px solid var(--ink); border-radius:4px; background:var(--brand);
  color:var(--ink); box-shadow:4px 4px 0 var(--ink); cursor:pointer; transition:transform .08s, box-shadow .08s; }
.search-all button:hover { transform:translate(1px,1px); box-shadow:3px 3px 0 var(--ink); }
.search-all button:active { transform:translate(4px,4px); box-shadow:0 0 0 var(--ink); }
.search-all button:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
.page-head + .search-all { margin:0 0 14px; }
.entry .search-all { margin:6px auto 22px; }
.search-widen { margin:-6px 0 14px; }
.ord-items { margin:0 0 22px; padding:12px 14px; border:1px solid var(--line, #d9d4c7); border-radius:6px; background:#fff; }
.ord-items summary { cursor:pointer; }
.ord-items .table-wrap { margin:10px 0 6px; max-height:340px; overflow:auto; }
.maker-chips { margin:0 0 16px; flex:none; }
.maker-chips a { padding:5px 12px; border:1px solid var(--line); background:#fff; }
.maker-chips a b { color:var(--deep); }
@media (prefers-reduced-motion: reduce) { .search-all button { transition:none; } }

/* Enquiry list */
.card { display:flex; flex-direction:column; }
.card .card-link { flex:1; }
.enq-add { font:inherit; font-size:.82rem; font-weight:700; cursor:pointer; color:var(--ink); background:#fff; border:2px solid var(--ink); border-radius:4px; padding:6px 10px; }
.enq-add:hover { background:var(--brand-tint); }
.enq-add.on { background:var(--yellow); }
.enq-add:focus-visible { outline:3px solid var(--deep); outline-offset:2px; }
.enq-card { margin:0 14px 14px; }
.enq-detail { margin:12px 0 4px; padding:9px 14px; font-size:.9rem; box-shadow:3px 3px 0 var(--ink); }
.enq-link { display:inline-flex; align-items:center; gap:6px; font-size:.82rem; font-weight:700; color:var(--ink); text-decoration:none; padding:4px 8px; border-radius:6px; }
.enq-link:hover { background:var(--brand-tint); }
.enq-count { background:var(--brand); color:var(--ink); border-radius:999px; padding:0 7px; font-size:.75rem; }
.enq-count[hidden] { display:none; }
.top-bar .wrap { gap:14px; align-items:center; }
.enq-table td { vertical-align:middle; }
.enq-qty { width:80px; font:inherit; padding:6px 8px; border:1px solid #cfd4dc; border-radius:6px; }
.enq-remove, .enq-clear { font:inherit; font-size:.82rem; background:none; border:1px solid #e3b5b1; color:#b3261e; border-radius:4px; padding:4px 10px; cursor:pointer; }
.enq-form { display:grid; gap:10px; margin:16px 0; max-width:640px; }
.enq-form label { display:grid; gap:4px; font-size:.85rem; color:var(--muted); }
.enq-form input, .enq-form textarea { font:inherit; color:var(--ink); padding:9px 11px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; }
.enq-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-bottom:10px; }
button.btn-pill { font:inherit; font-weight:800; cursor:pointer; }
.enq-send { background:var(--brand); }
.enq-page { margin-bottom:28px; }
.enq-empty, .enq-body, .enq-long { margin-top:8px; }
.enq-body[hidden], .enq-empty[hidden], .enq-long[hidden], .enq-add[hidden], .enq-link[hidden] { display:none; }
.enq-copy { background:#fff; }
/* Order list (signed-in customers): step 1 of an order request */
/* Staff: a way to the wholesale customer sign-in (to try the customer view) */
.staff-cust-link { font-size:.8rem; font-weight:700; color:var(--ink); white-space:nowrap; padding:4px 8px; border:1px solid var(--line); border-radius:4px; background:#fff; text-decoration:none; }
.staff-cust-link:hover { background:var(--brand-tint); }
.ord-add-form { display:inline; margin:0; }
.ord-add { display:inline-block; text-decoration:none; }
.ord-link { cursor:pointer; }
.ord-alert { margin:10px 0; padding:10px 14px; border:1px solid #e6c36a; background:#fff8e1; border-radius:8px; font-size:.9rem; }
.ord-err { border-color:#e3b5b1; background:#fdf1f0; color:#8c1d18; }
/* Order list: upload a filled-in Excel list, and what the upload did */
.ord-sheet { margin:8px 0 28px; padding:16px 18px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.ord-sheet h2 { margin:0 0 6px; font-size:1.05rem; }
.ord-sheet-form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 16px; margin-top:10px; }
.ord-sheet-form label { display:flex; flex-direction:column; gap:4px; font-size:.85rem; }
.ord-sheet-form .sheet-btn { cursor:pointer; font-family:inherit; }
.ord-sheet-result p { margin:0 0 4px; }
.ord-sheet-result ul { margin:4px 0 0; padding-left:20px; }
/* My account */
.acct-links { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 18px; }
.acct-card { margin:0 0 20px; padding:16px 18px; border:1px solid var(--line); border-radius:10px; background:#fff; }
.acct-card h2 { margin:0 0 8px; font-size:1.05rem; }
.acct-send { display:grid; gap:12px; margin-top:10px; max-width:640px; }
.acct-drop { display:flex; flex-direction:column; align-items:center; gap:6px; padding:22px 16px; border:2px dashed #1d6f42; border-radius:10px; background:#f4faf6; color:#1d6f42; text-align:center; cursor:pointer; }
.acct-drop.is-over, .acct-drop:focus-within { background:#e3f3e9; border-style:solid; }
.acct-drop.has-file { border-style:solid; }
.acct-drop-icon { font-size:1.6rem; line-height:1; }
.acct-drop-text { font-weight:700; }
.acct-drop-name { font-size:.9rem; color:var(--ink); word-break:break-all; }
.acct-drop input[type=file] { max-width:100%; font-size:.85rem; }
.acct-note { display:flex; flex-direction:column; gap:4px; font-size:.85rem; }
.acct-note textarea { font:inherit; padding:8px; border:1px solid var(--line); border-radius:8px; }
.acct-send .sheet-btn { justify-self:start; cursor:pointer; font-family:inherit; }
.acct-table td, .acct-table th { vertical-align:top; }
.acct-details { margin:0; display:grid; gap:6px; }
.acct-details div { display:grid; grid-template-columns:minmax(120px, 200px) 1fr; gap:10px; }
.acct-details dt { color:var(--muted, #666); font-size:.85rem; }
.acct-details dd { margin:0; }
@media (max-width: 640px) { .acct-details div { grid-template-columns:1fr; gap:0; } }
a.cust-name { text-decoration:none; }
a.cust-name:hover { text-decoration:underline; }
.ord-off { color:var(--muted); }
.ord-state { display:inline-block; margin-top:4px; font-size:.8rem; font-weight:700; color:#8c1d18; }
.ord-qty-form { display:flex; gap:6px; align-items:center; }
.ord-update { font:inherit; font-size:.82rem; font-weight:700; cursor:pointer; color:var(--ink); background:#fff; border:1px solid #cfd4dc; border-radius:4px; padding:5px 10px; }
.ord-step { font:inherit; font-weight:800; width:30px; height:32px; cursor:pointer; color:var(--ink); background:#fff; border:2px solid var(--ink); border-radius:4px; line-height:1; }
.ord-step:hover { background:var(--brand-tint); }
.ord-update:hover { background:var(--brand-tint); }
.ord-sum { display:flex; flex-wrap:wrap; gap:8px 32px; margin:16px 0; padding:12px 16px; border:1px solid #e6e2d8; border-radius:8px; background:#fff; }
.ord-steps { display:flex; flex-wrap:wrap; gap:8px 22px; list-style:none; padding:0; margin:6px 0 18px; counter-reset:ord; font-size:.9rem; color:var(--muted); }
.ord-steps li { counter-increment:ord; display:flex; align-items:center; gap:8px; }
.ord-steps li::before { content:counter(ord); display:inline-grid; place-items:center; width:26px; height:26px; border:2px solid #cfd4dc; border-radius:50%; font-weight:800; background:#fff; }
.ord-steps li.on { color:var(--ink); font-weight:800; }
.ord-steps li.on::before { border-color:var(--ink); background:var(--brand); color:var(--ink); }
.ord-steps li.done::before { content:"✓"; border-color:var(--ink); color:var(--ink); }
.ord-form h2 { margin:14px 0 0; font-size:1.05rem; }
.ord-form select { font:inherit; color:var(--ink); padding:9px 11px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; }
.ord-form [aria-invalid="true"] { border-color:#b3261e; outline:2px solid #f3c9c5; }
.ord-agree { display:flex; gap:10px; align-items:flex-start; margin:16px 0; max-width:640px; }
.ord-ref { margin:12px 0; padding:14px 18px; border:3px solid var(--ink); border-radius:4px; background:#fff; display:inline-block; box-shadow:4px 3px 0 var(--ink); }
.ord-ref b { font-size:1.5rem; letter-spacing:.04em; }
.ord-next { max-width:640px; padding-left:22px; display:grid; gap:10px; margin:18px 0; }
.ord-tag { display:inline-block; padding:2px 10px; border-radius:999px; font-size:.78rem; font-weight:700; background:#eef0f4; color:var(--ink); vertical-align:middle; }
.ord-st-new { background:var(--yellow); } .ord-st-quoted { background:#e8eefb; color:#1f3f8f; } .ord-st-confirmed { background:#e5f4ea; color:#1f7a3f; } .ord-st-cancelled { color:var(--muted); }
.ord-my-link { margin-left:auto; font-size:.88rem; }
.ord-sum dt { font-size:.78rem; color:var(--muted); }
.ord-sum dd { margin:0; font-weight:800; font-size:1.1rem; }

.enq-link { white-space:nowrap; }
@media (max-width: 640px) {
  .enq-table thead { display:none; }
  .enq-table, .enq-table tbody { display:block; }
  .enq-table tr { display:grid; grid-template-columns:auto 1fr auto; gap:8px 12px; align-items:center; padding:12px; border-bottom:1px solid #e6e2d8; }
  .enq-table td { display:block; padding:0; border:0; }
  .enq-table td:first-child { grid-column:1 / -1; }
  .enq-table td:nth-child(3)::after { content:" pcs"; color:var(--muted); }
  html[lang="ja"] .enq-table td:nth-child(3)::after { content:" 個"; }
}
.enq-table td:first-child a, .enq-table td:first-child div { overflow-wrap:anywhere; }
@media (max-width: 640px) { .enq-table tr { grid-template-columns:auto 1fr auto; min-width:0; } .enq-table td { min-width:0; } }
.ptable.enq-table { min-width:0; }
.enq-flag { display:inline-block; margin-top:4px; padding:1px 8px; border-radius:999px; background:#fde2df; color:#b3261e; font-size:.75rem; font-weight:700; }

/* Staff test site: coming soon, login, log out */
.soon-lead { margin:0; font-size:2rem; font-weight:800; letter-spacing:-.02em; color:var(--ink); background:var(--yellow); border:3px solid var(--ink); box-shadow:4px 4px 0 var(--ink); padding:6px 22px; border-radius:6px; }
.soon-text { margin:0; max-width:460px; color:var(--muted); line-height:1.6; }
.staff-form { display:grid; gap:12px; width:min(320px, 100%); text-align:left; }
.staff-form label { display:grid; gap:4px; font-size:.85rem; color:var(--muted); }
.staff-form input { font:inherit; color:var(--ink); padding:10px 12px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; }
.staff-form .btn-pill { justify-self:start; }
.staff-error { margin:0; padding:8px 14px; border-radius:8px; background:#fde2df; color:#b3261e; font-size:.9rem; }
.staff-bar { display:inline-flex; align-items:center; gap:8px; margin:0; }
.staff-badge { font-size:.7rem; font-weight:700; padding:2px 8px; border-radius:999px; background:var(--ink); color:#fff; white-space:nowrap; }
.staff-bar button { font:inherit; font-size:.78rem; background:none; border:1px solid #cfd4dc; border-radius:6px; padding:3px 9px; cursor:pointer; color:var(--ink); }
.staff-bar button:hover { background:var(--brand-tint); }
@media (max-width: 640px) { .staff-badge { display:none; } }
/* Staff bar (badge, Admin, Log out): never break words; on narrow screens it gets its own line under the menu */
.staff-bar button, .lang-nav a { white-space:nowrap; }
@media (max-width: 760px) {
  .header-right { flex-wrap:wrap; row-gap:8px; }
  .header-right .staff-bar { order:9; flex-basis:100%; justify-content:flex-end; }
  .top-bar .wrap { flex-wrap:wrap; row-gap:6px; }
}
.soon-staff { margin:18px 0 0; font-size:.78rem; }
.soon-staff a { color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.soon-staff a:hover { color:var(--ink); }
/* discreet way into the admin pages, at the very end of the footer (small text, finger-sized target) */
.footer-admin { display:inline-block; margin-left:4px; padding:8px 6px; color:inherit; opacity:.55; font-size:.72rem; text-decoration:none; }
.footer-admin:hover, .footer-admin:focus-visible { opacity:1; text-decoration:underline; }

/* Registration request (register.php) */
.reg { max-width:620px; margin:28px auto 48px; }
.reg h1 { margin:0 0 8px; font-size:1.5rem; }
.reg-lead { margin:0 0 18px; color:var(--muted); }
.reg-form { display:grid; gap:14px; }
.reg-form label { display:grid; gap:4px; font-size:.9rem; color:var(--muted); }
.reg-form label em { font-style:normal; font-size:.75rem; color:#b3261e; margin-left:4px; }
.reg-form input[type=text], .reg-form input[type=email], .reg-form textarea, .reg-form select { font:inherit; color:var(--ink); padding:10px 12px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; }
.reg-form [aria-invalid=true] { border-color:#b3261e; }
.reg-err { color:#b3261e; font-size:.82rem; }
.reg-makers { border:1px solid #e3e6eb; border-radius:8px; padding:10px 14px; display:flex; flex-wrap:wrap; gap:6px 18px; margin:0; }
.reg-makers legend { padding:0 4px; font-size:.9rem; color:var(--muted); }
.reg-form .reg-check { display:flex; align-items:center; gap:6px; color:var(--ink); }
.reg-trap { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.reg-small { margin:0; font-size:.8rem; color:var(--muted); }
.reg-form .register-btn { justify-self:start; font:inherit; font-weight:700; cursor:pointer; }

/* Wholesale customer sign-in */
.cust-name { font-size:.78rem; font-weight:700; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.signin-link { font-size:.85rem; font-weight:700; color:var(--ink); text-decoration:none; border:1px solid #cfd4dc; border-radius:6px; padding:3px 10px; white-space:nowrap; }
.signin-link:hover { background:var(--brand-tint); }
.signin-alt { margin:0; font-size:.85rem; color:var(--muted); max-width:360px; }
/* Sign-in page as the front door: the way to register, and a quiet staff entrance (members-only mode) */
.signin-new { display:grid; gap:10px; justify-items:center; margin-top:6px; padding-top:18px; border-top:1px solid var(--line); width:min(360px, 100%); }
.signin-new p { margin:0; font-size:.9rem; color:var(--muted); max-width:340px; }
.signin-register { background:var(--brand); text-decoration:none; color:var(--ink); }
.signin-staff { margin:4px 0 0; font-size:.78rem; }
.signin-staff a { color:var(--muted); }
.register-signin { display:inline-block; margin-left:12px; font-size:.85rem; color:var(--ink); }
.ask-access { margin:10px 0; padding:10px 14px; border-radius:8px; background:#fff6e0; color:#6b4b00; font-size:.9rem; }
@media (max-width: 640px) { .cust-name { max-width:110px; } }
.cust-bar .cust-name { color:var(--ink); }

/* Main menu under the header (main_nav.php) */
.main-nav { border-top:1px solid var(--line); background:rgba(255,255,255,.96); }
.main-nav-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px 20px; padding-top:6px; padding-bottom:6px; }
.main-nav-links { list-style:none; margin:0; padding:0; display:flex; gap:4px; flex:0 0 auto; max-width:100%; overflow-x:auto; scrollbar-width:none; }
.main-nav-links::-webkit-scrollbar { display:none; }
.main-nav-links a { display:block; padding:6px 12px; border-radius:8px; color:var(--ink); text-decoration:none; font-weight:600; font-size:.92rem; white-space:nowrap; }
.main-nav-links a:hover { background:var(--brand-tint); }
.main-nav-links a.active { background:var(--ink); color:#fff; }
.nav-search { margin-left:auto; display:flex; gap:6px; flex:1 1 240px; max-width:360px; min-width:0; }
.nav-search input { flex:1; min-width:0; font:inherit; font-size:.9rem; padding:7px 10px; border:1px solid #cfd4dc; border-radius:8px; background:#fff; color:var(--ink); }
.nav-search button { font:inherit; font-size:.85rem; font-weight:700; padding:6px 12px; border:3px solid #14213d; border-radius:8px; background:#F0921B; color:#14213d; box-shadow:3px 2px 0 #14213d; cursor:pointer; transition:transform .08s, box-shadow .08s; }
.nav-search button:hover { transform:translate(1px,1px); box-shadow:2px 1px 0 #14213d; }
.nav-search button:active { transform:translate(3px,2px); box-shadow:none; }
@media (max-width: 700px) {
  .main-nav-row { flex-wrap:wrap; }
  .main-nav-links { width:100%; }
  .nav-search { flex-basis:100%; max-width:none; margin-left:0; }
}

/* Product page: breadcrumbs, links, actions, related products */
.crumbs ol { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:4px; font-size:.85rem; color:var(--muted); }
.crumbs li + li::before { content:"›"; margin:0 6px 0 2px; color:#a0a7b3; }
.crumbs li[aria-current] { color:var(--ink); max-width:40ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.crumbs a { color:var(--muted); }
.franchise a, .code a, .spec-link { color:inherit; text-decoration:underline; text-decoration-color:#cfd4dc; text-underline-offset:3px; }
.franchise a:hover, .code a:hover, .spec-link:hover { text-decoration-color:var(--brand); }
.detail-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; }
.ask-link { font-size:.9rem; font-weight:600; color:var(--deep); }
.related { margin:28px 0; }
.related-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.related-head h2 { margin:0 0 12px; font-size:1.15rem; }
.related-head a { font-size:.9rem; white-space:nowrap; }
.related-grid { margin-top:0; }

/* Product page: Back button (same button style as Search: navy border, offset shadow) next to the breadcrumbs */
.detail-top { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:18px 0 12px; }
.detail-top .crumbs { margin:0; min-width:0; }
.back-btn { display:inline-flex; align-items:center; gap:4px; padding:6px 14px; font-weight:700; font-size:.9rem; color:#14213d; background:#fff; text-decoration:none; border:3px solid #14213d; border-radius:8px; box-shadow:4px 3px 0 #14213d; transition:transform .08s, box-shadow .08s; white-space:nowrap; }
.back-btn:hover { transform:translate(1px,1px); box-shadow:3px 2px 0 #14213d; background:var(--brand-tint); }
.back-btn:active { transform:translate(4px,3px); box-shadow:none; }

/* Header button for visitors: "Open a wholesale account" (same button style as Search) */
.open-account { font-size:.85rem; font-weight:700; color:#14213d; background:#F0921B; text-decoration:none; border:3px solid #14213d; border-radius:8px; padding:4px 12px; box-shadow:3px 2px 0 #14213d; white-space:nowrap; transition:transform .08s, box-shadow .08s; }
.open-account:hover { transform:translate(1px,1px); box-shadow:2px 1px 0 #14213d; }
.open-account:active { transform:translate(3px,2px); box-shadow:none; }

/* Menu bar (2026-11-12): quiet buttons — thin border, small radius, soft shadow. The manufacturer dropdown sits in
   the bar after the links and uses the same quiet look (the chunky brand button stays on the home page's large one). */
.main-nav-row { gap:8px 10px; padding-top:8px; padding-bottom:8px; }
.main-nav-links { gap:8px; padding:1px 0 2px; }
.main-nav-links a, .main-nav-row .maker-menu .maker-current {
  display:inline-flex; align-items:center; gap:8px; min-height:36px; min-width:0; padding:6px 14px;
  border:1px solid #d9d3c5; border-radius:8px; background:#fff; color:var(--ink);
  font-weight:600; font-size:.92rem; white-space:nowrap; box-shadow:0 1px 0 rgba(20,33,61,.07);
  transform:none; transition:background .12s, border-color .12s, color .12s;
}
.main-nav-links a:hover, .main-nav-row .maker-menu .maker-current:hover { background:var(--brand-tint); border-color:var(--brand); transform:none; box-shadow:0 1px 0 rgba(20,33,61,.07); }
.main-nav-links a.active { background:var(--ink); border-color:var(--ink); color:#fff; }
.main-nav-row .maker-menu { position:relative; }
.main-nav-row .maker-menu[open] > .maker-current, .main-nav-row .maker-menu .maker-current:active { background:var(--brand-tint); border-color:var(--ink); transform:none; box-shadow:0 1px 0 rgba(20,33,61,.07); }
.main-nav-row .maker-menu .maker-current img, .main-nav-row .maker-menu .maker-current img.logo-square { height:20px; max-width:96px; margin:0; }
.main-nav-row .maker-menu .maker-current .maker-name { margin:0; }
.main-nav-row .maker-menu .chev { width:12px; height:12px; border-left:0; padding-left:0; }
.main-nav-row .maker-menu .chev::before { width:6px; height:6px; border-right-width:2px; border-bottom-width:2px; }
.main-nav-row .maker-menu .maker-panel {
  top:calc(100% + 6px); left:0; right:auto; min-width:280px; max-width:min(calc(100vw - 32px), 340px);
  border:1px solid #d9d3c5; border-radius:10px; box-shadow:0 10px 28px rgba(20,33,61,.14); padding:8px;
}
.main-nav-row .maker-menu .maker-option { border:1px solid transparent; border-radius:8px; font-weight:600; padding:7px 10px; }
.main-nav-row .maker-menu .maker-option:hover, .main-nav-row .maker-menu .maker-option:focus-visible { background:var(--brand-tint); border-color:transparent; }
.main-nav-row .maker-menu .maker-option.active { background:var(--brand-tint); border-color:var(--brand); }
@media (max-width: 700px) {
  /* narrow screens: links on the first row; the manufacturer dropdown and the search share the second */
  .main-nav-row .nav-search { flex:1 1 200px; }
}

/* Sections, stage 1 (entry.php, home.php, layout.php): plain tiles and links — each side's own look comes in stage 2 */
.entry-lead { margin:0 0 18px; color:var(--muted); }
.entry-doors { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:18px; width:100%; max-width:720px; margin:0 auto 22px; text-align:left; }
.entry-door { display:flex; flex-direction:column; gap:6px; padding:20px 22px; background:#fff; border:1px solid #d9d3c5; border-radius:var(--radius); box-shadow:var(--shadow); color:var(--ink); text-decoration:none; transition:border-color .12s, transform .12s; }
.entry-door:hover, .entry-door:focus-visible { border-color:var(--ink); transform:translateY(-2px); }
.entry-door-name { font-size:1.3rem; line-height:1.2; }
.entry-door-lead { color:var(--muted); font-size:.92rem; }
.entry-door-count { font-size:.82rem; color:var(--muted); }
.entry-door-go { margin-top:8px; font-weight:700; color:var(--brand-ink); }
.landing-section { margin:-6px 0 14px; display:flex; gap:12px; align-items:baseline; justify-content:center; }
.landing-section a { font-size:.85rem; }
.section-switch { font-size:.82rem; font-weight:600; color:var(--ink); text-decoration:none; padding:5px 10px; border:1px solid #d9d3c5; border-radius:8px; background:#fff; white-space:nowrap; }
.section-switch:hover { border-color:var(--brand); background:var(--brand-tint); }
.entry { gap:14px; }

/* =====================================================================================================
   Sections, stage 2: each side's own look (design: docs/mockups/two-sections.html; Park 2026-11-13).
   Tokyo Works stays the same on both sides (logo, header layout, footer, navy text). Only pages inside a side
   carry body.sec-character / body.sec-ceramics, body.sec-gift, and only when the catalog has both sides.
   Lettering: the catalog's own fonts (public/assets/fonts/, stage 3) — Zen Maru Gothic for character goods, Klee One
   for ceramics — loaded by layout.php for the side being shown; the names after them are fallbacks.
   ===================================================================================================== */
:root {
  --tangerine:#FF7A2F; --tangerine-tint:#fff0e5; --slate:#59616e; --stone:#d7dbe1; --mist:#eef0f3;
  --font-round:"Zen Maru Gothic",ui-rounded,"SF Pro Rounded","Hiragino Maru Gothic ProN","Arial Rounded MT Bold",-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans",sans-serif;
  /* English letters and figures: a classic serif already on the computer (these fonts have no Japanese, so Japanese
     text falls through to Klee One). Klee One's own handwritten English is not used (Park 2026-11-13). */
  --font-kyokasho:"Hoefler Text",Baskerville,Georgia,"Times New Roman","Noto Serif","Klee One","YuKyokasho","Yu Kyokasho","Hiragino Mincho ProN","Yu Mincho",serif;
}

/* ---------- entry page tiles: a faded pattern that comes forward and moves on hover or keyboard focus ---------- */
.entry-doors { gap:22px; max-width:780px; }
.entry-door { position:relative; overflow:hidden; isolation:isolate; padding:0; min-height:214px; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.entry-door::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.16; transition:opacity .35s ease; }
.entry-door:hover::before, .entry-door:focus-visible::before { opacity:1; }
.entry-door:focus-visible { outline:3px solid var(--deep); outline-offset:4px; }
.entry-door-in { position:relative; display:flex; flex-direction:column; gap:6px; height:100%; padding:22px 22px 20px; }
.entry-door-alt { font-size:.95rem; }
.entry-door-mark { position:absolute; right:16px; top:14px; display:flex; gap:6px; }
.entry-door-mark i { display:block; }

/* character goods (redesigned 2026-11-25, "Capsule toys" in docs/mockups/character-button.html): a light tangerine tile
   with the side's four-point sparkles; in the corner a capsule, a figure and a star badge. On hover the sparkles drift,
   the capsule rolls, the figure hops and the badge turns. (Until then: a yellow tile with polka dots.) */
.entry-door-character { background:#ffd0a6; border:3px solid var(--ink); border-radius:22px; box-shadow:0 6px 0 var(--ink); }
.entry-door-character::before { opacity:.6;
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2290%22 height=%2290%22 viewBox=%220 0 90 90%22%3E%3Cpath transform=%22translate(20 22)%22 fill=%22%23ffffff%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(64 60) scale(.6)%22 fill=%22%23FFD23F%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3C/svg%3E");
  background-size:90px 90px; }
.entry-door-character:hover, .entry-door-character:focus-visible { transform:translateY(-4px); box-shadow:0 10px 0 var(--ink); border-color:var(--ink); }
.entry-door-character:hover::before, .entry-door-character:focus-visible::before { animation:entry-dots-drift 3s linear infinite; }
.entry-door-character .entry-door-name { font-family:var(--font-round); font-weight:700; font-size:1.5rem; }
.entry-door-character .entry-door-alt { font-family:var(--font-round); font-weight:700; color:#b3470c; }
.entry-door-character .entry-door-lead { font-family:var(--font-round); font-weight:500; color:var(--ink); }
.entry-door-character .entry-door-count { color:var(--ink); }
.entry-door-character .entry-door-go { align-self:flex-start; margin-top:auto; font-family:var(--font-round); font-weight:700; color:var(--ink); background:#FFD23F; border:3px solid var(--ink); border-radius:999px; box-shadow:0 3px 0 var(--ink); padding:6px 16px; }
.entry-door-character:hover .entry-door-go, .entry-door-character:focus-visible .entry-door-go { background:#fff; }
.entry-door-character .entry-door-mark { right:16px; top:14px; gap:7px; align-items:flex-end; }
/* 1: a capsule (clear top, tangerine bottom) */
.entry-door-character .entry-door-mark i:nth-child(1) { width:30px; height:30px; border-radius:50%; border:2.5px solid var(--ink);
  background:linear-gradient(180deg, rgba(255,255,255,.95) 0 46%, var(--ink) 46% 54%, var(--tangerine) 54%); }
/* 2: a small figure (round head, body) */
.entry-door-character .entry-door-mark i:nth-child(2) { position:relative; width:20px; height:19px; margin-top:17px; border:2.5px solid var(--ink); border-radius:7px 7px 4px 4px; background:#fff; }
.entry-door-character .entry-door-mark i:nth-child(2)::before { content:""; position:absolute; left:50%; top:-18px; width:17px; height:17px; margin-left:-11px; border:2.5px solid var(--ink); border-radius:50%; background:#fff; }
/* 3: a star badge */
.entry-door-character .entry-door-mark i:nth-child(3) { position:relative; width:30px; height:30px; border-radius:50%; border:2.5px solid var(--ink); background:#FFD23F; }
.entry-door-character .entry-door-mark i:nth-child(3)::before { content:""; position:absolute; inset:3px; background:var(--ink);
  clip-path:polygon(50% 2%, 61% 36%, 98% 36%, 68% 58%, 79% 93%, 50% 72%, 21% 93%, 32% 58%, 2% 36%, 39% 36%); }
.entry-door-character:hover .entry-door-mark i:nth-child(1), .entry-door-character:focus-visible .entry-door-mark i:nth-child(1) { animation:entry-capsule-roll 1s ease-in-out infinite; }
.entry-door-character:hover .entry-door-mark i:nth-child(2), .entry-door-character:focus-visible .entry-door-mark i:nth-child(2) { animation:entry-dot-hop .7s ease-in-out infinite; animation-delay:.12s; }
.entry-door-character:hover .entry-door-mark i:nth-child(3), .entry-door-character:focus-visible .entry-door-mark i:nth-child(3) { animation:entry-badge-turn 1.6s ease-in-out infinite; animation-delay:.24s; }
@keyframes entry-dots-drift { from { background-position:0 0; } to { background-position:90px 90px; } }
@keyframes entry-dot-hop { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
@keyframes entry-capsule-roll { 0%,100% { transform:translateY(0) rotate(0); } 50% { transform:translateY(4px) rotate(200deg); } }
@keyframes entry-badge-turn { 0%,100% { transform:rotate(-12deg) scale(1); } 50% { transform:rotate(12deg) scale(1.12); } }

/* ceramics & tableware: white tile, a blue seigaiha (wave) textile pattern that slowly flows; the text sits on a plain
   label (the original tile, back since the gift side took the indigo cloth 2026-11-25); in the corner a rice bowl, a
   teacup and a plate, which lift one after another on hover */
.entry-door-ceramics { background:#fff; border:1px solid var(--stone); border-top:4px solid var(--deep); border-radius:2px; box-shadow:none; }
.entry-door-ceramics::before {
  opacity:.13; background-color:#fff;
  background-image:
    radial-gradient(circle at 100% 150%, #fff 24%, var(--deep) 25%, var(--deep) 28%, #fff 29%, #fff 36%, var(--deep) 36%, var(--deep) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, #fff 24%, var(--deep) 25%, var(--deep) 28%, #fff 29%, #fff 36%, var(--deep) 36%, var(--deep) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, var(--deep) 10%, #fff 11%, #fff 23%, var(--deep) 24%, var(--deep) 30%, #fff 31%, #fff 43%, var(--deep) 44%, var(--deep) 50%, #fff 51%, #fff 63%, var(--deep) 64%, var(--deep) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, var(--deep) 5%, #fff 6%, #fff 15%, var(--deep) 16%, var(--deep) 20%, #fff 21%, #fff 30%, var(--deep) 31%, var(--deep) 35%, #fff 36%, #fff 45%, var(--deep) 46%, var(--deep) 49%, transparent 50%, transparent),
    radial-gradient(circle at 0 50%, var(--deep) 5%, #fff 6%, #fff 15%, var(--deep) 16%, var(--deep) 20%, #fff 21%, #fff 30%, var(--deep) 31%, var(--deep) 35%, #fff 36%, #fff 45%, var(--deep) 46%, var(--deep) 49%, transparent 50%, transparent);
  background-size:80px 40px;
}
.entry-door-ceramics:hover::before, .entry-door-ceramics:focus-visible::before { opacity:.62; animation:entry-waves-flow 7s linear infinite; }
.entry-door-ceramics:hover, .entry-door-ceramics:focus-visible { border-color:var(--deep); box-shadow:0 10px 26px rgba(11,61,145,.16); transform:translateY(-2px); }
.entry-door-ceramics .entry-door-in { margin:18px; height:calc(100% - 36px); padding:18px 20px; background:rgba(255,255,255,.93); border:1px solid var(--stone); transition:border-color .3s ease; }
.entry-door-ceramics:hover .entry-door-in, .entry-door-ceramics:focus-visible .entry-door-in { border-color:var(--deep); }
.entry-door-ceramics .entry-door-name, .entry-door-ceramics .entry-door-alt { font-family:var(--font-kyokasho); color:var(--deep); }
.entry-door-ceramics .entry-door-name { font-weight:500; font-size:1.55rem; letter-spacing:.03em; }
.entry-door-ceramics .entry-door-alt { font-size:1.05rem; letter-spacing:.08em; color:var(--slate); }
.entry-door-ceramics .entry-door-lead, .entry-door-ceramics .entry-door-count { color:var(--slate); }
.entry-door-ceramics .entry-door-go { align-self:flex-start; margin-top:auto; font-family:var(--font-kyokasho); font-weight:500; color:var(--deep); background:#fff; border:1px solid var(--deep); border-radius:2px; padding:7px 14px; transition:background .25s ease, color .25s ease; }
.entry-door-ceramics:hover .entry-door-go, .entry-door-ceramics:focus-visible .entry-door-go { background:var(--deep); color:#fff; }
.entry-door-ceramics .entry-door-mark { right:30px; top:30px; gap:7px; align-items:flex-end; }
.entry-door-ceramics .entry-door-mark i { position:relative; border:2px solid var(--deep); background:#fff; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
.entry-door-ceramics .entry-door-mark i:nth-child(1) { width:30px; height:16px; border-radius:2px 2px 16px 16px; margin-bottom:4px; }
.entry-door-ceramics .entry-door-mark i:nth-child(1)::after { content:""; position:absolute; left:50%; bottom:-6px; width:12px; height:4px; margin-left:-6px; background:var(--deep); border-radius:0 0 2px 2px; }
.entry-door-ceramics .entry-door-mark i:nth-child(2) { width:17px; height:22px; border-radius:2px 2px 6px 6px; transition-delay:.08s; }
.entry-door-ceramics .entry-door-mark i:nth-child(3) { width:26px; height:26px; border-radius:50%; transition-delay:.16s; box-shadow:inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--deep); }
.entry-door-ceramics:hover .entry-door-mark i, .entry-door-ceramics:focus-visible .entry-door-mark i { transform:translateY(-5px); }

/* gifts & souvenirs (code "gift"; the "Indigo cloth" tile of docs/mockups/gift-button.html, moved here 2026-11-25): an
   indigo wrapping cloth (furoshiki) with a white linked-circle pattern, white lettering, and in the corner a wrapped box,
   a daruma and a noren. On hover the pattern slides and the three pieces lift one after another.
   */
.entry-door-gift { --indigo:#1d3566; background:var(--indigo); border:1px solid var(--indigo); border-radius:4px; box-shadow:0 4px 14px rgba(29,53,102,.28); color:#fff; }
.entry-door-gift::before { opacity:.22;
  background-image:radial-gradient(circle at 0 0, transparent 13px, #fff 13px 14.5px, transparent 14.5px), radial-gradient(circle at 100% 0, transparent 13px, #fff 13px 14.5px, transparent 14.5px),
    radial-gradient(circle at 0 100%, transparent 13px, #fff 13px 14.5px, transparent 14.5px), radial-gradient(circle at 100% 100%, transparent 13px, #fff 13px 14.5px, transparent 14.5px);
  background-size:28px 28px; }
/* the pattern is kept off the wording: solid indigo on the left, fading out to the right */
.entry-door-gift .entry-door-in::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(100deg, var(--indigo) 0 52%, rgba(29,53,102,.55) 78%, transparent 100%); }
.entry-door-gift:hover::before, .entry-door-gift:focus-visible::before { opacity:.5; animation:entry-cloth-slide 4s linear infinite; }
.entry-door-gift:hover, .entry-door-gift:focus-visible { border-color:var(--indigo); box-shadow:0 12px 24px rgba(29,53,102,.36); transform:translateY(-3px); }
.entry-door-gift .entry-door-name, .entry-door-gift .entry-door-alt { font-family:var(--font-kyokasho); }
.entry-door-gift .entry-door-name { font-weight:500; font-size:1.55rem; letter-spacing:.03em; color:#fff; }
.entry-door-gift .entry-door-alt { font-size:1.05rem; letter-spacing:.08em; color:#c9d6f2; }
.entry-door-gift .entry-door-lead, .entry-door-gift .entry-door-count { color:#e3e9f7; }
.entry-door-gift .entry-door-go { align-self:flex-start; margin-top:auto; font-family:var(--font-kyokasho); font-weight:500; color:var(--indigo); background:#fff; border:1px solid #fff; border-radius:2px; padding:6px 14px; transition:background .25s, color .25s; }
.entry-door-gift:hover .entry-door-go, .entry-door-gift:focus-visible .entry-door-go { background:transparent; color:#fff; }
.entry-door-gift .entry-door-mark { right:16px; top:16px; gap:7px; align-items:flex-end; }
.entry-door-gift .entry-door-mark i { position:relative; border:2px solid #fff; transition:transform .3s cubic-bezier(.2,.7,.2,1); }
/* 1: a wrapped box with one gold ribbon and its knot */
.entry-door-gift .entry-door-mark i:nth-child(1) { width:24px; height:20px; border-radius:2px;
  background-image:linear-gradient(90deg, transparent 0 8px, #e8b84a 8px 12px, transparent 12px); }
.entry-door-gift .entry-door-mark i:nth-child(1)::before { content:""; position:absolute; left:50%; top:-8px; width:8px; height:8px; margin-left:-4px; background:#e8b84a; border-radius:2px; transform:rotate(45deg); }
/* 2: a daruma */
.entry-door-gift .entry-door-mark i:nth-child(2) { width:22px; height:24px; border-radius:50% 50% 46% 46%; transition-delay:.08s;
  background:radial-gradient(ellipse at 50% 40%, #fff 0 34%, #e2574c 36%); }
/* 3: a noren on its rod */
.entry-door-gift .entry-door-mark i:nth-child(3) { width:28px; height:20px; border-radius:0 0 2px 2px; border-top:4px solid #e8b84a; transition-delay:.16s;
  background:linear-gradient(90deg, transparent 0 46%, #fff 46% 54%, transparent 54%); }
.entry-door-gift:hover .entry-door-mark i, .entry-door-gift:focus-visible .entry-door-mark i { transform:translateY(-5px); }

/* stationery (Park 2026-11-24, design A of docs/mockups/stationery-button.html): a notebook page — cream paper, blue ruled
   lines that roll, a red margin line, punched holes, and three pencils that scribble. Green is this side's colour. */
.entry-door-stationery { --pencil:#1a7d65; background:#fffdf6; border:2px solid var(--ink); border-radius:6px 14px 14px 6px; box-shadow:4px 4px 0 rgba(20,33,61,.18); }
.entry-door-stationery::before {
  opacity:.5;
  background-image:
    linear-gradient(90deg, transparent 0 38px, #e2574c 38px 40px, transparent 40px),
    repeating-linear-gradient(180deg, transparent 0 27px, #9cc4e4 27px 28px);
  background-position:0 0, 0 6px;
}
.entry-door-stationery::after { content:""; position:absolute; left:10px; top:18px; bottom:18px; width:12px; background-image:radial-gradient(circle, var(--bg) 0 4px, transparent 5px); background-size:12px 34px; }
.entry-door-stationery .entry-door-in { padding-left:56px; }
.entry-door-stationery:hover, .entry-door-stationery:focus-visible { transform:translateY(-3px); border-color:var(--ink); box-shadow:6px 8px 0 rgba(20,33,61,.22); }
.entry-door-stationery:hover::before, .entry-door-stationery:focus-visible::before { opacity:1; animation:entry-lines-roll 1.6s linear infinite; }
.entry-door-stationery .entry-door-name { font-family:var(--font-kyokasho); font-weight:600; font-size:1.55rem; color:#1f2a44; }
.entry-door-stationery .entry-door-alt { font-family:var(--font-kyokasho); color:var(--pencil); font-size:1.05rem; }
.entry-door-stationery .entry-door-lead, .entry-door-stationery .entry-door-count { color:#4a5568; }
.entry-door-stationery .entry-door-go { align-self:flex-start; margin-top:auto; font-weight:700; color:#fff; background:var(--pencil); border:2px solid var(--ink); border-radius:6px; padding:6px 14px; box-shadow:2px 2px 0 var(--ink); }
.entry-door-stationery:hover .entry-door-go, .entry-door-stationery:focus-visible .entry-door-go { background:var(--ink); }
.entry-door-stationery .entry-door-mark { right:16px; top:12px; gap:5px; align-items:flex-end; }
.entry-door-stationery .entry-door-mark i { width:9px; height:34px; border:2px solid var(--ink); border-radius:2px 2px 0 0; background:var(--pencil); position:relative; }
.entry-door-stationery .entry-door-mark i:nth-child(2) { background:var(--brand); height:40px; }
.entry-door-stationery .entry-door-mark i:nth-child(3) { background:#e2574c; height:30px; }
.entry-door-stationery .entry-door-mark i::after { content:""; position:absolute; left:-2px; right:-2px; bottom:-9px; height:8px; background:var(--ink); clip-path:polygon(0 0, 100% 0, 50% 100%); }
.entry-door-stationery:hover .entry-door-mark i, .entry-door-stationery:focus-visible .entry-door-mark i { animation:entry-scribble .5s ease-in-out infinite; }
.entry-door-stationery .entry-door-mark i:nth-child(2) { animation-delay:.1s; }
.entry-door-stationery .entry-door-mark i:nth-child(3) { animation-delay:.2s; }
@keyframes entry-lines-roll { from { background-position:0 0, 0 6px; } to { background-position:0 0, 0 34px; } }
@keyframes entry-scribble { 0%,100% { transform:translate(0,0) rotate(0); } 50% { transform:translate(2px,3px) rotate(6deg); } }
/* three tiles side by side need a wider row */
.entry-doors:has(.entry-door-stationery) { max-width:1120px; }
@keyframes entry-waves-flow { from { background-position:0 0; } to { background-position:80px 0; } }
@keyframes entry-cloth-slide { from { background-position:0 0; } to { background-position:28px 28px; } }
@media (prefers-reduced-motion: reduce) {
  .entry-door, .entry-door::before, .entry-door-mark, .entry-door-mark i { animation:none !important; transition:none !important; }
}

/* ---------- character goods side: warm, tangerine accent (pink until 2026-11-16: meant for every customer), round shapes and round lettering; product lists stay calm ---------- */
body.sec-character { --bg:#fff6f1; --brand-tint:var(--tangerine-tint); --radius:16px; }
body.sec-character .site-header { border-bottom-color:var(--tangerine); }
body.sec-character h1, body.sec-character h2, body.sec-character .landing-title,
body.sec-character .main-nav-links a, body.sec-character .maker-current, body.sec-character .btn-pill,
body.sec-character .section-switch, body.sec-character .landing-section b { font-family:var(--font-round); }
body.sec-character .landing-section b { background:var(--yellow); border:2px solid var(--ink); border-radius:999px; padding:2px 12px; font-size:.9rem; }
body.sec-character .main-nav-links a, body.sec-character .main-nav-row .maker-menu .maker-current,
body.sec-character .section-switch, body.sec-character .nav-search input, body.sec-character .nav-search button { border-radius:999px; }
body.sec-character .main-nav-links a.active { background:var(--tangerine); border-color:var(--ink); color:var(--ink); }
body.sec-character .main-nav-links a:hover, body.sec-character .main-nav-row .maker-menu .maker-current:hover,
body.sec-character .section-switch:hover { border-color:var(--tangerine); }
body.sec-character .btn-pill, body.sec-character .maker-menu-big .maker-current, body.sec-character .search-all button,
body.sec-character .search-all input, body.sec-character .filters button, body.sec-character .back-btn { border-radius:14px; }
body.sec-character .btn-pill .count, body.sec-character .enq-count { background:var(--tangerine); }
body.sec-character .card:hover, body.sec-character .card:focus-within { border-color:var(--tangerine); }
body.sec-character .panel h2 { border-left-color:var(--tangerine); }
body.sec-character .main-nav-row .maker-menu .maker-option.active { border-color:var(--tangerine); }

/* ---------- ceramics side: cool gray, deep blue, hairlines, square corners, brush-style headings ---------- */
body.sec-ceramics, body.sec-gift { --bg:var(--mist); --brand:var(--deep); --brand-dark:#082c69; --brand-tint:#e7edf7; --line:var(--stone); --yellow:#dfe7f4; --radius:2px;
  --shadow:0 1px 2px rgba(20,33,61,.05); }
body.sec-ceramics .site-header, body.sec-gift .site-header { border-bottom:1px solid var(--stone); box-shadow:inset 0 3px 0 var(--deep); }
body.sec-ceramics h1, body.sec-gift h1, body.sec-ceramics h2, body.sec-gift h2, body.sec-ceramics .landing-title, body.sec-gift .landing-title, body.sec-ceramics .landing-section b, body.sec-gift .landing-section b,
body.sec-ceramics .maker-current .maker-name, body.sec-gift .maker-current .maker-name, body.sec-ceramics .maker-option-name, body.sec-gift .maker-option-name { font-family:var(--font-kyokasho); font-weight:500; letter-spacing:.02em; }
body.sec-ceramics h1, body.sec-gift h1, body.sec-ceramics .landing-title, body.sec-gift .landing-title, body.sec-ceramics .landing-section b, body.sec-gift .landing-section b { color:var(--deep); }
body.sec-ceramics .landing-section b, body.sec-gift .landing-section b { border-left:2px solid var(--deep); padding-left:10px; font-size:1.05rem; }
/* menu: plain text with an underline for the current page */
body.sec-ceramics .main-nav-links, body.sec-gift .main-nav-links { gap:18px; }
body.sec-ceramics .main-nav-links a, body.sec-gift .main-nav-links a { border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; box-shadow:none; padding:6px 2px; min-height:0; font-weight:500; color:var(--slate); }
body.sec-ceramics .main-nav-links a:hover, body.sec-gift .main-nav-links a:hover { background:transparent; color:var(--deep); border-bottom-color:var(--stone); }
body.sec-ceramics .main-nav-links a.active, body.sec-gift .main-nav-links a.active { background:transparent; color:var(--deep); border-bottom-color:var(--deep); }
body.sec-ceramics .main-nav-row .maker-menu .maker-current, body.sec-gift .main-nav-row .maker-menu .maker-current, body.sec-ceramics .section-switch, body.sec-gift .section-switch, body.sec-ceramics .nav-search input, body.sec-gift .nav-search input,
body.sec-ceramics .main-nav-row .maker-menu .maker-panel, body.sec-gift .main-nav-row .maker-menu .maker-panel, body.sec-ceramics .main-nav-row .maker-menu .maker-option, body.sec-gift .main-nav-row .maker-menu .maker-option { border-radius:2px; box-shadow:none; }
body.sec-ceramics .main-nav-row .maker-menu .maker-panel, body.sec-gift .main-nav-row .maker-menu .maker-panel { box-shadow:0 10px 28px rgba(20,33,61,.12); }
/* buttons: flat deep blue or outlined, no offset shadows, nothing jumps */
body.sec-ceramics .nav-search button, body.sec-gift .nav-search button, body.sec-ceramics .search-all button, body.sec-gift .search-all button, body.sec-ceramics .filters button, body.sec-gift .filters button,
body.sec-ceramics .register-btn, body.sec-gift .register-btn, body.sec-ceramics .open-account, body.sec-gift .open-account, body.sec-ceramics .enq-send, body.sec-gift .enq-send {
  background:var(--deep); color:#fff; border:1px solid var(--deep); border-radius:2px; box-shadow:none; transform:none; font-weight:600; }
body.sec-ceramics .nav-search button:hover, body.sec-gift .nav-search button:hover, body.sec-ceramics .search-all button:hover, body.sec-gift .search-all button:hover, body.sec-ceramics .filters button:hover, body.sec-gift .filters button:hover,
body.sec-ceramics .register-btn:hover, body.sec-gift .register-btn:hover, body.sec-ceramics .open-account:hover, body.sec-gift .open-account:hover, body.sec-ceramics .enq-send:hover, body.sec-gift .enq-send:hover { background:#082c69; border-color:#082c69; box-shadow:none; transform:none; }
body.sec-ceramics .btn-pill, body.sec-gift .btn-pill, body.sec-ceramics .maker-menu-big .maker-current, body.sec-gift .maker-menu-big .maker-current, body.sec-ceramics .back-btn, body.sec-gift .back-btn, body.sec-ceramics .search-all input, body.sec-gift .search-all input,
body.sec-ceramics .maker-menu-big .maker-panel, body.sec-gift .maker-menu-big .maker-panel, body.sec-ceramics .qv, body.sec-gift .qv, body.sec-ceramics .qv-nav, body.sec-gift .qv-nav, body.sec-ceramics .enq-detail, body.sec-gift .enq-detail {
  border:1px solid var(--stone); border-radius:2px; box-shadow:none; font-weight:600; }
body.sec-ceramics .btn-pill:hover, body.sec-gift .btn-pill:hover, body.sec-ceramics .btn-pill:active, body.sec-gift .btn-pill:active, body.sec-ceramics .maker-menu-big .maker-current:hover, body.sec-gift .maker-menu-big .maker-current:hover,
body.sec-ceramics .maker-menu-big[open] > .maker-current, body.sec-gift .maker-menu-big[open] > .maker-current, body.sec-ceramics .back-btn:hover, body.sec-gift .back-btn:hover, body.sec-ceramics .qv-nav:hover, body.sec-gift .qv-nav:hover {
  transform:none; box-shadow:none; border-color:var(--deep); background:var(--brand-tint); }
body.sec-ceramics .maker-menu-big .maker-panel, body.sec-gift .maker-menu-big .maker-panel, body.sec-ceramics .qv, body.sec-gift .qv { box-shadow:0 12px 32px rgba(20,33,61,.14); }
body.sec-ceramics .maker-menu-big .chev, body.sec-gift .maker-menu-big .chev { border-left-color:var(--stone); }
body.sec-ceramics .btn-pill .count, body.sec-gift .btn-pill .count, body.sec-ceramics .enq-count, body.sec-gift .enq-count { background:var(--deep); color:#fff; }
body.sec-ceramics .maker-option:hover, body.sec-gift .maker-option:hover, body.sec-ceramics .maker-option:focus-visible, body.sec-gift .maker-option:focus-visible, body.sec-ceramics .maker-option.active, body.sec-gift .maker-option.active { border-color:var(--stone); }
/* cards: hairline, a small lift only */
body.sec-ceramics .card:hover, body.sec-gift .card:hover, body.sec-ceramics .card:focus-within, body.sec-gift .card:focus-within { transform:translateY(-2px); box-shadow:0 6px 18px rgba(20,33,61,.10); border-color:var(--deep); }
body.sec-ceramics .card .name, body.sec-gift .card .name { font-family:var(--font-kyokasho); font-weight:500; }
body.sec-ceramics .licensing-note, body.sec-gift .licensing-note { border-left-color:var(--deep); }
body.sec-ceramics .soon, body.sec-gift .soon { background:var(--brand-tint); color:var(--deep); }
body.sec-character h1, body.sec-character h2, body.sec-character .landing-title, body.sec-character .btn-pill { font-weight:700; }
body.sec-character .main-nav-links a, body.sec-character .maker-current, body.sec-character .section-switch { font-weight:500; }
body.sec-character .main-nav-links a.active { font-weight:700; }

/* ---------- New products, per side (product_list.php sets .grid-new only when the catalog has both sides) ----------
   Cards arrive once when the page opens, one after another (the first twelve; the rest together), then stay still.
   "backwards" only: after the entrance the card's own hover lift works as usual. */
.new-flag { position:absolute; top:10px; right:10px; z-index:1; font-size:.7rem; line-height:1.4; white-space:nowrap; pointer-events:none; }
.grid-new > .card { --n:12; }
.grid-new > .card:nth-child(1) { --n:0; } .grid-new > .card:nth-child(2) { --n:1; } .grid-new > .card:nth-child(3) { --n:2; }
.grid-new > .card:nth-child(4) { --n:3; } .grid-new > .card:nth-child(5) { --n:4; } .grid-new > .card:nth-child(6) { --n:5; }
.grid-new > .card:nth-child(7) { --n:6; } .grid-new > .card:nth-child(8) { --n:7; } .grid-new > .card:nth-child(9) { --n:8; }
.grid-new > .card:nth-child(10) { --n:9; } .grid-new > .card:nth-child(11) { --n:10; } .grid-new > .card:nth-child(12) { --n:11; }
/* character goods: a quick pop with a small bounce; the tangerine label wiggles when its card is pointed at */
body.sec-character .grid-new > .card { animation:new-pop .45s cubic-bezier(.2,1.3,.4,1) backwards; animation-delay:calc(var(--n) * 55ms); }
body.sec-character .new-flag { padding:1px 9px; font-family:var(--font-round); font-weight:700; letter-spacing:.04em; color:var(--ink); background:var(--tangerine); border:2px solid var(--ink); border-radius:999px; transform:rotate(6deg); }
body.sec-character .card:hover .new-flag, body.sec-character .card:focus-within .new-flag { animation:new-wiggle .5s ease-in-out 1; }
@keyframes new-pop { 0% { opacity:0; transform:translateY(18px) scale(.94); } 70% { opacity:1; transform:translateY(-4px) scale(1.02); } 100% { opacity:1; transform:none; } }
@keyframes new-wiggle { 0%,100% { transform:rotate(6deg); } 25% { transform:rotate(-6deg) scale(1.08); } 60% { transform:rotate(10deg) scale(1.08); } }
/* ceramics: a slow fade and rise, no bounce; a thin outlined label */
body.sec-ceramics .grid-new > .card, body.sec-gift .grid-new > .card { animation:new-rise .7s ease-out backwards; animation-delay:calc(var(--n) * 90ms); }
body.sec-ceramics .new-flag, body.sec-gift .new-flag { padding:1px 8px; font-family:var(--font-kyokasho); font-weight:500; letter-spacing:.06em; color:var(--deep); background:rgba(255,255,255,.92); border:1px solid var(--deep); }
@keyframes new-rise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) {
  .grid-new > .card, .new-flag { animation:none !important; }
}

/* ---------- Ceramics: smaller photos until better ones arrive (Park 2026-11-13) ----------
   The maker's catalog only holds small photos (about 130–430 px). Shown large they look soft, so this side uses a
   denser grid with smaller cards and a smaller photo on the product page. Remove this block when proper photos are in. */
body.sec-ceramics .grid, body.sec-gift .grid { grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:14px; }   /* roomier since the better photos arrived (Park 2026-11-13) */
body.sec-ceramics .card .card-body, body.sec-gift .card .card-body { padding:10px 12px 12px; }
body.sec-ceramics .card .name, body.sec-gift .card .name { font-size:.9rem; }
body.sec-ceramics .card .facts, body.sec-gift .card .facts { font-size:.78rem; }
body.sec-ceramics .detail, body.sec-gift .detail { grid-template-columns:minmax(0, 420px) minmax(0, 1fr); }
body.sec-ceramics .detail-image, body.sec-gift .detail-image { max-width:420px; }
body.sec-ceramics .qv, body.sec-gift .qv { width:min(92vw, 560px); }
@media (max-width: 760px) {
  body.sec-ceramics .detail, body.sec-gift .detail { grid-template-columns:1fr; }
  body.sec-ceramics .grid, body.sec-gift .grid { grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); }
}
body.sec-ceramics .card .facts div, body.sec-gift .card .facts div { grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:4px; }

/* ---------- "New products" and "Closing soon" buttons: a hover animation in each side's style (Park 2026-11-13) ----------
   .act-new / .act-closing are on the home page's two buttons and on the same two menu items. Without a side
   (one-sided catalog) they are plain. Motion stops for people who ask for reduced motion. */
.act-new, .act-closing { position:relative; isolation:isolate; }
.act-new::before, .act-new::after, .act-closing::before, .act-closing::after { content:none; pointer-events:none; }

/* character goods — New products ("pika pika", Park 2026-11-13): a sparkle on each corner, twinkling in turn —
   tangerine ones on two opposite corners, yellow ones on the other two — while a warm glint flashes across the button */
body.sec-character .act-new { overflow:visible; background-image:linear-gradient(110deg, transparent 38%, rgba(255,210,63,.75) 47%, rgba(255,122,47,.4) 53%, transparent 62%); background-size:260% 100%; background-position:130% 0; background-repeat:no-repeat; }
body.sec-character .act-new:hover, body.sec-character .act-new:focus-visible { animation:act-hop .45s cubic-bezier(.2,1.4,.4,1) 1, act-glint .9s ease-in-out .1s infinite; }
body.sec-character .act-new::before, body.sec-character .act-new::after { content:""; position:absolute; inset:-11px; z-index:1; background-repeat:no-repeat; background-size:20px 20px, 15px 15px; opacity:0; transition:opacity .15s; }
body.sec-character .act-new::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7A2F' stroke='%2314213d' stroke-width='1.6' stroke-linejoin='round' d='M12 1.5c.9 5.6 3 7.7 8.6 8.6v3.8c-5.6.9-7.7 3-8.6 8.6-.9-5.6-3-7.7-8.6-8.6v-3.8c5.6-.9 7.7-3 8.6-8.6z' transform='translate(0 -.9)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF7A2F' stroke='%2314213d' stroke-width='1.6' stroke-linejoin='round' d='M12 1.5c.9 5.6 3 7.7 8.6 8.6v3.8c-5.6.9-7.7 3-8.6 8.6-.9-5.6-3-7.7-8.6-8.6v-3.8c5.6-.9 7.7-3 8.6-8.6z' transform='translate(0 -.9)'/%3E%3C/svg%3E"); background-position:0 0, 100% 100%; }
body.sec-character .act-new::after { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD23F' stroke='%2314213d' stroke-width='1.6' stroke-linejoin='round' d='M12 1.5c.9 5.6 3 7.7 8.6 8.6v3.8c-5.6.9-7.7 3-8.6 8.6-.9-5.6-3-7.7-8.6-8.6v-3.8c5.6-.9 7.7-3 8.6-8.6z' transform='translate(0 -.9)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD23F' stroke='%2314213d' stroke-width='1.6' stroke-linejoin='round' d='M12 1.5c.9 5.6 3 7.7 8.6 8.6v3.8c-5.6.9-7.7 3-8.6 8.6-.9-5.6-3-7.7-8.6-8.6v-3.8c5.6-.9 7.7-3 8.6-8.6z' transform='translate(0 -.9)'/%3E%3C/svg%3E"); background-position:100% 0, 0 100%; }
body.sec-character .act-new:hover::before, body.sec-character .act-new:focus-visible::before { opacity:1; animation:act-pika .5s ease-in-out infinite alternate; }
body.sec-character .act-new:hover::after, body.sec-character .act-new:focus-visible::after { opacity:1; animation:act-pika .5s ease-in-out .25s infinite alternate-reverse; }
/* character goods — Closing soon: the button shakes like an alarm, a small clock appears and its hand spins, the number beats */
body.sec-character .act-closing:hover, body.sec-character .act-closing:focus-visible { animation:act-alarm .5s ease-in-out 1; }
body.sec-character .act-closing::after { content:""; position:absolute; right:4px; top:3px; width:11px; height:11px; border:2px solid var(--ink); border-radius:50%;
  background:linear-gradient(var(--ink), var(--ink)) 50% 22%/2px 4px no-repeat #fff; opacity:0; transform:scale(.3); transition:opacity .15s, transform .2s; }
body.sec-character .act-closing:hover::after, body.sec-character .act-closing:focus-visible::after { opacity:1; transform:scale(1); animation:act-clock 1.1s linear infinite; }
body.sec-character .act-closing:hover .count, body.sec-character .act-closing:focus-visible .count { animation:act-beat .6s ease-in-out infinite; }

/* ceramics — both buttons (sleek, Park 2026-11-13): the button lifts on a soft shadow, a deep blue layer glides in and
   the lettering turns white; a hairline frame opens around it. Nothing bounces. */
body.sec-ceramics .btn-pill.act-new, body.sec-gift .btn-pill.act-new, body.sec-ceramics .btn-pill.act-closing, body.sec-gift .btn-pill.act-closing {
  overflow:visible; transition:color .35s ease, border-color .35s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), letter-spacing .45s ease; }
body.sec-ceramics .btn-pill.act-new:hover, body.sec-gift .btn-pill.act-new:hover, body.sec-ceramics .btn-pill.act-new:focus-visible, body.sec-gift .btn-pill.act-new:focus-visible,
body.sec-ceramics .btn-pill.act-closing:hover, body.sec-gift .btn-pill.act-closing:hover, body.sec-ceramics .btn-pill.act-closing:focus-visible, body.sec-gift .btn-pill.act-closing:focus-visible {
  color:#fff; background:#fff; border-color:var(--deep); transform:translateY(-2px); box-shadow:0 10px 24px rgba(11,61,145,.22); letter-spacing:.05em; }
/* the hairline frame that opens outward */
body.sec-ceramics .btn-pill.act-new::after, body.sec-gift .btn-pill.act-new::after, body.sec-ceramics .btn-pill.act-closing::after, body.sec-gift .btn-pill.act-closing::after {
  content:""; position:absolute; inset:0; border:1px solid var(--deep); opacity:0; transition:inset .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
body.sec-ceramics .btn-pill.act-new:hover::after, body.sec-gift .btn-pill.act-new:hover::after, body.sec-ceramics .btn-pill.act-new:focus-visible::after, body.sec-gift .btn-pill.act-new:focus-visible::after,
body.sec-ceramics .btn-pill.act-closing:hover::after, body.sec-gift .btn-pill.act-closing:hover::after, body.sec-ceramics .btn-pill.act-closing:focus-visible::after, body.sec-gift .btn-pill.act-closing:focus-visible::after { inset:-5px; opacity:.55; }
/* New products: a deep blue wash glides in from the left, with a soft light edge leading it */
body.sec-ceramics .btn-pill.act-new::before, body.sec-gift .btn-pill.act-new::before { content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(90deg, var(--deep) 0, var(--deep) 82%, #2f62b8 100%); transform:scaleX(0); transform-origin:left center; transition:transform .5s cubic-bezier(.65,0,.2,1); }
body.sec-ceramics .btn-pill.act-new:hover::before, body.sec-gift .btn-pill.act-new:hover::before, body.sec-ceramics .btn-pill.act-new:focus-visible::before, body.sec-gift .btn-pill.act-new:focus-visible::before { transform:scaleX(1); }
/* Closing soon: a deep blue seigaiha (wave) cloth rises from the bottom and keeps flowing */
body.sec-ceramics .btn-pill.act-closing::before, body.sec-gift .btn-pill.act-closing::before { content:""; position:absolute; inset:0; z-index:-1; background-color:var(--deep);
  background-image:
    radial-gradient(circle at 100% 150%, var(--deep) 24%, rgba(255,255,255,.34) 25%, rgba(255,255,255,.34) 28%, var(--deep) 29%, var(--deep) 36%, rgba(255,255,255,.34) 36%, rgba(255,255,255,.34) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, var(--deep) 24%, rgba(255,255,255,.34) 25%, rgba(255,255,255,.34) 28%, var(--deep) 29%, var(--deep) 36%, rgba(255,255,255,.34) 36%, rgba(255,255,255,.34) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.34) 10%, var(--deep) 11%, var(--deep) 23%, rgba(255,255,255,.34) 24%, rgba(255,255,255,.34) 30%, var(--deep) 31%, var(--deep) 43%, rgba(255,255,255,.34) 44%, rgba(255,255,255,.34) 50%, var(--deep) 51%, var(--deep) 63%, rgba(255,255,255,.34) 64%, rgba(255,255,255,.34) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, rgba(255,255,255,.34) 5%, var(--deep) 6%, var(--deep) 15%, rgba(255,255,255,.34) 16%, rgba(255,255,255,.34) 20%, var(--deep) 21%, var(--deep) 30%, rgba(255,255,255,.34) 31%, rgba(255,255,255,.34) 35%, var(--deep) 36%, var(--deep) 45%, rgba(255,255,255,.34) 46%, rgba(255,255,255,.34) 49%, transparent 50%, transparent),
    radial-gradient(circle at 0 50%, rgba(255,255,255,.34) 5%, var(--deep) 6%, var(--deep) 15%, rgba(255,255,255,.34) 16%, rgba(255,255,255,.34) 20%, var(--deep) 21%, var(--deep) 30%, rgba(255,255,255,.34) 31%, rgba(255,255,255,.34) 35%, var(--deep) 36%, var(--deep) 45%, rgba(255,255,255,.34) 46%, rgba(255,255,255,.34) 49%, transparent 50%, transparent);
  background-size:44px 22px;
  clip-path:inset(100% 0 0 0); transition:clip-path .55s cubic-bezier(.65,0,.2,1); }
body.sec-ceramics .btn-pill.act-closing:hover::before, body.sec-gift .btn-pill.act-closing:hover::before, body.sec-ceramics .btn-pill.act-closing:focus-visible::before, body.sec-gift .btn-pill.act-closing:focus-visible::before { clip-path:inset(0 0 0 0); animation:act-cloth 5s linear infinite; }
body.sec-ceramics .btn-pill.act-closing .count, body.sec-gift .btn-pill.act-closing .count { transition:background .35s ease, color .35s ease; }
body.sec-ceramics .btn-pill.act-closing:hover .count, body.sec-gift .btn-pill.act-closing:hover .count, body.sec-ceramics .btn-pill.act-closing:focus-visible .count, body.sec-gift .btn-pill.act-closing:focus-visible .count { background:#fff; color:var(--deep); }
/* ceramics menu items (New products, Closing soon), subtle: a fine line of small waves is drawn under the words from
   the left and drifts slowly; the lettering turns deep blue and opens a touch */
body.sec-ceramics .main-nav-links a.act-new, body.sec-gift .main-nav-links a.act-new, body.sec-ceramics .main-nav-links a.act-closing, body.sec-gift .main-nav-links a.act-closing { transition:color .3s ease, letter-spacing .45s ease, border-color .3s ease; }
body.sec-ceramics .main-nav-links a.act-new::after, body.sec-gift .main-nav-links a.act-new::after, body.sec-ceramics .main-nav-links a.act-closing::after, body.sec-gift .main-nav-links a.act-closing::after {
  content:""; position:absolute; left:2px; right:2px; bottom:-1px; height:5px;
  background:radial-gradient(circle at 50% 100%, transparent 2.6px, var(--deep) 3px, var(--deep) 3.9px, transparent 4.3px) 0 100%/10px 5px repeat-x;
  clip-path:inset(0 100% 0 0); opacity:.85; transition:clip-path .5s cubic-bezier(.65,0,.2,1); }
body.sec-ceramics .main-nav-links a.act-new:hover, body.sec-gift .main-nav-links a.act-new:hover, body.sec-ceramics .main-nav-links a.act-closing:hover, body.sec-gift .main-nav-links a.act-closing:hover,
body.sec-ceramics .main-nav-links a.act-new:focus-visible, body.sec-gift .main-nav-links a.act-new:focus-visible, body.sec-ceramics .main-nav-links a.act-closing:focus-visible, body.sec-gift .main-nav-links a.act-closing:focus-visible { color:var(--deep); letter-spacing:.05em; border-bottom-color:transparent; }
body.sec-ceramics .main-nav-links a.act-new:hover::after, body.sec-gift .main-nav-links a.act-new:hover::after, body.sec-ceramics .main-nav-links a.act-closing:hover::after, body.sec-gift .main-nav-links a.act-closing:hover::after,
body.sec-ceramics .main-nav-links a.act-new:focus-visible::after, body.sec-gift .main-nav-links a.act-new:focus-visible::after, body.sec-ceramics .main-nav-links a.act-closing:focus-visible::after, body.sec-gift .main-nav-links a.act-closing:focus-visible::after { clip-path:inset(0 0 0 0); animation:act-ripple 1.8s linear infinite; }
body.sec-ceramics .main-nav-links a.act-new.active::after, body.sec-gift .main-nav-links a.act-new.active::after, body.sec-ceramics .main-nav-links a.act-closing.active::after, body.sec-gift .main-nav-links a.act-closing.active::after { content:none; }
@keyframes act-ripple { from { background-position:0 100%; } to { background-position:10px 100%; } }

@keyframes act-pika { from { background-size:6px 6px, 5px 5px; opacity:.2; } to { background-size:23px 23px, 17px 17px; opacity:1; } }
@keyframes act-glint { 0% { background-position:130% 0; } 60%, 100% { background-position:-30% 0; } }
@keyframes act-hop { 0%,100% { transform:translateY(0); } 45% { transform:translateY(-4px); } }
@keyframes act-alarm { 0%,100% { transform:rotate(0); } 20% { transform:rotate(-3deg); } 40% { transform:rotate(3deg); } 60% { transform:rotate(-2deg); } 80% { transform:rotate(2deg); } }
@keyframes act-clock { to { transform:scale(1) rotate(360deg); } }
@keyframes act-beat { 0%,100% { transform:scale(1); } 50% { transform:scale(1.25); } }
@keyframes act-cloth { from { background-position:0 0; } to { background-position:44px 0; } }
@media (prefers-reduced-motion: reduce) {
  .act-new, .act-closing, .act-new::before, .act-new::after, .act-closing::before, .act-closing::after, .act-closing .count { animation:none !important; transition:none !important; }
}
.act-closing .count { display:inline-block; }

/* ceramics: buttons and menu items use the side's lettering (serif for English, Klee One for Japanese), not the plain
   sans-serif (Park 2026-11-13) */
body.sec-ceramics .btn-pill, body.sec-gift .btn-pill, body.sec-ceramics .main-nav-links a, body.sec-gift .main-nav-links a, body.sec-ceramics .section-switch, body.sec-gift .section-switch,
body.sec-ceramics .nav-search button, body.sec-gift .nav-search button, body.sec-ceramics .search-all button, body.sec-gift .search-all button, body.sec-ceramics .filters button, body.sec-gift .filters button {
  font-family:var(--font-kyokasho); font-weight:500; letter-spacing:.02em; }
body.sec-ceramics .btn-pill, body.sec-gift .btn-pill { font-size:1.02rem; }
body.sec-ceramics .main-nav-links a, body.sec-gift .main-nav-links a { font-size:.98rem; }
/* in the menu bar the sparkles sit just inside the pill (the menu row clips anything outside it) */
body.sec-character .main-nav-links .act-new::before, body.sec-character .main-nav-links .act-new::after { inset:0 2px; animation-name:act-pika-small !important; }
@keyframes act-pika-small { from { background-size:4px 4px, 3px 3px; opacity:.2; } to { background-size:13px 13px, 10px 10px; opacity:1; } }

/* ---------- The link to the other side wears that side's look (Park 2026-11-13) ----------
   On a ceramics page "Character goods" is a playful yellow pill; on a character goods page "Japanese ceramics" is a
   calm blue-edged label. (The other side's font file is not loaded for this one link: it uses the closest lettering
   already on the visitor's computer.) */
body.sec-ceramics .section-switch.to-character, body.sec-gift .section-switch.to-character, body.sec-stationery .section-switch.to-character, body.sec-fancy .section-switch.to-character, body.sec-gift .section-switch.to-character {
  position:relative; overflow:hidden; isolation:isolate; padding:4px 13px; font-family:var(--font-round); font-weight:700; letter-spacing:0;
  color:var(--ink); background:#FFD23F; border:2px solid var(--ink); border-radius:999px; box-shadow:2px 2px 0 var(--ink);
  transition:transform .15s cubic-bezier(.2,1.4,.4,1), box-shadow .15s; }
body.sec-ceramics .section-switch.to-character::before, body.sec-gift .section-switch.to-character::before, body.sec-stationery .section-switch.to-character::before, body.sec-fancy .section-switch.to-character::before, body.sec-gift .section-switch.to-character::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.18; transition:opacity .25s;
  background-image:radial-gradient(circle, var(--tangerine) 0 4px, transparent 4.5px), radial-gradient(circle, var(--yellow) 0 4px, transparent 4.5px);
  background-size:18px 18px; background-position:0 0, 9px 9px; }
body.sec-ceramics .section-switch.to-character:hover, body.sec-gift .section-switch.to-character:hover, body.sec-stationery .section-switch.to-character:hover, body.sec-fancy .section-switch.to-character:hover, body.sec-gift .section-switch.to-character:hover, body.sec-ceramics .section-switch.to-character:focus-visible, body.sec-gift .section-switch.to-character:focus-visible, body.sec-stationery .section-switch.to-character:focus-visible, body.sec-fancy .section-switch.to-character:focus-visible, body.sec-gift .section-switch.to-character:focus-visible {
  background:#FFD23F; border-color:var(--ink); transform:translate(-1px,-2px) rotate(-1.5deg); box-shadow:4px 5px 0 var(--ink); }
body.sec-ceramics .section-switch.to-character:hover::before, body.sec-gift .section-switch.to-character:hover::before, body.sec-stationery .section-switch.to-character:hover::before, body.sec-fancy .section-switch.to-character:hover::before, body.sec-gift .section-switch.to-character:hover::before, body.sec-ceramics .section-switch.to-character:focus-visible::before, body.sec-gift .section-switch.to-character:focus-visible::before, body.sec-stationery .section-switch.to-character:focus-visible::before, body.sec-fancy .section-switch.to-character:focus-visible::before, body.sec-gift .section-switch.to-character:focus-visible::before { opacity:1; animation:switch-dots 1.6s linear infinite; }
@keyframes switch-dots { from { background-position:0 0, 9px 9px; } to { background-position:18px 18px, 27px 27px; } }

body.sec-character .section-switch.to-ceramics, body.sec-stationery .section-switch.to-ceramics, body.sec-fancy .section-switch.to-ceramics, body.sec-gift .section-switch.to-ceramics {
  position:relative; overflow:hidden; isolation:isolate; padding:5px 13px 4px; font-family:var(--font-kyokasho); font-weight:500; letter-spacing:.05em; color:var(--deep);
  background:#fff; border:1px solid var(--stone); border-top:3px solid var(--deep); border-radius:2px; box-shadow:none;
  transition:color .35s ease, border-color .35s ease, box-shadow .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
/* the entry tile's wave (seigaiha) pattern: faint blue lines at rest … */
body.sec-character .section-switch.to-ceramics::before, body.sec-stationery .section-switch.to-ceramics::before, body.sec-fancy .section-switch.to-ceramics::before, body.sec-gift .section-switch.to-ceramics::before { content:""; position:absolute; inset:0; z-index:-2; opacity:.2; background-color:#fff;
  background-image:
    radial-gradient(circle at 100% 150%, #fff 24%, var(--deep) 25%, var(--deep) 28%, #fff 29%, #fff 36%, var(--deep) 36%, var(--deep) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, #fff 24%, var(--deep) 25%, var(--deep) 28%, #fff 29%, #fff 36%, var(--deep) 36%, var(--deep) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, var(--deep) 10%, #fff 11%, #fff 23%, var(--deep) 24%, var(--deep) 30%, #fff 31%, #fff 43%, var(--deep) 44%, var(--deep) 50%, #fff 51%, #fff 63%, var(--deep) 64%, var(--deep) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, var(--deep) 5%, #fff 6%, #fff 15%, var(--deep) 16%, var(--deep) 20%, #fff 21%, #fff 30%, var(--deep) 31%, var(--deep) 35%, #fff 36%, #fff 45%, var(--deep) 46%, var(--deep) 49%, transparent 50%, transparent),
    radial-gradient(circle at 0 50%, var(--deep) 5%, #fff 6%, #fff 15%, var(--deep) 16%, var(--deep) 20%, #fff 21%, #fff 30%, var(--deep) 31%, var(--deep) 35%, #fff 36%, #fff 45%, var(--deep) 46%, var(--deep) 49%, transparent 50%, transparent);
  background-size:28px 14px; }
/* … and on hover a deep blue wave cloth is drawn across from the left and keeps flowing */
body.sec-character .section-switch.to-ceramics::after, body.sec-stationery .section-switch.to-ceramics::after, body.sec-fancy .section-switch.to-ceramics::after, body.sec-gift .section-switch.to-ceramics::after { content:""; position:absolute; inset:0; z-index:-1; background-color:var(--deep);
  background-image:
    radial-gradient(circle at 100% 150%, var(--deep) 24%, rgba(255,255,255,.36) 25%, rgba(255,255,255,.36) 28%, var(--deep) 29%, var(--deep) 36%, rgba(255,255,255,.36) 36%, rgba(255,255,255,.36) 40%, transparent 40%, transparent),
    radial-gradient(circle at 0 150%, var(--deep) 24%, rgba(255,255,255,.36) 25%, rgba(255,255,255,.36) 28%, var(--deep) 29%, var(--deep) 36%, rgba(255,255,255,.36) 36%, rgba(255,255,255,.36) 40%, transparent 40%, transparent),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.36) 10%, var(--deep) 11%, var(--deep) 23%, rgba(255,255,255,.36) 24%, rgba(255,255,255,.36) 30%, var(--deep) 31%, var(--deep) 43%, rgba(255,255,255,.36) 44%, rgba(255,255,255,.36) 50%, var(--deep) 51%, var(--deep) 63%, rgba(255,255,255,.36) 64%, rgba(255,255,255,.36) 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, rgba(255,255,255,.36) 5%, var(--deep) 6%, var(--deep) 15%, rgba(255,255,255,.36) 16%, rgba(255,255,255,.36) 20%, var(--deep) 21%, var(--deep) 30%, rgba(255,255,255,.36) 31%, rgba(255,255,255,.36) 35%, var(--deep) 36%, var(--deep) 45%, rgba(255,255,255,.36) 46%, rgba(255,255,255,.36) 49%, transparent 50%, transparent),
    radial-gradient(circle at 0 50%, rgba(255,255,255,.36) 5%, var(--deep) 6%, var(--deep) 15%, rgba(255,255,255,.36) 16%, rgba(255,255,255,.36) 20%, var(--deep) 21%, var(--deep) 30%, rgba(255,255,255,.36) 31%, rgba(255,255,255,.36) 35%, var(--deep) 36%, var(--deep) 45%, rgba(255,255,255,.36) 46%, rgba(255,255,255,.36) 49%, transparent 50%, transparent);
  background-size:28px 14px; clip-path:inset(0 100% 0 0); transition:clip-path .5s cubic-bezier(.65,0,.2,1); }
body.sec-character .section-switch.to-ceramics:hover, body.sec-stationery .section-switch.to-ceramics:hover, body.sec-fancy .section-switch.to-ceramics:hover, body.sec-gift .section-switch.to-ceramics:hover, body.sec-character .section-switch.to-ceramics:focus-visible, body.sec-stationery .section-switch.to-ceramics:focus-visible, body.sec-fancy .section-switch.to-ceramics:focus-visible, body.sec-gift .section-switch.to-ceramics:focus-visible {
  background:#fff; color:#fff; border-color:var(--deep); transform:translateY(-1px); box-shadow:0 8px 18px rgba(11,61,145,.22); }
body.sec-character .section-switch.to-ceramics:hover::after, body.sec-stationery .section-switch.to-ceramics:hover::after, body.sec-fancy .section-switch.to-ceramics:hover::after, body.sec-gift .section-switch.to-ceramics:hover::after, body.sec-character .section-switch.to-ceramics:focus-visible::after, body.sec-stationery .section-switch.to-ceramics:focus-visible::after, body.sec-fancy .section-switch.to-ceramics:focus-visible::after, body.sec-gift .section-switch.to-ceramics:focus-visible::after { clip-path:inset(0 0 0 0); animation:switch-waves 3.2s linear infinite; }
@keyframes switch-waves { from { background-position:0 0; } to { background-position:28px 0; } }
@media (prefers-reduced-motion: reduce) {
  .section-switch, .section-switch::before, .section-switch::after { animation:none !important; transition:none !important; }
}
/* thicker lettering on the yellow "Character goods" link, for visibility (Park 2026-11-13) */
body.sec-ceramics .section-switch.to-character, body.sec-gift .section-switch.to-character, body.sec-stationery .section-switch.to-character, body.sec-fancy .section-switch.to-character, body.sec-gift .section-switch.to-character { font-weight:800; font-size:.88rem; -webkit-text-stroke:.35px var(--ink); }

/* =====================================================================================================
   Animated Tokyo Works logo on the entry page and each side's home page (templates/logo_motion.php,
   public/assets/js/logo-motion.js). Ported from Park's logo motion study (2026-11-13): two crates drop, the door
   swings open and the sun bursts out, then a quiet idle loop. Classes are prefixed lm-. The static logo stays in the
   page and is swapped out only once the script has prepared the animation; with reduced motion it never is.
   ===================================================================================================== */
.lm-on .landing-logo { display:none; }
.lm-on .lm-stage { display:block; }
/* the light rays spill out around the logo: keep them behind the text and buttons below it, without disturbing how
   the manufacturer list opens over the other controls */
.landing { position:relative; z-index:0; }
.lm-on.landing-logo-link { position:relative; z-index:-1; }
.lm-stage{ display:none; width:200px; --ray:rgba(255,206,40,.42); --yellow:#f5d82a; }
.lm-logo{ position:relative; width:100%; aspect-ratio:450/419; --cx:13.3%; --cy:65%; }
.lm-layer,.lm-img{ position:absolute; inset:0; }
.lm-img{ background:url(/assets/img/tw-logo-motion.png) 0 0/100% 100% no-repeat; }
.lm-crate{ position:absolute; inset:0; will-change:transform; }

/* the two crates, split along the seam between them */
.lm-bottom-crate{ transform-origin:50% 100%; }
/* the crates are split along their drawn gap by logo-motion.js; this straight cut only applies until it has run */
.lm-bottom-crate .lm-img:not([style]){ clip-path:polygon(0 43.44%,17.78% 43.44%,17.78% 43.91%,44.89% 42%,100% 45.11%,100% 100%,0 100%); }
.lm-top-crate{ transform-origin:50% 45%; }
.lm-top-crate .lm-img:not([style]){ clip-path:polygon(0 0,100% 0,100% 45.11%,44.89% 42%,17.78% 43.91%,17.78% 43.44%,0 43.44%); }

/* light rays, behind the crate so they only spill out around the door */
.lm-rays{ position:absolute; left:var(--cx); top:var(--cy); width:230%; aspect-ratio:1; translate:-50% -50%;
  background:repeating-conic-gradient(from 0deg,var(--ray) 0deg 5deg,transparent 5deg 15deg);
  -webkit-mask:radial-gradient(closest-side,#000 8%,rgba(0,0,0,.55) 30%,transparent 72%);
          mask:radial-gradient(closest-side,#000 8%,rgba(0,0,0,.55) 30%,transparent 72%);
  opacity:0; transform:scale(.2); pointer-events:none; }
.lm-glow{ position:absolute; left:var(--cx); top:var(--cy); width:90%; aspect-ratio:1; translate:-50% -50%;
  border-radius:50%; background:radial-gradient(closest-side,rgba(255,232,90,.9),rgba(255,200,40,.35) 45%,transparent 75%);
  opacity:0; pointer-events:none; }

/* inside of the crate, seen through the door opening */
.lm-interior{ position:absolute; inset:0; opacity:0;
  clip-path:polygon(17.56% 47.02%,27.78% 46.54%,27.78% 83.77%,17.56% 79%);
  background:radial-gradient(60% 45% at 23% 65%,#ffef9a,#ffc21f 40%,#e07a00 75%); }

/* the sun: clipped to the opening while it's still inside the crate */
.lm-sunclip{ position:absolute; inset:0; clip-path:polygon(-25% 25%,27.78% 25%,27.78% 100%,-25% 100%); }
.lm-sun{ position:absolute; inset:0; transform-origin:var(--cx) var(--cy); }
.lm-sun svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }

.lm-shadow{ position:absolute; left:8%; right:2%; bottom:-5%; height:7%; border-radius:50%;
  background:radial-gradient(closest-side,rgba(0,0,0,.28),transparent); }

.lm-spark{ position:absolute; left:20%; top:65%; width:3%; aspect-ratio:1; background:var(--yellow);
  clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%); opacity:0; pointer-events:none; }
.lm-spark.lm-alt{ background:#fff; }

.lm-shine{ position:absolute; inset:0; pointer-events:none; opacity:0; mix-blend-mode:soft-light;
  background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.7) 50%,transparent 58%) 120% 0/300% 100% no-repeat;
  -webkit-mask:url(/assets/img/tw-logo-motion.png) 0 0/100% 100% no-repeat; mask:url(/assets/img/tw-logo-motion.png) 0 0/100% 100% no-repeat; }

/* ---------- intro ---------- */
/* Intro timing (Park 2026-11-13): the crates drop a quarter faster than in the study, and everything after starts
   0.3s earlier to stay in step (the door's timeline in logo-motion.js is shifted by the same 300ms). No sparks. */
.lm-play .lm-bottom-crate{ animation:lm-dropBottom .86s cubic-bezier(.3,0,.2,1) both, lm-flash 1s 2.45s ease-out; }
.lm-play .lm-top-crate{ animation:lm-dropTop .94s .34s cubic-bezier(.3,0,.2,1) both; }
.lm-play .lm-shadow{ animation:lm-shadowIn 1.25s both; }
.lm-play .lm-logo{ animation:lm-shake .35s .78s, lm-kick .4s 2.45s; }
.lm-play .lm-doorlight{ animation:lm-doorLight 1.5s .6s both; }
.lm-play .lm-interior{ animation:lm-interior 2.3s 1.65s ease-in-out both; }
.lm-play .lm-sunclip{ animation:lm-openClip .55s 2.4s cubic-bezier(.3,.7,.3,1) both; }
.lm-play .lm-sun{ animation:lm-sunRise 1.6s 1.75s both; }
.lm-play .lm-rays{ animation:lm-raysIn 1.4s 2.4s cubic-bezier(.2,.8,.3,1) both; }
.lm-play .lm-glow{ animation:lm-glowPop 1.6s 2.35s ease-out both; }
.lm-play .lm-shine{ animation:lm-shine 1.1s 3.5s ease-in-out both; }

/* the door: hinged on the left edge of the opening. Its shape is computed
   per frame (script) so that, shut, it sits exactly on the opening. */
.lm-door{ position:absolute; inset:0; display:none; transform-origin:0 0; }
.lm-door-in{ position:absolute; inset:0; background:0 0/100% 100% no-repeat; }
/* outside of the door: plain crate orange, so it blends in while shut */
.lm-door-out{ position:absolute; left:1.222%; top:47.494%; width:16.222%; height:31.384%;
  background:var(--crate,#e8921a); display:none; }
.lm-door.lm-shut .lm-door-in{ display:none; } .lm-door.lm-shut .lm-door-out{ display:block; }
/* sunlight on the inside of the open door (Park 2026-11-18): a warm glow on the black panel, strongest beside the
   opening where the sun comes out. It sits on the door's own layer, so it swings with the door. */
.lm-door-lit{ display:block; position:absolute; left:1.222%; top:47.494%; width:16.222%; height:31.384%; opacity:0; pointer-events:none;
  mix-blend-mode:screen;
  background:radial-gradient(circle at 96% 56%,rgba(255,236,120,.95),rgba(255,190,40,.75) 38%,rgba(240,135,0,.5) 72%,rgba(215,105,0,.3)); }
.lm-door.lm-shut .lm-door-lit{ display:none; }
/* intro: lit from the inside as soon as the door swings open (1.4–2.0s), brighter as the sun swells, brightest
   at the burst (about 2.7s), then settling into the idle glow */
.lm-play .lm-door-lit{ animation:lm-doorLit 2.5s 1.45s linear both; }
.lm-idle .lm-door-lit{ animation:lm-doorLitPulse 3.2s ease-in-out infinite; }
@keyframes lm-doorLit{ 0%{ opacity:0 } 10%{ opacity:.45 } 34%{ opacity:.7 } 50%{ opacity:1 } 100%{ opacity:.6 } }
@keyframes lm-doorLitPulse{ 0%,100%{ opacity:.5 } 50%{ opacity:.85 } }
/* light leaking through the crack while the door rattles */
.lm-doorlight{ position:absolute; left:17.6%; top:47%; width:1.2%; height:33%; opacity:0; pointer-events:none;
  background:#fff3a0; box-shadow:0 0 10px 4px rgba(255,220,60,.9),0 0 26px 10px rgba(255,200,40,.5); border-radius:4px; }
@keyframes lm-doorLight{
  0%,32%{ opacity:0 } 36%{ opacity:.9 } 41%{ opacity:.15 } 47%{ opacity:1 } 52%{ opacity:.3 }
  60%{ opacity:1 } 75%,100%{ opacity:0 }
}

@keyframes lm-dropBottom{
  0%{ transform:translateY(-140%) scale(1,1.08); opacity:0 }
  8%{ opacity:1 }
  48%{ transform:translateY(0) }
  58%{ transform:scale(1.06,.88) }
  72%{ transform:translateY(-4%) scale(.97,1.04) }
  86%{ transform:scale(1.01,.98) }
  92%{ transform:scale(1.02,.96) }
  100%{ transform:none }
}
@keyframes lm-dropTop{
  0%{ transform:translateY(-190%) rotate(-6deg); opacity:0 }
  10%{ opacity:1 }
  48%{ transform:translateY(0) rotate(0) }
  58%{ transform:translateY(1%) scale(1.05,.9) }
  72%{ transform:translateY(-7%) rotate(1.5deg) scale(.98,1.03) }
  86%{ transform:scale(1.01,.98) }
  100%{ transform:none }
}
@keyframes lm-shadowIn{
  0%{ transform:scale(.2); opacity:0 } 32%{ transform:scale(1.05); opacity:1 } 40%{ transform:scale(.92) }
  66%{ transform:scale(1.1) } 76%{ transform:scale(.96) } 100%{ transform:none; opacity:1 }
}
@keyframes lm-shake{ 0%,100%{ transform:none } 25%{ transform:translate(-1.2%,.6%) } 50%{ transform:translate(1%,-.4%) } 75%{ transform:translate(-.5%,.3%) } }
@keyframes lm-kick{ 0%,100%{ transform:none } 30%{ transform:translate(.8%,-.4%) } 60%{ transform:translate(-.4%,.2%) } }

/* opening goes dark -> lit from inside -> clear once the sun is out */
@keyframes lm-interior{
  0%{ opacity:1; filter:brightness(.12) }
  25%{ opacity:1; filter:brightness(.5) }
  35%{ opacity:1; filter:brightness(1.15) }
  60%{ opacity:1; filter:brightness(1) }
  100%{ opacity:0; filter:brightness(1) }
}
/* sun peeks in the opening, swells, then pushes out the door */
@keyframes lm-sunRise{
  0%{ transform:translateX(9.5%) scale(.15) rotate(-40deg); opacity:0 }
  10%{ opacity:1 }
  35%{ transform:translateX(9%) scale(.42) rotate(-18deg) }
  44%{ transform:translateX(9%) scale(.38) rotate(-14deg) }   /* little wind-up */
  62%{ transform:translateX(-1%) scale(1.18) rotate(6deg) }
  76%{ transform:translateX(.5%) scale(.95) rotate(-2deg) }
  88%{ transform:scale(1.03) rotate(1deg) }
  100%{ transform:none; opacity:1 }
}
@keyframes lm-openClip{
  from{ clip-path:polygon(17.56% 47.02%,27.78% 46.54%,27.78% 83.77%,17.56% 79%) }
  to{ clip-path:polygon(-25% 25%,27.78% 25%,27.78% 100%,-25% 100%) }
}
@keyframes lm-raysIn{
  0%{ opacity:0; transform:scale(.2) rotate(-30deg) }
  30%{ opacity:1 }
  100%{ opacity:.85; transform:scale(1) rotate(0) }
}
@keyframes lm-glowPop{ 0%{ transform:scale(.2); opacity:0 } 25%{ transform:scale(1.3); opacity:1 } 100%{ transform:scale(1); opacity:.45 } }
@keyframes lm-flash{ 0%{ filter:none } 12%{ filter:brightness(1.3) saturate(1.15) } 100%{ filter:none } }
@keyframes lm-spark{
  0%{ transform:translate(-50%,-50%) scale(.3); opacity:1 }
  70%{ opacity:1 }
  100%{ transform:translate(calc(-50% + var(--x)),calc(-50% + var(--y))) rotate(180deg) scale(var(--s,1)); opacity:0 }
}
@keyframes lm-shine{ 0%{ background-position:120% 0; opacity:1 } 100%{ background-position:-20% 0; opacity:1 } }

/* ---------- idle loop ---------- */
.lm-idle .lm-rays{ opacity:.85; transform:none; animation:lm-spin 40s linear infinite, lm-raysBreathe 3.2s ease-in-out infinite; }
.lm-idle .lm-glow{ animation:lm-pulse 3.2s ease-in-out infinite; }
.lm-idle .lm-sun{ animation:lm-sunBreathe 3.2s ease-in-out infinite; }
.lm-idle .lm-top-crate{ animation:lm-hop 6s 1.5s ease-in-out infinite; }
.lm-idle .lm-bottom-crate{ animation:lm-squish 6s 1.5s ease-in-out infinite; }
.lm-idle .lm-shine{ animation:lm-shineLoop 6s 2.5s ease-in-out infinite; }
@keyframes lm-spin{ to{ rotate:360deg } }
@keyframes lm-raysBreathe{ 0%,100%{ opacity:.6; transform:scale(.94) } 50%{ opacity:1; transform:scale(1.04) } }
@keyframes lm-pulse{ 0%,100%{ opacity:.3; transform:scale(.88) } 50%{ opacity:.7; transform:scale(1.05) } }
@keyframes lm-sunBreathe{ 0%,100%{ transform:none } 50%{ transform:scale(1.035) rotate(2deg) } }
@keyframes lm-hop{
  0%,72%,100%{ transform:none }
  77%{ transform:translateY(-6%) rotate(-1.5deg) }
  82%{ transform:translateY(0) scale(1.03,.95) }
  87%{ transform:translateY(-2%) rotate(.6deg) }
  92%{ transform:none }
}
@keyframes lm-squish{ 0%,81%,100%{ transform:none } 83%{ transform:scale(1.015,.975) } 88%{ transform:none } }
@keyframes lm-shineLoop{ 0%{ background-position:120% 0; opacity:1 } 20%,100%{ background-position:-20% 0; opacity:1 } }
@keyframes lm-twinkle{
  0%{ transform:translate(-50%,-50%) scale(.2); opacity:0 }
  15%{ opacity:1 }
  100%{ transform:translate(calc(-50% + var(--x)*.6),calc(-50% + var(--y)*.6)) rotate(120deg) scale(.6); opacity:0 }
}

@media (prefers-reduced-motion: reduce){
  .lm-play *, .lm-idle *, .lm-play, .lm-idle{ animation:none !important }
  .lm-rays{ opacity:.7; transform:none } .lm-glow{ opacity:.4 }
}
.lm-stage, .lm-logo, .lm-crate, .lm-img, .lm-rays, .lm-glow, .lm-interior, .lm-doorlight, .lm-door, .lm-door-in, .lm-door-out, .lm-sunclip, .lm-sun, .lm-shadow, .lm-shine { display:block; }
.lm-stage { display:none; margin:0 auto; }
.lm-door { display:none; }
.lm-door-out { display:none; }
.lm-base, .lm-sunpath { pointer-events:none; }

/* ---------- Header logo inside the catalog: the sun's rays play on hover (Park 2026-11-13) ----------
   A small wheel of light turns behind the logo, centred on its sun and kept to about the logo's own size so it stays
   inside the header. Nothing shows at rest; with reduced motion the rays appear without turning. */
.brand-logo { position:relative; isolation:isolate; }
.brand-logo::before, .brand-logo::after { content:""; position:absolute; left:13.3%; top:65%; translate:-50% -50%; z-index:-1; border-radius:50%; pointer-events:none; opacity:0; }
.brand-logo::before { width:96px; aspect-ratio:1; scale:.3;
  background:repeating-conic-gradient(from 0deg, rgba(255,198,30,.7) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask:radial-gradient(closest-side, #000 12%, rgba(0,0,0,.6) 45%, transparent 100%);
          mask:radial-gradient(closest-side, #000 12%, rgba(0,0,0,.6) 45%, transparent 100%);
  transition:opacity .25s ease, scale .45s cubic-bezier(.2,.8,.3,1); }
.brand-logo::after { width:44px; aspect-ratio:1; background:radial-gradient(closest-side, rgba(255,232,90,.9), rgba(255,200,40,.35) 50%, transparent 78%); transition:opacity .3s ease; }
.brand-logo:hover::before, .brand-logo:focus-visible::before { opacity:1; scale:1; animation:brand-rays 12s linear infinite, brand-rays-breathe 2.6s ease-in-out infinite; }
.brand-logo:hover::after, .brand-logo:focus-visible::after { opacity:.8; }
@keyframes brand-rays { to { rotate:360deg; } }
@keyframes brand-rays-breathe { 0%,100% { opacity:.7; } 50% { opacity:1; } }
@media (prefers-reduced-motion: reduce) { .brand-logo::before, .brand-logo::after { animation:none !important; transition:none !important; } }

/* New products cards: the "new" label sits under the order-status badge instead of across from it, so the two never
   overlap on the narrower ceramics cards (Park 2026-11-13). Character goods keep their tilted "NEW" in the top right
   corner, except on small screens where the cards get narrow too. */
@media (max-width: 600px) {
  body.sec-character .card .badge ~ .new-flag { top:38px; left:10px; right:auto; transform:rotate(-3deg); }
}

/* Ceramics cards: the order-status badge and the "new" label sit in a strip above the photo instead of on it, so they
   never cover the product (Park 2026-11-13). The photo keeps its square. */
body.sec-ceramics .card .thumb, body.sec-gift .card .thumb { aspect-ratio:auto; display:flex; flex-wrap:wrap; align-items:center; align-content:flex-start; gap:6px 8px; padding:10px 10px 0; min-height:0; }
body.sec-ceramics .card .thumb > img, body.sec-gift .card .thumb > img { order:2; flex:0 0 100%; width:100%; height:auto; aspect-ratio:1/1; object-fit:contain; }
body.sec-ceramics .card .thumb > .badge, body.sec-gift .card .thumb > .badge, body.sec-ceramics .card .thumb > .new-flag, body.sec-gift .card .thumb > .new-flag { order:1; position:static; transform:none; margin:0; }
body.sec-ceramics .card .thumb > .badge, body.sec-gift .card .thumb > .badge { font-size:.74rem; padding:3px 9px; }
body.sec-ceramics .card .thumb > .new-flag, body.sec-gift .card .thumb > .new-flag { line-height:1.5; }

/* Character goods home page only: a light tangerine with scattered sparkles (the same four-point star as the "New
   products" button), so it is clearly different from the paper-coloured front page. The side's listing and product pages
   keep the plain warm cream (Park 2026-11-13; tangerine + sparkles instead of pink dots 2026-11-16). */
body.sec-character.page-home { --bg:#fff1e4;
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22 viewBox=%220 0 120 120%22%3E%3Cpath transform=%22translate(18 22) scale(0.75)%22 fill=%22rgba(255,122,47,.22)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(78 14) scale(0.4167)%22 fill=%22rgba(255,196,40,.5)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(96 70) scale(0.8333)%22 fill=%22rgba(255,196,40,.42)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(40 82) scale(0.5)%22 fill=%22rgba(255,122,47,.2)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(64 46) scale(0.3333)%22 fill=%22rgba(20,179,163,.25)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(12 104) scale(0.3333)%22 fill=%22rgba(255,196,40,.5)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(104 108) scale(0.5)%22 fill=%22rgba(255,122,47,.18)%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3C/svg%3E");
  background-size:120px 120px; }

/* Ceramics home page only: the cool gray with a very faint blue seigaiha (wave) pattern, the same motif as the ceramics
   tile on the front page. The side's listing and product pages keep the plain cool gray (Park 2026-11-16). The circles'
   fill is --mist (#eef0f3) so each row of waves covers the one above it. */
body.sec-ceramics.page-home, body.sec-gift.page-home {
  background-color:var(--bg);
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2240%22 height=%2220%22 viewBox=%220 0 40 20%22%3E%3Cg fill=%22none%22 stroke=%22%230b3d91%22 stroke-opacity=%22.07%22 stroke-width=%221%22%3E%3Ccircle cx=%2220%22 cy=%220%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%2220%22 cy=%220%22 r=%2213%22/%3E%3Ccircle cx=%2220%22 cy=%220%22 r=%226.5%22/%3E%3Ccircle cx=%220%22 cy=%2210%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%220%22 cy=%2210%22 r=%2213%22/%3E%3Ccircle cx=%220%22 cy=%2210%22 r=%226.5%22/%3E%3Ccircle cx=%2240%22 cy=%2210%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%2240%22 cy=%2210%22 r=%2213%22/%3E%3Ccircle cx=%2240%22 cy=%2210%22 r=%226.5%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%2213%22/%3E%3Ccircle cx=%2220%22 cy=%2220%22 r=%226.5%22/%3E%3Ccircle cx=%220%22 cy=%2230%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%220%22 cy=%2230%22 r=%2213%22/%3E%3Ccircle cx=%220%22 cy=%2230%22 r=%226.5%22/%3E%3Ccircle cx=%2240%22 cy=%2230%22 r=%2219.5%22 fill=%22%23eef0f3%22/%3E%3Ccircle cx=%2240%22 cy=%2230%22 r=%2213%22/%3E%3Ccircle cx=%2240%22 cy=%2230%22 r=%226.5%22/%3E%3C/g%3E%3C/svg%3E");
  background-size:56px 28px; }

/* =====================================================================================================
   Stationery side (Park 2026-11-25): a notebook. Cream paper, pencil green as the accent, a red margin line, ruled
   lines on its home page, yellow highlighter strokes for headings and the menu, sticky-note "New" flags. Lettering for
   headings and buttons: Klee One (the textbook hand already used on the ceramics side), here for English too.
   ===================================================================================================== */
body.sec-stationery { --pencil:#1a7d65; --rule:#d3deea; --margin:#e2574c; --marker:#ffe566;
  --font-note:"Klee One","YuKyokasho","Yu Kyokasho","Hiragino Maru Gothic ProN",-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans",sans-serif;
  --bg:#fbfaf3; --brand:var(--pencil); --brand-dark:#12614f; --brand-tint:#e4f5ef; --brand-ink:#12614f; --line:#dcdccf; --yellow:var(--marker); --radius:5px; }
/* header: the double rule at the top of a notebook page (green, then a thin red one) */
body.sec-stationery .site-header { border-bottom:2px solid var(--pencil); box-shadow:0 3px 0 #fff, 0 4px 0 rgba(226,87,76,.55); }
body.sec-stationery h1, body.sec-stationery h2, body.sec-stationery .landing-title, body.sec-stationery .landing-section b,
body.sec-stationery .main-nav-links a, body.sec-stationery .btn-pill, body.sec-stationery .maker-current,
body.sec-stationery .nav-search button, body.sec-stationery .search-all button, body.sec-stationery .filters button { font-family:var(--font-note); font-weight:600; }
/* headings are run over with a highlighter */
body.sec-stationery main h1, body.sec-stationery .landing-title { display:inline-block; padding:0 .18em; margin-left:-.18em;
  background:linear-gradient(transparent 58%, var(--marker) 58%, var(--marker) 92%, transparent 92%); }
body.sec-stationery .landing-title { margin-left:0; font-size:1.7rem; }
body.sec-stationery .panel h2 { border-left:0; padding-left:0; }
body.sec-stationery .panel h2::before { content:""; display:inline-block; width:.55em; height:.55em; margin-right:.5em; border:2px solid var(--ink); border-radius:50%; background:var(--pencil); }
/* the side's name on its home page: a label written on masking tape */
body.sec-stationery .landing-section b { padding:2px 14px; color:var(--ink); background:#d9efe8; border-left:2px dashed rgba(20,33,61,.25); border-right:2px dashed rgba(20,33,61,.25);
  transform:rotate(-1.5deg); display:inline-block; }
/* menu bar: plain words; the highlighter is drawn across on hover and stays on the page you are on */
body.sec-stationery .main-nav-links a { border-color:transparent; border-radius:3px; background-color:transparent; box-shadow:none;
  background-image:linear-gradient(var(--marker), var(--marker)); background-repeat:no-repeat; background-position:0 78%; background-size:0 .55em; transition:background-size .28s cubic-bezier(.3,.8,.3,1); }
body.sec-stationery .main-nav-links a:hover, body.sec-stationery .main-nav-links a:focus-visible { background-color:transparent; border-color:transparent; box-shadow:none; background-size:100% .55em; }
body.sec-stationery .main-nav-links a.active { color:var(--ink); background-color:transparent; border-color:transparent; background-size:100% .55em; }
body.sec-stationery .main-nav-row .maker-menu .maker-current, body.sec-stationery .nav-search input, body.sec-stationery .section-switch { border-radius:4px; }
body.sec-stationery .main-nav-row .maker-menu .maker-current:hover, body.sec-stationery .section-switch:hover { border-color:var(--pencil); }
body.sec-stationery .main-nav-row .maker-menu .maker-option.active, body.sec-stationery .maker-option:hover, body.sec-stationery .maker-option:focus-visible { border-color:var(--pencil); }
/* buttons: pencil green with white lettering (navy on this green is too dark to read) */
body.sec-stationery .nav-search button, body.sec-stationery .search-all button, body.sec-stationery .filters button,
body.sec-stationery .register-btn, body.sec-stationery .open-account, body.sec-stationery .enq-send { color:#fff; background:var(--pencil); border-color:var(--ink); border-radius:5px; }
body.sec-stationery .nav-search button:hover, body.sec-stationery .search-all button:hover, body.sec-stationery .filters button:hover,
body.sec-stationery .register-btn:hover, body.sec-stationery .open-account:hover, body.sec-stationery .enq-send:hover { background:#12614f; }
body.sec-stationery .btn-pill, body.sec-stationery .maker-menu-big .maker-current, body.sec-stationery .search-all input, body.sec-stationery .back-btn { border-radius:5px; }
body.sec-stationery .btn-pill .count, body.sec-stationery .enq-count { background:var(--marker); color:var(--ink); }
/* the two home-page buttons and their menu items: a pencil line is drawn under the words on hover */
body.sec-stationery .btn-pill.act-new::after, body.sec-stationery .btn-pill.act-closing::after {
  content:""; position:absolute; left:14px; right:14px; bottom:6px; height:3px; border-radius:2px; background:var(--pencil); transform:scaleX(0); transform-origin:left center;
  transition:transform .3s cubic-bezier(.3,.8,.3,1); }
body.sec-stationery .btn-pill.act-closing::after { background:var(--margin); }
body.sec-stationery .btn-pill.act-new:hover::after, body.sec-stationery .btn-pill.act-new:focus-visible::after,
body.sec-stationery .btn-pill.act-closing:hover::after, body.sec-stationery .btn-pill.act-closing:focus-visible::after { transform:scaleX(1); }
/* product cards: sheets of paper; a hovered one is picked up a little */
body.sec-stationery .card { border-radius:4px; }
body.sec-stationery .card:hover, body.sec-stationery .card:focus-within { transform:translateY(-4px) rotate(-.35deg); border-color:var(--pencil); box-shadow:5px 6px 0 rgba(20,33,61,.10); }
body.sec-stationery .badge { border-radius:3px; }
/* "New": a small sticky note */
body.sec-stationery .new-flag { padding:2px 9px; font-family:var(--font-note); font-weight:600; color:var(--ink); background:var(--marker); box-shadow:1px 2px 0 rgba(20,33,61,.18); transform:rotate(3deg); }
body.sec-stationery .grid-new > .card { animation:new-rise .6s ease-out backwards; animation-delay:calc(var(--n) * 70ms); }
body.sec-stationery .licensing-note { border-left-color:var(--pencil); }
body.sec-stationery .soon { background:var(--brand-tint); color:var(--brand-ink); }
body.sec-stationery .site-footer { border-top-color:var(--pencil); }

/* Stationery home page only: a ruled notebook page with the red margin line down the left. The side's listing and
   product pages keep the plain cream paper. */
body.sec-stationery.page-home { background-color:var(--bg);
  background-image:linear-gradient(90deg, transparent 0 71px, rgba(226,87,76,.38) 71px 73px, transparent 73px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px); }
@media (max-width: 700px) {
  body.sec-stationery.page-home { background-image:linear-gradient(90deg, transparent 0 21px, rgba(226,87,76,.38) 21px 23px, transparent 23px),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px); }
}

/* The link to the stationery side, seen from the other two: a scrap of ruled paper with the margin line; on hover the
   lines roll like the entry tile's. */
body[class] .section-switch.to-stationery { position:relative; overflow:hidden; isolation:isolate; padding:5px 12px 5px 18px; font-weight:600; color:#1f2a44; background:#fffdf6;
  border:1px solid #1a7d65; border-radius:2px 6px 6px 2px; box-shadow:none; transition:transform .2s ease, box-shadow .2s ease; }
body[class] .section-switch.to-stationery::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.8;
  background-image:linear-gradient(90deg, transparent 0 9px, rgba(226,87,76,.75) 9px 10.5px, transparent 10.5px), repeating-linear-gradient(180deg, transparent 0 6px, #b7d0e8 6px 7px); }
body[class] .section-switch.to-stationery:hover, body[class] .section-switch.to-stationery:focus-visible { background:#fffdf6; border-color:#1a7d65; transform:translateY(-1px); box-shadow:2px 3px 0 rgba(26,125,101,.35); }
body[class] .section-switch.to-stationery:hover::before, body[class] .section-switch.to-stationery:focus-visible::before { opacity:1; animation:switch-lines 1.2s linear infinite; }
@keyframes switch-lines { from { background-position:0 0, 0 0; } to { background-position:0 0, 0 7px; } }

/* =====================================================================================================
   Fancy side (plush, mascots, cute goods; Park 2026-11-25, design "A. Teddy felt" in docs/mockups/four-sections.html):
   cream felt, a line of brown stitching, coat buttons; round lettering (Zen Maru Gothic, shared with character goods).
   ===================================================================================================== */
/* entry tile */
.entry-door-fancy { --thread:#a9713f; --felt:#fbeeda; background:var(--felt); border:2px solid #7a4d27; border-radius:22px; box-shadow:0 5px 0 #d9bd97; color:#4a2f18; }
.entry-door-fancy::before { background-image:radial-gradient(circle, rgba(169,113,63,.55) 0 2px, transparent 2.5px), radial-gradient(circle, rgba(255,255,255,.9) 0 2px, transparent 2.5px);
  background-size:18px 18px; background-position:0 0, 9px 9px; }
.entry-door-fancy .entry-door-in::after { content:""; position:absolute; inset:9px; border:2px dashed var(--thread); border-radius:15px; pointer-events:none; }
.entry-door-fancy .entry-door-in { padding:26px 26px 24px; }
.entry-door-fancy .entry-door-name { font-family:var(--font-round); font-weight:700; font-size:1.5rem; color:#4a2f18; }
.entry-door-fancy .entry-door-alt { font-family:var(--font-round); font-weight:500; color:var(--thread); }
.entry-door-fancy .entry-door-lead, .entry-door-fancy .entry-door-count { font-family:var(--font-round); font-weight:500; color:#6b4a2e; }
.entry-door-fancy .entry-door-go { align-self:flex-start; margin-top:auto; font-family:var(--font-round); font-weight:700; color:#fff; background:var(--thread); border:2px solid #7a4d27; border-radius:999px; padding:6px 16px; box-shadow:0 3px 0 #7a4d27; }
.entry-door-fancy .entry-door-mark { right:24px; top:22px; gap:7px; }
.entry-door-fancy .entry-door-mark i { width:20px; height:20px; border-radius:50%; border:2px solid #7a4d27;
  background:radial-gradient(circle at 35% 50%, #7a4d27 0 1.7px, transparent 2.2px), radial-gradient(circle at 65% 50%, #7a4d27 0 1.7px, transparent 2.2px), #e9c79b; }
.entry-door-fancy .entry-door-mark i:nth-child(2) { background-color:#f4a9b8; animation-delay:.12s; }
.entry-door-fancy .entry-door-mark i:nth-child(3) { background-color:#fff; animation-delay:.24s; }
.entry-door-fancy:hover, .entry-door-fancy:focus-visible { transform:translateY(-3px) scale(1.012); box-shadow:0 9px 0 #d9bd97; border-color:#7a4d27; }
/* the felt's dots stay faint on hover (at full strength they sat behind the wording and made it hard to read; Park 2026-11-25) */
.entry-door-fancy:hover::before, .entry-door-fancy:focus-visible::before { opacity:.3; }
.entry-door-fancy:hover, .entry-door-fancy:focus-visible { background:#fdf3e3; }
.entry-door-fancy:hover .entry-door-in::after, .entry-door-fancy:focus-visible .entry-door-in::after { animation:fancy-stitch 1s steps(2) infinite; }
.entry-door-fancy:hover .entry-door-mark i, .entry-door-fancy:focus-visible .entry-door-mark i { animation:fancy-button 1.4s ease-in-out infinite; }
@keyframes fancy-stitch { 50% { border-color:#d9a877; } }
@keyframes fancy-button { 0%, 100% { transform:rotate(0); } 50% { transform:rotate(180deg); } }
@media (prefers-reduced-motion: reduce) { .entry-door-fancy .entry-door-in::after { animation:none !important; } }
/* four tiles: one row on a wide screen; the names keep clear of the mark in the corner */
.entry-doors:has(.entry-door-fancy) { max-width:1240px; }
@media (min-width: 1040px) {
  .entry-doors:has(.entry-door-fancy):has(.entry-door-stationery) { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:18px; }
  .entry-doors:has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-name { font-size:1.28rem; padding-right:84px; line-height:1.25; }
  .entry-doors:has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-character .entry-door-name { padding-right:112px; }
  .entry-doors:has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-ceramics .entry-door-name { padding-right:104px; }
}

/* the side's own pages */
body.sec-fancy { --thread:#a9713f; --thread-dark:#7a4d27; --felt:#fbeeda; --rose:#f4a9b8;
  --bg:#fdf6ea; --brand:var(--thread); --brand-dark:#8a5a30; --brand-tint:#f6e7cf; --brand-ink:#7a4d27; --line:#e6d3b8; --yellow:#f9d9c0; --radius:16px; }
body.sec-fancy .site-header { border-bottom:3px dashed var(--thread); }
body.sec-fancy h1, body.sec-fancy h2, body.sec-fancy .landing-title, body.sec-fancy .landing-section b, body.sec-fancy .main-nav-links a,
body.sec-fancy .maker-current, body.sec-fancy .btn-pill, body.sec-fancy .section-switch, body.sec-fancy .nav-search button,
body.sec-fancy .search-all button, body.sec-fancy .filters button { font-family:var(--font-round); }
body.sec-fancy main h1, body.sec-fancy .landing-title { color:#4a2f18; }
body.sec-fancy .landing-section b { padding:2px 14px; color:#4a2f18; background:var(--felt); border:2px dashed var(--thread); border-radius:999px; font-size:.9rem; }
body.sec-fancy .main-nav-links a, body.sec-fancy .main-nav-row .maker-menu .maker-current, body.sec-fancy .section-switch,
body.sec-fancy .nav-search input, body.sec-fancy .nav-search button { border-radius:999px; }
body.sec-fancy .main-nav-links a:hover, body.sec-fancy .main-nav-row .maker-menu .maker-current:hover, body.sec-fancy .section-switch:hover { border-color:var(--thread); background:var(--brand-tint); }
body.sec-fancy .main-nav-links a.active { background:var(--thread); border-color:var(--thread-dark); color:#fff; }
body.sec-fancy .main-nav-row .maker-menu .maker-option.active, body.sec-fancy .maker-option:hover, body.sec-fancy .maker-option:focus-visible { border-color:var(--thread); }
/* buttons: brown felt with white lettering and a soft drop instead of the navy offset */
body.sec-fancy .nav-search button, body.sec-fancy .search-all button, body.sec-fancy .filters button,
body.sec-fancy .register-btn, body.sec-fancy .open-account, body.sec-fancy .enq-send {
  color:#fff; background:var(--thread); border:2px solid var(--thread-dark); border-radius:999px; box-shadow:0 3px 0 var(--thread-dark); }
body.sec-fancy .nav-search button:hover, body.sec-fancy .search-all button:hover, body.sec-fancy .filters button:hover,
body.sec-fancy .register-btn:hover, body.sec-fancy .open-account:hover, body.sec-fancy .enq-send:hover { background:#8a5a30; border-color:var(--thread-dark); transform:translateY(1px); box-shadow:0 2px 0 var(--thread-dark); }
body.sec-fancy .btn-pill, body.sec-fancy .maker-menu-big .maker-current, body.sec-fancy .search-all input, body.sec-fancy .back-btn {
  border:2px solid var(--thread-dark); border-radius:18px; box-shadow:0 4px 0 #d9bd97; }
body.sec-fancy .btn-pill:hover, body.sec-fancy .maker-menu-big .maker-current:hover, body.sec-fancy .back-btn:hover { transform:translateY(1px); box-shadow:0 3px 0 #d9bd97; }
body.sec-fancy .btn-pill:active { transform:translateY(4px); box-shadow:0 0 0 #d9bd97; }
body.sec-fancy .btn-pill .count, body.sec-fancy .enq-count { background:var(--rose); color:#4a2f18; }
body.sec-fancy .maker-menu-big .chev { border-left-color:#d9bd97; }
/* the two home-page buttons: the stitching runs round them on hover */
body.sec-fancy .btn-pill.act-new::after, body.sec-fancy .btn-pill.act-closing::after {
  content:""; position:absolute; inset:4px; border:2px dashed var(--thread); border-radius:12px; opacity:0; transition:opacity .2s ease; }
body.sec-fancy .btn-pill.act-closing::after { border-color:#d9728c; }
body.sec-fancy .btn-pill.act-new:hover::after, body.sec-fancy .btn-pill.act-new:focus-visible::after,
body.sec-fancy .btn-pill.act-closing:hover::after, body.sec-fancy .btn-pill.act-closing:focus-visible::after { opacity:1; animation:fancy-stitch 1s steps(2) infinite; }
/* product cards: felt patches with a stitched edge */
body.sec-fancy .card::after { content:""; position:absolute; inset:6px; border:2px dashed #e3cfae; border-radius:11px; pointer-events:none; z-index:2; transition:border-color .2s; }
body.sec-fancy .card:hover, body.sec-fancy .card:focus-within { transform:translateY(-4px); border-color:var(--thread); box-shadow:0 6px 0 #e6d3b8; }
body.sec-fancy .card:hover::after, body.sec-fancy .card:focus-within::after { border-color:var(--thread); }
body.sec-fancy .badge { top:14px; left:14px; }
body.sec-fancy .new-flag { top:14px; right:14px; padding:1px 10px; font-family:var(--font-round); font-weight:700; color:#4a2f18; background:var(--rose); border:2px solid var(--thread-dark); border-radius:999px; z-index:3; }
body.sec-fancy .grid-new > .card { animation:new-rise .6s ease-out backwards; animation-delay:calc(var(--n) * 70ms); }
body.sec-fancy .panel h2 { border-left-color:var(--thread); }
body.sec-fancy .licensing-note { border-left-color:var(--thread); }
body.sec-fancy .soon { background:var(--brand-tint); color:var(--brand-ink); }
body.sec-fancy .site-footer { border-top-color:var(--thread); }
/* Fancy home page only: felt with its fine two-colour dots (the entry tile's pattern, very light) */
body.sec-fancy.page-home { --bg:#fbeeda; background-color:var(--bg);
  background-image:radial-gradient(circle, rgba(169,113,63,.16) 0 2px, transparent 2.5px), radial-gradient(circle, rgba(255,255,255,.75) 0 2px, transparent 2.5px);
  background-size:22px 22px; background-position:0 0, 11px 11px; }

/* The link to the fancy side, seen from the other three: a small felt patch with its stitching */
body[class] .section-switch.to-fancy { position:relative; padding:5px 14px; font-family:var(--font-round); font-weight:700; letter-spacing:0; color:#4a2f18; background:#fbeeda;
  border:1px solid #7a4d27; border-radius:999px; box-shadow:0 2px 0 #d9bd97; outline:1.5px dashed #a9713f; outline-offset:-4px; transition:transform .15s ease, box-shadow .15s ease; }
body[class] .section-switch.to-fancy:hover, body[class] .section-switch.to-fancy:focus-visible { background:#f6e3c6; border-color:#7a4d27; transform:translateY(-1px); box-shadow:0 3px 0 #d9bd97; }

/* =====================================================================================================
   Range (side) dropdown in the header (templates/section_menu.php; Park 2026-11-25). The button shows the side you
   are in and takes that side's accent; the list holds the other sides, each wearing its own look, and "All ranges".
   ===================================================================================================== */
.section-menu { position:relative; }
.section-menu > summary { list-style:none; cursor:pointer; }
.section-menu > summary::-webkit-details-marker { display:none; }
/* the button: the catalog's bold button (navy outline, offset shadow that presses in) with four small tiles in the
   sides' colours — tangerine, felt, indigo, pencil green — so it reads as "the other categories" on every side */
.section-current { display:inline-flex; align-items:center; gap:9px; min-height:36px; font-size:.88rem; font-weight:600; color:var(--ink); padding:5px 10px; white-space:nowrap;
  background:#fff; border:1px solid #d9d3c5; border-radius:8px; box-shadow:0 1px 0 rgba(20,33,61,.07); transition:background .12s, border-color .12s; }
.section-current:hover { background:var(--brand-tint); border-color:var(--brand); }
.section-menu[open] > .section-current { background:var(--brand-tint); border-color:var(--ink); }
.section-current:focus-visible { outline:3px solid var(--deep); outline-offset:3px; }
.section-tiles { display:grid; grid-template-columns:9px 9px; gap:2px; }
.section-tiles i { display:block; width:9px; height:9px; border-radius:2px; background:#FF7A2F; transition:transform .25s cubic-bezier(.2,1.4,.4,1); }
.section-tiles i:nth-child(2) { background:#a9713f; border-radius:50%; }
.section-tiles i:nth-child(3) { background:#1d3566; }
.section-tiles i:nth-child(4) { background:#1a7d65; border-radius:1px 4px 4px 1px; }
.section-current:hover .section-tiles i:nth-child(1), .section-menu[open] .section-tiles i:nth-child(1) { transform:translate(-1px,-1px); }
.section-current:hover .section-tiles i:nth-child(2), .section-menu[open] .section-tiles i:nth-child(2) { transform:translate(1px,-1px); }
.section-current:hover .section-tiles i:nth-child(3), .section-menu[open] .section-tiles i:nth-child(3) { transform:translate(-1px,1px); }
.section-current:hover .section-tiles i:nth-child(4), .section-menu[open] .section-tiles i:nth-child(4) { transform:translate(1px,1px); }
.section-current-name { overflow:hidden; text-overflow:ellipsis; max-width:16em; }
.section-chev { width:16px; height:16px; display:grid; place-items:center; }
.section-chev::before { content:""; width:6px; height:6px; border-right:2px solid var(--ink); border-bottom:2px solid var(--ink); transform:translateY(-2px) rotate(45deg); transition:transform .15s; }
.section-menu[open] .section-chev::before { transform:translateY(1px) rotate(225deg); }
.section-panel { position:absolute; right:0; top:calc(100% + 10px); z-index:40; display:flex; flex-direction:column; align-items:stretch; gap:10px; min-width:270px; padding:12px;
  background:#fff; border:1px solid #d9d3c5; border-radius:10px; box-shadow:0 10px 28px rgba(20,33,61,.14); }
.section-panel-title { margin:0 2px 2px; font-size:.74rem; font-weight:600; color:var(--muted); }
.section-panel-title { text-transform:uppercase; letter-spacing:.06em; }
.section-panel .section-switch { display:block; text-align:left; }
.section-all { margin-top:2px; padding-top:10px; border-top:1px solid #ece7db; font-size:.82rem; font-weight:600; color:var(--brand-ink); text-decoration:none; }
.section-all:hover { text-decoration:underline; }
body.sec-character .section-current, body.sec-fancy .section-current { font-family:var(--font-round); border-radius:999px; padding-left:12px; }
body.sec-ceramics .section-current, body.sec-gift .section-current { font-family:var(--font-kyokasho); font-weight:500; border-radius:2px; }
body.sec-stationery .section-current { font-family:var(--font-note); font-weight:600; border-radius:4px; }
body.sec-ceramics .section-panel, body.sec-gift .section-panel { border-radius:2px; }
@media (prefers-reduced-motion: reduce) { .section-current, .section-tiles i { transition:none !important; } }
@media (max-width: 560px) {
  /* phones: the list spans the header's width, so it can never run off the screen */
  .site-header .header-row, .top-bar .wrap { position:relative; }
  .section-menu { position:static; }
  .section-panel { left:16px; right:16px; top:calc(100% + 4px); min-width:0; }
}

/* =====================================================================================================
   "New products" / "Closing soon" in each category's own look, at rest as well as on hover (Park 2026-11-25).
   The home page's two buttons (.btn-pill.act-*) and the same two menu items carry a small symbol (.act-ico);
   the hover animations above stay as they are.
     character goods  capsule-toy pills: yellow with a sparkle / tangerine with an alarm clock
     fancy            felt patches with their stitching: rose with a heart / cream with a coat button
     ceramics         the calm white button with a tea bowl / a red seal
     gifts & souvenirs indigo cloth with a wrapped box / white with a red cord and a seal
     stationery       a yellow sticky note with a pencil / a slip marked in red pencil
   ===================================================================================================== */
.act-ico { display:none; flex:none; width:1.15em; height:1.15em; background:center / contain no-repeat; vertical-align:-.2em; }
.main-nav-links .act-ico { width:1em; height:1em; margin-right:5px; }
body[class*="sec-"] .act-ico { display:inline-block; }

/* character goods */
body.sec-character .btn-pill.act-new, body.sec-character .btn-pill.act-closing { border:3px solid var(--ink); border-radius:999px; box-shadow:0 4px 0 var(--ink); padding:9px 20px 9px 16px; }
body.sec-character .btn-pill.act-new { background-color:#FFD23F; }
body.sec-character .btn-pill.act-closing { background-color:#ffb27d; }
body.sec-character .btn-pill.act-new:hover, body.sec-character .btn-pill.act-closing:hover { box-shadow:0 3px 0 var(--ink); }
body.sec-character .btn-pill.act-closing .count { background:#fff; border:2px solid var(--ink); }
body.sec-character .act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' stroke='%2314213d' stroke-width='1.2' stroke-linejoin='round' d='M12 1.5c1 6 3.2 8.2 9.5 9.2v2.6c-6.3 1-8.5 3.2-9.5 9.2-1-6-3.2-8.2-9.5-9.2v-2.6c6.3-1 8.5-3.2 9.5-9.2z'/%3E%3C/svg%3E"); }
body.sec-character .act-closing .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='13' r='8.5' fill='%23fff' stroke='%2314213d' stroke-width='2.4'/%3E%3Cpath d='M12 8v5.4l3.4 2' fill='none' stroke='%2314213d' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M8.5 2.2h7' stroke='%2314213d' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.sec-character .main-nav-links a.act-new { background-color:#fff6cf; border-color:#f0c530; }
body.sec-character .main-nav-links a.act-closing { background-color:#ffe9da; border-color:#ffb27d; }
body.sec-character .main-nav-links a.act-new.active, body.sec-character .main-nav-links a.act-closing.active { background-color:var(--tangerine); border-color:var(--ink); }

/* fancy */
body.sec-fancy .btn-pill.act-new, body.sec-fancy .btn-pill.act-closing { padding:10px 20px 10px 16px; }
body.sec-fancy .btn-pill.act-new { background:#f9d6de; }
body.sec-fancy .btn-pill.act-closing { background:#f6e7cf; }
body.sec-fancy .btn-pill.act-new::after, body.sec-fancy .btn-pill.act-closing::after { opacity:.75; }
body.sec-fancy .btn-pill.act-new::after { border-color:#d9728c; }
body.sec-fancy .btn-pill.act-closing::after { border-color:var(--thread); }
body.sec-fancy .act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f08aa2' stroke='%237a4d27' stroke-width='1.8' stroke-linejoin='round' d='M12 20.5C5 15.6 2.5 12 2.5 8.6 2.5 5.9 4.6 4 7.1 4c1.9 0 3.6 1 4.9 2.8C13.3 5 15 4 16.9 4c2.5 0 4.6 1.9 4.6 4.6 0 3.4-2.5 7-9.5 11.9z'/%3E%3C/svg%3E"); }
body.sec-fancy .act-closing .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%23e9c79b' stroke='%237a4d27' stroke-width='2'/%3E%3Ccircle cx='9' cy='12' r='1.6' fill='%237a4d27'/%3E%3Ccircle cx='15' cy='12' r='1.6' fill='%237a4d27'/%3E%3C/svg%3E"); }
body.sec-fancy .main-nav-links a.act-new { background-color:#fdeaee; border:1px dashed #d9728c; }
body.sec-fancy .main-nav-links a.act-closing { background-color:#fbf1df; border:1px dashed var(--thread); }
body.sec-fancy .main-nav-links a.act-new.active, body.sec-fancy .main-nav-links a.act-closing.active { background:var(--thread); border:1px solid var(--thread-dark); color:#fff; }

/* ceramics & tableware: the calm white button with its deep blue line; a tea bowl / a red seal */
body.sec-ceramics .act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11h18c0 5-3.6 8-9 8s-9-3-9-8z' fill='%23fff' stroke='%230b3d91' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M9 19.2h6v2.3H9z' fill='%230b3d91'/%3E%3Cpath d='M9.5 7.6c-1.3-1.5 1.3-2.4 0-4M14.5 7.6c-1.3-1.5 1.3-2.4 0-4' fill='none' stroke='%230b3d91' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.sec-ceramics .act-closing .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='%23c8372d'/%3E%3Cpath d='M12 7v5.5l3 1.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.sec-ceramics .btn-pill.act-new:hover .act-ico, body.sec-ceramics .btn-pill.act-new:focus-visible .act-ico, body.sec-ceramics .main-nav-links a.act-new.active .act-ico { filter:brightness(0) invert(1); }

/* gifts & souvenirs */
body.sec-gift .btn-pill.act-new { color:#fff; background-color:#1d3566; border-color:#1d3566;
  background-image:radial-gradient(circle at 0 0, transparent 9px, rgba(255,255,255,.22) 9px 10px, transparent 10px), radial-gradient(circle at 100% 0, transparent 9px, rgba(255,255,255,.22) 9px 10px, transparent 10px),
    radial-gradient(circle at 0 100%, transparent 9px, rgba(255,255,255,.22) 9px 10px, transparent 10px), radial-gradient(circle at 100% 100%, transparent 9px, rgba(255,255,255,.22) 9px 10px, transparent 10px);
  background-size:20px 20px; }
body.sec-gift .btn-pill.act-new:hover, body.sec-gift .btn-pill.act-new:focus-visible { background-color:#1d3566; background-image:none; border-color:var(--deep); }
body.sec-gift .btn-pill.act-closing { color:#1d3566; background:#fff; border-color:#1d3566; border-left:5px solid #c8372d; }
body.sec-gift .btn-pill.act-closing:hover, body.sec-gift .btn-pill.act-closing:focus-visible { border-left-color:#c8372d; }
body.sec-gift .act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='8' width='17' height='12.5' rx='1' fill='%23fff' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M12 8v12.5' stroke='%23e8b84a' stroke-width='3'/%3E%3Cpath d='M12 7.5c-2.5-4.5-6-2-3.5 0zM12 7.5c2.5-4.5 6-2 3.5 0z' fill='%23e8b84a' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.sec-gift .act-closing .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.5' fill='%23c8372d'/%3E%3Cpath d='M12 7v5.5l3 1.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
body.sec-gift .btn-pill.act-closing:hover .act-ico, body.sec-gift .btn-pill.act-closing:focus-visible .act-ico { filter:brightness(1.25); }
body.sec-gift .main-nav-links a.act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='8' width='17' height='12.5' rx='1' fill='%23fff' stroke='%231d3566' stroke-width='2'/%3E%3Cpath d='M12 8v12.5' stroke='%23e8b84a' stroke-width='3'/%3E%3Cpath d='M12 7.5c-2.5-4.5-6-2-3.5 0zM12 7.5c2.5-4.5 6-2 3.5 0z' fill='%23e8b84a' stroke='%231d3566' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.sec-gift .main-nav-links a.act-new.active .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='8' width='17' height='12.5' rx='1' fill='%23fff' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M12 8v12.5' stroke='%23e8b84a' stroke-width='3'/%3E%3Cpath d='M12 7.5c-2.5-4.5-6-2-3.5 0zM12 7.5c2.5-4.5 6-2 3.5 0z' fill='%23e8b84a' stroke='%23fff' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* stationery */
body.sec-stationery .btn-pill.act-new { background:#ffe566; border:2px solid var(--ink); border-radius:2px 2px 14px 2px; box-shadow:2px 3px 0 rgba(20,33,61,.28); transform:rotate(-1.6deg); }
body.sec-stationery .btn-pill.act-closing { color:#a3261c; background:#fff; border:2px solid #e2574c; border-radius:3px; box-shadow:2px 3px 0 rgba(226,87,76,.3); transform:rotate(1.2deg); }
body.sec-stationery .btn-pill.act-new:hover, body.sec-stationery .btn-pill.act-new:focus-visible { transform:rotate(0) translateY(-2px); box-shadow:3px 5px 0 rgba(20,33,61,.28); }
body.sec-stationery .btn-pill.act-closing:hover, body.sec-stationery .btn-pill.act-closing:focus-visible { transform:rotate(0) translateY(-2px); box-shadow:3px 5px 0 rgba(226,87,76,.3); }
body.sec-stationery .btn-pill.act-closing .count { background:#e2574c; color:#fff; }
body.sec-stationery .act-new .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20l1.2-5L16.5 3.7a1.6 1.6 0 0 1 2.3 0l1.5 1.5a1.6 1.6 0 0 1 0 2.3L9 18.8z' fill='%231a7d65' stroke='%2314213d' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M4 20l5-1.2-3.8-3.8z' fill='%2314213d'/%3E%3C/svg%3E"); }
body.sec-stationery .act-closing .act-ico { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23e2574c' stroke-width='2.4'/%3E%3Cpath d='M12 6.5v6.5' stroke='%23e2574c' stroke-width='2.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.8' r='1.6' fill='%23e2574c'/%3E%3C/svg%3E"); }
body.sec-stationery .main-nav-links a.act-closing { color:#a3261c; background-image:linear-gradient(#ffd9d4, #ffd9d4); }

/* =====================================================================================================
   The links to Character goods and Gifts & tableware in the category dropdown follow those sides' redesigned home
   tiles (Park 2026-11-25: "doesn't match the initial button on the home page"). They replace the yellow polka-dot
   pill and the white wave label above; Fancy and Stationery already matched their tiles.
   ===================================================================================================== */
/* character goods: the light tangerine capsule tile with its sparkles */
body[class] .section-switch.to-character { position:relative; overflow:hidden; isolation:isolate; padding:5px 14px; font-family:var(--font-round); font-weight:700; font-size:.9rem;
  letter-spacing:0; -webkit-text-stroke:0; color:var(--ink); background:#ffd0a6; border:2px solid var(--ink); border-radius:999px; box-shadow:0 3px 0 var(--ink);
  transition:transform .15s ease, box-shadow .15s ease; }
body[class] .section-switch.to-character::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.75; transition:opacity .25s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2290%22 height=%2290%22 viewBox=%220 0 90 90%22%3E%3Cpath transform=%22translate(20 22)%22 fill=%22%23ffffff%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3Cpath transform=%22translate(64 60) scale(.6)%22 fill=%22%23FFD23F%22 d=%22M0-11c.8 5.2 2.8 7.2 8 8v3c-5.2.8-7.2 2.8-8 8-.8-5.2-2.8-7.2-8-8v-3c5.2-.8 7.2-2.8 8-8z%22/%3E%3C/svg%3E");
  background-size:44px 44px; background-position:0 0; }
body[class] .section-switch.to-character:hover, body[class] .section-switch.to-character:focus-visible { background:#ffd0a6; border-color:var(--ink); transform:translateY(-2px) rotate(0); box-shadow:0 5px 0 var(--ink); }
body[class] .section-switch.to-character:hover::before, body[class] .section-switch.to-character:focus-visible::before { opacity:1; animation:switch-sparkles 1.8s linear infinite; }
@keyframes switch-sparkles { from { background-position:0 0; } to { background-position:44px 44px; } }

/* gifts & souvenirs: the indigo cloth with its linked circles (ceramics & tableware keeps the wave label above) */
body[class] .section-switch.to-gift { position:relative; overflow:hidden; isolation:isolate; padding:6px 14px 5px; font-family:var(--font-kyokasho); font-weight:500; font-size:.9rem;
  letter-spacing:.04em; color:#fff; background:#1d3566; border:1px solid #1d3566; border-top:1px solid #1d3566; border-radius:4px; box-shadow:0 2px 6px rgba(29,53,102,.25);
  transition:transform .2s ease, box-shadow .2s ease; }
body[class] .section-switch.to-gift::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.28; background-color:transparent; transition:opacity .25s;
  background-image:radial-gradient(circle at 0 0, transparent 9px, #fff 9px 10px, transparent 10px), radial-gradient(circle at 100% 0, transparent 9px, #fff 9px 10px, transparent 10px),
    radial-gradient(circle at 0 100%, transparent 9px, #fff 9px 10px, transparent 10px), radial-gradient(circle at 100% 100%, transparent 9px, #fff 9px 10px, transparent 10px);
  background-size:20px 20px;
  -webkit-mask-image:linear-gradient(100deg, transparent 30%, #000 100%); mask-image:linear-gradient(100deg, transparent 30%, #000 100%); }
body[class] .section-switch.to-gift::after { content:none; }
body[class] .section-switch.to-gift:hover, body[class] .section-switch.to-gift:focus-visible { color:#fff; background:#1d3566; border-color:#1d3566; transform:translateY(-1px); box-shadow:0 6px 14px rgba(29,53,102,.34); }
body[class] .section-switch.to-gift:hover::before, body[class] .section-switch.to-gift:focus-visible::before { opacity:.6; animation:switch-cloth 2.4s linear infinite; }
@keyframes switch-cloth { from { background-position:0 0; } to { background-position:20px 20px; } }

/* Entry tiles at every width: the name always leaves room for the symbols in the tile's corner (Park 2026-11-25:
   with a narrow window the name ran under them — the room was only reserved in the four-in-a-row layout). */
.entry-door-character .entry-door-name { padding-right:112px; }
.entry-door-fancy .entry-door-name { padding-right:88px; }
.entry-door-ceramics .entry-door-name { padding-right:104px; }
.entry-door-stationery .entry-door-name { padding-right:46px; }
.entry-door .entry-door-name { line-height:1.25; }
/* below the four-in-a-row width the tiles can be as narrow as 270px: a slightly smaller name, so that a long word
   ("Stationery", "Tableware") stays whole beside the symbols */
@media (max-width: 1039px) {
  .entry-door .entry-door-name { font-size:1.3rem; }
}

/* =====================================================================================================
   Gifts & souvenirs side (code "gift", Park 2026-11-25): it shares the calm page look of ceramics & tableware (every
   "body.sec-ceramics" rule above also names body.sec-gift) with indigo in place of the deep blue, and the indigo
   cloth's linked circles on its home page instead of the waves.
   ===================================================================================================== */
body.sec-gift { --deep:#1d3566; --brand:#1d3566; --brand-dark:#14264d; --brand-tint:#e6eaf4; --brand-ink:#1d3566; }
body.sec-gift.page-home { background-color:var(--bg);
  background-image:radial-gradient(circle at 0 0, transparent 13px, rgba(29,53,102,.05) 13px 14.5px, transparent 14.5px), radial-gradient(circle at 100% 0, transparent 13px, rgba(29,53,102,.05) 13px 14.5px, transparent 14.5px),
    radial-gradient(circle at 0 100%, transparent 13px, rgba(29,53,102,.05) 13px 14.5px, transparent 14.5px), radial-gradient(circle at 100% 100%, transparent 13px, rgba(29,53,102,.05) 13px 14.5px, transparent 14.5px);
  background-size:28px 28px; }
.entry-door-gift .entry-door-name { padding-right:104px; }
/* five tiles: one row on a wide screen (three and two below that), with smaller wording */
.entry-doors:has(.entry-door-gift) { max-width:1240px; }
@media (min-width: 1200px) {
  .entry-doors:has(.entry-door-gift):has(.entry-door-fancy):has(.entry-door-stationery) { grid-template-columns:repeat(5, minmax(0, 1fr)); gap:14px; }
  .entry-doors:has(.entry-door-gift):has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-name { font-size:1.12rem; }
  .entry-doors:has(.entry-door-gift):has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-lead { font-size:.84rem; }
  .entry-doors:has(.entry-door-gift):has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-ceramics .entry-door-in { margin:12px; height:calc(100% - 24px); padding:14px 14px; }
  .entry-doors:has(.entry-door-gift):has(.entry-door-fancy):has(.entry-door-stationery) .entry-door-ceramics .entry-door-mark { right:22px; top:22px; }
}


/* Design clean-up, second round (2026-11-26): maker switcher label; phone header in two rows; filters behind a button */
.maker-label { font-size:.72rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.filters-toggle { display:none; }
@media (max-width: 640px) {
  /* row 1: logo, name, language · row 2: Enquiry list, categories, account */
  .site-header .header-row { gap:6px 10px; padding-top:8px; padding-bottom:6px; }
  .site-header .header-row .brand { flex:1 1 0; min-width:calc(100% - 132px); gap:8px; }
  .site-header .brand img { height:34px; }
  .site-header .brand-text b { font-size:.98rem; }
  .site-header .header-right { display:contents; }
  .site-header .lang-nav { order:1; margin-left:auto; }
  .site-header .header-right > :not(.lang-nav) { order:2; }
  .site-header .header-right .staff-bar { flex-basis:auto; margin-left:auto; }
  /* menu bar: the links scroll sideways on one line; the manufacturer switcher stays at the right */
  .main-nav-row { padding-top:6px; padding-bottom:6px; }
  .main-nav-row .main-nav-links { width:auto; flex:1 1 0; min-width:0; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
  .main-nav-row .maker-menu { flex:none; }
  .main-nav-row .maker-menu .maker-current { padding:6px 10px; }
  .main-nav-row .maker-menu .maker-label { display:none; }   /* phones: the links need the room */
  .main-nav-row .maker-menu .maker-current img, .main-nav-row .maker-menu .maker-current img.logo-square { max-width:64px; }
  .main-nav-row .maker-menu .maker-panel { left:auto; right:0; }
  /* filters */
  body .filters button.filters-toggle, body .filters button.filters-toggle:hover, body .filters button.filters-toggle:active {
    display:flex; align-items:center; gap:8px; width:100%; min-height:40px; padding:8px 12px; font-weight:600; font-size:.92rem;
    background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:var(--radius); box-shadow:none; transform:none;
  }
  .filters-toggle[hidden] { display:none !important; }
  .filters-toggle .chev { margin-left:auto; width:12px; height:12px; border-left:0; padding-left:0; }
  .filters-toggle .chev::before { width:6px; height:6px; border-right-width:2px; border-bottom-width:2px; }
  .filters-toggle[aria-expanded="true"] .chev::before { transform:translateY(2px) rotate(225deg); }
  .filters-n { min-width:20px; padding:0 6px; border-radius:999px; background:var(--ink); color:#fff; font-size:.75rem; line-height:20px; text-align:center; }
  .filters.can-collapse:not(.is-open) .filter-row { display:none; }
}

/* Inner pages carry their side's accent (2026-11-26): a bar beside the page title, the current page number, the
   Cards / Table switch and a faint tint in the filter box. Colour only — no patterns away from the home pages. */
body.sec-character { --accent:var(--tangerine); --accent-ink:#14213d; }
body.sec-fancy { --accent:var(--thread-dark); --accent-ink:#fff; }
body.sec-ceramics, body.sec-gift { --accent:var(--deep); --accent-ink:#fff; }
body.sec-stationery { --accent:var(--pencil); --accent-ink:#fff; }
body[class*="sec-"] .page-head h1 { padding-left:12px; border-left:4px solid var(--accent); }
body[class*="sec-"] .pager-pages b, body[class*="sec-"] .view-toggle a.active { background:var(--accent); border-color:var(--accent); color:var(--accent-ink); }
body[class*="sec-"] .filters { background:color-mix(in srgb, var(--brand-tint) 45%, #fff); }

/* Category list: every tile the same height and text size, whatever its own look (placed last so it wins) */
body[class] .section-panel .section-switch { display:flex; align-items:center; box-sizing:border-box; min-height:46px; padding-top:0; padding-bottom:0; font-size:1rem; line-height:1.2; border-width:2px; }

/* ---- "How to order" help bubble (templates/help_bubble.php): a round button in the corner and its speech bubble ---- */
.help { position:fixed; right:16px; bottom:16px; z-index:60; }
.help-btn { list-style:none; display:inline-flex; align-items:center; gap:8px; cursor:pointer; padding:9px 14px 9px 10px; border-radius:999px;
  background:#fff; color:var(--ink); border:3px solid var(--ink); box-shadow:4px 3px 0 var(--ink); font-weight:700; font-size:.92rem;
  transition:transform .08s, box-shadow .08s; user-select:none; }
.help-btn::-webkit-details-marker { display:none; }
.help-btn:hover { transform:translate(1px,1px); box-shadow:3px 2px 0 var(--ink); }
.help[open] > .help-btn { transform:translate(4px,3px); box-shadow:none; background:var(--yellow); }
.help-btn:focus-visible { outline:3px solid var(--brand); outline-offset:3px; }
.help-ico { width:26px; height:26px; flex:none; }
.help-btn-text { white-space:nowrap; }
.help-pop { position:absolute; right:0; bottom:calc(100% + 16px); width:min(360px, calc(100vw - 32px)); max-height:calc(100vh - 110px); overflow:auto;
  background:#fff; color:var(--ink); border:3px solid var(--ink); border-radius:16px; box-shadow:5px 4px 0 var(--ink); padding:14px 16px 12px; }
.help-pop::after { content:""; position:absolute; right:34px; bottom:-13px; width:20px; height:20px; background:#fff;
  border-right:3px solid var(--ink); border-bottom:3px solid var(--ink); transform:rotate(45deg); }
/* with the script: the heading, the two tabs and the closing note stay put; the chosen guide scrolls between them */
.help-js .help-pop { overflow:visible; display:flex; flex-direction:column; }
.help-js .help-guide { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-right:6px; margin-right:-6px; scrollbar-width:thin; }
.help-js[open] .help-guide { max-height:calc(100vh - 300px); }
.help-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.help-title { margin:0; font-size:1.05rem; font-weight:800; }
.help-close { border:0; background:none; font-size:1.5rem; line-height:1; padding:2px 6px; cursor:pointer; color:var(--ink); border-radius:6px; }
.help-close:hover { background:var(--brand-tint); }
.help-close[hidden], .help-tabs[hidden], .help-guide[hidden] { display:none; }
.help-hi { margin:4px 0 10px; font-size:.88rem; color:var(--ink2); }
.help-tabs { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:10px; }
.help-tab { padding:7px 6px; border:1.5px solid var(--ink); border-radius:999px; background:#fff; color:var(--ink); font:inherit; font-size:.84rem; font-weight:700; cursor:pointer; }
.help-tab[aria-pressed="true"] { background:var(--ink); color:#fff; }
.help-guide-title { margin:12px 0 6px; font-size:.95rem; }
.help-js .help-guide-title { display:none; }
.help-steps { list-style:none; margin:0; padding:0; }
.help-step { margin:0 0 18px; padding-bottom:16px; border-bottom:1px dashed var(--line); }
.help-step:last-child { margin-bottom:4px; padding-bottom:0; border-bottom:0; }
.help-pic { background:var(--bg); border:1px solid var(--line); border-radius:12px; padding:6px; }
.help-svg { display:block; width:100%; height:auto; font-family:inherit; }
.help-step-title { margin:0 0 6px; font-weight:800; font-size:.98rem; display:flex; align-items:center; gap:8px; }
.help-num { display:inline-grid; place-items:center; width:24px; height:24px; flex:none; border-radius:50%; background:var(--brand); color:#fff; font-size:.85rem; }
.help-step-text { margin:6px 0 0; font-size:.9rem; color:var(--ink2); }
.help-note { margin:10px 0 0; padding-top:8px; border-top:1px solid var(--line); font-size:.78rem; color:var(--muted); }
@media (max-width:520px) { .help { right:12px; bottom:12px; } .help-btn-text { display:none; } .help-btn { padding:8px; } .help-pop::after { right:14px; } }
@media (prefers-reduced-motion: reduce) { .help-btn { transition:none; } }
@media print { .help { display:none; } }
