/* v20 (04.12.2026): checkout, account, church request, legal pages */
.co-terms{display:flex;gap:12px;align-items:flex-start;margin:18px 0 6px;font-size:1rem;line-height:1.5;cursor:pointer}
.co-terms input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--gold,#b8892f)}
.co-terms a{text-decoration:underline;text-underline-offset:3px}
.co-k{display:flex;gap:8px}.co-k input{flex:1;min-width:0;text-transform:uppercase}.co-k .btn{flex:none;padding-inline:18px}
.co-sl{color:var(--muted)}
.acc-re{margin:12px 0 4px}
.ch-works{border:0;padding:0;margin:18px 0 6px}.ch-works legend{font-weight:500;margin-bottom:10px;padding:0}
.ch-wl{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 18px}
.ch-wl label{display:flex;gap:10px;align-items:center;font-size:1rem;line-height:1.35;cursor:pointer;padding:6px 0}
.ch-wl input{width:20px;height:20px;flex:none;accent-color:var(--gold,#b8892f)}
.lg{padding:56px var(--m) 120px;max-width:820px}
.lg-nav{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:40px;font-size:1rem}
.lg-nav a{color:var(--muted);text-decoration:none;border-bottom:1px solid transparent;padding-bottom:3px}
.lg-nav a[aria-current]{color:inherit;border-color:currentColor}
.lg h1{font-size:clamp(2.2rem,1rem + 3.6vw,4.2rem);line-height:1.05;margin-bottom:28px}
.lg h2{font-size:1.35rem;margin:36px 0 10px}
.lg p,.lg li{font-size:1.06rem;line-height:1.65;max-width:68ch}
.lg ol,.lg ul{padding-left:1.3em;display:grid;gap:10px}
.lg a{text-decoration:underline;text-underline-offset:3px}
.lg-form{margin-top:12px;padding:20px 24px;background:var(--field);border-radius:6px}
.lg-form p+p{margin-top:12px}
.foot-lg{display:block;margin-top:10px;line-height:1.9}
@media (max-width:600px){.ch-wl{grid-template-columns:1fr}.lg{padding-top:36px}}
/* the legal links wrap like the text around them; with large text the footer columns shrink to the screen */
.foot-legal .foot-lg{white-space:normal}
@media (max-width:800px){.foot{grid-template-columns:minmax(0,1fr)}.foot-side,.foot-menu,.foot-blocks{min-width:0}.foot-menu,.foot-blocks{grid-template-columns:repeat(auto-fit,minmax(min(100%,9em),1fr))}.foot-blocks p,.foot-menu a{overflow-wrap:anywhere}}
/* large text on phones: the help box, the top bar, the shop tiles and long addresses wrap instead of leaving the screen */
@media (max-width:900px){
  .help{grid-template-columns:minmax(0,1fr)}.help-t,.help-f,.help-row{min-width:0}
  .help-f .chips{flex-wrap:wrap}.help-q{max-width:100%;white-space:normal;text-align:left}
  .help-row .btn{white-space:normal}
  .topbar{flex-wrap:wrap}.topbar-r{flex-wrap:wrap;justify-content:center;gap:2px 20px}.topbar p,.topbar a{white-space:normal}
  .pyr-t{display:flex;align-items:flex-end;overflow:visible}.pyr-t span{position:relative;left:auto;right:auto;bottom:auto;padding:13px 10px 13px 13px}
}
.lg a,.lg-form p,.ct a,.foot-blocks a{overflow-wrap:anywhere}
@media (max-width:900px){
  .perks{grid-template-columns:repeat(2,minmax(0,1fr))}.perks li,.perks b,.perks span{min-width:0;overflow-wrap:anywhere}
  .ch-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.ch-tiles .tile b,.ch-tiles .tile span{overflow-wrap:anywhere}
  .cat-head,.cat-head>*{min-width:0}.cat-head h1{overflow-wrap:anywhere;max-width:100%}
  .pd,.pd>*,.pd-media,.pg-stage{min-width:0}.pg-thumbs small{overflow-wrap:anywhere;hyphens:auto}
  .occ-more a,.occ-more .link{white-space:normal;max-width:100%;overflow-wrap:anywhere}
}
@media (max-width:900px){
  .pyr-top{grid-template-columns:repeat(2,minmax(0,1fr))}.pyr-t{min-width:0}.pyr-t b,.pyr-t small{overflow-wrap:anywhere}
  .pg-thumbs{flex-wrap:wrap}.pg-thumbs button{flex:1 1 4.5em}.pg-thumbs small,.pg-cap{overflow-wrap:anywhere}
  .occ-more{min-width:0}
}
@media (max-width:900px){.pyr-t{aspect-ratio:auto;min-height:calc((100vw - 2 * var(--m) - 10px) / 2)}.pd-media{min-width:0;max-width:100%}.pg-thumbs{max-width:100%}.pg-thumbs button{min-width:0;max-width:100%}}

/* review fixes: the withdrawal form, the checkout with large text */
.lg-wd{display:grid;gap:14px;margin-top:12px;max-width:720px}.lg-wd .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media (max-width:600px){.lg-wd .row{grid-template-columns:minmax(0,1fr)}}
.co form,.co form>*,.co .row>*,.co-sum{min-width:0}.co [data-co-btn]{white-space:normal;height:auto}
@media (max-width:900px){.co .row{grid-template-columns:repeat(auto-fit,minmax(min(100%,10em),1fr))}.co-k{flex-wrap:wrap}.co-k .btn{flex:1 1 auto}}

@media (max-width:900px){
  .pyr .cat-tiles li,.occ .grid li{min-width:0}
  .pyr .tile b,.pyr .tile span,.occ .grid .card{overflow-wrap:anywhere}
  .pd{grid-template-columns:minmax(0,1fr)}
  .pg-t-prof img{display:block;width:min(100%,108px);margin-inline:auto}
}
