/* latin-ext */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/store/Montserrat-wght-latin-ext-e31a43f4.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  src: url("/assets/store/Montserrat-wght-latin-864b5f85.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
  margin: 0;
}
:root {
  --accent-color: hsl(167, 37%, 49%);
  accent-color: var(--accent-color);
  font-family: "Montserrat", Avenir, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
}
html,
body {
  background: #292d33;
  color: #fff;
  margin: 0;
  padding: 0;
}

body {
  --main-block-padding: 1.25rem;
  font-size: 1.125rem;
}

footer {
  padding: 4rem 1.25rem;
}
@media (min-width: 600px) {
  footer {
    padding: 4rem 2.5rem;
  }
}

header {
  align-items: center;
  background: #fff;
  box-shadow: 0 0.25rem 1.25rem 0 rgb(0 0 0 / 0.05);
  color: #292d33;
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  position: relative;
  z-index: 1; /* render shadow on top of main */
}

@media (min-width: 600px) {
  header {
    padding: 0.625rem 2.5rem;
  }
}
main {
  background: #fffffd;
  color: #292d33;
  padding: 1.25rem var(--main-block-padding);
}
.main__liner {
  display: grid;
  gap: calc(2rem - 2px);
  grid-template-areas: "side" "primary";
  grid-template-columns: calc(100vw - var(--main-block-padding) * 2);
}

@media (min-width: 60rem) {
  body {
    --main-block-padding: 2.5rem;
  }
  .main__liner {
    grid-template-areas: "primary side";
    grid-template-columns: 1fr 26rem;
  }
}

a {
  color: var(--accent-color);
}
h1 {
  margin: 0;
}
h2 {
  font-size: calc(2rem - 2px);
}

button {
  background: var(--accent-color);
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  min-height: 3rem;
  text-transform: uppercase;
  width: 100%;
}

[type="submit"] {
  cursor: not-allowed;
  margin-top: 2rem;
  opacity: 0.2;
}
form.valid [type="submit"] {
  cursor: pointer;
  opacity: 1;
}

output {
  display: block;
  font-size: calc(1.25rem + 2px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.5rem auto 0;
  text-align: center;
}
output + output {
  margin: 0 auto 1rem;
}

main p {
  margin: 1lh 0;
}
form.valid-bundle output:has(+ output)::after {
  content: " +";
}
fieldset {
  border: none;
  padding: 0;
}
legend {
  font-size: 1.125rem;
  font-weight: 700;
}

table {
  border-spacing: 0 1rem;
  border-bottom: solid 1px #e0e0e0;
  border-top: solid 1px #e0e0e0;
  margin: 0 0 1.25rem;
  padding-top: 0.5rem;
  width: 100%;
}
td {
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
}
td em {
  font-style: normal;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
td del {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
td del:after {
  content: url('data:image/svg+xml;utf-8,<svg width="66" height="19" viewBox="0 0 66 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="red" stroke-linecap="round" stroke-width="3" d="M1.5 17.5c10.648-4.571 38.155-14.171 63-16"/></svg>');
  inset: 0;
  overflow: hidden;
  position: absolute;
}
th {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
}

tr:first-child td {
  font-size: 1.25rem;
}
tr:first-child em {
  color: var(--accent-color);
}
tfoot td,
tfoot th {
  border-top: solid 1px #e0e0e0;
  font-size: calc(1.25rem + 2px);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 1rem 0 0;
}

header p {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  gap: 0.25em 1rem;
}

@media (min-width: 50rem) {
  h2 {
    font-size: 1.5rem;
  }

  header p {
    flex-direction: row;
    font-size: 1rem;
  }
}

.branding > img {
  height: auto;
  width: 109px;
}
@media (min-width: 600px) {
  .branding > img {
    width: 165px;
  }
}

[type="radio"] {
  appearance: none;
  background-color: #fff;
  border: solid 2px var(--accent-color);
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
}
[type="radio"]:checked {
  background: radial-gradient(circle, var(--accent-color) 0% 0.4375rem, #fff 0.4375rem 100%) no-repeat center center / 1.5rem 1.5rem #fff;
}
.active-accessory {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  display: block;
  margin: 1.25rem 0 2rem;
  max-width: 250px;
  width: 100%;
}
.button {
  align-items: center;
  background: var(--accent-color);
  border-radius: 0.5rem;
  color: #fff;
  display: flex;
  font-weight: 700;
  justify-content: center;
  margin: 1rem auto;
  min-height: 2.75rem;
  min-width: 200px;
  text-decoration: none;
  text-transform: uppercase;
  &.button--secondary {
    background: #fff;
    border: solid 1px var(--accent-color);
    color: var(--accent-color);
    margin: 0.625rem 0.75rem;
  }
}

.back-button {
  align-items: center;
  border: solid 1px var(--accent-color);
  border-radius: 0.3125rem;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 400;
  gap: 0.25rem;
  justify-content: center;
  margin: 0 0 1.25rem;
  text-decoration: none;
  min-height: 2.5rem;
  padding: 0.625rem 1.25rem;
}

@media(min-width: 60rem) {
  #to_top {
    display: none;
  }
}
.icon-list {
  display: flex;
  justify-content: space-evenly;
}
.icon-list a {
  color: currentColor;
  display: flex;
  height: 3rem;
  text-decoration: none;
  width: 3rem;
}
.icon-list a:hover,
.icon-list a:active {
  color: var(--accent-color);
}
.icon-list a > svg {
  margin: auto;
}
.package {
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" fill="none" viewBox="0 0 26 26"><path fill="%23616161" d="M14 12h12v2H14v12h-2V14H0v-2h12V0h2z"/></svg>') no-repeat center center;
  display: flex;
  gap: 4rem;
  margin: 0.5rem auto;
  width: 14rem;
}
.package img,
.package > div {
  background: #f2f2f2;
  border-radius: 0.625rem;
  height: 5rem;
  width: 5rem;
}

.role-choice {
  align-items: center;
  display: flex;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 1.25rem;
  justify-content: start;
  margin: 0.625rem 0;
  padding: 0;
}

a[href^="tel"] {
  align-items: center;
  display: inline-flex;
  gap: 0.4em;
  text-decoration: none;
}

.primary {
  grid-area: primary;
  max-width: 100%;
}
.sidebar {
  grid-area: side;
}
@media (width >= 60rem) {
  .sidebar__liner {
    position: sticky;
    top: 1rem;
  }
}

.sidebar legend {
  font-size: 0.875rem;
}

.footer-liner {
  display: grid;
  font-size: 0.875rem;
  font-weight: 300;
  gap: 1rem 2.5rem;
  grid-template-areas: "branding" "tos" "smallprint" "nav" "social" "license";
}

@media (min-width: 1024px) {
  .footer-liner {
    grid-template-areas: "branding tos nav social"
      "branding smallprint nav social"
      "branding license nav social";
  }
}
.footer-liner nav {
  grid-area: nav
}
.footer-liner .social-nav {
  grid-area: social
}

@media (800px <= width < 1024px) {
  .footer-liner .social-nav {
    align-items: center;
    display: flex;
    gap: 1rem 2.5rem;
    justify-self: start;
  }
}
.footer-liner > p {
  grid-area: smallprint;
  line-height: 1.5;
}
.footer-liner .branding {
  align-self: center;
  grid-area: branding;
}
.footer-liner .license {
  grid-area: license;
}

.footer-liner .link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

::backdrop {
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(4px);
}
:popover-open {
  border: solid 2px var(--accent-color);
  border-radius: 0.625rem;
  margin: auto;
  padding: 1.5rem 2rem;
}
.close-button {
  background: transparent;
  display: flex;
  height: 2.5rem;
  min-height: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 2.5rem;
}
  .close-button > svg {
    height: 0.75rem;
    margin: auto;
    width: 0.75rem;
  }

.scroll-helper {
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 29 15"><path fill="%233fa894" fill-opacity=".2" d="M0 0h28.284L14.142 14.142z"/></svg>') no-repeat center bottom 0.625rem / 1.75rem 1.75rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding-bottom: 1.75rem;
  text-align: center;
}
@media (width >= 60rem) {
  .scroll-helper {
    display: none;
  }
}

:root:not([data-supports~="popover"]) [data-requires~="popover"] {
  display: none;
}

.sr-only {
  border: none;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.selected-plan {
  color: #292d33;
  display: grid;
  gap: 0.3125rem 1.25rem;
  grid-template-areas: "label price" "description description" "cta cta";
  grid-template-columns: 1fr min-content;
  justify-content: start;
  text-align: left;
  text-transform: none;

  & [data-class="label"] {
    font-size: 1.125rem;
    font-weight: 700;
    grid-area: label;
    line-height: calc(11 / 9);
  }
  & [data-class="description"] {
    font-size: 0.875rem;
    font-weight: 400;
    grid-area: description;
    line-height: calc(17 / 14);
  }

  & [data-class="price"] {
    font-size: 1.125rem;
    font-weight: 700;
    grid-area: price;
    line-height: calc(11 / 9);
  }

  & [data-class="cta"] {
    align-items: center;
    color: var(--accent-color);
    display: flex;
    font-size: 0.875rem;
    font-weight: 700;
    gap: 0.25rem;
    grid-area: cta;
    line-height: calc(17 / 14);
    min-height: max(1lh, 18px);
  }
  & [data-class="cta"]:not(:empty)::before {
    content: url('data:image/svg+xml;utf-8,<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.03516 0L11.168 6.56434H18.0702L12.4862 10.6213L14.6191 17.1857L9.03516 13.1287L3.4512 17.1857L5.58408 10.6213L0.000119209 6.56434H6.90227L9.03516 0Z" fill="%233FA894"/></svg>');
  }
  & [data-class="cta"] em {
    font-style: normal;
    text-decoration: underline;
  }
}

rich-select {
  display: block;
  max-width: 28rem;
  position: relative;
}
rich-select button {
  background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 29 29"><path fill="hsl(167, 37%, 49%)" d="M0 14.142h28.284L14.142 28.284z"/></svg>') no-repeat right 1.25rem center / 1.75rem 1.75rem #fff;
  border: solid 2px var(--accent-color);
  border-radius: 0.625rem;
  padding: 1.125rem 5rem 1.25rem 1.5rem;
}
rich-select label {
  align-items: center;
  border: solid 1px transparent;
  display: grid;
  gap: 0.3125rem 1.25rem;
  grid-template-areas: ".  selected ." "input label price" ". description description";
  grid-template-columns: 1.5rem 1fr min-content;
  grid-template-rows: calc(1rem + 1px) min-content min-content;
  justify-content: start;
  padding: 0.3125rem;
}

rich-select label .cta {
  display: none;
}
rich-select [type="radio"] {
  grid-area: input;
}

rich-select label:has(:disabled) {
  display: none;
}

rich-select label:has(:checked)::after {
  color: var(--accent-color);
  content: "Selected";
  font-size: 0.875rem;
  font-weight: 700;
  grid-area: selected;
  line-height: calc(17 / 14);
  text-transform: uppercase;
}

rich-select .label {
  font-size: 1.125rem;
  font-weight: 700;
  grid-area: label;
  line-height: calc(11 / 9);
}
rich-select .description {
  font-size: 0.875rem;
  font-weight: 400;
  grid-area: description;
  line-height: calc(17 / 14);
}
rich-select .price {
  font-size: 1.125rem;
  font-weight: bold;
  grid-area: price;
}

rich-select :popover-open {
  border: solid 1px #cacaca;
  border-radius: 0.625rem;
  left: var(--popover-left, 0);
  margin: 0;
  max-width: 28rem;
  padding: 0.625rem;
  position: absolute;
  top: var(--popover-top, 0);
  width: calc(100vw - var(--main-block-padding) * 2)
}

rich-select :popover-open label:has(:checked) {
  background-color: #f8fafe;
  border-color: #e0e0dc;
  border-radius: 0.5rem
}

rich-select [popover]::backdrop {
  background: transparent;
  backdrop-filter: none;
}
