
:root {
  --paper: #F7F9FD;
  --surface: #FFFFFF;
  --ink: #26304A;
  --muted: #6E7790;
  --line: #E3E8F2;
  --brand: #1F5BC6;
  --logo: #004AAD;        /* darkest blue of the logo (lettering) */
  --brand-deep: #134199;
  --on-brand: #FFFFFF;
  --sky: #E8F0FF;
  --peach: #FFE9DE;
  --mint: #DFF5EC;
  --butter: #FFF4CF;
  --lilac: #EEE8FF;
  --shadow: 0 10px 28px -18px rgba(31, 60, 120, .45);
  --round: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "M PLUS Rounded 1c", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 3.5vw, 32px);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121827; --surface: #1A2235; --ink: #E9EDF7; --muted: #A5AEC4; --line: #2A3450;
    --brand: #82A8F5; --brand-deep: #A6C1F8; --on-brand: #121827; --logo: #E9EDF7;
    --sky: #1F2B47; --peach: #3A2A2A; --mint: #1E3532; --butter: #38331E; --lilac: #2B2747;
    --shadow: 0 10px 28px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121827; --surface: #1A2235; --ink: #E9EDF7; --muted: #A5AEC4; --line: #2A3450;
  --brand: #82A8F5; --brand-deep: #A6C1F8; --on-brand: #121827; --logo: #E9EDF7;
  --sky: #1F2B47; --peach: #3A2A2A; --mint: #1E3532; --butter: #38331E; --lilac: #2B2747;
  --shadow: 0 10px 28px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lamp, :root:not([data-theme="light"]) .sec-head h2::before { filter: brightness(1.5); } }
:root[data-theme="dark"] .lamp, :root[data-theme="dark"] .sec-head h2::before { filter: brightness(1.5); }
html:not([data-lang="en"]) [data-l="en"], html[data-lang="en"] [data-l="sr"] { display: none !important; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--round); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: .01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; letter-spacing: .02em; }
.muted { color: var(--muted); }

/* header */
.top-note { background: var(--brand); color: var(--on-brand); font-size: 13px; text-align: center; padding: 6px var(--gutter); }
.top-note b { font-weight: 700; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.lamp { width: 24px; height: 40px; background: url("lamp.png") center / contain no-repeat; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name b { font-family: var(--round); font-size: 18px; letter-spacing: .14em; color: var(--logo); }
.brand-name small { font-size: 9.5px; letter-spacing: .3em; color: var(--muted); }
.search { position: relative; flex: 1; max-width: 460px; margin-left: auto; }
.search input { width: 100%; border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 10px 16px 10px 40px; font-size: 14px; }
.search input:focus { border-color: var(--brand); outline: none; background: var(--surface); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow); padding: 6px; max-height: 420px; overflow: auto; z-index: 40; }
.search-results a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; }
.search-results a:hover, .search-results a.on { background: var(--sky); }
.search-results img { width: 44px; height: 44px; object-fit: contain; background: var(--paper); border-radius: 8px; }
.search-results .sr-name { font-size: 13.5px; line-height: 1.35; }
.search-results .empty { padding: 10px; color: var(--muted); font-size: 13.5px; }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { display: flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; background: var(--brand); color: var(--on-brand); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--on-brand); color: var(--brand); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; white-space: nowrap; padding: 11px 13px; font-size: 13.5px; font-weight: 500; color: var(--muted); border-bottom: 2.5px solid transparent; }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
@media (min-width: 1000px) { .cat-nav ul { justify-content: space-between; } .cat-nav a { padding-inline: 8px; } }
@media (max-width: 999px) {
  .cat-nav .wrap { position: relative; }
  .cat-nav .wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 36px; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--surface)); }
}
@media (max-width: 640px) { .tn-long { display: none; } }
@media (max-width: 760px) {
  .hdr { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .cart-btn .cart-label { display: none; }
}

/* buttons, chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 15px;
  border: 2px solid var(--brand); cursor: pointer; transition: transform .12s ease, background .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn-soft { background: var(--sky); color: var(--brand); border-color: transparent; }
.btn-soft:hover { border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; cursor: pointer; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 11.5px; font-weight: 700; background: var(--butter); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* home */
.hero { position: relative; max-width: 1440px; margin-inline: auto; padding: 0 0 8px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  background: var(--surface); border-bottom: 1px solid var(--line); }
.slides::-webkit-scrollbar { display: none; }
/* full 16:9 photo, caption bar underneath so nothing in the picture is covered or cropped */
.slide { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky); }
.slide-img { display: block; }
.hero-arrow { display: none; }
/* desktop: 2:1 (trims ~5% top and bottom), never wider than 1440 px so it stays inside one screen */
@media (min-width: 900px) {
  .slide img { aspect-ratio: 2 / 1; }
  .hero-arrow { display: grid; place-items: center; position: absolute; z-index: 2; top: calc(min(100vw, 1440px) / 4); transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; color: var(--ink);
    background: color-mix(in srgb, var(--surface) 86%, transparent); box-shadow: var(--shadow); transition: background .15s, color .15s; }
  .hero-arrow:hover { background: var(--surface); color: var(--brand); }
  .hero-arrow svg { width: 22px; height: 22px; }
  .hero-arrow.prev { left: 18px; } .hero-arrow.next { right: 18px; }
}
@media (min-width: 1480px) {
  .hero { padding-top: 20px; }
  .slides { border: 1px solid var(--line); border-radius: var(--r-lg); }
  .hero-arrow { top: 380px; }
}
.slide-card { padding-block: 16px 18px; }
.slide-card .cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; align-items: center; }
.slide-card h2 { font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.3; grid-column: 1; }
.slide-card p { color: var(--muted); font-size: 14.5px; grid-column: 1; }
.slide-card .cap > div { grid-column: 2; grid-row: 1 / span 2; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--brand); width: 26px; }
@media (max-width: 640px) {
  .slide-card { padding-block: 14px 16px; }
  .slide-card .cap { grid-template-columns: minmax(0, 1fr); }
  .slide-card .cap > div { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .slide-card p { font-size: 13.5px; }
}
.perks { padding-top: 18px; }
.perk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.perk-list li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; min-width: 0; }
.pk-ic { flex: none; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; color: var(--brand); }
.pk-ic svg { width: 22px; height: 22px; }
.perk-list b { display: block; font-family: var(--round); font-size: 14.5px; line-height: 1.35; }
.perk-list small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 900px) { .perk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 480px) { .perk-list li { padding: 10px 12px; gap: 10px; } .pk-ic { width: 36px; height: 36px; } .pk-ic svg { width: 19px; height: 19px; }
  .perk-list b { font-size: 13px; } .perk-list small { font-size: 11.5px; } }
.section { padding-block: clamp(36px, 5vw, 64px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); display: flex; align-items: center; gap: 10px; }
.sec-head h2::before { content: ""; flex: none; width: 15px; height: 25px; background: url("lamp.png") center / contain no-repeat; }
.sec-head p { color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.cat-tile { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 14px 10px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; min-width: 0; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile .pic { width: 100%; aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.cat-tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-tile:hover .pic img { transform: scale(1.05); }
.cat-tile .pic.empty { font-family: var(--round); font-size: 28px; color: var(--brand); }
.cat-tile b { font-family: var(--round); font-size: 14px; line-height: 1.35; }
.cat-tile small { color: var(--muted); font-size: 12px; }
.bg-0 { background: var(--sky); } .bg-1 { background: var(--peach); } .bg-2 { background: var(--mint); } .bg-3 { background: var(--butter); } .bg-4 { background: var(--lilac); }
@media (max-width: 1000px) { .cat-grid { gap: 10px; } .cat-tile b { font-size: 13px; } }
/* phones: compact two-column list, picture left */
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-tile { grid-template-columns: 54px minmax(0, 1fr); grid-template-rows: auto auto; justify-items: start; text-align: left; align-content: center; column-gap: 10px; row-gap: 0; padding: 8px; }
  .cat-tile .pic { grid-row: 1 / span 2; width: 54px; border-radius: 10px; }
  .cat-tile b { font-size: 12.5px; align-self: end; }
  .cat-tile small { font-size: 11.5px; align-self: start; }
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.step .num { width: 34px; height: 34px; border-radius: 999px; background: var(--sky); color: var(--brand); display: grid; place-items: center; font-family: var(--round); font-weight: 700; }
.step h3 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.panel { border-radius: var(--r-lg); padding: clamp(20px, 3.4vw, 34px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.panel h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.panel p { color: var(--muted); }
.panel .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hours { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.hours td { padding: 7px 0; border-bottom: 1px dashed color-mix(in srgb, var(--ink) 18%, transparent); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* listing */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a:hover { color: var(--brand); }
.page-head { padding-block: 10px 22px; display: grid; gap: 8px; max-width: 760px; }
.page-head h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.page-head p { color: var(--muted); }
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.side { position: sticky; top: 130px; display: grid; gap: 2px; font-size: 14px; }
.side h2 { font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.side a { padding: 7px 12px; border-radius: 10px; display: flex; justify-content: space-between; gap: 8px; }
.side a:hover { background: var(--sky); }
.side a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.side a span.n { color: var(--muted); font-size: 12px; }
.side a[aria-current="page"] span.n { color: inherit; opacity: .7; }
@media (max-width: 900px) { .layout { grid-template-columns: minmax(0, 1fr); } .side { display: none; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grid.home-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid, .grid.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid, .grid.home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card .ask { display: none; } .card .foot { justify-content: flex-end; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .15s, transform .15s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ph { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.card:hover .ph img { transform: scale(1.04); }
.card .ph { position: relative; }
.badge-out { position: absolute; left: 10px; top: 10px; background: var(--peach); color: var(--ink); font-size: 11.5px; font-weight: 700; line-height: 1.4; border-radius: 999px; padding: 3px 10px; }
.card h3 a:hover { color: var(--brand); }
.card .ph.cover img { object-fit: cover; }
.noimg { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-size: 12.5px; background: var(--sky); }
.noimg .lamp { width: 30px; height: 50px; margin: 0 auto 8px; opacity: .5; }
.card .body { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: space-between; }
.card .code { font-size: 11.5px; color: var(--muted); }
.card h3 { font-family: var(--body); font-weight: 700; font-size: 14px; line-height: 1.4; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; }
.card .ask { font-size: 12px; color: var(--muted); }
.add-mini { border: 0; background: var(--sky); color: var(--brand); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.add-mini:hover { background: var(--brand); color: var(--on-brand); }
.add-mini.done { background: var(--mint); color: var(--ink); }
.note-box { background: var(--butter); border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; justify-items: start; }

/* product */
.prod { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); padding-block: 10px 40px; align-items: start; }
.gallery { display: grid; gap: 12px; min-width: 0; }
.gallery .main { aspect-ratio: 1; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 0; overflow: hidden; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy { display: grid; gap: 16px; min-width: 0; }
.buy h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; }
.price-note { background: var(--sky); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.price-note b { font-family: var(--round); color: var(--brand); font-size: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field select, .field input, .field textarea { border: 1.5px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 11px 14px; font-size: 15px; width: 100%; }
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { width: 40px; height: 42px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--brand); }
.qty input { width: 64px; border: 0; text-align: center; font-size: 16px; font-weight: 700; padding: 0; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.added { font-size: 14px; color: var(--brand); font-weight: 700; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 12px; }
.contact-quick { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); align-items: center; }
.contact-quick a { color: var(--brand); font-weight: 700; }
.mini-perks { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 6px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-sm); font-size: 13.5px; color: var(--muted); }
.mini-perks li { display: flex; align-items: center; gap: 9px; }
.mini-perks svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
@media (max-width: 860px) { .prod { grid-template-columns: minmax(0, 1fr); } }

/* inquiry */
.inq { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.inq-list { display: grid; gap: 12px; min-width: 0; }
.inq-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.inq-item img, .inq-item .noimg { width: 76px; height: 76px; object-fit: contain; border-radius: 12px; background: #fff; }
.inq-item h3 { font-family: var(--body); font-size: 14.5px; }
.inq-item .meta { font-size: 12.5px; color: var(--muted); }
.inq-ctrl { display: grid; gap: 6px; justify-items: end; }
.remove { border: 0; background: none; color: var(--muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.empty-box { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-md); padding: 34px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; position: sticky; top: 130px; }
.form-card h2 { font-size: 20px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.send-alt { display: grid; gap: 8px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.send-alt .row { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; }
.msg.ok { background: var(--mint); }
.msg.warn { background: var(--peach); }
@media (max-width: 900px) { .inq { grid-template-columns: minmax(0, 1fr); } .form-card { position: static; } .two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .inq-item { grid-template-columns: 64px minmax(0, 1fr); }
  .inq-item img, .inq-item .noimg { width: 64px; height: 64px; }
  .inq-ctrl { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .slide-card .btn { padding: 10px 18px; }
}

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 40px 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 24px; }
.foot-grid h3 { font-size: 14px; margin-bottom: 8px; }
.foot-brand { display: flex; align-items: center; gap: 8px; letter-spacing: .08em; }
.foot-brand .lamp { width: 13px; height: 22px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--muted); }
.foot-grid a:hover { color: var(--brand); }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
