/** Shopify CDN: Minification failed

Line 432:5 Unexpected "/"

**/
 .coverage-calculator__form {
    display: flex;
    flex-direction: row;
      gap: 3rem; 
}

.coverage-calculator__form--left {
    flex: 0 0 66.66%; 
}

.coverage-calculator__form--right {
    flex: 0 0 33.33%;
}

.coverage-calculator__field {
    padding-bottom: 20px;
}

.coverage-calculator__field .h4 {
    padding-bottom: 10px;
}

@media (max-width: 768px) {
  .coverage-calculator__form {
    flex-direction: column; 
  }
  .coverage-calculator__form--left, .coverage-calculator__form--right {
    flex: 0 0 100%;
  }
}

.coverage-calculator:after {
    content: none !important;
    visibility: hidden !important;
}

.coverage-calculator .content-tabs__tab:not(.content-tabs__tab--active):hover {
    background: #FFF !important;
    border-bottom: none !important;
    color: #FFF !important;
}

.content-tabs__tab--active {
    border-bottom: none !important;
}

.coverage-calculator .content-tabs__tab {
    transition: none !important;
}

.coverage-calculator .content-tabs__tab--active span {
    background: #80152e !important;
    color: #FFF !important;
    border: 2px solid #80152e;
    border-radius: 20px;
    padding: 5px 15px;
}

.coverage-calculator .content-tabs__tab span {
    background: #fff;
    color: #065b7f;
    font-weight: 700;
    border-radius: 8px;
    padding: 5px 15px;
}

.coverage-calculator .content-tabs__tab span:hover {
  /* background: #80152e !important; */
  /* color: #FFF !important; */
  border-bottom: 2px solid #80152e;
  border-radius: 0;
  padding: 5px 15px;
  transition: 0.3s ease-in-out;
}

.coverage-calculator__content {
  padding-top: 1rem !important;
}

:root {
  --radius: 12px;
  --border: 1px solid #e5e7eb;
  --bg: #fff;
  --muted: #6b7280;
  --text: #111827;
}

.coverage-calculator__form--results {
  background: #f3f4f6;
  border:  var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 10px;
  width: 87%;
  height: 95%;
}

.coverage-calculator__result {
  padding-top: 10px;
}

.coverage-calculator__wrapper {
  border: var(--border);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
}

.coverage-calculator__form fieldset {
  background: var(--bg);
  border: var(--border);
  border-radius: var(--radius);
  padding: 0.9rem !important;
}
.coverage-calculator__form legend { font-weight: 600; padding: 0 0.25rem; color: #025b7f;}
.hint { color: var(--muted); margin-top: 1rem; }
.coverage-calculator button[type="submit"] {
  appearance: none;
  background: #111827;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

/* Visually hidden but accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,1px,1px); white-space: nowrap; border: 0;
}

/* Style the select field */
.coverage-calculator__form select {
  appearance: none;   
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  padding: 0.5rem !important;
  border: var(--border);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml;utf8,<svg fill='none' stroke='%236b7280' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M19 9l-7 7-7-7'/></svg>") no-repeat right 0.75rem center/1rem;
  font-size: 0.8rem !important;  
  color:  #025b7f;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.coverage-calculator__form select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.coverage-calculator__form select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.range-row {
  padding-top: 20px;
}

/* ---- Reusable Tabs component ---- */
.tabs {
  --tabs: 3;              /* default # of tabs (overridden inline per group) */
  --i: 0;                 /* active index (set by :has() rules below) */
  --pad: 0.3rem;
  display: block;
}
.tabs input[type="radio"] {
  position: absolute; inline-size: 1px; block-size: 1px; margin: -1px; border: 0; padding: 0;
  clip: rect(0 0 0 0); overflow: hidden;
}
.tabs .tablist {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--tabs), 1fr);
  gap: 0.25rem;
  background: #f3f4f6;
  border: var(--border);
  border-radius: calc(var(--radius) - 6px);
  padding: var(--pad);
}
.tabs .tab {
  display: grid; place-items: center;
  padding: 0.2rem .5rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem !important;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 1;
}

.tabs .glider {
  position: absolute;
  inset-block: var(--pad);
  width: calc((100% - (var(--tabs) - 1) * 0.25rem - 2*var(--pad)) / var(--tabs));
  transform: translateX(calc(var(--i) * (100% + 0.25rem)));
  background: #80152e;  /* 🔴 Red background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform 180ms ease;
  z-index: 0;
  pointer-events: none;
}
/* ---------- Generic, ID-free state mapping using :has() ---------- */
/* Map the checked input (by source order) to an index for the glider */
.tabs:has(input:nth-of-type(1):checked) { --i: 0; }
.tabs:has(input:nth-of-type(2):checked) { --i: 1; }
.tabs:has(input:nth-of-type(3):checked) { --i: 2; }
.tabs:has(input:nth-of-type(4):checked) { --i: 3; }
.tabs:has(input:nth-of-type(5):checked) { --i: 4; }

/* Active label coloring for up to 5 options */
.tabs:has(input:nth-of-type(1):checked) .tablist .tab:nth-of-type(1),
.tabs:has(input:nth-of-type(2):checked) .tablist .tab:nth-of-type(2),
.tabs:has(input:nth-of-type(3):checked) .tablist .tab:nth-of-type(3),
.tabs:has(input:nth-of-type(4):checked) .tablist .tab:nth-of-type(4),
.tabs:has(input:nth-of-type(5):checked) .tablist .tab:nth-of-type(5) {
  color: #FFF;
}

/* Reset all labels to muted by default; the active one is colored by the rules above */
.tabs input:checked ~ .tablist .tab {
  color:  #025b7f;
}

/* Unit helpers (works for any “Units” group where option 1 = sqft and 2 = m²) */
.u-sqft, .u-m2 { display: none; }
.tabs:has(input:nth-of-type(1):checked) .u-sqft { display: inline; }
.tabs:has(input:nth-of-type(2):checked) .u-m2   { display: inline; }

/* ---- Range row ---- */
.range-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.5rem;
}
.range-row output {
  display: inline-block;
  min-width: 3ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.range-row .unit { color: var(--muted); }

/* Base slider */
.coverage-calculator__form input[type="range"] {
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  background: #085d81;              /* unfilled track */
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;

  /* The trick: a gradient we resize to become the filled bar */
  background-image: linear-gradient(#066f8d, #065b7f);
  background-repeat: no-repeat;
  background-size: 0% 100%;          /* JS will set this to the % filled */
}

/* WebKit thumb + track */
.coverage-calculator__form input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;           /* we use the element's background instead */
  height: 0.5rem;
  border-radius: 999px;
}
.coverage-calculator__form input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1rem;
  height: 1rem;
  background: #80152e;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
  margin-top: calc(0.5rem/2 - 1rem/2); /* center the thumb */
}

/* Firefox track/progress/thumb */
.coverage-calculator__form input[type="range"]::-moz-range-track {
  background: #e5e7eb;
  height: 0.5rem;
  border-radius: 999px;
}
.coverage-calculator__form input[type="range"]::-moz-range-progress {
  background: #2563eb;               /* filled bar in Firefox */
  height: 0.5rem;
  border-radius: 999px;
}
.coverage-calculator__form input[type="range"]::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  background: #111827;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

/* Reset default checkboxes */
.coverage-calculator__form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #6b7280;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Checked state */
.coverage-calculator__form input[type="checkbox"]:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}
.coverage-calculator__form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='3' viewBox='0 0 24 24'><path d='M5 13l4 4L19 7'/></svg>") no-repeat center/80%;
}

/* Label wrapper */
.coverage-calculator__form .checkbox {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
}

.coverage-calculator__form input[type="text"],
.coverage-calculator__form input[type="email"],
.coverage-calculator__form input[type="number"],
.coverage-calculator__form textarea {
  width: 100%;
  padding: 0.5rem !important;
  border: var(--border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: #025b7f;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.coverage-calculator__form input[type="text"]:focus,
.coverage-calculator__form input[type="email"]:focus,
.coverage-calculator__form input[type="number"]:focus,
.coverage-calculator__form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.coverage-calculator__form input::placeholder,
.coverage-calculator__form textarea::placeholder {
  color: #9ca3af;
}

.coverage-calculator__wrapper .content-tabs__tab {
  width: auto !important;
  padding: 1.2rem 0 !important; 
}


.choices__inner {
  border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #FFF !important;
}

.choices__list {
  z-index: 99999 !important;
      border-radius: 12px !important;
}

/* Stack tab buttons vertically on mobile and make the glider vertical */
@media (max-width: 767px) {
  /* 1) make the tablist a single column */
  .tabs .tablist {
    grid-template-columns: 1fr !important;
  }

  /* 2) switch the glider from horizontal to vertical motion */
  .tabs .glider {
    /* occupy full width, move vertically between rows */
    inset-inline: var(--pad);
    inset-block: auto;
    width: calc(100% - 2 * var(--pad));
    height: calc(
      (100% - (var(--tabs) - 1) * 0.25rem - 2 * var(--pad)) / var(--tabs)
    );
    transform: translateY(calc(var(--i) * (100% + 0.25rem)));
  }

  /* (optional) give each tab a bit more vertical breathing room */
  .tabs .tab {
    justify-items: start;
    padding: 0.45rem 0.6rem;
    text-align: left;
  }

  /* (optional) results card fits nicely on mobile */
  .coverage-calculator__form--results {
    width: 100%;
    height: auto;
  }

  .coverage-calculator__form {
    gap: 0;
  }
   /* .tabs .tablist .tab:first-of-type {
    margin-top: 0.5rem;  /* adjust as needed */
  } */
}

.pr-3 {
  padding-left: 0.75rem;
}