/* ===== ZBIORCZY CENNIK ARCHIVIA ===== */
body.prices-page{background:#fff}
.prices-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark));color:#fff}
.prices-hero::after{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-140px;bottom:-260px;background:rgba(232,117,33,.18)}
.prices-hero-inner{position:relative;z-index:1;min-height:470px;padding:78px 0;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:52px;align-items:center}
.prices-hero h1{font-size:clamp(43px,6vw,72px);max-width:780px}
.prices-hero .lead{max-width:770px;line-height:1.68}
.prices-hero-card{padding:28px;border:1px solid rgba(255,255,255,.2);border-radius:24px;background:rgba(255,255,255,.09);backdrop-filter:blur(8px);box-shadow:var(--shadow)}
.prices-hero-card strong{display:block;font-size:23px;margin-bottom:12px}.prices-hero-card ul{list-style:none;padding:0;margin:0}.prices-hero-card li{position:relative;padding:10px 0 10px 28px;border-top:1px solid rgba(255,255,255,.14)}.prices-hero-card li::before{content:"✓";position:absolute;left:0;color:var(--orange);font-weight:900}
.price-tools{padding:42px 0 30px}.tool-copy{max-width:760px}.tool-copy h2{color:var(--burgundy);font-size:clamp(30px,4vw,46px);margin-bottom:10px}.tool-copy p:last-child{color:var(--muted);font-size:17px}
.price-search{display:grid;grid-template-columns:1fr auto;max-width:790px;margin:24px 0 22px;padding:7px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}.price-search input{min-width:0;border:0;outline:0;padding:12px 16px;font-size:17px;color:var(--graphite);background:transparent}.price-search button{border:0;border-radius:12px;padding:0 19px;background:var(--soft);color:var(--burgundy);font-weight:800;cursor:pointer}.price-search button:hover{background:var(--burgundy);color:#fff}
.price-jumps{display:flex;gap:9px;flex-wrap:wrap}.price-jumps a{padding:9px 13px;border:1px solid var(--line);border-radius:999px;color:var(--burgundy);font-weight:700;font-size:14px;background:#fff}.price-jumps a:hover{background:var(--burgundy);color:#fff;border-color:var(--burgundy)}
.price-catalog{padding:10px 0 56px}.price-group{scroll-margin-top:105px;margin:0 0 28px;padding:30px;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:var(--shadow-soft)}.price-group[hidden]{display:none}
.group-head{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:18px;align-items:center;margin-bottom:25px;padding-bottom:22px;border-bottom:1px solid var(--line)}.group-head>span{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:17px;background:var(--burgundy);color:#fff;font-size:18px;font-weight:900}.group-head h2{margin:0;color:var(--burgundy);font-size:clamp(25px,3vw,36px);line-height:1.12}.group-head .eyebrow{margin-bottom:6px}.group-head>a{color:var(--orange);font-weight:800;white-space:nowrap}.group-head>a:hover{text-decoration:underline;text-underline-offset:4px}
.price-block{margin-top:24px}.price-block h3,.price-group h3{color:var(--burgundy);font-size:22px}.price-block h4{margin:24px 0 10px;color:var(--graphite);font-size:18px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:17px}.price-group table{width:100%;border-collapse:collapse;min-width:680px;background:#fff}.price-group th{padding:14px 16px;text-align:left;background:var(--burgundy);color:#fff;font-size:14px}.price-group td{padding:13px 16px;border-bottom:1px solid var(--line);vertical-align:top}.price-group tbody tr:last-child td{border-bottom:0}.price-group tbody tr:nth-child(even){background:var(--soft)}.price-group td:nth-child(n+2){font-weight:700;color:var(--graphite)}.price-group small{font-weight:400;color:var(--muted)}
.note{margin:13px 0 0;padding:12px 15px;border-left:4px solid var(--orange);background:var(--soft);color:var(--muted);border-radius:0 12px 12px 0}.highlight-price{margin-top:22px;padding:22px;border-radius:18px;background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark));color:#fff}.highlight-price span,.highlight-price strong,.highlight-price small{display:block}.highlight-price span{color:var(--orange);font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.highlight-price strong{font-size:25px;margin:6px 0}.highlight-price small{color:rgba(255,255,255,.8)}
.price-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.price-card-grid.three{grid-template-columns:repeat(3,1fr)}.price-card-grid.two{grid-template-columns:repeat(2,1fr)}.price-card-grid article{padding:24px;border:1px solid var(--line);border-radius:19px;background:var(--soft)}.price-card-grid article.featured{background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark));color:#fff;border-color:transparent}.price-card-grid span{display:block;color:var(--orange);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.price-card-grid h3{font-size:18px;line-height:1.25;margin:8px 0 17px}.price-card-grid .featured h3{color:#fff}.price-card-grid strong{display:block;color:var(--burgundy);font-size:25px;line-height:1.1}.price-card-grid .featured strong{color:#fff}.price-card-grid small{display:block;margin-top:7px;color:var(--muted)}.price-card-grid .featured small{color:rgba(255,255,255,.78)}
.subcards,.split-tables{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:20px}.subcards article{padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}.subcards p{margin:7px 0}.subcards small{color:var(--muted)}
.no-results{margin-bottom:55px;padding:26px;border:1px dashed var(--line);border-radius:20px;text-align:center;color:var(--muted);font-size:18px}.prices-cta{margin-bottom:72px;padding:34px 38px;border-radius:25px;background:linear-gradient(135deg,var(--orange),var(--orange-dark));color:#fff;display:flex;justify-content:space-between;gap:30px;align-items:center;box-shadow:var(--shadow)}.prices-cta h2{font-size:clamp(27px,3vw,39px);margin-bottom:10px}.prices-cta p:not(.eyebrow){margin:0;max-width:780px}.prices-cta .btn{background:#fff;color:var(--burgundy);flex:0 0 auto}
@media(max-width:1000px){.prices-hero-inner{grid-template-columns:1fr}.prices-hero-card{max-width:620px}.price-card-grid{grid-template-columns:repeat(2,1fr)}.group-head{grid-template-columns:58px 1fr}.group-head>a{grid-column:2}}
@media(max-width:700px){.prices-hero-inner{padding:58px 0}.prices-hero h1{font-size:clamp(39px,12vw,55px)}.prices-hero-card{display:none}.price-group{padding:20px 14px;border-radius:20px}.group-head{grid-template-columns:46px 1fr;gap:12px}.group-head>span{width:44px;height:44px;border-radius:14px}.group-head>a{grid-column:1/-1}.price-card-grid,.price-card-grid.three,.price-card-grid.two,.subcards,.split-tables{grid-template-columns:1fr}.price-search{grid-template-columns:1fr}.price-search button{min-height:42px}.prices-cta{padding:27px 22px;align-items:flex-start;flex-direction:column}.price-group table{min-width:610px}}

/* Korekta sekcji „Tłumaczenia historyczne” i tabel dzielonych */
.split-tables .table-wrap{
  width:100%;
  min-width:0;
  overflow:hidden;
}
.split-tables .price-block{
  min-width:0;
}
.split-tables .price-group table,
.split-tables table{
  min-width:0;
  width:100%;
  table-layout:fixed;
}
.split-tables td,
.split-tables th{
  overflow-wrap:anywhere;
  word-break:normal;
}
.split-tables td:first-child{
  width:62%;
}
.split-tables td:last-child{
  width:38%;
  white-space:normal;
}

@media(max-width:700px){
  .split-tables .table-wrap{overflow-x:visible}
  .split-tables table{min-width:0}
}

/* Ostateczna korekta: sekcja Tłumaczenia historyczne */
.price-group#genealogia .split-tables{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  width:100%;
}
.price-group#genealogia .split-tables > .price-block{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:hidden;
}
.price-group#genealogia .translation-prices .table-wrap{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.price-group#genealogia .translation-prices table{
  display:table;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  table-layout:fixed;
}
.price-group#genealogia .translation-prices td{
  min-width:0;
  max-width:0;
  padding:12px 13px;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
}
.price-group#genealogia .translation-prices td:first-child{width:58%}
.price-group#genealogia .translation-prices td:last-child{width:42%}
@media(max-width:900px){
  .price-group#genealogia .split-tables{grid-template-columns:1fr}
  .price-group#genealogia .translation-prices td{max-width:none}
}
