/* Bounded Homepage footer integration.
 * Load AFTER /home/footer-design.css.
 * Visual rules below derive from home/fidelity.css, typography.css, interactions.css
 * and the Finder-only rules in home/home.css; no Homepage data boot is required.
 */
.guide-footer-integration {
  --sdd-red:#ff1730; --safe-bottom:env(safe-area-inset-bottom,0px); --homew:100vw;
  --ink:#101a3b; --red:#ff1028;
  --home-font-th:'Noto Sans Thai',sans-serif;
  --home-font-en:'Poppins','Noto Sans Thai',sans-serif;
  background:#fff;color:#101a3b;font-family:var(--home-font-th);
  font-size:16px;line-height:26px;font-synthesis:none;
  -webkit-font-smoothing:antialiased;
}
.guide-footer-integration *, .guide-footer-integration *::before,
.guide-footer-integration *::after {box-sizing:border-box}
.guide-footer-integration :is(button,input,select,textarea) {font:inherit}
.guide-footer-integration button {cursor:pointer}
.guide-footer-integration a {color:inherit;text-decoration:none}
.guide-footer-integration img {display:block;max-width:100%}
.guide-footer-integration [hidden] {display:none!important}
.guide-footer-integration :is(h1,h2,h3,p,button,input,legend,label,strong) {letter-spacing:normal;word-break:normal}
.guide-footer-integration [lang=en] {font-family:var(--home-font-en)}
.guide-footer-width {width:100%;max-width:1440px;margin:0 auto;padding:0 44px 26px}
.guide-footer-integration .home-guide-dialog {
  width:min(600px,calc(100% - 32px));max-height:85vh;border:0;border-radius:18px;
  padding:28px;color:var(--ink);font:inherit;box-shadow:0 16px 70px #0003
}
.guide-footer-integration .home-guide-dialog::backdrop {background:#101a3b80}
.guide-footer-integration .home-guide-dialog form {text-align:right}
.guide-footer-integration .home-guide-dialog form button {
  border:0;border-radius:50%;width:36px;height:36px;font-size:25px;background:#f2f3f6;cursor:pointer
}
.guide-footer-integration .home-guide-dialog h2 {font-size:28px;line-height:36px;font-weight:700}
.guide-footer-integration .home-guide-dialog p {font-size:16px;line-height:26px}
.guide-footer-integration .home-guide-dialog a {color:var(--red);font-weight:600}
.guide-footer-integration :is(a,button,summary):focus-visible {outline:3px solid #e9002b!important;outline-offset:4px!important}
.guide-footer-integration .home-footer-contacts>a {
  transition:transform 180ms ease,box-shadow 180ms ease,background-color 180ms ease,border-color 180ms ease,color 180ms ease
}
.guide-footer-integration :is(.home-footer-links a,.home-footer-links button,.home-footer-legal a,.home-footer-legal button,.home-footer-group summary) {
  transition:color 160ms ease,background-color 160ms ease
}
@media(hover:hover) and (pointer:fine){
  .guide-footer-integration .home-footer-contacts>a:hover {transform:translateY(-2px)!important;box-shadow:0 5px 14px #b8002420}
  .guide-footer-integration :is(.home-footer-links a,.home-footer-links button,.home-footer-legal a,.home-footer-legal button):hover {color:#d60026;text-decoration:underline;text-underline-offset:4px}
  .guide-footer-integration .home-footer-group summary:hover {color:#d60026}
  .guide-footer-integration .home-footer-socials a:hover {outline:2px solid #d9dce5;outline-offset:5px}
}
.guide-footer-integration .home-footer-contacts>a:active {transform:translateY(0) scale(.985)!important;transition-duration:80ms}
/* Match the current Homepage's approved compact mobile/tablet contact pattern.
   The page loads shared/mobile-service.css/js for the actual mobile controls. */
@media(max-width:1100px){.guide-footer-integration .guide-footer-width{display:none!important}}

/* Source-derived Finder-only layout; selectors are isolated to this footer. */
.guide-footer-integration .home-backdrop{
  position:fixed;z-index:100;inset:0;background:rgba(13,17,24,.58);display:none
}
.guide-footer-integration .home-backdrop.is-open{display:block}
.guide-footer-integration .home-finder{
  position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,820px);max-height:88vh;overflow:auto;
  border-radius:28px 28px 0 0;background:#fff;padding:19px 25px calc(28px + var(--safe-bottom));box-shadow:0 -20px 60px rgba(8,14,23,.20)
}
.guide-footer-integration .home-finder-drag{width:92px;height:7px;border-radius:99px;background:#c7cbd3;margin:0 auto 20px}
.guide-footer-integration .home-finder-close{position:absolute;right:24px;top:22px;width:40px;height:40px;border:0;background:transparent;font-size:37px;line-height:1}
.guide-footer-integration .home-finder-title{display:flex;align-items:center;gap:13px;margin:0;font-size:34px;line-height:1;font-weight:900}
.guide-footer-integration .home-finder-title .dd{color:var(--sdd-red)}
.guide-footer-integration .home-finder-title svg{width:58px;height:58px;fill:none;stroke:var(--sdd-red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.guide-footer-integration .home-finder-sub{margin:8px 0 24px 89px;color:#7a879f;font-size:15px;font-weight:600}
.guide-footer-integration .home-finder-step{margin-top:22px}
.guide-footer-integration .home-finder-options{margin:13px 0 0 62px;display:grid;gap:10px}
.guide-footer-integration .home-finder-options.categories4{grid-template-columns:repeat(4,1fr)}
.guide-footer-integration .home-finder-options.budgets4{grid-template-columns:repeat(4,1fr)}
.guide-footer-integration .home-finder-options.services3{grid-template-columns:repeat(3,1fr)}
.guide-footer-integration .home-finder-option{
  min-height:62px;padding:9px;border:1px solid #e3e6ec;border-radius:14px;background:#fff;color:#222;font-size:13px;font-weight:750;text-align:center;
  box-shadow:0 4px 12px rgba(36,47,65,.04)
}
.guide-footer-integration .home-finder-option img{width:100%;height:60px;object-fit:contain;margin:0 auto 4px}
.guide-footer-integration .home-finder-option.is-selected{border:2px solid var(--sdd-red);background:#fff7f8;color:var(--sdd-red)}
.guide-footer-integration .home-finder-cta{
  width:100%;min-height:68px;margin-top:28px;border:0;border-radius:18px;background:var(--sdd-red);color:#fff;
  display:flex;align-items:center;justify-content:center;gap:20px;font-size:23px;font-weight:800
}
@media(max-width:640px){
.guide-footer-integration .home-finder{
    padding:calc(var(--homew)*.022) calc(var(--homew)*.025) calc(var(--homew)*.04 + var(--safe-bottom));
    border-radius:calc(var(--homew)*.03) calc(var(--homew)*.03) 0 0;
  }
.guide-footer-integration .home-finder-drag{
    width:calc(var(--homew)*.11);
    height:5px;
    margin-bottom:calc(var(--homew)*.022);
  }
.guide-footer-integration .home-finder-close{right:13px;top:11px;width:34px;height:34px;font-size:28px}
.guide-footer-integration .home-finder-title{font-size:calc(var(--homew)*.039);gap:8px}
.guide-footer-integration .home-finder-title svg{width:calc(var(--homew)*.065);height:calc(var(--homew)*.065)}
.guide-footer-integration .home-finder-sub{margin:4px 0 calc(var(--homew)*.023) calc(var(--homew)*.09);font-size:calc(var(--homew)*.018)}
.guide-footer-integration .home-finder-step{margin-top:calc(var(--homew)*.023)}
.guide-footer-integration .home-finder-options{margin:calc(var(--homew)*.014) 0 0 calc(var(--homew)*.073);gap:6px}
.guide-footer-integration .home-finder-option{
    min-height:calc(var(--homew)*.077);
    padding:6px;
    border-radius:calc(var(--homew)*.015);
    font-size:calc(var(--homew)*.015);
  }
.guide-footer-integration .home-finder-option img{height:calc(var(--homew)*.067);margin-bottom:2px}
.guide-footer-integration .home-finder-cta{
    min-height:calc(var(--homew)*.083);
    margin-top:calc(var(--homew)*.028);
    border-radius:calc(var(--homew)*.02);
    font-size:calc(var(--homew)*.026);
  }
}
.guide-footer-integration .home-finder-sticker{
  position:absolute;
  top:72px;
  right:28px;
  padding:10px 13px 8px;
  border-radius:15px;
  background:#fff1f3;
  color:var(--sdd-red);
  font-family:"Comic Sans MS","Bradley Hand",cursive;
  font-size:15px;
  font-weight:700;
  line-height:1.1;
  text-align:center;
  transform:rotate(-7deg);
  box-shadow:0 4px 12px rgba(255,23,48,.05);
  pointer-events:none;
}
.guide-footer-integration .home-finder-option-icon{
  width:34px;
  height:34px;
  flex:none;
  display:grid;
  place-items:center;
  margin:0 auto 4px;
}
.guide-footer-integration .home-finder-option-icon svg{
  width:32px;
  height:32px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.guide-footer-integration .home-finder-options.services3 .home-finder-option{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:left;
}
.guide-footer-integration .home-finder-options.services3 .home-finder-option .home-finder-option-icon{
  margin:0;
}
.guide-footer-integration .home-finder-options.services3 .home-finder-option>span:last-child{
  display:block;
  min-width:0;
}
.guide-footer-integration .home-finder-options.services3 .home-finder-option small{
  display:block;
  margin-top:2px;
  color:#8a95a8;
  font-size:.88em;
  font-weight:600;
}
.guide-footer-integration .home-finder-option.is-selected small{color:#9f5964}
@media(max-width:640px){
.guide-footer-integration .home-finder-sticker{
    top:calc(var(--homew)*.165);
    right:calc(var(--homew)*.04);
    padding:calc(var(--homew)*.012) calc(var(--homew)*.016);
    border-radius:calc(var(--homew)*.02);
    font-size:calc(var(--homew)*.019);
  }
.guide-footer-integration .home-finder-option-icon{
    width:calc(var(--homew)*.05);
    height:calc(var(--homew)*.05);
    min-width:21px;
    min-height:21px;
  }
.guide-footer-integration .home-finder-option-icon svg{
    width:100%;
    height:100%;
  }
.guide-footer-integration .home-finder-options.services3 .home-finder-option{
    gap:calc(var(--homew)*.008);
    text-align:left;
  }
}
@media(min-width:641px) and (max-width:1024px){
.guide-footer-integration .home-finder{
    width:min(96vw,900px);
    max-height:90vh;
    padding:20px 28px calc(30px + var(--safe-bottom));
    border-radius:30px 30px 0 0;
  }
.guide-footer-integration .home-finder-title{font-size:32px}
.guide-footer-integration .home-finder-sub{font-size:15px}
.guide-footer-integration .home-finder-sticker{right:34px}
}
@media(min-width:1025px){
.guide-footer-integration .home-finder{
    width:min(calc(100vw - 80px),940px);
    max-height:90vh;
    padding:22px 32px calc(32px + var(--safe-bottom));
    border-radius:32px 32px 0 0;
  }
.guide-footer-integration .home-finder-title{font-size:35px}
.guide-footer-integration .home-finder-title svg{width:60px;height:60px}
.guide-footer-integration .home-finder-sub{margin-left:94px;font-size:15px}
.guide-footer-integration .home-finder-option{min-height:68px;font-size:13.5px}
.guide-footer-integration .home-finder-cta{min-height:70px;font-size:23px}
}
.guide-footer-integration .home-finder--progressive{
  width:min(calc(100vw - 32px),620px);
  max-height:min(76vh,680px);
  overflow:auto;
  padding:20px 22px calc(20px + var(--safe-bottom));
  border-radius:24px 24px 0 0;
}
.guide-footer-integration .home-finder--progressive .home-finder-sub{margin:4px 44px 14px 40px}
.guide-footer-integration .home-finder-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 20px 40px;color:#667085;font-size:13px;font-weight:700}
.guide-footer-integration .home-finder-progress-track{display:flex;align-items:center;gap:6px;flex:1;max-width:130px}
.guide-footer-integration .home-finder-progress-track i{display:block;height:5px;flex:1;border-radius:999px;background:#e6e8ed}
.guide-footer-integration .home-finder-progress-track i.is-active{background:var(--sdd-red)}
.guide-footer-integration .home-finder-page[hidden]{display:none!important}
.guide-footer-integration .home-finder-page.is-active{animation:homeFinderIn .18s ease-out}
@keyframes homeFinderIn{from{opacity:.35;transform:translateX(8px)}to{opacity:1;transform:none}}
.guide-footer-integration .home-finder-question h3{margin:0;font-size:22px;line-height:1.25}
.guide-footer-integration .home-finder-question p{margin:5px 0 0;color:#7b8494;font-size:14px}
.guide-footer-integration .home-finder--progressive .home-finder-options{margin:16px 0 0;gap:10px}
.guide-footer-integration .home-finder-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-footer-integration .home-finder-category-grid .home-finder-option{min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:16px;font-weight:800}
.guide-footer-integration .home-finder-category-grid .home-finder-option img{height:70px;max-width:92%;object-fit:contain;margin:0 0 5px}
.guide-footer-integration .home-finder-choice-list{display:grid;grid-template-columns:1fr}
.guide-footer-integration .home-finder-choice-list .home-finder-option{min-height:68px;text-align:left;justify-content:flex-start;padding:12px 16px;font-size:16px}
.guide-footer-integration .home-finder-choice-list .home-finder-option strong{display:block;font-size:16px}
.guide-footer-integration .home-finder-choice-list .home-finder-option small{display:block;margin-top:2px;color:#7b8494;font-size:12px;font-weight:600;line-height:1.35}
.guide-footer-integration .home-finder-service-list .home-finder-option{display:flex;align-items:center;gap:14px}
.guide-footer-integration .home-finder-service-list .home-finder-option-icon{flex:0 0 auto;width:34px;height:34px}
.guide-footer-integration .home-finder--progressive .home-finder-option.is-selected{border-color:var(--sdd-red);box-shadow:0 0 0 1px var(--sdd-red);background:#fff8f9;color:#d71129}
.guide-footer-integration .home-finder-skip-category,
.guide-footer-integration .home-finder-skip{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-top:10px;border:0;background:transparent;color:#5f6878;font:700 14px/1.3 "Noto Sans Thai",sans-serif;text-decoration:underline;text-underline-offset:3px}
.guide-footer-integration .home-finder-actions{display:flex;gap:10px;margin-top:18px}
.guide-footer-integration .home-finder-back,
.guide-footer-integration .home-finder-cta{min-height:50px;border-radius:12px;font-size:15px;font-weight:800}
.guide-footer-integration .home-finder-back{flex:0 0 112px;border:1px solid #d8dde5;background:#fff;color:#303744}
.guide-footer-integration .home-finder--progressive .home-finder-cta{flex:1;margin:0}
.guide-footer-integration .home-finder--progressive .home-finder-sticker,
.guide-footer-integration .home-finder--progressive .home-step-head{display:none!important}
@media(max-width:640px){
.guide-footer-integration .home-finder--progressive{width:100%;max-height:72vh;padding:14px 16px calc(16px + var(--safe-bottom));border-radius:20px 20px 0 0}
.guide-footer-integration .home-finder--progressive .home-finder-drag{margin-bottom:10px}
.guide-footer-integration .home-finder--progressive .home-finder-title{font-size:20px!important}
.guide-footer-integration .home-finder--progressive .home-finder-title svg{width:32px!important;height:32px!important}
.guide-footer-integration .home-finder--progressive .home-finder-sub{margin:2px 42px 10px 40px!important;font-size:12px!important}
.guide-footer-integration .home-finder-progress{margin:0 0 14px 40px;font-size:12px}
.guide-footer-integration .home-finder-question h3{font-size:19px}
.guide-footer-integration .home-finder-question p{font-size:12px}
.guide-footer-integration .home-finder-category-grid{gap:8px!important}
.guide-footer-integration .home-finder-category-grid .home-finder-option{min-height:94px!important;font-size:14px!important}
.guide-footer-integration .home-finder-category-grid .home-finder-option img{height:54px!important}
.guide-footer-integration .home-finder-choice-list{gap:8px!important}
.guide-footer-integration .home-finder-choice-list .home-finder-option{min-height:60px!important;padding:10px 13px!important}
.guide-footer-integration .home-finder-choice-list .home-finder-option strong{font-size:14px}
.guide-footer-integration .home-finder-choice-list .home-finder-option small{font-size:11px}
.guide-footer-integration .home-finder-service-list .home-finder-option{min-height:66px!important}
.guide-footer-integration .home-finder-actions{margin-top:12px}
.guide-footer-integration .home-finder-back,
.guide-footer-integration .home-finder-cta{min-height:46px!important}
.guide-footer-integration .home-finder-skip{min-height:36px;margin-top:5px;font-size:12px}
}
.guide-footer-integration .home-finder-category-grid .home-finder-option{
  overflow:hidden;
  position:relative;
}
.guide-footer-integration .home-finder-category-grid .home-finder-option img{
  width:96px;
  height:70px;
  max-width:none;
  object-fit:contain;
  margin:0 0 5px;
}
.guide-footer-integration .home-finder-category-grid [data-finder-category="tv"] img{transform:scale(2.35)}
.guide-footer-integration .home-finder-category-grid [data-finder-category="refrigerator"] img{transform:scale(2.65)}
.guide-footer-integration .home-finder-category-grid [data-finder-category="laundry"] img{transform:scale(2.55)}
.guide-footer-integration .home-finder-category-grid [data-finder-category="aircon"] img{transform:scale(2.35)}
.guide-footer-integration .home-finder-category-grid .home-finder-option>span{
  position:relative;
  z-index:1;
  margin-top:4px;
  padding:2px 7px;
  border-radius:8px;
  background:rgba(255,255,255,.92);
}
@media(max-width:640px){
.guide-footer-integration .home-finder-category-grid .home-finder-option img{
    width:88px!important;
    height:56px!important;
    max-width:none!important;
  }
.guide-footer-integration .home-finder-category-grid [data-finder-category="tv"] img{transform:scale(2.35)!important}
.guide-footer-integration .home-finder-category-grid [data-finder-category="refrigerator"] img{transform:scale(2.65)!important}
.guide-footer-integration .home-finder-category-grid [data-finder-category="laundry"] img{transform:scale(2.55)!important}
.guide-footer-integration .home-finder-category-grid [data-finder-category="aircon"] img{transform:scale(2.35)!important}
}
.guide-footer-integration .home-finder--progressive .home-finder-title{align-items:center}
.guide-footer-integration .home-finder--progressive .home-finder-sub{line-height:1.45}
.guide-footer-integration .home-finder--progressive .home-finder-progress{align-items:center}
.guide-footer-integration .home-finder-question{margin-top:0}
.guide-footer-integration .home-finder-question h3{letter-spacing:-.015em}
.guide-footer-integration .home-finder-choice-list .home-finder-option{
  box-sizing:border-box;
}
.guide-footer-integration .home-finder-service-list .home-finder-option{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  align-items:center;
  column-gap:14px;
  text-align:left;
}
.guide-footer-integration .home-finder-service-list .home-finder-option-icon{
  width:64px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.guide-footer-integration .home-finder-service-list .home-finder-option-icon svg{
  width:36px;
  height:36px;
}
.guide-footer-integration .home-finder-service-list .home-finder-option>span:last-child{
  min-width:0;
  display:block;
}
.guide-footer-integration .home-finder-service-list .home-finder-option strong{
  display:block;
  margin:0;
  font-size:16px;
  line-height:1.28;
  letter-spacing:-.01em;
}
.guide-footer-integration .home-finder-service-list .home-finder-option strong>span{
  display:block;
}
.guide-footer-integration .home-finder-service-list .home-finder-option small{
  margin-top:4px;
  font-size:12px;
  line-height:1.4;
}
@media(max-width:640px){
.guide-footer-integration .home-finder--progressive{
    padding-top:12px;
  }
.guide-footer-integration .home-finder--progressive .home-finder-drag{
    margin-bottom:8px;
  }
.guide-footer-integration .home-finder--progressive .home-finder-sub{
    margin-top:0!important;
    margin-bottom:8px!important;
    line-height:1.4!important;
  }
.guide-footer-integration .home-finder-progress{
    margin-bottom:12px;
  }
.guide-footer-integration .home-finder-question h3{
    font-size:18px;
    line-height:1.28;
  }
.guide-footer-integration .home-finder-question p{
    margin-top:4px;
    line-height:1.4;
  }
.guide-footer-integration .home-finder-choice-list .home-finder-option{
    min-height:56px!important;
    padding:9px 14px!important;
  }
.guide-footer-integration .home-finder-choice-list .home-finder-option strong{
    line-height:1.25;
  }
.guide-footer-integration .home-finder-choice-list .home-finder-option small{
    margin-top:3px;
    line-height:1.35;
  }
.guide-footer-integration .home-finder-service-list .home-finder-option{
    grid-template-columns:62px minmax(0,1fr)!important;
    min-height:70px!important;
    column-gap:12px!important;
    padding:10px 14px!important;
  }
.guide-footer-integration .home-finder-service-list .home-finder-option-icon{
    width:62px!important;
    height:46px!important;
  }
.guide-footer-integration .home-finder-service-list .home-finder-option-icon svg{
    width:34px!important;
    height:34px!important;
  }
.guide-footer-integration .home-finder-service-list .home-finder-option strong{
    font-size:14px;
    line-height:1.24;
  }
.guide-footer-integration .home-finder-service-list .home-finder-option small{
    font-size:11px;
    line-height:1.35;
    margin-top:3px;
  }
.guide-footer-integration .home-finder-actions{
    align-items:stretch;
  }
}

@media(prefers-reduced-motion:reduce){
 .guide-footer-integration *, .guide-footer-integration *::before, .guide-footer-integration *::after {
   animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}

