/* Retailer content uses the typography and palette from styles.css. */
.live-retailers h2 span { color: var(--blue); }
.live-retailers .section-heading { margin-bottom: 32px; }
.store-directory-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.store-directory-tools[hidden] { display: none; }
.store-search { display: flex; align-items: center; gap: 12px; width: min(100%, 440px); padding: 0 18px; min-height: 56px; background: white; border: 1px solid #b8c2b2; border-radius: 14px; }
.store-search svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--muted); }
.store-search:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.store-search input { width: 100%; min-width: 0; padding: 16px 0; font-size: 17px; background: transparent; color: var(--ink); border: 0; outline: 0; }
.store-search input::placeholder { color: var(--muted); opacity: 1; }
.live-store-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 6px; list-style: none; margin: 0 -6px; padding: 6px 6px 20px; scrollbar-width: thin; scrollbar-color: #87967c #e7eddc; }
.live-store-track > li { flex: 0 0 360px; min-width: 0; scroll-snap-align: start; }
.live-store-track::-webkit-scrollbar { height: 8px; }
.live-store-track::-webkit-scrollbar-track { background: #e7eddc; border-radius: 10px; }
.live-store-track::-webkit-scrollbar-thumb { background: #87967c; border-radius: 10px; }
.live-store-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 18px; height: 100%; min-height: 144px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .18s, background .18s; }
.live-store-card:hover, .live-store-card[aria-expanded="true"] { background: #f0f4ff; border-color: var(--blue); }
.live-store-card:is(:hover, :focus-visible) h3 { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.live-store-logo { display: grid; position: relative; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #eff3e9; color: var(--blue); }
.live-store-logo > svg { width: 30px; height: 30px; }
.live-store-logo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: white; padding: 5px; }
.live-store-logo > img[hidden] { display: none; }
.live-store-copy { min-width: 0; }
.live-store-copy h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.4px; overflow-wrap: anywhere; }
.live-store-location { margin-top: 8px; font-size: 16px; line-height: 1.45; }
.store-empty { padding: 28px 0; }
/* A fixed, nonmodal pane on desktop; a full-screen sheet on small screens. */
.store-pane { position: fixed; inset: 0 0 0 auto; z-index: 30; width: min(480px, 100%); height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: -16px 0 48px #19251f24; overflow: hidden; }
.store-pane[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: store-pane-enter .22s ease-out; }
.store-pane::backdrop { background: transparent; }
.store-pane-mobile-open { overflow: hidden; }
.store-pane-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.store-pane-header h2 { font-size: 20px; line-height: 1.3; letter-spacing: -.6px; overflow-wrap: anywhere; }
.store-pane-header p { font-size: 16px; margin-top: 4px; }
.store-pane-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid #b8c2b2; border-radius: 50%; background: transparent; }
.store-pane-close:hover { background: var(--lime); }
.store-pane-close svg { width: 22px; height: 22px; }
.store-preview-frame { width: 100%; height: 100%; min-height: 0; border: 0; background: white; }
.store-pane-footer { display: flex; justify-content: flex-end; padding: 12px 24px; border-top: 1px solid var(--line); }
.store-pane-footer .text-link { min-height: 36px; font-size: 16px; }
@keyframes store-pane-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .store-pane[open] { animation: none; }
}
@media (max-width: 700px) {
  .store-pane { width: 100%; border: 0; }
  .store-pane-header { padding: max(16px, env(safe-area-inset-top)) 18px 16px; gap: 16px; }
  .store-pane-header h2 { font-size: 18px; }
  .store-pane-header p { font-size: 15px; }
  .store-pane-footer { padding: 10px 18px max(10px, env(safe-area-inset-bottom)); }
}
@media (max-width: 650px) {
  .store-directory-tools { margin-bottom: 20px; }
  .store-search { width: 100%; }
  .live-store-track { gap: 12px; }
  .live-store-track > li { flex-basis: 86%; }
  .live-store-card { min-height: 140px; padding: 20px 18px; gap: 14px; }
}
.retailer-page .store-phone { top: 5%; padding: 12px 16px 15px; }
.retailer-page .store-name { margin-top: 16px; font-size: 14px; }
.retailer-page .store-icon { width: 34px; height: 34px; font-size: 24px; }
.retailer-page .store-phone h2 { font-size: 30px; margin: 17px 0 12px; }
.retailer-page .store-item { padding: 10px 0; gap: 8px; }
.retailer-page .store-item strong { font-size: 12px; }
.retailer-page .store-item div > span { margin-top: 3px; }
.retailer-page .store-price { flex: 0 0 auto; text-align: right; display: grid; gap: 2px; }
.store-price b { font-size: 15px; line-height: 1.1; }
.store-price del { font-size: 11px; color: var(--muted); }
.retailer-page .store-price > span { font-size: 10px; color: var(--blue); font-weight: 600; margin: 0; }
.retailer-page .whatsapp-order { font-size: 13px; padding: 13px 10px; margin-top: 8px; }
.retailer-page .retailer-art .art-label { left: 24px; right: auto; bottom: 22px; }
.toothpaste { background: #cbdcfd; color: #2448a2; width: 29px; margin-inline: 4px; height: 43px; border-radius: 3px 3px 8px 8px; }
.retailer-page .section-heading > p { max-width: 330px; }
.retailer-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.retailer-feature-grid article { padding: 32px; border: 1px solid var(--line); border-radius: 24px; }
.retailer-feature-grid article:nth-child(2) { background: #e7eddc; border-color: #e7eddc; }
.retailer-feature-grid article:nth-child(3) { background: #e4eaff; border-color: #e4eaff; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 29px; margin-bottom: 35px; }
.feature-icon .ui-icon { width: 25px; height: 25px; }
.retailer-feature-grid h3 { font-size: 24px; }
.retailer-feature-grid p { font-size: 17px; margin-top: 16px; }
.retailer-value { background: #ecefe6; }
.retailer-value h2 span { color: var(--blue); }
.retailer-value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.retailer-value-grid article { padding: 32px; border: 1px solid #cbd4c2; border-radius: 24px; }
.value-icon { display: block; width: 42px; height: 42px; color: var(--blue); margin-bottom: 32px; }
.retailer-value-grid h3 { font-size: 25px; line-height: 1.3; }
.retailer-value-grid p { margin-top: 18px; font-size: 18px; }
.retailer-value-grid .retail-media-card { background: var(--blue); color: white; border-color: var(--blue); }
.retail-media-card .value-icon { color: var(--lime); }
.retail-media-card p { color: #edf1ff; }
.retailer-cashback .section-heading > p { color: #bdcbb5; }
.cashback-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0 0 44px; gap: 20px; list-style: none; counter-reset: cashback; }
.cashback-steps li { counter-increment: cashback; display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.5; color: #e7eddf; }
.cashback-steps li::before { content: counter(cashback); width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #6f8063; border-radius: 50%; font-size: 15px; color: var(--lime); }
.cashback-parties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cashback-parties article { padding: 29px 24px; background: #29372b; border-radius: 20px; }
.cashback-parties h3 { color: #bfd0af; font: 500 17px 'DM Sans', sans-serif; letter-spacing: 0; margin-bottom: 25px; }
.cashback-parties strong { font: 600 24px/1.25 Manrope, sans-serif; letter-spacing: -.7px; }
.cashback-parties p { color: #c6d0bf; font-size: 16px; margin-top: 15px; }
.cashback-parties .store-party { background: var(--lime); color: var(--ink); }
.cashback-parties .store-party h3, .cashback-parties .store-party p { color: #41522b; }
.retailer-cashback .text-link { color: var(--lime); margin-top: 30px; }
.retailer-cashback :focus-visible { outline-color: var(--lime); }
.retailer-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.retailer-app-card { border-radius: 28px; padding: 40px; display: flex; align-items: flex-start; flex-direction: column; }
.merchant-app { background: #e7eddc; }
.shopper-app { background: #e2e9ff; }
.app-card-header { display: flex; gap: 20px; align-items: center; }
.app-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--paper); flex-shrink: 0; }
.app-audience { display: block; color: var(--muted); font-size: 16px; margin-bottom: 6px; }
.app-card-header h3 { font-size: 28px; letter-spacing: -1px; }
.retailer-app-card ul { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 14px; font-size: 18px; line-height: 1.5; }
.retailer-app-card li { display: flex; gap: 12px; }
.retailer-app-card li::before { content: '✓'; color: var(--blue); }
.retailer-app-card .button { margin-top: auto; }
.retailer-app-links { display: flex; gap: 35px; flex-wrap: wrap; margin-top: 24px; }
.retailer-page .faqs .text-link { margin-top: 12px; color: var(--blue); }
.retailer-contact { color: white; background: var(--blue); }
.retailer-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.retailer-contact h2 span { color: var(--lime); }
.retailer-contact .retailer-talk-phone { margin-top: 25px; }
.retailer-contact .retailer-talk-phone:hover { color: var(--lime); }
.retailer-contact .retailer-talk-actions { margin-top: 24px; }
.retailer-support { border-left: 1px solid #8fa8fb; padding: 15px 0 15px 50px; }
.retailer-support h3 { font-size: 24px; margin-bottom: 20px; }
.retailer-support p { color: #e7edff; font-size: 18px; line-height: 1.7; margin: 20px 0; }
.retailer-support > a:last-child { display: inline-flex; gap: 20px; align-items: center; font-size: 18px; }
.retailer-contact :focus-visible { outline-color: var(--lime); }
.retailer-footer .footer-top p { font-size: 18px; }
.retailer-footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; padding-bottom: 42px; }
.retailer-footer-grid > div { display: flex; align-items: flex-start; flex-direction: column; gap: 13px; }
.retailer-footer-grid h2 { font-size: 18px; letter-spacing: -.3px; margin-bottom: 8px; }
.retailer-footer-grid a, .retailer-footer-grid span { font-size: 16px; line-height: 1.5; color: var(--muted); }
.retailer-footer-grid a { min-height: 28px; }

@media (max-width: 1100px) {
  .retailer-feature-grid { gap: 18px; }
  .retailer-feature-grid article { padding: 26px; }
  .retailer-feature-grid h3 { font-size: 22px; }
  .retailer-value-grid { gap: 18px; }
  .retailer-value-grid article { padding: 26px; }
  .retailer-value-grid h3 { font-size: 22px; }
  .cashback-parties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cashback-parties article { padding: 30px; }
  .cashback-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
  .retailer-app-card { padding: 30px; }
  .app-card-header { gap: 16px; }
  .app-card-header h3 { font-size: 24px; }
  .retailer-contact-grid { gap: 40px; }
  .retailer-support { padding-left: 30px; }
}
@media (max-width: 800px) {
  .retailer-page .retailer-art { height: 660px; }
  .retailer-page .section-heading { align-items: flex-start; flex-direction: column; gap: 25px; }
  .retailer-page .section-heading > p { max-width: 500px; }
  .retailer-feature-grid { grid-template-columns: 1fr; }
  .retailer-feature-grid article { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .retailer-feature-grid p { margin: 0; }
  .retailer-value-grid { grid-template-columns: 1fr; }
  .retailer-value-grid h3 br { display: none; }
  .value-icon { margin-bottom: 24px; }
  .retailer-app-grid { grid-template-columns: 1fr; }
  .retailer-contact-grid { grid-template-columns: 1fr; }
  .retailer-support { border-left: 0; border-top: 1px solid #8fa8fb; padding: 30px 0 0; }
  .retailer-footer-grid { gap: 30px; }
}
@media (max-width: 540px) {
  .retailer-page .retailer-art { height: 545px; min-height: 545px; }
  .retailer-page .store-phone { top: 6%; right: 4%; }
  .retailer-page .retailer-art .art-label { left: 16px; bottom: 17px; }
  .retailer-feature-grid article { padding: 26px 22px; grid-template-columns: 1fr; gap: 0; }
  .feature-icon { grid-row: auto; margin-bottom: 25px; }
  .retailer-feature-grid p { margin-top: 13px; }
  .retailer-value-grid { margin-top: 32px; }
  .retailer-value-grid article { padding: 28px 24px; }
  .cashback-steps { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .cashback-parties { grid-template-columns: 1fr; gap: 16px; }
  .cashback-parties article { padding: 27px; }
  .cashback-parties h3 { margin-bottom: 13px; }
  .retailer-app-card { padding: 28px 23px; border-radius: 24px; }
  .app-card-header { gap: 13px; }
  .app-mark { width: 58px; height: 58px; border-radius: 16px; }
  .app-mark img { width: 36px; height: 36px; }
  .app-card-header h3 { font-size: 22px; }
  .app-audience { font-size: 15px; }
  .retailer-app-card ul { font-size: 17px; margin-block: 25px; }
  .retailer-app-card .button { max-width: 100%; padding-inline: 18px; gap: 16px; }
  .retailer-app-links { gap: 10px; flex-direction: column; }
  .retailer-contact-grid { gap: 35px; }
  .retailer-contact h2 { font-size: 42px; }
  .retailer-footer .footer-top { align-items: flex-start; flex-direction: column; gap: 23px; }
  .retailer-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .retailer-footer-grid > div { gap: 8px; }
  .retailer-footer-grid a { min-height: 36px; display: inline-flex; align-items: center; }
}
