/* GTECH V8190 — checkout-only MYNTED-inspired organization.
   Preserves GTECH branding, server prices and TotalPay behavior. */
body:has(form.gtech-checkout-v2) .announcement,
body:has(form.gtech-checkout-v2) .header-search,
body:has(form.gtech-checkout-v2) .gtech-back-to-top {
  display: none !important;
}
body:has(form.gtech-checkout-v2) .checkout-heading {
  padding: 24px 5% 19px;
}
body:has(form.gtech-checkout-v2) .checkout-heading .gtech-purchase-limit {
  font-size: 12px;
  line-height: 1.45;
  opacity: .8;
  margin: 0 0 9px;
  max-width: 800px;
}
body:has(form.gtech-checkout-v2) .checkout-heading .eyebrow {
  display: none;
}
body:has(form.gtech-checkout-v2) .checkout-heading h1 {
  font-size: clamp(26px, 4vw, 37px);
  margin: 0 0 5px;
}
body:has(form.gtech-checkout-v2) .checkout-heading > p:last-child {
  font-size: 13px;
  line-height: 1.45;
}
.gtech-checkout-v2 .checkout-main {
  gap: 15px;
}
.gtech-checkout-v2 .checkout-card-title {
  margin-bottom: 14px;
}
.gtech-checkout-v2 .checkout-card-title h2 {
  letter-spacing: -.35px;
}
.gtech-checkout-v2 .checkout-helper {
  font-size: 12px;
  line-height: 1.55;
}
.gtech-checkout-v2 .checkout-payment {
  padding: 12px 14px !important;
  gap: 12px;
}
.gtech-checkout-v2 .checkout-payment p {
  margin-top: 4px;
  line-height: 1.5;
}
.gtech-checkout-v2 .gtech-checkout-notes-details,
.gtech-checkout-v2 .gtech-checkout-terms {
  background: #faf8f2;
  border: 1px solid #dfd5bd;
  border-radius: 12px;
  margin-top: 14px;
  color: #31432f;
  overflow: hidden;
}
.gtech-checkout-v2 :is(.gtech-checkout-notes-details,.gtech-checkout-terms) > summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.gtech-checkout-v2 :is(.gtech-checkout-notes-details,.gtech-checkout-terms) > summary::-webkit-details-marker {display:none;}
.gtech-checkout-v2 :is(.gtech-checkout-notes-details,.gtech-checkout-terms) > summary::after {
  content: '+';
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
}
.gtech-checkout-v2 :is(.gtech-checkout-notes-details,.gtech-checkout-terms)[open] > summary::after {content:'−';}
.gtech-checkout-v2 .gtech-checkout-notes-details .checkout-notes {padding: 0 14px 14px;display:block;}
.gtech-checkout-v2 .gtech-checkout-notes-details textarea {margin-top:8px;}
.gtech-checkout-v2 .gtech-checkout-terms > p {
  margin: 0 15px 13px;
  color: #4c5746;
  font-size: 12px;
  line-height: 1.7;
}
.gtech-checkout-v2 .gtech-checkout-pay-notice {
  margin-bottom: 10px;
  font-size: 11px;
}
.gtech-checkout-v2 .checkout-summary .gtech-checkout-mini-products {
  display: none;
}
.gtech-checkout-v2 .checkout-summary h2 {
  margin: 6px 0 12px;
}
.gtech-checkout-v2 .checkout-summary .summary-total {
  margin-top: 13px;
  padding-top: 15px;
}
.gtech-checkout-v2 .checkout-totals > div {
  gap: 16px;
  align-items: start;
}
.gtech-checkout-v2 .checkout-totals > div > b {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  body:has(form.gtech-checkout-v2) .checkout-heading {
    padding: 18px 5% 13px;
  }
  body:has(form.gtech-checkout-v2) .checkout-shell {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }
  .gtech-checkout-v2.checkout-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }
  .gtech-checkout-v2 .checkout-card {
    padding: 18px 16px !important;
    border-radius: 15px;
  }
  .gtech-checkout-v2 .checkout-card-title h2 {
    font-size: 19px;
  }
  .gtech-checkout-v2 .fulfillment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
  .gtech-checkout-v2 .fulfillment-option {
    padding: 11px 9px !important;
    gap: 7px !important;
  }
  .gtech-checkout-v2 .fulfillment-option b {
    font-size: 13px;
    line-height: 1.35;
  }
  .gtech-checkout-v2 .fulfillment-option small {
    font-size: 10px;
    line-height: 1.45;
  }
  .gtech-checkout-v2 .gtech-phone-row {
    grid-template-columns: minmax(0, 135px) minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  .gtech-checkout-v2 .gtech-phone-country {
    font-size: 12px !important;
    padding-left: 8px !important;
  }
  .gtech-checkout-v2 .checkout-item {
    padding: 12px 0 !important;
  }
  .gtech-checkout-v2 .checkout-item-details > b {
    display: none;
  }
  .gtech-checkout-v2 .checkout-summary .eyebrow {
    display: none;
  }
  .gtech-checkout-v2 .gtech-checkout-pay-button {
    position: fixed !important;
    left: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 1200;
    width: calc(100% - 24px) !important;
    max-width: none;
    min-height: 58px !important;
    padding: 14px 18px !important;
    border-radius: 13px !important;
    font-size: 15px !important;
    box-shadow: 0 10px 30px rgba(21, 33, 19, .26) !important;
  }
  body:has(form.gtech-checkout-v2) :is(input:focus,textarea:focus,select:focus) ~ .gtech-checkout-pay-button {
    display: none !important;
  }
  body:has(form.gtech-checkout-v2):has(:is(input:focus,textarea:focus,select:focus)) .gtech-checkout-pay-button {
    display: none !important;
  }
}
@media (max-width: 350px) {
  .gtech-checkout-v2 .gtech-phone-row {
    grid-template-columns: minmax(0, 108px) minmax(0, 1fr) !important;
  }
}
