/* COFFIN ROLEPLAY V3.29 — unified public widths and independent shop card actions.
   Only visitor-facing content containers. Preserve admin and homepage layouts. */
:root{--c329-paper:#ececec;--c329-muted:#c8c6c6;--c329-dark:#0f0f0f}
/* Desktop content is wider, with a modest edge gutter. No forced 100% stretched prose. */
body:not(.coffin-home) .shell{width:min(1540px,calc(100% - 56px))!important;max-width:none!important;margin-inline:auto!important}
body:not(.coffin-home) .shell.cfrp-section{max-width:none!important}
body:not(.coffin-home) .about-layout{max-width:none!important;grid-template-columns:minmax(215px,250px) minmax(0,1fr)!important;gap:clamp(18px,2vw,28px)!important}
body:not(.coffin-home) .about-content{min-width:0}
body:not(.coffin-home) .about-content .page-head h1{font-size:clamp(35px,4.4vw,62px)!important;line-height:1!important;overflow-wrap:anywhere}
body:not(.coffin-home) .about-content .page-head p{max-width:920px!important}
.wn-page .wn-container{width:min(1540px,calc(100% - 56px))!important;max-width:none!important}
.cfrp-section.cfrp-map-page{max-width:none!important}
/* Shop: previous 1180px + 94% limit wasted space at large screen sizes. */
.store11.c326-store{width:min(1540px,calc(100% - 56px))!important;max-width:none!important;margin-inline:auto!important}
.c326-store .store11-layout{grid-template-columns:minmax(215px,250px) minmax(0,1fr)!important;gap:clamp(15px,1.8vw,25px)!important}
.c326-store .store11-products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(12px,1.25vw,20px)!important}
.c326-store .store11-product{min-width:0;display:flex;flex-direction:column;height:100%;cursor:default!important}
.c329-image-link{display:block;color:inherit;text-decoration:none;border-radius:11px}
.c329-image-link:focus-visible,.c329-title-link:focus-visible{outline:2px solid #ececec;outline-offset:3px}
.c329-image-link .store11-photo{width:100%;aspect-ratio:16/10!important;max-height:245px}
.c329-title-link{color:#ececec!important;text-decoration:none!important}
.c329-title-link:hover{text-decoration:underline!important;text-underline-offset:3px}
.c326-store .store11-product-foot{align-items:center;gap:10px;flex-wrap:wrap}
.c329-card-actions{display:flex;align-items:center;gap:7px;margin-left:auto;flex-wrap:wrap}
.c329-card-actions form{margin:0;min-width:0}
.c329-card-actions .c329-view,.c329-card-actions .c329-add{display:inline-flex;align-items:center;justify-content:center;min-height:39px;border-radius:8px;padding:9px 12px;font-size:12px;line-height:1.2;font-family:inherit;font-weight:800;white-space:nowrap;text-decoration:none;cursor:pointer}
.c329-card-actions .c329-view{border:1px solid #6b6b6b!important;background:#242424!important;color:#ececec!important}
.c329-card-actions .c329-add{border:1px solid #ececec;background:#ececec;color:#0f0f0f}
.c329-card-actions .c329-add:disabled{opacity:.6;cursor:default}
.c329-card-actions .c329-add:not(:disabled):hover{background:#c8c6c6}
.c326-store .store11-product p{line-height:1.55;min-height:0}
/* Avoid overflow for long names, without letting cards narrow indefinitely. */
.c326-store .store11-product h3,.c326-store .store11-product p{overflow-wrap:anywhere}
@media(max-width:1250px){.c326-store .store11-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:960px){body:not(.coffin-home) .about-layout{grid-template-columns:1fr!important}.c326-store .store11-layout{grid-template-columns:1fr!important}.c326-store .store11-side{position:static!important}.c326-store .store11-categories{display:flex!important;flex-wrap:wrap;gap:7px}.c326-store .store11-cat{min-width:0}}
@media(max-width:760px){body:not(.coffin-home) .shell,.store11.c326-store,.wn-page .wn-container{width:calc(100% - 30px)!important}.c326-store .store11-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.c329-card-actions{width:100%;margin-left:0}.c329-card-actions form{flex:1}.c329-card-actions .c329-add,.c329-card-actions .c329-view{width:100%}}
@media(max-width:600px){.c326-store .store11-products{grid-template-columns:1fr!important}.c326-store .store11-product-foot{flex-direction:row;align-items:center}.c329-card-actions{display:grid;grid-template-columns:1fr 1fr}.c329-card-actions .c329-view,.c329-card-actions .c329-add{width:100%}.c326-store .store11-product-foot .store11-price{width:100%}}
