/* Petr Find Your State. Everything is prefixed .petr-fs-. Loaded only on the pages in the petr_fs_page_ids filter. */
.petr-fs,.petr-fs-layer{--petr-fs-grey:#EBEDF8;--petr-fs-line:#DCE0F2;--petr-fs-text:#14151C;--petr-fs-sub:#4A4F63;--petr-fs-blue:#415BD2;--petr-fs-pink:#E544BF;--petr-fs-focus:#FFD23F;font-family:"Nunito Sans","Helvetica Neue",Arial,sans-serif}
.petr-fs,.petr-fs *,.petr-fs-layer,.petr-fs-layer *{box-sizing:border-box}
.petr-fs{position:relative;z-index:100;width:100%;max-width:460px;margin:14px auto 0;color:#fff;text-align:center}
.petr-fs .petr-fs-title{font-weight:800;font-size:24px;line-height:1.2;margin:0 0 12px;color:#fff;text-align:center}
.petr-fs-sf{position:relative}

/* Buttons: reset the theme's button styles in every state */
.petr-fs button.petr-fs-field,.petr-fs button.petr-fs-field:hover,.petr-fs button.petr-fs-field:focus,.petr-fs button.petr-fs-field:active{
  width:100%;margin:0;font-family:inherit;font-weight:600;font-size:18px;line-height:1.3;letter-spacing:normal;text-transform:none;text-decoration:none;color:#fff;background:rgba(255,255,255,.06);border:2px solid #fff;border-radius:5px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;text-align:left;box-shadow:none;-webkit-appearance:none;appearance:none}
.petr-fs button.petr-fs-field:hover{border-color:var(--petr-fs-pink)}
.petr-fs button.petr-fs-field:focus-visible{outline:3px solid var(--petr-fs-focus);outline-offset:3px}
.petr-fs .petr-fs-ph{opacity:.85}
.petr-fs .petr-fs-chev{border-left:1px solid rgba(255,255,255,.35);padding-left:16px;transition:transform .2s ease}
.petr-fs button.petr-fs-field[aria-expanded="true"] .petr-fs-chev{transform:rotate(180deg)}

/* Desktop dropdown */
.petr-fs .petr-fs-dd{position:absolute;left:0;right:0;top:calc(100% + 8px);background:var(--petr-fs-grey);color:var(--petr-fs-text);border-radius:10px;box-shadow:0 18px 44px rgba(1,6,64,.45);overflow:hidden;z-index:5;opacity:0;visibility:hidden;transform:translateY(-6px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;text-align:left}
.petr-fs .petr-fs-dd.petr-fs-open{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .18s ease,transform .18s ease}
.petr-fs-dd-search,.petr-fs-sheet-search{padding:12px;border-bottom:1px solid var(--petr-fs-line)}
.petr-fs input.petr-fs-q,.petr-fs-layer input.petr-fs-q{width:100%;margin:0;font-family:inherit;font-size:16px;line-height:1.3;color:var(--petr-fs-text);padding:10px 12px 10px 36px;border:1px solid var(--petr-fs-line);border-radius:6px;background:#fff 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='%234A4F63' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center;box-shadow:none;height:auto}
.petr-fs input.petr-fs-q:focus,.petr-fs-layer input.petr-fs-q:focus{outline:2px solid var(--petr-fs-blue);outline-offset:0;border-color:var(--petr-fs-line)}
.petr-fs-dd-list{list-style:none;margin:0;padding:6px;max-height:300px;overflow:auto;scrollbar-width:thin}
.petr-fs-dd-list li,.petr-fs-sheet-list li{margin:0;list-style:none}
.petr-fs-dd-list li{padding:10px 12px;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:16px;color:var(--petr-fs-text)}
.petr-fs-dd-list li .petr-fs-cnt{font-size:13px;color:var(--petr-fs-sub)}
.petr-fs-dd-list li[aria-selected="true"],.petr-fs-dd-list li:hover{background:#fff;color:var(--petr-fs-blue)}
.petr-fs-dd-list li.petr-fs-any,.petr-fs-sheet-list li.petr-fs-any{border-top:1px solid var(--petr-fs-line);font-weight:700}
.petr-fs-dd-list li.petr-fs-other{border-top:1px solid var(--petr-fs-line);margin-top:6px;padding:0;border-radius:0 0 6px 6px}
.petr-fs-dd-list li.petr-fs-other a{display:block;width:100%;padding:12px 12px 10px;color:var(--petr-fs-sub);text-decoration:none}
.petr-fs-dd-list li.petr-fs-other:hover a{color:var(--petr-fs-blue)}
.petr-fs-empty{padding:12px 14px;color:var(--petr-fs-sub);font-size:15px}
.petr-fs .petr-fs-ns{margin:12px 0 0;font-size:15px}
.petr-fs .petr-fs-ns a{color:#fff;text-decoration:underline}

/* Window layer (moved to <body> by the script so no page container can trap it) */
.petr-fs-layer{position:fixed;inset:0;z-index:99990;pointer-events:none;color:var(--petr-fs-text);text-align:left}
.petr-fs-layer .petr-fs-scrim{position:absolute;inset:0;background:rgba(1,6,64,.55);opacity:0;transition:opacity .25s ease}
.petr-fs-layer.petr-fs-show{pointer-events:auto}
.petr-fs-layer.petr-fs-show .petr-fs-scrim{opacity:1}
.petr-fs-layer .petr-fs-pop{position:absolute;left:50%;top:max(24px,8vh);width:min(680px,calc(100% - 40px));max-height:calc(100vh - max(24px,8vh) - 24px);transform:translate(-50%,8px) scale(.985);opacity:0;visibility:hidden;background:var(--petr-fs-grey);color:var(--petr-fs-text);border-radius:12px;box-shadow:0 24px 60px rgba(1,6,64,.45);transition:opacity .28s ease,transform .28s ease,visibility 0s linear .28s;display:flex;flex-direction:column;font-size:16px;line-height:1.5}
.petr-fs-layer.petr-fs-show .petr-fs-pop{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1);transition:opacity .28s ease,transform .28s ease}
.petr-fs-grab{display:none;width:44px;height:5px;border-radius:3px;background:#b9bfd9;margin:10px auto 0;flex:none}
.petr-fs-pop-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 8px;flex:none}
.petr-fs-layer .petr-fs-pop-title{margin:0;font-size:24px;font-weight:800;line-height:1.2;color:var(--petr-fs-text)}
.petr-fs-layer button.petr-fs-x,.petr-fs-layer button.petr-fs-x:hover,.petr-fs-layer button.petr-fs-x:focus{width:36px;height:36px;padding:0;margin:0;border-radius:50%;border:0;background:#fff;color:var(--petr-fs-text);font-family:inherit;font-size:16px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:none}
.petr-fs-layer button.petr-fs-x:focus-visible{outline:3px solid var(--petr-fs-blue);outline-offset:2px}
.petr-fs-content{display:flex;flex-direction:column;min-height:0;flex:1 1 auto}
.petr-fs-body{overflow:auto;padding:4px 22px 18px;display:flex;flex-direction:column;gap:12px;min-height:0}
.petr-fs-group{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--petr-fs-sub);font-weight:700;margin-top:6px}
.petr-fs-course{background:#fff;border:1px solid var(--petr-fs-line);border-radius:10px;padding:14px;display:grid;grid-template-columns:96px 1fr auto;gap:14px;align-items:start}
.petr-fs-course img{width:96px;height:96px;object-fit:cover;border-radius:8px;display:block;max-width:100%}
.petr-fs-noimg{width:96px;height:96px;border-radius:8px;background:var(--petr-fs-grey)}
.petr-fs-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.petr-fs-name{color:var(--petr-fs-blue);font-weight:800;font-size:17px;line-height:1.3;overflow-wrap:anywhere}
.petr-fs-meta{font-size:14px;color:var(--petr-fs-sub)}
.petr-fs-row{display:flex;align-items:center;gap:16px;height:96px}
.petr-fs-price{font-weight:800;font-size:20px;color:var(--petr-fs-text);white-space:nowrap}
.petr-fs-layer a.petr-fs-reg,.petr-fs-layer a.petr-fs-reg:hover,.petr-fs-layer a.petr-fs-reg:focus{background:var(--petr-fs-pink);color:#fff;font-weight:700;border-radius:5px;padding:10px 24px;font-size:16px;line-height:1.3;border:0;font-family:inherit;text-decoration:none;display:inline-block;white-space:nowrap}
.petr-fs-layer a.petr-fs-reg:hover{background:#C736A5}
.petr-fs-layer a.petr-fs-reg:focus-visible{outline:3px solid var(--petr-fs-blue);outline-offset:2px}
.petr-fs-layer button.petr-fs-more,.petr-fs-layer button.petr-fs-more:hover,.petr-fs-layer button.petr-fs-more:focus{align-self:flex-start;background:none;border:0;padding:2px 0;margin:0;font-family:inherit;font-size:14px;line-height:1.4;color:var(--petr-fs-blue);cursor:pointer;display:inline-flex;gap:6px;align-items:center;box-shadow:none;text-transform:none}
.petr-fs-layer button.petr-fs-more:focus-visible{outline:2px solid var(--petr-fs-blue);outline-offset:2px}
.petr-fs-more .petr-fs-ar{transition:transform .2s ease}
.petr-fs-more[aria-expanded="true"] .petr-fs-ar{transform:rotate(180deg)}
.petr-fs-desc{display:grid;grid-template-rows:0fr;transition:grid-template-rows .28s ease}
.petr-fs-desc.petr-fs-open{grid-template-rows:1fr}
.petr-fs-desc>div{overflow:hidden;font-size:15px;color:var(--petr-fs-text);line-height:1.5}
.petr-fs-desc>div p{margin:6px 0 2px;max-width:none;color:var(--petr-fs-text)}
.petr-fs-layer .petr-fs-desc a.petr-fs-full{display:inline-block;margin:2px 0 4px;font-size:14px;color:var(--petr-fs-blue);text-decoration:underline}
.petr-fs-foot{padding:12px 22px 18px;font-size:14px;color:var(--petr-fs-sub);border-top:1px solid var(--petr-fs-line);flex:none}
.petr-fs-layer .petr-fs-unsure{margin:4px 0 0;font-size:15px;color:var(--petr-fs-text)}
.petr-fs-layer .petr-fs-unsure a{color:var(--petr-fs-blue);text-decoration:underline}
.petr-fs-layer button.petr-fs-again,.petr-fs-layer button.petr-fs-again:hover,.petr-fs-layer button.petr-fs-again:focus{background:none;border:0;padding:0;margin:0;font-family:inherit;font-size:inherit;color:var(--petr-fs-blue);text-decoration:underline;cursor:pointer;box-shadow:none;text-transform:none}
.petr-fs-layer button.petr-fs-again:focus-visible{outline:2px solid var(--petr-fs-blue);outline-offset:2px}

/* Phone state picker (inside the bottom sheet) */
.petr-fs-sheet-search{border-bottom:0;padding:4px 16px 8px}
.petr-fs-sheet-list{list-style:none;margin:0;padding:6px 10px 16px;overflow:auto}
.petr-fs-sheet-list li{padding:14px 12px;border-bottom:1px solid var(--petr-fs-line);font-size:17px;cursor:pointer;display:flex;justify-content:space-between;color:var(--petr-fs-text)}
.petr-fs-sheet-list li:last-child{border-bottom:0}
.petr-fs-sheet-list li.petr-fs-other{padding:0}
.petr-fs-sheet-list li.petr-fs-other a{display:block;width:100%;padding:14px 12px;color:var(--petr-fs-sub);text-decoration:none}
.petr-fs-sheet-list li:active,.petr-fs-sheet-list li:hover{background:#fff;color:var(--petr-fs-blue)}

@media (max-width:640px){
  .petr-fs .petr-fs-title{font-size:20px}
  .petr-fs button.petr-fs-field,.petr-fs button.petr-fs-field:hover,.petr-fs button.petr-fs-field:focus,.petr-fs button.petr-fs-field:active{font-size:16px;padding:14px}
  .petr-fs-layer .petr-fs-pop{left:0;right:0;top:auto;bottom:0;width:100%;max-height:82vh;transform:translateY(100%);opacity:1;visibility:visible;border-radius:18px 18px 0 0;transition:transform .32s cubic-bezier(.22,.8,.3,1)}
  .petr-fs-layer.petr-fs-show .petr-fs-pop{transform:translateY(0)}
  .petr-fs-layer:not(.petr-fs-show) .petr-fs-pop{visibility:hidden;transition:transform .32s cubic-bezier(.22,.8,.3,1),visibility 0s linear .32s}
  .petr-fs-grab{display:block}
  .petr-fs-course{grid-template-columns:72px 1fr;gap:12px;padding:12px}
  .petr-fs-row{grid-column:2;height:auto;gap:14px}
  .petr-fs-course img,.petr-fs-noimg{width:72px;height:72px}
  .petr-fs-desc{margin-left:-84px}
  .petr-fs-pop-head{padding:12px 16px 6px}
  .petr-fs-body{padding:4px 16px 16px}
  .petr-fs-foot{padding:12px 16px 18px}
  .petr-fs-layer .petr-fs-pop-title{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  .petr-fs-pop,.petr-fs-scrim,.petr-fs-dd,.petr-fs-desc,.petr-fs-ar,.petr-fs-chev{transition:none!important}
}
