/*! RTCSS_CUSTOM_V1 — зеркало: media/plg_system_remtehseo/css/custom.css. Восстанавливается плагином remtehseo при обновлении Helix. Правьте ЭТОТ файл. */
#sp-bottom-footer a {
    color: #f5db10;
}
	.breadcrumb {justify-content:center;margin:0}
	.breadcrumb li:first-child, .phone-mobile {display:none;}
	.breadcrumb {background-color: #000000;}
	.breadcrumb {padding: 8px 15px}
	.breadcrumb-item.active {
    color: #f8f9fa;}
	
	.convertforms .cf-input::placeholder, .convertforms .cf-input:has(option:disabled:checked) {
		color:#000!important;
		opacity:1;
	}
	
	@media (max-width: 1400px) {
		.container, .container-lg, .container-md, .container-sm, .container-xl, .sppb-row-container {
			max-width: 100%;
		}
		#sp-top1, #sp-top2, #sp-top3 {
			width:33%
		}
		
	}
	
	@media (max-width: 1360px) {
		#sp-menu a {
			font-size:13px!important
		}
	}
	
	
		#offcanvas-toggler {display:none!important}
	
	
	@media (max-width: 992px) {
		#offcanvas-toggler {display:flex!important}
	  #sp-header {
		height: auto;
		padding:10px 0;
	  }
	  
	  #sp-header .row {
		  display: flex;
		  align-items:center;
		  justify-content:space-between;
		  flex-wrap:nowrap;
	  }
	  #sp-header .row > * {
		  flex-shrink: initial;
		  width: auto;
		  max-width: 100%;
	  }
	  #sp-user2 {
		  white-space:nowrap;
	  }
	  .logo-image {
		  height: auto!important;
		  max-height: 40px;
	  }
	  #sp-user2 .button-men {margin:0}
	  #sp-header.header-sticky .phone-m, #sp-menu {display:none!important}
	  #sp-header.header-sticky .phone-mobile {display:block;}
	  #sp-header.header-sticky .phone-mobile a {text-indent:-9999px;display:block;width:40px;height:40px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iY3VycmVudENvbG9yIj48cGF0aCBkPSJNOS4zNjU1NiAxMC42ODIxQzEwLjMwMiAxMi4zMjg4IDExLjY3MTIgMTMuNjk4IDEzLjMxNzkgMTQuNjM0NEwxNC4yMDI0IDEzLjM5NjFDMTQuNDk2NSAxMi45ODQ1IDE1LjA1MTYgMTIuODU3MyAxNS40OTU2IDEzLjA5OThDMTYuOTAyNCAxMy44NjgzIDE4LjQ1NzEgMTQuMzM1MyAyMC4wNzg5IDE0LjQ2MzdDMjAuNTk5IDE0LjUwNDkgMjEgMTQuOTM4OSAyMSAxNS40NjA2VjE5LjkyMzRDMjEgMjAuNDM2MSAyMC42MTIyIDIwLjg2NTcgMjAuMTAyMiAyMC45MTgxQzE5LjU3MjMgMjAuOTcyNiAxOS4wMzc3IDIxIDE4LjUgMjFDOS45Mzk1OSAyMSAzIDE0LjA2MDQgMyA1LjVDMyA0Ljk2MjI3IDMuMDI3NDIgNC40Mjc3MSAzLjA4MTg5IDMuODk3NzZDMy4xMzQzIDMuMzg3NzUgMy41NjM5NCAzIDQuMDc2NjUgM0g4LjUzOTQyQzkuMDYxMSAzIDkuNDk1MTMgMy40MDEwNCA5LjUzNjMgMy45MjEwOUM5LjY2NDY3IDUuNTQyODggMTAuMTMxNyA3LjA5NzY0IDEwLjkwMDIgOC41MDQ0NEMxMS4xNDI3IDguOTQ4NCAxMS4wMTU1IDkuNTAzNTQgMTAuNjAzOSA5Ljc5NzU3TDkuMzY1NTYgMTAuNjgyMVpNNi44NDQyNSAxMC4wMjUyTDguNzQ0MiA4LjY2ODA5QzguMjA1NDcgNy41MDUxNCA3LjgzNjI4IDYuMjcxODMgNy42NDcyNyA1SDUuMDA5MDdDNS4wMDMwMyA1LjE2NjMyIDUgNS4zMzMgNSA1LjVDNSAxMi45NTU4IDExLjA0NDIgMTkgMTguNSAxOUMxOC42NjcgMTkgMTguODMzNyAxOC45OTcgMTkgMTguOTkwOVYxNi4zNTI3QzE3LjcyODIgMTYuMTYzNyAxNi40OTQ5IDE1Ljc5NDUgMTUuMzMxOSAxNS4yNTU4TDEzLjk3NDggMTcuMTU1OEMxMy40MjU4IDE2Ljk0MjUgMTIuODk1NiAxNi42OTE1IDEyLjM4NzQgMTYuNDA2MUwxMi4zMjkzIDE2LjM3M0MxMC4zNjk3IDE1LjI1ODcgOC43NDEzNCAxMy42MzAzIDcuNjI3IDExLjY3MDdMNy41OTM5NCAxMS42MTI2QzcuMzA4NDkgMTEuMTA0NCA3LjA1NzU0IDEwLjU3NDIgNi44NDQyNSAxMC4wMjUyWiI+PC9wYXRoPjwvc3ZnPg==)50% 50% no-repeat;}
	  
	  #sp-footer1 {text-align:center;}
	  
	  #sp-bottom .sp-module-content {display:none;}
	  #sp-bottom .sp-module-title {cursor:pointer;padding-right:40px;background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTExLjk5OTkgMTMuMTcxNEwxNi45NDk3IDguMjIxNjhMMTguMzYzOSA5LjYzNTg5TDExLjk5OTkgMTUuOTk5OUw1LjYzNTk5IDkuNjM1ODlMNy4wNTAyIDguMjIxNjhMMTEuOTk5OSAxMy4xNzE0WiI+PC9wYXRoPjwvc3ZnPg==) 100% 50% no-repeat;}
	  #sp-bottom .sp-module-title.active {background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTExLjk5OTkgMTAuODI4NEw3LjA1MDIgMTUuNzc4Mkw1LjYzNTk5IDE0LjM2NEwxMS45OTk5IDhMMTguMzYzOSAxNC4zNjRMMTYuOTQ5NyAxNS43NzgyTDExLjk5OTkgMTAuODI4NFoiPjwvcGF0aD48L3N2Zz4=)100% 50% no-repeat;}
	  #sp-bottom .sp-module-title.active+.sp-module-content {display:block;}
		  
		}

	/* Header bridge: the desktop grid is too narrow for all 8 links at 993–1099px. */
	@media (min-width: 993px) and (max-width: 1099px) {
		#offcanvas-toggler {
			display: flex !important;
		}
		#sp-header .row {
			display: flex;
			align-items: center;
			justify-content: space-between;
			flex-wrap: nowrap;
		}
		#sp-header .row > * {
			flex-shrink: initial;
			width: auto;
			max-width: 100%;
		}
		#sp-header #sp-menu {
			display: none !important;
		}
		#sp-user2 {
			white-space: nowrap;
		}
	}
		
	.mobile-contacts {margin-top:45px!important;font-size:16px;}
	 .mobile-contacts p {margin:0}

/* Fix card rhythm in tablet services grid on /remont-planshetov */
body.itemid-439 .sppb-addon-text-block .sppb-addon-content > section[style*="box-shadow:0 8px 24px rgba(15,23,42,0.05)"] > div[style*="grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;"] {
  align-items: stretch !important;
}

body.itemid-439 .sppb-addon-text-block .sppb-addon-content > section[style*="box-shadow:0 8px 24px rgba(15,23,42,0.05)"] > div[style*="grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;"] > a {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-height: 156px !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

body.itemid-439 .sppb-addon-text-block .sppb-addon-content > section[style*="box-shadow:0 8px 24px rgba(15,23,42,0.05)"] > div[style*="grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;"] > a > strong {
  display: block !important;
  min-height: 48px !important;
  line-height: 1.35 !important;
}

body.itemid-439 .sppb-addon-text-block .sppb-addon-content > section[style*="box-shadow:0 8px 24px rgba(15,23,42,0.05)"] > div[style*="grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;"] > a > span {
  display: block !important;
  line-height: 1.55 !important;
  color: #334155 !important;
}

/* Hotfix 2026-03-11: /remont-planshetov hidden cards in "Частые поломки" block */
body.itemid-439 .common-problems .problem-card {
  opacity: 1 !important;
  transform: none !important;
}


/* Hotfix 2026-03-11 v2: force visible cards in "Частые поломки" on tablets page */
.common-problems .problem-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body.itemid-344 #sp-main-body {
  background:
    radial-gradient(circle at 8% 6%, rgba(245, 217, 10, 0.2), transparent 20%),
    radial-gradient(circle at 94% 10%, rgba(15, 23, 42, 0.14), transparent 18%),
    linear-gradient(180deg, #eef3f7 0%, #f7f9fb 48%, #edf2f6 100%);
}

body.itemid-344 #sp-page-builder.page-12 {
  --rt-phone-card: rgba(255, 255, 255, 0.9);
  --rt-phone-card-solid: #ffffff;
  --rt-phone-ink: #111827;
  --rt-phone-muted: #5b6678;
  --rt-phone-line: rgba(15, 23, 42, 0.1);
  --rt-phone-accent: #f5d90a;
  --rt-phone-accent-soft: rgba(245, 217, 10, 0.2);
  --rt-phone-accent-deep: #c9a800;
  --rt-phone-panel: #0f172a;
  --rt-phone-panel-muted: rgba(255, 255, 255, 0.72);
  --rt-phone-shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
  --rt-phone-shadow-soft: 0 14px 32px rgba(15, 23, 42, 0.06);
  color: var(--rt-phone-ink);
}

body.itemid-344 #sp-page-builder.page-12 .sppb-section {
  overflow: visible;
}

body.itemid-344 #sp-page-builder.page-12 .rt-shell {
  width: min(1200px, 100%);
  margin: 0 auto;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-block {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 217, 10, 0.28), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #172236 46%, #1e2d44 100%);
  color: #fff;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--rt-phone-shadow);
}

body.itemid-344 #sp-page-builder.page-12 .rt-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

body.itemid-344 #sp-page-builder.page-12 .rt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f9fb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.itemid-344 #sp-page-builder.page-12 .rt-kicker {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero h1,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-block h2,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-block h3 {
  color: inherit;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 0.98;
  font-weight: 800;
}

body.itemid-344 #sp-page-builder.page-12 .rt-lead {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

body.itemid-344 #sp-page-builder.page-12 .rt-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 24px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.itemid-344 #sp-page-builder.page-12 .rt-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

body.itemid-344 #sp-page-builder.page-12 .rt-btn-primary {
  background: var(--rt-phone-accent);
  color: #141414;
  box-shadow: 0 16px 32px rgba(245, 217, 10, 0.28);
}

body.itemid-344 #sp-page-builder.page-12 .rt-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-check-list,
body.itemid-344 #sp-page-builder.page-12 .rt-step-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.itemid-344 #sp-page-builder.page-12 .rt-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-trust-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

body.itemid-344 #sp-page-builder.page-12 .rt-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-stat-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.1;
}

body.itemid-344 #sp-page-builder.page-12 .rt-stat-card span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-conv-cta {
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-conv-cta a,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-conv-cta a:hover,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-conv-cta a:focus {
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-diagnostic-board {
  padding: clamp(18px, 2.8vw, 24px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-top {
  max-width: 520px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-top strong {
  display: block;
  margin: 14px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-media {
  position: relative;
  margin: 22px 0 16px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(7, 11, 20, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-float-note {
  position: absolute;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

body.itemid-344 #sp-page-builder.page-12 .rt-float-note-top {
  top: 28px;
  left: 28px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-float-note-bottom {
  right: 28px;
  bottom: 28px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-mini-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-mini-card span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.itemid-344 #sp-page-builder.page-12 .rt-mini-card strong {
  display: block;
  margin: 8px 0 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

body.itemid-344 #sp-page-builder.page-12 .rt-mini-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

body.itemid-344 #sp-page-builder.page-12 .rt-mini-card-wide {
  grid-column: 1 / -1;
}

body.itemid-344 #sp-page-builder.page-12 .rt-hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-strip-item {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-strip-item strong {
  display: block;
  color: #fff;
  margin-bottom: 6px;
  font-size: 16px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-strip-item span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-brands,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-faq {
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--rt-phone-shadow);
  backdrop-filter: blur(12px);
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-faults,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-process,
body.itemid-344 #sp-page-builder.page-12 .rt-phone-contact {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--rt-phone-line);
  box-shadow: var(--rt-phone-shadow);
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-process {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 217, 10, 0.16), transparent 26%),
    linear-gradient(180deg, #101827 0%, #141f31 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-section-head {
  max-width: 760px;
  margin-bottom: 26px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-section-head h2 {
  margin: 14px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 800;
}

body.itemid-344 #sp-page-builder.page-12 .rt-section-head p,
body.itemid-344 #sp-page-builder.page-12 .rt-section-note,
body.itemid-344 #sp-page-builder.page-12 .rt-info-card p,
body.itemid-344 #sp-page-builder.page-12 .rt-panel p,
body.itemid-344 #sp-page-builder.page-12 .rt-location-card p,
body.itemid-344 #sp-page-builder.page-12 .rt-faq-card p {
  color: var(--rt-phone-muted);
  margin: 0;
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid,
body.itemid-344 #sp-page-builder.page-12 .rt-card-grid,
body.itemid-344 #sp-page-builder.page-12 .rt-location-grid,
body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
  display: grid;
  gap: 16px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 112px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--rt-phone-line);
  color: var(--rt-phone-ink);
  text-decoration: none;
  box-shadow: var(--rt-phone-shadow-soft);
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.2;
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a img {
  display: block;
  width: auto;
  max-width: 118px;
  height: 42px;
  margin-bottom: 14px;
  object-fit: contain;
  object-position: left center;
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a span {
  display: block;
  margin-top: 8px;
  color: var(--rt-phone-muted);
  line-height: 1.45;
}

body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a:hover {
  border-color: rgba(245, 217, 10, 0.72);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  text-decoration: none;
  transform: translateY(-2px);
}

body.itemid-344 #sp-page-builder.page-12 .rt-section-note {
  margin-top: 18px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.itemid-344 #sp-page-builder.page-12 .rt-info-card,
body.itemid-344 #sp-page-builder.page-12 .rt-panel,
body.itemid-344 #sp-page-builder.page-12 .rt-location-card,
body.itemid-344 #sp-page-builder.page-12 .rt-faq-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--rt-phone-card-solid);
  border: 1px solid var(--rt-phone-line);
  box-shadow: var(--rt-phone-shadow-soft);
}

body.itemid-344 #sp-page-builder.page-12 .rt-info-card h3,
body.itemid-344 #sp-page-builder.page-12 .rt-panel h2,
body.itemid-344 #sp-page-builder.page-12 .rt-location-card h3,
body.itemid-344 #sp-page-builder.page-12 .rt-faq-card h3 {
  margin: 0 0 12px;
  font-weight: 800;
}

body.itemid-344 #sp-page-builder.page-12 .rt-card-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--rt-phone-accent-soft);
  color: #6c5600;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.itemid-344 #sp-page-builder.page-12 .rt-warning-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(135deg, #101827 0%, #1b2740 100%);
  box-shadow: var(--rt-phone-shadow);
}

body.itemid-344 #sp-page-builder.page-12 .rt-warning-band .rt-eyebrow,
body.itemid-344 #sp-page-builder.page-12 .rt-panel-dark .rt-eyebrow,
body.itemid-344 #sp-page-builder.page-12 .rt-final-cta .rt-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-warning-band h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

body.itemid-344 #sp-page-builder.page-12 .rt-warning-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

body.itemid-344 #sp-page-builder.page-12 .rt-warning-band .rt-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-process-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-panel-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-panel-dark p,
body.itemid-344 #sp-page-builder.page-12 .rt-panel-dark .rt-check-list li,
body.itemid-344 #sp-page-builder.page-12 .rt-panel-dark .rt-metric-chip span {
  color: var(--rt-phone-panel-muted);
}

body.itemid-344 #sp-page-builder.page-12 .rt-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-metric-chip {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body.itemid-344 #sp-page-builder.page-12 .rt-metric-chip strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--rt-phone-muted);
}

body.itemid-344 #sp-page-builder.page-12 .rt-check-list li + li {
  margin-top: 12px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rt-phone-accent);
  box-shadow: 0 0 0 5px rgba(245, 220, 25, 0.18);
}

body.itemid-344 #sp-page-builder.page-12 .rt-step-list {
  display: grid;
  gap: 14px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef3f8 100%);
}

body.itemid-344 #sp-page-builder.page-12 .rt-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #101827;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.itemid-344 #sp-page-builder.page-12 .rt-step-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-grid,
body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-link {
  display: inline-flex;
  margin-top: 12px;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
}

body.itemid-344 #sp-page-builder.page-12 .rt-map-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--rt-phone-muted);
  font-weight: 700;
  text-decoration: none;
}

body.itemid-344 #sp-page-builder.page-12 .rt-phone-link:hover,
body.itemid-344 #sp-page-builder.page-12 .rt-map-link:hover {
  text-decoration: underline;
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-card-accent {
  background: linear-gradient(135deg, #f5d90a 0%, #ffe76d 100%);
  border-color: transparent;
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-card-accent p {
  color: rgba(17, 24, 39, 0.74);
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-card-accent .rt-btn-primary {
  background: #101827;
  color: #fff;
  box-shadow: 0 14px 30px rgba(16, 24, 39, 0.18);
}

body.itemid-344 #sp-page-builder.page-12 .rt-location-card-accent .rt-btn-secondary {
  background: rgba(16, 24, 39, 0.06);
  border-color: rgba(16, 24, 39, 0.16);
  color: #101827;
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #101827 0%, #1c2940 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta h2 {
  margin: 14px 0 10px;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta .rt-btn-primary {
  background: var(--rt-phone-accent);
  color: #111827;
  box-shadow: 0 16px 32px rgba(245, 217, 10, 0.24);
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta .rt-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

body.itemid-344 #sp-page-builder.page-12 .rt-final-cta .rt-action-row {
  margin: 0;
}

body.itemid-344 #sp-page-builder.page-12 .sppb-addon-text-block .rt-phone-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-hero-strip,
  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-card-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-location-card-accent {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-hero-shell,
  body.itemid-344 #sp-page-builder.page-12 .rt-process-shell,
  body.itemid-344 #sp-page-builder.page-12 .rt-warning-band,
  body.itemid-344 #sp-page-builder.page-12 .rt-final-cta {
    grid-template-columns: 1fr;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-board-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-metric-row {
    grid-template-columns: 1fr;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-location-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-hero-strip,
  body.itemid-344 #sp-page-builder.page-12 .rt-card-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-location-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-faq-grid {
    grid-template-columns: 1fr;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-brands,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-faults,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-process,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-contact,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-faq {
    border-radius: 26px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-action-row {
    flex-direction: column;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-stat-grid {
    grid-template-columns: 1fr;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-board-media {
    display: flex;
    flex-direction: column;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-float-note {
    position: static;
    width: fit-content;
    margin-top: 12px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-btn {
    width: 100%;
  }
}

/* Shared social icon cleanup 2026-03-12 */
.social-icon-custom .fa-custom::before {
  content: "\f2c6";
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

/* Mobile compact pass 2026-03-12 for new phone pages */
@media (max-width: 767px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-shell {
    width: min(100%, calc(100% - 18px));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-brands,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-faults,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-process,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-contact,
  body.itemid-344 #sp-page-builder.page-12 .rt-phone-faq {
    padding: 20px;
    border-radius: 22px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero {
    padding: 22px 18px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-eyebrow {
    gap: 8px;
    padding: 7px 11px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-kicker {
    margin-top: 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
    line-height: 1.5;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero h1 {
    margin: 14px 0;
    font-size: clamp(32px, 10vw, 40px);
    line-height: 1.02;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.55;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-btn {
    min-height: 50px;
    padding: 13px 18px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-trust-row {
    gap: 8px;
    margin-bottom: 18px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-trust-pill {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-stat-card {
    padding: 16px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-stat-card strong {
    font-size: 20px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-diagnostic-board {
    padding: 16px;
    border-radius: 24px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-board-top strong {
    font-size: 22px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-board-media {
    margin: 18px 0 14px;
    padding: 12px;
    border-radius: 20px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-board-media img {
    border-radius: 16px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-float-note {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 13px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-section-head {
    margin-bottom: 18px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-section-head h2,
  body.itemid-344 #sp-page-builder.page-12 .rt-panel h2,
  body.itemid-344 #sp-page-builder.page-12 .rt-warning-band h3,
  body.itemid-344 #sp-page-builder.page-12 .rt-final-cta h2 {
    margin: 12px 0 10px;
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.08;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a,
  body.itemid-344 #sp-page-builder.page-12 .rt-info-card,
  body.itemid-344 #sp-page-builder.page-12 .rt-panel,
  body.itemid-344 #sp-page-builder.page-12 .rt-location-card,
  body.itemid-344 #sp-page-builder.page-12 .rt-faq-card {
    padding: 18px;
    border-radius: 20px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a strong {
    font-size: 18px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid a img {
    max-width: 96px;
    height: 36px;
    margin-bottom: 12px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-step-list li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-step-index {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-warning-band,
  body.itemid-344 #sp-page-builder.page-12 .rt-final-cta {
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-location-actions {
    flex-direction: column;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-location-actions .rt-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-shell {
    width: min(100%, calc(100% - 16px));
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero {
    padding: 20px 16px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-phone-hero h1 {
    font-size: 30px;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-kicker {
    letter-spacing: 0.12em;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-lead,
  body.itemid-344 #sp-page-builder.page-12 .rt-section-head p,
  body.itemid-344 #sp-page-builder.page-12 .rt-section-note,
  body.itemid-344 #sp-page-builder.page-12 .rt-info-card p,
  body.itemid-344 #sp-page-builder.page-12 .rt-panel p,
  body.itemid-344 #sp-page-builder.page-12 .rt-location-card p,
  body.itemid-344 #sp-page-builder.page-12 .rt-faq-card p,
  body.itemid-344 #sp-page-builder.page-12 .rt-strip-item span,
  body.itemid-344 #sp-page-builder.page-12 .rt-stat-card span {
    font-size: 15px;
    line-height: 1.58;
  }

  body.itemid-344 #sp-page-builder.page-12 .rt-section-head h2,
  body.itemid-344 #sp-page-builder.page-12 .rt-panel h2,
  body.itemid-344 #sp-page-builder.page-12 .rt-warning-band h3,
  body.itemid-344 #sp-page-builder.page-12 .rt-final-cta h2 {
    font-size: 24px;
  }
}


/* Gamepad interactive press animations */
a.rt-pad-link-card, a.rt-pad-btn, a.rt-pad-chip {
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out !important;
}
a.rt-pad-link-card:active, a.rt-pad-btn:active, a.rt-pad-chip:active {
    transform: scale(0.96) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) inset !important;
}

/* Gamepad pages: keep related-card brand logos compact */
.rt-pad-page .rt-pad-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rt-pad-page .rt-pad-link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--rt-pad-line, rgba(20,32,48,.12));
  border-radius: 22px;
  background: var(--rt-pad-paper, rgba(255,255,255,.97));
  box-shadow: 0 18px 45px rgba(19,32,47,.07);
}

.rt-pad-page .rt-pad-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 58px;
  margin-bottom: 2px;
  border-radius: 16px;
  border: 1px solid rgba(20,32,48,.10);
  background: rgba(255,255,255,.82);
  overflow: hidden;
}

.rt-pad-page .rt-pad-card-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 66px !important;
  max-height: 46px !important;
  object-fit: contain;
}

.rt-pad-page .rt-pad-link-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  color: var(--rt-pad-text, #172434);
}

.rt-pad-page .rt-pad-link-card p {
  margin: 0;
  color: var(--rt-pad-muted, #566272);
  line-height: 1.55;
}

.rt-pad-page .rt-pad-card-note {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rt-pad-accent-soft, #e6edff);
  color: var(--rt-pad-accent-deep, #163b99);
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .rt-pad-page .rt-pad-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .rt-pad-page .rt-pad-link-grid {
    grid-template-columns: 1fr;
  }

  .rt-pad-page .rt-pad-link-card {
    padding: 16px;
  }

  .rt-pad-page .rt-pad-card-logo {
    width: 68px;
    height: 52px;
  }

  .rt-pad-page .rt-pad-card-logo img {
    max-width: 58px !important;
    max-height: 40px !important;
  }
}

/* Final header override for homepage menu cleanup */

/* Hotfix 2026-04-11: keep callback popup #2 inside viewport without changing form logic */
.eb-inst.eb-2 {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
}

.eb-inst.eb-2 .eb-dialog {
  position: relative !important;
  width: 100% !important;
  max-width: 500px !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background-color: #111111 !important;
}

.eb-inst.eb-2 .eb-content {
  position: relative !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
}

.eb-inst.eb-2 .eb-content-header {
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

.eb-inst.eb-2 .eb-content-header > div {
  padding: 14px 14px 0 !important;
  justify-content: flex-end !important;
}

.eb-inst.eb-2 .eb-content-header button {
  pointer-events: auto !important;
  color: #111111 !important;
}

.eb-inst.eb-2 .eb-content-wrap {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  background-color: #111111 !important;
}

.eb-inst.eb-2 .eb-content-wrap iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

body.contentpane #sppb-addon-62000103 .cf-content-wrap {
  padding: 16px 22px 12px !important;
}

body.contentpane #sppb-addon-62000103 .cf-content {
  gap: 14px !important;
}

body.contentpane #sppb-addon-62000103 .cf-content-text p {
  margin: 0 0 6px !important;
}

body.contentpane #sppb-addon-62000103 .cf-form-wrap {
  padding: 18px 22px 20px !important;
}

body.contentpane #sppb-addon-62000103 .cf-control-group {
  margin-bottom: 10px !important;
}

body.contentpane #sppb-addon-62000103 .cf-input {
  min-height: 48px !important;
  padding: 10px 12px !important;
}

body.contentpane #sppb-addon-62000103 .cf-btn {
  min-width: 140px !important;
  min-height: 44px !important;
  padding: 10px 18px !important;
}

@media (max-width: 575px) {
  .eb-inst.eb-2 {
    padding: 12px !important;
  }

  .eb-inst.eb-2 .eb-dialog {
    max-height: calc(100vh - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
  }

  .eb-inst.eb-2 .eb-content-header > div {
    padding: 10px 10px 0 !important;
  }

  body.contentpane #sppb-addon-62000103 .cf-content-wrap {
    padding: 14px 16px 10px !important;
  }

  body.contentpane #sppb-addon-62000103 .cf-form-wrap {
    padding: 16px 16px 18px !important;
  }

  body.contentpane #sppb-addon-62000103 .cf-control-group {
    margin-bottom: 8px !important;
  }

  body.contentpane #sppb-addon-62000103 .cf-input {
    min-height: 44px !important;
    padding: 9px 10px !important;
  }

  body.contentpane #sppb-addon-62000103 .cf-btn {
    min-height: 42px !important;
  }
}

/* ===== FIX: Mobile popup white background issue ===== */
/* Hotfix 2026-04-11: Fix white strip at top of mobile popup - close button must be on yellow bg */

/* Force no white background/padding on the engagebox outer container on mobile */
@media (max-width: 575px) {
  /* Remove any white background from the engagebox overlay area */
  .eb-inst.eb-2 {
    background: transparent !important;
  }

  /* Ensure the dialog itself has no top margin/padding causing white strip */
  .eb-inst.eb-2 .eb-dialog {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* The content-header (where close button lives) should sit ON the yellow form bg */
  .eb-inst.eb-2 .eb-content-header {
    background: transparent !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
  }

  /* Close button - make it visible on yellow background */
  .eb-inst.eb-2 .eb-content-header button {
    color: #101827 !important;
    background: rgba(16, 24, 39, 0.12) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Ensure the content-wrap (iframe area) has no white gap above it */
  .eb-inst.eb-2 .eb-content-wrap {
    background-color: #FFD700 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* Target the iframe itself - ensure no white margin inside */
  .eb-inst.eb-2 .eb-content-wrap iframe {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* Also fix for very small screens */
@media (max-width: 375px) {
  .eb-inst.eb-2 {
    padding: 8px !important;
  }

  .eb-inst.eb-2 .eb-dialog {
    border-radius: 16px !important;
  }

  .eb-inst.eb-2 .eb-content-header {
    top: 6px !important;
    right: 6px !important;
  }
}

/* ===== Additional mobile fixes for ConvertForms in EngageBox ===== */
/* Hotfix 2026-04-11 v2: Ensure iframe content has yellow bg on mobile, no white gaps */

/* Target the body when it's rendered as an iframe content (component mode) */
body.contentpane {
  background-color: #FFD700 !important;
}

@media (max-width: 575px) {
  body.contentpane {
    background-color: #FFD700 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Override any default white backgrounds in the form container */
  body.contentpane .cf-form,
  body.contentpane .cf-content,
  body.contentpane .cf-form-wrap {
    background-color: #FFD700 !important;
  }

  /* Ensure no white gap between close button and form */
  .eb-inst.eb-2 .eb-dialog {
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.24) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  /* Dark header area behind close button - transparent so yellow shows through */
  .eb-inst.eb-2 .eb-content-header {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
  }

  /* Close button: dark icon on transparent bg (yellow form visible behind) */
  .eb-inst.eb-2 .eb-content-header .eb-close,
  .eb-inst.eb-2 .eb-content-header button,
  .eb-inst.eb-2 .eb-content-header a[rel=close] {
    background: rgba(16, 24, 39, 0.15) !important;
    color: #101827 !important;
    border: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  .eb-inst.eb-2 .eb-content-header .eb-close:hover,
  .eb-inst.eb-2 .eb-content-header button:hover {
    background: rgba(16, 24, 39, 0.25) !important;
  }
}

/* ===== DESKTOP: Beautiful popup form (matching mobile yellow design) ===== */
/* Hotfix 2026-04-11 v3: Desktop EngageBox popup - yellow bg, clean design */

/* Desktop: centered, beautiful shadow, yellow background */
@media (min-width: 576px) {
  /* Center the popup nicely */
  .eb-inst.eb-2 {
    align-items: center !important;
    justify-content: center !important;
    padding: 40px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px) !important;
  }

  /* Dialog: rounded card, soft shadow */
  .eb-inst.eb-2 .eb-dialog {
    position: relative !important;
    width: 100% !important;
    max-width: 520px !important;
    max-height: calc(100vh - 80px) !important;
    height: auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.24), 0 16px 32px rgba(15, 23, 42, 0.12) !important;
    background: transparent !important;
    margin: 0 !important;
  }

  /* Content wrapper: yellow background (the form area) */
  .eb-inst.eb-2 .eb-content-wrap {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background-color: #FFD700 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Iframe inside: full width, no gaps */
  .eb-inst.eb-2 .eb-content-wrap iframe {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Header area: transparent so close button sits on yellow */
  .eb-inst.eb-2 .eb-content-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    z-index: 10 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border: none !important;
  }

  .eb-inst.eb-2 .eb-content-header > div {
    padding: 14px 14px 0 !important;
    justify-content: flex-end !important;
  }

  /* Close button: elegant dark icon on transparent/yellow bg */
  .eb-inst.eb-2 .eb-content-header button,
  .eb-inst.eb-2 .eb-content-header .eb-close,
  .eb-inst.eb-2 .eb-content-header a[rel=close] {
    pointer-events: auto !important;
    color: #101827 !important;
    background: rgba(16, 24, 39, 0.12) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
  }

  .eb-inst.eb-2 .eb-content-header button:hover,
  .eb-inst.eb-2 .eb-content-header .eb-close:hover,
  .eb-inst.eb-2 .eb-content-header a[rel=close]:hover {
    background: rgba(16, 24, 39, 0.22) !important;
    transform: rotate(90deg) !important;
  }
}

/* Desktop: ensure ConvertForms iframe body has yellow background */
@media (min-width: 576px) {
  body.contentpane {
    background-color: #FFD700 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body.contentpane .cf-form,
  body.contentpane .cf-content,
  body.contentpane .cf-form-wrap,
  body.contentpane .cf-content-wrap {
    background-color: #FFD700 !important;
  }
}

/* ===== DESKTOP: Beautiful popup form (matching mobile yellow design) ===== */
@media (min-width: 576px) {
  .eb-inst.eb-2 {
    align-items: center !important;
    justify-content: center !important;
    padding: 40px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(8px) !important;
  }
  .eb-inst.eb-2 .eb-dialog {
    position: relative !important;
    width: 100% !important;
    max-width: 520px !important;
    max-height: calc(100vh - 80px) !important;
    height: auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.24), 0 16px 32px rgba(15, 23, 42, 0.12) !important;
    background: transparent !important;
    margin: 0 !important;
  }
  .eb-inst.eb-2 .eb-content-wrap {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background-color: #FFD700 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .eb-inst.eb-2 .eb-content-wrap iframe {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .eb-inst.eb-2 .eb-content-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    z-index: 10 !important;
    pointer-events: none !important;
    box-shadow: none !important;
    border: none !important;
  }
  .eb-inst.eb-2 .eb-content-header > div {
    padding: 14px 14px 0 !important;
    justify-content: flex-end !important;
  }
  .eb-inst.eb-2 .eb-content-header button,
  .eb-inst.eb-2 .eb-content-header .eb-close,
  .eb-inst.eb-2 .eb-content-header a[rel=close] {
    pointer-events: auto !important;
    color: #101827 !important;
    background: rgba(16, 24, 39, 0.12) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
  }
  .eb-inst.eb-2 .eb-content-header button:hover,
  .eb-inst.eb-2 .eb-content-header .eb-close:hover,
  .eb-inst.eb-2 .eb-content-header a[rel=close]:hover {
    background: rgba(16, 24, 39, 0.22) !important;
    transform: rotate(90deg) !important;
  }
  body.contentpane {
    background-color: #FFD700 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body.contentpane .cf-form,
  body.contentpane .cf-content,
  body.contentpane .cf-form-wrap,
  body.contentpane .cf-content-wrap {
    background-color: #FFD700 !important;
  }
}

/* ===== FIX 2026-04-11 v3: Callback popup mobile white bg fix ===== */
/* Target: RSTBox popup #2 shell - make iframeheader position:absolute work */

/* Make the iframe header container position:relative so absolutely positioned close button works */
.eb-inst.eb-2 .eb-iframe-header,
.eb-inst.eb-2 .eb-header,
.eb-inst.eb-2 [class*="iframe-header"],
.eb-inst.eb-2 [class*="header"] {
  position: relative !important;
}

/* Ensure the iframe itself is positioned below the header area */
.eb-inst.eb-2 .eb-iframe-wrap,
.eb-inst.eb-2 iframe {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make sure the dialog container is relative */
.eb-inst.eb-2 .eb-dialog {
  position: relative !important;
}

/* Mobile: ensure popup looks unified with yellow from top */
@media (max-width: 575px) {
  .eb-inst.eb-2 {
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(4px) !important;
  }
  .eb-inst.eb-2 .eb-dialog {
    background: transparent !important;
    border: none !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.2) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }
  /* Make iframe round corners match */
  .eb-inst.eb-2 iframe {
    border-radius: 20px !important;
  }
}

/* Desktop: clean popup with yellow from top */
@media (min-width: 576px) {
  .eb-inst.eb-2 {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(6px) !important;
  }
  .eb-inst.eb-2 .eb-dialog {
    background: transparent !important;
    border: none !important;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.2), 0 16px 32px rgba(15, 23, 42, 0.1) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    max-width: 500px !important;
  }
  .eb-inst.eb-2 iframe {
    border-radius: 24px !important;
  }
}

/* [2026-06-04 fix] .rt-service-card-grid--three не схлопывался на мобильных:
   спецификация базового правила (0,2,0) перебивала мобильные (0,1,0), а инлайн-CSS SPPB шёл после custom.css. !important гарантирует переопределение. */
@media (max-width:1100px){
  .rt-service-card-grid.rt-service-card-grid--three{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width:640px){
  .rt-service-card-grid.rt-service-card-grid--three{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

/* ============================================================
   [2026-06-04 typography] Читаемость на мобильных — все CSS-системы
   Проблемы: kicker/label/tag = 12px (и мобайл их ещё уменьшал до 11px),
   note/btn = 14px уменьшались на мобайле вместо роста,
   card h3 тесный line-height при 2-колоночной сетке.
   Фикс через custom.css (грузится на всех страницах) с !important.
   ============================================================ */

@media (max-width: 767px) {

  /* --- rt-service-* (zamena-ekrana и др. ~56 страниц) --- */
  .rt-service-kicker {
    font-size: 13px !important;   /* было 12px → 11px на мобайле — исправляем */
  }
  .rt-service-panel-label {
    font-size: 13px !important;   /* было 12px, не было мобайл-фикса */
  }
  .rt-service-chip {
    font-size: 14px !important;   /* было 14px → 13px на мобайле — фиксируем */
  }
  .rt-service-note {
    font-size: 14px !important;   /* было 14px → 13px на мобайле — фиксируем */
  }
  .rt-service-btn {
    font-size: 15px !important;
  }
  .rt-service-stat span,
  .rt-service-card ul,
  .rt-service-card li,
  .rt-service-step p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .rt-service-stat strong,
  .rt-service-card h3,
  .rt-service-panel strong {
    line-height: 1.4 !important;  /* было 1.3 — тесно в 2-кол сетке */
  }

  /* --- rt-sg-* (samsung, xiaomi, бренды) --- */
  .rt-sg-tag,
  .rt-sg-kicker {
    font-size: 13px !important;   /* было 12px */
  }
  .rt-sg-panel-mark {
    font-size: 13px !important;   /* было 12px */
  }
  .rt-sg-link em {
    font-size: 13px !important;   /* было 13px — оставляем, не уменьшаем */
  }
  .rt-sg-note {
    font-size: 14px !important;
  }
  .rt-sg-chip {
    font-size: 14px !important;
  }
  .rt-sg-btn {
    font-size: 15px !important;
  }
  .rt-sg-series p,
  .rt-sg-series a,
  .rt-sg-series span {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  .rt-sg-signal strong,
  .rt-sg-card h3,
  .rt-sg-step h3,
  .rt-sg-link strong {
    line-height: 1.4 !important;
  }

  /* --- rtbc-* (планшеты — zamena-ekrana-plansheta и др.) --- */
  .rtbc-eyebrow {
    font-size: 13px !important;   /* было 13px, lh 1.35 — не уменьшать */
    line-height: 1.5 !important;
  }
  .rtbc-proof span {
    font-size: 14px !important;   /* было 13px */
    line-height: 1.5 !important;
  }
  .rtbc-card h3 {
    line-height: 1.4 !important;  /* было 1.25 */
  }
  .rtbc-step h3 {
    line-height: 1.4 !important;  /* было 1.25 */
  }
  .rtbc-btn {
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .rtbc-chips span,
  .rtbc-models span {
    font-size: 14px !important;
  }

  /* --- rt-laptop-hub (remont-noutbukov) --- */
  .rt-laptop-hub .rt-kicker {
    font-size: 13px !important;   /* было 13px, lh 1.0 — исправляем межстрочный */
    line-height: 1.5 !important;
  }
  .rt-laptop-hub .rt-fact span {
    font-size: 14px !important;   /* было 13px */
  }
  .rt-laptop-hub .rt-btn {
    font-size: 15px !important;
  }
  .rt-laptop-hub .rt-nav a {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  .rt-laptop-hub .rt-price {
    font-size: 15px !important;
  }
  .rt-laptop-hub .rt-subnote {
    font-size: 15px !important;
  }
  .rt-laptop-hub .rt-price-table th,
  .rt-laptop-hub .rt-price-table td {
    font-size: 15px !important;
  }
  .rt-laptop-hub .rt-card h3 {
    line-height: 1.4 !important;
  }
  .rt-laptop-hub .rt-mini-list h3 {
    line-height: 1.4 !important;
  }

  /* --- price table (#price-remont) --- */
  div#price-remont table th {
    font-size: 14px !important;   /* было 13.8px */
  }
  div#price-remont table td {
    font-size: 14px !important;
  }

  /* --- phone-menu --- */
  .phone-menu a {
    line-height: 1.5 !important;  /* было 1.0 — тесно */
  }
}

/* RemTeh: sticky glass header (2026-06-15) */
/* ============================================================
   [2026-07-05] Адаптивная оптимизация /remont-telefonov
   − Промежуточные брейкпоинты сеток
   − Мобильный sticky-хедер
   − Хлебные крошки, таблицы
   − Изображения
   ============================================================ */

/* --- Бренды (13 лого): 2→3→4→6→8 колонок --- */
@media (min-width: 680px) and (max-width: 1079px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* --- FAQ: 2 колонки с 640px (по умолчанию SPPB держит 1 до ~1024px) --- */
@media (min-width: 640px) {
  .rt-phone-faq .rt-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* --- Топикал-грид «Быстрый выбор»: 2 колонки на планшетах --- */
@media (min-width: 500px) and (max-width: 900px) {
  .rt-phone-search-map .rt-topical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 499px) {
  .rt-phone-search-map .rt-topical-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Карточки услуг (rt-card-grid, rt-location-grid): 2 колонки на планшетах --- */
@media (min-width: 500px) and (max-width: 900px) {
  body.itemid-344 #sp-page-builder.page-12 .rt-card-grid,
  body.itemid-344 #sp-page-builder.page-12 .rt-location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* --- Sticky glass header: компактные отступы на мобильных --- */
@media (max-width: 767px) {
  #sp-header.rt-glass {
    margin-left: 6px !important;
    margin-right: 6px !important;
    border-radius: 14px !important;
    top: 4px !important;
  }
}
@media (max-width: 400px) {
  #sp-header.rt-glass {
    margin-left: 3px !important;
    margin-right: 3px !important;
    border-radius: 10px !important;
    top: 2px !important;
  }
}

/* --- Хлебные крошки: горизонтальный скролл вместо обрезки --- */
@media (max-width: 480px) {
  .breadcrumb {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb { -ms-overflow-style: none; scrollbar-width: none; }
}

/* --- Адаптивные изображения (везде) --- */
.sppb-addon-image img,
.sppb-addon-content img,
article img,
.rt-brand-grid img,
.remteh-phm-grid img {
  max-width: 100%;
  height: auto;
}

/* --- SPPB-контейнеры: предотврат переполнения --- */
.sppb-section,
.sppb-row-container,
#sp-page-builder .page-content > .sppb-section {
  overflow-x: clip;
  overflow-y: visible;
  box-sizing: border-box;
}

/* --- Таблицы: скролл на мобильных --- */
@media (max-width: 767px) {
  .sppb-addon-table table,
  table:not(.table-responsive):not(.breadcrumb) {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
}

/* --- Плавный скролл (не ломает accessibility) --- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* RemTeh universal callback dialog v13 — shared header form on every page. */
.eb-inst.eb-2.eb-visible,
.eb-2.eb-visible {
  pointer-events: auto !important;
}

.eb-inst.eb-2 .eb-dialog,
.eb-2 .eb-dialog {
  position: relative;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside,
.eb-2 .eb-dialog > .eb-close.placement-inside {
  --eb-close-button-inside: flex !important;
  display: flex !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 10001 !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 1px solid rgba(15, 23, 42, .14) !important;
  border-radius: 50% !important;
  color: #0f172a !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18) !important;
  cursor: pointer !important;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside img,
.eb-2 .eb-dialog > .eb-close.placement-inside img {
  display: none !important;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside span,
.eb-2 .eb-dialog > .eb-close.placement-inside span {
  display: block !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  transform: translateY(-1px);
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside:hover,
.eb-2 .eb-dialog > .eb-close.placement-inside:hover {
  color: #fff !important;
  border-color: #0f63ce !important;
  background: #0f63ce !important;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside:focus-visible,
.eb-2 .eb-dialog > .eb-close.placement-inside:focus-visible {
  outline: 3px solid #0f63ce !important;
  outline-offset: 2px !important;
}

.eb-inst.eb-2 > .eb-close.placement-outside,
.eb-2 > .eb-close.placement-outside {
  display: none !important;
}

.rt-callback-form-head {
  padding: 18px 22px 4px;
  color: #111827;
}

.rt-callback-form-head h2 {
  margin: 0;
  padding-right: 38px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.rt-callback-form-head p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 575px) {
  .eb-inst.eb-2 .eb-dialog,
  .eb-2 .eb-dialog {
    width: min(calc(100% - 20px), 500px) !important;
    max-height: calc(100dvh - 20px) !important;
    overflow: auto !important;
  }

  .eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside,
  .eb-2 .eb-dialog > .eb-close.placement-inside {
    top: 8px !important;
    right: 8px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }

  .rt-callback-form-head {
    padding: 18px 18px 2px;
  }
}

/* v13.2 compact layout: the form follows the hours block without a visible title. */
.eb-inst.eb-2 .rt-callback-form-head,
.eb-2 .rt-callback-form-head {
  display: none !important;
}

.eb-inst.eb-2 .cf-content-wrap,
.eb-2 .cf-content-wrap {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
}

.eb-inst.eb-2 .cf-content-text p,
.eb-2 .cf-content-text p {
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}

.eb-inst.eb-2 .cf-content-text p:last-child,
.eb-2 .cf-content-text p:last-child {
  margin-bottom: 0 !important;
}

.eb-inst.eb-2 .cf-form-wrap,
.eb-2 .cf-form-wrap {
  padding-top: 10px !important;
  padding-bottom: 12px !important;
}

/* v13.3: keep the modal exactly centered and keep the close control clear of the logo. */
.eb-inst.eb-2.eb-visible,
.eb-2.eb-visible {
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  align-items: center !important;
  justify-content: center !important;
}

.eb-inst.eb-2.eb-visible .eb-dialog,
.eb-2.eb-visible .eb-dialog {
  margin: auto !important;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside,
.eb-2 .eb-dialog > .eb-close.placement-inside,
.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside:hover,
.eb-2 .eb-dialog > .eb-close.placement-inside:hover {
  top: 6px !important;
  right: 6px !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
}

.eb-inst.eb-2 .eb-dialog > .eb-close.placement-inside span,
.eb-2 .eb-dialog > .eb-close.placement-inside span {
  font-size: 23px !important;
}

@media (min-width: 576px) {
  .eb-inst.eb-2 .cf-content-img img,
  .eb-2 .cf-content-img img {
    max-width: calc(100% - 44px) !important;
    height: auto !important;
  }
}

@media (max-width: 575px) {
  .eb-inst.eb-2 .eb-dialog,
  .eb-2 .eb-dialog {
    max-height: calc(100dvh - 24px) !important;
  }
}

/* === RT FOOTER POLISH v4 2026-07-26 максимальная компактность (откат: удалить до END RT FOOTER) === */
#sp-bottom-footer{padding:12px 0;border-top:3px solid #F8F526}
#sp-bottom-footer .row{display:flex;align-items:center;flex-wrap:wrap}
#sp-bottom-footer #sp-position5{flex:0 0 auto;width:auto}
#sp-bottom-footer #sp-position7{flex:1 1 auto;width:auto;padding-left:30px}
#sp-bottom-footer #sp-position8{flex:0 0 auto;width:auto;margin-left:auto}
#sp-bottom-footer .mod-custom p{margin:0}
#sp-bottom-footer .adres p{margin:0;color:#d6d6d6;font-size:13px;line-height:1.45;text-align:left}
#sp-bottom-footer .adres p span{font-size:11px!important;letter-spacing:.1em;text-transform:uppercase;color:#a3a3a3}
#sp-bottom-footer .adres p strong{color:#fff;font-weight:600}
#sp-bottom-footer .social-icons{display:flex;justify-content:flex-end;gap:8px;margin:0;padding:0;list-style:none}
#sp-bottom-footer .social-icons li a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;border:1px solid rgba(255,255,255,.2);color:#efefef;font-size:14px;transition:background .15s,color .15s,border-color .15s,transform .15s}
#sp-bottom-footer .social-icons li a:hover{background:#F8F526;border-color:#F8F526;color:#111;transform:translateY(-2px)}
#sp-bottom{padding:6px 0 10px}
#sp-bottom .sp-module{margin-bottom:6px}
#sp-bottom .sp-module .sp-module-title{color:#fff;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:8px 0 8px;padding-bottom:6px;position:relative}
#sp-bottom .sp-module .sp-module-title:after{content:"";position:absolute;left:0;bottom:0;width:30px;height:2px;background:#F8F526;border-radius:2px}
#sp-bottom .sp-module ul{margin:0;padding:0;list-style:none}
#sp-bottom .sp-module ul>li{margin:0 0 3px}
#sp-bottom .sp-module ul>li:last-child{margin-bottom:0}
#sp-bottom ul.mod-menu a{color:#bdbdbd;font-size:13.5px;text-decoration:none;transition:color .15s,padding-left .15s}
#sp-bottom ul.mod-menu a:hover{color:#fff;padding-left:3px}
#sp-bottom ul.mod-menu a[href^="tel:"]{color:#fff;font-weight:600;font-variant-numeric:tabular-nums}
#sp-bottom ul.mod-menu a[href^="tel:"]:hover{color:#F8F526}
#sp-footer{padding:0;border-top:1px solid rgba(255,255,255,.09)}
#sp-footer .container-inner{padding:7px 0;border-top:0}
#sp-footer .sp-copyright{color:#9a9a9a;font-size:12px;line-height:1.45}
@media (max-width:991px){
  #sp-bottom-footer{padding:12px 0 6px}
  #sp-bottom-footer #sp-position7{padding-left:0;margin-top:8px;flex:1 1 100%}
  #sp-bottom-footer #sp-position8{margin:8px 0 0;flex:1 1 100%}
  #sp-bottom-footer .social-icons{justify-content:flex-start}
  #sp-bottom .sp-module .sp-module-title{margin-top:10px}
}
/* === END RT FOOTER === */

/* === RT ANIMATE SUBSET 2026-07-26 === */
/* animate.min.css (71 КБ на каждой из 531 страниц) отключён в настройках SP Page Builder.
   Из библиотеки реально использовались 2 класса на 2 страницах: fadeInUpBig (главная)
   и zoomIn (Ремонт проекторов — отключённая услуга). Переносим только их.
   Откат: disableanimatecss=0 в com_sppagebuilder + удалить блок до END RT ANIMATE. */
.sppb-wow{visibility:hidden}
.animated{animation-duration:1s;animation-fill-mode:both}
@keyframes fadeInUpBig{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.fadeInUpBig{animation-name:fadeInUpBig}
@keyframes zoomIn{from{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}to{opacity:1;transform:scale3d(1,1,1)}}
.zoomIn{animation-name:zoomIn}
@media (prefers-reduced-motion:reduce){
  .animated,.fadeInUpBig,.zoomIn{animation:none!important}
  .sppb-wow{visibility:visible!important}
}
/* === END RT ANIMATE === */

/* === RT FOOTER STRIP 2026-07-26 (откат: удалить блок до END RT FOOTER STRIP) === */
/* Верхняя полоса подвала: логотип | контакты | соцсети — без провала в середине */
#sp-bottom-footer .row{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
#sp-bottom-footer #sp-position5{flex:0 0 auto;width:auto}
#sp-bottom-footer #sp-position7{flex:1 1 auto;width:auto;max-width:none;padding-left:clamp(18px,2.4vw,44px)}
#sp-bottom-footer #sp-position8{flex:0 0 auto;width:auto;margin-left:auto}
.rt-fstrip{display:grid;grid-template-columns:repeat(3,max-content);align-items:start;gap:14px clamp(20px,2.6vw,52px);width:100%}
.rt-fstrip__item{display:flex;flex-direction:column;gap:2px;min-width:0}
.rt-fstrip__label{font-size:10.5px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#8f979d}
.rt-fstrip__val{font-size:13px;color:#d6d6d6;line-height:1.45}
.rt-fstrip__tel{font-size:14.5px;font-weight:700;color:#fff;text-decoration:none;font-variant-numeric:tabular-nums;line-height:1.35;white-space:nowrap}
.rt-fstrip__tel:hover{color:#F8F526}
.rt-fstrip__map{font-size:12px;color:#9aa0a5;text-decoration:none;border-bottom:1px dotted rgba(255,255,255,.28);align-self:flex-start;line-height:1.5}
.rt-fstrip__map:hover{color:#F8F526;border-bottom-color:#F8F526}
@media (max-width:1199px){
  #sp-bottom-footer #sp-position7{flex:1 1 100%;width:100%;padding-left:0;padding-right:0;margin-top:10px}
  #sp-bottom-footer #sp-position8{flex:1 1 100%;width:100%;margin:8px 0 0}
  .rt-fstrip{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px clamp(18px,3vw,30px);padding-inline:clamp(24px,5vw,36px);box-sizing:border-box}
}
@media (max-width:767px){
  .rt-fstrip{grid-template-columns:1fr;gap:16px;padding-inline:clamp(24px,6vw,32px)}
  .rt-fstrip__item{width:100%}
}
/* === END RT FOOTER STRIP === */

/* RT OFFICIAL BYN */
.byn{display:inline-block;width:.57em;height:.76em;margin-left:.06em;background-color:currentColor;-webkit-mask:url('https://remteh.by/img/byn-mask.png') center/contain no-repeat;mask:url('https://remteh.by/img/byn-mask.png') center/contain no-repeat;vertical-align:-.02em}

/* RT_MOBILE_PRICE_TOUCH_V1 — compact 2/3-column price tables and 44px phone targets. */
@media (max-width: 520px) {
  .rt-price-table {
    min-width: 0 !important;
    font-size: 13px !important;
    table-layout: auto !important;
  }

  .rt-price-table th,
  .rt-price-table td {
    min-width: 0 !important;
    padding: 8px 6px !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .rt-price-table th {
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }

  body .rt-speaker-page .rt-overview-grid #prices .rt-price-table tbody tr > td:nth-child(3) {
    display: block !important;
    grid-column: 1 / -1 !important;
  }

  #sp-page-builder a[href^="tel:"],
  #sp-bottom a[href^="tel:"],
  #sp-bottom-footer a[href^="tel:"] {
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  #sp-page-builder a[href^="tel:"]:not([class]),
  #sp-page-builder .rt-trust__phone,
  #sp-bottom a[href^="tel:"],
  #sp-bottom-footer .rt-fstrip__tel {
    display: inline-flex !important;
    align-items: center !important;
  }

  .phone-mobile a[href^="tel:"] {
    width: 44px !important;
    height: 44px !important;
  }

  body .rt-hpb a[href^="tel:"] {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  body #sp-page-builder .rt-lp-xia a[href^="tel:"] {
    min-height: 45px !important;
  }
}

/* RT_ROUND2_XIAOMI_MOBILE_CONTENT_V1 — keep substantive diagnostics available on phones. */
@media (max-width: 767px) {
  body.itemid-581 #sp-main-body .rt-lp-xiaomi-checks .rt-xm-head > p,
  body.itemid-581 #sp-main-body .rt-lp-xiaomi-checks .rt-xm-card-grid--three .rt-xm-card p {
    display: block !important;
  }

  body.itemid-581 #sp-main-body .rt-lp-xiaomi-checks .rt-xm-list {
    display: block !important;
  }
}

/* RT_ROUND2_WIDE_CONTAINERS_V1 — wider composition, independently capped reading lines. */
@media (min-width: 1921px) {
  :is(body.itemid-1472, body.itemid-1474, body.itemid-1475, body.itemid-587, body.itemid-579) #sp-main-body .sppb-row-container {
    width: 100% !important;
    max-width: min(90vw, 3360px) !important;
  }

  :is(body.itemid-1472, body.itemid-1474, body.itemid-1475, body.itemid-587, body.itemid-579) #sp-main-body :is(p, li, blockquote, label, input, textarea) {
    max-width: 1100px !important;
  }

  body.itemid-579 #sp-main-body .rt-price-table {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
  }
}
