/* Order dialog and product-page button. Built only from the site's existing look:
   Jost/Archivo/Roboto, navy var(--brand-heading, #0d1557), blue var(--brand-primary, #293fcc), white cards, 3–4 px radius, Elementor buttons. */
.order-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background: #fff;
  color: var(--brand-heading, #0d1557);
  box-shadow: 0 10px 40px rgba(13, 21, 87, 0.18);
  overflow: auto;
}
.order-dialog::backdrop {
  background: rgba(13, 21, 87, 0.55);
  /* Keeps the page behind the modal from scrolling, without touching html/body overflow. */
  overflow: hidden;
  overscroll-behavior: contain;
}
.order-dialog:modal {
  overscroll-behavior: contain;
}
.order-dialog__box {
  position: relative;
  padding: 32px 28px 28px;
}
.order-dialog__title {
  margin: 0 32px 6px 0;
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--brand-heading, #0d1557);
}
.order-dialog__intro {
  margin: 0 0 18px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-heading, #0d1557);
}
.order-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--brand-heading, #0d1557);
  font-size: 18px;
  cursor: pointer;
}
.order-dialog__close:hover,
.order-dialog__close:focus-visible {
  background: #f4f5fb;
  color: var(--brand-primary, #293fcc);
}
.order-field {
  display: block;
  margin: 0 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-heading, #0d1557);
}
.order-field span {
  display: block;
  margin-bottom: 6px;
}
.order-field input,
.order-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d6d9ea;
  border-radius: 3px;
  background: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--brand-heading, #0d1557);
}
.order-field :is(input, select):user-invalid {
  border-color: #c0392b;
  background: #fdf3f2;
}
.order-field input:focus,
.order-field select:focus {
  border-color: var(--brand-primary, #293fcc);
  outline: 2px solid rgba(41, 63, 204, 0.18);
  outline-offset: 0;
}
.order-field--hidden {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.order-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 4px 0 12px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand-heading, #0d1557);
}
.order-check input {
  margin-top: 3px;
  accent-color: var(--brand-primary, #293fcc);
}
.order-check a {
  color: var(--brand-primary, #293fcc);
}
.order-error {
  min-height: 1px;
  margin: 0 0 10px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #c0392b;
}
.order-error:empty {
  display: none;
}
.order-dialog .elementor-button,
.wp-order-cta .elementor-button,
.contact-whatsapp-link.elementor-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 54px;
  border: 0;
  border-radius: 3px;
  background-color: var(--brand-primary, #293fcc);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s;
}
.order-dialog .elementor-button {
  width: 100%;
  min-height: 46px;
}
.order-dialog .elementor-button:hover,
.wp-order-cta .elementor-button:hover,
.contact-whatsapp-link.elementor-button:hover {
  transform: scale(1.04);
  color: #fff;
}
.order-dialog .elementor-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.order-reference {
  font-weight: 700;
}
.wp-order-cta {
  padding: 10px 0 40px;
  text-align: center;
}
.wp-order-cta__price {
  margin: 0 0 18px;
  font-family: "Jost", sans-serif;
  font-size: 44px;
  font-weight: 500;
  color: var(--brand-heading, #0d1557);
}
.wp-order-cta__price del {
  margin-right: 8px;
  font-size: 24px;
  opacity: 0.55;
}
.wpforms-confirmation-container-full {
  font-family: "Roboto", sans-serif;
  color: var(--brand-heading, #0d1557);
}
.wpforms-confirmation-container-full p {
  margin: 0 0 16px;
}
.wpforms-error-container {
  margin: 0 0 12px;
  color: #c0392b;
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .order-dialog .elementor-button,
  .wp-order-cta .elementor-button {
    transition: none;
  }
}

/* Cookie consent (shown only when analytics is configured), in the site's colours. */
.consent-banner {
  position: fixed;
  z-index: 9999;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  padding: 16px 20px;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(13, 21, 87, 0.15);
  color: var(--brand-heading, #0d1557);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
.consent-banner p {
  flex: 1;
  margin: 0;
}
.consent-banner a {
  color: var(--brand-primary, #293fcc);
  text-decoration: underline;
}
.consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.consent-actions .button {
  min-height: 40px;
  padding: 10px 22px;
  border: 1px solid var(--brand-primary, #293fcc);
  border-radius: 3px;
  background: var(--brand-primary, #293fcc);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.consent-actions .button-outline {
  background: transparent;
  color: var(--brand-primary, #293fcc);
}
.consent-settings {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 700px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .consent-actions .button {
    flex: 1;
  }
}

/* Published testimonials (Admin → Testimonials), under the review screenshots. */
.wp-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}
.wp-testimonial {
  margin: 0;
  padding: 20px;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background: #fff;
  font-family: "Roboto", sans-serif;
  color: var(--brand-heading, #0d1557);
}
.wp-testimonial__stars {
  margin-bottom: 10px;
  color: #00b67a;
  font-size: 14px;
}
.wp-testimonial blockquote {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}
.wp-testimonial figcaption {
  font-size: 13px;
}
.wp-testimonial figcaption span {
  color: #54595f;
}

/* Blog list and GEO details on pages and posts */
.wp-blog-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wp-blog-list li + li {
  margin-top: 24px;
}

/* Blog (/blog and /blog/<slug>): hero, article cards and article page in the site's look. */
.wp-blog-page .site-main {
  max-width: 1140px;
}
.wp-blog-hero {
  margin: 8px 0 36px;
  padding: 48px 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--brand-heading, #0d1557) 0%, var(--brand-primary, #293fcc) 100%);
  color: #fff;
  text-align: center;
}
.wp-blog-hero__eyebrow {
  margin: 0 0 8px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.wp-blog-hero__title {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}
.wp-blog-hero__intro {
  max-width: 640px;
  margin: 14px auto 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
}
.wp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 28px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}
.wp-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e9e9e9;
  border-radius: 4px;
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.wp-blog-card:hover,
.wp-blog-card:focus-within {
  box-shadow: 0 10px 30px rgba(13, 21, 87, 0.12);
  transform: translateY(-2px);
}
@media (min-width: 900px) {
  .wp-blog-card--featured {
    grid-column: span 2;
  }
}
.wp-blog-card a,
.wp-blog-card a:hover {
  text-decoration: none;
}
.wp-blog-empty a {
  color: var(--brand-primary, #293fcc);
}
.wp-blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f4f5fb;
}
.wp-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-blog-card__placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #eef0fb 0%, #dfe3f8 100%);
  color: var(--brand-primary, #293fcc);
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 500;
}
.wp-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.wp-blog-card__title {
  margin: 8px 0 10px;
  font-family: "Jost", sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.wp-blog-card__title a {
  color: var(--brand-heading, #0d1557);
  text-decoration: none;
}
.wp-blog-card__title a:hover,
.wp-blog-card__title a:focus-visible {
  color: var(--brand-primary, #293fcc);
}
.wp-blog-card__excerpt {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #54595f;
}
.wp-blog-card__more {
  margin-top: auto;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-primary, #293fcc);
  text-decoration: none;
}
.wp-blog-empty {
  margin: 0 0 48px;
  padding: 32px;
  border: 1px dashed #d5d9ee;
  border-radius: 4px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  color: #54595f;
}
.wp-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: #6b7080;
}
.wp-post__category {
  color: var(--brand-primary, #293fcc);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wp-post {
  max-width: 760px;
  margin: 8px auto 56px;
}
.wp-post__crumbs {
  margin: 0 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #6b7080;
}
.wp-post__crumbs a {
  color: var(--brand-primary, #293fcc);
  text-decoration: none;
}
.wp-post__title {
  margin: 0 0 12px;
  font-family: "Jost", sans-serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--brand-heading, #0d1557);
}
.wp-post__cover {
  margin: 24px 0 8px;
}
.wp-post__cover img {
  width: 100%;
  border-radius: 4px;
}
.wp-post__body {
  margin-top: 24px;
  font-family: "Roboto", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #2b2f3a;
}
.wp-post__body h2,
.wp-post__body h3 {
  margin: 1.8em 0 0.6em;
  font-family: "Jost", sans-serif;
  line-height: 1.25;
  color: var(--brand-heading, #0d1557);
}
.wp-post__body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.wp-post__body a {
  color: var(--brand-primary, #293fcc);
}
.wp-post__body blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--brand-primary, #293fcc);
  color: #54595f;
}
.wp-post__cta {
  margin: 40px 0 24px;
  padding: 28px;
  border-radius: 4px;
  background: #f4f5fb;
  text-align: center;
}
.wp-post__cta h2 {
  margin: 0 0 6px;
  font-family: "Jost", sans-serif;
  font-size: 24px;
  color: var(--brand-heading, #0d1557);
}
.wp-post__cta p {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #54595f;
}
.wp-post__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 18px !important;
}
.wp-post__cta-link {
  font-weight: 500;
  color: var(--brand-primary, #293fcc);
}
.wp-post__back a {
  font-family: "Roboto", sans-serif;
  color: var(--brand-primary, #293fcc);
  text-decoration: none;
}
.wp-summary {
  padding: 14px 16px;
  border-left: 3px solid var(--brand-primary, #293fcc);
  background: #f6f7fc;
}
.wp-qa dt {
  margin-top: 12px;
  font-weight: 700;
}
.wp-qa dd {
  margin: 4px 0 0;
}

/* Long URLs in the tutorial steps made the page scroll sideways on phones (also on the WordPress site). */
.elementor-tab-content a {
  overflow-wrap: anywhere;
}

/* Tutorial (Admin → Pages → Tutorial): numbered steps, tips and notes in the site's look. */
.wp-tutorial {
  max-width: 820px;
  padding: 8px 4px 16px;
  color: var(--brand-text, #2c3477);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
.wp-tutorial h3 {
  margin: 28px 0 12px;
  color: var(--brand-heading, #0d1557);
  font-family: "Jost", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.wp-tutorial h3:first-child,
.wp-tutorial .wp-lead + h3 {
  margin-top: 8px;
}
.wp-tutorial .wp-lead {
  margin: 0 0 20px;
  color: var(--brand-heading, #0d1557);
  font-size: 16px;
}
.wp-tutorial ol.wp-steps {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.wp-tutorial ol.wp-steps > li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 16px 12px 58px;
  border: 1px solid #e9e9f2;
  border-radius: 4px;
  background: #fff;
  counter-increment: step;
}
.wp-tutorial ol.wp-steps > li::before {
  content: counter(step);
  position: absolute;
  top: 10px;
  left: 14px;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-primary, #293fcc);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.wp-tutorial strong {
  color: var(--brand-heading, #0d1557);
}
.wp-tutorial code {
  padding: 2px 6px;
  border-radius: 3px;
  background: #eef0fb;
  color: var(--brand-heading, #0d1557);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}
.wp-tutorial .wp-tip,
.wp-tutorial .wp-note {
  margin: 4px 0 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-primary, #293fcc);
  border-radius: 0 4px 4px 0;
  background: #f4f6ff;
}
.wp-tutorial .wp-note {
  border-left-color: #c5c9dd;
  background: #f8f8fb;
}
.wp-tutorial ul.wp-checklist {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.wp-tutorial ul.wp-checklist > li {
  margin: 0 0 10px;
  padding: 12px 16px;
  border: 1px solid #e9e9f2;
  border-radius: 4px;
  background: #fff;
}
@media (max-width: 767px) {
  .wp-tutorial {
    font-size: 14px;
  }
  .wp-tutorial ol.wp-steps > li {
    padding-left: 52px;
  }
  .wp-tutorial ol.wp-steps > li::before {
    left: 11px;
  }
}

/* Logo size: the original WordPress sizes were percentages of the column (up to ~230 px wide on some
   tablets, ~80 px on others), so the logo gets one fixed, smaller width per screen size instead. */
.elementor-location-header img[data-brand="logo"] {
  width: 150px !important;
  max-width: 100%;
  height: auto;
}
.elementor-location-footer img[data-brand="logo"] {
  width: 150px !important;
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .elementor-location-header img[data-brand="logo"] {
    width: 120px !important;
  }
  .elementor-location-footer img[data-brand="logo"] {
    width: 130px !important;
  }
}

/* FAQ answers and tutorial tabs are collapsed with hidden="until-found" so the browser's find-in-page and
   text-fragment links can still reach them. Elementor hides these panels with display: none, which would
   defeat that, so open panels and until-found panels are shown here; plain [hidden] (browsers without
   until-found) keeps hiding them. */
.elementor-toggle .elementor-tab-content:is(:not([hidden]), [hidden="until-found"]),
.elementor-widget-tabs .elementor-tab-content:is(:not([hidden]), [hidden="until-found"]) {
  display: block;
}
/* A collapsed until-found panel keeps its box, so drop its padding and borders to avoid a visible remnant. */
.elementor-toggle .elementor-tab-content[hidden="until-found"],
.elementor-widget-tabs .elementor-tab-content[hidden="until-found"] {
  padding-block: 0;
  border-width: 0;
}

/* Floating WhatsApp button (Admin → Appearance → WhatsApp button): the same pill as on GetIPTV. */
.whatsapp-float {
  position: fixed;
  z-index: 9990;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--wa-bg, var(--brand-primary, #293fcc));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.whatsapp-float .icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  filter: brightness(0.92);
  transform: translateY(-2px);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--brand-primary, #293fcc);
  outline-offset: 3px;
}
.whatsapp-float--left {
  right: auto;
  left: 22px;
}
.whatsapp-float--icon-only {
  width: 52px;
  padding: 0;
  justify-content: center;
}
/* Keep the button clear of the cookie banner while it is open. */
body:has(.consent-banner) .whatsapp-float {
  bottom: 110px;
}
@media (max-width: 767px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 50px;
    padding: 0 15px;
  }
  .whatsapp-float--left {
    right: auto;
    left: 16px;
  }
  .whatsapp-float:not(.whatsapp-float--label-mobile) span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    transition: none;
  }
  .whatsapp-float:hover {
    transform: none;
  }
}
