@font-face {
  font-family: Cormorant;
  src: url('assets/fonts/cormorant-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #f7f3ea;
  --ink: #352f2a;
  --wine: #652d36;
  --muted: #686154;
  --line: #e0d9cb;
  --gold: #796137;
  --controls-height: 82px;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--controls-height) + 16px); }
body { margin: 0; font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Cormorant, Georgia, serif; font-weight: 500; color: var(--wine); line-height: 1.1; }
[hidden] { display: none !important; }
::selection { background: #e6cdd0; color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 10px 18px; color: white; background: var(--wine); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--wine); }
.brand-mark { width: 29px; height: 42px; stroke-width: 1.1; }
.brand-name { font-family: Cormorant, Georgia, serif; font-size: 36px; line-height: .9; letter-spacing: -.8px; }
.brand-name > span { display: block; font-family: 'DM Sans', Arial, sans-serif; font-size: 8px; line-height: 1; letter-spacing: 3px; text-align: center; margin-top: 9px; }
.header-label { font-size: 12px; color: var(--muted); }
.menu-title { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 20px; }
h1 { font-size: 46px; letter-spacing: -1px; }
.menu-title > span { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); }
.currency-mark { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 29px; height: 29px; font-size: 13px; color: var(--wine); }
.menu-controls { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.group-filters { display: flex; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; }
.group-filters button { border: 0; background: transparent; border-radius: 3px; min-height: 38px; padding: 8px 27px; font-size: 13px; }
.group-filters button[aria-pressed='true'] { background: var(--wine); color: var(--paper); }
.group-filters button:hover:not([aria-pressed='true']) { background: #ece5d8; }
.search-wrap { display: flex; align-items: center; gap: 10px; min-height: 46px; width: 340px; padding-inline: 14px 6px; background: #fdfaf4; border: 1px solid var(--line); border-radius: 5px; }
.search-wrap:focus-within { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine); }
.search-wrap > svg { width: 18px; height: 18px; color: var(--muted); }
.search-wrap input { width: 100%; min-width: 0; padding: 11px 0; background: transparent; border: 0; outline: 0; font-size: 14px; }
.search-wrap input::placeholder { color: var(--muted); opacity: 1; }
.search-wrap input::-webkit-search-cancel-button { -webkit-appearance: none; }
.clear-search { min-width: 36px; min-height: 36px; padding: 0; background: transparent; border: 0; font-size: 25px; line-height: 1; }
.mobile-category { display: none; }
.menu-layout { display: grid; grid-template-columns: 206px minmax(0, 1fr); gap: 38px; padding-top: 26px; }
.menu-sidebar { align-self: start; position: sticky; top: calc(var(--controls-height) + 20px); max-height: calc(100dvh - var(--controls-height) - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7b8a0 transparent; }
.sidebar-label { padding: 0 12px 13px; color: var(--muted); font-size: 10px; letter-spacing: 1.5px; }
.category-nav { display: flex; flex-direction: column; gap: 3px; padding-right: 4px; }
.category-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; border-radius: 4px; border: 1px solid transparent; font-size: 13px; }
.category-link:hover { background: #eee6d9; }
.category-link[aria-current='true'] { background: #ece3d7; color: var(--wine); border-color: #ded1bf; }
.category-count { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.menu-content { min-width: 0; }
.menu-category { scroll-margin-top: calc(var(--controls-height) + 16px); }
.menu-category + .menu-category { margin-top: 36px; }
.enhanced .menu-category + .menu-category { margin-top: 0; }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 3px 0 18px; border-bottom: 1px solid var(--line); }
h2 { font-size: 36px; letter-spacing: -.5px; }
.wine-subcategory { margin-top: 22px; }
.wine-subcategory h3 { margin: 0 0 8px; color: var(--wine); font-size: 20px; font-weight: 600; }
.section-ornament { font-family: Georgia, serif; font-size: 32px; color: var(--gold); line-height: 1; margin-right: 5px; }
.menu-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 34px; list-style: none; padding: 0; margin: 2px 0 0; }
.menu-item { display: flex; align-items: baseline; gap: 10px; min-width: 0; min-height: 64px; padding: 19px 0; border-bottom: 1px solid #e6ded0; font-size: 14px; }
.item-name { overflow-wrap: anywhere; }
.item-rule { flex: 1; min-width: 8px; border-bottom: 1px dotted #cfc4b2; }
.item-price { white-space: nowrap; color: var(--wine); font-weight: 600; font-variant-numeric: tabular-nums; }
.item-price > span { font-weight: 400; margin-left: 2px; }
.menu-note { margin-top: 26px; font-size: 11px; color: var(--muted); max-width: 520px; }
.search-heading { margin-bottom: 20px; }
.search-heading h2 { font-size: 30px; }
.search-summary { margin-top: 8px; font-size: 13px; color: var(--muted); }
.is-searching .menu-category + .menu-category { margin-top: 30px; }
.is-searching .category-heading h2 { font-size: 27px; }
.is-searching .section-ornament { display: none; }
.empty-state { padding: 45px 16px; text-align: center; }
.empty-state h2 { font-size: 32px; }
.empty-state p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.reset-button { margin-top: 20px; min-height: 44px; padding: 10px 20px; background: transparent; border: 1px solid var(--wine); border-radius: 4px; color: var(--wine); font-size: 13px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { padding-block: 8px; }
.site-footer a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .menu-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  .menu-items { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --controls-height: 160px; }
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 76px; }
  .brand-mark { width: 25px; height: 36px; }
  .brand-name { font-size: 31px; }
  .brand-name > span { font-size: 7px; letter-spacing: 2.6px; margin-top: 8px; }
  .header-label { font-size: 11px; }
  .menu-title { padding: 19px 0 12px; }
  h1 { font-size: 37px; }
  .menu-title > span { font-size: 10px; gap: 7px; }
  .currency-mark { width: 25px; height: 25px; font-size: 12px; }
  .menu-controls { padding: 7px 0 13px; }
  .menu-tools { flex-wrap: wrap; gap: 10px; }
  .group-filters { width: 100%; padding: 3px; gap: 4px; }
  .group-filters button { flex: 1; min-height: 38px; padding: 8px 12px; font-size: 13px; }
  .search-wrap { width: 100%; min-height: 46px; }
  .search-wrap input { font-size: 16px; padding-block: 10px; }
  .mobile-category { display: flex; align-items: center; position: relative; gap: 12px; margin-top: 10px; min-height: 42px; }
  .mobile-category label { font-size: 11px; color: var(--muted); flex-shrink: 0; }
  .mobile-category select { width: 100%; min-width: 0; min-height: 42px; padding: 8px 32px 8px 12px; appearance: none; background: #eee6d9; border: 1px solid #d8cbb7; border-radius: 4px; color: var(--wine); font-size: 16px; }
  .mobile-category > svg { position: absolute; width: 18px; height: 18px; right: 10px; pointer-events: none; color: var(--wine); }
  .menu-layout { display: block; padding-top: 20px; }
  .menu-sidebar { position: static; max-height: none; margin-bottom: 22px; }
  .enhanced .menu-sidebar { display: none; }
  .category-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
  .category-link { border-color: var(--line); font-size: 12px; }
  .category-heading { padding-bottom: 14px; }
  h2 { font-size: 33px; }
  .section-ornament { font-size: 29px; }
  .menu-item { font-size: 15px; padding-block: 18px; min-height: 62px; gap: 10px; }
  .item-name { max-width: 76%; }
  .item-price { font-size: 14px; }
  .menu-note { font-size: 11px; margin-top: 23px; }
  .site-footer { margin-top: 29px; padding-block: 15px; font-size: 10px; }
  .is-searching .category-heading h2 { font-size: 28px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .menu-item { font-size: 14px; gap: 7px; }
  .item-price { font-size: 13px; }
  .menu-title > span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  .site-header, .menu-title, .menu-controls, .menu-sidebar, .menu-note, .site-footer, .search-heading, .empty-state { display: none !important; }
  .wrap { width: 100%; }
  .menu-layout { display: block; padding: 0; }
  .menu-category, .menu-item { display: block !important; }
  .menu-category { margin: 15px 0 !important; break-inside: avoid-page; }
  .menu-items { display: block; columns: 2; column-gap: 32px; }
  .menu-item { break-inside: avoid; padding: 7px 0; min-height: 0; font-size: 11px; }
  .item-price { float: right; font-size: 11px; }
  .item-rule, .section-ornament { display: none; }
  h2 { color: black; font-size: 26px; }
  .category-heading { padding-bottom: 8px; }
}

/* Trenutačna i povijesna cijena pripadaju istom artiklu. */
.menu-item { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; column-gap: 14px; row-gap: 7px; }
.item-name { display: block; max-width: none; min-width: 0; grid-column: 1; grid-row: 1; }
.item-anchor-label { display: block; grid-column: 1; grid-row: 2; font-size: 11px; line-height: 1.4; color: var(--muted); }
.item-anchor-label time { white-space: nowrap; }
.item-price { line-height: 1.6; grid-column: 2; grid-row: 1; text-align: right; }
.item-anchor-price { grid-column: 2; grid-row: 2; text-align: right; font-size: 12px; line-height: 1.4; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.item-sale { display: block; font-size: 11px; color: var(--wine); }
.site-footer { align-items: flex-start; flex-wrap: wrap; }
.footer-details { display: grid; gap: 9px; max-width: 730px; }
.business-info { display: grid; gap: 5px; }
.business-info a { overflow-wrap: anywhere; }
.complaint-info, .price-info { font-size: 10px; line-height: 1.6; max-width: 700px; }
.legal-link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .menu-item .item-name { max-width: none; }
  .item-anchor-label { font-size: 11px; }
  .item-anchor-price { font-size: 12px; }
}
@media print {
  .menu-item { display: grid !important; }
  .item-price { float: none; }
  .item-anchor-label, .item-anchor-price { font-size: 9px; }
}
.legal-page { max-width: 800px; padding-block: 40px; }
.legal-page h1 { margin-block: 24px; font-size: 38px; }
.legal-page p { margin-block: 20px; }
.legal-page a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.legal-page li { margin-block: 15px; overflow-wrap: anywhere; }

.brand-logo { display: block; width: 190px; max-width: 100%; height: auto; }
@media (max-width: 700px) { .brand-logo { width: 168px; } }
