/* Pritsumaja leht — "Paber ja tint" */
body.pm-body { margin: 0; background: #D1CEBF; }
.pm {
	--paper: #D1CEBF; --paper-2: #E2DFD3; --ink: #141210; --muted: #4A443C; --line: #ADA996; --light: #F6F3EA;
	--accent: #962B19; --on-dark: #CDC3B4; --price-dark: #F0B49F;
	--display: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
	--serif: 'Lora', Georgia, 'Times New Roman', serif;
	background: var(--paper); color: var(--ink);
	font-family: var(--serif); font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}
.pm *, .pm *::before, .pm *::after { box-sizing: border-box; }
.pm img { max-width: 100%; height: auto; }
.pm a { color: var(--accent); }
.pm a:hover { color: var(--ink); }
.pm h1, .pm h2, .pm h3, .pm h4, .pm p { margin: 0; }
.pm [hidden] { display: none !important; }

.pm-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pm-wrap--narrow { max-width: 820px; }
.pm-wrap--menu { max-width: 980px; }
.pm-section { padding-top: 96px; padding-bottom: 96px; }
.pm-center { text-align: center; }

.pm-display { font-family: var(--display); font-weight: 400; letter-spacing: .02em; line-height: .95; font-size: clamp(44px, 5.5vw, 56px); }
.pm-display--lg { font-size: clamp(48px, 6vw, 80px); line-height: .9; }
.pm-display--xl { font-size: clamp(56px, 7vw, 96px); line-height: .9; }
.pm-label { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .1em; color: var(--accent); }
.pm-label--light { color: var(--price-dark); margin: 40px 0 0; text-align: center; }

/* notice */
.pm-notice { background: var(--ink); color: var(--light); text-align: center; padding: 12px 24px; font-size: 16px; }

/* header */
.pm-header { border-bottom: 1px solid var(--ink); }
.pm-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; font-family: var(--display); font-size: 20px; letter-spacing: .1em; }
.pm-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; }
.pm .pm-header__logo { display: block; line-height: 0; padding: 4px 0; }
.pm-header__logo img { height: 46px; width: auto; display: block; }
.pm .pm-nav a, .pm .pm-header__tel { color: var(--ink); text-decoration: none; padding: 10px 0; display: inline-block; }
.pm .pm-nav a:hover, .pm .pm-header__tel:hover { color: var(--accent); }
.pm-header__end { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }

/* buttons */
.pm .pm-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px; font-family: var(--display); font-size: 22px; letter-spacing: .08em; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s; }
.pm .pm-header .pm-btn { min-height: 44px; font-size: 20px; padding: 0 22px; }
.pm .pm-btn--dark { background: var(--ink); color: var(--light); }
.pm .pm-btn--dark:hover { background: #3a3430; color: var(--light); }
.pm .pm-btn--accent { background: var(--accent); color: var(--light); }
.pm .pm-btn--accent:hover { background: #7A2214; color: var(--light); }
.pm .pm-btn--light { background: var(--light); color: var(--ink); }
.pm .pm-btn--light:hover { background: #fff; color: var(--ink); }
.pm .pm-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.pm .pm-btn--outline:hover { background: var(--ink); color: var(--light); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pm-actions--center { justify-content: center; margin-top: 32px; }

/* hero */
.pm-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 56px; padding-bottom: 64px; }
.pm-hero__logo { margin: 0; line-height: 0; }
.pm-hero__logo img { width: 300px; max-width: 70vw; height: auto; }
.pm .pm-hero__lead { margin-top: 32px; max-width: 640px; font-size: clamp(21px, 2.6vw, 29px); line-height: 1.35; font-style: italic; }
.pm .pm-today { margin-top: 28px; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; background: #E2DFD3; font-size: 16px; }
.pm-today__main { font-weight: 600; }
.pm-today__oven { color: var(--muted); }
.pm-dot { width: 10px; height: 10px; border-radius: 50%; background: #2F7A4F; box-shadow: 0 0 0 3px rgba(47, 122, 79, .18); }
.pm-dot.is-closed { background: #8C847A; box-shadow: none; }

/* photos */
.pm-photos { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pm-photos--1 { grid-template-columns: minmax(0, 1fr); }
.pm-photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; }
.pm-photos--1 img { aspect-ratio: 16 / 9; }

/* hours strip */
.pm-hours { margin-top: 72px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.pm-hours::before { content: ''; flex: 0 0 100%; border-top: 1px solid var(--ink); margin-bottom: 4px; }
.pm-hours::after { content: ''; flex: 0 0 100%; border-top: 1px solid var(--ink); margin-top: 4px; }
.pm-hours__col { flex: 1 1 260px; font-size: 16px; }
.pm .pm-hours__col p { margin-top: 4px; }
.pm-hours__notices { flex: 0 0 100%; font-size: 15px; color: var(--accent); }

/* story */
.pm-story { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.pm-story .pm-display { font-size: clamp(48px, 6vw, 80px); line-height: .95; }
.pm .pm-story p { margin-top: 20px; font-size: 19px; }

/* pizzas */
.pm-dark { background: var(--ink); color: var(--light); }
.pm .pm-sub { margin-top: 12px; font-style: italic; color: var(--on-dark); }
.pm-pizzas { margin-top: 48px; columns: 2 400px; column-gap: 72px; }
.pm-pizza { break-inside: avoid; padding: 16px 0 18px; border-bottom: 1px dashed #4A433C; }
.pm-line { display: flex; align-items: baseline; gap: 12px; }
.pm-dots { flex: 1 1 auto; min-width: 16px; border-bottom: 2px dotted #8F8A78; transform: translateY(-5px); }
.pm-pizza .pm-dots { border-color: #6A6158; transform: translateY(-6px); }
.pm-pizza__name { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .04em; line-height: 1; }
.pm-pizza__price { font-family: var(--display); font-size: 28px; color: var(--price-dark); white-space: nowrap; }
.pm .pm-pizza__desc { margin-top: 4px; font-size: 15px; font-style: italic; color: var(--on-dark); }

/* menu */
.pm-tabs { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pm-tabs [role=tab] { min-height: 46px; padding: 0 20px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; font-family: var(--display); font-size: 20px; letter-spacing: .08em; cursor: pointer; }
.pm-tabs [role=tab]:hover { background: var(--paper-2); }
.pm-tabs [role=tab][aria-selected=true] { background: var(--ink); color: var(--light); }
.pm-tabs [role=tab]:focus-visible, .pm a:focus-visible, .pm .pm-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pm-panel { margin-top: 48px; }
.pm-has-tabs .pm-panel { margin-top: 32px; }
.pm-has-tabs .pm-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pm-panel__title { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .08em; color: var(--accent); border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.pm-dish { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pm-dish__name { font-weight: 600; font-size: 19px; }
.pm-dish__price { font-family: var(--display); font-size: 26px; color: var(--accent); white-space: nowrap; }
.pm .pm-dish__desc { margin-top: 2px; font-size: 15px; font-style: italic; color: var(--muted); }

/* cards */
.pm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; padding-bottom: 96px; }
.pm-card { border-radius: 6px; padding: 44px 40px; }
.pm .pm-card p { margin-top: 10px; font-size: 18px; }
.pm-card--accent { background: var(--accent); color: var(--light); }
.pm-card--outline { border: 1.5px solid var(--ink); }
.pm-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; margin-bottom: 24px; display: block; }

/* contact */
.pm-contact { border-top: 1px solid var(--ink); }
.pm-contact__in { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.pm-contact__info { flex: 1 1 340px; min-width: 0; }
.pm .pm-contact__lines { margin: 24px 0 16px; font-size: 19px; }
.pm-contact__map { flex: 1 1 520px; min-width: 0; min-height: 400px; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.pm-contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; filter: grayscale(.35) sepia(.12); }
.pm-week { margin-top: 28px; width: 100%; max-width: 420px; border-collapse: collapse; font-size: 16px; }
.pm-week th, .pm-week td { text-align: left; padding: 7px 8px 7px 0; border-top: 1px solid var(--line); font-weight: 400; }
.pm-week thead th { border-top: 0; font-family: var(--display); font-size: 18px; letter-spacing: .1em; color: var(--muted); }
.pm-week tbody th { font-weight: 600; }
.pm-week tr.is-today th, .pm-week tr.is-today td { color: var(--accent); font-weight: 600; }

/* footer */
.pm-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; line-height: 1.7; }
.pm-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 48px; padding-top: 64px; padding-bottom: 40px; }
.pm-footer__logo { height: 64px; width: auto; display: block; }
.pm .pm-footer__tag { margin-top: 18px !important; font-style: italic; max-width: 260px; }
.pm-footer__h { font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .12em; color: var(--light); margin: 0 0 8px !important; }
.pm .pm-footer a { color: var(--on-dark); text-decoration: none; }
.pm .pm-footer a:hover { color: var(--light); text-decoration: underline; }
.pm-footer__links a { display: block; padding: 4px 0; }
.pm-footer__bar { border-top: 1px solid #2E2925; padding: 18px 0; font-size: 13px; color: #9A9184; }

@media (max-width: 640px) {
	.pm-section, .pm-story { padding-top: 72px; padding-bottom: 72px; }
	.pm-header__in { justify-content: center; }
	.pm-nav { justify-content: center; gap: 0 20px; }
	.pm-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.pm-photos--1 { grid-template-columns: minmax(0, 1fr); }
	.pm-photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pm-card { padding: 32px 24px; }
	.pm-pizza__name { font-size: 26px; }
	/* hero: more air between buttons and today line, less empty space below */
	.pm-hero { padding-top: 40px; padding-bottom: 40px; }
	.pm .pm-hero__lead { margin-top: 24px; }
	.pm-actions--center { margin-top: 28px; gap: 10px; }
	.pm-actions--center .pm-btn { flex: 1 1 140px; }
	.pm .pm-btn { padding: 0 20px; }
	.pm .pm-today { display: block; text-align: center; margin-top: 28px; padding: 0; border: 0; background: transparent; border-radius: 0; font-size: 15px; line-height: 1.5; }
	.pm-today .pm-dot { display: inline-block; vertical-align: middle; margin-right: 8px; }
	.pm-today__oven { display: block; }
	.pm-hours { margin-top: 40px; }
	/* menus: no dotted leaders on phones, price sits top-right */
	.pm-dots { display: none; }
	.pm-line { justify-content: space-between; align-items: flex-start; gap: 16px; }
	.pm-dish__name, .pm-pizza__name { flex: 1 1 auto; min-width: 0; }
	.pm-dish__price, .pm-pizza__price { flex: 0 0 auto; line-height: 1.15; }
	.pm-dish__name { font-size: 18px; line-height: 1.35; }
	.pm-dish { padding: 14px 0; }
}
