/* GES Checkout UI 2.0.0 - loaded only on the classic checkout form (body.ges-checkout-ui).
   The GlobaleSIM Web checkout redesign (globalesim-web, src/features/checkout) over the existing
   WooCommerce markup: two columns on the light ground - the billing card, and beside it the
   order card with the ways to pay under it. Layout is CSS on top of the existing markup plus the
   few moves checkout-ui.js makes (the order card wrapper, the coupon into the order card, the
   marketing box and trust strip into the billing card). Logical properties: the Arabic site is RTL. */

body.ges-checkout-ui {
  --gcu-primary: #0d71b9;
  --gcu-ink: #0a2a52;
  --gcu-text: #111827;
  --gcu-label: #344054;
  --gcu-muted: #667085;
  --gcu-border: #d0d5dd;
  --gcu-border-soft: #e5e7eb;
  --gcu-bg: #f8fafc;
  --gcu-key: #f2f4f7;
  --gcu-key-hover: #e4e7ec;
  --gcu-coupon: #eef6ff;
  --gcu-discount: #067647;
  --gcu-error: #d92d20;
  --gcu-radius: 12px;
  --gcu-focus: 0 0 0 3px rgba(30, 115, 190, 0.18);
  --gcu-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* The Elementor page wraps the shortcode in a rounded #F2F6F8 panel with 20px margins; here the
   whole content area between header and footer is the redesign's light-blue ground, and the
   panel dissolves into it (the order-received page does the same). */
body.ges-checkout-ui .elementor-11827 {
  background: #edf3f9;
}
body.ges-checkout-ui .elementor-11827 .elementor-element.elementor-element-8de8810 {
  --gap: 0px 0px;
  --row-gap: 0px;
  --column-gap: 0px;
}
body.ges-checkout-ui .elementor-11827 .elementor-element.elementor-element-7230e8f {
	background-color: #edf3f9; /* the redesign's light-blue ground, not the panel's grey */
  --margin-top: 0px;
  --margin-bottom: 0px;
  --margin-left: 0px;
  --margin-right: 0px;
  --border-radius: 0;
  --padding-top: 10px;
  --padding-bottom: 32px;
  --padding-left: 16px;
  --padding-right: 16px;
}
@media (min-width: 768px) {
  body.ges-checkout-ui .elementor-11827 .elementor-element.elementor-element-7230e8f {
    --padding-top: 24px;
    --padding-bottom: 48px;
    --padding-left: 32px;
    --padding-right: 32px;
  }
}
.ges-checkout-ui .new_globalesim_checkout .woocommerce {
  max-width: 1104px;
  margin: 0 auto;
  font-family: var(--gcu-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gcu-text);
}
.ges-checkout-ui .new_globalesim_checkout .woocommerce h3,
.ges-checkout-ui .new_globalesim_checkout .woocommerce p,
.ges-checkout-ui .new_globalesim_checkout .woocommerce li,
.ges-checkout-ui .new_globalesim_checkout .woocommerce label,
.ges-checkout-ui .new_globalesim_checkout .woocommerce input,
.ges-checkout-ui .new_globalesim_checkout .woocommerce button {
  font-family: var(--gcu-font);
}

/* ------------------------------------------------------- breadcrumb, h1 */
.ges-checkout-ui .ges-checkout-crumb {
  margin: 0 0 16px;
  font-size: 15px; /* the site's component is 12.5px; here it is the page's only heading line */
  gap: 8px;
}
.ges-checkout-ui .ges-checkout-crumb .ges-crumbs__here {
  max-width: none;
}
.ges-checkout-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ grid */
.ges-checkout-ui .new_globalesim_checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (min-width: 768px) {
  .ges-checkout-ui .new_globalesim_checkout form.checkout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "notice notice"
      "billing order"
      "billing pay"
      "billing .";
    gap: 20px 32px;
  }
}
@media (min-width: 1024px) {
  .ges-checkout-ui .new_globalesim_checkout form.checkout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    column-gap: 40px;
  }
}
/* WooCommerce prepends its validation errors to the form: a full-width row above the cards */
.ges-checkout-ui form.checkout .woocommerce-NoticeGroup-checkout {
  grid-area: notice;
}
.ges-checkout-ui form.checkout #customer_details {
  grid-area: billing;
  width: 100% !important;
  margin: 0;
}
.ges-checkout-ui form.checkout #order_review,
.ges-checkout-ui form.checkout .gl-order-review {
  display: contents;
}
.ges-checkout-ui form.checkout .ges-order-card {
  grid-area: order;
}
.ges-checkout-ui form.checkout #checkout-terms-device-wrapper {
  grid-area: pay;
  display: flex;
  flex-direction: column;
}

/* ----------------------------------------------------------------- cards */
.ges-checkout-ui form.checkout #customer_details,
.ges-checkout-ui form.checkout .ges-order-card {
  background: #fff;
  border: 1px solid var(--gcu-border-soft) !important;
  border-radius: var(--gcu-radius);
  padding: 16px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .ges-checkout-ui form.checkout #customer_details,
  .ges-checkout-ui form.checkout .ges-order-card {
    padding: 24px !important;
  }
}
/* the payment block sits on the ground under the order card (desktop); a card on phones */
@media (max-width: 767px) {
  .ges-checkout-ui form.checkout #checkout-terms-device-wrapper {
    background: #fff;
    border: 1px solid var(--gcu-border-soft) !important;
    border-radius: var(--gcu-radius);
    padding: 16px !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    box-sizing: border-box;
  }
}

/* -------------------------------------------------------------- headings */
.ges-checkout-ui form.checkout .woocommerce-billing-fields > h3,
.ges-checkout-ui form.checkout #order_review_heading,
.ges-checkout-ui form.checkout .ges-payment-heading {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gcu-text);
  text-align: start;
  width: 100% !important; /* checkout.css gives #order_review_heading width: 70% !important */
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.ges-checkout-ui form.checkout .ges-payment-heading {
  order: -1;
}
@media (min-width: 768px) {
  .ges-checkout-ui form.checkout .ges-payment-heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }
}
.ges-checkout-ui form.checkout #checkout-terms-device-wrapper .custom-checks {
  order: 0;
}
.ges-checkout-ui form.checkout #checkout-terms-device-wrapper #payment {
  order: 1;
}
.ges-checkout-ui form.checkout #checkout-terms-device-wrapper > div:not(.custom-checks):not(#payment) {
  order: 2;
}
/* the consent sentence sits under the pay button (both inside #payment, before it in the markup) */
.ges-checkout-ui form.checkout #checkout-terms-device-wrapper .ges-consent {
  order: 2;
  margin: 14px 0 0;
}

/* --------------------------------------------------------- billing fields */
.ges-checkout-ui form.checkout .col2-set .col-1,
.ges-checkout-ui form.checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}
/* Order notes, the attribution inputs, the topup/unlimited flags: not part of this form's face */
.ges-checkout-ui form.checkout .col2-set .col-2,
.ges-checkout-ui form.checkout #billing_topup_field,
.ges-checkout-ui form.checkout #billing_unlimited_field {
  display: none !important;
}
.ges-checkout-ui form.checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 12px;
}
@media (min-width: 1024px) {
  .ges-checkout-ui form.checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ges-checkout-ui form.checkout .woocommerce-billing-fields__field-wrapper p.form-row:not(.form-row-first):not(.form-row-last) {
    grid-column: 1 / -1;
  }
}
.ges-checkout-ui form.checkout .woocommerce-billing-fields__field-wrapper p.form-row {
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.ges-checkout-ui form.checkout .form-row label,
.ges-checkout-ui form.checkout label[for="billing_first_name"],
.ges-checkout-ui form.checkout label[for="billing_last_name"],
.ges-checkout-ui form.checkout label[for="billing_phone"],
.ges-checkout-ui form.checkout label[for="billing_email"] {
  display: block !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gcu-label) !important;
  margin: 0 0 6px;
}
/* the field editor hid the Company label as screen-reader-only; show it like the others */
.ges-checkout-ui form.checkout #billing_company_field label.screen-reader-text {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
}
.ges-checkout-ui form.checkout .form-row label .required {
  color: var(--gcu-error);
  text-decoration: none;
  font-weight: 600;
}
.ges-checkout-ui form.checkout .form-row label .optional {
  font-weight: 400;
  color: var(--gcu-muted);
}
/* Elementor hides every span inside .screen-reader-text (the Company label carries that class) */
.ges-checkout-ui form.checkout #billing_company_field label.screen-reader-text .optional {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
}

.ges-checkout-ui form.checkout .form-row .input-text,
.ges-checkout-ui form.checkout #activation_date,
.ges-checkout-ui form.checkout #ges_coupon_code {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  font-size: 15px;
  color: var(--gcu-text);
  background: #fff;
  border: 1px solid var(--gcu-border) !important;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ges-checkout-ui form.checkout .form-row .input-text:focus,
.ges-checkout-ui form.checkout #activation_date:focus,
.ges-checkout-ui form.checkout #ges_coupon_code:focus {
  border-color: var(--gcu-primary) !important;
  box-shadow: var(--gcu-focus);
  outline: none;
}
.ges-checkout-ui form.checkout .form-row .input-text::placeholder {
  color: #98a2b3;
}
.ges-checkout-ui form.checkout #activation_date {
  cursor: pointer;
}
/* "Can be changed up to 24 hours before activation" (field editor paragraph): removed (Liron, 2026-09-24) */
.ges-checkout-ui form.checkout #billing_activation_info_field {
  display: none !important;
}

/* the marketing box and the trust strip, moved into the billing card by the script */
.ges-checkout-ui form.checkout #customer_details #marketing_consent_field {
  margin: 18px 0 0;
  padding: 0;
}
.ges-checkout-ui form.checkout #customer_details .checkout-payment-info {
  margin-top: 16px;
}

/* ----------------------------------------------------------------- coupon */
.ges-checkout-ui form.checkout .ges-order-card > label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  margin: 16px 0 0;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gcu-primary) !important;
  background: var(--gcu-coupon);
  border: 1px dashed var(--gcu-primary);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
}
.ges-checkout-ui form.checkout .ges-order-card > label::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ges-checkout-ui form.checkout .ges-order-card > label::after {
  content: "";
  width: 8px;
  height: 8px;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}
.ges-checkout-ui form.checkout .ges-order-card > label[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}
.ges-checkout-ui form.checkout .ges-order-card > label:focus-visible {
  outline: none;
  box-shadow: var(--gcu-focus);
}
.ges-checkout-ui form.checkout .ges-coupon-container {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.ges-checkout-ui form.checkout .ges-coupon-container[hidden] {
  display: none !important;
}
.ges-checkout-ui form.checkout .ges-coupon-container #ges_coupon_code {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
}
.ges-checkout-ui form.checkout .ges-coupon-container #ajax_coupon {
  flex: 0 0 auto;
  height: 46px;
  margin: 0;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 0;
  background: var(--gcu-primary) !important;
  color: #fff !important;
  cursor: pointer;
}

/* ---------------------------------------------------------- order summary */
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  display: flex;
  flex-direction: column;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table thead {
  display: none;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tbody {
  display: block;
  width: 100%;
}
/* one compact line: [image] name + meta | total, then the quantity control and the remove × */
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tr.cart_item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--gcu-border-soft);
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .product-name,
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .product-total,
.ges-checkout-ui form.checkout .product-item__img {
  display: contents !important;
}
/* !important: an image plugin injects style="width:100%;height:100%;max-width:50px" on the image */
.ges-checkout-ui form.checkout .product-item__img img {
  grid-column: 1;
  grid-row: 1;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 !important;
}
.ges-checkout-ui form.checkout .product-item__data {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: auto !important;
}
.ges-checkout-ui form.checkout .product-item__name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gcu-text) !important;
}
/* the attribute values as one line, "10GB · 0 Minutes"; the labels and the "About" copy stay out */
.ges-checkout-ui form.checkout .product-item__data dl.variation {
  display: block;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gcu-muted) !important;
}
.ges-checkout-ui form.checkout .product-item__data dl.variation dt,
.ges-checkout-ui form.checkout .product-item__data dl.variation dd.variation-About {
  display: none;
}
.ges-checkout-ui form.checkout .product-item__data dl.variation dd {
  display: inline;
  margin: 0;
  padding: 0;
  font-weight: 400;
  color: var(--gcu-muted) !important;
}
.ges-checkout-ui form.checkout .product-item__data dl.variation dd p {
  display: inline;
  margin: 0;
}
.ges-checkout-ui form.checkout .product-item__data dl.variation dd:not(.variation-About) + dd:not(.variation-About)::before,
.ges-checkout-ui form.checkout .product-item__data dl.variation dd:not(.variation-About) ~ dd:not(.variation-About)::before {
  content: "\00b7\00a0";
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .product-total > span {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 15px;
  font-weight: 700;
  color: var(--gcu-text);
  white-space: nowrap;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .product-total > div {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* the × that removes the line, at the end of the control row */
.ges-checkout-ui form.checkout .product-item__img a.remove {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  position: static !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  text-align: center !important;
  color: #475467 !important;
  background: transparent !important;
  border: 0;
  border-radius: 6px;
  text-decoration: none;
}
.ges-checkout-ui form.checkout .product-item__img a.remove:hover {
  background: var(--gcu-key) !important;
  color: var(--gcu-error) !important;
}

/* quantity control: [ − ] 1 [ + ] in one rounded box; the − disappears at the minimum */
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity {
  display: inline-flex !important;
  align-items: stretch;
  height: 28px;
  border: 1px solid var(--gcu-border);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  margin: 0;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity .qty-minus,
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity .qty-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--gcu-key) !important;
  color: var(--gcu-text) !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  box-shadow: none !important;
  cursor: pointer;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity .qty-minus:hover,
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity .qty-plus:hover {
  background: var(--gcu-key-hover) !important;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table .quantity input.qty {
  width: 32px !important;
  height: auto;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--gcu-text) !important;
  -moz-appearance: textfield;
  appearance: textfield;
}
.ges-checkout-ui form.checkout .quantity input.qty::-webkit-outer-spin-button,
.ges-checkout-ui form.checkout .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.ges-checkout-ui form.checkout .quantity.is-min .qty-minus {
  display: none;
}
.ges-checkout-ui form.checkout .quantity .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* totals: each row under a firm rule, as the redesign draws them */
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-top: 2px solid #000;
  font-size: 15px;
  color: var(--gcu-text);
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot th,
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot td {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-weight: 400;
  text-align: start;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: end;
  font-weight: 600;
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot tr.cart-discount td {
  color: var(--gcu-discount);
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot tr.cart-discount .woocommerce-remove-coupon {
  margin-inline-start: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--gcu-muted);
}
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot tr.order-total th,
.ges-checkout-ui form.checkout .woocommerce-checkout-review-order-table tfoot tr.order-total td {
  font-weight: 700;
  font-size: 18px;
}

/* ------------------------------------------------- consent and checkboxes */
/* Continuing accepts the terms and confirms the device (the sentence above the ways to pay
   says so; the script keeps the two checkboxes ticked). The newsletter plugin's box and the
   privacy text have no place on this form. */
.ges-checkout-ui form.checkout .custom-checks .wcin-subscribe,
.ges-checkout-ui form.checkout .custom-checks .woocommerce-terms-and-conditions-wrapper,
.ges-checkout-ui form.checkout .custom-checks #esim_device_confirm_field {
  display: none !important;
}
.ges-checkout-ui form.checkout .custom-checks {
  padding: 0 !important;
  margin: 0;
}
.ges-checkout-ui form.checkout .ges-consent {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--gcu-label);
}
.ges-checkout-ui form.checkout .ges-consent a {
  color: var(--gcu-label) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ges-checkout-ui form.checkout .ges-consent a:hover {
  color: var(--gcu-primary) !important;
}

.ges-checkout-ui form.checkout #marketing_consent_field label.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gcu-text) !important;
  cursor: pointer;
}
/* own checkbox drawing so the tick is dead-centre whatever the theme does */
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: static !important;
  display: inline-grid;
  place-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  background: #fff;
  border: 2px solid var(--gcu-primary) !important;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: var(--gcu-focus);
}
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"]:checked {
  background: var(--gcu-primary);
}
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"]::before,
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"]::after {
  content: none;
}
.ges-checkout-ui form.checkout #marketing_consent_field input[type="checkbox"]:checked::after {
  content: "";
  position: static !important;
  width: 5px;
  height: 10px;
  margin: 0 0 3px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  background: transparent;
  transform: rotate(45deg);
}
.ges-checkout-ui form.checkout #marketing_consent_field .woocommerce-terms-and-conditions-checkbox-text {
  display: inline;
  padding: 0 !important;
  font-size: 15px;
  line-height: 1.4;
}
.ges-checkout-ui form.checkout #marketing_consent_field .marketing-consent-subtext {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--gcu-muted);
}

/* -------------------------------------------------------------- payment */
.ges-checkout-ui form.checkout #payment {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.ges-checkout-ui form.checkout #payment ul.payment_methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}
.ges-checkout-ui form.checkout #payment li.wc_payment_method {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--gcu-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ges-checkout-ui form.checkout #payment li.wc_payment_method:has(input[type="radio"]:checked) {
  border-color: var(--gcu-primary);
  box-shadow: var(--gcu-focus);
}
.ges-checkout-ui form.checkout #payment li.wc_payment_method > label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gcu-text) !important;
  cursor: pointer;
}
/* method marks (Apple Pay / G Pay, the PayPal wordmark) sit at the far end of the row */
.ges-checkout-ui form.checkout #payment li.wc_payment_method > label > img,
.ges-checkout-ui form.checkout #payment li.wc_payment_method > label .ges-paycom-wallet-icons {
  margin-inline-start: auto !important;
  max-height: 22px;
  width: auto;
}
/* the two wallet marks, built alike by the script: icon + "Pay" in the page's type, one baseline */
.ges-checkout-ui form.checkout #payment .ges-paycom-wallet-icons {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  line-height: 1;
}
.ges-checkout-ui form.checkout #payment .ges-wallet-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--gcu-text);
}
.ges-checkout-ui form.checkout #payment .ges-wallet-mark img {
  display: block;
  height: 16px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.ges-checkout-ui form.checkout #payment .ges-wallet-mark img[alt="Apple Pay"] {
  height: 17px !important;
  margin-top: -2px !important; /* the apple sits a touch high, like the printed mark */
}
/* the card gateway's own box repeats the marks; the PayPal box carries the e-mail note */
.ges-checkout-ui form.checkout #payment .payment_box.payment_method_paycom {
  display: none !important;
}
.ges-checkout-ui form.checkout #payment .payment_box {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 12px;
  color: var(--gcu-muted);
}
.ges-checkout-ui form.checkout #payment .payment_box::before {
  display: none;
}
.ges-checkout-ui form.checkout #payment .payment_box p {
  margin: 0 0 4px;
  font-size: 12px !important;
  line-height: 1.5;
  color: var(--gcu-muted) !important;
}

/* the button */
.ges-checkout-ui form.checkout .place-order {
  margin: 0;
  padding: 0;
}
/* the Turnstile plugin separates its (invisible) widget from the button with a <br>: dead space */
.ges-checkout-ui form.checkout .place-order br.cf-turnstile-br {
  display: none;
}
.ges-checkout-ui form.checkout .place-order .cf-turnstile:not(:empty) {
  margin-bottom: 10px;
}
.ges-checkout-ui form.checkout .ges-fill-first {
  display: none;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gcu-label);
}
.ges-checkout-ui form.checkout.ges-incomplete .ges-fill-first {
  display: block;
}
.ges-checkout-ui form.checkout #place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff !important;
  background: var(--gcu-primary) !important;
  border: 0;
  border-radius: 10px;
  transition: filter 0.15s, transform 0.05s, opacity 0.15s;
}
.ges-checkout-ui form.checkout #place_order:hover:not(:disabled) {
  filter: brightness(1.1);
}
.ges-checkout-ui form.checkout #place_order:active:not(:disabled) {
  transform: translateY(1px);
}
.ges-checkout-ui form.checkout #place_order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* PayPal's own button while the required details are missing: shown, not yet usable */
.ges-checkout-ui form.checkout.ges-incomplete .ppc-button-wrapper {
  opacity: 0.5;
  pointer-events: none;
}
.ges-checkout-ui form.checkout .ges-order-button-subtext {
  display: none;
}

/* trust strip: moved into the billing card by the script */
.ges-checkout-ui .checkout-payment-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: var(--gcu-bg);
  font-size: 12px;
  color: var(--gcu-muted);
}
.ges-checkout-ui .checkout-payment-info .images-holder {
  display: flex;
  gap: 8px;
}
.ges-checkout-ui .checkout-payment-info .images-holder img {
  height: 20px;
  width: auto !important;
  max-width: none !important;
}
.ges-checkout-ui .checkout-payment-info .contnt-line {
  padding: 0;
}
.ges-checkout-ui .checkout-payment-info p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 16px;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}
.ges-checkout-ui .checkout-payment-info .ges-trust-item {
  white-space: nowrap;
}
.ges-checkout-ui .checkout-payment-info a {
  color: var(--gcu-primary);
}

/* --------------------------------------------------- validation errors */
.ges-checkout-ui form.checkout .woocommerce-NoticeGroup-checkout .woocommerce-error,
.ges-checkout-ui form.checkout .woocommerce-NoticeGroup-updateOrderReview .woocommerce-error {
  position: relative;
  margin: 0 !important;
  padding: 14px 16px 14px 48px !important;
  list-style: none;
  background: #fef3f2 !important;
  border: 1px solid #fecdca !important;
  border-inline-start: 4px solid var(--gcu-error) !important;
  border-radius: 10px;
  box-shadow: none !important;
  color: #7a271a;
  font-size: 14px;
  line-height: 1.45;
}
.ges-checkout-ui form.checkout .woocommerce-error::before {
  content: "!";
  position: absolute;
  top: 14px;
  inset-inline-start: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gcu-error);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  font-family: inherit;
}
.ges-checkout-ui form.checkout .woocommerce-error li {
  margin: 0 !important;
  padding: 3px 0 !important;
  list-style: none;
  color: #7a271a;
}
.ges-checkout-ui form.checkout .woocommerce-error li + li {
  border-top: 1px solid #fecdca;
  padding-top: 8px !important;
  margin-top: 5px !important;
}
.ges-checkout-ui form.checkout .woocommerce-error li strong {
  font-weight: 700;
}
.ges-checkout-ui form.checkout .woocommerce-error li a {
  color: #b42318;
  text-decoration: underline;
}
.ges-checkout-ui form.checkout .form-row.woocommerce-invalid .input-text,
.ges-checkout-ui form.checkout .form-row.woocommerce-invalid #activation_date {
  border-color: var(--gcu-error) !important;
  background: #fffbfa;
}
.ges-checkout-ui form.checkout .form-row.woocommerce-invalid label {
  color: #b42318 !important;
}

/* ---------------------------------------------------- notices, chat */
/* "X has been added to your cart" - the line already sits in Your order */
.ges-checkout-ui .woocommerce-notices-wrapper .woocommerce-message {
  display: none !important;
}
.ges-checkout-ui #greeting-message-container {
  display: none !important;
}
@media (min-width: 768px) {
  /* left: 84px leaves room for the Cookiebot badge that already sits in that corner */
  .ges-checkout-ui #glassix-widget-launcher-container,
  .ges-checkout-ui #glassix-widget-iframe-container {
    left: 84px !important;
    right: auto !important;
  }
}

/* ----------------------------------------------------------------- mobile */
@media (max-width: 767px) {
  /* one column: errors -> summary (collapsible) -> billing -> payment. Named areas, because the
     children carry grid-area names and an undefined name puts every item on the same row. */
  .ges-checkout-ui .new_globalesim_checkout form.checkout {
    grid-template-areas:
      "notice"
      "order"
      "billing"
      "pay";
  }
  .ges-checkout-ui form.checkout #order_review_heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
  }
  .ges-checkout-ui form.checkout #order_review_heading .ges-summary-total {
    margin-inline-start: auto;
    font-size: 17px;
    font-weight: 700;
  }
  .ges-checkout-ui form.checkout #order_review_heading::after {
    content: "";
    width: 9px;
    height: 9px;
    border-inline-end: 2px solid var(--gcu-muted);
    border-bottom: 2px solid var(--gcu-muted);
    transform: rotate(225deg) translateY(-2px);
    transition: transform 0.15s;
  }
  .ges-checkout-ui.ges-summary-collapsed form.checkout #order_review_heading::after {
    transform: rotate(45deg) translateY(-3px);
  }
  .ges-checkout-ui form.checkout .ges-order-card.is-open #order_review_heading {
    margin-bottom: 14px;
  }
  .ges-checkout-ui.ges-summary-collapsed form.checkout .ges-order-card > :not(#order_review_heading) {
    display: none !important;
  }

  /* payment card: ways to pay -> pay button -> consent -> trust strip */
  /* after #payment (order 1): the consent sentence, the marketing box, the trust strip - all order 2
     (the wrapper's div rule), so they follow the markup, where checkout-ui.js appends them in turn */
  .ges-checkout-ui form.checkout #checkout-terms-device-wrapper > #marketing_consent_field {
    order: 2;
    margin: 14px 0 0;
    padding: 0;
  }
  .ges-checkout-ui form.checkout #checkout-terms-device-wrapper > .checkout-payment-info {
    margin-top: 14px;
  }
}

/* ------------------------------------------------ add another destination */
.ges-checkout-ui .ges-suggest {
  max-width: 1104px;
  margin: 32px auto 0;
}
.ges-checkout-ui .ges-suggest__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.ges-checkout-ui .ges-suggest .ges-suggest__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--gcu-text);
}
.ges-checkout-ui .ges-suggest .ges-suggest__all {
  font-size: 14px;
  font-weight: 600;
  color: var(--gcu-primary) !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.ges-checkout-ui .ges-suggest .ges-suggest__all:hover {
  text-decoration: underline !important;
}
.ges-checkout-ui .ges-suggest .ges-suggest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .ges-checkout-ui .ges-suggest .ges-suggest__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}
.ges-checkout-ui .ges-suggest .ges-suggest__card {
  margin: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--gcu-border-soft);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ges-checkout-ui .ges-suggest .ges-suggest__card.is-added {
  display: none;
}
.ges-checkout-ui .ges-suggest__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
/* !important: an image plugin injects style="width:100%;height:…" on every attachment image */
.ges-checkout-ui .ges-suggest .ges-suggest__img {
  flex: none;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  border-radius: 50%;
  object-fit: cover;
}
.ges-checkout-ui .ges-suggest .ges-suggest__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--gcu-text) !important;
  text-decoration: none !important;
}
.ges-checkout-ui .ges-suggest .ges-suggest__name:hover {
  color: var(--gcu-primary) !important;
}
.ges-checkout-ui .ges-suggest .ges-suggest__plan {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--gcu-muted);
}
.ges-checkout-ui .ges-suggest__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.ges-checkout-ui .ges-suggest .ges-suggest__price {
  font-size: 17px;
  font-weight: 700;
  color: var(--gcu-text);
}
.ges-checkout-ui .ges-suggest .ges-suggest__price del {
  display: none;
}
/* Twenty Twenty-One paints every button with the primary colour; this one is outlined */
.ges-checkout-ui .ges-suggest .ges-suggest__row button.ges-suggest__add {
  min-width: 56px;
  height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--gcu-primary);
  border-radius: 8px;
  background: #fff;
  background-color: #fff;
  color: var(--gcu-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ges-checkout-ui .ges-suggest .ges-suggest__row button.ges-suggest__add:hover:not(:disabled) {
  background-color: var(--gcu-primary);
  color: #fff;
}
.ges-checkout-ui .ges-suggest .ges-suggest__row button.ges-suggest__add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* The Turnstile fail-open plugin (mu-plugins/ges-turnstile-failopen.php) prints a Hebrew note when
   the widget does not load; the site is English and the note only unsettles buyers. Hidden here -
   its hidden ges_cf_unavailable field, which lets the order through, is untouched. */
.ges-checkout-ui .ges-cf-unavailable-note {
  display: none !important;
}
