/* =========================================================
   ART IN HEART - STYLESHEET
   Simple, classic gallery style. Plain colours (no variables)
   so it displays the same in Dreamweaver Design view.
   Main colours:  text #1d1c1a · grey #6f6a63 · lines #e3e0db
                  soft background #f6f4f1 · brass accent #8a6a3d
   ========================================================= */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #1d1c1a;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1d1c1a; }
a:hover { color: #8a6a3d; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { background: #1d1c1a; color: #ffffff; font-size: 12px; text-align: center; padding: 7px 16px; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid #e3e0db; background: #ffffff; position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 8px; gap: 16px; }
.logo { text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 30px; letter-spacing: 0.06em; white-space: nowrap; line-height: 1; text-align: center; }
.logo span { display: block; font-family: "Helvetica Neue", Arial, sans-serif; font-size: 9px; letter-spacing: 0.32em; color: #6f6a63; margin-top: 4px; }
.header-search { display: flex; border: 1px solid #e3e0db; width: 260px; }
.header-search input { border: 0; padding: 8px 10px; font-size: 13px; width: 100%; outline: none; }
.header-search button { border: 0; background: #ffffff; padding: 0 12px; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.header-side { width: 260px; text-align: right; font-size: 12px; color: #6f6a63; }
.header-side .upload-link { font-size: 12px; font-weight: bold; letter-spacing: 0.12em; text-transform: uppercase; color: #1d1c1a; }
.header-side small, .owner-note { display: block; font-size: 11px; color: #a29d96; font-style: italic; letter-spacing: 0.02em; margin-top: 2px; }
.owner-note { margin: 0 0 8px; font-size: 13px; }
.new-label { position: absolute; left: 10px; top: 10px; background: #8a6a3d; color: #ffffff; font-size: 10px; letter-spacing: 0.14em; padding: 3px 8px; }
.menu-toggle { display: none; background: none; border: 1px solid #1d1c1a; padding: 8px 12px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer; }

/* ---------- Main menu (dropdowns open on hover, no JavaScript needed) ---------- */
.main-menu ul { list-style: none; margin: 0; padding: 0; }
.main-menu > ul { display: flex; justify-content: center; }
.main-menu > ul > li { position: relative; }
.main-menu > ul > li > a {
  display: block; padding: 10px 18px 14px; text-decoration: none;
  font-size: 12px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.main-menu > ul > li > a:hover, .main-menu > ul > li > a.current { border-bottom-color: #1d1c1a; color: #1d1c1a; }
.main-menu .submenu {
  display: none; position: absolute; left: 0; top: 100%; min-width: 220px;
  background: #ffffff; border: 1px solid #e3e0db; box-shadow: 0 10px 30px rgba(0,0,0,0.10); padding: 10px 0; z-index: 60;
}
.main-menu li:hover > .submenu, .main-menu li:focus-within > .submenu { display: block; }
.main-menu .submenu a { display: block; padding: 8px 20px; text-decoration: none; font-size: 14px; }
.main-menu .submenu a:hover { background: #f6f4f1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; background: #1d1c1a; color: #ffffff; border: 1px solid #1d1c1a;
  font-size: 12px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #3a3835; color: #ffffff; }
.btn-outline { background: #ffffff; color: #1d1c1a; }
.btn-outline:hover { background: #f6f4f1; color: #1d1c1a; }
.btn-full { display: block; width: 100%; text-align: center; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero { display: flex; background: #f6f4f1; margin: 28px 0 0; }
.hero-image { flex: 1.2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-text { flex: 1; padding: 56px; align-self: center; }
.eyebrow { font-size: 11px; font-weight: bold; letter-spacing: 0.2em; text-transform: uppercase; color: #6f6a63; margin-bottom: 10px; }
.lead { font-size: 17px; color: #6f6a63; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-title { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid #e3e0db; padding-bottom: 12px; margin-bottom: 28px; }
.section-title h2 { margin: 0; }
.section-title a { font-size: 12px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; }
.page-head { padding: 40px 0 10px; }
.breadcrumb { font-size: 12px; color: #6f6a63; padding-top: 18px; }

/* ---------- Category tiles ---------- */
.category-list { display: flex; flex-wrap: wrap; gap: 20px; }
.category-tile { flex: 1 1 180px; text-decoration: none; }
.category-tile img { width: 100%; height: 220px; object-fit: cover; background: #f6f4f1; }
.category-tile strong { display: block; font-family: Georgia, serif; font-weight: normal; font-size: 20px; margin-top: 10px; }
.category-tile small { color: #6f6a63; }

/* ---------- Search & filter bar (artworks page) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px 0 26px; }
.filter-bar input { flex: 1 1 260px; border: 1px solid #1d1c1a; padding: 12px 14px; font-size: 15px; }
.filter-bar a { border: 1px solid #e3e0db; padding: 8px 14px; font-size: 12px; text-decoration: none; letter-spacing: 0.06em; }
.filter-bar a:hover { border-color: #1d1c1a; }
.search-empty { display: none; padding: 40px 0; text-align: center; color: #6f6a63; }

/* ---------- ARTWORK CARD ---------- */
.artwork-grid { display: flex; flex-wrap: wrap; gap: 40px 28px; }
.artwork { width: calc(33.333% - 19px); scroll-margin-top: 160px; }
.art-image { display: flex; align-items: center; justify-content: center; background: #f6f4f1; height: 340px; padding: 28px; cursor: zoom-in; position: relative; }
.art-image img { max-height: 100%; width: auto; max-width: 100%; box-shadow: 0 8px 22px rgba(0,0,0,0.22); }
.art-image .zoom-label { position: absolute; right: 10px; bottom: 10px; background: #ffffff; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid #e3e0db; }
.art-artist { font-size: 11px; font-weight: bold; letter-spacing: 0.16em; text-transform: uppercase; margin: 14px 0 2px; }
.art-title { font-style: italic; margin: 0 0 4px; }
.art-details { font-size: 13px; color: #6f6a63; margin: 0 0 6px; }
.art-price { font-weight: bold; font-size: 17px; margin: 0; }
.art-code { font-family: "Courier New", Courier, monospace; font-size: 12px; color: #6f6a63; margin: 0 0 12px; letter-spacing: 0.05em; }
.art-more { font-size: 13px; color: #6f6a63; margin-bottom: 12px; border-top: 1px solid #e3e0db; padding-top: 8px; }
.art-more summary { cursor: pointer; font-weight: bold; color: #1d1c1a; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.art-more p { margin: 8px 0 0; }
.artwork.sample .buy { opacity: 0.5; pointer-events: none; }
.artwork.sold .buy { opacity: 0.4; pointer-events: none; }
.artwork.sold .art-price:after { content: " · SOLD"; color: #a33a2c; font-size: 12px; letter-spacing: 0.1em; }
.artwork.highlight .art-image { outline: 2px solid #8a6a3d; }

/* ---------- Artists page ---------- */
.artist-row { display: flex; gap: 32px; padding: 28px 0; border-bottom: 1px solid #e3e0db; align-items: center; }
.artist-row .thumb { width: 180px; flex: none; background: #f6f4f1; padding: 16px; }
.artist-row .info { flex: 1; }
.artist-row .meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #6f6a63; margin-bottom: 6px; }

/* ---------- Text pages ---------- */
.two-columns { display: flex; gap: 56px; padding: 40px 0 60px; }
.two-columns > div { flex: 1; }
.text-page { max-width: 680px; font-size: 16px; }

/* ---------- About: FAQs ---------- */
.about-block { padding: 28px 0; scroll-margin-top: 150px; }
.faq { border-bottom: 1px solid #e3e0db; padding: 14px 0; }
.faq summary { cursor: pointer; font-family: Georgia, serif; font-size: 18px; }
.faq p { margin: 10px 0 0; color: #4a4743; }
.text-page ul { padding-left: 20px; margin: 0 0 14px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 11px; font-weight: bold; letter-spacing: 0.12em; text-transform: uppercase; color: #6f6a63; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #d6d2cc; padding: 11px 12px; font-size: 15px; font-family: inherit; background: #ffffff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #1d1c1a; outline: none; }
.form-field.error input, .form-field.error textarea { border-color: #a33a2c; }
.form-row { display: flex; gap: 14px; }
.form-row .form-field { flex: 1; }
.form-error { color: #a33a2c; font-size: 14px; min-height: 20px; }
.form-hint { font-size: 13px; color: #6f6a63; }
.check-line { display: flex; gap: 10px; font-size: 14px; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #f6f4f1; border-top: 1px solid #e3e0db; margin-top: 40px; font-size: 14px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px; padding: 44px 0; }
.footer-cols > div { flex: 1 1 180px; }
.footer-cols h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 12px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { text-decoration: none; color: #6f6a63; }
.footer-cols a:hover { color: #1d1c1a; }
.copyright { border-top: 1px solid #e3e0db; padding: 16px 0; font-size: 12px; color: #6f6a63; }

/* ---------- Pop-up window (checkout) - created by js/site.js ---------- */
.popup-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,14,13,0.6); z-index: 100; overflow-y: auto; padding: 24px 16px; }
.popup { background: #ffffff; max-width: 960px; margin: 0 auto; }
.popup-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e3e0db; }
.popup-head h3 { margin: 0; }
.popup-body { padding: 24px; }
.steps { display: flex; border-bottom: 1px solid #e3e0db; margin-bottom: 22px; }
.steps span { flex: 1; font-size: 11px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; color: #a29d96; padding-bottom: 10px; }
.steps span.on { color: #1d1c1a; border-bottom: 2px solid #1d1c1a; }
.checkout { display: flex; gap: 32px; align-items: flex-start; }
.checkout-main { flex: 1.3; min-width: 0; }
.order-summary { flex: 1; background: #f6f4f1; padding: 20px; min-width: 0; }
.order-summary img { width: 100%; max-height: 220px; object-fit: contain; background: #ffffff; padding: 10px; margin-bottom: 14px; }
.order-summary table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-summary td { padding: 6px 0; border-bottom: 1px solid #e3e0db; vertical-align: top; }
.order-summary td:first-child { color: #6f6a63; width: 42%; }
.order-summary .total td { font-weight: bold; font-size: 16px; border-bottom: 0; padding-top: 12px; color: #1d1c1a; }
.receipt { background: #ffffff; border: 1px dashed #b9b4ac; padding: 14px 16px; margin-top: 16px; font-family: "Courier New", Courier, monospace; font-size: 13px; }
.receipt-head { text-align: center; font-weight: bold; letter-spacing: 0.12em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px dashed #b9b4ac; }
.receipt-head span { font-weight: normal; letter-spacing: 0.04em; color: #6f6a63; }
.receipt-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.receipt-line span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.receipt-total { border-top: 1px dashed #b9b4ac; margin-top: 6px; padding-top: 8px; font-weight: bold; font-size: 15px; }
.qr-box { text-align: center; border: 1px solid #e3e0db; padding: 22px; }
.qr-box img { width: 260px; max-width: 100%; margin: 12px auto; }
.ref-code { display: inline-block; font-family: "Courier New", monospace; font-size: 18px; background: #f6f4f1; padding: 8px 14px; letter-spacing: 0.06em; margin: 6px 0 10px; user-select: all; }
.note-box { background: #f6f4f1; border-left: 3px solid #8a6a3d; padding: 12px 14px; font-size: 14px; margin: 14px 0; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #2f6b45; color: #2f6b45; font-size: 28px; line-height: 52px; text-align: center; margin-bottom: 14px; }
pre.order-text { background: #f6f4f1; padding: 14px; font-size: 13px; white-space: pre-wrap; font-family: "Courier New", monospace; }

/* ---------- Zoom viewer - created by js/site.js ---------- */
.zoom-viewer { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #0d0c0b; z-index: 120; overflow: hidden; touch-action: none; cursor: grab; }
.zoom-viewer img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.zoom-tools { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: #ffffff; display: flex; z-index: 2; }
.zoom-tools button { border: 0; background: #ffffff; width: 46px; height: 40px; font-size: 18px; cursor: pointer; }
.zoom-tools span { min-width: 64px; text-align: center; line-height: 40px; font-size: 12px; }
.zoom-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: #ffffff; border: 0; padding: 10px 14px; font-weight: bold; font-size: 12px; letter-spacing: 0.12em; cursor: pointer; }
.zoom-caption { position: absolute; top: 18px; left: 18px; color: #eeeeee; font-size: 14px; z-index: 2; }

/* ---------- Upload tool (upload.html) ---------- */
.upload-box { border: 1px dashed #a29d96; background: #f6f4f1; text-align: center; padding: 36px 20px; }
.upload-box input[type=file] { display: none; }
.editor { display: flex; gap: 28px; align-items: flex-start; }
.editor-left { flex: 1.4; min-width: 0; }
.editor-right { flex: 1; min-width: 0; }
.crop-area { position: relative; background: #1d1c1a; display: flex; justify-content: center; overflow: hidden; touch-action: none; user-select: none; }
.crop-area canvas { display: block; max-width: 100%; }
.crop-box { position: absolute; border: 1px solid #ffffff; box-shadow: 0 0 0 9999px rgba(0,0,0,0.55); cursor: move; }
.crop-box .handle { position: absolute; width: 22px; height: 22px; background: #ffffff; border: 2px solid #1d1c1a; }
.crop-box .nw { left: -11px; top: -11px; } .crop-box .ne { right: -11px; top: -11px; }
.crop-box .sw { left: -11px; bottom: -11px; } .crop-box .se { right: -11px; bottom: -11px; }
.tool-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tool-buttons button { border: 1px solid #d6d2cc; background: #ffffff; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.tool-buttons button.on { background: #1d1c1a; color: #ffffff; border-color: #1d1c1a; }
.slider { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.slider label { width: 90px; }
.slider input { flex: 1; accent-color: #8a6a3d; }
.slider output { width: 36px; text-align: right; color: #6f6a63; }
textarea.code-out { width: 100%; height: 220px; font-family: "Courier New", monospace; font-size: 12px; border: 1px solid #d6d2cc; padding: 10px; }

/* ---------- Toast message ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1d1c1a; color: #ffffff; padding: 12px 20px; z-index: 200; font-size: 14px; }

/* =========================================================
   TABLET & PHONE
   ========================================================= */
@media (max-width: 960px) {
  .artwork { width: calc(50% - 14px); }
  .header-search, .header-side { width: auto; }
  .header-side { width: auto; }
  .hero { flex-direction: column; }
  .hero-text { padding: 32px 24px; }
}
@media (max-width: 760px) {
  h1 { font-size: 34px; }
  .container { padding: 0 16px; }
  .header-row { flex-wrap: wrap; }
  .logo { font-size: 22px; }
  .header-search { order: 3; width: 100%; }
  .header-side { order: 4; width: 100%; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .header-side small { margin: 0; }
  .menu-toggle { display: block; }
  .main-menu { display: none; }
  .main-menu.open { display: block; }
  .main-menu > ul { flex-direction: column; }
  .main-menu > ul > li > a { padding: 12px 0; border-bottom: 1px solid #e3e0db; }
  .main-menu .submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
  .main-menu .submenu a { padding: 6px 0; }
  .artwork-grid { gap: 32px 14px; }
  .art-image { height: 220px; padding: 14px; }
  .two-columns, .checkout, .editor, .form-row { flex-direction: column; gap: 0; }
  .two-columns { gap: 28px; }
  .checkout { gap: 20px; }
  .order-summary { width: 100%; }
  .artist-row { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 460px) {
  .art-image { height: 170px; }
  .art-title { font-size: 18px; }
}

/* ---------- Best sellers (home page) ---------- */
.best-tile { flex: 0 1 calc(25% - 15px); min-width: 160px; }
.sold-tag { color: #9a3b2b; letter-spacing: 0.08em; }
@media (max-width: 640px) { .best-tile { flex-basis: calc(50% - 10px); } }

/* ---------- Owner page: best sellers + statistics ---------- */
.best-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; margin: 10px 0 16px; }
.best-pick label { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #e3e0db; }
.best-pick small { color: #6f6a63; margin-left: auto; font-variant-numeric: tabular-nums; }
.stat-range { display: flex; gap: 6px; }
.stat-range button { border: 1px solid #d8d4cd; background: #fff; padding: 6px 12px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.stat-range button[aria-pressed="true"] { background: #1d1c1a; color: #fff; border-color: #1d1c1a; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 6px 0 22px; }
.kpi { border: 1px solid #e3e0db; padding: 14px 16px; background: #fff; }
.kpi span { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6f6a63; }
.kpi b { display: block; font-family: Georgia, serif; font-weight: normal; font-size: 32px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi small { color: #6f6a63; font-size: 12px; }
.chart-box { border: 1px solid #e3e0db; background: #fff; padding: 14px 16px 8px; position: relative; margin-bottom: 22px; }
.chart-box h3 { margin: 0 0 4px; font-size: 15px; }
.chart-legend { display: flex; gap: 16px; font-size: 13px; color: #6f6a63; margin-bottom: 4px; }
.chart-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.chart-tip { position: absolute; pointer-events: none; background: #1d1c1a; color: #fff; font-size: 12px; padding: 6px 9px; border-radius: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.bars { border: 1px solid #e3e0db; background: #fff; padding: 14px 16px; }
.bars h3 { margin: 0 0 10px; font-size: 15px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; font-size: 14px; margin-bottom: 9px; }
.bar-row .track { grid-column: 1 / -1; height: 6px; background: #f1eee9; border-radius: 3px; }
.bar-row .fill { height: 6px; background: #2f6fb0; border-radius: 3px; }
.bar-row b { font-variant-numeric: tabular-nums; font-weight: 600; }
.report-table { border-collapse: collapse; font-size: 13px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.report-table th, .report-table td { border-bottom: 1px solid #e3e0db; padding: 4px 14px 4px 0; text-align: left; }

/* ---------- Sales and discounts ---------- */
.art-price .was { color: #8a857d; font-weight: normal; }
.art-price .sale-price { color: #a33a2c; }
.sale-badge { display: inline-block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: #a33a2c; color: #fff; padding: 2px 6px; vertical-align: 2px; margin-left: 4px; }
.sale-bar { background: #a33a2c; color: #fff; text-align: center; font-size: 13px; letter-spacing: 0.04em; padding: 8px 16px; }
.sale-bar span { opacity: 0.85; }
.receipt-discount span:last-child { color: #a33a2c; }
.disc-list .disc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid #e3e0db; align-items: center; }
.disc .chip { display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; margin-left: 6px; }
.chip.running { color: #2f6b45; } .chip.scheduled { color: #8a6a3d; } .chip.ended, .chip.off { color: #8a857d; }
.disc .meta { color: #6f6a63; font-size: 14px; }
.disc-form { border: 1px solid #e3e0db; background: #fbfaf8; padding: 18px; margin: 14px 0 22px; }
.disc-form .form-row { align-items: end; }
.disc-kinds { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.disc-kinds button { border: 1px solid #d8d4cd; background: #fff; padding: 8px 14px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.disc-kinds button[aria-pressed="true"] { background: #1d1c1a; color: #fff; border-color: #1d1c1a; }
.mediums-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 14px; }

.owner-edit { display: block; text-align: center; margin-top: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #8a6a3d; }
.form-field label.check-line { display: flex; gap: 8px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: normal; color: inherit; }
.form-field label.check-line input { width: auto; margin: 0; }

/* ---------- View on your wall (AR) - created by js/ar.js ---------- */
.ar-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 2px 0; margin: 0 0 8px; font: inherit; font-size: 12px; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a3d; cursor: pointer; }
.ar-btn svg { width: 16px; height: 16px; }
.ar-btn:hover { color: #1d1c1a; text-decoration: underline; }
.ar-body { display: flex; gap: 28px; align-items: flex-start; }
.ar-room { flex: 1.4; min-width: 0; }
.ar-room svg { display: block; width: 100%; height: auto; max-height: 62vh; }
.ar-side { flex: 1; min-width: 0; }
.ar-note { font-size: 12px; color: #6f6a63; margin: 8px 0 0; }
.ar-label { font-size: 11px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; margin: 16px 0 8px; }
.ar-frames { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-frames button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #e3e0db; background: #fff; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.ar-frames button.on { border-color: #1d1c1a; box-shadow: inset 0 0 0 1px #1d1c1a; }
.ar-frames i { width: 14px; height: 14px; border: 1px solid #c9c3ba; display: inline-block; }
.ar-action { margin-top: 18px; }
.ar-qr { display: flex; gap: 16px; align-items: flex-start; border: 1px solid #e3e0db; padding: 14px; }
.ar-qr p { margin: 0 0 8px; font-size: 14px; }
.ar-qr-code { width: 140px; height: 140px; flex: none; }
.ar-steps { font-size: 14px; padding-left: 20px; margin: 14px 0; }
.ar-steps li { margin-bottom: 6px; }
.ar-mv model-viewer { width: 100%; height: 260px; background: #f6f4f1; --poster-color: #f6f4f1; }
@media (max-width: 760px) {
  .ar-body { flex-direction: column; gap: 16px; }
  .ar-room, .ar-side { width: 100%; }
  .ar-side { order: -1; }
  .ar-qr { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Smart fill (upload.html > Add artwork) ---------- */
.smart-note { background: #fbf6e6; border-left: 3px solid #c9a227; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.smart-note button { background: none; border: 0; padding: 0; font: inherit; color: #8a6a3d; text-decoration: underline; cursor: pointer; }
.form-field .guess { background: #fff8dc; border-color: #d9bf63; }
.guess-why { display: block; font-size: 12px; color: #8a6a3d; margin-top: 4px; }
.title-ideas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.title-ideas:empty { display: none; }
.title-ideas button { border: 1px solid #e3e0db; background: #fff; padding: 4px 10px; font: inherit; font-size: 12px; cursor: pointer; border-radius: 999px; }
.title-ideas button:hover { border-color: #1d1c1a; }

/* ---------- Bulk paintings (upload.html) ---------- */
.bulk-steps { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: bs; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bulk-steps li { counter-increment: bs; border: 1px solid #e3e0db; padding: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bulk-steps li b:before { content: counter(bs) ". "; color: #8a6a3d; }
.bulk-steps .btn { margin-top: auto; }
.bulk-file { font-size: 13px; color: #2f6b45; }
.bulk-wrap { overflow-x: auto; border: 1px solid #e3e0db; margin: 10px 0; max-height: 70vh; overflow-y: auto; }
.bulk-wrap:empty, .bulk-table:empty { display: none; }
.bulk-table { border-collapse: collapse; font-size: 13px; min-width: 1500px; width: 100%; }
.bulk-table th { position: sticky; top: 0; background: #1d1c1a; color: #fff; text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 6px; z-index: 1; white-space: nowrap; }
.bulk-table td { border-bottom: 1px solid #eeeae4; padding: 4px 6px; vertical-align: middle; }
.bulk-table input:not([type=checkbox]), .bulk-table select { width: 100%; min-width: 110px; padding: 6px; border: 1px solid #e3e0db; font: inherit; font-size: 13px; background: #fff; }
.bulk-table input.n { min-width: 56px; width: 64px; }
.bulk-table input.c { min-width: 90px; font-family: "Courier New", monospace; }
.bulk-table input.wide { min-width: 220px; }
.bulk-table input.guess, .bulk-table select.guess { background: #fff8dc; border-color: #d9bf63; }
.bulk-table .ph img, .bulk-table .nophoto { width: 56px; height: 56px; object-fit: contain; background: #f6f4f1; display: block; }
.bulk-table .nophoto { line-height: 56px; text-align: center; color: #a33a2c; font-weight: bold; }
.bulk-table tr.bad td { background: #fbeceb; }
.bulk-table tr.done td { background: #eef5f0; color: #6f6a63; }
.bulk-table tr.done input, .bulk-table tr.done select { opacity: 0.6; }
.bulk-table .msg { min-width: 220px; font-size: 12px; }
.bulk-table tr.bad .msg { color: #a33a2c; }
.bulk-table .msg small { color: #8a6a3d; }
.bulk-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.bulk-actions[hidden], .bulk-actions [hidden] { display: none; }
.bulk-progress .bar { height: 10px; background: #eeeae4; }
.bulk-progress .bar span { display: block; height: 100%; width: 0; background: #2f6b45; transition: width .3s; }
.bulk-progress p { font-size: 14px; margin: 6px 0; }
.bulk-log { font-family: "Courier New", monospace; font-size: 12px; max-height: 260px; overflow-y: auto; color: #4b4741; }
@media (max-width: 760px) { .bulk-steps { grid-template-columns: 1fr; } }

/* ---------- Artists page: long "About the artist" ---------- */
.bio-text.clamp { max-height: 9.6em; overflow: hidden; position: relative; }
.bio-text.clamp:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.bio-more { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; color: #8a6a3d; cursor: pointer; margin-bottom: 10px; }
