/* Shared pages (shop, product, gallery, contact, request forms): structure only. Each design sets the --pg-* tokens
   in its own stylesheet and may override any rule after this file. */
:root {
  --pg-accent: #0e6b45;
  --pg-ink: inherit;
  --pg-muted: #666;
  --pg-card: #fff;
  --pg-line: rgba(0, 0, 0, .14);
  --pg-radius: 4px;
  --pg-display: inherit;
  --pg-btn-bg: var(--pg-accent);
  --pg-btn-fg: #fff;
  --pg-field-bg: #fff;
  --pg-field-fg: #1b1b1b;
}
.ph { padding: clamp(40px, 7vw, 88px) 0 24px; }
.ph-kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--pg-accent); margin: 0 0 12px; }
.ph-title { font-family: var(--pg-display); font-size: clamp(38px, 6vw, 68px); line-height: 1.05; margin: 0 0 .3em; }
.ph-lede { font-size: 19px; color: var(--pg-muted); max-width: 56ch; margin: 0; }
.pg-sec { padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.pg-h2 { font-family: var(--pg-display); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 18px; }
.pg-fine { font-size: 14px; color: var(--pg-muted); margin-top: 32px; }
.pg-fine a { color: var(--pg-accent); }
.pg-label { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--pg-accent); margin: 0 0 6px; }
.pg-btn { display: inline-block; padding: 12px 20px; border-radius: var(--pg-radius); background: var(--pg-btn-bg); color: var(--pg-btn-fg); font-weight: 700; text-decoration: none; border: 2px solid var(--pg-btn-bg); font: inherit; font-weight: 700; cursor: pointer; line-height: 1.1; }
.pg-btn-2 { background: transparent; color: var(--pg-btn-bg); }
.pg-btn:disabled { opacity: .5; cursor: not-allowed; }

.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.pg-chips a { padding: 7px 14px; border: 1.5px solid var(--pg-accent); border-radius: 99px; color: var(--pg-accent); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.pg-chips a:hover { background: var(--pg-accent); color: var(--pg-btn-fg); }
.pg-cat { margin-bottom: 48px; scroll-margin-top: 90px; }
.pg-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pg-card { display: flex; flex-direction: column; gap: 4px; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 12px; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pg-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); }
.pg-card-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: calc(var(--pg-radius) - 1px); background: #f2f2f2; margin-bottom: 8px; }
.pg-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-card-name { font-weight: 700; line-height: 1.25; }
.pg-price { font-weight: 700; color: var(--pg-accent); font-variant-numeric: tabular-nums; }
.pg-price-to { font-weight: 500; opacity: .8; }
.pg-stock { font-size: 12.5px; color: var(--pg-muted); }

.pg-product-in { display: grid; gap: 36px; align-items: start; }
@media (min-width: 860px) { .pg-product-in { grid-template-columns: 1.1fr 1fr; } }
.pg-photos { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.pg-photo { margin: 0; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); overflow: hidden; background: #fff; }
.pg-photo-lead { grid-column: 1 / -1; }
.pg-photo img { width: 100%; height: auto; display: block; }
.pg-photo:not(.pg-photo-lead) { aspect-ratio: 1; }
.pg-photo:not(.pg-photo-lead) img { height: 100%; object-fit: cover; }  /* the shop photos are not all square */
.pg-crumb { font-size: 14px; color: var(--pg-muted); margin: 0 0 10px; }
.pg-crumb a { color: inherit; }
.pg-product-name { font-family: var(--pg-display); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; margin: 0 0 8px; }
.pg-product-price { font-size: 26px; margin: 0 0 20px; }
.pg-options { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.pg-options li { font-size: 13.5px; padding: 5px 10px; border: 1px solid var(--pg-line); border-radius: 99px; background: var(--pg-card); }
.pg-desc { max-width: 60ch; }
.pg-stock-line { color: var(--pg-muted); font-size: 15px; }
.pg-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

.pg-gallery { columns: 3 300px; column-gap: 18px; }
.pg-gfig { break-inside: avoid; margin: 0 0 18px; background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 10px 10px 12px; }
.pg-gfig img { width: 100%; height: auto; display: block; }
.pg-gfig figcaption { font-size: 14px; color: var(--pg-muted); padding-top: 8px; }
.pg-mascot { margin: 40px auto 0; text-align: center; max-width: 360px; }
.pg-mascot img { margin: 0 auto 8px; width: 140px; height: 140px; }
.pg-mascot figcaption { font-size: 14px; color: var(--pg-muted); }

.pg-contact { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pg-contact-card { background: var(--pg-card); border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 22px 24px; }
.pg-contact-card p { margin: 0 0 8px; }
.pg-big { font-family: var(--pg-display); font-size: 24px; line-height: 1.3; }
.pg-hours { font-variant-numeric: tabular-nums; }
.pg-hours span { display: inline-block; min-width: 72px; font-weight: 600; }

.pg-form, .pg-newsletter { display: grid; gap: 16px; }
.pg-form label, .pg-newsletter label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.pg-form small { font-weight: 400; color: var(--pg-muted); }
.pg-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pg-form input, .pg-form select, .pg-form textarea, .pg-newsletter input { font: inherit; padding: 11px 12px; border: 1.5px solid var(--pg-line); border-radius: var(--pg-radius); background: var(--pg-field-bg); color: var(--pg-field-fg); width: 100%; }
.pg-form input:focus, .pg-form select:focus, .pg-form textarea:focus { outline: 2px solid var(--pg-accent); outline-offset: 1px; }
.pg-form input[type="file"] { padding: 8px; }
.pg-form .pg-btn { justify-self: start; }
.pg-form-note { margin: 0; font-size: 14.5px; color: var(--pg-muted); }
