    html { scrollbar-gutter: stable; }
    :root {
      --dc-bg: #f4f6fb;
      --dc-dark: #101828;
      --dc-muted: #667085;
      --dc-accent: #0acbf2;
      --dc-accent-dark: #089fbc;
      --dc-warm: #ff7a59;
      --dc-warm-dark: #e45d3b;
      --dc-surface: #ffffff;
      --dc-border: rgba(16, 24, 40, 0.08);
      --dc-shadow: 0 22px 48px rgba(16, 24, 40, 0.10);
      --dc-radius: 28px;
    }

    body {
      background: linear-gradient(180deg, #ffffff 0%, #f4f6fb 100%);
      color: var(--dc-dark);
    }

    .brand-accent {
      color: var(--dc-accent);
    }

    .btn-brand {
      background: var(--dc-accent);
      border-color: var(--dc-accent);
      color: #fff;
      box-shadow: 0 16px 34px rgba(10, 203, 242, 0.28);
    }

    .btn-brand:hover,
    .btn-brand:focus {
      background: var(--dc-accent-dark);
      border-color: var(--dc-accent-dark);
      color: #fff;
    }

    .btn-outline-brand {
      border-color: rgba(10, 203, 242, 0.34);
      color: var(--dc-accent-dark);
      background: #fff;
    }

    .btn-outline-brand:hover,
    .btn-outline-brand:focus {
      border-color: var(--dc-accent);
      background: var(--dc-accent);
      color: #fff;
    }

    .btn-warm {
      background: var(--dc-warm);
      border-color: var(--dc-warm);
      color: #fff;
      box-shadow: 0 16px 34px rgba(255, 122, 89, 0.28);
    }

    .btn-warm:hover,
    .btn-warm:focus {
      background: var(--dc-warm-dark);
      border-color: var(--dc-warm-dark);
      color: #fff;
    }

    .navbar-primary-menu {
      margin-left: 28px;
    }

    .navbar-primary-link {
      color: var(--dc-dark);
      text-decoration: none;
      padding: 10px 0;
      font-weight: 500;
    }

    .navbar-primary-link:hover,
    .navbar-primary-link:focus {
      color: var(--dc-dark);
      opacity: .75;
    }

    .navbar-primary-link.active {
      color: #0acbf2;
    }

    .hero-shell {
      position: relative;
      min-height: 560px;
      background:
        linear-gradient(180deg, rgba(16, 24, 40, 0.40), rgba(16, 24, 40, 0.56)),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80') center center / cover no-repeat;
      display: flex;
      align-items: center;
      padding: 96px 0 150px;
      color: #fff;
    }

    .hero-copy {
      max-width: 860px;
      text-align: center;
      margin: 0 auto;
    }

    .hero-copy h1 {
      font-size: clamp(2.35rem, 5vw, 4.5rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      margin-bottom: 14px;
      text-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    }

    .hero-copy p {
      font-size: clamp(1rem, 2vw, 1.22rem);
      color: rgba(255,255,255,.88);
      margin-bottom: 0;
      text-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    }

    .search-panel-wrap {
      margin-top: -82px;
      position: relative;
      z-index: 3;
    }

    .search-panel {
      background: rgba(255,255,255,.96);
      border-radius: 28px;
      border: 1px solid rgba(255,255,255,.32);
      box-shadow: 0 28px 62px rgba(16, 24, 40, 0.16);
      backdrop-filter: blur(14px);
      padding: 24px;
    }

    .search-panel-inner {
      max-width: 1160px;
      margin: 0 auto;
      text-align: center;
    }

    .search-panel-title {
      font-size: .84rem;
      font-weight: 800;
      color: var(--dc-warm-dark);
      text-transform: uppercase;
      letter-spacing: .09em;
      margin-bottom: 10px;
    }

    .search-tabs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 18px;
    }

    .search-tab-button,
    .search-tab-link {
      border: 0;
      background: transparent;
      color: rgba(16, 24, 40, 0.58);
      font-weight: 800;
      font-size: .98rem;
      padding: 12px 18px 16px;
      border-bottom: 3px solid transparent;
      text-decoration: none;
      transition: color .18s ease, border-color .18s ease, transform .18s ease;
    }

    .search-tab-button:hover,
    .search-tab-button:focus,
    .search-tab-link:hover,
    .search-tab-link:focus {
      color: var(--dc-dark);
      transform: translateY(-1px);
    }

    .search-tab-button.active {
      color: var(--dc-dark);
      border-bottom-color: var(--dc-accent);
    }

    .search-pane {
      display: none;
    }

    .search-pane.active {
      display: block;
    }

    .search-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 0;
      align-items: stretch;
      background: #fff;
      border: 1px solid rgba(16, 24, 40, 0.08);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 20px 44px rgba(16, 24, 40, 0.08);
    }

    .search-toolbar-field {
      position: relative;
      display: flex;
      align-items: center;
      min-height: 76px;
      background: transparent;
    }

    .search-toolbar .form-control,
    .search-toolbar .form-select {
      min-height: 76px;
      border: 0;
      border-radius: 0;
      padding-left: 24px;
      padding-right: 24px;
      box-shadow: none;
      background-color: transparent;
      color: var(--dc-dark);
      font-size: 1.05rem;
    }

    .search-toolbar .form-control::placeholder {
      color: rgba(16, 24, 40, 0.52);
    }

    .search-toolbar .form-control:focus,
    .search-toolbar .form-select:focus {
      box-shadow: none;
    }

    .search-toolbar .form-select {
      background-position: right 22px center;
      cursor: pointer;
    }

    .search-toolbar-action {
      min-width: 230px;
      border: 0;
      border-radius: 0;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
      font-size: 1rem;
    }

    @media (max-width: 991.98px) {
      .search-toolbar {
        grid-template-columns: 1fr;
      }

      .search-toolbar-action {
        min-width: 100%;
        min-height: 68px;
      }

      .navbar .btn {
        width: 100%;
      }

      .navbar-primary-menu {
        margin-left: 0;
      }
    }

    .section-block {
      padding: 64px 0;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 18px;
      flex-wrap: wrap;
      margin-bottom: 28px;
    }

    .section-kicker {
      color: var(--dc-warm-dark);
      text-transform: uppercase;
      letter-spacing: .09em;
      font-size: .78rem;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 800;
      margin-bottom: 8px;
      letter-spacing: -0.03em;
    }

    .section-subtitle {
      color: var(--dc-muted);
      margin-bottom: 0;
    }

    .meta-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 16px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--dc-border);
      color: var(--dc-muted);
      font-size: .92rem;
      font-weight: 600;
    }

    .business-grid-card,
    .coupon-card,
    .cta-card {
      border: 0;
      border-radius: var(--dc-radius);
      background: var(--dc-surface);
      box-shadow: var(--dc-shadow);
    }

    .business-grid-card {
      height: 100%;
      transition: transform .24s ease, box-shadow .24s ease;
      border: 1px solid rgba(16, 24, 40, 0.08);
      padding: 18px;
    }

    .business-grid-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 28px 60px rgba(16, 24, 40, 0.14);
    }

    .business-card-body {
      display: flex;
      flex-direction: column;
      gap: 18px;
      height: 100%;
    }

    .business-feed-head {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 14px;
      text-align: left;
    }

    .business-summary {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1 1 auto;
    }

    .business-summary-head {
      display: flex;
      align-items: center;
      gap: 14px;
      text-align: left;
    }

    .business-feed-avatar {
      width: 64px;
      height: 64px;
      border-radius: 999px;
      object-fit: cover;
      background: #fff;
      border: 2px solid rgba(16, 24, 40, 0.06);
      flex-shrink: 0;
    }

    .business-feed-subhead {
      color: var(--dc-dark);
      font-size: 1.02rem;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin: 0;
    }

    .business-feed-divider {
      margin: 0;
      border-color: rgba(16, 24, 40, 0.08);
      opacity: 1;
    }

    .business-name {
      font-size: 1.35rem;
      font-weight: 800;
      margin: 0;
      letter-spacing: -0.03em;
      line-height: 1.08;
    }

    .business-meta-line {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      color: var(--dc-muted);
      font-size: .95rem;
      margin-bottom: 10px;
    }

    .business-meta-dot {
      width: 4px;
      height: 4px;
      border-radius: 999px;
      background: rgba(16, 24, 40, 0.24);
      flex-shrink: 0;
    }

    .business-desc {
      color: var(--dc-dark);
      margin-bottom: 0;
      min-height: 72px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .business-address {
      color: var(--dc-muted);
      font-size: .95rem;
      margin: 10px 0 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .business-card-actions {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      margin-top: auto;
    }

    .coupon-card {
      overflow: hidden;
      height: 100%;
    }

    .coupon-card-image {
      width: 100%;
      height: 220px;
      object-fit: cover;
    }

    .coupon-card-body {
      padding: 22px;
    }

    .coupon-store {
      color: var(--dc-accent);
      font-weight: 700;
      font-size: .85rem;
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .coupon-title {
      font-size: 1.2rem;
      font-weight: 800;
      margin: 10px 0;
    }

    .coupon-desc {
      color: var(--dc-muted);
      min-height: 48px;
    }

    .coupon-meta,
    .coupon-actions {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .coupon-price {
      font-size: 1.25rem;
      font-weight: 800;
    }

    .coupon-remaining {
      color: var(--dc-muted);
      font-size: .92rem;
    }

    .discover-empty {
      display: none;
      padding: 42px 20px;
      text-align: center;
      background: #fff;
      border: 1px dashed rgba(16, 24, 40, 0.14);
      border-radius: 24px;
      color: var(--dc-muted);
    }

    .cta-card {
      padding: 30px;
      background:
        radial-gradient(circle at top right, rgba(10, 203, 242, 0.16), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
    }

    .coupon-modal-content {
      border-radius: 28px !important;
      overflow: hidden !important;
      background: #fff;
      min-height: 0;
      max-height: min(88vh, 760px);
    }

    .coupon-modal-dialog {
      width: min(920px, calc(100vw - 1.25rem));
      max-width: none;
      margin: .75rem auto;
    }

    .coupon-modal-layout {
      display: grid;
      grid-template-columns: 320px minmax(0, 1fr);
      align-items: stretch;
      min-height: 0;
      max-height: min(88vh, 760px);
      position: relative;
    }

    .coupon-modal-media {
      position: relative;
      background: #eef2f7;
      min-height: 100%;
      overflow: hidden;
    }

    .coupon-modal-image {
      width: 100%;
      height: 100%;
      min-height: 340px;
      object-fit: cover;
      display: block;
    }

    .coupon-modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      left: auto;
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #fff !important;
      border: 1px solid rgba(17,24,39,.10);
      border-radius: 999px;
      padding: 0;
      opacity: 1;
      box-shadow: 0 10px 24px rgba(17,24,39,.16);
      background-image: none;
      filter: none;
      z-index: 4;
    }

    .coupon-modal-close::before {
      content: '×';
      color: #111827;
      font-size: 1.55rem;
      line-height: 1;
      font-weight: 700;
    }

    .coupon-modal-badge {
      position: absolute;
      left: 18px;
      bottom: 18px;
      background: rgba(17,24,39,.88);
      color: #fff;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
    }

    .coupon-modal-store-link {
      position: absolute;
      left: 18px;
      bottom: 66px;
      z-index: 2;
      font-weight: 700;
      box-shadow: 0 10px 24px rgba(17,24,39,.14);
    }

    .coupon-modal-premium {
      position: absolute;
      top: 18px;
      left: 18px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .coupon-premium-chip {
      background: rgba(255,255,255,.92);
      color: #101828;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .05em;
      text-transform: uppercase;
      box-shadow: 0 10px 25px rgba(16, 24, 40, 0.12);
    }

    .coupon-premium-accent {
      background: linear-gradient(135deg, #ffe3db, #ffb19d);
      color: #9f3419;
    }

    .coupon-modal-body {
      padding: 32px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      background:
        radial-gradient(circle at top right, rgba(10, 203, 242, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f6fdff 100%);
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
    }

    .coupon-modal-kicker {
      color: #06687a;
      text-transform: uppercase;
      letter-spacing: .08em;
      font-size: .78rem;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .coupon-modal-title {
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 800;
      margin-bottom: 10px;
    }

    .coupon-modal-price {
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 14px;
      color: #111827;
    }

    .coupon-modal-description,
    .coupon-modal-expiry {
      color: var(--dc-muted);
    }

    .coupon-modal-description {
      margin-bottom: 12px;
    }

    .coupon-input {
      border-radius: 18px;
      min-height: 52px;
      padding-left: 16px;
      padding-right: 16px;
      border: 1px solid #e5e7eb;
      box-shadow: none;
    }

    .coupon-input:focus {
      border-color: rgba(10, 203, 242, 0.45);
      box-shadow: 0 0 0 4px rgba(10, 203, 242, 0.18);
    }

    .coupon-modal-cta-wrap {
      margin-top: 8px;
    }

    .coupon-modal-cta {
      background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-dark));
      box-shadow: 0 16px 30px rgba(10, 203, 242, 0.22);
      border: 0;
    }

    .coupon-modal-cta:hover,
    .coupon-modal-cta:focus {
      background: linear-gradient(135deg, var(--dc-accent-dark), #067f96);
    }

    .coupon-modal-note {
      text-align: center;
      color: var(--dc-muted);
      font-size: .9rem;
      margin-top: 12px;
    }

    .coupon-success-state {
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      background: linear-gradient(180deg, #f8feff 0%, #eefcff 100%);
      border: 1px solid rgba(10, 203, 242, 0.22);
      padding: 28px 22px;
      text-align: center;
      box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
    }

    .coupon-success-icon {
      width: 64px;
      height: 64px;
      margin: 0 auto 16px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-dark));
      color: #fff;
      font-size: 1.6rem;
      font-weight: 800;
      box-shadow: 0 16px 28px rgba(10, 203, 242, 0.22);
    }

    .coupon-success-code {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
      padding: 10px 18px;
      border-radius: 16px;
      background: #fff;
      border: 1px dashed rgba(17,24,39,.24);
      font-weight: 800;
      font-size: 1.1rem;
      letter-spacing: .08em;
      color: #111827;
    }

    .coupon-confetti-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
    }

    #couponRedeemForm {
      display: flex;
      flex-direction: column;
      flex: 1 1 auto;
    }

    body.modal-open {
      padding-right: 0 !important;
    }

    body.modal-open .navbar,
    body.modal-open .sticky-top {
      padding-right: 0 !important;
      margin-right: 0 !important;
    }

    #couponRedeemModal {
      padding-right: 0 !important;
    }

    @media (max-width: 991.98px) {
      .hero-shell {
        min-height: 500px;
        padding: 84px 0 120px;
      }

      .search-panel-wrap {
        margin-top: -64px;
      }

      .navbar .btn {
        width: 100%;
      }

      .coupon-modal-layout {
        grid-template-columns: 1fr;
        max-height: none;
      }

      .coupon-modal-image {
        min-height: 220px;
        max-height: 240px;
      }

      .coupon-modal-body {
        padding: 24px;
        min-height: auto;
      }
    }

    @media (max-width: 575.98px) {
      .hero-shell {
        min-height: 430px;
        padding: 72px 0 104px;
      }

      .search-panel {
        padding: 18px;
      }

      .business-name {
        font-size: 1.2rem;
      }

      .coupon-modal-dialog {
        margin: .5rem;
        width: calc(100vw - 1rem);
      }

      .coupon-modal-body {
        padding: 18px;
      }

      .coupon-modal-title {
        font-size: 1.35rem;
      }

      .coupon-modal-premium {
        top: 14px;
        left: 14px;
        right: 64px;
      }
    }
