/* Lumenantica catalog: 1970s Yugoslav luxury. Warm cream, dark walnut brown and amber gold; Playfair
   Display for headings (italic for the accent line), Lato for text. Light and dark follow the visitor's
   system setting; the hero, the item-page band and the footer are dark in both.
   Fonts are served from our own site (assets/fonts, SIL Open Font License): no requests to font services. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/playfair-display-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/lato-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lato-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* page (light) */
  --bg: #f5ede3;
  --surface: #fdf8f2;
  --text: #2b1b13;
  --muted: #6e5747;
  --border: #e3d4c3;
  --chip: #ebdfd1;
  --chip-text: #563f30;
  --accent: #6e3b2a;            /* walnut: filled buttons, active tab */
  --on-accent: #fdf6ee;
  --link: #7a4330;
  --ok: #3b6844;
  --out: #9a3b2a;
  --placeholder-a: #e8d9c6;
  --placeholder-b: #f4ebe0;
  --placeholder-ink: #94704a;
  --diamond: #8a6436;           /* bronze on cream; gold on the dark bands */
  --badge-bg: #6e3b2a;
  --badge-text: #fdf6ee;
  --shadow: 0 1px 2px rgba(43, 27, 19, .06), 0 10px 30px rgba(43, 27, 19, .08);
  /* dark bands (hero, item band, footer): the same in both themes */
  --night: #1b110b;
  --cream: #f7eee3;
  --cream-muted: #dccbb6;
  --gold: #d9b277;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 6px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17100b;
    --surface: #211710;
    --text: #f2e8dc;
    --muted: #c4b09a;
    --border: #3b2c20;
    --chip: #33251a;
    --chip-text: #e6d4bf;
    --accent: #d9b277;
    --on-accent: #1d130c;
    --link: #e4bf86;
    --ok: #9fd0a6;
    --out: #f0a48f;
    --placeholder-a: #2c1f15;
    --placeholder-b: #1f160f;
    --placeholder-ink: #b8915e;
    --diamond: #d9b277;
    --badge-bg: #d9b277;
    --badge-text: #1d130c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 30px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans);
       display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; width: 100%; }
a { color: var(--link); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.eyebrow { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.diamond { color: var(--diamond); font-size: .7em; margin: 0 .7em; vertical-align: .12em; }
.hero .diamond, .band .diamond { color: var(--gold); }

/* --- dark bands: hero, item band, footer --------------------------------------------------------- */
.hero, .band {
  position: relative; color: var(--cream); background-color: var(--night);
  background-image: linear-gradient(180deg, rgba(27, 17, 11, .62) 0%, rgba(27, 17, 11, .70) 55%, rgba(27, 17, 11, .9) 85%, var(--bg) 100%),
                    url("/assets/img/hero-1256.jpg");
  background-size: cover; background-position: center 35%;
}
.band { background-image: linear-gradient(180deg, rgba(27, 17, 11, .72), rgba(27, 17, 11, .86)),
                          url("/assets/img/hero-760.jpg");
        background-position: center 30%; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: .32em; text-transform: uppercase;
        color: var(--cream); text-decoration: none; }
.topbar-link { color: var(--cream-muted); font-size: .9rem; text-decoration: none; letter-spacing: .04em; }
.topbar-link:hover { color: var(--gold); }

.hero { min-height: min(86vh, 820px); display: flex; flex-direction: column; }
.hero > .wrap { width: 100%; }        /* flex column: keep the full content width */
.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
              padding-top: 40px; padding-bottom: 120px; }
.hero .eyebrow { color: var(--gold); }
.hero-title { margin: 18px 0 20px; font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 600; color: var(--cream); letter-spacing: -.005em; }
.hero-title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }
.hero-intro { max-width: 38rem; margin: 0 auto; color: var(--cream-muted); font-size: 1.12rem; }
.hero-search { display: flex; width: min(640px, 100%); margin: 36px auto 0; box-shadow: 0 12px 40px rgba(0, 0, 0, .35); border-radius: var(--radius); }
.hero-search input { flex: 1; min-width: 0; font: inherit; padding: 16px 20px; color: #2b1b13; background: #fdf8f2;
                     border: 0; border-radius: var(--radius) 0 0 var(--radius); }
.hero-search input::placeholder { color: #7d6656; }
.hero-search button { font: inherit; font-weight: 700; letter-spacing: .06em; padding: 0 26px; color: #fdf6ee; background: #6e3b2a;
                      border: 0; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; }
.hero-search button:hover { background: #82472f; }
.stats { display: flex; justify-content: center; gap: 56px; margin: 44px 0 0; padding: 0; }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; }
.stats dd { margin: 0; font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--gold); line-height: 1.1; }
.stats dt { margin-top: 6px; font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-muted); }
.stats[hidden] { display: none; }

.band .topbar { padding-bottom: 28px; }
.band-title { margin: 0; padding-bottom: 30px; font-size: 1rem; font-family: var(--sans); font-weight: 400;
              color: var(--cream-muted); letter-spacing: .04em; }
.band-title em { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; }

.site-footer { margin-top: 96px; background: var(--night); color: var(--cream-muted); padding: 48px 0 40px; font-size: .95rem; }
.footer-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: grid; gap: 6px; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); }
.footer-brand em { display: block; color: var(--gold); font-weight: 400; font-size: 1.1rem; }
.site-footer a { color: var(--gold); }
.footer-note { font-size: .88rem; color: #bba792; }

/* --- catalog section ---------------------------------------------------------------------------------- */
.catalog { padding-top: 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-title { margin: 10px 0 0; font-size: clamp(2.1rem, 4vw, 3.2rem); }
.status { margin: 0; color: var(--muted); font-size: .95rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 8px; }
.tab { font: inherit; font-size: .95rem; letter-spacing: .02em; color: var(--text); background: transparent; cursor: pointer;
       border: 1px solid var(--accent); border-radius: 4px; padding: 8px 18px; display: inline-flex; align-items: center; gap: 10px; }
.tab:hover { background: var(--chip); }
.tab[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.tab .count { font-size: .8rem; opacity: .85; }

.category { margin-top: 56px; }
.category-title { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; font-size: 1.9rem; }
.category-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); opacity: .7; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }

.card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
        background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
        transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--placeholder-a), var(--placeholder-b)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
         padding: 5px 11px; border-radius: 3px; background: var(--badge-bg); color: var(--badge-text); }
.badge-out { background: #2b1b13; color: #f7eee3; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-title { margin: 0 0 8px; font-size: 1.2rem; }
.card-meta { margin: 0; font-size: .9rem; color: var(--muted); }
.card-meta .stock-out { color: var(--out); font-weight: 700; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 0 18px; flex-wrap: wrap; }
.price { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--text); }
.price-request { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--muted); }
.chip { font-size: .8rem; padding: 3px 10px; border-radius: 3px; background: var(--chip); color: var(--chip-text); }
.card-cta { margin-top: auto; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
            padding: 12px; border: 1px solid var(--text); border-radius: 4px; color: var(--text); transition: background .2s, color .2s; }
.card:hover .card-cta { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.sold-out .card-media > :not(.badge) { opacity: .55; }

.placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
               gap: 14px; color: var(--placeholder-ink); text-align: center; padding: 16px; }
.placeholder span { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 64px; height: 64px; stroke-width: 1; }

/* --- item page ----------------------------------------------------------------------------------- */
.back { display: inline-block; margin: 36px 0 28px; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
        text-decoration: none; color: var(--muted); }
.back:hover { color: var(--link); }
.item-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
         background: linear-gradient(160deg, var(--placeholder-a), var(--placeholder-b)); border: 1px solid var(--border); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { padding: 0; width: 76px; height: 95px; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer;
         background: var(--placeholder-a); }
.thumb[aria-pressed="true"] { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-title { font-size: clamp(2rem, 3.6vw, 3rem); margin: 12px 0 16px; }
.item-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 24px; }
.tag { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px;
       border: 1px solid var(--border); color: var(--muted); }
.tag-original { background: var(--badge-bg); color: var(--badge-text); border-color: var(--badge-bg); }
.item-price { margin: 0 0 24px; font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.item-price.request { font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0 0 28px; padding: 22px 0;
         border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; }
.stock { color: var(--ok); font-weight: 700; }
.stock-out { color: var(--out); }
.description { white-space: pre-line; margin: 0 0 22px; max-width: 40rem; }
.lots { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.08rem; margin: 0 0 26px; }
.button { display: inline-block; text-decoration: none; font-size: .9rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
          background: var(--accent); color: var(--on-accent); padding: 16px 30px; border-radius: 4px; transition: filter .2s; }
.button:hover { filter: brightness(1.12); }
.contact-note { margin-top: 16px; }

/* --- states -------------------------------------------------------------------------------------- */
.notice { margin: 40px 0; padding: 36px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.notice h1, .notice h2 { margin-top: 0; }
.notice-large { text-align: center; padding: 64px 28px; }
.skeleton { background: linear-gradient(160deg, var(--placeholder-a), var(--placeholder-b)); border-color: transparent;
            animation: pulse 1.4s ease-in-out infinite; }
.grid .skeleton { min-height: 440px; }
.line { height: 20px; border-radius: 4px; margin: 14px 0; }
.line.short { width: 60%; }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .skeleton { animation: none; }
  .card, .card:hover { transition: none; transform: none; }
}

/* --- smaller screens ----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .item-layout { grid-template-columns: 1fr; gap: 28px; }
  .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .hero, .band { background-image: linear-gradient(180deg, rgba(27, 17, 11, .66) 0%, rgba(27, 17, 11, .74) 55%, rgba(27, 17, 11, .92) 85%, var(--bg) 100%),
                 url("/assets/img/hero-760.jpg"); }
  .band { background-image: linear-gradient(180deg, rgba(27, 17, 11, .74), rgba(27, 17, 11, .88)),
                            url("/assets/img/hero-760.jpg"); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .footer-inner { padding: 0 16px; }
  .topbar-link { display: none; }
  .topbar { justify-content: center; padding-top: 36px; }     /* the wordmark alone, centred, a bit lower */
  .logo { font-size: .95rem; letter-spacing: .26em; padding-left: .26em; }   /* evens out the trailing letter-spacing */
  .hero { min-height: auto; }
  .hero-inner { padding-top: 28px; padding-bottom: 72px; }
  .hero-intro { font-size: 1rem; }
  .hero-search { margin-top: 28px; }
  .hero-search input { padding: 14px 14px; }
  .hero-search button { padding: 0 16px; }
  .hero-search button .label { display: none; }
  .stats { gap: 24px; margin-top: 32px; }
  .stats dd { font-size: 1.6rem; }
  .stats dt { font-size: .66rem; letter-spacing: .16em; }
  .catalog { padding-top: 36px; }
  .tabs { gap: 8px; margin-top: 22px; }
  .tab { padding: 7px 12px; font-size: .9rem; }
  .category { margin-top: 40px; }
  .category-title { font-size: 1.5rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-title { font-size: 1rem; }
  .card-meta { font-size: .8rem; }
  .card-foot { margin: 10px 0 0; }
  .price { font-size: 1.1rem; }
  .price-request { font-size: .9rem; }
  .card-cta { display: none; }             /* the whole card is the link */
  .badge { top: 8px; left: 8px; font-size: .62rem; letter-spacing: .12em; padding: 4px 7px; }
  .back { margin: 22px 0 18px; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
  .button { display: block; text-align: center; }
  .site-footer { margin-top: 64px; }
}
