/* =========================================================
   EKATERINE MANIA — public site
   Principles: readable type (Georgian without forced caps),
   44px touch targets, visible focus, clear status colours,
   one primary action per view, consistent 8px spacing scale.
   ========================================================= */
:root {
  --black: #0b0b0b;
  --text: #1c1c1c;
  --muted: #5e5e5e;          /* 5.6:1 on --bg */
  --bg: #efefed;
  --card: #fff;
  --line: #dcdcd8;
  --accent: #b5102a;         /* sale / links — 6.3:1 on white */
  --ok: #1f7a3a;
  --warn: #9a6200;
  --head: 'Oswald', 'Noto Sans Georgian', 'Arial Narrow', sans-serif;
  --body: 'Noto Sans Georgian', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --wrap: 1320px;
  --gutter: 24px;
  --header-h: 64px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
main { flex: 1 0 auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }

/* Display type: Latin is set in condensed caps; Georgian stays in natural case
   (all-caps Mtavruli and wide tracking hurt readability). */
.caps, .nav a, .hero-title, .tile-label h2, .section-title, .page-title, .product-title, .btn, .badge, .chip, .exh h3,
.site-footer h3, .link-accent, .hero-link, .product-more summary, .faq summary, .form h2, .summary h2 { font-family: var(--head); text-transform: uppercase; }
:lang(ka) :is(.nav a, .hero-title, .tile-label h2, .section-title, .page-title, .product-title, .btn, .badge, .chip, .exh h3,
  .site-footer h3, .link-accent, .hero-link, .product-more summary, .faq summary, .form h2, .summary h2) { text-transform: none; letter-spacing: 0 !important; font-weight: 500; }

/* ---------- header ---------- */
.site-header { background: var(--black); color: #fff; position: sticky; top: 0; z-index: 30; }
.topbar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: var(--s4); height: 64px; }
.logo { text-decoration: none; display: block; flex: none; }
.logo span { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: 3px; display: block; white-space: nowrap; padding: 4px 4px 0 0; }
.logo img { max-height: 44px; width: auto; }
.tools { display: flex; align-items: center; gap: 2px; margin-left: auto; flex: none; }
.icon-btn { position: relative; background: none; border: 0; color: #fff; width: 44px; height: 44px; display: inline-grid; place-items: center; text-decoration: none; border-radius: 50%; }
.icon-btn:hover { background: #222; }
.cart-link .count { position: absolute; top: 4px; right: 2px; background: var(--accent); color: #fff; font: 600 11px/1 var(--body); min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.lang-switch { font: 500 13px/1 var(--head); letter-spacing: 1px; text-decoration: none; border: 1px solid #555; min-width: 44px; height: 36px; padding: 0 10px; display: inline-grid; place-items: center; margin-left: 6px; }
.lang-switch:hover { border-color: #fff; }
.menu-btn { display: none; }
.nav { display: flex; align-items: stretch; gap: 0 26px; height: 100%; min-width: 0; }
.nav a { font-weight: 500; font-size: 14px; letter-spacing: 1.2px; text-decoration: none; color: #c9c9c9; display: flex; align-items: center; border-bottom: 2px solid transparent; border-top: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: #fff; }
.searchbar { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) var(--s2); display: flex; gap: var(--s1); }
.searchbar input { flex: 1; min-height: 48px; background: #161616; border: 1px solid #444; color: #fff; padding: 0 16px; font-size: 16px; }
.searchbar input:focus { border-color: #fff; outline: none; }
.searchbar button { background: #fff; color: #000; border: 0; padding: 0 24px; font: 500 14px var(--head); }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(380px, 62vh, 600px); background: #111; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; display: block; z-index: 0; }
/* slides move sideways: the new one pushes the old one out (animated in site.js) */
.slide.is-active, .slide.is-leaving { opacity: 1; }
.slide.is-active { z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-title.is-in { animation: hero-cap .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-cap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-title.is-in { animation: none; } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent 45%); pointer-events: none; z-index: 1; }
.hero-caption { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); bottom: var(--s5); z-index: 2; max-width: calc(100% - 2 * var(--gutter)); }
.hero-title { margin: 0; display: inline-block; background: #000; color: #fff; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; font-weight: 500; letter-spacing: 3px; padding: 10px 20px 12px; }
.hero-controls { display: flex; align-items: stretch; background: #000; width: fit-content; max-width: 100%; }
.hero-controls > * { color: #fff; background: none; border: 0; border-right: 1px solid #2a2a2a; min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; text-decoration: none; font-size: 15px; }
.hero-controls > :last-child { border-right: 0; }
.hero-controls button:hover, .hero-link:hover { background: #262626; }
.hero-counter { font: 500 12px var(--head); letter-spacing: 1px; color: #bbb; }
.hero-link { font-size: 14px !important; letter-spacing: 1px; font-weight: 500; padding: 0 18px !important; white-space: nowrap; }

/* ---------- collection tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--s3); padding-top: var(--s5); padding-bottom: var(--s5); }
.tile { background: var(--card); text-decoration: none; display: block; }
.tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-label { text-align: center; padding: var(--s2) var(--s2) 20px; }
.tile-label h2 { margin: 0 0 2px; font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: 2px; }
.tile-label span { font: 500 13px var(--head); color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }
:lang(ka) .tile-label span { text-transform: none; letter-spacing: 0; }
.tile:hover .tile-label span { text-decoration: underline; }

/* ---------- sections ---------- */
.section-title { font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: 2px; margin: 0 0 var(--s3); }
.about-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s6); align-items: center; padding-top: var(--s5); padding-bottom: var(--s6); }
.about-block:not(:has(.about-photo)) { grid-template-columns: 1fr; max-width: 820px; }
.about-photo { margin: 0; background: #ddd; }
.about-photo img { width: 100%; max-height: 640px; object-fit: cover; }
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1em; }
.prose.big { font-size: 18px; }
.link-accent { color: var(--accent); letter-spacing: 1.5px; font-size: 14px; text-decoration: none; display: inline-block; padding: 10px 0; font-weight: 500; }
.link-accent:hover { text-decoration: underline; }
.exh-block { padding-top: var(--s4); padding-bottom: var(--s6); }
.exh-list { display: grid; gap: var(--s2); margin-bottom: var(--s2); }
.exh { background: var(--card); padding: var(--s3) var(--s4); display: grid; grid-template-columns: auto 1fr; gap: var(--s3); }
.exh:not(:has(img)) { grid-template-columns: 1fr; }
.exh img { width: 180px; height: 140px; object-fit: cover; }
.exh h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: 1px; }
.exh-place { margin: 0; font-weight: 500; }
.exh-date { margin: 0 0 10px; color: var(--accent); font-weight: 500; }

/* ---------- listing ---------- */
.page { padding-top: var(--s4); padding-bottom: var(--s6); }
.page.narrow, .narrow { max-width: 860px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: var(--s1); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--text); }
.page-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; font-weight: 500; letter-spacing: 2px; margin: 0 0 var(--s2); }
.list-intro { margin-bottom: var(--s3); color: #333; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); flex-wrap: wrap; padding: var(--s2) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: var(--s1); flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid #c4c4bf; background: #fff; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-decoration: none; border-radius: 20px; }
.chip:hover { border-color: #000; }
.chip[aria-current="true"] { background: #000; color: #fff; border-color: #000; }
.chip-sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.sort { display: flex; align-items: center; gap: var(--s1); }
.sort label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sort select { min-height: 40px; background: #fff; border: 1px solid #c4c4bf; padding: 0 12px; font-size: 14px; }
.result-count { font-size: 14px; color: var(--muted); margin: var(--s2) 0; }
.result-count a { color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.card { background: var(--card); text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.09); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e4e4e0; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease, opacity .2s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding-top: 14px !important; }
.card.is-sold .card-img img { opacity: .55; filter: grayscale(.35); }
.badge { position: absolute; top: 12px; left: 12px; background: #1c1c1c; color: #fff; font-size: 12px; line-height: 1; font-weight: 500; letter-spacing: 1px; padding: 7px 9px; }
.badge-sale { background: var(--accent); }
.badge-reserved { background: #fff3d6; color: #6b4500; }
.card-body { padding: 0 var(--s2) 20px; text-align: center; margin-top: auto; }
.card-body h3 { margin: 0 0 2px; font: 500 16px/1.35 var(--body); }
.card-meta { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.card-price { margin: 0; font-size: 15px; }
.price-now { font-weight: 600; }
.price-now.is-sale { color: var(--accent); }
.card-price del, .product-price del { color: #8a8a8a; margin-left: 4px; font-weight: 400; }
.price-status { color: var(--muted); font-weight: 500; }
.price-request { color: var(--muted); font-style: italic; }
.empty { padding: var(--s5) 0; color: var(--muted); }
.empty p { margin: 0 0 var(--s2); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: var(--s5); flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; background: #fff; text-decoration: none; font-family: var(--head); }
.pager span { background: #000; color: #fff; }

/* ---------- product ---------- */
.notice { background: #fff; border-left: 4px solid #999; padding: 14px 18px; margin: 0 0 var(--s3); font-size: 15px; }
.notice a { font-weight: 600; }
.notice-ok { border-color: var(--ok); }
.notice-err { border-color: var(--accent); }
.product { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s5); align-items: start; margin-top: var(--s2); }
.gallery-main { display: block; width: 100%; background: #fff; border: 0; padding: var(--s4); cursor: zoom-in; position: relative; }
.gallery-main img { margin: 0 auto; max-height: calc(100vh - var(--header-h) - 120px); object-fit: contain; box-shadow: 0 4px 14px rgba(0,0,0,.22); }
.gallery-main::after { content: '⤢'; position: absolute; right: 12px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; font-size: 18px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 80px; height: 80px; padding: 4px; border: 2px solid transparent; background: #fff; }
.thumbs button.is-active { border-color: #000; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { background: #fff; padding: var(--s4); position: sticky; top: calc(var(--header-h) + 16px); }
.product-kind { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.product-kind a { color: var(--muted); }
.product-title { font-size: 34px; line-height: 1.15; font-weight: 500; letter-spacing: 1px; margin: 0 0 var(--s2); }
.product-price { font-size: 26px; margin: 0; }
.saving { margin: 4px 0 0; color: var(--accent); font-size: 14px; font-weight: 500; }
.status { display: flex; align-items: center; gap: 8px; margin: var(--s2) 0 var(--s3); font-size: 15px; font-weight: 500; }
.status .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.status-available { color: var(--ok); }
.status-reserved { color: var(--warn); }
.status-sold { color: var(--muted); }
.buy { display: flex; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.qty { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.qty input { width: 84px; min-height: 52px; padding: 0 12px; border: 1px solid #b9b9b4; font-size: 16px; }
.buy .btn { flex: 1; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; text-align: center; min-height: 52px; padding: 0 28px; font-size: 15px; line-height: 1.2; font-weight: 500; letter-spacing: 1.5px; text-decoration: none; border: 1px solid #000; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #333; }
.btn-ghost { background: transparent; color: #000; }
.btn-ghost:hover { background: #000; color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.product-info > .btn { width: 100%; }
.specs { margin: var(--s3) 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: var(--s2); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; text-align: right; }
.product-desc { margin-top: var(--s2); }
.text-btn { background: none; border: 0; padding: 10px 0; color: var(--muted); text-decoration: underline; font-size: 14px; }
.text-btn:hover { color: var(--text); }
.product-more { margin-top: var(--s1); border-top: 1px solid var(--line); font-size: 15px; }
.product-more summary, .faq summary { cursor: pointer; letter-spacing: 1px; padding: 14px 0; font-weight: 500; list-style-position: inside; }
.related { margin-top: var(--s6); }

/* ---------- cart / checkout / forms ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; }
.cart-table th { text-align: left; font-size: 13px; font-weight: 500; color: var(--muted); padding: 14px; border-bottom: 1px solid var(--line); }
.cart-table td { padding: var(--s2) 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table a { font-weight: 500; text-decoration: none; }
.cart-table a:hover { text-decoration: underline; }
.cart-thumb { width: 104px; }
.cart-thumb img { width: 84px; height: 84px; object-fit: cover; }
.cart-table input[type=number] { width: 76px; min-height: 44px; padding: 0 10px; border: 1px solid #b9b9b4; font-size: 16px; }
.cart-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); margin-top: var(--s3); flex-wrap: wrap; }
.cart-total { text-align: right; background: #fff; padding: var(--s3); min-width: 300px; }
.cart-total p { margin: 0 0 var(--s1); }
.cart-total .btn { width: 100%; margin-top: var(--s1); }
.form { display: grid; gap: var(--s2); }
.form h2, .summary h2 { font-size: 20px; font-weight: 500; letter-spacing: 1px; margin: 0; }
.field { display: grid; gap: 6px; font-size: 15px; }
.field span { color: #333; font-weight: 500; font-size: 14px; }
.field input, .field textarea, .search-page input { background: #fff; border: 1px solid #b9b9b4; min-height: 48px; padding: 10px 14px; width: 100%; font-size: 16px; border-radius: 0; }
.field input:focus, .field textarea:focus, .search-page input:focus, .sort select:focus, .qty input:focus, .cart-table input:focus { outline: 2px solid #000; outline-offset: -1px; border-color: #000; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent); background: #fff7f8; }
.field textarea { min-height: 140px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s5); align-items: start; }
.checkout .form { background: #fff; padding: var(--s4); }
.summary { background: #fff; padding: var(--s3); display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: 15px; }
.summary-line img { width: 56px; height: 56px; object-fit: cover; }
.summary-total { border-top: 1px solid var(--line); padding-top: 12px; margin: 0; font-size: 18px; }
.order-num { font-size: 20px; }
.hp { position: absolute; left: -9999px; }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s5); align-items: start; }
.contact .form { background: #fff; padding: var(--s4); }
.lead { font-size: 18px; max-width: 52ch; }
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s4); }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.contact-list span { font-size: 13px; font-weight: 500; color: var(--muted); }
.contact-list a { font-weight: 500; }
.faq-title { font: 500 20px var(--head); margin: var(--s4) 0 12px; }
.faq { background: #fff; padding: 0 20px; margin-bottom: var(--s1); }
.faq p { margin: 0 0 var(--s2); }
.search-page { display: flex; gap: 10px; margin: 0 0 var(--s3); max-width: 640px; }
.about-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s5); align-items: start; }
.about-page:not(:has(.about-photo)) { grid-template-columns: 1fr; max-width: 820px; }
.studio-photo { margin: var(--s5) 0 0; }
.studio-photo img { max-height: 80vh; margin: 0 auto; }
.big-404 { font: 600 120px/1 var(--head); margin: 0; color: #c9c9c5; }

/* ---------- home: available works + commission ---------- */
.eyebrow { margin: 0 0 6px; font: 500 12px var(--head); letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
:lang(ka) .eyebrow { text-transform: none; letter-spacing: .5px; font-family: var(--body); font-size: 13px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); margin-bottom: var(--s3); flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.home-works { padding-top: var(--s2); padding-bottom: var(--s6); }
.commission { background: var(--black); color: #e8e8e8; }
.commission .eyebrow { color: #e3a3ad; }
.commission-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s6); align-items: center; padding-top: var(--s6); padding-bottom: var(--s6); }
.commission-inner:not(:has(.commission-photo)) { grid-template-columns: 1fr; max-width: 820px; }
.commission .section-title { color: #fff; }
.commission-lead { font-size: 18px; color: #cfcfcf; max-width: 56ch; margin: 0 0 var(--s4); }
.steps { list-style: none; padding: 0; margin: 0 0 var(--s4); display: grid; gap: var(--s3); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: var(--s2); align-items: start; padding-top: var(--s2); border-top: 1px solid #2a2a2a; }
.step-n { font: 500 26px/1 var(--head); color: #777; }
.steps h3 { margin: 0 0 4px; font: 500 17px/1.3 var(--body); color: #fff; }
.steps p { margin: 0; color: #b5b5b5; font-size: 15px; }
.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.commission-photo { margin: 0; }
.commission-photo img { width: 100%; max-height: 640px; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer { background: #050505; color: #a9a9a9; padding: var(--s6) 0 0; font-size: 15px; border-top: 1px solid #1d1d1d; }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) var(--s5); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: var(--s5); }
.footer-logo { display: inline-block; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: 3px; font-size: 30px; color: #fff; line-height: 1.1; text-decoration: none; }
.footer-tagline { margin: 6px 0 var(--s2); font-size: 13px; letter-spacing: 1px; color: #8a8a8a; }
.footer-text { margin: 0 0 var(--s2); max-width: 38ch; line-height: 1.7; }
.site-footer h3 { font-size: 13px; font-weight: 500; letter-spacing: 2px; color: #fff; margin: 6px 0 var(--s2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-contact li { padding: 6px 0; }
.footer-contact li a { padding: 0; }
.footer-cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--s1); padding: 0 18px; border: 1px solid #444; color: #fff; font-weight: 500; }
.footer-cta:hover { border-color: #fff; background: #fff; color: #000 !important; }
.social { display: flex; gap: 4px; margin-left: -10px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #d0d0d0; }
.social a:hover { background: #1f1f1f; }
.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); border-top: 1px solid #1f1f1f; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); font-size: 13px; color: #7d7d7d; flex-wrap: wrap; }
.footer-bottom-links { display: flex; gap: var(--s3); }
.footer-bottom a { color: #a9a9a9; padding: 8px 0; }
.copyright { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.95); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; font-size: 34px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  /* header collapses to a menu button */
  .topbar { padding: 0 12px; display: grid; grid-template-columns: 44px 1fr auto; gap: 4px; }
  .logo { text-align: center; min-width: 0; }
  .logo img { margin: 0 auto; }
  .tools { margin-left: 0; }
  .menu-btn { display: inline-grid; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; height: auto; background: var(--black); flex-direction: column; gap: 0; padding: 0 var(--gutter) var(--s2); max-height: calc(100vh - 64px); overflow-y: auto; border-top: 1px solid #222; box-shadow: 0 12px 24px rgba(0,0,0,.35); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border: 0; border-bottom: 1px solid #222; font-size: 16px; }
  .nav a[aria-current="page"] { border-bottom-color: #222; color: #fff; box-shadow: inset 3px 0 0 #fff; padding-left: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .logo span { font-size: clamp(16px, 5.4vw, 24px); letter-spacing: 1px; }
  .logo { overflow: hidden; padding: 0 4px; }
  .tools { gap: 0; }
  .lang-switch { margin-left: 2px; min-width: 40px; padding: 0 6px; }
  .commission-inner { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s5); padding-bottom: var(--s5); }
  .commission-photo { order: -1; }
  .commission-photo img { max-height: 360px; }
  .home-works { padding-bottom: var(--s5); }
  .hero { height: clamp(300px, 52vh, 440px); }
  .hero-caption { bottom: var(--s2); left: var(--gutter); }
  .hero-title { font-size: 28px; padding: 6px 14px 8px; }
  .hero-link { padding: 0 12px !important; }
  .tiles { gap: var(--s2); padding-top: var(--s3); padding-bottom: var(--s3); }
  .tile-label h2 { font-size: 20px; }
  .about-block, .about-page, .product, .checkout, .contact { grid-template-columns: 1fr; gap: var(--s4); }
  .about-block { padding-bottom: var(--s5); }
  .product-info, .summary { position: static; padding: var(--s3); }
  .gallery-main { padding: var(--s2); }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 0 10px 14px; }
  .card-body h3 { font-size: 15px; }
  .toolbar { align-items: stretch; }
  .chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .sort { width: 100%; }
  .sort select { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .exh { grid-template-columns: 1fr; padding: 20px; }
  .exh img { width: 100%; height: 200px; }
  .checkout .form, .contact .form { padding: var(--s3); }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; }
  .cart-table tr { display: grid; grid-template-columns: 96px 1fr; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cart-table td { border: 0; padding: 4px 12px; }
  .cart-table td.cart-thumb { grid-row: span 4; }
  .cart-table td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-size: 14px; }
  .cart-total { min-width: 0; width: 100%; text-align: left; }
}
@media (max-width: 520px) {
  /* Phone: tighter rhythm, smaller display type, less scrolling */
  :root { --s5: 36px; --s6: 48px; }
  body { -webkit-tap-highlight-color: transparent; }
  .two { grid-template-columns: 1fr; }
  .search-page { flex-direction: column; }

  .hero { height: clamp(280px, 48vh, 380px); }
  .hero-title { font-size: 24px; }
  .hero-counter, [data-pause] { display: none !important; }
  .hero-controls > * { height: 40px; min-width: 40px; }
  .hero-link { font-size: 13px !important; }

  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; padding-top: var(--s2); padding-bottom: var(--s2); }
  .tile-img { aspect-ratio: 1 / 1; }
  .tile-label { padding: 10px 6px 12px; }
  .tile-label h2 { font-size: 16px; }
  .tile-label span { font-size: 12px; }

  .section-title { font-size: 24px; margin-bottom: var(--s2); }
  .page-title { font-size: 28px; }
  .about-block { gap: var(--s3); padding-top: var(--s3); }
  .about-photo img { max-height: 420px; object-position: center 20%; }
  .prose.big, .lead, .commission-lead { font-size: 16px; }

  .home-works .grid > :nth-child(n+5) { display: none; }
  .section-head { margin-bottom: var(--s2); }
  .grid { gap: 10px; }
  .card-body { padding: 0 8px 12px; }
  .card-body h3 { font-size: 14px; }
  .card-meta { font-size: 12px; }
  .card-price { font-size: 14px; }
  .badge { top: 6px; left: 6px; font-size: 11px; padding: 5px 7px; }

  .commission-photo { display: none; }
  .steps { gap: var(--s2); }
  .steps li { grid-template-columns: 40px 1fr; }
  .step-n { font-size: 20px; }
  .commission .btn { width: 100%; }

  .crumbs { font-size: 13px; }
  .product { gap: var(--s2); }
  .product-info { padding: 20px 16px; }
  .product-title { font-size: 24px; }
  .product-price { font-size: 22px; }
  .buy { flex-wrap: wrap; }
  .gallery-main img { max-height: 60vh; }
  .thumbs button { width: 64px; height: 64px; }

  .toolbar { padding: 12px 0; }
  .footer-grid { gap: var(--s3); padding-bottom: var(--s4); }
  .footer-brand .footer-text { font-size: 14px; }
  .site-footer { padding-top: var(--s5); }
}
@media (hover: none) { .card:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- mobile sticky buy bar (artwork page) ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; justify-content: space-between;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar-info { min-width: 0; display: grid; line-height: 1.3; }
  .mobile-bar-info strong { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mobile-bar-info span { font-size: 14px; }
  .mobile-bar .btn { min-height: 46px; padding: 0 18px; font-size: 14px; flex: none; }
}

/* ---------- collections dropdown (3+ collections) ---------- */
.nav-group { position: relative; display: flex; }
.nav-drop { background: none; border: 0; border-bottom: 2px solid transparent; border-top: 2px solid transparent; color: #c9c9c9; font: 500 14px var(--head); letter-spacing: 1.2px; text-transform: uppercase; display: flex; align-items: center; gap: 6px; padding: 0; cursor: pointer; }
:lang(ka) .nav-drop { text-transform: none; letter-spacing: 0; }
.nav-drop:hover, .nav-group.is-open .nav-drop { color: #fff; }
.nav-drop[data-active] { color: #fff; border-bottom-color: #fff; }
.nav-drop span { font-size: 10px; transition: transform .2s; }
.nav-group.is-open .nav-drop span { transform: rotate(180deg); }
.nav-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: var(--black); border: 1px solid #222; padding: 8px 0; box-shadow: 0 12px 24px rgba(0,0,0,.35); z-index: 40; }
.nav-group.is-open .nav-menu { display: grid; }
.nav-menu a { padding: 10px 16px !important; border: 0 !important; height: auto; }
.nav-menu a:hover { background: #1a1a1a; }

/* ---------- collection tiles adapt to how many collections exist ---------- */
.tiles-1 { grid-template-columns: 1fr; }
.tiles-1 .tile-img { aspect-ratio: 21 / 9; }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-4 { grid-template-columns: repeat(4, 1fr); }
.tiles-5 { grid-template-columns: repeat(3, 1fr); }
.tiles-4 .tile-label h2, .tiles-5 .tile-label h2 { font-size: 22px; }

/* ---------- misc ---------- */
.notice-preview { border-color: var(--warn); background: #fff8e6; }
.admin-edit-link { margin: 0 0 var(--s2); font-size: 14px; }
.admin-edit-link a { color: var(--accent); }
.qty { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.stepper { display: flex; border: 1px solid #b9b9b4; background: #fff; height: 52px; }
.stepper button { width: 40px; border: 0; background: none; font-size: 20px; color: var(--text); }
.stepper button:hover { background: #f0f0ee; }
.stepper input { width: 44px; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid #000; outline-offset: -2px; }

@media (max-width: 1100px) {
  .tiles-4, .tiles-5 { grid-template-columns: repeat(2, 1fr); }
  .tiles-3 { grid-template-columns: repeat(3, 1fr); }
  /* in the mobile menu the dropdown is shown expanded as a plain list */
  .nav-group { display: block; }
  .nav-drop { display: none; }
  .nav-menu { display: grid !important; position: static; border: 0; box-shadow: none; padding: 0; min-width: 0; background: none; }
  .nav-menu a { padding: 14px 0 !important; border-bottom: 1px solid #222 !important; }
  .nav-menu a:hover { background: none; }
}
@media (max-width: 860px) {
  /* contact: form first on phones, info and FAQ after */
  .contact .form { order: -1; }
}
@media (max-width: 520px) {
  .tiles-1, .tiles-2, .tiles-3, .tiles-4, .tiles-5 { grid-template-columns: 1fr 1fr; }
  .tiles-1 { grid-template-columns: 1fr; }
  .tiles-3 > :first-child, .tiles-5 > :first-child { grid-column: 1 / -1; }
  .tiles-3 > :first-child .tile-img, .tiles-5 > :first-child .tile-img { aspect-ratio: 16 / 9; }
  /* buy box: quantity row, then full-width button */
  .buy { display: grid; grid-template-columns: 1fr; }
  .qty { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .qty .stepper { width: fit-content; }
  .buy .btn { width: 100%; }
  /* larger tap targets */
  .site-footer li a, .footer-contact li a { padding: 10px 0; }
  .footer-bottom a { padding: 12px 0; }
  .product-kind a { display: inline-block; padding: 8px 0; }
  .contact-list a { display: inline-block; padding: 6px 0; }
  .lang-switch { height: 40px; }
  .badge { font-size: 12px; }
  .card-meta { font-size: 12.5px; }
  .faq summary { padding: 16px 0; }
}

/* ---------- phones: only the cart stays in the header; search + language live in the menu ---------- */
.nav-extra { display: none; }
@media (max-width: 860px) {
  .tools [data-search-toggle], .tools .lang-switch { display: none; }
  .topbar { grid-template-columns: 44px 1fr 44px; }
  .nav-extra { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 0 4px; }
  .nav-search { display: flex; background: #161616; border: 1px solid #333; }
  .nav-search input { flex: 1; min-width: 0; min-height: 46px; background: none; border: 0; color: #fff; padding: 0 12px; font-size: 16px; }
  .nav-search input:focus { outline: none; }
  .nav-search:focus-within { border-color: #fff; }
  .nav-search button { width: 46px; background: none; border: 0; color: #fff; display: grid; place-items: center; }
  .nav-lang { display: grid; place-items: center; min-height: 48px; padding: 0 14px; border: 1px solid #444 !important; color: #fff !important; font-size: 14px !important; }
}

/* ---------- exhibitions & workshops ---------- */
.exh-block { padding-top: var(--s5); padding-bottom: var(--s6); }
.exh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.exh-grid .exh { grid-template-columns: 1fr; padding: 0; gap: 0; }
.exh-grid .exh img { width: 100%; height: 240px; }
.exh-grid .exh > div { padding: var(--s3); }
.exh-kind { display: inline-block; font: 500 12px var(--body); letter-spacing: .5px; padding: 4px 10px; border-radius: 12px; margin-bottom: 10px; }
.exh-kind-exhibition { background: #efe7da; color: #6b4a1a; }
.exh-kind-workshop { background: #e3eef5; color: #1d4f6b; }
.exh-empty { background: var(--card); padding: var(--s4); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; border-left: 4px solid var(--accent); }
.exh-empty p { margin: 0; max-width: 60ch; font-size: 17px; }
@media (max-width: 860px) {
  .exh-grid { grid-template-columns: 1fr; }
  .exh-grid .exh img { height: 200px; }
  .exh-empty { padding: var(--s3); }
  .exh-empty .btn { width: 100%; }
}

/* ---------- exhibition / workshop banners ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.exh-banners { display: grid; gap: var(--s4); }
.exh-banner { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); min-height: 360px; overflow: hidden; }
.exh-banner:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.exh-banner:nth-child(even) .exh-media { order: 2; }
.exh-media { position: relative; background: #1a1a1a; min-height: 260px; }
.exh-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.exh-media .exh-kind { position: absolute; top: 16px; left: 16px; margin: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.exh-body { padding: var(--s5) var(--s5); display: flex; flex-direction: column; justify-content: center; gap: var(--s2); }
.exh-body h3 { margin: 0; font: 500 30px/1.15 var(--head); letter-spacing: 1px; text-transform: uppercase; }
:lang(ka) .exh-body h3 { text-transform: none; letter-spacing: 0; }
.exh-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.exh-meta li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.exh-meta li:first-child { color: var(--accent); }
.exh-body .prose { color: #444; }
.exh-body .prose p:last-child { margin-bottom: 0; }
.exh-body .btn { align-self: flex-start; margin-top: var(--s1); }
@media (max-width: 860px) {
  .exh-banner, .exh-banner:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .exh-banner:nth-child(even) .exh-media { order: 0; }
  .exh-media { aspect-ratio: 16 / 9; min-height: 0; }
  .exh-body { padding: var(--s3); }
  .exh-body h3 { font-size: 24px; }
  .exh-body .btn { align-self: stretch; }
}

/* ---------- WhatsApp, purchase information, checkout agreement ---------- */
.btn-whatsapp { background: #fff; color: #128c4a; border-color: #25d366; width: 100%; margin-top: 10px; }
.btn-whatsapp:hover { background: #25d366; color: #fff; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s4); }
.toc a { padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; font-size: 14px; }
.toc a:hover { border-color: #000; }
.info-section { background: #fff; padding: var(--s3) var(--s4); margin-bottom: var(--s2); scroll-margin-top: calc(var(--header-h) + 16px); }
.info-section h2 { margin: 0 0 12px; font: 500 22px var(--head); letter-spacing: 1px; text-transform: uppercase; }
:lang(ka) .info-section h2 { text-transform: none; letter-spacing: 0; }
.info-section .prose p:last-child { margin-bottom: 0; }
.check.terms { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; cursor: pointer; }
.check.terms input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
@media (max-width: 520px) { .info-section { padding: var(--s2); } }
