@charset "UTF-8";
@font-face {
  font-family: 'Taptugo';
  src: url('https://taptugo.co.uk/fonts/taptugo-Regular.woff2') format('woff2');
/*src: url('https://taptugo.co.uk/fonts/taptugo-Regular.otf') format('opentype');*/
  font-weight: normal;
  font-display: swap; /* ← Add this */
}
@font-face {
  font-family: 'Taptugo';
  src: url('https://taptugo.co.uk/fonts/taptugo-Bold.woff2') format('woff2');
/*src: url('https://taptugo.co.uk/fonts/taptugo-Bold.otf') format('opentype');*/
  font-weight: bold;
  font-display: swap; /* ← Add this */
}
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  
  a {color: var(--purple);text-decoration:none;}

  :root {--purple: rgb(130, 56, 188);--purple-dark: #4A1D73;--purple-light: #8B4FC6;--purple-pale: #F3EAFA;--white: #FFFFFF;}
  html { scroll-behavior: smooth; }
  body {font-family: 'Taptugo', sans-serif;background: var(--white);color: var(--purple);min-height: 100vh;overflow-x: hidden;display: flex;flex-direction: column;}
 .page-wrapper {margin:0 20px;}
  /* ── RESPONSIVE ── */
  @media (min-width: 480px) {
.page-wrapper {flex: 1;display: flex;flex-direction: column;justify-content: center;}
  }

  /* ── HEADER ── */
  .header {padding: 0;max-width: 1100px;margin: 0 auto;position: relative;width: 100%;}
  
  /* ── HAMBURGER BUTTON (top-right) ── */
  .hamburger-btn {position: absolute;top: 0px;right: 0px;z-index: 200;background: none;border: none;cursor: pointer;padding: 8px;color: var(--purple);}
  .hamburger-btn svg .bar {transition: transform 0.3s, opacity 0.3s;transform-origin: center;}
  .hamburger-btn.active .bar1 {transform: translate(0, 12px) rotate(45deg);}
  .hamburger-btn.active .bar2 {opacity: 0;}
  .hamburger-btn.active .bar3 {transform: translate(0, -12px) rotate(-45deg);}
  /* ── BACK BUTTON (top-right) ── */  
  .back-btn {position: absolute;top: 0px;left: 0px;z-index: 199;background: none;border: none;cursor: pointer;padding: 8px;color: var(--purple);}

  /* ── MENU OVERLAY ── */
  .menu-overlay {position: fixed;inset: 0;background: rgba(255, 255, 255, 0.9);backdrop-filter: blur(0px);z-index: 300;opacity: 0;pointer-events: none;transition: opacity 0.35s ease;}
  .menu-overlay.active {opacity: 1;pointer-events: all;}

  /* ── SLIDE-IN MENU (from right) ── */
  .slide-menu {position: fixed;top: 0;right: 0px;z-index: 310;background: var(--white);padding: 72px 40px 36px 36px;transform: translateX(100%);transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);min-width: 260px;height:100%;}
  .slide-menu.active { transform: translateX(0);box-shadow: 0 10px 20px 20px rgba(0, 0, 0, 0.2); }
  .slide-menu .close-btn {position: absolute;top: 20px;right: 20px;background: none;border: none;font-size: 16px;color: var(--purple);cursor: pointer;font-weight: 500;display: flex;align-items: center;gap: 6px;letter-spacing: 0.5px;}
  .slide-menu .close-btn:hover { color: var(--purple-dark); }
  .slide-menu nav ul {list-style: none;display: flex;flex-direction: column;gap: 0;}
  .slide-menu nav a {display: block;padding: 18px 0;font-size: 20px;font-weight: 500;color: var(--purple);text-decoration: none;border-bottom: 1px solid var(--purple-pale);transition: padding-left 0.3s, color 0.3s;}
  .slide-menu nav a:hover {padding-left: 12px;color: var(--purple-dark);}
  .slide-menu nav li:last-child a { border-bottom: none; }

  /* ── MAIN CONTENT ── */
  .main {padding:0px;max-width: 1100px;margin: 0 auto;width:100%}

  /* HERO */
  .hero {text-align: center;margin-bottom: 15px;letter-spacing: -1px;}
  .hero h1 {font-size: clamp(24px, 4vw, 34px);font-weight: 500;color: var(--purple);line-height: 1;margin-bottom:8px}
  .hero h1 strong {font-weight: 800;}
  .hero h2 {font-size: clamp(16px, 3vw, 20px);font-weight: 500;color: var(--purple);}
  .hero a {text-decoration:none;color: var(--purple);}
  
  /* FOOTER */
  .footer {text-align: center;padding: 20px 28px 40px;font-size: 15px;color: var(--purple);}
  .footer p {margin-bottom:36px;font-size: clamp(18px, 3vw, 20px);font-weight: 500;}
  .footer strong {font-weight:800;}
  
/*****************************************************************/
/*                    ── Search Page ──                          */
/*****************************************************************/
/*****************************************************************/
/*              ── Shared Form Styles ──                         */
/*****************************************************************/

  /* Shared card wrapper — used by search, login, register, forgot-password etc */
  .auth-wrap {
    max-width: 480px;
    margin: 0 auto 28px;
    padding: 0;
    box-sizing: border-box;
  }
  .auth-card {
    background: var(--white);
    border-radius: 22px;
    padding: 32px 28px 28px;
    box-shadow: 0 10px 32px rgba(130,56,188,0.10);
    box-sizing: border-box;
    width: 100%;
  }
  .auth-card p {margin-bottom:15px;}
  @media (max-width: 480px) {
    .auth-wrap { padding: 0; max-width:400px;}
    .auth-card { border-radius: 0; box-shadow: none; padding: 24px 0 22px; }
  }

  /* Field labels */
  .lf-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--purple-light);
    display: block; margin-bottom: 7px;
  }
  /* Field wrapper */
  .lf-field { margin-bottom: 16px; position: relative; }

  /* Text / email / tel / url inputs */
  .lf-input {
    width: 100%; height: 46px;
    border: 1.5px solid rgba(130,56,188,0.5); border-radius: 12px;
    background: var(--white); font-size: 16px; color: var(--purple);
    padding: 0 14px; font-family: 'Taptugo', sans-serif;
    outline: none; transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
  }
  .lf-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(130,56,188,0.10); }
  .lf-input::placeholder { color: rgba(130,56,188,0.8); }
  .lf-input.input-error { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }

  /* Select */
  .lf-select {
    width: 100%; height: 46px;
    border: 1.5px solid rgba(130,56,188,0.5); border-radius: 12px;
    background: var(--white);
    font-size: 15px; font-weight: 400; color: var(--purple);
    padding: 0 36px 0 14px;
    font-family: 'Taptugo', sans-serif; outline: none;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238238BC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
  }
  .lf-select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(130,56,188,0.12); }

  /* Submit button */
  .lf-submit {
    width: 100%; height: 48px; background: var(--purple);
    color: var(--white); border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    font-family: 'Taptugo', sans-serif; margin-top: 8px;
    transition: background 0.2s, transform 0.1s;
  }
  .lf-submit:hover { background: var(--purple-dark); }
  .lf-submit:active { transform: scale(0.99); }

  /* Error / success banners */
  .lf-error {
    background: #fde8e8; border: 1.5px solid rgba(192,57,43,0.25);
    border-radius: 10px; padding: 10px 14px;
    font-size: 13px; font-weight: 600; color: #c0392b;
    margin-bottom: 16px;
  }
  .lf-success {
    background: var(--purple-pale); border: 1.5px solid rgba(130,56,188,0.2);
    border-radius: 10px; padding: 10px 14px;
    font-size: 13px; font-weight: 600; color: var(--purple);
    margin-bottom: 16px;
  }
  .lf-error-inline {
    font-size: 12px; font-weight: 700; color: #c0392b;
    margin-top: 6px; display: none;
  }

  /* Footer links below form */
  .lf-footer {
    text-align: center; margin-top: 20px;
    font-size: 14px; font-weight: 500; color: var(--purple);
  }
  .lf-footer a { color: var(--purple); font-weight: 700; text-decoration: underline; }
  .lf-footer a:hover { color: var(--purple-dark); }

  /* Location row with GPS button */
  .lf-location-row { display: flex; gap: 6px; align-items: center; }
  .lf-location-row .lf-input { flex: 1; min-width: 0; }
  .lf-gps-btn {
    flex-shrink: 0; width: 42px; height: 46px;
    border: 1.5px solid rgba(130,56,188,0.5); border-radius: 12px;
    background: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
  }
  .lf-gps-btn:hover { border-color: var(--purple); background: var(--purple-pale); }

  /* Location suggestions dropdown */
  .lf-suggestions {
    list-style: none; position: absolute; left: 0; right: 52px; top: 100%;
    background: var(--white); border: 1.5px solid rgba(130,56,188,0.2);
    border-radius: 12px; margin-top: 4px; padding: 4px 0;
    box-shadow: 0 8px 24px rgba(130,56,188,0.12);
    z-index: 100; max-height: 220px; overflow-y: auto;
    display: none;
  }
  .lf-suggestions:not(:empty) { display: block; }
  .lf-suggestions li { padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--purple); cursor: pointer; }
  .lf-suggestions li:hover { background: var(--purple-pale); }

  /* Radius pills */
  .lf-radius-row { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 4px; }
  .lf-rpill {
    padding: 8px 11px; border: 1.5px solid rgba(130,56,188,0.16);
    border-radius: 20px; font-size: 12px; font-weight: 700;
    cursor: pointer; background: var(--white); color: var(--purple);
    font-family: 'Taptugo', sans-serif; transition: all 0.12s; white-space: nowrap;
  }
  .lf-rpill:hover { border-color: var(--purple); }
  .lf-rpill.selected { background: var(--purple); color: var(--white); border-color: var(--purple); }

  /* Category toggle */
  .lf-cat-toggle {
    background: none; border: none; cursor: pointer;
    font-family: 'Taptugo', sans-serif; font-size: 13px; font-weight: 700;
    color: rgba(130,56,188); padding: 6px 0;
    display: inline-flex; align-items: center; gap: 5px;
    transition: color .15s; width: 100%; justify-content: center;
    margin-top: 14px;
  }
  .lf-cat-toggle:hover { color: var(--purple); }
  .lf-cat-toggle .chev { transition: transform .2s; font-size: 10px; }
  .lf-cat-toggle.open .chev { transform: rotate(180deg); }

  /* Category expandable panel */
  .lf-cat-panel {
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
  }
  .lf-cat-panel.open { max-height: 200px; opacity: 1; }
  .lf-cat-panel-inner { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }

  /* GPS spin animation */
  @keyframes gps-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/*****************************************************************/
/*                      Listing Page                             */
/*****************************************************************/

  /* ── MODAL ── */
  .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 500; display: none; align-items: center; justify-content: center; padding: 20px; }
  .modal-overlay.open { display: flex; }
  .modal-box { background: var(--white); border-radius: 16px; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 32px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
  .modal-box h2 { font-size: 1.3rem; margin-bottom: 16px; }
  .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; color: var(--purple); cursor: pointer; line-height: 1; padding: 4px; }
  .modal-close:hover { color: var(--purple-dark); }

  .hours-table { width: 100%; border-collapse: collapse; }
  .hours-table tr { border-bottom: 1px solid var(--purple-pale); }
  .hours-table tr:last-child { border-bottom: none; }
  .hours-table td { padding: 10px 0; font-size: 1rem; }
  .hours-table .day-name { font-weight: 700; width: 40%; }
  .hours-table .closed-label { opacity: 0.5; }

  .modal-description { font-size: 1rem; line-height: 1.7; white-space: pre-wrap; }

  /* ── CLAIM MODAL ── */
  .claim-intro { font-size: 14px; line-height: 1.6; color: #555; margin-bottom: 20px; }
  .claim-field { margin-bottom: 16px; }
  .claim-field label { display: block; font-size: 12px; font-weight: 700; color: #5C5070; margin-bottom: 6px; letter-spacing: 0.3px; }
  .claim-field input { width: 100%; padding: 10px 14px; border: 1px solid #E2DCED; border-radius: 8px; font-family: 'Sen', sans-serif; font-size: 14px; outline: none; transition: border-color .15s; }
  .claim-field input:focus { border-color: var(--purple); }
  .claim-btn { width: 100%; padding: 12px; border-radius: 50px; font-family: 'Sen', sans-serif; font-size: 15px; font-weight: 700; border: none; cursor: pointer; background: var(--purple); color: white; transition: background .15s; margin-top: 4px; }
  .claim-btn:hover { background: var(--purple-dark); }
  .claim-success { text-align: center; padding: 16px 0; }
  .claim-success .tick { font-size: 40px; margin-bottom: 12px; }
  .claim-success p { font-size: 14px; color: #555; line-height: 1.6; }
  .claim-error { background: #fee2e2; color: #dc2626; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 14px; }
  .claim-note { font-size: 12px; color: #9B8FAF; margin-top: 14px; line-height: 1.5; }

  /* ICON GRID */
  .icon-container.Instagram { background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7); }
  /*.icon-container.Facebook  { background: #3b5998; }*/
  .icon-container.LinkedIn  { background: #0072b1; }

  .icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin:30px auto 10px auto;
  }
  @media (min-width: 480px)  { .icon-grid { grid-template-columns: repeat(6, 1fr);max-width:600px; } }
  @media (min-width: 768px)  { .icon-grid { grid-template-columns: repeat(6, 1fr); } }
  @media (min-width: 1024px) { .icon-grid { grid-template-columns: repeat(10, 1fr);max-width:1200px} }
  @media (min-width: 1200px) { .icon-grid { grid-template-columns: repeat(10, 1fr); } }

  .icon-container {
    display: flex; justify-content: center; align-items: center;
    background: var(--white); aspect-ratio: 1 / 1; border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .icon-container:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.18); }
  .icon-container:active { box-shadow: -3px -3px 8px rgba(0,0,0,0.2); }
  .icon-container a { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; text-decoration: none; }
  .icon-container img, .icon-container svg { border-radius: 10px; aspect-ratio: 1/1; width: 100%; height: 100%; object-fit: cover; }
  .icon-large  { grid-column: span 2; grid-row: span 2; position: relative; }
  .icon-small  { grid-column: span 1; grid-row: span 1; }
  .icon-overlay { position: absolute; bottom: 10px; right: 10px; background-color: rgba(0,0,0,0.6); padding: 5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
  .icon-overlay svg { color: var(--white); width: 16px !important; height: 16px !important; border-radius: 0; aspect-ratio: auto; }
  .icon-container.instagram-bg { background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7); }

  /* Claim tile */
  .icon-container.claim-tile { background: var(--purple-pale); cursor: pointer; }
  .icon-container.claim-tile:hover { background: #ede1fa; }
  .claim-tile-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; padding: 8px; }
  .claim-tile-inner svg { width: 40%; height: 40%; }
  .claim-tile-label { font-size: 10px; font-weight: 700; color: var(--purple); text-align: center; line-height: 1.2; letter-spacing: 0.2px; }
  
/*****************************************************************/
/*                   ── Business Page ──                         */
/*****************************************************************/ 
 
   /* CTA */
  .cta-section {text-align: center;margin-bottom: 40px;}
  .cta-btn {display: inline-block;background: var(--purple);color: var(--white);text-decoration: none;padding: 18px 52px;border-radius: 50px;font-size: 18px;font-weight: 600;letter-spacing: 0.5px;transition: background 0.3s, transform 0.2s;}
  .cta-btn:hover {background: var(--purple-dark);transform: translateY(-2px);}
  


/*****************************************************************/
/*              ── Results Page – Scroller ──                    */
/*****************************************************************/

/* Scroller spans full viewport width */
.results-scroller-section {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Info bar – centred, max-width matches hero */
.results-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 0 clamp(16px, 4vw, 48px);
  font-size: 14px;
  color: var(--purple);
  opacity: 0.75;
}

/* Rail wrapper – outer shell just for arrow positioning */
.scroll-rail-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding:0 15px;
  box-sizing: border-box;
}

/* Arrow buttons – sit outside the track, desktop only */
.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white, #fff);
  border: 2px solid var(--purple);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.rail-arrow svg { width: 16px; height: 16px; flex-shrink: 0; display: block; }
.rail-arrow.left  { left: -20px; }
.rail-arrow.right { right: -20px; }
.rail-arrow:hover { background: var(--purple); color: var(--white, #fff); }
.rail-arrow.visible { opacity: 1; pointer-events: auto; }
.rail-arrow.faded   { opacity: 0.3 !important; pointer-events: none; }

@media (max-width: 700px) { .rail-arrow { display: none !important; } }

/* Scroll track – inner padding ensures first/last card never touch the edge */
.scroll-track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 2vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px clamp(16px, 3vw, 32px) 20px;
  cursor: grab;

}
.scroll-track:active { cursor: grabbing; }
.scroll-track::-webkit-scrollbar { display: none; }

/* Cards: fluid between 150px (mobile) and 280px (large desktop) */
.listing-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(150px, 22vw, 220px);
  background: var(--white, #fff);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.listing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(130,56,188,0.15); }

.listing-card-img { width: 100%; aspect-ratio: 1/1; overflow: hidden; display: block; position: relative; }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-card-img .default-logo { height: 100%; }
.default-logo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--purple-pale); }
.default-logo svg { width: clamp(40px, 8vw, 64px); height: clamp(40px, 8vw, 64px); opacity: 0.35; color: var(--purple); }
.listing-card-body { padding: clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px) 0; flex: 1; display: flex; flex-direction: column; }
/* .listing-card-body { padding: clamp(10px, 2vw, 16px); flex: 1; display: flex; flex-direction: column; }*/
.listing-card-body h4 { font-size: clamp(13px, 1.5vw, 16px); font-weight: 700; margin: 0 0 5px; color: var(--purple); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card-address { font-size: clamp(11px, 1.2vw, 13px); color: var(--purple); opacity: 1; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.listing-card-address svg { width: 10px; height: 10px; vertical-align: -1px; margin-right: 3px; }
.distance-badge { display: inline-block; font-size: 11px; background: var(--purple-pale); color: var(--purple); border-radius: 20px; padding: 2px 8px; margin-top: 5px; font-weight: 600; }
.listing-card-footer { padding: clamp(8px, 1.5vw, 12px) clamp(10px, 2vw, 16px) clamp(10px, 2vw, 16px); }
.listing-card-btn { display: block; width: 100%; text-align: center; background: var(--purple); color: var(--white, #fff); text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: clamp(12px, 1.2vw, 14px); font-weight: 600; transition: background 0.2s; box-sizing: border-box; }
.listing-card-btn:hover { background: var(--purple-dark); }

/* Load more card */
.load-more-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(110px, 14vw, 160px);
  min-height: 260px;
  border-radius: 14px;
  border: 2px dashed var(--purple);
  opacity: 0.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  background: transparent;
  color: var(--purple);
  font-family: inherit;
  padding: 16px;
  text-align: center;
}
.load-more-card:hover { opacity: 1; background: var(--purple-pale); }
.load-more-card svg { width: 32px; height: 32px; }
.load-more-card span { font-size: 13px; font-weight: 600; line-height: 1.3; }
.load-more-card.loading { opacity: 0.4; pointer-events: none; }

/* Empty state */
.results-empty { text-align: center; padding: 0px 15px; color: var(--purple); font-size: 16px; }
.results-empty a { color: var(--purple); font-weight: 600; }
/* ── Active rating badge ─────────────────────────────────────────────────── */
.rating-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}
.rating-badge__num {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.rating-badge__denom {
  font-size: 8px;
  color: rgba(255,255,255,0.85);
  line-height: 1;
  margin-top: 1px;
}
.rating-badge--red    { background: #dc2626; }
.rating-badge--amber  { background: #d97706; }
.rating-badge--green  { background: #16a34a; }
.rating-badge--teal   { background: #0d9488; }