/* ================================================================
   Mandi365 responsive system
   Optimised for large screens, tablets and 320–430px phones
   ================================================================ */

@media (max-width: 1399.98px) {
  :root {
    --container: 1220px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  }

  .marketplace-visual {
    width: 625px;
    transform: scale(0.94) translateX(28px);
    transform-origin: center;
  }

  .filter-grid {
    grid-template-columns: 1.45fr 1fr 0.8fr 0.82fr 0.78fr 0.9fr auto;
  }

  .filter-submit {
    padding-inline: 13px;
  }

  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1199.98px) {

  :root {
    --header-height: 108px;
  }

  .hero {
    min-height: 920px;
    padding-top: 145px;
  }

  .hero-copy {
    flex: 0 0 49%;
    max-width: 49%;
  }

  .hero-visual-column {
    flex: 0 0 51%;
    max-width: 51%;
  }

  .hero-title {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  }

  .marketplace-visual {
    width: 590px;
    margin-left: -12px;
    transform: scale(0.88) translateX(20px);
  }

  .hero-actions .btn {
    padding-inline: 1rem;
  }

  .hero-text-link {
    flex-basis: 100%;
    width: fit-content;
    margin-top: 2px;
  }

  .hero-trust {
    gap: 13px;
  }

  .hero-trust li {
    font-size: .8125rem;
  }

  .hero-trust li:not(:last-child)::after {
    right: -7px;
  }

  .hero-stat {
    padding: 18px 20px;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .store-results {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-results.list-view {
    grid-template-columns: 1fr;
  }

  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card {
    min-height: 430px;
  }

  .partner-shell {
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1.3fr repeat(3, 0.8fr);
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    max-width: 500px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --header-height: 80px;
  }

  html {
    scroll-padding-top: 78px;
  }

  .top-strip {
    display: none;
  }

  .navbar {
    min-height: 78px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
  }

  .hero {
    min-height: auto;
    padding: 132px 0 135px;
  }

  .hero-row {
    min-height: auto;
  }

  .hero-copy,
  .hero-visual-column {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-copy {
    max-width: 700px;
    margin: 0 auto;
    padding-right: 0;
    text-align: center;
  }

  .hero-eyebrow {
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
  }

  .hero-title .highlight {
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-text-link {
    flex-basis: auto;
  }

  .hero-trust {
    justify-content: center;
  }

  .social-proof {
    justify-content: center;
  }

  .hero-visual-column {
    margin-top: 22px;
  }

  .marketplace-visual {
    width: 690px;
    height: 610px;
    margin: 0 auto;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .hero-stats {
    bottom: -80px;
  }

  .hero-stat {
    min-height: 96px;
    padding: 16px;
  }

  .hero-stat-icon {
    width: 39px;
    height: 39px;
  }

  .hero-stat strong {
    font-size: 1.25rem;
  }

  .hero-demo-note {
    bottom: -108px;
  }

  .about-section {
    padding-top: 170px;
  }

  .network-dashboard {
    max-width: 680px;
    margin: 0 auto;
  }

  .about-section .section-heading {
    max-width: 760px;
  }

  .process-track {
    gap: 12px;
  }

  .process-tab-content {
    padding: 26px 20px 0;
  }

  .process-cta {
    margin: 0 -20px;
    padding: 16px 20px;
  }

  .step-number {
    right: 4px;
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .store-heading-wrap {
    align-items: start;
  }

  .mobile-filter-trigger+.popular-filters {
    margin-top: 0;
  }

  .comparison-accordion {
    max-width: 760px;
    margin-inline: auto;
  }

  .benefit-layout {
    grid-template-columns: 1fr;
  }

  .savings-calculator {
    max-width: 760px;
  }

  .partner-shell {
    grid-template-columns: 1fr;
  }

  .partner-content {
    max-width: 760px;
  }

  .partner-form-card {
    max-width: 800px;
  }

  .faq-intro {
    position: static;
    max-width: 720px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-info address {
    max-width: 650px;
  }

  .contact-form-card {
    margin: 0;
    border-radius: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .developer-credit {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 67px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading-center {
    margin-bottom: 38px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .hero {
    padding: 116px 0 145px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 7vw, 2.75rem);
    line-height: 1.1;
  }

  .hero-description {
    max-width: 590px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    max-width: 430px;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-text-link {
    justify-self: center;
  }

  .hero-trust {
    gap: 10px 16px;
  }

  .hero-trust li:nth-child(2)::after {
    display: none;
  }

  .marketplace-visual {
    width: 660px;
    height: 570px;
    margin-left: 50%;
    transform: translateX(-50%) scale(0.82);
    transform-origin: top center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    bottom: -170px;
    border-radius: 18px;
  }

  .hero-stat {
    min-height: 82px;
    padding: 13px 16px;
  }

  .hero-stat:nth-child(2)::after {
    display: none;
  }

  .hero-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .hero-stat::after {
    top: 15px !important;
    bottom: 15px !important;
  }

  .hero-stat small {
    display: none;
  }

  .hero-stat strong {
    font-size: 1.12rem;
  }

  .hero-demo-note {
    bottom: -204px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
  }

  .about-section {
    padding-top: 250px;
  }

  .dashboard-map {
    height: 320px;
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .value-item {
    padding-block: 14px;
  }

  .process-tabs {
    width: 100%;
  }

  .process-tabs .nav-item {
    flex: 1;
  }

  .process-tabs .nav-link {
    width: 100%;
    justify-content: center;
    padding-inline: 10px;
  }

  .process-tab-content {
    padding: 24px 20px 0;
  }

  .process-track {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .process-track::before {
    top: 35px;
    bottom: 35px;
    left: 42px;
    width: 1px;
    height: auto;
    background-image: linear-gradient(var(--border-strong) 50%, transparent 50%);
    background-size: 1px 10px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 15px;
    min-height: 98px;
    padding: 5px 0 19px;
    text-align: left;
  }

  .step-icon {
    width: 58px;
    height: 58px;
    grid-row: 1 / 3;
    margin: 0;
    border-width: 5px;
    border-radius: 18px;
    font-size: 1.1rem;
  }

  .step-number {
    top: 9px;
    left: 42px;
    right: auto;
    font-size: 1.45rem;
  }

  .process-step h3 {
    align-self: end;
    margin-bottom: 3px;
  }

  .process-step p {
    align-self: start;
  }

  .process-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .category-grid {
    display: flex;
    overflow-x: auto;
    margin-right: -12px;
    margin-left: -12px;
    padding: 4px 12px 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-card {
    min-width: 155px;
    scroll-snap-align: start;
  }

  .store-heading-wrap {
    flex-direction: column;
  }

  .store-results {
    grid-template-columns: 1fr;
  }

  .store-results.list-view {
    grid-template-columns: 1fr;
  }

  .store-results.list-view .store-card {
    display: flex;
  }

  .store-results.list-view .store-card-visual {
    height: 112px;
    min-height: auto;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-controls {
    width: 100%;
    justify-content: space-between;
  }

  .results-controls .form-select {
    flex: 1;
    max-width: 230px;
  }

  .popular-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -12px;
    padding-right: 12px;
    scrollbar-width: none;
  }

  .popular-filters::-webkit-scrollbar {
    display: none;
  }

  .popular-filters>span,
  .filter-chip {
    flex: 0 0 auto;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }

  .plan-card {
    min-height: 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .partner-content h2 {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .partner-benefits {
    grid-template-columns: 1fr;
  }

  .partner-metrics {
    grid-template-columns: 1fr;
  }

  .partner-metrics>div {
    min-height: 64px;
  }

  .testimonial-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-controls {
    display: none;
  }

  .contact-info address {
    grid-template-columns: 1fr;
  }

  .contact-actions .btn {
    flex: 1;
  }

  .map-copy {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .map-copy .btn {
    width: 100%;
    margin-left: 0;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }

  .footer-contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .floating-actions {
    right: 15px;
    bottom: 82px;
  }

  .floating-whatsapp {
    width: 46px;
    height: 46px;
    min-height: 46px;
    justify-content: center;
    padding: 0;
  }

  .floating-whatsapp span {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1025;
    display: grid;
    height: 67px;
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -10px 30px rgba(18, 55, 42, 0.08);
    backdrop-filter: blur(12px);
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    padding: 6px 2px;
    border: 0;
    color: #54645d;
    background: transparent;
    font-size: .8125rem;
    font-weight: 600;
  }

  .mobile-action-bar i {
    color: var(--emerald-dark);
    font-size: 1rem;
  }

  .store-detail-grid {
    grid-template-columns: 1fr;
  }

  .store-map-placeholder {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-footer>* {
    margin: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .container-xl {
    --bs-gutter-x: 24px;
  }

  .section {
    padding: 68px 0;
  }

  .section-kicker {
    font-size: .8125rem;
  }

  .section-heading h2 {
    margin-top: 11px;
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .section-heading p {
    font-size: 1rem;
  }

  .brand-logo {
    width: 37px;
    height: 51px;
  }

  .sitename {
    font-size: 1.7rem;
  }

  .navbar {
    min-height: 72px;
  }

  .hero {
    padding-top: 106px;
  }

  .hero-eyebrow {
    max-width: 100%;
    padding-inline: 11px;
    font-size: .8125rem;
  }

  .hero-title {
    font-size: clamp(2.125rem, 8vw, 2.5rem);
    line-height: 1.1;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .hero-actions .btn {
    min-height: 52px;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    width: fit-content;
    margin-inline: auto;
  }

  .hero-trust li::after {
    display: none;
  }

  .social-proof {
    margin-top: 22px;
  }

  .social-proof small {
    display: block;
  }

  .marketplace-visual {
    width: 650px;
    height: 500px;
    transform: translateX(-50%) scale(0.7);
  }

  .hero-visual-column {
    height: 465px;
  }

  .hero-stats {
    right: 12px;
    left: 12px;
  }

  .hero-stat {
    gap: 9px;
    padding: 12px;
  }

  .hero-stat-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: .8125rem;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .hero-stat span {
    font-size: .8125rem;
  }

  .network-dashboard {
    padding: 15px;
    border-radius: 22px;
  }

  .dashboard-head {
    align-items: flex-start;
  }

  .dashboard-head strong {
    font-size: .9375rem;
  }

  .dashboard-map {
    height: 275px;
  }

  .business-pin-one {
    left: 35px;
  }

  .business-pin-two {
    right: 38px;
  }

  .business-pin-three {
    right: 62px;
  }

  .business-pin-four {
    left: 51px;
  }

  .mission-note {
    padding-left: 40px;
  }

  .process-tab-content {
    padding-right: 15px;
    padding-left: 15px;
  }

  .process-cta {
    margin-right: -15px;
    margin-left: -15px;
  }

  .store-section {
    padding-top: 78px;
  }

  .store-card-body {
    padding: 16px;
  }

  .store-card-actions a,
  .store-card-actions button {
    font-size: .8125rem;
  }

  .plan-card {
    padding: 20px;
  }

  .savings-calculator {
    padding: 22px;
  }

  .calculator-head {
    flex-wrap: wrap;
  }

  .estimate-badge {
    margin-left: 0;
  }

  .calculation-result strong {
    font-size: 1.2rem;
  }

  .partner-form-card,
  .contact-form-card {
    padding: 22px 17px;
    border-radius: 21px;
  }

  .partner-dashboard {
    padding: 13px;
  }

  .partner-content h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .contact-shell {
    margin-inline: -1px;
    border-radius: 22px;
  }

  .contact-info {
    padding: 32px 20px;
  }

  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .map-visual {
    height: 300px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .footer-top {
    gap: 30px 18px;
  }

  .footer-links-col h2,
  .footer-newsletter h2 {
    margin-bottom: 13px;
  }

  .modal-dialog {
    margin: 0.65rem;
  }

  .modal-content {
    border-radius: 20px;
  }

  .modal-header,
  .modal-body {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(2.125rem, 9vw, 2.5rem);
  }

  .hero-eyebrow {
    font-size: .8125rem;
  }

  .marketplace-visual {
    transform: translateX(-50%) scale(0.63);
  }

  .hero-visual-column {
    height: 415px;
  }

  .hero-stat {
    padding-inline: 10px;
  }

  .hero-stat-content {
    min-width: 0;
  }

  .hero-stat span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .category-card {
    min-width: 146px;
  }

  .results-controls .form-select {
    max-width: 190px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand-col,
  .footer-newsletter {
    grid-column: auto;
  }

  .modal-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions {
    width: 100%;
  }

  .social-proof {
    transform: scale(0.94);
  }

  .marketplace-visual {
    transform: translateX(-50%) scale(0.58);
  }

  .hero-visual-column {
    height: 380px;
  }

  .dashboard-map {
    height: 250px;
  }

  .results-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .results-controls .form-select {
    width: 100%;
    max-width: none;
  }

  .view-toggle {
    width: fit-content;
  }

  .store-card-actions a,
  .store-card-actions button {
    flex-direction: column;
    gap: 1px;
  }

  .calculator-head>div {
    flex: 1;
  }
}

@media (max-width: 359.98px) {
  .sitename {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-eyebrow i {
    display: none;
  }

  .hero-stats {
    right: 8px;
    left: 8px;
  }

  .hero-stat-icon {
    display: none;
  }

  .marketplace-visual {
    transform: translateX(-50%) scale(0.52);
  }

  .hero-visual-column {
    height: 342px;
  }

  .dashboard-head .live-pill {
    display: none;
  }

  .process-tabs .nav-link {
    font-size: .8125rem;
  }

  .store-card-actions a,
  .store-card-actions button {
    padding-inline: 4px;
  }

  .calculation-result {
    grid-template-columns: 1fr;
  }

  .calculation-result>div:last-of-type {
    padding: 9px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  .calculation-result>small {
    grid-column: 1;
  }
}

/* Footer layout hardening for tablets and phones */
@media (max-width: 991.98px) {
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .site-footer .footer-brand-col,
  .site-footer .footer-newsletter {
    grid-column: 1 / -1;
  }

  .site-footer .footer-brand-col>p,
  .site-footer .footer-newsletter>p {
    max-width: 540px;
  }

  .site-footer .footer-contact-row {
    align-items: flex-start;
    gap: 12px 24px;
  }

  .site-footer .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding: 44px 0 24px;
  }

  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px 18px;
  }

  .site-footer .footer-brand-col {
    grid-column: 1 / -1;
  }

  .site-footer .footer-links-col {
    min-width: 0;
    grid-column: auto;
  }

  .site-footer .footer-newsletter {
    grid-column: 1 / -1;
  }

  .site-footer .footer-links-col {
    gap: 7px;
  }

  .site-footer .footer-contact-row {
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    text-align: center;
  }

  .site-footer .footer-contact-row>* {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-bottom p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-links-col h2 {
    font-size: .95rem;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-links-col a,
  .site-footer .footer-links-col button {
    max-width: 100%;
    font-size: .875rem;
    overflow-wrap: anywhere;
  }

  .request-control .chosen-add-category {
    min-height: 44px;
    padding-inline: 8px;
    font-size: .875rem;
  }
}

/* Reduced-motion fallback and mobile animation simplification. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-reveal,
  .reveal-on-scroll,
  .membership-card-wrap,
  .mini-store,
  .saving-toast,
  .profile-chip,
  .discount-bubble,
  .connection-line {
    opacity: 1 !important;
    transform: none !important;
  }

  .connection-particle {
    display: none;
  }

  .network-orbit {
    transform: translate(-50%, -50%) !important;
  }

  .membership-card {
    transform: none !important;
  }
}

@media (hover: none),
(pointer: coarse) {
  .magnetic-btn {
    transform: none !important;
  }

  .membership-card {
    transform: none !important;
  }

  .membership-card.is-tilting .card-shine {
    opacity: 0;
  }

  .depth-element {
    translate: none !important;
  }
}

/* Promotional carousel responsive treatment ------------------ */
@media (max-width: 991.98px) {
  .partner-journey-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 26px;
  }

  .partner-journey-photo,
  .partner-journey-photo img {
    min-height: 390px;
  }

  .partner-journey-steps {
    gap: 20px 16px;
  }

  .partner-journey-step {
    grid-template-columns: 48px 36px minmax(0, 1fr);
    column-gap: 7px;
  }

  .partner-journey-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .partner-journey-number {
    width: 34px;
    height: 34px;
    font-size: .82rem;
  }

  .partner-journey-step h3 {
    font-size: 1rem;
  }

  .partner-journey-step p {
    font-size: .87rem;
  }
}

@media (max-width: 767.98px) {
  .partner-journey-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .partner-journey-photo,
  .partner-journey-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .partner-journey-content h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .partner-journey-intro {
    margin-bottom: 20px;
    font-size: 1.05rem;
  }

  .partner-journey-steps {
    gap: 22px 16px;
  }

  .partner-journey-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .partner-journey-cta strong {
    font-size: 1.15rem;
  }

  .partner-journey-cta a {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .partner-journey-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-journey-step {
    grid-template-columns: 50px 36px minmax(0, 1fr);
    align-items: center;
  }

  .partner-journey-step>div {
    grid-column: 3;
    grid-row: 1;
  }

  .partner-journey-icon {
    width: 48px;
    height: 48px;
  }

  .partner-journey-number {
    width: 32px;
    height: 32px;
  }

  .partner-journey-step h3 {
    font-size: .98rem;
  }

  .partner-journey-step p {
    font-size: .83rem;
  }
}

@media (max-width: 767.98px) {
  .hero-store-search {
    padding: 13px 0;
  }

  .hero-store-search-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .hero-store-search-label {
    min-width: 0;
    gap: 9px;
  }

  .hero-store-search-label>i {
    font-size: 1.3rem;
  }

  .hero-store-search-label strong {
    font-size: .9rem;
  }

  .hero-store-search-label small {
    font-size: .72rem;
  }

  .hero-store-search-form {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .hero-search-location {
    grid-column: 1 / -1;
  }

  .hero-search-submit {
    padding-inline: 10px;
    font-size: .76rem;
  }
}

@media (max-width: 359.98px) {
  .hero-store-search-form {
    grid-template-columns: 1fr;
  }

  .hero-search-location {
    grid-column: auto;
  }
}

@media (max-width: 1199.98px) {

  .hero-carousel-section {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero-carousel {
    min-height: 0;
  }

  .hero-carousel-section .hero-stat {
    padding-inline: 18px;
  }
}

@media (max-width: 991.98px) {
  .hero-carousel-section {
    padding: var(--header-height) 0 0;
  }

  .hero-carousel-section .hero-stats {
    bottom: auto;
    margin-top: -25px;
  }

  .hero-carousel-section .hero-demo-note {
    bottom: auto;
  }

  .hero-carousel-section+.about-section {
    padding-top: 118px;
  }
}

@media (max-width: 767.98px) {
  .hero-carousel-section {
    padding: var(--header-height) 0 0;
  }

  .hero-carousel {
    height: 550px;
    min-height: 550px;
    aspect-ratio: auto;
  }

  .hero-banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(3, 45, 16, 0.96) 0%, rgba(4, 78, 23, 0.86) 52%, rgba(2, 54, 17, 0.32) 100%),
      linear-gradient(0deg, rgba(2, 37, 13, 0.75), transparent 48%);
  }

  .hero-banner-slide>img {
    position: absolute;
    inset: 0;
  }

  .hero-banner-open>img {
    object-position: 73% center;
  }

  .hero-banner-cards>img {
    object-position: 72% center;
  }

  .hero-banner-stores>img {
    object-position: 76% center;
  }

  .hero-mobile-copy {
    position: absolute;
    top: 48%;
    left: 0;
    z-index: 3;
    width: min(560px, 92%);
    display: block;
    padding: 0 30px;
    transform: translateY(-50%);
  }

  .hero-mobile-copy>* {
    opacity: 0;
    transform: translateY(22px);
  }

  .swiper-slide-active .hero-mobile-copy>* {
    animation: heroMobileCopyIn 0.72s var(--ease) forwards;
  }

  .swiper-slide-active .hero-mobile-copy> :nth-child(2) {
    animation-delay: 0.1s;
  }

  .swiper-slide-active .hero-mobile-copy> :nth-child(3) {
    animation-delay: 0.18s;
  }

  .swiper-slide-active .hero-mobile-copy> :nth-child(4) {
    animation-delay: 0.26s;
  }

  .hero-slide-kicker {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 216, 36, 0.36);
    border-radius: 999px;
    color: #ffe36b;
    background: rgba(5, 46, 20, 0.48);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    max-width: 560px;
    margin: 0;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: clamp(2.125rem, 7vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 5px 30px rgba(1, 34, 12, 0.38);
  }

  .hero-mobile-copy p {
    max-width: 450px;
    margin: 18px 0 24px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-mobile-copy .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    font-size: .9375rem;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(1, 37, 14, 0.28);
  }

  .hero-carousel-controls {
    right: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-carousel-section .hero-container {
    padding-bottom: 22px;
  }

  .hero-carousel-section .hero-stats {
    margin-top: -16px;
  }

  .hero-carousel-section .hero-stat {
    min-height: 82px;
  }

  .hero-carousel-section+.about-section {
    padding-top: 92px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel {
    height: 535px;
    min-height: 535px;
  }

  .hero-mobile-copy {
    top: 47%;
    width: 100%;
    padding-inline: 21px;
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    font-size: clamp(2.125rem, 8.5vw, 2.5rem);
  }

  .hero-mobile-copy p {
    max-width: 360px;
    margin-block: 16px 22px;
    font-size: 1rem;
  }

  .hero-carousel-section .hero-container {
    padding-inline: 12px;
  }

  .hero-carousel-section .hero-stats {
    right: auto;
    left: auto;
    margin-top: -14px;
  }

  .hero-carousel-section .hero-demo-note {
    max-width: 360px;
    margin-inline: auto;
    font-size: .8125rem;
  }
}

@media (max-width: 430px) {
  .hero-carousel-section {
    padding-top: var(--header-height);
  }

  .hero-carousel {
    height: 520px;
    min-height: 520px;
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    font-size: 2.25rem;
  }

  .hero-carousel-arrow,
  .hero-autoplay-toggle {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 359.98px) {
  .hero-carousel {
    height: 505px;
    min-height: 505px;
  }

  .hero-mobile-copy {
    padding-inline: 17px;
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    font-size: 2.125rem;
  }

  .hero-slide-kicker {
    font-size: .8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-carousel .swiper-slide-active>img,
  .hero-carousel.is-progressing .hero-carousel-progress span,
  .swiper-slide-active .hero-mobile-copy>* {
    animation: none !important;
  }

  .swiper-slide-active .hero-mobile-copy>* {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroMobileCopyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium hero responsive polish ----------------------------- */
@media (max-width: 1199.98px) {

  .hero-premium .hero-carousel-shell {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .hero-control-deck {
    gap: 13px;
    grid-template-columns: minmax(200px, 1fr) auto;
  }
}

@media (max-width: 991.98px) {
  .hero-premium {
    min-height: auto;
    padding-top: var(--header-height);
  }

  .hero-premium .hero-carousel {
    min-height: 0;
  }

  .hero-control-deck {
    grid-template-columns: minmax(200px, 1fr) auto;
  }

  .hero-premium .hero-stats {
    margin-top: -14px;
  }
}

@media (max-width: 767.98px) {
  .hero-premium .hero-carousel-shell {
    width: 100%;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero-premium .hero-carousel {
    height: 535px;
    min-height: 535px;
    aspect-ratio: auto;
  }

  .hero-premium .hero-banner-slide::before {
    z-index: 0;
    opacity: 0.55;
    filter: blur(18px) saturate(1.05) brightness(0.62);
  }

  .hero-premium .hero-banner-slide>img {
    z-index: 1;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02);
  }

  .hero-premium .hero-banner-stores>img {
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transform: none;
  }

  .hero-premium .hero-banner-slide::after {
    z-index: 2;
  }

  .hero-premium .hero-mobile-copy {
    z-index: 3;
  }

  .hero-control-deck {
    min-height: 72px;
    gap: 10px;
    padding: 10px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-premium .hero-carousel-controls {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .hero-slide-readout>strong {
    font-size: 1.35rem;
  }

  .hero-slide-separator {
    width: 22px;
  }

  .hero-slide-readout b {
    max-width: 170px;
    font-size: .8125rem;
  }

  .hero-premium .hero-container {
    padding-bottom: 22px;
  }

  .hero-premium .hero-stats {
    margin-top: -8px;
  }
}

@media (max-width: 575.98px) {
  .hero-premium .hero-carousel {
    height: 515px;
    min-height: 515px;
  }

  .hero-control-deck {
    min-height: 68px;
    padding-inline: 10px;
  }

  .hero-slide-readout {
    gap: 8px;
  }

  .hero-slide-readout>strong {
    font-size: 1.2rem;
  }

  .hero-slide-separator {
    display: none;
  }

  .hero-slide-readout em {
    display: none;
  }

  .hero-slide-readout b {
    max-width: 116px;
    font-size: .8125rem;
  }

  .hero-slide-readout small {
    font-size: .8125rem;
  }

  .hero-premium .hero-carousel-controls {
    gap: 5px;
    padding: 4px;
  }

  .hero-premium .hero-carousel-arrow,
  .hero-premium .hero-autoplay-toggle {
    width: 34px;
    height: 34px;
  }

  .hero-premium .hero-pagination {
    gap: 5px;
    padding-inline: 2px;
  }

  .hero-premium .hero-pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }

  .hero-premium .hero-pagination .swiper-pagination-bullet-active {
    width: 20px;
  }
}

@media (max-width: 430px) {
  .hero-premium .hero-carousel {
    height: 500px;
    min-height: 500px;
  }

  .hero-premium .hero-mobile-copy {
    top: 48%;
  }

}

@media (max-width: 359.98px) {
  .hero-premium .hero-carousel {
    height: 485px;
    min-height: 485px;
  }

  .hero-slide-readout b {
    max-width: 92px;
  }

  .hero-premium .hero-carousel-arrow,
  .hero-premium .hero-autoplay-toggle {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero-aura,
  .hero-ambient-spark,
  .hero-premium .hero-carousel::after,
  .hero-premium .swiper-slide-active>img {
    animation: none !important;
  }
}

/* Standalone statistics responsive layout -------------------- */
@media (max-width: 1199.98px) {
  .network-stats-section .network-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-stats-section .hero-stat {
    min-height: 205px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 23px;
  }

  .network-stats-section .hero-stat strong {
    font-size: clamp(2rem, 3.7vw, 2.7rem);
  }
}

@media (max-width: 991.98px) {
  .network-stats-section {
    padding: 76px 0 68px;
  }

  .network-stats-heading {
    align-items: flex-start;
  }

  .network-stats-section .network-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-stats-section .hero-stat {
    min-height: 210px;
  }
}

@media (max-width: 767.98px) {
  .network-stats-section {
    padding: 5px 0 24px;
  }

  .network-stats-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 27px;
  }

  .network-stats-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .network-stats-heading p {
    font-size: 1rem;
  }

  .network-stats-badge {
    margin-bottom: 0;
  }

  .network-stats-section .hero-stat {
    min-height: 192px;
    gap: 20px;
  }

  .network-stats-section .hero-stat-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 16px;
  }

  .network-stats-section .hero-stat-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 14px;
    text-align: left;
  }

  .network-stats-section .hero-stat small {
    display: block;
  }
}

@media (max-width: 575.98px) {
  .network-stats-section .network-stats-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .network-stats-section .hero-stat {
    min-height: 184px;
    padding: 22px;
  }

  .network-stats-section .hero-stat-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .network-stats-section .hero-stat-content {
    padding-left: 12px;
  }

  .network-stats-section .hero-stat strong {
    font-size: 1.9rem;
  }

  .network-stats-section .hero-stat span {
    overflow: visible;
    font-size: .8125rem;
    text-overflow: clip;
    white-space: normal;
  }

  .network-stats-note {
    align-items: flex-start;
    margin-top: 17px;
    font-size: .8125rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {

  .network-stats-section .hero-stat,
  .network-stats-badge i {
    opacity: 1;
    animation: none !important;
    transform: none;
  }
}

/* Why choose us responsive layout ---------------------------- */
@media (max-width: 1199.98px) {

  .why-choose-section {
    padding: 88px 0;
  }

  .why-choose-heading {
    gap: 0;
  }

  .why-card-body {
    padding: 16px 18px 18px;
  }

  .why-card-body::before {
    left: 18px;
  }
}

@media (max-width: 991.98px) {
  .why-choose-section {
    padding: 78px 0;
  }

  .why-choose-heading {
    align-items: start;
    gap: 0;
    grid-template-columns: 1fr;
  }

  .why-choose-heading>p {
    max-width: 680px;
  }

  .why-card-grid {
    max-width: 860px;
    grid-template-columns: 1fr;
  }

  .why-tier-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  }

  .why-card-media {
    min-height: 245px;
    aspect-ratio: auto;
  }

  .why-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .why-card-body>p {
    min-height: 0;
  }

  .why-card-footer {
    margin-top: 13px;
  }
}

@media (max-width: 767.98px) {
  .why-choose-section {
    padding: 70px 0;
  }

  .why-choose-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .why-choose-heading>p {
    padding-left: 16px;
    font-size: 1rem;
  }

  .why-benefit-strip {
    grid-template-columns: 1fr;
  }

  .why-benefit-strip>span {
    min-height: 80px;
  }

  .why-benefit-strip>span:not(:last-child)::after {
    top: auto;
    right: 20px;
    bottom: 0;
    left: 20px;
    width: auto;
    height: 1px;
  }

  .why-tier-card {
    display: block;
  }

  .why-card-media {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .why-card-body {
    display: block;
  }

  .why-choose-note {
    align-items: start;
    grid-template-columns: auto 1fr;
  }

  .why-choose-note a {
    grid-column: 2;
  }
}

@media (max-width: 575.98px) {
  .why-choose-section {
    padding: 62px 0;
  }

  .why-choose-heading {
    margin-bottom: 27px;
  }

  .why-choose-heading h2 {
    font-size: clamp(1.65rem, 8vw, 2rem);
    line-height: 1.2;
  }

  .why-benefit-strip {
    margin-bottom: 18px;
    border-radius: 17px;
  }

  .why-card-grid {
    gap: 14px;
  }

  .why-tier-card {
    border-radius: 18px;
  }

  .why-card-media {
    padding: 7px;
  }

  .why-card-media img {
    border-radius: 11px;
  }

  .why-card-index {
    top: 14px;
    left: 14px;
  }

  .why-points-badge {
    right: 14px;
    bottom: 14px;
  }

  .why-card-body {
    padding: 15px 16px 16px;
  }

  .why-card-body::before {
    left: 16px;
  }

  .why-card-body h3 {
    font-size: 1.1rem;
  }

  .why-card-body>p {
    min-height: 0;
    font-size: .8125rem;
  }

  .why-card-footer {
    align-items: center;
    margin-top: 11px;
    padding-top: 10px;
  }

  .why-card-action {
    min-height: 36px;
    padding-inline: 11px;
    font-size: .8125rem;
  }

  .why-choose-note {
    padding: 17px;
  }

  .why-choose-note a {
    margin-top: 4px;
  }
}

@media (max-width: 359.98px) {
  .why-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .why-card-action {
    width: 100%;
    justify-content: center;
  }
}

/* Reference-style rewards showcase: desktop, laptop, tablet and mobile. */
@media (max-width: 1199.98px) {

  .why-card-grid {
    gap: 26px 30px;
    grid-template-columns: minmax(250px, 1fr) minmax(160px, 190px) minmax(250px, 1fr);
  }

  .why-center-brand {
    min-height: 390px;
  }

  .why-card-body {
    padding: 10px 14px 11px;
  }

  .why-card-body::before {
    left: 14px;
  }
}

@media (max-width: 991.98px) {
  .why-card-grid {
    width: min(100%, 840px);
    gap: 24px 18px;
    grid-template-areas:
      "silver center diamond"
      "gold center platinum";
    grid-template-columns: minmax(220px, 1fr) minmax(135px, 155px) minmax(220px, 1fr);
  }

  .why-card-grid::before {
    top: 8%;
    right: 17%;
    bottom: 8%;
    left: 17%;
  }

  .why-card-grid::after {
    display: block;
  }

  .why-center-brand {
    min-height: 360px;
  }

  .why-center-logo-shell {
    width: clamp(124px, 18vw, 150px);
  }

  .why-logo-orbit {
    width: clamp(172px, 24vw, 200px);
  }

  .why-tier-card {
    display: block;
  }

  .why-card-media {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
  }

  .why-card-body {
    display: block;
  }

  .why-card-grid.has-flipped-card .why-center-brand,
  .why-card-grid.has-flipped-card .why-tier-card:not(.is-flipped):not(.is-closing) {
    opacity: .12;
    filter: blur(3px);
    pointer-events: none;
    transition: opacity .3s ease, filter .3s ease;
  }

  .why-tier-card.is-flipped,
  .why-tier-card.is-closing {
    position: absolute;
    z-index: 30;
    grid-area: auto;
    top: 50%;
    left: 50%;
    width: min(calc(100% - 24px), 560px);
    height: min(440px, calc(100svh - 150px));
    min-height: 380px;
    animation: none;
    filter: none;
    transform: translate(-50%, -50%);
  }

  .why-tier-card.is-flipped .why-card-flipper,
  .why-tier-card.is-closing .why-card-flipper {
    height: 100%;
  }
}

@media (max-width: 767.98px) {
  .why-choose-intro {
    max-width: 580px;
    font-size: .94rem;
  }

  .why-card-grid {
    width: min(100%, 640px);
    gap: 15px 16px;
    grid-template-areas:
      "silver diamond"
      "center center"
      "gold platinum";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card-grid::before {
    top: 28%;
    right: 12%;
    bottom: 28%;
    left: 12%;
  }

  .why-card-grid::after {
    display: none;
  }

  .why-center-brand {
    min-height: 220px;
  }

  .why-center-logo-shell {
    width: 150px;
  }

  .why-logo-orbit {
    width: 200px;
  }

  .why-card-body {
    padding: 9px 11px 10px;
  }

  .why-card-body::before {
    left: 11px;
  }

  .why-card-body h3 {
    font-size: .9rem;
  }

  .why-card-body>p {
    min-height: 0;
    font-size: .72rem;
  }

  .why-benefit-strip {
    margin-top: 30px;
  }
}

@media (max-width: 575.98px) {
  .why-choose-heading {
    margin-bottom: 24px;
  }

  .why-choose-intro {
    margin-top: 13px;
    font-size: .9rem;
    line-height: 1.6;
  }

  .why-card-grid {
    width: 100%;
    gap: 11px 9px;
    grid-template-areas:
      "silver diamond"
      "center center"
      "gold platinum";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-card-grid::before {
    top: 24%;
    right: 2%;
    bottom: 24%;
    left: 2%;
  }

  .why-center-brand {
    min-height: 200px;
  }

  .why-center-logo-shell {
    width: clamp(130px, 40vw, 140px);
  }

  .why-logo-orbit {
    width: clamp(174px, 55vw, 188px);
  }

  .why-tier-card {
    border-radius: 14px;
  }

  .why-card-media {
    padding: 4px;
  }

  .why-card-media img {
    border-radius: 9px;
  }

  .why-card-body {
    display: none;
  }

  .why-tier-card.is-flipped,
  .why-tier-card.is-closing {
    width: calc(100% - 8px);
    height: min(440px, calc(100svh - 130px));
  }

  .why-card-back {
    padding: 15px;
  }

  .why-card-back>h3 {
    margin-top: 10px;
    font-size: 1.12rem;
  }

  .why-card-back-subtitle {
    margin-bottom: 11px;
    font-size: .78rem;
  }

  .why-card-detail-grid {
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .why-card-detail-grid h4 {
    font-size: .72rem;
  }

  .why-card-detail-grid ul {
    font-size: .72rem;
    line-height: 1.4;
  }

  .why-card-buy-now {
    min-height: 42px;
    margin-top: 12px;
    font-size: .78rem;
  }

  .why-benefit-strip {
    margin-top: 28px;
  }
}

@media (max-width: 899.98px) and (max-height: 520px) and (orientation: landscape) {

  .why-tier-card.is-flipped,
  .why-tier-card.is-closing {
    height: calc(100svh - 96px);
    min-height: 330px;
  }

  .why-card-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {

  .why-tier-card,
  .why-card-media img,
  .why-card-media::after {
    transition: none !important;
  }
}

/* Community testimonial showcase ----------------------------- */
@media (max-width: 1199.98px) {

  .community-testimonial-layout {
    gap: 20px;
  }

  .community-quote-card {
    padding: 32px;
  }

  .community-quote-card blockquote {
    font-size: clamp(1.45rem, 2.45vw, 2rem);
  }

  .community-people-card {
    padding: 20px;
  }

  .community-portrait-grid {
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
  .community-testimonial-section {
    padding-block: 76px;
  }

  .community-testimonial-heading {
    margin-bottom: 31px;
  }

  .community-testimonial-layout {
    max-width: 790px;
    grid-template-columns: 1fr;
  }

  .community-quote-card {
    min-height: 420px;
  }

  .community-quote-card blockquote {
    max-width: 680px;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
  }

  .community-people-card {
    padding: 23px;
  }

  .community-person {
    aspect-ratio: 1;
  }
}

@media (max-width: 575.98px) {
  .community-testimonial-section {
    padding-block: 62px;
  }

  .community-testimonial-heading {
    margin-bottom: 25px;
  }

  .community-testimonial-heading h2 {
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .community-testimonial-layout {
    gap: 16px;
  }

  .community-quote-card,
  .community-people-card {
    border-radius: 23px;
  }

  .community-quote-card {
    min-height: 0;
    padding: 24px 21px;
  }

  .community-quote-icon {
    width: 49px;
    height: 49px;
    border-radius: 15px;
    font-size: 1.7rem;
  }

  .community-rating {
    gap: 3px;
    padding: 8px 10px;
    font-size: .8125rem;
  }

  .community-quote-card blockquote {
    margin: 25px 0 28px;
    font-size: clamp(1.3rem, 6.5vw, 1.68rem);
    line-height: 1.42;
  }

  .community-quote-footer {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 19px;
  }

  .community-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .community-verified {
    width: max-content;
    margin: 2px 0 0 54px;
  }

  .community-proof-row {
    gap: 6px;
    margin-top: 14px;
  }

  .community-proof-row span {
    padding: 6px 8px;
    font-size: .8125rem;
  }

  .community-people-card {
    padding: 17px;
  }

  .community-people-heading {
    margin-bottom: 14px;
  }

  .community-people-heading h3 {
    font-size: 1.18rem;
  }

  .community-portrait-grid {
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-person {
    border-radius: 16px;
  }

  .community-person figcaption {
    right: 10px;
    bottom: 9px;
    left: 10px;
  }
}

@media (max-width: 359.98px) {
  .community-verified {
    margin-left: 0;
  }

  .community-proof-row span {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  .community-quote-card::before,
  .community-people-heading>i {
    animation: none !important;
  }

  .community-person img,
  .community-person figcaption {
    transition: none !important;
  }
}

/* Individual testimonial slider ------------------------------ */
@media (max-width: 991.98px) {
  .community-testimonials-swiper {
    padding-inline: 22px;
  }

  .community-review-card {
    min-height: 336px;
  }
}

@media (max-width: 575.98px) {
  .community-testimonials-swiper {
    overflow: visible;
    padding: 20px 22px 50px;
  }

  .community-testimonial-carousel-shell {
    overflow: hidden;
    margin-inline: -12px;
  }

  .community-review-card {
    min-height: 326px;
    padding: 22px 20px;
    border-radius: 21px;
  }

  .community-review-card header img {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }

  .community-review-card blockquote {
    font-size: .8125rem;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {

  .community-review-card,
  .community-testimonials-swiper .swiper-slide {
    transition: none !important;
  }
}

@media (max-width: 575.98px) {
  .partner-form-section {
    padding-block: 52px;
  }

  .partner-shell-form-only .partner-form-card {
    padding: 19px 15px;
    border-radius: 19px;
  }

  .partner-shell-form-only .form-card-heading {
    margin-bottom: 14px;
  }

  .partner-shell-form-only .form-card-heading h3 {
    font-size: 1.05rem;
  }

  .partner-shell-form-only .row {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.68rem;
  }
}

@media (max-width: 575.98px) {
  .become-partner-section {
    padding: 42px 10px;
  }

  .partner-reference-banner {
    aspect-ratio: 1.35;
    border-radius: 17px;
  }

  .partner-reference-banner img {
    width: auto;
    max-width: none;
    height: 100%;
  }

  .partner-banner-action {
    top: 60.1%;
    left: 7.6%;
    width: 30.5%;
    height: 9.4%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .partner-reference-banner,
  .partner-banner-action {
    transition: none !important;
  }
}

/* Premium become our partner section ------------------------- */
@media (max-width: 1099.98px) {
  .premium-partner-shell {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
  }

  .premium-partner-copy {
    padding: 44px 34px;
  }

  .premium-partner-copy h2 {
    font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  }

  .partner-orbit-outer {
    width: 355px;
    height: 355px;
  }

  .partner-orbit-inner {
    width: 245px;
    height: 245px;
  }

  .partner-network-gif {
    width: 205px;
    height: 205px;
    border-radius: 27px;
  }

  .partner-network-gif img {
    border-radius: 22px;
  }

  .partner-orbit-card {
    min-width: 140px;
  }
}

@media (max-width: 899.98px) {
  .premium-partner-section {
    padding-block: 72px;
  }

  .premium-partner-shell {
    grid-template-columns: 1fr;
  }

  .premium-partner-copy {
    padding: 46px 40px 32px;
  }

  .premium-partner-copy>p {
    max-width: 680px;
  }

  .premium-partner-visual {
    min-height: 470px;
  }
}

@media (max-width: 575.98px) {
  .premium-partner-section {
    padding-block: 56px;
  }

  .premium-partner-shell {
    min-height: 0;
    border-radius: 25px;
  }

  .premium-partner-copy {
    padding: 31px 22px 24px;
  }

  .premium-partner-kicker {
    padding: 8px 10px;
    font-size: .8125rem;
  }

  .premium-partner-copy h2 {
    margin: 18px 0 15px;
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .premium-partner-copy>p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .premium-partner-actions {
    margin-top: 23px;
  }

  .premium-partner-actions a {
    width: 100%;
    min-height: 46px;
  }

  .premium-partner-highlights {
    gap: 8px;
    margin-top: 28px;
    padding-top: 20px;
  }

  .premium-partner-highlights>div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .premium-partner-highlights>div>span {
    width: 32px;
    height: 32px;
  }

  .premium-partner-highlights strong {
    width: 100%;
    font-size: .8125rem;
  }

  .premium-partner-highlights small {
    display: none;
  }

  .premium-partner-visual {
    min-height: 390px;
  }

  .premium-partner-visual::after {
    inset: 5% 4%;
    border-radius: 27px;
  }

  .partner-orbit-outer {
    width: 310px;
    height: 310px;
  }

  .partner-orbit-inner {
    width: 215px;
    height: 215px;
  }

  .partner-network-gif {
    width: 170px;
    height: 170px;
    border-radius: 23px;
  }

  .partner-network-gif img {
    border-radius: 18px;
  }

  .partner-orbit-card {
    min-width: 122px;
    padding: 9px;
    border-radius: 14px;
  }

  .partner-orbit-card>span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .partner-orbit-card strong {
    font-size: .8125rem;
  }

  .partner-orbit-card small {
    font-size: .8125rem;
  }

  .partner-orbit-grow {
    top: 8%;
    right: 4%;
  }

  .partner-orbit-reach {
    top: 43%;
    left: 1%;
  }

  .partner-orbit-trust {
    right: 2%;
    bottom: 19%;
  }

  .partner-visual-caption {
    right: 7%;
    bottom: 5%;
    left: 7%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .partner-orbit-outer,
  .partner-network-gif,
  .partner-orbit-card {
    animation: none !important;
  }
}

/* Professional connected stores table ----------------------- */
@media (max-width: 1199.98px) {

  .connected-stores-hero {
    align-items: flex-start;
  }

  .connected-stores-stats {
    min-width: 340px;
  }

  .connected-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .connected-filter-actions {
    grid-column: 1 / -1;
  }

  .connected-filter-submit {
    flex: 1;
  }

  .connected-filter-reset {
    width: 46px;
  }
}

@media (max-width: 899.98px) {
  .connected-stores-table-section {
    padding-block: 76px;
  }

  .connected-stores-hero {
    flex-direction: column;
  }

  .connected-stores-stats {
    width: 100%;
    min-width: 0;
  }

  .connected-table-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .connected-table-toolbar>label {
    align-self: flex-end;
  }
}

@media (max-width: 575.98px) {
  .connected-stores-table-section {
    padding-block: 62px;
  }

  .connected-stores-hero {
    gap: 22px;
    margin-bottom: 24px;
  }

  .connected-stores-hero h2 {
    margin-top: 13px;
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .connected-stores-hero p {
    font-size: 1rem;
  }

  .connected-stores-stats {
    padding: 6px;
    border-radius: 17px;
  }

  .connected-stores-stats>div {
    padding: 10px 4px;
  }

  .connected-stores-stats strong {
    font-size: 1.875rem;
  }

  .connected-stores-stats small {
    font-size: .875rem;
  }

  .connected-stores-filter {
    padding: 16px 14px;
    border-radius: 20px;
  }

  .connected-filter-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .connected-filter-grid {
    grid-template-columns: 1fr;
  }

  .connected-filter-control input,
  .connected-filter-control select {
    min-height: 44px;
    font-size: 1rem;
  }

  .connected-filter-actions {
    grid-column: auto;
  }

  .connected-filter-reset {
    width: auto;
    min-width: 90px;
    padding-inline: 13px;
  }

  .connected-filter-reset span {
    display: inline;
  }

  .connected-stores-card {
    border-radius: 21px;
  }

  .connected-table-toolbar {
    min-height: 0;
    padding: 14px;
  }

  .connected-table-toolbar>div {
    width: 100%;
    flex-wrap: wrap;
  }

  .connected-table-toolbar b {
    margin-left: auto;
  }

  .connected-table-toolbar>label {
    align-self: stretch;
    justify-content: space-between;
  }

  .connected-table-scroll {
    max-height: 570px;
  }

  .connected-store-table {
    min-width: 1040px;
  }

  .connected-store-table th,
  .connected-store-table td {
    padding: 12px 11px;
  }

  .connected-table-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .connected-table-footer p {
    text-align: center;
  }

  .connected-table-pagination {
    justify-content: center;
  }

  .connected-video-modal .modal-dialog {
    margin: 10px;
  }

  .connected-video-modal .modal-content {
    border-radius: 20px;
  }

  .connected-video-modal .modal-body {
    padding: 12px;
  }

  .connected-video-frame {
    border-radius: 14px;
  }

  .connected-video-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .connected-filter-actions button,
  .connected-table-pagination button,
  .connected-video-button {
    transition: none !important;
  }
}

/* ================================================================
   FINAL DEVICE-COVERAGE OVERRIDES
   Fluid from 320px phones through tablets, laptops and 4K displays.
   Keep this block last so it safely wins over earlier component rules.
   ================================================================ */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

img,
video {
  height: auto;
}

main,
section,
header,
footer,
.container,
.container-fluid,
.container-xl,
.row,
[class*="-shell"],
[class*="-grid"] {
  min-width: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
label,
span,
strong,
small {
  overflow-wrap: anywhere;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Prevent long Bootstrap rows/content from creating page-level overflow. */
.row {
  --bs-gutter-x: clamp(1rem, 2.2vw, 1.5rem);
}

.row>* {
  min-width: 0;
}

/* Large desktop and ultra-wide screens */
@media (min-width: 1400px) {
  .container-xl {
    max-width: min(1320px, calc(100vw - 64px));
  }

  .section {
    padding-block: clamp(88px, 6vw, 118px);
  }

  .hero-premium .hero-carousel-shell {
    max-width: none;
    margin-inline: 0;
  }

  .hero-premium .hero-carousel {
    max-height: 700px;
  }

  .store-results {
    gap: 24px;
  }
}

@media (min-width: 1920px) {
  .container-xl {
    max-width: 1480px;
  }

  body {
    font-size: 17px;
  }

  .hero-premium .hero-carousel-shell {
    max-width: none;
  }
}

/* Laptop and small desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar .container-xl {
    flex-wrap: nowrap;
    gap: 14px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .navbar-nav {
    gap: 0;
  }

  .navbar-nav .nav-link {
    padding-inline: .5rem;
    font-size: .8rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .btn {
    padding-inline: .7rem;
    white-space: nowrap;
  }

  .premium-partner-shell,
  .partner-shell,
  .contact-shell {
    min-width: 0;
  }
}

/* Tablet portrait and landscape */
@media (max-width: 991.98px) {
  .container-xl {
    --bs-gutter-x: clamp(24px, 4vw, 42px);
  }

  .offcanvas.mobile-nav {
    width: min(390px, 92vw);
  }

  .mobile-nav .offcanvas-body {
    overflow-y: auto;
  }

  .mobile-nav-link {
    min-height: 46px;
  }

  .mobile-nav-find-stores .mobile-nav-link-copy {
    display: grid;
    gap: 2px;
  }

  .mobile-nav-find-stores .mobile-nav-link-copy strong {
    color: var(--ink);
    font-size: .95rem;
    font-weight: 600;
  }

  .mobile-nav-find-stores .mobile-nav-link-copy small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 400;
  }

  .section-heading,
  .section-heading-center {
    max-width: 760px;
  }

  .connected-table-scroll,
  .comparison-table-wrap,
  .table-responsive {
    overscroll-behavior-inline: contain;
  }
}

/* Phones and narrow tablets */
@media (max-width: 767.98px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .container-xl {
    --bs-gutter-x: clamp(22px, 5vw, 32px);
  }

  .navbar>.container-xl {
    flex-wrap: nowrap;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .sitename {
    white-space: nowrap;
  }

  .btn {
    white-space: normal;
  }

  .section-heading-row>*,
  .store-heading-wrap>*,
  .results-toolbar>* {
    width: 100%;
  }

  .hero-premium .hero-banner-slide>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-mobile-copy {
    max-width: 610px;
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    text-wrap: balance;
  }

  .hero-control-deck {
    width: 100%;
  }

  .hero-slide-readout {
    min-width: 0;
  }

  .hero-slide-readout b {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .network-stats-grid,
  .membership-grid,
  .benefit-grid,
  .partner-benefits,
  .partner-metrics {
    width: 100%;
  }

  .store-results.list-view .store-card {
    align-items: stretch;
    flex-direction: column;
  }

  .store-results.list-view .store-card-visual {
    width: 100%;
    height: 190px;
  }

  .footer-bottom,
  .footer-contact-row {
    text-align: center;
  }

  .footer-contact-row {
    align-items: center;
  }

  .modal-dialog {
    max-width: calc(100vw - 20px);
  }

  .offcanvas {
    max-width: 92vw;
  }
}

/* Standard mobile: 360px–575px */
@media (max-width: 575.98px) {
  body {
    font-size: 16px;
  }

  .container-xl {
    --bs-gutter-x: 24px;
  }

  .section {
    padding-block: 60px;
  }

  .navbar {
    min-height: 72px;
  }

  .navbar-toggler {
    flex: 0 0 auto;
  }

  .brand-logo {
    flex: 0 0 auto;
    object-fit: contain;
  }

  .hero-premium .hero-carousel {
    height: clamp(470px, 128vw, 515px);
    min-height: 470px;
  }

  .hero-premium .hero-mobile-copy {
    top: 46%;
  }

  .hero-mobile-copy p {
    line-height: 1.55;
  }

  .hero-mobile-copy .btn {
    max-width: 100%;
  }

  .hero-control-deck {
    overflow: hidden;
  }

  .hero-slide-readout {
    gap: 6px;
  }

  .hero-premium .hero-carousel-controls {
    flex: 0 0 auto;
  }

  .category-card {
    min-width: min(146px, 44vw);
  }

  .store-card-actions {
    flex-wrap: wrap;
  }

  .store-card-actions>* {
    min-width: 0;
    flex: 1 1 120px;
  }

  .contact-actions,
  .modal-footer {
    grid-template-columns: 1fr;
  }

  .contact-actions .btn,
  .modal-footer .btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand-col,
  .footer-newsletter {
    grid-column: auto;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    line-height: 1.15;
  }
}

/* Small phones: 320px–359px */
@media (max-width: 359.98px) {
  .container-xl {
    --bs-gutter-x: 18px;
  }

  .sitename {
    font-size: 1.35rem;
  }

  .brand-logo {
    width: 32px;
    height: 44px;
  }

  .hero-premium .hero-carousel {
    height: 470px;
    min-height: 470px;
  }

  .hero-premium .hero-mobile-copy {
    padding-inline: 15px;
  }

  .hero-mobile-copy h1,
  .hero-mobile-copy h2 {
    font-size: 1.9rem;
  }

  .hero-mobile-copy p {
    margin-block: 13px 18px;
    font-size: .94rem;
  }

  .hero-slide-kicker {
    max-width: 100%;
  }

  .hero-control-deck {
    padding-inline: 7px;
  }

  .hero-slide-readout b,
  .hero-slide-readout small {
    display: none;
  }

  .hero-premium .hero-pagination {
    display: none;
  }

  .mobile-action-bar {
    height: 64px;
  }

  body {
    padding-bottom: 64px;
  }

  .mobile-action-bar a,
  .mobile-action-bar button {
    font-size: .68rem;
  }

  .partner-form-card,
  .contact-form-card,
  .plan-card {
    padding-inline: 14px;
  }
}

/* Keep the hero visually connected to the next section on tablets. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-premium .hero-carousel {
    height: 420px;
    min-height: 420px;
    aspect-ratio: auto;
  }

  .hero-premium .hero-banner-slide>img {
    object-fit: fill;
  }

  .network-stats-section {
    padding-top: 16px;
  }
}

/* Landscape phones: preserve usable hero and menu height. */
@media (max-width: 899.98px) and (max-height: 520px) and (orientation: landscape) {
  .hero-premium .hero-carousel {
    height: 420px;
    min-height: 420px;
  }

  .hero-premium .hero-mobile-copy {
    top: 45%;
  }

  .hero-mobile-copy p {
    margin-block: 10px 14px;
  }

  .mobile-nav .offcanvas-body {
    padding-bottom: 24px;
  }
}

/* Safer touch targets on touch devices. */
@media (pointer: coarse) {

  a,
  button,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }

  .navbar-toggler,
  .hero-carousel-arrow,
  .hero-autoplay-toggle,
  .view-toggle button {
    min-width: 42px;
    min-height: 42px;
  }
}

/* Contact redesign responsive layout --------------------------- */
@media (max-width: 991.98px) {
  .contact-redesign .contact-shell {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 26px;
  }

  .contact-redesign .contact-form-card {
    padding: 25px 22px;
  }

  .contact-redesign .contact-map-preview {
    height: 170px;
  }

  .contact-redesign .contact-actions {
    gap: 8px;
  }

  .contact-redesign .contact-actions .btn {
    padding-inline: 8px;
    font-size: .83rem;
  }

  .contact-redesign .contact-form-card {
    align-self: start;
  }
}

@media (max-width: 767.98px) {
  .contact-redesign {
    padding-block: 48px;
  }

  .contact-redesign .contact-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .contact-redesign .contact-info {
    padding: 0;
  }

  .contact-redesign .contact-info h2 {
    font-size: clamp(3rem, 12vw, 4.2rem);
  }

  .contact-redesign .contact-map-preview {
    height: 220px;
  }

  .contact-redesign .contact-form-card {
    padding: 23px 18px;
  }

  .contact-redesign .form-card-heading {
    gap: 10px;
    margin-bottom: 21px;
  }

  .contact-redesign .form-card-heading .contact-required-note {
    font-size: .73rem;
  }

  .contact-redesign .contact-form-card textarea.form-control {
    min-height: 130px;
  }
}

@media (max-width: 420px) {
  .contact-redesign .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-redesign .contact-info address>.contact-detail {
    gap: 11px;
  }

  .contact-redesign .contact-info address>.contact-detail>span {
    width: 40px;
    height: 40px;
  }

  .contact-redesign .contact-info address .contact-detail p,
  .contact-redesign .contact-info address .contact-detail strong,
  .contact-redesign .contact-info address .contact-detail a {
    font-size: .88rem;
  }

  .contact-redesign .form-card-heading {
    flex-direction: column;
  }
}

/* Network stats reference layout responsive overrides --------- */

/* Store finder: style the native mobile picker as well as Chosen. */
.hero-store-search-form {
  min-width: 0;
}

.hero-store-search-label span {
  min-width: 0;
}

.hero-search-category select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 38px 0 38px;
  border: 0;
  border-radius: inherit;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2316834b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #35483d;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  text-overflow: ellipsis;
}

.hero-search-category select:focus-visible {
  outline: 2px solid #16834b;
  outline-offset: 2px;
}

.hero-search-category select option {
  color: #23372d;
  background: #fff;
}

.hero-search-category .chosen-container .chosen-drop {
  left: 0;
  width: 100%;
  margin-left: 0;
  box-sizing: border-box;
}

.hero-search-category .chosen-container .chosen-results li {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.hero-search-submit:focus-visible {
  outline: 3px solid #16834b;
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .hero-store-search-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero-store-search-form {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  }
}

@media (max-width: 767.98px) {
  .hero-store-search {
    padding-block: 22px;
  }

  .hero-store-search-label {
    gap: 12px;
  }

  .hero-store-search-label strong {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .hero-store-search-label small {
    margin-top: 4px;
    font-size: .875rem;
    line-height: 1.4;
  }

  .hero-store-search-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .hero-search-location {
    grid-column: 1 / -1;
  }

  .hero-search-control {
    height: 50px;
  }

  .hero-search-control input {
    font-size: 1rem;
  }

  .hero-search-submit {
    min-height: 50px;
    font-size: .9rem;
    white-space: normal;
  }

  .hero-search-category .chosen-container-single .chosen-single {
    height: 48px;
    font-size: 1rem;
  }

  .partner-journey-content,
  .partner-journey-step>div {
    min-width: 0;
  }

  .partner-journey-step p {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 575.98px) {
  .hero-store-search-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-search-location {
    grid-column: auto;
  }

  .hero-search-submit {
    width: 100%;
  }

  .network-stats-section .network-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .network-stats-section .hero-stat {
    min-height: 150px;
    padding: 18px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .network-stats-section .hero-stat-content {
    width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .network-stats-section .hero-stat strong {
    font-size: clamp(1.25rem, 5.4vw, 1.65rem);
    white-space: normal;
  }

  .network-stats-section .hero-stat span {
    line-height: 1.4;
  }

  .how-mandi-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .how-mandi-step p {
    min-height: 0;
    font-size: .875rem;
  }

  .partner-journey-step {
    grid-template-columns: 40px 28px minmax(0, 1fr);
    column-gap: 8px;
  }

  .partner-journey-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .partner-journey-number {
    width: 28px;
    height: 28px;
  }

  .partner-journey-step p {
    font-size: .9rem;
    line-height: 1.5;
  }

  .partner-journey-cta {
    padding: 20px 18px;
  }
}

/* Mobile and tablet hero: retain text readability without washing the banner in green. */
@media (max-width: 991.98px) {
  .hero-premium .hero-banner-slide::after {
    background:
      linear-gradient(90deg, rgba(3, 45, 16, 0.68) 0%, rgba(4, 78, 23, 0.46) 52%, rgba(2, 54, 17, 0.12) 100%),
      linear-gradient(0deg, rgba(2, 37, 13, 0.36), transparent 48%);
  }

  .hero-premium .hero-banner-slide>img {
    filter: saturate(1.08) contrast(1.02);
  }
}

/* Phone hero: show the complete banner at its natural ratio without a blank fixed-height area. */
@media (max-width: 575.98px) {
  .hero-premium .hero-edge-arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
  }

  .hero-premium .hero-edge-arrow i {
    font-size: .9rem;
  }

  .hero-premium .hero-carousel {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto;
    overflow: hidden;
  }

  .hero-premium .hero-carousel .swiper-wrapper {
    align-items: flex-start;
  }

  .hero-premium .hero-banner-slide {
    display: flex;
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column;
    overflow: hidden;
    background: #f5fbf7;
  }

  .hero-premium .hero-banner-slide::before,
  .hero-premium .hero-banner-slide::after {
    display: none !important;
  }

  .hero-premium .hero-banner-slide>img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: 56vw !important;
    flex: 0 0 auto;
    object-fit: fill !important;
    object-position: center;
    padding: 0;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero-premium .hero-mobile-copy {
    display: none !important;
  }

  .hero-premium .hero-slide-actions {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    display: flex;
    width: auto;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    background: transparent;
  }

  .hero-premium .hero-slide-action {
    min-width: 0;
    min-height: 30px;
    flex: 0 1 42%;
    padding: 5px 8px;
    font-size: .66rem;
    line-height: 1.1;
    text-align: center;
  }
}

.hero-category-mobile-picker {
  display: none;
}

@media (max-width: 1199.98px) {

  .hero-search-category>select,
  .hero-search-category>.chosen-container {
    display: none !important;
  }

  .hero-category-mobile-picker {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-category-mobile-trigger {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px 0 38px;
    border: 0;
    border-radius: inherit;
    color: #35483d;
    background: transparent;
    font: inherit;
    text-align: left;
  }

  .hero-category-mobile-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-category-mobile-trigger i {
    color: #16834b;
    font-size: .8rem;
  }

  .hero-category-mobile-picker.is-open .hero-category-mobile-trigger {
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(22, 131, 75, .18);
  }

  .hero-category-mobile-panel {
    position: absolute;
    z-index: 1100;
    top: calc(100% + 7px);
    left: 0;
    width: 100%;
    padding: 10px;
    border: 1px solid #dfe8e1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(18, 48, 30, .2);
  }
  .hero-category-mobile-search-wrap {
    position: relative;
    display: block;
    margin: 0 0 8px;
  }

  .hero-category-mobile-search-wrap>i {
    position: absolute;
    top: 50%;
    right: 11px;
    color: #7b8a80;
    transform: translateY(-50%);
  }

  .hero-category-mobile-search {
    width: 100%;
    min-height: 40px;
    padding: 7px 34px 7px 10px;
    border: 1px solid #d6e1d9;
    border-radius: 6px;
    color: #23372d;
    background: #fff;
    font: inherit;
    font-size: .9rem;
  }

  .hero-category-mobile-search:focus {
    border-color: #4b9870;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(45, 143, 88, .1);
  }

  .hero-category-mobile-options {
    display: grid;
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .hero-category-mobile-option {
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 5px;
    color: #37463d;
    background: #fff;
    font: inherit;
    font-size: .9rem;
    text-align: left;
  }

  .hero-category-mobile-option[aria-selected="true"],
  .hero-category-mobile-option:hover {
    color: #fff;
    background: #16834b;
  }

  .hero-category-mobile-empty {
    margin: 8px 4px 2px;
    color: #718078;
    font-size: .85rem;
  }
}

/* Align the discover cards with the section heading and use the shared 1320px content width. */
.discover-local-stores-section>.container-xl {
  width: min(calc(100% - 40px), 1320px);
  max-width: 1320px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .discover-carousel-shell {
    position: relative;
    display: block;
  }

  .discover-stores-viewport {
    width: 100%;
  }

  .discover-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }

  .discover-carousel-arrow:hover:not(:disabled) {
    transform: translateY(calc(-50% - 1px));
  }

  #discoverStoresPrevious {
    left: -17px;
  }

  #discoverStoresNext {
    right: -17px;
  }
}

/* Keep every section content container on the same 1320px grid. */
main .container-xl {
  width: min(calc(100% - 40px), 1320px) !important;
  max-width: 1320px !important;
  margin-inline: auto !important;
}

@media (max-width: 575.98px) {
  .network-stats-section .network-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    overflow: visible;
    padding: 0;
  }

  .network-stats-section .hero-stat {
    min-height: 150px;
    padding: 18px 12px;
    gap: 10px;
    border-radius: 20px;
  }

  .network-stats-section .hero-stat-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    font-size: 1.1rem;
  }

  .network-stats-section .hero-stat-content {
    display: grid;
    min-width: 0;
    padding: 0;
    text-align: left;
  }

  .network-stats-section .hero-stat strong {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
    line-height: 1.1;
    white-space: normal;
  }

  .network-stats-section .hero-stat span {
    font-size: clamp(.72rem, 3.2vw, .9rem);
    line-height: 1.25;
    overflow-wrap: normal;
  }
}

/* Mobile discover section: shared gutter, aligned heading and full-width carousel. */
@media (max-width: 767.98px) {
  .discover-local-stores-section>.container-xl {
    width: min(calc(100% - 32px), 1320px) !important;
    max-width: 1320px !important;
    margin-inline: auto !important;
  }

  .discover-local-stores-heading {
    align-items: center;
    gap: 8px;
  }

  .discover-local-stores-heading h2 {
    max-width: none;
    flex: 1 1 auto;
    font-size: clamp(1rem, 4.6vw, 1.25rem);
    line-height: 1.15;
  }

  .discover-carousel-shell {
    position: relative;
    display: block;
    width: 100%;
  }

  .discover-stores-viewport {
    width: 100%;
  }

  .discover-stores-track {
    gap: 12px;
  }

  .discover-store-card {
    flex: 0 0 84%;
  }

  .discover-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
  }

  .discover-carousel-arrow:hover:not(:disabled) {
    transform: translateY(calc(-50% - 1px));
  }

  #discoverStoresPrevious {
    left: 5px;
  }

  #discoverStoresNext {
    right: 5px;
  }
}

/* Standalone network stats must flow with their section, not inherit hero overlay positioning. */
.network-stats-section .network-stats-grid {
  position: relative;
  inset: auto;
  width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 575.98px) {
  .network-stats-section .network-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(82px, auto);
    gap: 10px;
    padding: 0;
  }

  .network-stats-section .hero-stat {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    min-height: 82px;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .network-stats-section .hero-stat-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    font-size: .9rem;
  }

  .network-stats-section .hero-stat-content {
    display: grid;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    text-align: left;
  }

  .network-stats-section .hero-stat strong,
  .network-stats-section .hero-stat:nth-child(4) .hero-stat-content strong {
    font-size: 1.2rem !important;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  .network-stats-section .hero-stat span {
    font-size: .6rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: normal;
  }
}
/* Phone-only connected stores table: show serial and shop details. */
@media (max-width: 575.98px) {
  .connected-mobile-label { display: inline; }
  .connected-desktop-label { display: none; }

  .connected-table-scroll {
    max-height: none;
    overflow-x: hidden;
  }

  .connected-store-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .connected-store-table th:nth-child(1),
  .connected-store-table td:nth-child(1),
  .connected-store-table th:nth-child(3),
  .connected-store-table td:nth-child(3) {
    display: table-cell !important;
  }

  .connected-store-table th:nth-child(1),
  .connected-store-table td:nth-child(1) {
    width: 54px;
  }

  .connected-store-table th:nth-child(3),
  .connected-store-table td:nth-child(3) {
    width: auto;
  }

  .connected-store-table th:nth-child(2), .connected-store-table td:nth-child(2),
  .connected-store-table th:nth-child(4), .connected-store-table td:nth-child(4),
  .connected-store-table th:nth-child(5), .connected-store-table td:nth-child(5),
  .connected-store-table th:nth-child(6), .connected-store-table td:nth-child(6),
  .connected-store-table th:nth-child(7), .connected-store-table td:nth-child(7) {
    display: none !important;
  }

  .connected-store-table thead th:nth-child(3) {
    position: static;
  }

  .connected-shop-cell {
    position: static;
    width: auto;
    min-width: 0;
    box-shadow: none;
  }

  .connected-shop-cell strong {
    font-size: .9rem;
  }

  .connected-shop-cell small {
    display: inline-block;
    vertical-align: middle;
  }

  .connected-mobile-shop-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
    color: #48665a;
    font-size: .72rem;
    line-height: 1.3;
  }

  .connected-mobile-shop-meta span {
    display: inline;
    font-weight: 500;
  }

  .connected-mobile-shop-meta span:first-child {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    line-height: 1.2;
    color: #111;
    font-weight: 700;
  }

  .connected-mobile-shop-meta span.connected-mobile-category:first-child {
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid #d7ece2;
    border-radius: 999px;
    color: #17684f;
    background: #f0faf5;
    font-weight: 600;
    white-space: nowrap;
  }

  .connected-mobile-shop-meta .connected-mobile-discount {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    color: #087b3d;
    font-weight: 700;
    white-space: nowrap;
  }

  .connected-mobile-shop-meta .connected-mobile-discount strong {
    color: #087b3d;
    font-weight: 700;
  }

  .connected-mobile-shop-meta .connected-mobile-discount b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 2px;
    padding: 3px 8px;
    border-radius: 9px;
    color: #7a4b00;
    background: #fff1c7;
    font-weight: 700;
    white-space: nowrap;
  }

  .connected-mobile-shop-meta .connected-mobile-discount b i {
    color: #8a5a00;
    font-size: .72em;
  }

  .connected-shop-cell .connected-mobile-details-button {
    display: inline-flex;
    vertical-align: middle;
    margin: 2px 0 0 8px;
  }
  .connected-shop-cell small {
    margin-top: 2px;
    font-size: .75rem;
  }

  .connected-mobile-details-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: 8px;
    padding: 5px 12px;
    border: 1px solid #078342;
    border-radius: 7px;
    color: #078342;
    background: #fff;
    font: inherit;
    font-size: .75rem;
    font-weight: 600;
  }
}

@media (min-width: 576px) {
  .connected-mobile-label,
  .connected-mobile-details-button,
  .connected-mobile-shop-meta { display: none; }
}
/* Make the tappable call action easy to recognize in the mobile shop-details popup. */
@media (max-width: 767.98px) {
  .connected-details-contact-actions .connected-contact-call {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    margin: 0 2px 0 0;
    border: 1px solid #087a50;
    border-radius: 50%;
    color: #fff;
    background: #078344;
    box-shadow: 0 3px 9px rgba(7, 131, 68, .28);
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .connected-details-contact-actions .connected-contact-call:hover,
  .connected-details-contact-actions .connected-contact-call:active {
    color: #fff;
    background: #056b38;
    box-shadow: 0 4px 12px rgba(7, 131, 68, .34);
    transform: scale(1.05);
  }

  .connected-details-contact-actions .connected-contact-call:focus-visible {
    outline: 3px solid rgba(7, 131, 68, .3);
    outline-offset: 3px;
  }
}
@media (max-width: 767.98px) {
  .connected-details-contact-actions .connected-contact-whatsapp {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    margin: 0 0 0 2px;
    border: 1px solid #16a34a;
    border-radius: 50%;
    color: #fff;
    background: #16a34a;
    box-shadow: 0 3px 9px rgba(7, 131, 68, .28);
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }

  .connected-details-contact-actions .connected-contact-whatsapp:hover,
  .connected-details-contact-actions .connected-contact-whatsapp:active {
    color: #fff;
    background: #128c3c;
    box-shadow: 0 4px 12px rgba(7, 131, 68, .34);
    transform: scale(1.05);
  }

  .connected-details-contact-actions .connected-contact-whatsapp:focus-visible {
    outline: 3px solid rgba(7, 131, 68, .3);
    outline-offset: 3px;
  }
}
/* Searchable mobile dropdowns for the connected-store filters. */
.connected-filter-mobile-picker {
  display: none;
}

@media (max-width: 767.98px) {
  .connected-filter-control>select,
  .connected-filter-control>.chosen-container {
    display: none !important;
  }

  .connected-filter-mobile-picker {
    position: relative;
    display: block;
    width: 100%;
  }

  .connected-filter-control.has-mobile-picker-open {
    z-index: 20;
  }

  .connected-filter-mobile-trigger {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 36px 0 37px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    color: var(--ink, #26372f);
    background: rgba(255, 255, 255, .96);
    font: inherit;
    font-size: 1rem;
    text-align: left;
  }

  .connected-filter-mobile-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .connected-filter-mobile-trigger i {
    flex: 0 0 auto;
    color: #078344;
    font-size: .8rem;
  }

  .connected-filter-mobile-picker.is-open .connected-filter-mobile-trigger {
    border-color: #76e4aa;
    box-shadow: 0 0 0 3px rgba(118, 228, 170, .18);
  }

  .connected-filter-mobile-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    padding: 9px;
    border: 1px solid #d7e2db;
    border-radius: 11px;
    color: #35483d;
    background: #fff;
    box-shadow: 0 14px 30px rgba(10, 52, 37, .24);
  }

  .connected-filter-mobile-panel[hidden] {
    display: none !important;
  }

  .connected-filter-mobile-search-wrap {
    position: relative;
    margin-bottom: 7px;
  }

  .connected-filter-mobile-search-wrap>i {
    position: absolute;
    top: 50%;
    right: 11px;
    color: #74827a;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .connected-filter-mobile-search {
    width: 100%;
    min-height: 40px;
    padding: 7px 34px 7px 10px;
    border: 1px solid #d6e1d9;
    border-radius: 7px;
    color: #23372d;
    background: #fff;
    font: inherit;
    font-size: .9rem;
  }

  .connected-filter-mobile-search:focus {
    border-color: #4b9870;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(45, 143, 88, .1);
  }

  .connected-filter-mobile-options {
    display: grid;
    max-height: min(240px, 35vh);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .connected-filter-mobile-option {
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    color: #35483d;
    background: #fff;
    font: inherit;
    font-size: .92rem;
    text-align: left;
  }

  .connected-filter-mobile-option[aria-selected="true"],
  .connected-filter-mobile-option:hover {
    color: #fff;
    background: #16834b;
  }

  .connected-filter-mobile-empty {
    margin: 8px 4px 2px;
    color: #718078;
    font-size: .85rem;
  }
}
