body.sf {
  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --sf-ink: #14172a;
  --sf-muted: #667085;
  --sf-line: #e7e9f2;
  --sf-bg: #f6f7fb;
  --sf-card: #ffffff;
  --sf-r: 18px;
  --sf-r-sm: 12px;
  --sf-shadow: 0 1px 2px rgba(20, 23, 42, 0.04), 0 8px 24px rgba(20, 23, 42, 0.06);
  --sf-shadow-lg: 0 2px 4px rgba(20, 23, 42, 0.05), 0 18px 40px rgba(20, 23, 42, 0.12);
  --sf-primary-soft: color-mix(in srgb, var(--color-primary) 10%, #fff);
  --sf-primary-dark: color-mix(in srgb, var(--color-primary) 78%, #000);
  background: var(--sf-bg);
  color: var(--sf-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.sf h1, body.sf h2, body.sf h3, body.sf h4, body.sf h5, body.sf h6 {
  font-family: var(--font-heading);
  color: var(--sf-ink);
  letter-spacing: -0.01em;
}
body.sf p { color: var(--sf-muted); }
body.sf a:focus-visible, body.sf button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
/* Bootstrap's text-primary is a fixed blue; on a storefront it should follow the business colour. */
body.sf .text-primary { color: var(--color-primary) !important; }

/* Header */
body.sf .header-area {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--sf-line);
  box-shadow: none;
}
body.sf .main-navbar .navbar { padding: 12px 0; }
body.sf .main-navbar .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--sf-ink);
  padding: 8px 16px !important;
  border-radius: 999px;
  transition: background .15s, color .15s;
}
body.sf .main-navbar .nav-link:hover { background: var(--sf-primary-soft); color: var(--color-primary); }
body.sf .main-navbar .menu-dropdown {
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  box-shadow: var(--sf-shadow-lg);
  padding: 8px;
}
body.sf .main-navbar .menu-dropdown .nav-link { border-radius: 8px; }
body.sf .more-option .btn { border-radius: 999px; padding: 10px 20px; }

/* Buttons */
body.sf .btn { border-radius: 999px; font-family: var(--font-heading); font-weight: 600; letter-spacing: 0; text-transform: none; }
body.sf .btn-primary,
body.sf .btn-primary.btn-gradient {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(var(--color-primary-rgb), 0.28);
}
body.sf .btn-primary::before { display: none; }
body.sf .btn-primary:hover,
body.sf .btn-primary.btn-gradient:hover {
  background: var(--sf-primary-dark);
  border-color: var(--sf-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
body.sf .btn-outline-2 {
  background: #fff;
  border: 1px solid var(--sf-line);
  color: var(--sf-ink);
}
body.sf .btn-outline-2:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Hero */
.sf-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  color: #fff;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(600px 360px at 0% 110%, rgba(255, 255, 255, 0.10), transparent 60%),
    linear-gradient(135deg, var(--sf-primary-dark), color-mix(in srgb, var(--color-secondary) 70%, #000));
}
.sf-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.sf-hero .container { position: relative; z-index: 1; }
.sf-hero-main { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.sf-logo {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 28px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 18px; }
.sf-hero-text { flex: 1 1 320px; min-width: 0; }
body.sf .sf-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 8px;
}
body.sf .sf-hero .sf-tagline { color: rgba(255, 255, 255, 0.82); font-size: 16.5px; max-width: 620px; margin: 0 0 16px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.sf-chip i { font-size: 12px; opacity: 0.9; }
.sf-chip .sf-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3); }
.sf-chip.is-closed .sf-dot { background: #fca5a5; box-shadow: 0 0 0 3px rgba(252, 165, 165, 0.3); }
.sf-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
body.sf .sf-hero .btn-light { background: #fff; color: var(--sf-ink); border: 0; padding: 12px 26px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
body.sf .sf-hero .btn-light:hover { transform: translateY(-1px); }
body.sf .sf-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 12px 24px;
}
body.sf .sf-hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); }
.sf-hero .stars { display: inline-flex; align-items: center; gap: 6px; }

/* Compact hero for inner pages */
body.sf .page-title-area {
  position: relative;
  padding: 44px 0 52px;
  background: linear-gradient(135deg, var(--sf-primary-dark), color-mix(in srgb, var(--color-secondary) 70%, #000)) !important;
  overflow: hidden;
}
body.sf .page-title-area::before { display: none; }
body.sf .page-title-area .content h1,
body.sf .page-title-area .content h2,
body.sf .page-title-area .content h4,
body.sf .page-title-area .content .color-white { color: #fff; font-weight: 800; }
body.sf .page-title-area .breadcrumb { margin: 8px 0 0; }
body.sf .page-title-area .breadcrumb a,
body.sf .page-title-area .breadcrumb-item,
body.sf .page-title-area .breadcrumb-item::before { color: rgba(255, 255, 255, 0.8); }
body.sf .page-title-area .breadcrumb-item.active { color: #fff; }

/* Stat strip */
.sf-strip { margin-top: -52px; position: relative; z-index: 2; }
.sf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sf-stat {
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r);
  box-shadow: var(--sf-shadow);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.sf-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-primary-soft);
  color: var(--color-primary);
  font-size: 17px;
}
.sf-stat-body { min-width: 0; }
.sf-stat-value { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--sf-ink); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-stat-label { font-size: 12.5px; color: var(--sf-muted); }

/* Section scaffolding */
.sf-section { padding: 36px 0 24px; }
.sf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
body.sf .sf-section-head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.sf-section-head p { margin: 4px 0 0; font-size: 14px; }
.sf-link { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--color-primary); }
.sf-link:hover { color: var(--sf-primary-dark); }

/* Category pills */
body.sf .tabs-navigation {
  border: 0 !important;
  background: transparent;
  padding: 0;
  margin-bottom: 20px !important;
}
body.sf .tabs-navigation .nav-tabs {
  display: flex;
  flex-wrap: nowrap !important;
  gap: 8px;
  border: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  justify-content: flex-start !important;
}
body.sf .tabs-navigation .nav-tabs::-webkit-scrollbar { display: none; }
body.sf .tabs-navigation .nav-item { flex-shrink: 0; margin: 0; }
body.sf .tabs-navigation .nav-link {
  border: 1px solid var(--sf-line) !important;
  background: #fff;
  color: var(--sf-ink);
  border-radius: 999px !important;
  padding: 9px 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: all .15s;
}
body.sf .tabs-navigation .nav-link:hover { border-color: var(--color-primary) !important; color: var(--color-primary); }
body.sf .tabs-navigation .nav-link.active {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(var(--color-primary-rgb), 0.25);
}

/* Service cards */
body.sf .service-card {
  position: relative;
  height: calc(100% - 24px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  background: var(--sf-card);
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-r) !important;
  box-shadow: var(--sf-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.sf .service-card:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lg); border-color: rgba(var(--color-primary-rgb), 0.35) !important; }
body.sf .service-card .product-img { margin: 0 !important; position: relative; }
body.sf .service-card .product-img .lazy-container { border-radius: 0 !important; aspect-ratio: 4 / 3; }
body.sf .service-card .product-img .lazy-container::before { display: none; }
body.sf .service-card .product-img .lazy-container img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
body.sf .service-card:hover .product-img img { transform: scale(1.05); }

/* Service without photos: a placeholder in the business's own colours instead of the neutral image. */
body.sf .lazy-container:has(> img[src*="service-placeholder.svg"]),
body.sf .lazy-container:has(> a > img[src*="service-placeholder.svg"]) {
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--color-primary-rgb), 0.16), transparent 42%),
    radial-gradient(rgba(var(--color-primary-rgb), 0.14) 1.2px, transparent 1.4px) 0 0 / 20px 20px,
    linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 9%, #fff), color-mix(in srgb, var(--color-secondary) 12%, #fff));
}
body.sf .lazy-container img[src*="service-placeholder.svg"] { opacity: 0; }
body.sf .lazy-container:has(> img[src*="service-placeholder.svg"])::after,
body.sf .lazy-container:has(> a > img[src*="service-placeholder.svg"])::after {
  content: "";
  inset: 0;
  margin: auto;
  width: clamp(56px, 26%, 88px);
  height: auto;
  aspect-ratio: 1;
  z-index: 0;
  background: linear-gradient(135deg, var(--color-primary), color-mix(in srgb, var(--color-primary) 55%, var(--color-secondary)));
  -webkit-mask: url("/booking_assets/images/service-placeholder-mask.svg") center / contain no-repeat;
  mask: url("/booking_assets/images/service-placeholder-mask.svg") center / contain no-repeat;
  transition: transform .5s ease;
}
body.sf .service-card:hover .lazy-container:has(> img[src*="service-placeholder.svg"])::after { transform: scale(1.06); }
.sf-badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.sf-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sf-ink);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(20, 23, 42, 0.12);
}
.sf-badge.is-accent { background: var(--color-primary); color: #fff; }
.sf-badge.is-good { background: #16a34a; color: #fff; }
.sf-badge i { font-size: 11px; }
body.sf .service-card .product-details { padding: 16px 18px 18px; flex: 1 1 auto; display: flex; flex-direction: column; }
body.sf .service-card .product-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
body.sf .service-card .product-title a { color: var(--sf-ink); }
body.sf .service-card .product-title a:hover { color: var(--color-primary); }
body.sf .service-card .s-desc {
  flex: 1 1 auto;
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--sf-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
}
.sf-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sf-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--sf-muted); }
.sf-note { display: block; font-size: 12px; color: #b42318; margin-bottom: 8px; }
.sf-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--sf-line);
}
.sf-price { display: flex; flex-direction: column; line-height: 1.15; }
.sf-price .new-price { font-family: var(--font-heading); font-size: 19px; font-weight: 800; color: var(--sf-ink); }
.sf-price .prev-price { font-size: 12.5px; color: var(--sf-muted); text-decoration: line-through; }
body.sf .service-card .bookService {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  padding: 9px 20px;
  font-size: 13.5px;
  box-shadow: 0 6px 14px rgba(var(--color-primary-rgb), 0.25);
}
body.sf .service-card .bookService:hover { background: var(--sf-primary-dark); border-color: var(--sf-primary-dark); }
body.sf .service-card .bookService:disabled,
body.sf .service-card .bookService.disabled { opacity: .55; box-shadow: none; }

/* Ratings stay on the template's star sprite; just tighten spacing */
body.sf .ratings .ratings-total { color: var(--sf-muted); font-size: 12.5px; }

/* Sidebar widgets */
body.sf .widget-area .widget {
  background: var(--sf-card);
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-r) !important;
  box-shadow: var(--sf-shadow);
  padding: 22px !important;
  margin-bottom: 18px !important;
}
body.sf .widget-area .widget .title,
body.sf .widget-area .widget h4.title { font-size: 17px; font-weight: 800; margin-bottom: 14px !important; display: flex; align-items: center; gap: 10px; }
.sf-w-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-primary-soft);
  color: var(--color-primary);
  font-size: 14px;
}
.sf-about-text { font-size: 14px; line-height: 1.65; color: var(--sf-muted); }
.sf-about-text p { margin-bottom: 8px; }
body.sf .click-show .read-more-btn { color: var(--color-primary); font-weight: 600; font-size: 13.5px; cursor: pointer; margin-top: 6px; }
.sf-facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.sf-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sf-line); font-size: 13.5px; }
.sf-facts li span:first-child { color: var(--sf-muted); }
.sf-facts li span:last-child { font-weight: 600; text-align: right; color: var(--sf-ink); }
.sf-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sf-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-bg);
  color: var(--sf-ink);
  border: 1px solid var(--sf-line);
  transition: all .15s;
}
.sf-social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.sf-social a:hover svg path { fill: #fff !important; }
.sf-map { border-radius: var(--sf-r-sm); overflow: hidden; background: var(--sf-bg); aspect-ratio: 16 / 10; margin-bottom: 14px; }
.sf-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sf-contact li a, .sf-contact li > span { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; color: var(--sf-ink); word-break: break-word; }
.sf-contact li i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--sf-primary-soft); color: var(--color-primary); font-size: 13px; flex-shrink: 0; }
.sf-contact li a:hover { color: var(--color-primary); }
.sf-hours { list-style: none; margin: 0; padding: 0; }
.sf-hours li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; color: var(--sf-muted); }
.sf-hours li span:last-child { font-weight: 600; color: var(--sf-ink); }
.sf-hours li.is-today { background: var(--sf-primary-soft); color: var(--sf-ink); }
.sf-hours li.is-today span:first-child { font-weight: 700; color: var(--color-primary); }
.sf-hours li .is-closed { color: #b42318; font-weight: 600; }
.sf-open-pill { margin-left: auto; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.sf-open-pill.is-closed { background: #fee4e2; color: #b42318; }

/* Reviews */
body.sf .review-progresses,
body.sf .review-list,
body.sf .review-submit {
  background: var(--sf-card);
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-r) !important;
  box-shadow: var(--sf-shadow);
}
body.sf .review-reply { border-radius: 0 0 var(--sf-r) var(--sf-r) !important; background: var(--sf-bg) !important; }
body.sf .progress { height: 8px; border-radius: 999px; background: var(--sf-bg); }
body.sf .progress-bar { border-radius: 999px; background: var(--color-primary) !important; }

/* Pagination */
body.sf .pagination .page-link { border-radius: 12px; margin: 0 3px; border: 1px solid var(--sf-line); color: var(--sf-ink); font-weight: 600; }
body.sf .pagination .active .page-link, body.sf .pagination .page-link:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* Listing page filters */
body.sf .widget-ratings { background: var(--sf-card); border: 1px solid var(--sf-line) !important; border-radius: var(--sf-r) !important; box-shadow: var(--sf-shadow); }
body.sf .sort-area h5 { font-size: 15px; font-weight: 600; color: var(--sf-muted); }

/* Footer */
body.sf .footer-area { background: #0f1222 !important; margin-top: 56px !important; color: #c7cbe0; }
body.sf .footer-area .footer-top { padding: 64px 0 40px; }
body.sf .footer-area .navbar-brand img { background: #fff; padding: 10px; border-radius: 20px; }
body.sf .footer-area .navbar-brand span { display: none; }
body.sf .footer-area .info-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
body.sf .footer-area a { color: #c7cbe0; }
body.sf .footer-area a:hover { color: #fff; }
body.sf .footer-area .social-link a {
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
}
body.sf .footer-area .social-link a svg path { fill: #c7cbe0 !important; }
body.sf .footer-area .social-link a:hover { background: var(--color-primary); }
body.sf .footer-area .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; padding: 0; }
body.sf .footer-area .footer-links .nav-link { padding: 6px 14px; border-radius: 999px; font-weight: 500; }
body.sf .footer-area .footer-links .nav-link:hover { background: rgba(255, 255, 255, 0.08); }
body.sf .footer-area .copy-right-area { border-color: rgba(255, 255, 255, 0.1) !important; }
body.sf .footer-area .copy-right-content,
body.sf .footer-area .copy-right-content span { color: #8b90ab; }
body.sf .footer-area .copy-right-content a { color: #fff; }
body.sf .go-top { border-radius: 14px; background: var(--color-primary); }

/* Booking modal and side panel inherit the same shape language */
body.sf .modal-content { border: 0; border-radius: 22px; box-shadow: var(--sf-shadow-lg); }
body.sf .form-control, body.sf .form-select { border-radius: 12px; border-color: var(--sf-line); }
body.sf .form-control:focus, body.sf .form-select:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12); }

@media (max-width: 991.98px) {
  .sf-stats { grid-template-columns: repeat(2, 1fr); }
  .sf-hero { padding: 40px 0 88px; }
  body.sf .header-area { position: relative; }
}
@media (max-width: 575.98px) {
  .sf-hero-main { gap: 18px; }
  .sf-logo { width: 84px; height: 84px; border-radius: 22px; }
  .sf-stats { gap: 10px; }
  .sf-stat { padding: 12px; gap: 10px; }
  .sf-stat-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
  .sf-stat-value { font-size: 14px; white-space: normal; }
  .sf-hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  body.sf .service-card .product-details { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body.sf .service-card, body.sf .service-card .product-img img { transition: none; }
  body.sf .service-card:hover { transform: none; }
}

body.sf .service-card .bookService { white-space: nowrap; line-height: 1.3; flex-shrink: 0; width: auto; height: auto; }
body.sf .widget-area .widget { padding: 20px !important; }
.sf-hours li { gap: 10px; padding: 8px 10px; font-size: 13px; }
.sf-hours li span:last-child { white-space: nowrap; }
body.sf .widget-area .widget .title { flex-wrap: nowrap; }
body.sf .footer-area .go-top {
  clip-path: none;
  top: -22px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
body.sf .footer-area .go-top::before { display: none; }
body.sf .sf-col { display: flex; padding-bottom: 24px; }
body.sf .sf-col .service-card { height: auto; flex: 1 1 auto; width: 100%; }
body.sf .footer-area .navbar-brand img { width: 96px; height: 96px; max-width: 96px !important; object-fit: contain; border-radius: 24px; padding: 8px; }
body.sf .show-password-field { display: none !important; }

/* Booking details side panel */
body.sf .overlay { background: rgba(15, 18, 34, 0.55); backdrop-filter: blur(3px); }
body.sf .side-panel {
  background: var(--sf-bg);
  border-radius: 24px 0 0 24px;
  box-shadow: -18px 0 50px rgba(15, 18, 34, 0.25);
}
body.sf .side-panel .panel-header {
  background: #fff;
  padding: 18px 22px;
  border-bottom: 1px solid var(--sf-line);
  text-align: left;
}
body.sf .side-panel .panel-header h3 { font-size: 19px; font-weight: 800; margin: 0; }
body.sf .side-panel .close-panel {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-bg);
  color: var(--sf-ink);
  font-size: 16px;
  cursor: pointer;
  transition: background .15s;
}
body.sf .side-panel .close-panel:hover { background: var(--sf-line); }
body.sf .side-panel .close-panel i::before { content: "\f00d"; }
body.sf .side-panel .panel-content { padding: 20px; }
body.sf .side-panel h4, body.sf .side-panel .h5, body.sf .side-panel label.h5 { font-size: 15px; font-weight: 700; }
body.sf .side-panel #booking-details > h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--sf-muted);
}
body.sf .side-panel #booking-details > h4 b { color: var(--sf-ink) !important; font-family: var(--font-heading); }
body.sf .side-panel hr { border: 0; height: 0; margin: 14px 0; opacity: 1; }
body.sf .side-panel .guest-booking-fields,
body.sf .side-panel .group-booking-section {
  background: #fff;
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-r-sm) !important;
}
body.sf .side-panel .guest-booking-fields h5 { font-size: 15px; font-weight: 700; text-align: left !important; }
body.sf .side-panel .form-label { font-size: 12.5px; font-weight: 600; color: var(--sf-muted); }
body.sf .side-panel .form-control,
body.sf .side-panel .form-select { background: #fff; padding: 10px 14px; }
body.sf .side-panel .sign_in_notif { background: transparent; border: 0; padding: 0; }
body.sf .side-panel .sign_in_notif .btn { border-radius: 999px; padding: 10px; font-weight: 600; }
body.sf .side-panel .user-account-info { border-radius: var(--sf-r-sm); box-shadow: none; border-color: var(--sf-line); font-family: var(--font-body); }
body.sf .side-panel .apt-service-card {
  border: 1px solid var(--sf-line);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--sf-r-sm);
  box-shadow: none;
}
body.sf .side-panel .service-price { color: var(--color-primary); }
body.sf .side-panel .payment-method-area .section-title { margin-bottom: 12px !important; }
body.sf .side-panel .payment-method-area .section-title .title { font-size: 15px; text-align: left !important; color: var(--sf-ink) !important; }
body.sf .side-panel .payment-method-area .section-title p { text-align: left !important; font-size: 13px; margin: 0; }
body.sf .side-panel .payment-options { background: transparent !important; padding: 0 !important; gap: 10px !important; }
body.sf .side-panel .payment-option {
  border: 1.5px solid var(--sf-line);
  border-radius: var(--sf-r-sm) !important;
  box-shadow: none !important;
  transition: border-color .15s, background .15s;
}
body.sf .side-panel .payment-option:has(input:checked) { border-color: var(--color-primary); background: var(--sf-primary-soft) !important; }
body.sf .side-panel .payment-option .form-check-input:checked { background-color: var(--color-primary); border-color: var(--color-primary); }
body.sf .side-panel .amt-details {
  background: #fff;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  padding: 14px 16px;
  font-size: 14px;
}
body.sf .side-panel .amt-details p { color: var(--sf-ink); }
body.sf .side-panel .amt-details .amount_to_pay { font-family: var(--font-heading); font-weight: 800; color: var(--color-primary); }
body.sf .side-panel .no_payment_btn { position: sticky; bottom: -20px; padding: 14px 0 4px; background: linear-gradient(180deg, transparent, var(--sf-bg) 30%); }
body.sf .side-panel .complete-booking { width: 100%; padding: 14px; border-radius: 999px; box-shadow: 0 10px 22px rgba(var(--color-primary-rgb), 0.3); }
@media (max-width: 768px) { body.sf .side-panel { border-radius: 20px 0 0 20px; } }

/* Booking modal staff picker */
body.sf #makeBooking .swiper-slide .card { border: 1px solid var(--sf-line); border-radius: var(--sf-r) !important; box-shadow: none; overflow: hidden; transition: border-color .15s, box-shadow .15s; cursor: pointer; }
body.sf #makeBooking .swiper-slide .card:hover { border-color: var(--color-primary); box-shadow: var(--sf-shadow); }
body.sf #makeBooking .swiper-slide .card-img { padding: 18px 18px 0; margin: 0; }
body.sf #makeBooking .swiper-slide .card-img .lazy-container { width: 96px; height: 96px; aspect-ratio: 1; margin: 0 auto; border-radius: 50% !important; background: var(--sf-bg); }
body.sf #makeBooking .swiper-slide .card-img .lazy-container::before { display: none; }
body.sf #makeBooking .swiper-slide .card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.sf #makeBooking .swiper-slide .card-details { padding: 12px 14px 18px !important; }
body.sf #makeBooking .swiper-slide .card-title a { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--sf-ink); }

/* Booking modal calendar and stepper pick up the business colour */
body.sf .pignose-calendar { border: 1px solid var(--sf-line) !important; border-radius: var(--sf-r) !important; box-shadow: none !important; overflow: hidden; }
body.sf .pignose-calendar .pignose-calendar-top { background: #fff; border-bottom: 1px solid var(--sf-line); }
body.sf .pignose-calendar .pignose-calendar-unit.pignose-calendar-unit-active a {
  background-color: var(--color-primary) !important;
  box-shadow: 0 6px 14px rgba(var(--color-primary-rgb), 0.3) !important;
  border-radius: 50%;
}
body.sf .pignose-calendar .pignose-calendar-unit:not(.pignose-calendar-unit-disabled):not(.pignose-calendar-unit-active) a { color: var(--color-primary); font-weight: 600; }
body.sf .pignose-calendar .pignose-calendar-unit a { border-radius: 50%; }
body.sf .pignose-calendar .pignose-calendar-unit.pignose-calendar-unit-disabled a { color: #c3c7d6; background: transparent; }
body.sf #makeBooking .bs-stepper .step.active .bs-stepper-circle,
body.sf #makeBooking .bs-stepper .step.active .step-trigger { color: var(--color-primary); }
/* Service options step in the booking modal */
.svc-options-area[hidden] { display: none !important; }
.svc-options-area { max-width: 640px; margin: 0 auto; }
.svc-options-service { font-weight: 600; }
.svc-options-list { display: flex; flex-direction: column; gap: 22px; }
.svc-opt-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.svc-opt-group legend { float: none; width: auto; margin-bottom: 10px; padding: 0; font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--sf-ink, #14172a); }
.svc-opt-group legend span { margin-left: 6px; font-family: var(--font-body); font-size: 12.5px; font-weight: 500; color: var(--sf-muted, #667085); }
.svc-opt-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.svc-opt-choice { position: relative; display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 16px; border: 1.5px solid var(--sf-line, #e7e9f2); border-radius: var(--sf-r-sm, 12px); background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.svc-opt-choice:hover { border-color: color-mix(in srgb, var(--color-primary) 55%, #fff); }
.svc-opt-choice input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt-check { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #c3c7d6; border-radius: 50%; background: #fff; transition: border-color .15s, background .15s; }
.svc-opt-choice input[type="checkbox"] + .svc-opt-check { border-radius: 6px; }
.svc-opt-choice input:checked + .svc-opt-check { border-color: var(--color-primary); background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.svc-opt-choice:has(input:checked) { border-color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 6%, #fff); }
.svc-opt-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent); }
.svc-opt-text { display: flex; flex-direction: column; min-width: 0; }
.svc-opt-label { font-weight: 600; color: var(--sf-ink, #14172a); line-height: 1.35; overflow-wrap: anywhere; }
.svc-opt-meta { margin-top: 2px; font-size: 13px; color: var(--sf-muted, #667085); }
.svc-options-error { margin: 14px 0 0; font-size: 14px; color: #d92d20; }
.svc-options-error[hidden] { display: none; }
.svc-options-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 14px 0 6px; border-top: 1px solid var(--sf-line, #e7e9f2); background: #fff; }
.svc-options-total { display: flex; flex-direction: column; }
.svc-options-price { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--sf-ink, #14172a); }
.svc-options-price s { margin-right: 6px; font-size: 14px; font-weight: 500; color: var(--sf-muted, #667085); }
.svc-options-duration { font-size: 13px; color: var(--sf-muted, #667085); }
.svc-options-bar .btn:disabled { opacity: .55; }
.svc-detail-options { padding: 20px 22px; border: 1px solid var(--sf-line, #e7e9f2); border-radius: var(--sf-r, 18px); background: var(--sf-card, #fff); }
.svc-detail-option + .svc-detail-option { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sf-line, #e7e9f2); }
.svc-detail-option-name { display: block; margin-bottom: 8px; font-weight: 700; color: var(--sf-ink, #14172a); }
.svc-detail-option-name small { margin-left: 8px; font-size: 12.5px; font-weight: 500; color: var(--sf-muted, #667085); }
.svc-detail-option ul { margin: 0; padding: 0; list-style: none; }
.svc-detail-option li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; color: var(--sf-ink, #14172a); }
.svc-detail-option-meta { flex-shrink: 0; color: var(--sf-muted, #667085); }
.apt-service-card .service-options-line { margin: 4px 0 6px; font-size: 13.5px; color: var(--sf-muted, #667085); }
@media (max-width: 575.98px) {
  .svc-opt-choices { grid-template-columns: 1fr; }
  .svc-options-bar .btn { flex: 1 1 auto; }
}
body.sf .btn-outline-primary { border: 1.5px solid var(--color-primary); color: var(--color-primary); background: #fff; }
body.sf .btn-outline-primary:hover { background: var(--color-primary); color: #fff; }

/* Service details */
body.sf .product-single-gallery .product-single-slider { border-radius: var(--sf-r) !important; box-shadow: var(--sf-shadow); }
body.sf .product-single-gallery .thumbnail-img { border-radius: 12px !important; }
body.sf .product-single-gallery .slider-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--sf-ink); border: 1px solid var(--sf-line); box-shadow: var(--sf-shadow); }
body.sf .product-single-gallery .slider-btn:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
body.sf .product-single-details h4 { font-size: 18px; font-weight: 800; }
body.sf .product-single-details .product-price .new-price,
body.sf .product-single-details .product-price .h4 { font-family: var(--font-heading); font-weight: 800; }
body.sf .product-single-details ul li { color: var(--sf-ink); }
body.sf .sf-hours li { padding: 8px; font-size: 12.5px; gap: 6px; }
body.sf .product-single-details .info-list,
body.sf .product-single-details .featured-list {
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r);
  box-shadow: var(--sf-shadow);
  padding: 22px 24px !important;
  margin-top: 20px;
}
body.sf .product-single-details .info-list li,
body.sf .product-single-details .featured-list li { padding: 8px 0; border-top: 1px solid var(--sf-line); font-size: 14.5px; }
body.sf .product-single-details .info-list li:first-child,
body.sf .product-single-details .featured-list li:first-child { border-top: 0; }
body.sf .product-single-details .info-list li span:first-child { font-weight: 700; margin-right: 6px; }
body.sf .product-single-details .booking-form .form-wrapper { border: 1px solid var(--sf-line) !important; border-radius: var(--sf-r) !important; box-shadow: var(--sf-shadow); padding: 18px 20px 6px !important; }
body.sf .product-single-details .product-price { text-align: right; }
body.sf .product-single-details .info-list li,
body.sf .product-single-details .featured-list li { padding-left: 22px; position: relative; }
body.sf .sf-hours li { font-size: 12px; }

/* Payment gateway buttons keep their brand colours with readable text */
body.sf .side-panel .payment-button {
  width: 100%;
  max-width: 340px;
  border: 0;
  border-radius: 999px !important;
  padding: 14px 24px !important;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(20, 23, 42, 0.18) !important;
}
body.sf .side-panel .stripe-button { background: #635bff !important; }
body.sf .side-panel .flutterwave-button { background: #f5a623 !important; }
body.sf .side-panel .payment-button:hover { transform: translateY(-1px); }
body.sf .side-panel .payment-button:disabled { opacity: .5; box-shadow: none !important; cursor: not-allowed; transform: none; }

/* Hero gradient runs primary to secondary; the default secondary is navy */
.sf-hero,
body.sf .page-title-area {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 88%, #000), color-mix(in srgb, var(--color-secondary) 60%, #000)) !important;
}

body.sf .side-panel { box-shadow: none; }
body.sf .side-panel.active, body.sf .side-panel.show { box-shadow: -18px 0 50px rgba(15, 18, 34, 0.25); }
@media (max-width: 575.98px) {
  body.sf #makeBooking .bs-stepper-label { font-size: 10.5px; }
  body.sf #makeBooking .bs-stepper-header { gap: 0; }
}
body.sf .footer-area .copy-right-content a { color: #fff !important; }

/* "View Cart" action on the add-to-cart toast (www/js/cart-api.js showToast()). */
.toastify:has(.gifts-toast-with-action) { max-width: min(360px, calc(100vw - 30px)); }
.gifts-toast-with-action { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.gifts-toast-action-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  cursor: pointer;
}
.gifts-toast-action-btn:hover { background: rgba(255, 255, 255, 0.32); }

:root { --toast-success: var(--color-primary); }

.toastify.on { display: flex; align-items: center; gap: 10px; border-radius: 14px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

/* ---- Shop checkout (commerce/checkout.php) ----
   checkout.css loads after this file, so every rule is scoped under body.sf to win on
   specificity. Same structure as the Gifts checkout, in the business brand colour. */
body.sf .checkout-container { padding-top: 36px; padding-bottom: 56px; }
body.sf .checkout-page-title { margin-bottom: 20px; }
body.sf .checkout-page-title h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}
body.sf .checkout-stepper,
body.sf .checkout-section,
body.sf .order-summary-card {
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r);
  box-shadow: var(--sf-shadow);
}
body.sf .checkout-section { padding: 26px 28px; margin-bottom: 18px; }
body.sf .checkout-step-number { font-family: var(--font-heading); font-variant-numeric: tabular-nums; }
body.sf .checkout-step-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sf-muted);
}
body.sf .checkout-step.active .checkout-step-label { color: var(--color-primary); font-weight: 600; }
body.sf .checkout-section-title {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sf-line);
}
body.sf .checkout-section-title h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--sf-ink);
}
body.sf .checkout-section-title > i {
  flex: none;
  width: 40px;
  height: 40px;
  margin-right: 14px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: var(--sf-primary-soft);
  color: var(--color-primary);
  font-size: 0.95rem;
}
body.sf .checkout-form-group label {
  margin-bottom: 6px;
  color: var(--sf-ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
}
body.sf .checkout-form-control {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  background-color: #fff;
  color: var(--sf-ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
body.sf .checkout-form-control::placeholder { color: var(--sf-muted); opacity: 0.7; }
body.sf .checkout-form-control:hover { border-color: rgba(var(--color-primary-rgb), 0.45); }
body.sf .checkout-form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12);
}
body.sf .custom-radio-card {
  border: 1.5px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
body.sf .custom-radio-card:hover { border-color: rgba(var(--color-primary-rgb), 0.45); }
body.sf .custom-radio-card:has(.form-check-input:checked) {
  border-color: var(--color-primary);
  background: var(--sf-primary-soft);
  box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12);
}
body.sf .custom-radio-card h6 { font-family: var(--font-heading); font-weight: 700; text-transform: none; }
body.sf .custom-radio-card .icon-wrapper { background: var(--sf-primary-soft); color: var(--color-primary); border-radius: 50%; }
body.sf .checkout-container .form-check-input:checked { background-color: var(--color-primary); border-color: var(--color-primary); }
body.sf .checkout-container .form-check-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12); }
body.sf .checkout-container .alert-info {
  border: 0;
  border-radius: var(--sf-r-sm);
  background: var(--sf-primary-soft) !important;
  color: var(--sf-ink);
}
body.sf .checkout-container .alert-info .alert-heading { font-family: var(--font-heading); color: var(--sf-ink); }
body.sf .checkout-container .alert-info .alert-heading i { color: var(--color-primary); }
body.sf .checkout-guest-banner { padding: 20px 28px; }
body.sf .checkout-guest-banner-text strong { font-family: var(--font-heading); color: var(--sf-ink); }
body.sf .checkout-guest-banner-text span { color: var(--sf-muted); }
body.sf .checkout-guest-banner-signin { padding: 11px 26px; font-family: var(--font-heading); font-size: 0.88rem; }
body.sf .checkout-guest-banner-signin:hover { background: var(--sf-primary-dark); }
body.sf .checkout-terms { border-color: var(--sf-line); border-radius: var(--sf-r-sm); background: #fff; }
body.sf .shop-notes-hint { color: var(--sf-muted); }

body.sf .checkout-actions { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--sf-line); }
body.sf .btn-checkout-back,
body.sf .btn-checkout-next {
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
body.sf .btn-checkout-back { border: 1px solid var(--sf-line); background: #fff; color: var(--sf-ink); }
body.sf .btn-checkout-back:hover { border-color: var(--color-primary); background: #fff; color: var(--color-primary); }
body.sf .btn-checkout-next {
  border: 0;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(var(--color-primary-rgb), 0.55);
}
body.sf .btn-checkout-next:hover { background: var(--sf-primary-dark); box-shadow: 0 10px 22px -8px rgba(var(--color-primary-rgb), 0.6); transform: translateY(-1px); }
body.sf .btn-checkout-next:active { transform: scale(0.985); }
body.sf .btn-checkout-next:disabled { opacity: 0.6; transform: none; box-shadow: none; }
body.sf .btn-checkout-pay { min-width: 240px; justify-content: center; gap: 10px; font-size: 1rem; }
body.sf .btn-checkout-pay:disabled { opacity: 0.85; cursor: progress; }
body.sf .btn-checkout-pay #pay-btn-amount { font-variant-numeric: lining-nums tabular-nums; }
body.sf .btn-checkout-pay [hidden] { display: none; }
body.sf .checkout-bar-total { display: none; }

body.sf .order-summary-card { padding: 26px; }
body.sf .order-summary-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--sf-ink);
  border-bottom-color: var(--sf-line);
}
body.sf .order-product-item { border-bottom-color: var(--sf-line); }
body.sf .order-product-image { width: 64px; height: 64px; border-radius: var(--sf-r-sm); background: var(--sf-bg); }
body.sf .order-product-name { font-family: var(--font-heading); font-weight: 700; color: var(--sf-ink); }
body.sf .order-product-price { font-family: var(--font-heading); color: var(--sf-ink); }
body.sf .order-summary-card input.form-control {
  min-height: 42px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  padding: 0 16px;
  font-size: 0.84rem;
}
body.sf .order-summary-card input.form-control::placeholder { text-transform: none; color: var(--sf-muted); opacity: 0.8; }
body.sf .order-summary-card input.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12); }
body.sf .order-summary-card .btn-outline-secondary {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.84rem;
}
body.sf .order-summary-card .btn-outline-secondary:hover,
body.sf .order-summary-card .btn-outline-secondary:focus-visible { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
/* Quantity stepper: one pill, - value +. */
body.sf .order-summary-card .input-group {
  flex-wrap: nowrap;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}
body.sf .order-summary-card .input-group .btn {
  flex: 0 0 34px;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sf-ink);
  font-size: 1rem;
  line-height: 1;
}
body.sf .order-summary-card .input-group .btn:hover,
body.sf .order-summary-card .input-group .btn:focus-visible { background: var(--sf-primary-soft); color: var(--color-primary); transform: none; }
body.sf .order-summary-card .input-group input.form-control {
  min-width: 0;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sf-ink);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body.sf .order-summary-row { color: var(--sf-muted); font-variant-numeric: tabular-nums; }
body.sf .order-summary-row.total { color: var(--sf-ink); border-top-color: var(--sf-line); }
body.sf .order-summary-total { font-family: var(--font-heading); font-weight: 800; font-variant-numeric: lining-nums tabular-nums; }
body.sf .contact-info-card { border-radius: var(--sf-r-sm); background: var(--sf-primary-soft); }
body.sf .contact-info-icon { background: var(--color-primary); color: #fff; }
body.sf .contact-info-name { font-family: var(--font-heading); text-transform: none; color: var(--sf-ink); }
body.sf .contact-info-text { color: var(--sf-muted); }
body.sf .contact-info-text a { color: var(--sf-primary-dark); font-weight: 600; }

body.sf .payment-methods { gap: 12px; margin-bottom: 18px; }
body.sf .payment-method-card {
  padding: 16px 18px;
  border: 1.5px solid var(--sf-line);
  border-radius: var(--sf-r-sm);
  background: #fff;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
body.sf .payment-method-card:hover { border-color: var(--color-primary); box-shadow: none; }
body.sf .payment-method-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
body.sf .payment-method-card.selected { border-color: var(--color-primary); background: var(--sf-primary-soft); box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12); }
body.sf .payment-method-icon { width: 44px; height: 44px; margin-right: 14px; border-radius: var(--sf-r-sm); background: var(--sf-primary-soft); color: var(--color-primary); }
body.sf .payment-method-title { margin: 0; font-family: var(--font-heading); font-size: 0.98rem; font-weight: 700; text-transform: none; color: var(--sf-ink); }
body.sf .payment-method-card.selected .payment-method-radio { border-color: var(--color-primary); }
body.sf .payment-in-flight .payment-method-card { opacity: 0.55; }

body.sf .appointment-summary { border-radius: var(--sf-r-sm); border-color: var(--sf-line); background: var(--sf-bg); }
body.sf .appointment-summary-item { align-items: flex-start; gap: 16px; border-bottom-color: var(--sf-line); }
body.sf .appointment-summary-label { flex: none; text-transform: none; font-size: 0.88rem; font-weight: 500; color: var(--sf-muted); }
body.sf .appointment-summary-value { min-width: 0; max-width: 70%; font-size: 0.92rem; overflow-wrap: anywhere; }
body.sf .checkout-success-title { font-family: var(--font-heading); font-weight: 800; text-transform: none; letter-spacing: -0.01em; }
body.sf .checkout-section,
body.sf .order-product-details,
body.sf .contact-info-details { min-width: 0; overflow-wrap: anywhere; }
gmp-place-autocomplete.checkout-form-control { display: block; width: 100%; min-width: 0; max-width: 100%; contain: inline-size; }

@media (min-width: 992px) {
  body.sf .checkout-sidebar { position: sticky; top: 96px; align-self: flex-start; }
}
@media (max-width: 575.98px) {
  body.sf .checkout-section { padding: 20px 18px; }
  body.sf .order-summary-card { padding: 20px 18px; }
  /* Keep the summary item a compact row rather than a full-width image. */
  body.sf .order-product-item { flex-direction: row; }
  body.sf .order-product-image { width: 64px; height: 64px; }
  body.sf .appointment-summary { padding: 18px; }
}

/* Phones: steps 1 and 2 pin back / total / continue to the bottom of the screen. */
@media (max-width: 767.98px) {
  body.sf:has(.checkout-container) { padding-bottom: 88px; }
  body.sf:has(.checkout-container) .go-top,
  body.sf:has(.checkout-container) .sh-cc-reopen { display: none !important; }
  body.sf .checkout-step-content:not([data-step="3"]) .checkout-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1035;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--sf-line);
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -12px 28px -16px rgba(20, 23, 42, 0.3);
  }
  body.sf .checkout-step-content:not([data-step="3"]) .checkout-actions .btn-checkout-back {
    flex: none;
    width: 50px;
    height: 50px;
    min-height: 0;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  body.sf .checkout-step-content:not([data-step="3"]) .checkout-actions .btn-label { display: none; }
  body.sf .checkout-step-content:not([data-step="3"]) .checkout-actions .btn-checkout-next {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    padding: 0 18px;
    white-space: nowrap;
  }
  body.sf .checkout-bar-total {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
  }
  body.sf .checkout-bar-total span {
    color: var(--sf-muted);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  body.sf .checkout-bar-total strong {
    color: var(--sf-ink);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: lining-nums tabular-nums;
  }
  body.sf .btn-checkout-pay { min-width: 0; }
  body.sf .checkout-main { padding-bottom: 8px; }
}
@media (max-width: 479.98px) {
  body.sf .checkout-actions .btn-label-extra { display: none; }
}
@media (max-width: 374.98px) {
  body.sf .checkout-step-content:not([data-step="3"]) .checkout-actions .btn-checkout-next { padding: 0 12px; font-size: 0.84rem; }
}

/* Shop (commerce/business-minimart.php + components) */
body.sf .sf-shop-hero { padding: 40px 0 76px; }
body.sf .sf-shop-hero h2 { font-size: clamp(30px, 4vw, 42px); margin: 0; }
.sf-shop-hero-sub { color: rgba(255, 255, 255, 0.82) !important; margin: 6px 0 0; font-size: 15.5px; }
.sf-shop { padding-bottom: 24px; }
.sf-shop-bar {
  position: relative;
  z-index: 3;
  margin-top: -40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r);
  box-shadow: var(--sf-shadow-lg);
}
.sf-shop-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 16px; height: 48px; border-radius: 12px; background: var(--sf-bg); border: 1px solid transparent; transition: border-color .15s, box-shadow .15s, background .15s; cursor: text; min-width: 0; }
.sf-shop-search:focus-within { background: #fff; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12); }
.sf-shop-search i { color: var(--sf-muted); font-size: 15px; }
.sf-shop-search input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--sf-ink); height: 100%; }
.sf-shop-search input::-webkit-search-cancel-button { cursor: pointer; }
.sf-shop-tools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sf-shop-chip { position: relative; margin: 0; cursor: pointer; }
.sf-shop-chip input { position: absolute; opacity: 0; pointer-events: none; }
.sf-shop-chip span { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--sf-line); font-size: 14px; font-weight: 600; color: var(--sf-ink); background: #fff; white-space: nowrap; transition: all .15s; }
.sf-shop-chip span i { font-size: 11px; opacity: 0; width: 0; transition: all .15s; }
.sf-shop-chip:hover span { border-color: var(--color-primary); }
.sf-shop-chip input:checked + span { background: var(--sf-primary-soft); border-color: var(--color-primary); color: var(--color-primary); }
.sf-shop-chip input:checked + span i { opacity: 1; width: 11px; }
.sf-shop-chip input:focus-visible + span { outline: 2px solid var(--color-primary); outline-offset: 2px; }
body.sf .sf-shop-sort { height: 48px; width: auto; min-width: 178px; font-size: 14px; font-weight: 600; color: var(--sf-ink); cursor: pointer; }
body.sf .sf-shop-go { height: 48px; padding: 0 24px; border-radius: 12px; }
.sf-shop-section { padding-top: 36px; }
.sf-shop-section + .sf-shop-section { padding-top: 44px; }

/* Product cards */
.sf-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--sf-card);
  border: 1px solid var(--sf-line);
  border-radius: var(--sf-r);
  box-shadow: var(--sf-shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sf-pcard:hover { transform: translateY(-4px); box-shadow: var(--sf-shadow-lg); border-color: rgba(var(--color-primary-rgb), 0.35); }
.sf-pcard-media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--sf-bg), color-mix(in srgb, var(--color-primary) 6%, #fff)); overflow: hidden; }
.sf-pcard-img { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sf-pcard-img > i { font-size: 38px; color: color-mix(in srgb, var(--color-primary) 35%, #fff); }
.sf-pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--sf-card); transition: transform .5s ease; }
.sf-pcard:hover .sf-pcard-media img { transform: scale(1.05); }
.sf-pcard.is-soldout .sf-pcard-media img { filter: grayscale(.6); opacity: .7; }
.sf-pcard-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sf-ink);
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(20, 23, 42, 0.14);
  backdrop-filter: blur(6px);
  transition: transform .15s, color .15s;
}
.sf-pcard-wish:hover { transform: scale(1.08); color: #e11d48; }
.sf-pcard-wish.text-danger { color: #e11d48 !important; }
.sf-pcard .sf-badges { right: 56px; }
.sf-pcard-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 14px 16px 16px; }
body.sf .sf-pcard-title { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sf .sf-pcard-title a { color: var(--sf-ink); }
body.sf .sf-pcard-title a:hover { color: var(--color-primary); }
body.sf .sf-pcard-desc { font-size: 13px; line-height: 1.5; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-pcard-desc strong { color: var(--sf-ink); font-weight: 600; }
.sf-pcard-stock { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #15803d; margin-bottom: 4px; }
.sf-pcard-stock i { font-size: 11px; }
.sf-pcard-stock.is-low { color: #b45309; }
.sf-pcard-stock.is-out { color: var(--sf-muted); }
.sf-pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.sf-pcard-price { font-family: var(--font-heading); font-size: 18px; font-weight: 800; color: var(--sf-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sf-pcard-add {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(var(--color-primary-rgb), 0.25);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.sf-pcard-add:hover:not(:disabled) { background: var(--sf-primary-dark); transform: translateY(-1px); }
.sf-pcard-add:disabled { background: var(--sf-line); color: var(--sf-muted); box-shadow: none; cursor: not-allowed; }
.sf-pcard.is-package { border-color: color-mix(in srgb, var(--color-primary) 30%, var(--sf-line)); }

/* Vouchers pick up the tenant colours instead of a fixed purple */
body.sf .voucher-tier-card { background: linear-gradient(135deg, var(--sf-primary-dark), var(--color-primary) 60%, color-mix(in srgb, var(--color-primary) 55%, #fff)); border-radius: var(--sf-r); height: 100%; box-shadow: var(--sf-shadow); }
body.sf .voucher-tier-card:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
body.sf .voucher-tier-amount { font-family: var(--font-heading); font-size: clamp(22px, 2.6vw, 30px); overflow-wrap: anywhere; }

.sf-empty { text-align: center; padding: 56px 20px; background: var(--sf-card); border: 1px dashed var(--sf-line); border-radius: var(--sf-r); }
.sf-empty-icon { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; background: var(--sf-primary-soft); color: var(--color-primary); font-size: 24px; margin-bottom: 14px; }
body.sf .sf-empty h4 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.sf-empty p { margin: 0 auto 16px; max-width: 360px; }

body.sf .floating-cart { right: 24px; bottom: 24px; }
body.sf .floating-cart button { width: 58px; height: 58px; padding: 0; overflow: visible; border-radius: 18px; font-size: 20px; line-height: 1; background: var(--color-primary); box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.38); }
body.sf .floating-cart .cart-count {
  top: -7px;
  right: -7px;
  height: 22px;
  min-width: 22px;
  min-height: 0;
  padding: 0 6px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #e11d48;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(20, 23, 42, 0.25);
}

@media (max-width: 767.98px) {
  body.sf .sf-shop-hero { padding: 28px 0 68px; }
  .sf-shop-bar { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .sf-shop-search { flex-basis: 100%; height: 46px; }
  .sf-shop-tools { width: 100%; gap: 8px; }
  .sf-shop-chip span, body.sf .sf-shop-sort, body.sf .sf-shop-go { height: 42px; }
  body.sf .sf-shop-sort { flex: 1 1 auto; min-width: 0; }
  body.sf .sf-shop-go { padding: 0 16px; }
  .sf-shop-section { padding-top: 26px; }
  .sf-pcard-body { padding: 10px 11px 12px; }
  body.sf .sf-pcard-title { font-size: 14px; }
  body.sf .sf-pcard-desc { display: none; }
  .sf-pcard-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; }
  .sf-pcard-price { font-size: 16px; }
  .sf-pcard-add { justify-content: center; height: 36px; }
  .sf-pcard-wish { width: 34px; height: 34px; top: 8px; right: 8px; font-size: 14px; }
  .sf-pcard .sf-badges { left: 8px; top: 8px; right: 48px; }
  .sf-pcard .sf-badge { font-size: 11px; padding: 4px 9px; }
  body.sf .floating-cart { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sf-pcard, .sf-pcard-media img { transition: none; }
  .sf-pcard:hover { transform: none; }
  .sf-pcard:hover .sf-pcard-media img { transform: none; }
}
