:root {
  --blue: #197db6;
  --text: #303030;
  --muted: #777;
  --line: #d8d8d8;
  --panel: #fafafa;
  --field: #fff;
  --danger: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

a {
  color: #0877bb;
}

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

.site-header {
  min-height: 112px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #dedede;
  background: #fff;
}

.wordmark {
  color: #090909;
  text-align: center;
  line-height: 1;
  text-decoration: none;
}

.wordmark strong {
  display: block;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .2em;
}

.wordmark span {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .31em;
}

.checkout-shell {
  width: min(100%, 1200px);
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 58% 42%;
}

.checkout-form {
  width: 100%;
  max-width: 510px;
  justify-self: end;
  padding: 68px 36px 74px 0;
}

.availability-note {
  display: none;
  margin: 0 0 54px;
  padding: 34px 20px;
  border: 1px solid #ddd;
  background: #fbfbfb;
  color: #6c6c6c;
  text-align: center;
  font-size: 15px;
  line-height: 1.45;
}

.form-section {
  margin-bottom: 44px;
}

.form-section h1,
.form-section h2 {
  margin: 0 0 13px;
  color: #333;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.express-checkout-section {
  margin-bottom: 35px;
}

.express-checkout-section[hidden] {
  display: none;
}

.express-checkout-section h2 {
  text-align: center;
}

#express-checkout-element {
  min-height: 48px;
}

.wallet-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-skeleton span {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: #000;
  font-size: 15px;
  font-weight: 700;
}

.paypal-one-click {
  width: min(100%, 242px);
  min-height: 48px;
  margin: 10px auto 0;
}

#paypal-button-container {
  min-height: 48px;
}

.paypal-skeleton {
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #073b83;
  background: #ffc439;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
}

.paypal-status {
  margin: 7px 0 0;
  color: var(--danger);
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
}

.paypal-status:empty {
  display: none;
}

.express-checkout-status {
  min-height: 0;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}

.express-checkout-status:empty {
  display: none;
}

.express-checkout-terms {
  margin: 10px 8px 0;
  color: #737373;
  text-align: center;
  font-size: 10px;
  line-height: 1.45;
}

.checkout-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
  color: #8a8a8a;
  font-size: 11px;
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

input,
select {
  width: 100%;
  height: 45px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #282828;
  background: var(--field);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input::placeholder {
  color: #747a80;
  opacity: 1;
}

input:focus,
select:focus {
  border-color: #2388c5;
  box-shadow: 0 0 0 1px #2388c5;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 1px var(--danger);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 10px;
}

.field-full {
  grid-column: 1 / -1;
}

.location-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 10px;
}

.phone-field {
  position: relative;
}

.phone-field input {
  padding-right: 42px;
}

.help-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #777;
  border-radius: 50%;
  color: #666;
  font-size: 10px;
  font-weight: 700;
}

.shipping-method {
  margin-top: -3px;
}

.shipping-rate {
  min-height: 48px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #424242;
  background: #fff;
}

.shipping-rate strong {
  font-weight: 400;
}

.shipping-rate.is-awaiting-address {
  grid-template-columns: 1fr;
  padding: 14px;
  border: 0;
  color: #6d6d6d;
  background: #f5f5f5;
}

.shipping-rate.is-awaiting-address .truck-icon,
.shipping-rate.is-awaiting-address strong {
  display: none;
}

.truck-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: #373737;
}

.payment-section {
  margin-bottom: 45px;
}

.payment-section h2 {
  margin-bottom: 8px;
}

.secure-copy {
  margin: 0 0 16px;
  color: #999;
  font-size: 12px;
}

.payment-frame {
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: #fff;
}

.payment-title {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #1882c1;
  background: #f3f7ff;
  font-size: 13px;
}

.selected-radio {
  width: 17px;
  height: 17px;
  flex: none;
  border: 1px solid #1685c6;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fff;
  background: #1685c6;
}

.card-logos {
  margin-left: auto;
  display: flex;
  gap: 5px;
  align-items: center;
}

.card-logos > span {
  width: 31px;
  height: 19px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  font-size: 7px;
  font-weight: 800;
}

.card-logos .visa {
  color: #142787;
  font-size: 8px;
  font-style: italic;
}

.card-logos .mastercard {
  position: relative;
}

.mastercard i,
.mastercard b {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mastercard i {
  left: 7px;
  background: #e9433a;
}

.mastercard b {
  right: 7px;
  background: rgba(250, 163, 34, .88);
}

.card-logos .amex {
  color: #fff;
  background: #2c93cc;
}

.card-logos .discover {
  color: #333;
  background: linear-gradient(155deg, #fff 62%, #ef7b27 63%);
  font-size: 5px;
}

#payment-element {
  min-height: 129px;
  padding: 12px;
  background: #fafafa;
}

#payment-element.payment-unavailable {
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.payment-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-skeleton span {
  height: 40px;
  display: block;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
}

.payment-skeleton span:first-child {
  grid-column: 1 / -1;
}

.stripe-status {
  min-height: 16px;
  margin: 8px 0 0;
  color: #777;
  font-size: 11px;
}

.stripe-status:empty {
  margin: 0;
  min-height: 0;
}

.billing-choices {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.billing-choices label {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  cursor: pointer;
}

.billing-choices label + label {
  border-top: 1px solid var(--line);
}

.billing-choices input,
.consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1b86c2;
  flex: none;
}

.billing-fields {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.billing-fields[hidden] {
  display: none;
}

.billing-fields input:nth-of-type(-n+2) {
  grid-column: 1 / -1;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 8px 29px;
  color: #525252;
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.form-error {
  min-height: 18px;
  margin: -10px 0 10px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.4;
}

.terms-disclosure {
  margin: -7px 8px 28px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 4px;
  color: #525252;
  background: #fff;
  font-size: 11px;
  line-height: 1.55;
}

.terms-disclosure summary {
  padding: 12px 16px 12px 38px;
  color: #1683c2;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
}

.terms-disclosure summary::-webkit-details-marker {
  display: none;
}

.terms-disclosure summary::before {
  content: "";
  display: inline-block;
  margin: 0 18px 0 -20px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid #3195d0;
  transition: transform .18s ease;
}

.terms-disclosure[open] summary {
  border-bottom: 1px solid #dedede;
}

.terms-disclosure[open] summary::before {
  transform: rotate(90deg);
}

.terms-body {
  padding: 12px 16px 5px;
}

.terms-body p {
  margin: 0 0 12px;
}

.complete-button {
  width: 100%;
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
}

.complete-button:hover:not(:disabled) {
  background: #106fa7;
}

.complete-button:disabled {
  cursor: not-allowed;
  opacity: .56;
}

.button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
}

.complete-button.is-loading .button-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.legal-copy {
  margin-top: 78px;
  padding: 0 8px;
  color: #1d1d1d;
  font-size: 9px;
  line-height: 1.35;
}

.legal-copy h2 {
  margin: 0 0 25px;
  text-align: center;
  font-size: 16px;
  line-height: 1.3;
}

.legal-copy h3 {
  margin: 0 0 18px;
  font-size: 10px;
  line-height: 1.35;
}

.legal-copy h4 {
  margin: 11px 0 2px;
  font-size: 9px;
  font-weight: 700;
}

.legal-copy p {
  margin: 0 0 7px;
}

.desktop-policy-links {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  font-size: 10px;
}

.order-summary {
  position: relative;
  background: var(--panel);
  box-shadow: 50vw 0 0 50vw var(--panel);
}

.summary-inner {
  width: min(100%, 385px);
  padding: 50px 0 32px 28px;
}

.summary-toggle {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  color: #117dba;
  background: transparent;
  text-align: left;
  font-size: 12px;
  cursor: pointer;
}

.summary-toggle:focus-visible {
  outline: 2px solid #1686c4;
  outline-offset: 3px;
}

.cart-icon svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: #7a7a7a;
}

.summary-chevron {
  width: 0;
  height: 0;
  margin-top: -3px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid #1686c4;
  transition: transform .18s ease;
}

.summary-toggle[aria-expanded="false"] .summary-chevron {
  transform: rotate(180deg);
}

.headline-total {
  margin-left: auto;
  display: grid;
  justify-items: end;
  color: #111;
}

.headline-total s {
  color: #686868;
  font-size: 10px;
}

.headline-total strong {
  font-size: 18px;
}

.summary-content {
  padding-top: 16px;
}

.summary-content[hidden] {
  display: none;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px;
  align-items: center;
  min-height: 67px;
}

.product-row + .product-row {
  border-top: 1px solid #e1e1e1;
}

.product-thumb {
  position: relative;
  width: 52px;
  height: 52px;
  overflow: visible;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.product-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 5px;
}

.product-thumb span {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #7b7b7b;
  font-size: 10px;
}

.product-row p {
  margin: 0;
  color: #626262;
  line-height: 1.35;
}

.product-row p strong,
.product-row p small {
  display: block;
}

.product-row p strong {
  font-size: 13px;
}

.product-row p small {
  margin-top: 4px;
  font-size: 11px;
}

.membership-row p small {
  color: #9a9a9a;
}

.product-row > span {
  color: #5e5e5e;
  text-align: right;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 10px;
  margin: 18px 0 23px;
}

.discount-row input,
.discount-row button {
  height: 43px;
}

.discount-row button {
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #c9c9c9;
  background: #f1f1f1;
}

.totals {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid #dedede;
}

.totals > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.totals dt,
.totals dd {
  margin: 0;
}

.grand-total {
  align-items: baseline;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #dedede;
  font-size: 16px;
  font-weight: 700;
}

.grand-total dd small {
  color: #777;
  font-size: 10px;
  font-weight: 400;
}

.grand-total dd strong {
  margin-left: 7px;
  color: #000;
  font-size: 22px;
}

.offer-box {
  margin-top: 38px;
  padding: 16px 12px 17px;
  border: 2px solid #242424;
  color: #4a4a4a;
  background: #fff;
  font-size: 11px;
  line-height: 1.55;
}

.offer-box h3 {
  margin: 0 0 17px;
  color: #202020;
  text-align: center;
  font-size: 12px;
}

.offer-box p {
  margin: 0;
  text-align: justify;
}

.policy-links {
  display: none;
  flex-wrap: wrap;
  gap: 10px 15px;
  font-size: 10px;
}

@media (max-width: 850px) {
  .site-header {
    min-height: 122px;
  }

  .wordmark strong {
    font-size: 22px;
  }

  .checkout-shell {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .checkout-form {
    max-width: none;
    order: 1;
    padding: 0 24px 36px;
  }

  .availability-note {
    display: block;
    margin-top: -5px;
  }

  .order-summary {
    order: 2;
    background: #fff;
    box-shadow: none;
  }

  .order-summary::after {
    display: none;
  }

  .summary-inner {
    width: auto;
    padding: 35px 24px 55px;
  }

  .summary-content {
    padding: 20px 16px 18px;
    background: var(--panel);
  }

  .policy-links {
    display: flex;
    margin-top: 22px;
    padding: 18px 4px 0;
    border-top: 1px solid #ddd;
    font-size: 12px;
  }

  .legal-copy {
    display: none;
  }

  .offer-box {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
  }

  .site-header {
    min-height: 118px;
    border-bottom: 0;
  }

  .wordmark strong {
    font-size: 27px;
    letter-spacing: .18em;
  }

  .checkout-form {
    padding: 0 20px 18px;
  }

  .availability-note {
    margin: 0 0 58px;
    padding: 38px 16px;
    font-size: 15px;
  }

  .form-section {
    margin-bottom: 48px;
  }

  .form-section h1,
  .form-section h2 {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .express-checkout-section {
    margin-bottom: 42px;
  }

  .express-checkout-section h2 {
    margin-bottom: 16px;
  }

  #express-checkout-element {
    min-height: 52px;
  }

  .express-checkout-terms {
    display: none;
  }

  .checkout-divider {
    margin-top: 28px;
    font-size: 12px;
  }

  input,
  select {
    height: 50px;
    padding: 0 16px;
    font-size: 16px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .field-full {
    grid-column: 1;
  }

  .location-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .secure-copy {
    margin-top: -8px;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .shipping-rate {
    min-height: 62px;
    padding: 15px;
  }

  .payment-title {
    min-height: 51px;
    padding: 10px 12px;
    font-size: 15px;
  }

  .card-logos > span {
    width: 30px;
    height: 20px;
  }

  #payment-element {
    min-height: 145px;
    padding: 12px 10px;
  }

  .billing-choices label {
    min-height: 59px;
    padding: 16px 14px;
    font-size: 15px;
  }

  .billing-choices input,
  .consent input {
    width: 20px;
    height: 20px;
  }

  .billing-fields {
    grid-template-columns: 1fr;
  }

  .billing-fields input {
    grid-column: 1;
  }

  .consent {
    grid-template-columns: 26px 1fr;
    gap: 10px;
    margin: -5px 7px 28px;
    font-size: 13px;
    line-height: 1.5;
  }

  .terms-disclosure {
    margin: -4px 0 28px;
    font-size: 12px;
  }

  .consent input {
    width: 23px;
    height: 23px;
  }

  .complete-button {
    height: 58px;
    font-size: 20px;
  }

  .summary-inner {
    padding: 38px 20px 48px;
  }

  .summary-toggle {
    min-height: 54px;
    padding: 0 12px;
    background: var(--panel);
    font-size: 15px;
  }

  .headline-total strong {
    font-size: 20px;
  }

  .summary-content {
    padding: 18px 14px 22px;
  }

  .product-row {
    grid-template-columns: 1fr auto;
  }

  .offer-box {
    margin-top: 32px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
