@import url("shop-brand-roles.css?v=fb-6dd34cb27957");
/* Shared reading and product-information surfaces; existing content is retained. */
.legal {
  max-width: 808px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  color: var(--fb-ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal > :first-child { margin-top: 0; }
.legal > p:first-child a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.legal h1 { margin: 20px 0 24px; font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.legal h2 { margin: 40px 0 14px; font-size: 23px; line-height: 1.3; }
.legal h3 { margin: 28px 0 12px; font-size: 18px; }
.legal p { margin-block: 0 18px; }
.legal :is(ul, ol) { padding-left: 24px; }
.legal li + li { margin-top: 8px; }
.legal a { color: var(--fb-accent); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal .muted, .legal-stand { color: var(--fb-muted); }
.legal-box { padding: 24px; background: white; border: 1px solid var(--fb-line); border-radius: 14px; }
.legal-box > :first-child { margin-top: 0; }
.legal-box > :last-child { margin-bottom: 0; }
.legal :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { min-height: 46px; max-width: 100%; padding: 12px; border: 1px solid #a5b9ae; border-radius: 8px; background: white; }
.legal :is(input[type=checkbox], input[type=radio]) { accent-color: var(--fb-accent); }
.legal.guide { max-width: 1120px; }
.guide > :is(p, h1, h2, ul, .faq, .legal-box) { max-width: 760px; }
.guide .table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--fb-line); border-radius: 14px; background: white; }
.guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.guide :is(th, td) { padding: 16px; text-align: left; vertical-align: middle; border-color: var(--fb-line); }
.guide th { color: var(--fb-ink); background: var(--fb-color-bg-subtle); font-weight: 600; }
.guide .num { font-variant-numeric: tabular-nums; }
.guide :is(.row-go, .sh-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border-radius: 10px; color: var(--fb-accent); background: white; border: 1px solid var(--fb-line); font-size: 14px; font-weight: 600; text-decoration: none; }
.guide :is(.row-go, .sh-btn) svg { width: 18px; height: 18px; }
.guide .faq details { padding: 18px 0; border-bottom: 1px solid var(--fb-line); }
.guide .faq summary { min-height: 44px; cursor: pointer; color: var(--fb-ink); font-weight: 600; }
.guide .faq details p { margin-top: 12px; color: var(--fb-muted); }
.pinfo-page { max-width: 1120px; }
.pinfo-page > p { max-width: 70ch; }
.pinfo-page .pi-sec { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; margin-top: 40px; padding: 32px 0; border-top: 1px solid var(--fb-line); border-bottom: 0; }
.pinfo-page .pi-sec > img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 340px; margin: 0; object-fit: contain; border-radius: 14px; background: white; }
.pinfo-page .pi-sec h2 { margin-top: 0; }
.pinfo-page .pi-sec p:last-child a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (max-width: 700px) {
  .legal { padding: 24px 16px 48px; }
  .legal h1 { font-size: 30px; }
  .legal h2 { margin-top: 32px; font-size: 21px; }
  .legal-box { padding: 20px; }
  .pinfo-page .pi-sec { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 24px; margin-top: 28px; }
  .pinfo-page .pi-sec > img { max-height: 260px; }
  .guide :is(th, td) { padding: 12px; }
  /* Each example remains one row, with its complete action below its values. */
  .guide .price-table, .guide .price-table tbody { display: block; width: 100%; min-width: 0; }
  .guide .price-table caption { display: block; padding: 16px; text-align: left; }
  .guide .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .guide .price-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 16px; padding: 16px; border-top: 1px solid var(--fb-line); }
  .guide .price-table tbody td { display: block; min-width: 0; padding: 0; border: 0; white-space: normal; text-align: left; }
  .guide .price-table tbody td:first-child { display: block; grid-column: 1 / -1; font-weight: 600; }
  .guide .price-table tbody td:nth-child(2) { grid-column: 1; }
  .guide .price-table tbody td:nth-child(3) { grid-column: 2; text-align: right; }
  .guide .price-table tbody td:last-child { grid-column: 1 / -1; }
  .guide .price-table .row-go { width: 100%; margin-top: 8px; }
  .guide .price-table .m-only { display: none; }
}

/* Reading remains quiet; helpful actions use the same shop colour roles. */
.legal h1 { letter-spacing: -.03em; text-wrap: balance; }
.legal h2 { color: var(--fb-ink); }
.legal-box { background: var(--fb-sky); border: 0; padding: 28px; }
.legal :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { border-color: var(--fb-control-line); font-size: 16px; }
.guide th { background: var(--fb-sky); }
.guide .price-table tbody tr:nth-child(even) { background: var(--fb-color-bg-page); }
.guide :is(.row-go, .sh-btn) { background: var(--fb-accent); border-color: var(--fb-accent); color: #fff; }
.guide .faq summary { font-size: 16px; line-height: 1.5; }
.pinfo-page .pi-sec { gap: 48px; }
@media (max-width: 700px) {
  .legal-box { padding: 20px; }
  .pinfo-page .pi-sec { gap: 24px; }
}

/* Editorial shop pages remain part of the same company storefront. */
.legal { padding-top: 32px; }
.legal.guide h1, .pinfo-page h1 { color: var(--fb-brand-black,#171b1c); }
.legal-box { background: var(--fb-warm,#f4f2ed); }
.pinfo-page .pi-sec h2 { font-size: 26px; line-height: 1.3; }
.pinfo-page .pi-sec p:last-child a { font-size: 15px; text-underline-offset: 4px; }

/* Public product guides and legal pages share the shop's reading grid. */
body.shop-content-page {
  --fb-accent: var(--fb-color-accent-text);
  --fb-ring: var(--fb-color-focus);
  --content-width: 1280px;
  --content-gutter: 16px;
  --content-ink: var(--fb-color-text-primary);
  --content-brand: var(--fb-color-accent-text);
  --content-muted: var(--fb-color-text-secondary);
  --content-surface: var(--fb-color-bg-surface);
  --content-line: var(--fb-color-border-subtle);
  --content-action: var(--fb-color-action-solid);
  color: var(--content-ink);
  background: var(--content-surface);
  font-family: var(--fb-font, system-ui, sans-serif);
  font-size: var(--fb-type-body, 1rem);
  line-height: 1.65;
}

.shop-content-page > :is(.content-header, .legal, .site-foot) {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--content-gutter);
}

.shop-content-page > .content-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding-block: 8px;
  margin-bottom: 0;
  background: var(--content-surface);
  border-bottom: 1px solid var(--content-line);
}

.shop-content-page .content-brand {
  align-items: center;
  gap: 10px;
  color: var(--fb-color-brand-frame);
  text-decoration: none;
  display: inline-flex;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 44px;
  overflow: visible;
}

.shop-content-page .content-brand img {
  display: block;
  width: 56px;
  height: 56px;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.shop-content-page .legal {
  padding-block: clamp(20px, 3vw, 42px) clamp(40px, 5vw, 72px);
  color: var(--content-ink);
  font-size: var(--fb-type-body, 1rem);
  line-height: 1.65;
}

.shop-content-page :is(main.legal, .site-foot) :is(h1, h2, h3, h4) {
  color: var(--content-brand);
  background: transparent;
  font-family: var(--fb-font-heading, var(--fb-font, system-ui));
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}
.shop-content-page :is(button, input, select, textarea, label, summary, caption, th, td) {
  font-family: var(--fb-font, system-ui);
  text-transform: none;
  letter-spacing: normal;
}
.shop-content-page .price-table {font-variant-numeric:tabular-nums}

.shop-content-page main.legal h1 {
  max-width: 24ch;
  font-size: var(--fb-type-title, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: normal;
  margin: 14px 0 20px;
}

.shop-content-page main.legal h2 {
  font-size: var(--fb-type-heading, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.shop-content-page .legal > :is(p, ul, ol, section:not(.pi-sec, .guide-hero), .faq, .legal-box) {
  max-width: 70ch;
}

.shop-content-page :is(.legal, .site-foot) a {
  color: var(--content-brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.shop-content-page :is(a, button, summary, input):focus-visible {
  outline: 2px solid var(--fb-color-accent-solid-hover);
  outline-offset: 3px;
}

.shop-content-page :is(.legal-box, .guide .faq details, .testbar) {
  color: var(--content-ink);
  background: var(--fb-color-bg-subtle);
}

.shop-content-page :is(.crumbs, .legal .muted, .legal-stand, .guide-lead, .faq details p) {
  color: var(--content-muted);
}

.shop-content-page .testbar {
  font-size: var(--fb-type-small, .875rem);
  padding: 5px var(--content-gutter);
}

.shop-content-page .crumbs {
  margin: 0;
  font-size: var(--fb-type-label, .875rem);
}

.shop-content-page .guide-hero {
  margin: 12px 0 0;
  padding: 0 0 clamp(20px, 3vw, 34px);
  background: var(--content-surface);
  border: 0;
  border-bottom: 1px solid var(--content-line);
  border-radius: 0;
  color: var(--content-ink);
}

.shop-content-page .guide-lead {
  max-width: 58ch;
  font-size: var(--fb-type-body, 1rem);
  line-height: 1.65;
}

.shop-content-page .guide-primary {
  margin: 18px 0 0;
}

.shop-content-page .guide-from {
  color: var(--content-ink);
}

.shop-content-page .guide :is(.sh-btn, .row-go),
.shop-content-page .legal .content-action {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--fb-action-radius, 2px);
  color: var(--fb-color-on-action);
  background: var(--content-action);
  font: 600 var(--fb-type-body, 1rem)/1.3 var(--fb-font, system-ui);
  text-align: center;
  text-decoration: none;
}

.shop-content-page .guide :is(.sh-btn, .row-go):hover,
.shop-content-page .legal .content-action:hover {
  background: var(--fb-color-action-solid-hover);
  color: var(--fb-color-on-action);
  text-decoration: none;
}

.shop-content-page .guide-process ol {
  margin-bottom: 0;
}

.shop-content-page .guide-process li + li {
  margin-top: 10px;
}

.shop-content-page .guide-factors {
  margin: 0;
}

.shop-content-page .guide-factors > div {
  border-top: 1px solid var(--content-line);
  padding: 12px 0;
}

.shop-content-page .guide-factors dt {
  color: var(--content-brand);
  font-weight: 700;
}

.shop-content-page .guide-factors dd {
  margin: 2px 0 0;
}

.shop-content-page .guide .table-wrap {
  max-width: 70ch;
  margin-top: 20px;
}

.shop-content-page .guide .price-table {
  min-width: 0;
  font-size: var(--fb-type-body, 1rem);
}

.shop-content-page .guide .price-table caption {
  padding: 14px 16px;
  text-align: left;
  color: var(--content-muted);
}

.shop-content-page .guide .price-table th {
  color: var(--fb-info-ink);
  background: var(--fb-info-surface);
}

.shop-content-page .guide .price-table tbody tr:nth-child(even) {
  background: var(--fb-color-bg-page);
}

.shop-content-page .guide .faq details {
  padding: 10px 16px;
}

.shop-content-page .guide .faq summary {
  min-height: 44px;
  padding: 10px 0;
}

.shop-content-page .pinfo-page .pi-sec {
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  margin: 30px 0 0;
  gap: clamp(24px, 4vw, 56px);
  padding-top: 24px;
}

.shop-content-page .pinfo-page .pi-sec > img {
  max-height: none;
  object-fit: cover;
}

.pinfo-page .product-specs {
  margin-block: 8px;
}
.pinfo-page .product-specs summary {
  width: fit-content;
  min-height: 44px;
  padding: 12px 10px;
  color: var(--fb-color-accent-text);
  background: var(--fb-color-accent-bg-subtle);
  font-weight: 600;
  cursor: pointer;
}
.pinfo-page .product-specs summary:focus-visible {
  outline: 2px solid var(--fb-ring);
  outline-offset: 2px;
}
.shop-content-page .pinfo-page .pi-sec :is(p, ul) {
  max-width: 64ch;
}

.shop-content-page > .site-foot {
  display: flex;
  justify-content: flex-start;
  align-items: start;
  flex-wrap: wrap;
  gap: 20px clamp(24px, 5vw, 64px);
  padding-block: 28px 36px;
  margin-bottom: 0;
  border: 0;
  border-top: 1px solid var(--content-line);
  border-radius: 0;
  background: var(--content-surface);
}

.shop-content-page .site-foot :is(.shop-footer-brand, .shop-footer-links) {
  flex: 1 1 200px;
}

.shop-content-page .site-foot .shop-footer-links:last-child {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex-basis: 330px;
  column-gap: 16px;
}

.shop-content-page .site-foot a {
  min-height: 44px;
  font-size: var(--fb-type-label, .875rem);
}

@media (max-width: 700px) {
  .shop-content-page > .content-header { min-height: 62px; }
  .shop-content-page .content-brand img { width: 40px; height: 40px; }

  .shop-content-page main.legal h1 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .shop-content-page main.legal h2 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .shop-content-page .pinfo-page .pi-sec {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .shop-content-page .pinfo-page .pi-sec > img {
    max-height: 200px;
  }

  .shop-content-page .guide .price-table { display: table; }
  .shop-content-page .guide .price-table caption { display: table-caption; }
  .shop-content-page .guide .price-table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
  }
  .shop-content-page .guide .price-table tbody { display: table-row-group; }
  .shop-content-page .guide .price-table tbody tr { display: table-row; }
  .shop-content-page .guide .price-table tbody td {
    display: table-cell;
    padding: 12px;
    font-weight: 500;
  }
}
