/* PTH V6.9.4: additive rules only. Original THE REEF V6.8.2 CSS stays byte-identical. */
.reef-v5 .reef-v5-contact {display:grid;grid-template-columns:minmax(0,1fr);gap:0;}
.reef-v5 .reef-v5-contact .pth-contact-address {display:flex;flex-direction:column;align-items:stretch;min-width:0;}
.reef-v5 .reef-v5-contact .pth-contact-street,
.reef-v5 .reef-v5-contact .pth-contact-postal-city,
.reef-v5 .reef-v5-contact .pth-contact-phone {display:block;width:100%;line-height:1.45;white-space:normal;overflow-wrap:break-word;word-break:normal;}
.reef-v5 .reef-v5-contact .pth-contact-phone {margin-top:9px;color:#1e6942;}
.reef-v5-menu-placeholder{min-height:205px;display:flex;flex-direction:column;gap:13px;align-items:center;justify-content:center;margin-top:16px;padding:28px 20px;border:1px dashed #cbded1;border-radius:10px;background:#f6faf7;text-align:center}
.reef-v5-menu-placeholder p{font-size:15px;line-height:1.55;color:#526d59;margin:0;max-width:390px}
.reef-v5-menu-placeholder-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e3f1e7;color:#19683e;font:bold 32px/1 Arial,sans-serif}
.reef-v5-no-photo{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;border:1px solid #dce7de;background:#f6faf7}
.reef-v5-no-photo img{width:72px;height:104px;object-fit:contain}
.reef-v5-no-photo figcaption{font-size:14px;color:#55705f;font-weight:600}
.reef-v5-admin-edit{margin:0 0 8px}
.reef-v5-admin-edit a{display:inline-flex;gap:6px;align-items:center;font-size:12px;color:#19683e;font-weight:700}
.reef-v5-admin-edit a:hover{text-decoration:underline}
@media(max-width:760px){.reef-v5 .reef-v5-contact{grid-template-columns:minmax(0,1fr)}.reef-v5-menu-placeholder{min-height:176px;padding:23px 15px}.reef-v5-no-photo{min-height:180px}}

/* V6.9.5: ONLY phone link badge, inspired by the existing Open Now status badge.
   Scoped to the shop contact module, so menu, hero and existing Reef CSS stay unchanged. */
.reef-v5 .reef-v5-contact .pth-contact-phone {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  align-self:flex-start;
  gap:9px;
  width:auto;
  max-width:100%;
  min-height:42px;
  margin-top:13px;
  padding:9px 14px;
  border:1px solid #c5d9ca;
  border-radius:7px;
  background:#e9f5ec;
  color:#236238;
  font-size:15px;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
  overflow-wrap:normal;
}
.reef-v5 .reef-v5-contact .pth-contact-phone:hover {
  border-color:#8bb79a;
  background:#ddf0e2;
  color:#174d35;
}
.reef-v5 .reef-v5-contact .pth-contact-phone:focus-visible {
  outline:3px solid #19683e;
  outline-offset:3px;
}
.reef-v5 .reef-v5-contact .pth-contact-phone-icon {
  display:inline-block;
  flex:none;
  font-size:21px;
  line-height:1;
  color:inherit;
}
.reef-v5 .reef-v5-contact .pth-contact-phone-number {
  display:inline-block;
  min-width:0;
  font:inherit;
  color:inherit;
  overflow-wrap:anywhere;
}
@media(max-width:440px){
 .reef-v5 .reef-v5-contact .pth-contact-phone{padding:9px 11px;font-size:14px}
}

/* V6.9.6: website follows address and phone in Contact & Location.
   Match the existing V6.9.5 phone badge without touching Reef's core stylesheet. */
.reef-v5 .reef-v5-contact .pth-contact-website {
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  align-self:flex-start;
  gap:9px;
  width:auto;
  max-width:100%;
  min-height:42px;
  margin-top:10px;
  padding:9px 14px;
  border:1px solid #c5d9ca;
  border-radius:7px;
  background:#e9f5ec;
  color:#236238;
  font-size:15px;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
}
.reef-v5 .reef-v5-contact .pth-contact-website:hover {
  border-color:#8bb79a;
  background:#ddf0e2;
  color:#174d35;
}
.reef-v5 .reef-v5-contact .pth-contact-website:focus-visible {
  outline:3px solid #19683e;
  outline-offset:3px;
}
.reef-v5 .reef-v5-contact .pth-contact-website-icon {
  display:inline-block;
  flex:none;
  font-size:21px;
  line-height:1;
  color:inherit;
}
@media(max-width:440px) {
  .reef-v5 .reef-v5-contact .pth-contact-website {padding:9px 11px;font-size:14px}
}


/* V6.9.7: phone + website side by side with equal height in all viewports. */
.reef-v5 .reef-v5-contact .pth-contact-actions {
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:10px;
  margin-top:12px;
  width:100%;
}
.reef-v5 .reef-v5-contact .pth-contact-phone,
.reef-v5 .reef-v5-contact .pth-contact-website {
  margin-top:0;
  min-height:50px;
  padding:10px 14px;
  box-sizing:border-box;
}
.reef-v5 .reef-v5-contact .pth-contact-phone {
  flex:0 1 auto;
}
.reef-v5 .reef-v5-contact .pth-contact-website {
  flex:0 1 auto;
}
@media (max-width:440px) {
  .reef-v5 .reef-v5-contact .pth-contact-actions {gap:8px;}
  .reef-v5 .reef-v5-contact .pth-contact-phone,
  .reef-v5 .reef-v5-contact .pth-contact-website {
    min-height:48px;
    padding:9px 12px;
    font-size:14px;
  }
}

/* V6.9.8: exact matching button HEIGHTS; content-driven WIDTHS are untouched.
   Overrides the earlier align-self:flex-start that prevented equal flex heights. */
.reef-v5 .reef-v5-contact .pth-contact-actions {
  gap:16px;
}
.reef-v5 .reef-v5-contact .pth-contact-actions > .pth-contact-phone,
.reef-v5 .reef-v5-contact .pth-contact-actions > .pth-contact-website {
  align-self:stretch;
  height:50px;
  min-height:50px;
  max-height:50px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  flex:0 1 auto;
  width:auto;
}
@media (max-width:440px) {
  .reef-v5 .reef-v5-contact .pth-contact-actions {gap:12px;}
  .reef-v5 .reef-v5-contact .pth-contact-actions > .pth-contact-phone,
  .reef-v5 .reef-v5-contact .pth-contact-actions > .pth-contact-website {
    height:48px;
    min-height:48px;
    max-height:48px;
  }
}
