/* Olmara – Mediterranean restaurant website demo by Drago Katić Development
   Fonts (SIL Open Font License, see fonts/OFL-*.txt): Fraunces, Mulish
   The page is generated by arhiva/alati/gen_olmara.py; photos (Pexels) by arhiva/alati/olmara_photos.py */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  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: "Fraunces";
  src: url("fonts/fraunces-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  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: "Mulish";
  src: url("fonts/mulish-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Mulish";
  src: url("fonts/mulish.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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;
}

:root {
  --cream: #f6f0e4;
  --cream-2: #efe6d3;
  --paper: #fffdf8;
  --ink: #241f1a;
  --muted: #625a4f;
  --line: #e2d7c2;
  --olive: #4f5d2f;
  --olive-deep: #3c4724;
  --olive-soft: #e5e8d3;
  --saffron: #c8892b;
  --sea: #1f4e63;
  --chili: #a3361f;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--olive-deep); }
h1, h2, h3, h4 { margin: 0 0 .4em; font-family: var(--serif); font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h1 em { color: var(--olive); font-style: italic; font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
p { margin: 0 0 1em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.ol-wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.ol-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ol-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--cream); }
.ol-skip:focus { top: 12px; }
.ol-kicker { margin-bottom: 10px; color: var(--olive); font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.ol-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border: 2px solid transparent; border-radius: 99px; font: 800 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.ol-btn-olive { background: var(--olive); color: var(--cream); }
.ol-btn-olive:hover { background: var(--olive-deep); }
.ol-btn-line { border-color: var(--ink); color: var(--ink); }
.ol-btn-line:hover { background: var(--ink); color: var(--cream); }

/* header */
.ol-header { position: sticky; top: 0; z-index: 40; background: rgba(246, 240, 228, .96); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.ol-header.is-scrolled { box-shadow: 0 6px 20px rgba(36, 31, 26, .08); }
.ol-header-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.ol-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 1.6rem/1 var(--serif); text-decoration: none; }
.ol-mark { width: 38px; height: 38px; flex: none; }
.ol-nav { margin-left: auto; }
.ol-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ol-nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 99px; }
.ol-nav a:hover { background: var(--cream-2); }
.ol-btn-order { background: var(--ink); color: var(--cream); }
.ol-btn-order:hover { background: var(--olive-deep); }
.ol-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--saffron); color: var(--ink); font-size: .8rem; }

/* hero */
.ol-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 70px); }
.ol-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ol-lead { max-width: 520px; color: var(--muted); font-size: 1.12rem; }
.ol-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.ol-open { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; }
.ol-open::before { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); content: ""; }
.ol-open.is-open::before { background: #3f8f3a; }
.ol-hero-photo img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 200px 24px 24px 24px; }

/* menu */
.ol-menu { padding: clamp(50px, 7vw, 90px) 0; background: var(--paper); border-block: 1px solid var(--line); }
.ol-menu-head { max-width: 640px; margin-bottom: 26px; }
.ol-menu-head p:last-child { color: var(--muted); }
.ol-tools { position: sticky; top: 70px; z-index: 20; display: grid; gap: 12px; margin: 0 -16px 22px; padding: 12px 16px; background: rgba(255, 253, 248, .97); border-bottom: 1px solid var(--line); }
.ol-cats ul { display: flex; gap: 6px; margin: 0; padding: 0 0 2px; list-style: none; overflow-x: auto; }
.ol-cats a { display: block; padding: 8px 14px; border-radius: 99px; background: var(--cream-2); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.ol-cats a:hover, .ol-cats a.is-current { background: var(--olive); color: var(--cream); }
.ol-tools > * { min-width: 0; }
.ol-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ol-search input { width: min(320px, 100%); min-height: 42px; padding: 8px 14px; border: 1px solid #b9ac94; border-radius: 99px; background: var(--paper); color: var(--ink); font: inherit; }
.ol-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ol-chip { min-height: 38px; padding: 6px 14px; border: 1px solid #b9ac94; border-radius: 99px; background: var(--paper); color: var(--ink); font: 700 .88rem/1 var(--sans); cursor: pointer; }
.ol-chip[aria-pressed="true"] { border-color: var(--olive); background: var(--olive); color: var(--cream); }

.ol-menu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.ol-cat { margin-bottom: 34px; }
.ol-cat h3 { padding-bottom: 8px; border-bottom: 2px solid var(--ink); font-size: 1.7rem; }
.ol-cat-desc { color: var(--muted); font-style: italic; }
.ol-items { margin: 0; padding: 0; list-style: none; }
.ol-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.ol-item img { width: 112px; height: 112px; object-fit: cover; border-radius: 16px; }
.ol-item.ol-noimg { grid-template-columns: minmax(0, 1fr) auto; }
.ol-item.has-qty { background: linear-gradient(90deg, var(--olive-soft), transparent 70%); }
.ol-item-body h4 { margin-bottom: 4px; font-size: 1.22rem; }
.ol-item-body p { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.ol-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ol-tag { padding: 2px 8px; border-radius: 99px; background: var(--olive-soft); color: var(--olive-deep); font-size: .75rem; font-weight: 800; }
.ol-tag-hot { background: #f7dfd7; color: var(--chili); }
.ol-tag-gf { background: #dfe9ee; color: var(--sea); }
.ol-item-body .ol-allergens { margin: 0; font-size: .8rem; }
.ol-item-buy { display: grid; justify-items: end; gap: 8px; }
.ol-price { margin: 0; font: 600 1.25rem/1 var(--serif); }
.ol-qty { display: inline-flex; align-items: center; border: 1px solid #b9ac94; border-radius: 99px; background: var(--paper); }
.ol-qty input { width: 46px; height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); font: 800 1.05rem/1 var(--sans); text-align: center; -moz-appearance: textfield; }
.ol-qty input::-webkit-outer-spin-button, .ol-qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.ol-step { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--olive-deep); font: 800 1.3rem/1 var(--sans); cursor: pointer; }
.ol-step:hover { background: var(--olive-soft); }
.has-qty .ol-qty { border-color: var(--olive); background: var(--olive); }
.has-qty .ol-qty input, .has-qty .ol-step { color: var(--cream); }
.has-qty .ol-step:hover { background: var(--olive-deep); }
.ol-none { padding: 24px; background: var(--cream-2); border-radius: 16px; text-align: center; }

/* order */
.ol-order { position: sticky; top: 170px; }
.ol-order-in { padding: 22px; border: 2px solid var(--ink); border-radius: 24px; background: var(--cream); }
.ol-order-head { display: flex; align-items: center; justify-content: space-between; }
.ol-order-head h2 { margin: 0; font-size: 1.8rem; }
.ol-close { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream-2); color: var(--ink); font-size: 1.6rem; cursor: pointer; }
.ol-empty { margin: 12px 0; color: var(--muted); }
.ol-lines { max-height: 38vh; margin: 12px 0; padding: 0; overflow-y: auto; list-style: none; }
.ol-lines li { display: grid; grid-template-columns: 30px 1fr auto 32px; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ol-lines b { font-weight: 800; }
.ol-lines button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--chili); font-size: 1.2rem; cursor: pointer; }
.ol-lines button:hover { background: #f7dfd7; }
.ol-total { display: flex; justify-content: space-between; margin: 12px 0 16px; padding-top: 10px; border-top: 2px solid var(--ink); font: 600 1.35rem/1 var(--serif); }
.ol-how { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; padding: 0; border: 0; }
.ol-how legend { margin-bottom: 6px; padding: 0; font-weight: 800; }
.ol-how label { display: inline-flex; align-items: center; gap: 6px; }
.ol-how input { width: 18px; height: 18px; accent-color: var(--olive); }
.ol-field { display: grid; gap: 4px; margin-bottom: 12px; }
.ol-field[hidden] { display: none; }
.ol-field label { font-weight: 700; font-size: .92rem; }
.ol-field label span { color: var(--muted); font-weight: 400; }
.ol-field input, .ol-field select, .ol-field textarea { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #b9ac94; border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; }
.ol-field [aria-invalid="true"] { border-color: var(--chili); }
.ol-send { width: 100%; }
.ol-status { min-height: 1.5em; margin: 10px 0 0; font-weight: 700; }
.ol-bar { display: none; }

/* kitchen, visit */
.ol-kitchen, .ol-visit { padding: clamp(50px, 7vw, 90px) 0; }
.ol-visit { background: var(--cream-2); }
.ol-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ol-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.ol-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.ol-facts li { padding: 14px; border-radius: 16px; background: var(--paper); font-size: .9rem; }
.ol-facts b { display: block; color: var(--olive); font: 600 1.7rem/1.1 var(--serif); }
.ol-address { font-size: 1.1rem; font-weight: 700; }
.ol-hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.ol-hours caption { padding-bottom: 6px; font-weight: 800; text-align: left; }
.ol-hours th, .ol-hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
.ol-hours th { font-weight: 600; }
.ol-hours tr.is-today th, .ol-hours tr.is-today td { color: var(--olive-deep); font-weight: 800; }

/* footer */
.ol-footer { padding: 46px 0 24px; background: var(--ink); color: #d8cfbf; }
.ol-footer .ol-logo { color: var(--cream); }
.ol-footer-in { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: start; }
.ol-footer .made-by { max-width: 640px; margin: 0 0 0 auto; font-size: .92rem; }
.ol-footer a { color: var(--cream); }
.ol-copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid #4a4238; font-size: .85rem; }

/* responsive */
@media (max-width: 980px) {
  .ol-menu-grid { grid-template-columns: 1fr; }
  .ol-order { position: fixed; inset: auto 0 0; top: auto; z-index: 60; display: none; max-height: 88vh; overflow-y: auto; }
  .ol-order.is-open { display: block; }
  .ol-order-in { border-radius: 24px 24px 0 0; border-width: 2px 0 0; box-shadow: 0 -12px 40px rgba(36, 31, 26, .25); }
  .ol-close { display: block; }
  html:not(.js) .ol-order { position: static; display: block; }
  .js .ol-bar { position: sticky; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 58px; padding: 10px 20px; border: 0; background: var(--ink); color: var(--cream); font: 700 1rem/1.2 var(--sans); cursor: pointer; }
  .ol-bar-sum { color: var(--saffron); font: 600 1.25rem/1 var(--serif); }
  .ol-hero-in, .ol-split { grid-template-columns: 1fr; }
  .ol-split-rev > figure { order: -1; }
}
@media (max-width: 640px) {
  .ol-nav { display: none; }
  .ol-btn-order { margin-left: auto; padding: 8px 14px; }
  .ol-tools { top: 70px; }
  .ol-filters { flex-wrap: nowrap; overflow-x: auto; }
  .ol-search { flex: none; }
  .ol-search input { width: 200px; }
  .ol-chips { flex-wrap: nowrap; }
  .ol-chip { flex: none; }
  .ol-item { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .ol-item img { width: 76px; height: 76px; border-radius: 12px; }
  .ol-item.ol-noimg { grid-template-columns: minmax(0, 1fr); }
  .ol-item-buy { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
  .ol-facts { grid-template-columns: 1fr; }
  .ol-footer-in { grid-template-columns: 1fr; gap: 18px; }
  .ol-footer .made-by { margin: 0; }
  .ol-hero-photo img { border-radius: 120px 20px 20px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
