/* cenovnik.css — /cenovnik/ price list.
   This page keeps its own visual identity from the live site: deep teal #123C39
   + gold #C59D5F on a near-white field, dotted leader rows, sticky section nav.
   Class names and metrics are ported from the live `prc-*` block so the page
   stays recognisable to the owner. */

.prc-page {
  --prc-deep-teal: #123c39;
  --prc-gold: #c59d5f;
  --prc-gold-light: #ffeccb;
  --prc-text-main: #0f3d3a;
  --prc-text-muted: #5a6c6a;
  --prc-bg-light: #f9fbfb;
  --prc-white: #fff;
  background: var(--prc-bg-light);
}

/* ------------------------------------------------------------------ hero */
.prc-hero {
  background: var(--prc-deep-teal);
  color: var(--mm-cream);
  padding: clamp(52px, 7vw, 96px) 0 clamp(44px, 6vw, 76px);
}
.prc-hero h1 { color: var(--mm-cream); margin: 0 0 14px; }
.prc-hero__lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(246, 249, 247, .78);
  font-size: clamp(15px, 1.6vw, 17px);
}

/* ------------------------------------------------------------------ wrapper + search */
.prc-wrapper {
  font-family: var(--mm-font-body);
  color: var(--prc-text-main);
  padding: clamp(32px, 4vw, 56px) var(--mm-pad-x) clamp(48px, 6vw, 80px);
}
.prc-search-container { max-width: 1250px; margin: 0 auto 40px; position: relative; }
.prc-search-input {
  width: 100%;
  padding: 18px 52px 18px 25px;
  font-family: var(--mm-font-body);
  font-size: 16px;
  color: var(--prc-deep-teal);
  background-color: var(--prc-white);
  border: 2px solid rgba(18, 60, 57, .1);
  border-radius: 30px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 15px rgba(18, 60, 57, .03);
}
.prc-search-input:focus { border-color: var(--prc-gold); box-shadow: 0 4px 20px rgba(197, 157, 95, .15); }
.prc-search-input::placeholder { color: var(--prc-text-muted); opacity: .6; }
.prc-search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 60, 57, .07);
  color: var(--prc-deep-teal);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: none;
}
.prc-search-clear:hover { background: var(--prc-deep-teal); color: #fff; }
.prc-search-container.is-filled .prc-search-clear { display: block; }
.prc-empty {
  display: none;
  max-width: 1250px;
  margin: 0 auto;
  background: var(--prc-white);
  border-radius: 16px;
  padding: 32px 40px;
  color: var(--prc-text-muted);
  border: 1px solid rgba(18, 60, 57, .05);
}
.prc-empty.is-visible { display: block; }

/* ------------------------------------------------------------------ layout */
.prc-layout {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  position: relative;
  align-items: start;
}

.prc-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--prc-gold) transparent;
}
.prc-sidebar::-webkit-scrollbar { width: 4px; }
.prc-sidebar::-webkit-scrollbar-thumb { background: var(--prc-gold); border-radius: 4px; }

.prc-nav-group { margin-bottom: 40px; }
.prc-nav-title {
  font-family: var(--mm-font-serif);
  color: var(--prc-deep-teal);
  font-size: 20px;
  margin: 0 0 20px;
  border-bottom: 2px solid var(--prc-gold-light);
  padding-bottom: 10px;
}
.prc-nav-list { list-style: none; padding: 0; margin: 0; }
.prc-nav-item { margin-bottom: 12px; }
.prc-nav-link {
  text-decoration: none;
  color: var(--prc-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .3s ease, transform .3s ease;
  display: block;
  padding: 6px 0;
}
.prc-nav-link:hover, .prc-nav-link.active {
  color: var(--prc-gold);
  transform: translateX(5px);
  font-weight: 600;
}

/* ------------------------------------------------------------------ sections */
.prc-content { min-width: 0; }
.prc-section {
  background: var(--prc-white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(18, 60, 57, .03);
  border: 1px solid rgba(18, 60, 57, .05);
  scroll-margin-top: 120px;
}
.prc-section[hidden] { display: none; }
.prc-sec-title {
  font-family: var(--mm-font-serif);
  font-size: 26px;
  color: var(--prc-deep-teal);
  margin: 0 0 26px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.prc-sec-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--prc-gold-light);
}
.prc-intro-text { color: var(--prc-text-muted); line-height: 1.7; margin: 0; }

.prc-subsec-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--prc-gold);
  font-weight: 700;
  margin: 34px 0 18px;
}
.prc-subsec-title:first-of-type { margin-top: 0; }
.prc-subsec-title[hidden] { display: none; }

/* ------------------------------------------------------------------ rows */
.prc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
}
.prc-row[hidden] { display: none; }
.prc-name {
  font-weight: 500;
  color: var(--prc-deep-teal);
  font-size: 15px;
  position: relative;
  z-index: 1;
  padding-right: 10px;
  background: var(--prc-white);
}
.prc-dots {
  flex-grow: 1;
  border-bottom: 1px dotted #d1d5db;
  margin: 0 10px;
  position: relative;
  top: -5px;
  opacity: .5;
}
.prc-price {
  font-weight: 700;
  color: var(--prc-deep-teal);
  font-size: 15px;
  white-space: nowrap;
  background: var(--prc-white);
  padding-left: 10px;
  z-index: 1;
}

/* ------------------------------------------------------------------ closing note */
.prc-note {
  max-width: 1250px;
  margin: 10px auto 0;
  font-size: 13.5px;
  color: var(--prc-text-muted);
  line-height: 1.7;
}
.prc-note a { color: var(--prc-deep-teal); font-weight: 600; }

/* ------------------------------------------------------------------ tablet: sidebar becomes a chip rail */
@media (max-width: 1024px) {
  .prc-layout { grid-template-columns: 1fr; gap: 34px; }
  .prc-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    overflow: visible;
    padding: 0;
  }
  .prc-nav-group { margin-bottom: 22px; }
  .prc-nav-title { font-size: 18px; margin-bottom: 12px; border-bottom-width: 1px; padding-bottom: 6px; }
  /* min-height absorbs the re-wrap when the webfont swaps in, so the price
     sections below cannot jump (this was the 0.18 CLS on this page) */
  .prc-nav-list { display: flex; flex-wrap: wrap; gap: 10px; min-height: 84px; align-content: flex-start; }
  .prc-nav-item { margin-bottom: 0; }
  .prc-nav-link {
    background-color: #f0f4f4;
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--prc-deep-teal);
    font-size: 13px;
    border: 1px solid transparent;
  }
  .prc-nav-link:hover, .prc-nav-link.active {
    transform: none;
    background-color: var(--prc-deep-teal);
    border-color: var(--prc-deep-teal);
    color: #fff;
  }
}

/* ------------------------------------------------------------------ phone */
@media (max-width: 600px) {
  .prc-wrapper { padding: 32px 15px 40px; }
  .prc-sec-title { font-size: 21px; gap: 10px; }
  .prc-section { padding: 24px 20px; border-radius: 12px; margin-bottom: 20px; }
  .prc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
  }
  .prc-row:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
  .prc-name { font-size: 15px; padding-right: 0; line-height: 1.45; }
  .prc-dots { display: none; }
  .prc-price { font-size: 15px; color: var(--prc-gold); padding-left: 0; }
  .prc-search-input { padding: 15px 48px 15px 20px; font-size: 15px; }
  .prc-nav-list { gap: 8px; }
}

/* ------------------------------------------------------------------ breadcrumbs
   Duplicated from blog.css on purpose: each page type loads exactly one of these
   stylesheets, and .mm-crumbs must not depend on which one that is. */
.mm-crumbs {
  font-size: 12.5px;
  color: var(--mm-mute);
  padding: 18px 0 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mm-crumbs li::after { content: "›"; margin-left: 6px; color: var(--mm-gold); }
.mm-crumbs li:last-child::after { content: ""; }
.mm-crumbs a { color: var(--mm-mute); text-decoration: none; }
.mm-crumbs a:hover { color: var(--mm-green); }
.mm-crumbs--on-dark { color: rgba(246, 249, 247, .7); }
.mm-crumbs--on-dark a { color: rgba(246, 249, 247, .7); }
.mm-crumbs--on-dark a:hover { color: var(--mm-gold); }
@media (max-width: 640px) {
  .mm-crumbs li:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
