/* WLR Category Landing Pages (Pinegrow-ready)
   Keep this file small, readable, and consistent across categories.
*/

:root {
  --wlr-max: 980px;
  --wlr-pad: 1.25rem;
  --wlr-radius: 16px;
  --wlr-border: rgba(0,0,0,.08);
  --wlr-muted: rgba(0,0,0,.65);
  --wlr-bgsoft: rgba(0,0,0,.03);
}

.wlr-wrap {
  max-width: var(--wlr-max);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem) var(--wlr-pad);
}

.wlr-hero {
  border: 1px solid var(--wlr-border);
  border-radius: var(--wlr-radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--wlr-bgsoft);
}

.wlr-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--wlr-muted);
  margin: 0 0 .5rem 0;
}

.wlr-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin: 0 0 .75rem 0;
}

.wlr-lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--wlr-muted);
  margin: 0;
  max-width: 70ch;
}

.wlr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 860px){
  .wlr-grid {
    grid-template-columns: 1.2fr .8fr;
  }
}

.wlr-card {
  border: 1px solid var(--wlr-border);
  border-radius: var(--wlr-radius);
  padding: 1.1rem;
  background: #fff;
}

.wlr-h2 {
  font-size: 1.1rem;
  margin: 0 0 .5rem 0;
}

.wlr-p {
  margin: 0 0 .75rem 0;
  line-height: 1.65;
}

.wlr-p:last-child {
  margin-bottom: 0;
}

.wlr-list {
  margin: .4rem 0 0 1.1rem;
  padding: 0;
  color: var(--wlr-muted);
}

.wlr-list li {
  margin: .35rem 0;
}

.wlr-note {
  font-size: .95rem;
  color: var(--wlr-muted);
  border-left: 3px solid var(--wlr-border);
  padding-left: .9rem;
  margin: .75rem 0 0 0;
}

.wlr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.wlr-btn {
  display: inline-block;
  padding: .65rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--wlr-border);
  text-decoration: none;
  color: inherit;
  background: #fff;
}

.wlr-btn:hover {
  background: var(--wlr-bgsoft);
}

.wlr-btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

.wlr-btn-primary:hover {
  opacity: .92;
}

.wlr-disclosure {
  margin-top: 1.25rem;
  font-size: .92rem;
  color: var(--wlr-muted);
}
/* WLR layout inside Bootstrap container:
   prevent double width/padding constraints while keeping theme styles intact
*/

.container .wlr-wrap {
  max-width: var(--wlr-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wlr-pad);
  padding-right: var(--wlr-pad);
}
/* --- Catalogue Index grid/tile styles ---
*/

.wlr-catalogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 700px){
  .wlr-catalogue-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1060px){
  .wlr-catalogue-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.wlr-tile {
  border: 1px solid var(--wlr-border);
  border-radius: var(--wlr-radius);
  background: #fff;
  padding: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 220px;
}

.wlr-tile-title {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.25;
}

.wlr-tile-desc {
  margin: 0;
  line-height: 1.55;
  color: var(--wlr-muted);
}

.wlr-tile-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.wlr-tag {
  display: inline-block;
  font-size: .78rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--wlr-border);
  color: var(--wlr-muted);
  background: var(--wlr-bgsoft);
}

.wlr-section-title {
  font-size: 1.15rem;
  margin: 1.25rem 0 .5rem 0;
}

.wlr-section-lede {
  margin: 0 0 .75rem 0;
  color: var(--wlr-muted);
  line-height: 1.6;
  max-width: 75ch;
}
/* ============================
   WLR SHOP / TILE POLISH PATCH
   (add at end of wlr-category.css)
   ============================
*/

/* (1) Make tile headings stand out on phone (and generally)
*/

.wlr-tile-title {
  font-weight: 700;
  margin: 0 0 .45rem 0;
}
/* give the description breathing room under the heading
*/

.wlr-tile-desc {
  margin-top: 0;
}
/* Slightly larger heading on small screens so it doesn’t get lost
*/
@media (max-width: 520px){
  .wlr-tile-title {
    font-size: 1.08rem;
  }
  .wlr-tile-desc {
    font-size: .98rem;
  }
}

/* (2) More separation between tiles + subtle divider line within each tile
*/

.wlr-catalogue-grid {
  gap: 1.25rem;   /* more space between categories
*/
}

.wlr-tile {
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
/* optional subtle separator at bottom of each tile
*/

.wlr-tile:after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(0,0,0,.06);
  margin-top: 1rem;
}
/* (3) Buttons: tighten pill size + fix primary hover contrast
*/

a.wlr-btn {
  padding: .48rem .72rem;   /* tighter
*/
  line-height: 1.15;
  font-size: .95rem;
  border-width: 1px;
}
/* ensure the primary button never turns into white-on-white on hover
*/

a.wlr-btn.wlr-btn-primary {
  background: #111;
  color: #fff;
  border-color: #111;
}

a.wlr-btn.wlr-btn-primary:hover,
a.wlr-btn.wlr-btn-primary:focus {
  background: #111;   /* keep dark
*/
  color: #fff;   /* keep readable
*/
  opacity: .92;   /* gentle change, no inversion
*/
}
/* (4) Secondary button: clearer border on white background
*/

a.wlr-btn:not(.wlr-btn-primary) {
  border-color: rgba(0,0,0,.22);   /* darker border so it’s visible
*/
  background: #fff;
}

a.wlr-btn:not(.wlr-btn-primary):hover,
a.wlr-btn:not(.wlr-btn-primary):focus {
  background: var(--wlr-bgsoft);
  color: inherit;
}
/* (5) Align action buttons across columns (desktop/tablet):
   give description area a consistent minimum height so buttons line up
*/
@media (min-width: 700px){
  .wlr-tile-desc {
    min-height: 4.6em;     /* tweak up/down until it looks perfect
*/
  }
  .wlr-tile-meta {
    min-height: 1.4em;
  }
}

/* Keep action buttons from looking “crowded”
*/

.wlr-actions {
  gap: .5rem;
}
/* Optional: if you want the "Why this shop exists" two-card row to feel separate
*/

.wlr-grid {
  margin-top: 1.5rem;
}
