/* ===========================================================================
   SERVICE DETAIL — Service provider listing page styles
   Petz.gr

   Scoped under .pet-service-page — does NOT affect adoption or lost/found.
   Blue accent palette for professional business directory aesthetic.
   =========================================================================== */

/* ── Service Accent Palette ─────────────────────────────── */

.pet-service-page {
  --svc-primary: #2196f3;
  --svc-primary-hover: #1976d2;
  --svc-primary-dark: #1565c0;
  --svc-primary-light: #e3f2fd;
  --svc-primary-rgb: 33, 150, 243;
  --svc-accent: #1e88e5;
  --svc-text-on-primary: #fff;
  --svc-gradient: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
}

/* ── Service CTA Button (blue variant of petz-primary-btn) ── */

.petz-service-btn {
  background: var(--svc-primary, #2196f3) !important;
  border-color: var(--svc-primary, #2196f3) !important;
  color: #fff !important;
}

.petz-service-btn:hover,
.petz-service-btn:focus {
  background: var(--svc-primary-hover, #1976d2) !important;
  border-color: var(--svc-primary-hover, #1976d2) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════════════════
   SERVICE HERO — Airbnb / Premium Business Page Style
   ══════════════════════════════════════════════════════════ */

.svc-hero {
  margin-bottom: 24px;
}

/* ── Service Identity Header (Airbnb Style) ──────────────────── */

.svc-identity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.svc-identity-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.svc-identity-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a4a4a;
}

.svc-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--petz-bg-white, #fff);
  border: 1px solid var(--petz-border, #e8e4e0);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petz-text-dark, #2d3436);
  white-space: nowrap;
}

.svc-hero-pill svg, .svc-hero-pill i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--svc-primary, #2196f3);
}

.svc-hero-pill a {
  color: inherit;
  text-decoration: none;
}
.svc-hero-pill a:hover {
  text-decoration: underline;
}

.svc-meta-experience-distinct {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
    font-weight: 700;
}
.svc-meta-experience-distinct svg {
    color: #64748b;
}

/* Header Actions */
.svc-identity-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.svc-header-action-group button {
  background: #fff;
  border: 1px solid var(--petz-border, #e8e4e0);
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.svc-header-action-group button:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.svc-header-action-group button.is-saved {
  color: #ef4444;
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.svc-header-action-group button svg {
  width: 18px;
  height: 18px;
}

.svc-hero-hours-status {
  background: #fff;
  border: 1px solid var(--petz-border, #e8e4e0);
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
}
.svc-hero-hours-status.is-open {
  color: #166534;
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}
.svc-hero-hours-status.is-open .svc-hours-dot { background-color: #22c55e; }
.svc-hero-hours-status.is-closed {
  color: #991b1b;
  background-color: #fef2f2;
  border-color: #fecaca;
}
.svc-hero-hours-status.is-closed .svc-hours-dot { background-color: #ef4444; }

/* Emergency badge — blue override (matches card pill) */
.svc-hero-hours-status.svc-emergency-badge {
  color: #1e40af;
  background-color: #dbeafe;
  border-color: #93c5fd;
}
.svc-hero-hours-status.svc-emergency-badge svg {
  color: #2563eb;
}


/* ── Photo Grid (Airbnb Style) ───────────────────────────── */

.svc-hero-grid {
  display: none; /* Hidden on mobile — Swiper gallery used instead */
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  height: 480px; /* Fixed height to prevent image cropping issues */
  position: relative;
}

/* Show Airbnb grid on desktop (≥992px) — must use display:grid, NOT block */
@media (min-width: 992px) {
  .svc-hero-grid {
    display: grid !important;
  }

  /* Service page ROW 1: CSS Grid for sticky card (keeps Bootstrap gutters) */
  .pet-service-page .petz-content-row:not(.petz-row-2) {
    display: grid !important;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto 1fr;
  }
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-description,
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-catalog,
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-contact {
    max-width: 100% !important;
    flex: none !important;
    min-width: 0;
  }
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-description { grid-column: 1; grid-row: 1; }
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-catalog     { grid-column: 1; grid-row: 2; }
  .pet-service-page .petz-content-row:not(.petz-row-2) > .svc-mobile-contact     { grid-column: 2; grid-row: 1 / -1; }
}

.svc-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.svc-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center;
}

.svc-hero-img:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

/* 0 Images */
.svc-hero-grid--0 {
  height: 160px;
}

/* 1 Image */
.svc-hero-grid--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.svc-hero-grid--1 .svc-hero-img:nth-child(1) { grid-column: 1 / -1; grid-row: 1 / -1; }

/* 2 Images (50/50) */
.svc-hero-grid--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.svc-hero-grid--2 .svc-hero-img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / -1; }
.svc-hero-grid--2 .svc-hero-img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / -1; }

/* 3 Images (50% left, 2 stacked right) */
.svc-hero-grid--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.svc-hero-grid--3 .svc-hero-img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.svc-hero-grid--3 .svc-hero-img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.svc-hero-grid--3 .svc-hero-img:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }

/* 4 Images (50% left, 1 wide top-right, 2 stacked bottom-right) */
.svc-hero-grid--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.svc-hero-grid--4 .svc-hero-img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.svc-hero-grid--4 .svc-hero-img:nth-child(2) { grid-column: 2 / 4; grid-row: 1 / 2; }
.svc-hero-grid--4 .svc-hero-img:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
.svc-hero-grid--4 .svc-hero-img:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }

/* 5 Images (50% left, 4 in a 2x2 grid right) */
.svc-hero-grid--5 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.svc-hero-grid--5 .svc-hero-img:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }
.svc-hero-grid--5 .svc-hero-img:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.svc-hero-grid--5 .svc-hero-img:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.svc-hero-grid--5 .svc-hero-img:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }
.svc-hero-grid--5 .svc-hero-img:nth-child(5) { grid-column: 3 / 4; grid-row: 2 / 3; }

.svc-hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
  color: #627d98;
  padding: 40px;
  gap: 12px;
  font-weight: 500;
  height: 160px;
}
.svc-hero-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.5;
}

.svc-hero-see-all {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  color: #1a1a1a;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 10;
  transition: all 0.2s ease;
}

.svc-hero-img:hover .svc-hero-see-all {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.svc-hero-see-all svg {
  width: 18px;
  height: 18px;
}

/* Edit button inside hero */
.svc-hero-edit {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--petz-text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.svc-hero-edit:hover {
  background: #fff;
  color: var(--svc-primary);
  text-decoration: none;
}

/* Mobile: Swiper gallery container inherits styles from petz-gallery.css */
.svc-mobile-gallery {
  margin-left: -12px;
  margin-right: -12px;
}

/* ── Sticky Contact Card (Right Column) ──────────────────── */

.svc-sticky-contact-card {
  position: sticky;
  top: 15px; /* reduced from 100px per user feedback */
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 24px 12px 24px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.svc-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.svc-card-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.svc-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card-vendor-info {
  display: flex;
  flex-direction: column;
}

.svc-card-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 2px;
}

.svc-card-username {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a1a;
  text-decoration: none;
}

.svc-card-hours-status {
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-card-hours-status.is-open {
  background: #f0fdf4;
  color: #166534;
}
.svc-card-hours-status.is-open .svc-hours-dot {
  background: #22c55e;
}

.svc-card-hours-status.is-closed {
  background: #fef2f2;
  color: #991b1b;
}
.svc-card-hours-status.is-closed .svc-hours-dot {
  background: #ef4444;
}

.svc-hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

/* Pulsing animation for "Open Now" dot */
.is-open .svc-hours-dot {
  animation: svc-dot-pulse 2s ease-in-out infinite;
}

@keyframes svc-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50%      { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.svc-hours-hint {
  color: #64748b;
  font-size: 0.85rem;
  margin-left: auto;
}

.svc-card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-action-phone-lg,
.svc-action-message-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.svc-action-phone-lg {
  background: var(--svc-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.svc-action-phone-lg:hover {
  background: var(--svc-primary-hover);
  transform: translateY(-2px);
}

.svc-action-phone-lg.revealed {
  background: #f1f8ff;
  color: var(--svc-primary-dark);
  box-shadow: inset 0 0 0 2px var(--svc-primary-light);
}

.svc-action-phone-lg svg,
.svc-action-message-lg svg {
  width: 20px;
  height: 20px;
}

.svc-action-message-lg {
  background: #fff;
  color: var(--petz-primary, #5cb85c);
  border: 2px solid var(--petz-primary, #5cb85c);
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.svc-action-message-lg:hover {
  background: var(--petz-primary, #5cb85c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
}

.svc-action-save-btn--card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.svc-action-save-btn--card:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.svc-action-save-btn--card.is-saved {
  color: #ef4444;
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.svc-action-save-btn--card svg {
  width: 18px;
  height: 18px;
}

.svc-card-disclaimer {
  font-size: 0.75rem;
  text-align: center;
  color: #94a3b8;
  margin: 8px 0 0;
}

/* Share buttons section in contact card */
.svc-card-share {
  margin-top: 8px;
}

.svc-share-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-align: center;
}

/* Copy Link button — neutral gray, matching email style */
.product-share button[aria-label="share-copy"],
button[aria-label="share-copy"] {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
  color: #fff !important;
}
.product-share button[aria-label="share-copy"]:hover,
button[aria-label="share-copy"]:hover {
  background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
}

/* Copy success state — green flash */
.product-share button[aria-label="share-copy"].copy-success,
button[aria-label="share-copy"].copy-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  transition: background 0.3s ease;
}


.svc-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--svc-primary-light);
  color: var(--svc-primary-dark);
  white-space: nowrap;
}

.svc-type-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Verified subtype pill — SVG should match text color */
.svc-meta-type svg, .svc-meta-type i {
  color: inherit !important;
}

/* ── Logistics Card Custom Fields ────────────────────────── */

.svc-card-logistics {
  padding-top: 24px;
}

/* Report link at bottom of contact card */
.svc-card-report {
  text-align: center;
  padding: 10px 0 0px;
  border-top: 1px solid var(--petz-border, #eee);
  margin-top: 12px;
}

/* Appointment-only badge (matches profile page) */
.svc-appointment-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.6rem 1.5rem;
  background: #fffaf0;
  border-top: 1px solid #f0f0f0;
  color: #e65100;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Logistics icon alignment */
.svc-card-logistics ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.svc-card-logistics li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}
.svc-card-logistics li:last-child {
  border-bottom: none;
}
.svc-card-logistics .svc-logistics-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0faf0;
}
.svc-card-logistics .svc-logistics-icon svg {
  width: 18px;
  height: 18px;
}
.svc-card-logistics .svc-logistics-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svc-card-logistics .svc-logistics-label {
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.svc-card-logistics .svc-logistics-value {
  font-size: 0.92rem;
  color: #333;
  font-weight: 600;
}
.svc-card-report a {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.svc-card-report a:hover {
  color: #d32f2f;
}

.svc-logistics-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, var(--mds-color-main, #43a047) 0%, transparent 100%) 1;
}

/* Location card — standalone white card, flush against map below */
.svc-card-location {
  background: #fff;
  padding: 20px 22px 12px;
  margin: 0;
  border-top: none;
}

/* ── Location + Map Wrapper ──────────────────────────────── */

.svc-location-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  background: #fff;
}

.svc-location-wrapper .svc-card-location {
  border-radius: 0;
}

.svc-location-wrapper .svc-map-card {
  border: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
}

/* ── Map Card (standalone fallback) ──────────────────────── */

.svc-map-card {
  overflow: hidden;
  border: 1px solid var(--petz-border);
  margin-bottom: 20px;
}

.svc-logistics-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-logistics-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
}
.svc-logistics-list li:last-child {
  border-bottom: none;
}

/* Old class fallbacks (location section still uses these) */
.svc-lf-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  white-space: nowrap;
}

.svc-lf-name .pet-icon-svg {
  width: 32px !important;
  height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #f0faf0;
  padding: 5px;
}
.svc-lf-name .pet-icon-svg svg {
  width: 18px;
  height: 18px;
}

.svc-lf-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #333;
}

/* Comma separated pill tags */
.svc-lf-tags, .svc-q-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.svc-lf-tag {
  display: inline-flex;
  padding: 4px 10px;
  background: #f1f5f9;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #475569;
}

.svc-q-tag {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--petz-bg-page);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--svc-primary-dark);
  border: 1px solid var(--petz-border);
}

/* ── Profile & Qualifications List (Center Column) ───────── */

.svc-qualifications-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}


.svc-q-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--petz-border);
}

/* Last row: remove border and padding. Handles 2-col grids of any size. */
.svc-q-row:last-child,
.svc-q-row:nth-last-child(2) {
  border-bottom: none;
  padding-bottom: 0;
}

/* For odd-count gr
ids (3 or 5 items), only the very last item loses border */
.svc-q-row:nth-last-child(2):nth-child(odd) {
  border-bottom: 1px solid var(--petz-border);
  padding-bottom: 24px;
}

.svc-q-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-q-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--svc-primary);
  background: var(--svc-primary-light);
  border-radius: 6px;
}

.svc-q-icon svg {
  width: 16px;
  height: 16px;
}

.svc-q-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.svc-q-values {
  padding-left: 40px; /* Align with text, skipping icon */
}

.svc-q-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.svc-q-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-q-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
}

.svc-q-bullet-list li > svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #43a047;
}

.svc-q-check {
  width: 18px;
  height: 18px;
  color: var(--petz-primary);
  flex-shrink: 0;
}

/* ── Obsolete Quick Info Bar ─────────────────────────────── */

.svc-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--petz-border);
}

.svc-quick-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 24px;
  background: var(--petz-bg-white);
  border: 1px solid #e0e0e0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--petz-text-dark);
  transition: all 0.2s ease;
}

.svc-quick-info-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--svc-primary);
}

.svc-quick-info-pill--active {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: #2e7d32;
}

.svc-quick-info-pill--closed {
  background: #fbe9e7;
  border-color: #ef9a9a;
  color: #c62828;
}

.svc-quick-info-pill--rating {
  background: #fff8e1;
  border-color: #ffe082;
  color: #f57f17;
  font-weight: 600;
}

.svc-quick-info-pill--rating svg {
  color: #f9a825;
}



/* ── Price List / Service Catalog ────────────────────────── */

.svc-catalog {
  position: relative;
  border-radius: var(--petz-radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--petz-border);
}

/* Background image with white overlay (flyer style) */
.svc-catalog-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  transform: scale(1.1); /* Prevent blur edges */
}

.svc-catalog-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}

.svc-catalog-inner {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
}

/* Category header */
.svc-catalog-category {
  color: var(--petz-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 14px 0 6px;
  margin-top: 10px;
  border-bottom: 2px solid var(--petz-primary);
}

.svc-catalog-category:first-child {
  margin-top: 0;
  padding-top: 0;
}

/* Service row */
.svc-catalog-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  color: #1a1a1a;
}

.svc-catalog-item:last-child {
  border-bottom: none;
}

.svc-catalog-service {
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
  color: #2c2c2c;
}

.svc-catalog-note {
  font-size: 0.78rem;
  color: #6c757d;
  margin-left: 8px;
  font-style: italic;
}

.svc-catalog-dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.18);
  margin: 0 10px;
  position: relative;
  top: -4px;
}

.svc-catalog-price {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

/* Vendor branding footer */
.svc-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  color: #6c757d;
}

.svc-catalog-footer img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.svc-catalog-footer .svc-catalog-footer-name {
  font-weight: 600;
  color: #2c2c2c;
}

/* ── FAQ Section ─────────────────────────────────────────── */

.svc-faq {
  margin-bottom: 24px;
}

.svc-faq-item {
  border: 1px solid var(--petz-border);
  border-radius: var(--petz-radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.svc-faq-item:hover {
  border-color: var(--svc-primary);
}

.svc-faq-question {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--petz-bg-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--petz-text-dark);
  user-select: none;
}

.svc-faq-question:hover {
  background: var(--svc-primary-light);
}

.svc-faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--svc-primary);
  transition: transform 0.25s ease;
}

.svc-faq-item.active .svc-faq-question svg {
  transform: rotate(180deg);
}

.svc-faq-answer {
  padding: 0 16px 0 44px; /* 16px + 18px chevron + 10px gap = align under question text */
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  font-size: 0.9rem;
  color: var(--petz-text-medium);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.svc-faq-item.active .svc-faq-answer {
  padding: 12px 16px 16px 44px;
  max-height: 500px;
  border-top-color: var(--petz-border);
}

.svc-faq-item.active {
  border-color: var(--svc-primary);
  background: #f8fafb;
}

/* ── Business Hours (reuse profile pattern) ──────────────── */

.svc-hours-card {
  margin-bottom: 20px;
}

.svc-hours-table {
  width: 100%;
  font-size: 0.88rem;
}

.svc-hours-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.svc-hours-table tr:last-child {
  border-bottom: none;
}

.svc-hours-table td {
  padding: 8px 4px;
}

.svc-hours-table .svc-hours-day {
  font-weight: 600;
  color: var(--petz-text-dark);
  width: 40%;
}

.svc-hours-table .svc-hours-time {
  color: var(--petz-text-medium);
  text-align: right;
}

.svc-hours-table .svc-hours-today {
  color: var(--svc-primary);
  font-weight: 600;
}

.svc-hours-table .svc-hours-closed {
  color: #c62828;
  font-style: italic;
}

/* ── Certifications Tag Pills ────────────────────────────── */

.svc-certs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.svc-cert-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--svc-primary-light);
  border: 1px solid rgba(var(--svc-primary-rgb), 0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--svc-primary-dark);
}

.svc-cert-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Service Tags (custom field values as pills) ─────────── */

.svc-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.svc-service-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--petz-text-dark);
  transition: all 0.2s ease;
}

.svc-service-tag:hover {
  background: var(--svc-primary-light);
  border-color: rgba(var(--svc-primary-rgb), 0.3);
  color: var(--svc-primary-dark);
}

/* ── Reviews Section (on service listing pages) ──────────── */

.svc-reviews-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.svc-reviews-section .review-total {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.svc-reviews-section .label-review {
  font-size: 1rem;
  font-weight: 600;
  color: var(--petz-text-dark);
}

.svc-reviews-section .btn-custom {
  border-radius: 8px;
  font-size: 0.85rem;
}


.svc-map-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.svc-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  margin-top: -5px;
  background: var(--petz-bg-white);
  border-top: 1px solid var(--petz-border);
  border-radius: 0 0 12px 12px;
  color: var(--svc-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.svc-map-link:hover {
  background: var(--svc-primary-light);
  text-decoration: none;
  color: var(--svc-primary-dark);
}

.svc-map-link svg {
  width: 16px;
  height: 16px;
}

/* ── Service Card (listing grid variant) ─────────────────── */

.petz-service-card {
  border-top: 3px solid var(--svc-primary, #2196f3);
}

.petz-service-card .petz-card-details {
  display: none; /* Hide pet attributes section */
}

.svc-card-type-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 5;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(33, 150, 243, 0.9);
  color: #fff;
  backdrop-filter: blur(4px);
}

.petz-service-card .petz-card-location {
  font-weight: 600;
}

/* ── Gallery Auto-slide for Services ─────────────────────── */



/* ── Verified Service Badge (sidebar) ────────────────────── */

.pet-service-page .verified-badge {
  color: var(--svc-primary);
}
