/* The informational pages share the typography and contact strip of the store's contact page. */
#content :is(#bb-regulamin, #bb-prywatnosc, #bb-cookies, #bb-returns, #bb-skawina) {
  --guide-ink: #222522;
  --guide-copy: #454b47;
  --guide-muted: #565c57;
  --guide-line: #dfe3de;
  --guide-band: #fff8f1;
  --guide-edge: #eedfce;
  --guide-circle: #ffead8;
  --guide-accent: #a84a0a;
  --rg-ink: var(--guide-ink);
  --rg-muted: var(--guide-copy);
  --rg-line: var(--guide-line);
  --rg-brand: var(--guide-accent);
  --bbr-ink: var(--guide-ink);
  --bbr-secondary: var(--guide-copy);
  --bbr-accent: var(--guide-accent);
  --bbr-line: var(--guide-line);
  --sk-ink: var(--guide-ink);
  --sk-muted: var(--guide-copy);
  --sk-accent: var(--guide-accent);
  --sk-line: var(--guide-line);
  min-width: 0;
  color: var(--guide-ink);
  font: 400 16px/1.53 Roboto, Arial, sans-serif;
  letter-spacing: normal;
  overflow-wrap: break-word;
}
#content :is(.rg-hero, .bbr-hero, .sk-intro) {
  display: block;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
}
#content :is(.rg-hero, .bbr-hero, .sk-intro) h1 {
  margin: 0;
  padding: 0;
  max-width: none;
  color: var(--guide-ink);
  font: 700 clamp(38px, 3.25vw, 50px)/1.12 Roboto, Arial, sans-serif;
  letter-spacing: -.035em;
  text-transform: none;
}
#content :is(.rg-hero, .bbr-hero, .sk-intro) p {
  max-width: 72ch;
  margin: 10px 0 0 !important;
  color: var(--guide-muted) !important;
  font: 400 17px/1.5 Roboto, Arial, sans-serif !important;
  letter-spacing: normal;
}
#content :is(.rg-hero-icon, .bbr-hero-icon, .sk-intro-icon) { display: none; }

#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
  margin: 27px 0 36px;
  padding: 19px clamp(17px, 2.4cqi, 30px);
  border: 1px solid var(--guide-edge);
  border-radius: 16px;
  background: var(--guide-band);
}
#content .rg-shortcuts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#content .guide-contacts:has(> a:only-child) { grid-template-columns: minmax(0, 1fr); }
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  align-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 0 clamp(10px, 1.6cqi, 22px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--guide-ink);
  text-align: start;
  text-decoration: none;
  line-height: 1.35;
  white-space: normal;
}
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a:first-child { padding-inline-start: 0; }
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a:last-child { padding-inline-end: 0; }
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a + a { border-inline-start: 1px solid var(--guide-edge); }
#content :is(.rg-shortcuts > a > svg:first-child, .bbr-choice-icon, .guide-contacts > a > svg) {
  grid-column: 1;
  grid-row: 1;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--guide-circle);
  color: var(--guide-accent);
}
#content :is(.rg-shortcuts > a > svg:first-child, .guide-contacts > a > svg) { padding: 10px; }
#content .bbr-choice-icon { display: grid; place-items: center; }
#content .bbr-choice-icon .bbr-ico { width: 21px; height: 21px; }
#content .rg-shortcuts a > svg:last-child { display: none; }
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) strong {
  display: block;
  color: var(--guide-ink);
  font-size: clamp(17px, 1.75cqi, 21px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) small {
  display: block;
  margin-top: 3px;
  color: var(--guide-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
#content .guide-contacts small { margin: 0 0 3px; }
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a:is(:hover, :focus-visible) strong,
#content .bbr-choice[aria-current="location"] strong {
  color: #90400b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a:focus-visible { outline: 2px solid var(--guide-accent); outline-offset: 3px; }
#content .bbr-choices > a.bbr-choice { grid-template-columns: auto minmax(0, 1fr) auto; }
#content .bbr-choices > a.bbr-choice[aria-current="location"] { box-shadow: none; background: transparent; }
#content .bbr-choice .bbr-mark { position: static; grid-column: 3; grid-row: 1; width: 16px; height: 16px; }

/* The full numbered legal text and the document print view keep their native markup. */
#content :is(.rg-list-head h2, .bbr-guide h2, .bbr-questions h2, .sk-how > h2) {
  color: var(--guide-ink);
  font-size: clamp(24px, 3.05cqi, 32px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.17;
}
#content .rg-list-head { margin: 0 0 14px; }
#content .rg-tools { gap: 5px 12px; }
#content .rg-tools button { padding: 4px 3px; background: transparent; }
#content .rg-tools[hidden] { display: none; }
#content .rg-list summary {
  min-height: 48px;
  padding: 11px 6px 11px 0;
  font-size: 16px;
  line-height: 1.45;
  cursor: pointer;
}
#content .rg-copy { max-width: 82ch; padding: 1px 5px 19px 0; }
#content .rg-facts { background: #f7f8f6; border-radius: 8px; }
#content .rg-sample { background: var(--guide-band); border-color: var(--guide-edge); }
#content .rg-foot { flex-wrap: wrap; }

#content .bbr-columns { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(20px, 3.8cqi, 52px); }
#content .bbr-aside { padding-inline-start: clamp(19px, 2.7cqi, 40px); border-inline-start: 1px solid var(--guide-line); }
#content .bbr-aside :is(.bbr-note, .bbr-tip) { padding: 0; border: 0; border-radius: 0; background: transparent; }
#content .bbr-aside .bbr-tip { padding-top: 18px; border-top: 1px solid var(--guide-line); }
#content .bbr-note-title h3 { font-size: 19px; font-weight: 700; }
#content .bbr-note-title svg { color: var(--guide-accent); }
#content .bbr-steps li::before, #content .bbr-photo-steps li::before, #content .sk-how li::before { background: #fff1e5; color: var(--guide-accent); }
#content a.bbr-cta, #content a.sk-route {
  min-height: 44px;
  padding: 8px 14px;
  color: #90400b;
  background: #fff1e5;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}
#content a:is(.bbr-cta, .sk-route):hover { background: #ffe8d6; color: #843906; text-decoration: underline; }
#content .bbr-damage { padding: 26px 0 0; background: #fff; border: 0; border-top: 1px solid var(--guide-line); border-radius: 0; }
#content .bbr-questions { padding-top: 22px; border-top: 1px solid var(--guide-line); }
#content .bbr-questions details:first-of-type { border-top: 0; }
#content .sk-location { margin: 0; border: 0; border-radius: 0; gap: clamp(22px, 3.8cqi, 52px); }
#content .sk-information { min-width: 0; padding: 0; }
#content .sk-map { margin: 0; border: 1px solid var(--guide-line); border-radius: 12px; }
#content .sk-how { margin: 34px 0 8px; }
#content .sk-how li p { font-size: 15px !important; }
#content .guide-contact-heading { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@container (max-width: 720px) {
  #content .rg-shortcuts { grid-template-columns: minmax(0, 1fr); margin: 23px 0 28px; padding: 2px 17px; }
  #content .rg-shortcuts > a { min-height: 64px; padding: 9px 0; }
  #content .rg-shortcuts > a + a { border-inline-start: 0; border-top: 1px solid var(--guide-edge); }
  #content .rg-shortcuts > a > svg:first-child { width: 36px; height: 36px; padding: 8px; }
}
@container (max-width: 650px) {
  #content .bbr-columns { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  #content .bbr-aside { padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid var(--guide-line); }
  #content .sk-location { gap: 18px; }
}
@container (max-width: 520px) {
  #content :is(.rg-hero, .bbr-hero, .sk-intro) h1 { font-size: clamp(30px, 8cqi, 37px); max-width: none; }
  #content :is(.rg-hero, .bbr-hero, .sk-intro) p { font-size: 16px !important; margin-top: 8px !important; }
  #content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) { grid-template-columns: minmax(0, 1fr); padding: 2px 16px; margin: 20px 0 26px; border-radius: 13px; }
  #content :is(.rg-shortcuts, .bbr-choices, .guide-contacts) > a { min-height: 64px; padding: 9px 0; }
  #content :is(.bbr-choices, .guide-contacts) > a + a { border-inline-start: 0; border-top: 1px solid var(--guide-edge); }
  #content :is(.bbr-choices a > .bbr-choice-icon, .guide-contacts > a > svg:first-child) { width: 36px; height: 36px; }
  #content .guide-contacts > a > svg:first-child { padding: 8px; }
  #content .rg-tools { gap: 4px 10px; }
  #content .rg-version a { display: flex; width: fit-content; }
}
