/* ============================================================
   PakMenuPrices - hand-written stylesheet (mobile-first)
   Zero external requests. System font stack for speed.
   ============================================================ */
:root {
  --brand: #d9381e;
  --brand-dark: #a82812;
  --brand-light: #fff3ef;
  --accent: #ffcf4d;
  --ink: #1f2430;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --card: #ffffff;
  --border: #e8ebf0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 25, 40, 0.08);
  --header-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 18px; }

/* ---------- Header (NOT sticky, per owner request) ---------- */
.site-header {
  position: static; /* deliberately not sticky */
  background: #fff;
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo { width: 46px; height: 46px; flex: 0 0 46px; } /* fixed size: never disturbs layout */
.brand-text { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.brand-text small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.4px; }

.nav-toggle { display: none; background: none; border: 2px solid var(--border); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul { display: flex; gap: 4px; list-style: none; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { background: var(--brand-light); color: var(--brand); text-decoration: none; }
.main-nav a.active { background: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(120deg, #d9381e, #f26722, #d9381e);
  background-size: 220% 220%;
  animation: heroShift 14s ease infinite;
  color: #fff; text-align: center; padding: 64px 18px 72px;
}
@keyframes heroShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero h1 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 10px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.hero p { max-width: 640px; margin: 0 auto 24px; font-size: 1.05rem; opacity: 0.95; }
.hero-search { display: flex; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.hero-search input { flex: 1; border: 0; outline: 0; padding: 12px 18px; font-size: 1rem; border-radius: 999px; min-width: 0; }
.hero-search button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 12px 26px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.hero-search button:hover { background: #000; transform: scale(1.04); }
.hero-badges { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; }
.hero-badges span { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); padding: 6px 14px; border-radius: 999px; }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section.alt { background: var(--bg-soft); }
.section h2 { font-size: 1.6rem; margin-bottom: 8px; }
.section .lead { color: var(--muted); margin-bottom: 26px; max-width: 680px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 8px rgba(20,25,40,0.05);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .emoji { font-size: 2.4rem; }
.card h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 0.95rem;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn.ghost { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.pill { display: inline-block; background: var(--brand-light); color: var(--brand-dark); font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ---------- Menu tables ---------- */
.menu-cat { margin-bottom: 34px; }
.menu-cat h3 { font-size: 1.25rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--brand-light); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.menu { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.menu th { background: var(--ink); color: #fff; text-align: left; padding: 12px 16px; font-size: 0.9rem; }
table.menu td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
table.menu tr:hover td { background: #fffaf7; }
table.menu .item-name { font-weight: 700; }
table.menu .item-desc { color: var(--muted); font-size: 0.88rem; display: block; margin-top: 3px; }
table.menu .price { font-weight: 800; color: var(--brand-dark); white-space: nowrap; }
.badge-pop { display: inline-block; background: var(--accent); color: #5a4300; font-size: 0.72rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.price-note {
  background: #fff8e1; border: 1px solid #ffe08a; border-radius: var(--radius);
  padding: 14px 18px; margin: 0 0 26px; font-size: 0.93rem;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 2px solid var(--border); border-radius: 10px; font-size: 1rem; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); }
.filter-input { max-width: 420px; margin-bottom: 22px; }

/* ---------- FAQ accordion ---------- */
.acc { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: 0; padding: 16px 18px; font-size: 1rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); }
.acc-head .pm { font-size: 1.3rem; color: var(--brand); flex: 0 0 auto; transition: transform .25s; }
.acc.open .acc-head .pm { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body p { padding: 0 18px 16px; color: var(--muted); }

/* ---------- Article ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: 1.9rem; margin-bottom: 10px; line-height: 1.25; }
.prose h2 { font-size: 1.4rem; margin: 30px 0 10px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin: 22px 0 14px; }
.quick-answer { background: var(--brand-light); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; margin: 18px 0 26px; }
.page-hero { background: var(--bg-soft); padding: 44px 0 36px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: 1.9rem; margin-bottom: 8px; }
.page-hero p { color: var(--muted); max-width: 680px; }

/* ---------- Calculator ---------- */
.calc-layout { display: grid; gap: 22px; grid-template-columns: 1fr; }
.calc-items .calc-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.calc-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--brand); }
.calc-row .qty { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.calc-row .qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font-size: 1.1rem; cursor: pointer; }
.calc-row .qty input { width: 46px; text-align: center; border: 1px solid var(--border); border-radius: 8px; padding: 5px; }
.calc-total { position: sticky; top: 20px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.calc-total .amount { font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.calc-total small { opacity: 0.75; }

/* ---------- Footer ---------- */
.site-footer { background: #161a23; color: #c8cfdb; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; padding: 46px 18px 30px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; font-size: 0.93rem; }
.site-footer a { color: #c8cfdb; }
.site-footer a:hover { color: #fff; }
.f-col p { font-size: 0.93rem; }
.footer-note { border-top: 1px solid #2a3040; padding: 20px 18px; font-size: 0.85rem; color: #9aa3b5; }
.footer-note strong { color: #e8b34b; }
.footer-bottom { border-top: 1px solid #2a3040; padding: 16px 18px; text-align: center; font-size: 0.88rem; color: #9aa3b5; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--brand); font-size: 1.4rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); }

/* ---------- Scroll reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { animation: none; }
}

/* ---------- Category strip ---------- */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.cat-strip a { flex: 0 0 auto; background: #fff; border: 2px solid var(--border); border-radius: 999px; padding: 9px 18px; font-weight: 600; color: var(--ink); font-size: 0.92rem; transition: border-color .2s, transform .2s; }
.cat-strip a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; transform: translateY(-2px); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 70px 18px; }
.notfound .big { font-size: 4rem; }

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.6rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .calc-layout { grid-template-columns: 1fr 340px; align-items: start; }
  .hero h1 { font-size: 3rem; }
  .prose h1 { font-size: 2.2rem; }
}

/* ---------- Mobile nav drawer ---------- */
@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: -280px; width: 270px; height: 100vh; z-index: 100;
    background: #fff; box-shadow: -6px 0 24px rgba(0,0,0,0.15);
    transition: right .3s ease; padding: 70px 18px 18px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 6px; }
  .main-nav a { padding: 12px 14px; font-size: 1.05rem; }
  .drawer-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .drawer-scrim.show { opacity: 1; visibility: visible; }
}

/* ============================================================
   v1.1.0 - Ultra-HD image system (quick-load: WebP, lazy, fixed dims)
   ============================================================ */

/* ---------- Hero with photographic banner ---------- */
.hero-media { position: relative; padding: 0; overflow: hidden; min-height: 480px; display: flex; align-items: center; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: relative; z-index: 1; width: 100%; text-align: center; padding: 72px 18px 64px; background: linear-gradient(180deg, rgba(15,10,8,0.62), rgba(15,10,8,0.45) 55%, rgba(15,10,8,0.62)); }
.hero-overlay h1 { color: #fff; }
.hero-overlay p { color: rgba(255,255,255,0.94); }
.hero-overlay .hero-badges span { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

/* ---------- Image cards ---------- */
.card-img { overflow: hidden; padding: 0; }
.card-img-link { display: block; overflow: hidden; }
.card-img-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .45s ease; }
.card-img:hover .card-img-link img { transform: scale(1.05); }
.card-img .card-body { padding: 18px 20px 20px; }
.card-img .card-body h3 { margin-bottom: 6px; }
.cat-card { color: var(--ink); }
.cat-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.card { transition: transform .25s ease, box-shadow .25s ease; }

/* ---------- Restaurant hero (two-column) ---------- */
.rest-hero-inner { display: grid; gap: 26px; align-items: center; }
.rest-hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 860px) {
  .rest-hero-inner { grid-template-columns: 1.25fr 1fr; }
}

/* ---------- Guide hero figure ---------- */
.guide-hero { margin: 0 0 22px; }
.guide-hero img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.guide-hero figcaption { font-size: 0.82rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* ---------- GEO: definition + key-facts table ---------- */
.def-block { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0 24px; }
.def-block p { margin: 0; }
table.facts { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 0.95rem; }
table.facts caption { text-align: left; font-weight: 800; margin-bottom: 10px; font-size: 1.05rem; }
table.facts th, table.facts td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.facts th { white-space: nowrap; color: var(--brand-dark); width: 200px; }
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }

/* ---------- Calculator reset button (visible on dark total card) ---------- */
.calc-total .btn-reset { background: #fff; color: var(--ink); border: 2px solid #fff; font-weight: 700; }
.calc-total .btn-reset:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- Category image gallery (3 ultra-HD shots per menu section) ---------- */
.cat-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 16px; }
.cat-gallery figure { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.cat-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.cat-gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .cat-gallery { gap: 6px; } }

/* ---------- Expandable menu items (tap item -> 3 ultra-HD photos) ---------- */
.item-toggle { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; display: block; width: 100%; }
.item-toggle .item-name::after { content: ' 📷'; font-size: 0.8em; }
tr.expanded .item-toggle .item-name::after { content: ' ▾'; }
tr.item-detail td { background: var(--bg-soft); padding: 12px 14px; border-bottom: 1px solid var(--border); }
.menu-row:hover { background: var(--brand-light); }
.tap-hint { font-style: normal; font-size: 0.78rem; color: var(--brand); font-weight: 600; white-space: nowrap; }


/* ============================================================
 * ULTRA-HD PHOTO GALLERY & LIGHTBOX MODAL
 * ============================================================ */
.pmp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pmp-modal.show {
  display: flex;
}
.pmp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pmpFadeIn .22s ease forwards;
}
.pmp-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  max-height: 94vh;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  animation: pmpScaleUp .26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pmpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pmpScaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Header */
.pmp-modal-header {
  padding: 18px 24px 14px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.pmp-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.pmp-modal-close:hover {
  background: var(--brand);
  color: #ffffff;
  transform: rotate(90deg);
}
.pmp-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  padding-right: 44px;
}
.pmp-badge-rest {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 3px 10px;
  border-radius: 20px;
}
.pmp-badge-cat {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink-soft);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.pmp-badge-verified {
  font-size: 0.78rem;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 3px 10px;
  border-radius: 20px;
}
.pmp-modal-title {
  margin: 4px 0 6px;
  font-size: 1.45rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}
.pmp-modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pmp-modal-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-dark);
}
.pmp-modal-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* Modal Stage (Main Image Viewer) */
.pmp-modal-stage {
  position: relative;
  background: #0d1117;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 600px) {
  .pmp-modal-stage { height: 260px; }
}
.pmp-stage-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
}
.pmp-stage-img-wrap.zoomed {
  cursor: zoom-out;
}
.pmp-modal-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease, opacity .2s ease;
  user-select: none;
}
.pmp-stage-img-wrap.zoomed .pmp-modal-img {
  transform: scale(1.55);
}
.pmp-img-hd-tag {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #ffcf4d;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 207, 77, 0.4);
  pointer-events: none;
}

/* Navigation Arrow Buttons */
.pmp-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all .2s ease;
  user-select: none;
}
.pmp-nav-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}
.pmp-nav-prev { left: 14px; }
.pmp-nav-next { right: 14px; }

/* Thumbnail Bar */
.pmp-modal-thumbs {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  justify-content: center;
  align-items: center;
}
.pmp-thumb-btn {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  width: 90px;
  height: 62px;
  opacity: 0.6;
  transition: all .2s ease;
  position: relative;
}
.pmp-thumb-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pmp-thumb-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.pmp-thumb-btn.active {
  opacity: 1;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(217, 56, 30, 0.25);
  transform: scale(1.05);
}
.pmp-thumb-btn::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 1px 0;
}

/* Modal Footer */
.pmp-modal-footer {
  padding: 14px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}
.pmp-modal-desc {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}
.pmp-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.pmp-modal-tip {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Category Showcase Thumbnails */
.cat-gallery-thumb {
  cursor: pointer;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cat-gallery-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}
.gallery-zoom-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 19, 26, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  pointer-events: none;
  transition: background .2s ease;
}
.cat-gallery-thumb:hover .gallery-zoom-badge {
  background: var(--brand);
}

/* Menu Row & Interactive Elements */
.menu-row {
  cursor: pointer;
  transition: background .2s ease;
}
.menu-row:hover {
  background: rgba(217, 56, 30, 0.05);
}
.menu-row td {
  vertical-align: middle;
}
.btn-mini-view {
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid var(--brand);
  border-radius: 14px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
  white-space: nowrap;
  transition: all .2s ease;
}
.btn-mini-view:hover {
  background: var(--brand);
  color: #ffffff;
}
.price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.price-val {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-dark);
}

/* In-table Expanded Detail Preview */
tr.item-detail td {
  background: #fafbfe;
  padding: 16px;
  border-bottom: 2px solid var(--border);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}
.item-detail-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.item-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.item-detail-head strong {
  font-size: 1.05rem;
  color: var(--brand-dark);
}
.item-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.item-detail-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all .25s ease;
}
.item-detail-card:hover {
  transform: scale(1.03);
  border-color: var(--brand);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.item-detail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-detail-card-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ============================================================
 * ADSENSE COMPLIANT AD STYLING
 * ============================================================ */
.ad-slot-wrapper {
  margin: 26px auto;
  text-align: center;
  width: 100%;
  max-width: 820px;
  clear: both;
}
.ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 700;
}
.ad-container {
  min-height: 90px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow: hidden;
}
.ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 10px;
}
.ad-icon { font-size: 1.2rem; }
.ad-placeholder small { font-size: 0.75rem; color: #8892a0; }

/* ============================================================
 * COOKIE CONSENT BANNER (ADSENSE & PRIVACY REGULATIONS)
 * ============================================================ */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  background: #121722;
  color: #e2e8f0;
  padding: 14px 0;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--brand);
  animation: pmpSlideUp .3s ease;
}
.cookie-banner.show {
  display: block;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 280px;
}
.cookie-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.cookie-text p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #cbd5e1;
}
.cookie-text a {
  color: #ffcf4d;
  text-decoration: underline;
  font-weight: 600;
}
.cookie-text a:hover {
  color: #ffffff;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-accept {
  background: var(--brand);
  color: #ffffff;
  border: 0;
  font-weight: 700;
}
.btn-accept:hover {
  background: var(--brand-dark);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}
