/* The Recommended installers page in the new look (block 94, inc/installers.php). Design system B, Warm Nordic,
   rules in DESIGN.md. The top copies the Authorised retailers page: a photo band over the whole width with a plum
   shade, then a cream bar half on the photo. Here the bar holds the state switch, with the white plate that slides
   as on the category pages. Every rule starts at .ins. */

@font-face{font-family:"Albert Sans";src:url("../fonts/AlbertSans.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

.ins{
  --ink:#26222F;--body:#4A4451;--muted:#645D6A;--line:#E3DCD5;--cream:#EEE9E5;--white:#FFFFFF;
  --orange:#B5412A;--orange-deep:#9C3622;--star:#F6BB06;
  --ease:cubic-bezier(.16,1,.3,1);
  --font:"Albert Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-family:var(--font);color:var(--body);background:var(--white);
}
.ins *,.ins *::before,.ins *::after{box-sizing:border-box}
/* a site-wide rule says p, div { font-family: Inter !important }, so ours must say !important too (only inside .ins) */
body .ins :is(h1,h2,h3,p,li,a,span,b,strong,ul,div,article,section,button){font-family:var(--font) !important}
.ins-ico{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- top ---------- */
.ins-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:clamp(480px,40vw,600px);overflow:hidden;isolation:isolate;background:var(--ink)}
.ins-hero::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(0deg,rgba(38,34,47,.6) 0%,rgba(38,34,47,0) 46%),linear-gradient(90deg,rgba(38,34,47,.88) 0%,rgba(38,34,47,.7) 36%,rgba(38,34,47,.22) 64%,rgba(38,34,47,0) 100%)}
.ins-hero .ins-hero-img{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 55%}
.ins-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;width:100%;max-width:1413px;margin:auto auto 0;padding:40px 24px 132px}
.ins-kicker{display:inline-flex;align-items:center;gap:7px;height:32px;margin:0 0 18px;padding:0 14px 0 11px;border-radius:999px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);font-size:13px;font-weight:500;line-height:1;color:var(--white)}
.ins-kicker::before{content:"";flex:0 0 14px;width:14px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.6 6.2a4 4 0 0 0 5.3 5.1l-9.1 9.1a2.1 2.1 0 0 1-3-3l9.1-9.1'/%3E%3Cpath d='M14.6 6.2 17.8 3a4 4 0 0 1 2.1 8.3'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.ins-hero h1{max-width:760px;margin:0;font-size:clamp(36px,5.2vw,56px);font-weight:700;line-height:1.04;letter-spacing:-.025em;color:var(--white);text-wrap:balance}
.ins-sub{max-width:54ch;margin:16px 0 0;font-size:16px;font-weight:400;line-height:1.65;color:rgba(255,255,255,.9);text-wrap:balance}
.ins-btns{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:26px}

/* buttons: primary orange, plum rises on hover; on the photo the rise is cream with plum words */
.ins-btn{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:6px 22px;border:0;border-radius:999px;background:var(--orange);color:var(--white);font-size:15px;font-weight:600;line-height:1.2;text-decoration:none;white-space:nowrap;transition:color .3s .12s,background .25s,box-shadow .25s,transform .2s}
.ins-btn::before{content:"";position:absolute;z-index:-1;left:-10%;width:120%;bottom:0;height:175%;background:var(--ink);border-radius:50% 50% 0 0/32% 32% 0 0;transform:translateY(101%);transition:transform .65s cubic-bezier(.6,.05,.2,1);pointer-events:none}
.ins-btn:hover::before,.ins-btn:focus-visible::before{transform:translateY(0)}
.ins-btn,.ins-btn:visited,.ins-btn:hover,.ins-btn:focus-visible{color:var(--white)}
.ins-btn:active{transform:scale(.97)}
.ins-btn .ins-ico{width:17px;height:17px;flex-basis:17px}
.ins-hero .ins-btn::before{background:var(--cream)}
.ins-hero .ins-btn:hover,.ins-hero .ins-btn:focus-visible{color:var(--ink)}
.ins-btn--2,.ins-btn--2:visited{background:transparent;color:var(--white);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}
.ins-hero .ins-btn--2::before{display:none}
.ins-hero .ins-btn--2:hover,.ins-hero .ins-btn--2:focus-visible{background:rgba(255,255,255,.12);color:var(--white)}
.ins-btn--3,.ins-btn--3:visited{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.ins-btn--3:hover,.ins-btn--3:focus-visible{color:var(--white)}

/* rating line (shym_look_rating) */
.ins-rating{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:22px;font-size:14px;line-height:1.5;color:rgba(255,255,255,.88);text-decoration:none}
.ins-rating .shym-look-stars{display:inline-flex;gap:1px}
.ins-rating svg{width:16px;height:16px;fill:var(--star)}
.ins-rating b{font-weight:600;color:var(--white)}
.ins-rating:hover span:last-child{text-decoration:underline}

/* ---------- the state switch: a cream bar half on the photo, one cell on at a time, a white plate slides under it ---------- */
.ins-switchsec{position:relative;z-index:3;max-width:1413px;margin:-52px auto 0;padding:0 24px;scroll-margin-top:90px}
.ins-switch{position:relative;display:grid;grid-template-columns:repeat(var(--n,7),minmax(0,1fr));gap:4px;padding:6px;border-radius:18px;background:var(--cream)}
.ins-plate{position:absolute;top:6px;left:0;display:block;width:var(--w,0px);height:calc(100% - 12px);border-radius:14px;background:var(--white);box-shadow:inset 0 0 0 1.5px var(--ink);transform:translateX(var(--x,0px));pointer-events:none;opacity:0}
.ins-switch.is-ready .ins-plate{opacity:1;transition:transform .45s var(--ease),width .45s var(--ease)}
.ins-cell{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:84px;margin:0;padding:12px 8px;border:0;border-radius:14px;background:transparent;color:var(--ink);cursor:pointer;-webkit-appearance:none;appearance:none;transition:background .2s}
.ins-cell b{font-size:clamp(26px,2.8vw,30px);font-weight:700;line-height:1.12;letter-spacing:-.02em;color:var(--ink)}
.ins-cell span{font-size:14px;line-height:1.5;color:var(--muted)}
.ins-cell:hover{background:rgba(255,255,255,.55)}
.ins-switch:not(.is-ready) .ins-cell.is-on{background:var(--white);box-shadow:inset 0 0 0 1.5px var(--ink)}
.ins-switch.is-ready .ins-cell.is-on,.ins-switch.is-ready .ins-cell.is-on:hover{background:transparent}
.ins-cell:focus{outline:none}
.ins-cell:focus-visible{outline:2px solid var(--orange);outline-offset:2px}

/* ---------- groups and section heads ---------- */
.ins-list,.ins-how,.ins-direct{max-width:1413px;margin:0 auto;padding:0 24px}
.ins-group{padding-top:64px}
.ins-group[hidden]{display:none}
.ins-how{padding-top:72px}
.ins-direct{padding-top:72px;padding-bottom:96px}
.ins-head{margin:0 0 24px}
.ins-head h2,.ins-direct h2{margin:0;font-size:clamp(30px,3.6vw,40px);font-weight:700;line-height:1.1;letter-spacing:-.02em;color:var(--ink)}
.ins-head p{max-width:60ch;margin:10px 0 0;font-size:16px;line-height:1.65;color:var(--body)}
.ins-none{margin:0;padding:22px 24px;border-radius:18px;background:var(--cream);font-size:16px;line-height:1.65;color:var(--body)}
.ins-none a{color:var(--orange);font-weight:600;text-decoration:none;white-space:nowrap}
.ins-none a:hover,.ins-none a:focus-visible{color:var(--orange-deep)}
.ins-note{max-width:70ch;margin:28px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}

/* ---------- a business: cream card, its picture on top ---------- */
.ins-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.ins-card{display:flex;flex-direction:column;padding:10px 10px 18px;border-radius:18px;background:var(--cream)}
.ins-card[hidden]{display:none}
.ins-photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;border-radius:14px;background:var(--white)}
.ins-photo .ins-photo-img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.ins-photo-name{padding:0 20px;font-size:clamp(26px,2.8vw,30px);font-weight:700;line-height:1.12;letter-spacing:-.02em;color:var(--ink);text-align:center}
.ins-body{display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start;padding:18px 10px 0}
.ins-chip{display:inline-flex;align-items:center;gap:6px;height:32px;margin:0 0 12px;padding:0 13px 0 10px;border-radius:999px;background:var(--white);font-size:13px;font-weight:600;line-height:1;color:var(--ink)}
.ins-chip .ins-ico{width:16px;height:16px;flex-basis:16px;color:var(--orange)}
.ins-body h3{margin:0;font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.ins-about{margin:8px 0 0;font-size:14px;line-height:1.5;color:var(--body)}
.ins-meta{display:flex;flex-direction:column;gap:8px;margin:14px 0 0;padding:0;list-style:none}
.ins-meta li{display:flex;align-items:flex-start;gap:8px;margin:0;font-size:14px;line-height:1.5;color:var(--muted)}
.ins-meta .ins-ico{width:17px;height:17px;flex-basis:17px;margin-top:2px}
.ins-meta a{color:var(--orange);font-weight:600;text-decoration:none;word-break:break-word}
.ins-meta a:hover,.ins-meta a:focus-visible{color:var(--orange-deep)}
.ins-card .ins-btns{width:100%;margin-top:auto;padding-top:20px}

/* ---------- before you book: three cream tiles ---------- */
.ins-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.ins-tiles li{display:flex;flex-direction:column;gap:6px;margin:0;padding:24px;border-radius:18px;background:var(--cream);font-size:16px;line-height:1.65;color:var(--body)}
.ins-tiles .ins-ico{width:40px;height:40px;flex:0 0 40px;margin-bottom:10px;padding:9px;border-radius:999px;background:var(--white);color:var(--ink);stroke-width:1.6}
.ins-tiles strong{font-size:17px;font-weight:600;line-height:1.3;letter-spacing:-.01em;color:var(--ink)}
.ins-tiles a{color:var(--orange);font-weight:600;text-decoration:none;white-space:nowrap}
.ins-tiles a:hover,.ins-tiles a:focus-visible{color:var(--orange-deep)}

/* ---------- still choosing ---------- */
.ins-direct-card{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;padding:36px 40px;border-radius:18px;background:var(--cream)}
.ins-direct-card p{max-width:56ch;margin:10px 0 0;font-size:16px;line-height:1.65;color:var(--body)}
.ins-direct-card .ins-btns{flex:0 0 auto;margin-top:0}

/* ---------- quiet motion, once ---------- */
@media (prefers-reduced-motion:no-preference){
  .ins-hero .ins-hero-img{animation:ins-settle 9s cubic-bezier(.2,.8,.2,1) both}
  .ins-hero-copy>*{animation:ins-rise .8s cubic-bezier(.2,.8,.2,1) both}
  .ins-hero-copy>*:nth-child(2){animation-delay:.08s}
  .ins-hero-copy>*:nth-child(3){animation-delay:.16s}
  .ins-hero-copy>*:nth-child(4){animation-delay:.24s}
  .ins-hero-copy>*:nth-child(5){animation-delay:.32s}
  .ins-switch{animation:ins-rise .8s .4s cubic-bezier(.2,.8,.2,1) both}
}
@media (prefers-reduced-motion:reduce){

  .ins-switch.is-ready .ins-plate{transition:none}
}
@keyframes ins-settle{from{transform:scale(1.07)}to{transform:scale(1)}}
@keyframes ins-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ---------- tablet and phone ---------- */
@media (max-width:1024px){
  .ins-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ins-tiles{grid-template-columns:minmax(0,1fr)}
  .ins-direct-card{flex-direction:column;align-items:flex-start}
}
@media (max-width:767px){
  .ins-hero{min-height:520px}
  .ins-hero::after{background:linear-gradient(0deg,rgba(38,34,47,.92) 0%,rgba(38,34,47,.62) 55%,rgba(38,34,47,.25) 100%)}
  .ins-hero-copy{padding:32px 16px 112px}
  .ins-switchsec{padding:0 12px;margin-top:-64px}
  /* on a phone the switch is a grid of small tiles, 4 to a row, and the plate jumps instead of sliding across rows */
  .ins-switch{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ins-cell{min-height:64px;padding:10px 4px}
  .ins-cell b{font-size:17px;line-height:1.3}
  .ins-cell span{font-size:13px}
  .ins-list,.ins-how,.ins-direct{padding-left:16px;padding-right:16px}
  .ins-group{padding-top:44px}
  .ins-how{padding-top:48px}
  .ins-direct{padding-top:48px;padding-bottom:56px}
  .ins-cards{grid-template-columns:minmax(0,1fr);gap:16px}
  .ins-tiles li{padding:20px}
  .ins-direct-card{padding:26px 20px}
}
