/* Brief-3 customisation layer: top bar, announcement bar, footer redesign,
   WhatsApp float, trust badges, CTA blocks, app badges, account tiles. */

/* ---- Announcement bar ---- */
.announcement-bar {
  background: var(--primary, #222);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem 0;
}
.announcement-bar p { margin: 0; }
.announcement-bar a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 0.35rem;
}

/* ---- Top utility bar ---- */
.top-bar {
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.1rem;
}
.top-bar-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.top-bar-links a { color: inherit; text-decoration: none; opacity: 0.85; }
.top-bar-links a:hover { opacity: 1; text-decoration: underline; }
.top-bar-social { display: flex; gap: 0.6rem; align-items: center; }
.top-bar-social a { color: inherit; opacity: 0.75; display: inline-flex; }
.top-bar-social a:hover { opacity: 1; }
.top-bar-social .icon { width: 16px; height: 16px; }
@media (max-width: 640px) {
  .top-bar-links .hide-mobile { display: none; }
  .site-nav .hide-mobile { display: none; }
}

/* ---- Footer redesign ---- */
.site-footer.footer-custom {
  background: var(--footer-bg);
  color: var(--footer-fg);
}
.site-footer.footer-custom a { color: inherit; }
.footer-logo {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-intro { opacity: 0.85; max-width: 34ch; }
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.8;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.social-links a:hover { opacity: 1; transform: translateY(-2px); }

/* Header + contact-page social icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.75rem;
}
.header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.header-social a:hover { opacity: 1; transform: translateY(-2px); }
.header-social svg { width: 16px; height: 16px; }
.contact-social { margin-top: 1rem; }

/* ---- Footer CTA blocks ---- */
.footer-cta-blocks,
.account-cta-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 0.5rem;
}
.account-cta-blocks { padding-top: 1rem; }
.cta-block {
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
}
.cta-block h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.cta-block p { margin: 0 0 0.85rem; font-size: 0.9rem; opacity: 0.85; }

/* ---- Trust badges ---- */
.trust-badges {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trust-badges li {
  font-size: 0.75rem;
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  opacity: 0.9;
}
.trust-strip { padding: 0.9rem 0 0; }
.trust-badges-inline { justify-content: center; margin: 0.75rem 0; }

/* ---- App store badges ---- */
.app-badges { margin-top: 0.9rem; }
.app-badges p { font-size: 0.85rem; opacity: 0.85; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #000;
  color: #fff !important;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  margin: 0.3rem 0.5rem 0 0;
  text-decoration: none;
  line-height: 1.1;
}
.app-badge .icon { width: 22px; height: 22px; }
.app-badge small { display: block; font-size: 0.6rem; opacity: 0.8; }
.app-badge strong { font-size: 0.85rem; }
.app-badge:hover { opacity: 0.85; }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); color: #fff; }
.whatsapp-float .icon { width: 26px; height: 26px; }
@media (min-width: 641px) {
  .whatsapp-mobile-only { display: none; }
}
@media (max-width: 900px) {
  .whatsapp-float { bottom: 4.2rem; } /* clear the mobile book bar */
}

/* ---- Account dashboard tiles & app links ---- */
.account-tile { display: flex; flex-direction: column; gap: 0.2rem; }
.account-tile .tile-title { font-weight: 600; }
.account-tile .tile-sub { font-size: 0.78rem; opacity: 0.7; }
.account-empty-state { text-align: center; padding: 0.5rem 0; }
.account-empty-state .btn { margin-top: 0.6rem; }
.account-app-links { margin-top: 1.5rem; text-align: center; }
.account-app-links h3 { margin-bottom: 0.25rem; }
.account-app-links p { margin: 0 0 0.5rem; opacity: 0.85; }

/* ---- Footer grid tweak for 4 columns ---- */
@media (min-width: 900px) {
  /* Equal columns so the Contact/Opening Hours column gets enough width
     for "Wednesday  09:00 – 18:00" on a single line. */
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Never let an opening-hours time wrap onto a second line. */
.site-footer .hours-list li { gap: 12px; }
.site-footer .hours-list li span:last-child { white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Service-details modal (accessible, vanilla — see assets/js/site.js) */
/* ------------------------------------------------------------------ */
.service-details-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--primary, #1b1b2f);
  text-decoration: underline;
  cursor: pointer;
}
.service-details-link:hover { opacity: .8; }
.service-menu-cta,
.card-actions,
.sps-service-actions,
.mag-feature-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.service-modal[hidden] { display: none; }
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.service-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 18, .62);
}
.service-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.service-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
}
.service-modal-close:hover { background: #fff; }
.service-modal-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}
.service-modal-body { padding: 22px 24px 24px; }
.service-modal-cat {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #777);
  margin-bottom: 6px;
}
.service-modal-title { margin: 0 0 12px; }
.service-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.service-modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--light, #f3f1ec);
  font-size: .85rem;
}
.service-modal-price { font-weight: 600; }
.service-modal-deposit { background: #fff4e0; color: #8a5a00; }
.service-modal-desc p { margin: 0 0 .8em; }
.service-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
body.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .service-modal-panel { max-height: 94vh; }
  .service-modal-image { height: 170px; }
}

/* Published service catalogue: images and optional subcategory sections. */
.service-menu-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;margin-bottom:16px}
.service-subgroup{margin-bottom:28px;min-width:0}
.service-subgroup-title{margin:0 0 16px;overflow-wrap:anywhere}
.service-subgroup[hidden],.service-menu-card[hidden]{display:none!important}
